pipesol-notificationbar 1.0.3 → 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.
Files changed (216) hide show
  1. package/README.md +41 -31
  2. package/dist/components/NotificationStyled.d.ts +8 -0
  3. package/dist/components/NotificationStyled.js +45 -0
  4. package/dist/components/NotificationStyled.js.map +1 -0
  5. package/dist/components/TermsAndPrivacyCard.d.ts +55 -0
  6. package/dist/components/TermsAndPrivacyCard.js +114 -0
  7. package/dist/components/TermsAndPrivacyCard.js.map +1 -0
  8. package/dist/index.d.ts +4 -0
  9. package/dist/index.js +1 -0
  10. package/dist/index.js.map +1 -1
  11. package/dist/tsconfig.tsbuildinfo +1 -1
  12. package/dist/types/TermsAndPrivacyProps.d.ts +20 -0
  13. package/dist/types/TermsAndPrivacyProps.js +2 -0
  14. package/dist/types/TermsAndPrivacyProps.js.map +1 -0
  15. package/dist/types/style/BorderProps.d.ts +5 -0
  16. package/dist/types/style/BorderProps.js +2 -0
  17. package/dist/types/style/BorderProps.js.map +1 -0
  18. package/dist/types/style/ColorProps.d.ts +7 -0
  19. package/dist/types/style/ColorProps.js +7 -0
  20. package/dist/types/style/ColorProps.js.map +1 -0
  21. package/dist/types/style/LayoutProps.d.ts +6 -0
  22. package/dist/types/style/LayoutProps.js +2 -0
  23. package/dist/types/style/LayoutProps.js.map +1 -0
  24. package/package.json +56 -47
  25. package/dist/components/ImageResponsive.d.ts +0 -13
  26. package/dist/components/ImageResponsive.js +0 -32
  27. package/dist/components/ImageResponsive.js.map +0 -1
  28. package/dist/components/Location.d.ts +0 -15
  29. package/dist/components/Location.js +0 -37
  30. package/dist/components/Location.js.map +0 -1
  31. package/dist/components/MensagemDeploy.d.ts +0 -7
  32. package/dist/components/MensagemDeploy.js +0 -54
  33. package/dist/components/MensagemDeploy.js.map +0 -1
  34. package/dist/components/NotificationBar.d.ts +0 -16
  35. package/dist/components/NotificationBar.js +0 -131
  36. package/dist/components/NotificationBar.js.map +0 -1
  37. package/dist/components/VideoPlayer.d.ts +0 -11
  38. package/dist/components/VideoPlayer.js +0 -12
  39. package/dist/components/VideoPlayer.js.map +0 -1
  40. package/dist/components/banner/BannerVideo.d.ts +0 -7
  41. package/dist/components/banner/BannerVideo.js +0 -20
  42. package/dist/components/banner/BannerVideo.js.map +0 -1
  43. package/dist/components/banner/ContentBannerStyled.d.ts +0 -6
  44. package/dist/components/banner/ContentBannerStyled.js +0 -44
  45. package/dist/components/banner/ContentBannerStyled.js.map +0 -1
  46. package/dist/components/banner/ResponsiveBanner.d.ts +0 -15
  47. package/dist/components/banner/ResponsiveBanner.js +0 -68
  48. package/dist/components/banner/ResponsiveBanner.js.map +0 -1
  49. package/dist/components/banner/ResponsiveBannerGradiente.d.ts +0 -12
  50. package/dist/components/banner/ResponsiveBannerGradiente.js +0 -38
  51. package/dist/components/banner/ResponsiveBannerGradiente.js.map +0 -1
  52. package/dist/components/banner/TitleBanner.d.ts +0 -10
  53. package/dist/components/banner/TitleBanner.js +0 -8
  54. package/dist/components/banner/TitleBanner.js.map +0 -1
  55. package/dist/components/barra_ferramentas/BarraFerramentas.d.ts +0 -13
  56. package/dist/components/barra_ferramentas/BarraFerramentas.js +0 -39
  57. package/dist/components/barra_ferramentas/BarraFerramentas.js.map +0 -1
  58. package/dist/components/barra_ferramentas/BarraFerramentasHamburguer.d.ts +0 -13
  59. package/dist/components/barra_ferramentas/BarraFerramentasHamburguer.js +0 -31
  60. package/dist/components/barra_ferramentas/BarraFerramentasHamburguer.js.map +0 -1
  61. package/dist/components/barra_ferramentas/BarraFerramentasStyled.d.ts +0 -7
  62. package/dist/components/barra_ferramentas/BarraFerramentasStyled.js +0 -40
  63. package/dist/components/barra_ferramentas/BarraFerramentasStyled.js.map +0 -1
  64. package/dist/components/button/ButtonStyled.d.ts +0 -18
  65. package/dist/components/button/ButtonStyled.js +0 -56
  66. package/dist/components/button/ButtonStyled.js.map +0 -1
  67. package/dist/components/button/NavigationButton.d.ts +0 -18
  68. package/dist/components/button/NavigationButton.js +0 -53
  69. package/dist/components/button/NavigationButton.js.map +0 -1
  70. package/dist/components/button/NavigationButtonMotion.d.ts +0 -19
  71. package/dist/components/button/NavigationButtonMotion.js +0 -64
  72. package/dist/components/button/NavigationButtonMotion.js.map +0 -1
  73. package/dist/components/button/NavigationHamburguerButton.d.ts +0 -17
  74. package/dist/components/button/NavigationHamburguerButton.js +0 -33
  75. package/dist/components/button/NavigationHamburguerButton.js.map +0 -1
  76. package/dist/components/button/ScrollToTopButton.d.ts +0 -10
  77. package/dist/components/button/ScrollToTopButton.js +0 -44
  78. package/dist/components/button/ScrollToTopButton.js.map +0 -1
  79. package/dist/components/button/WhatsAppButton.d.ts +0 -6
  80. package/dist/components/button/WhatsAppButton.js +0 -24
  81. package/dist/components/button/WhatsAppButton.js.map +0 -1
  82. package/dist/components/button/WhatsAppIcon.d.ts +0 -6
  83. package/dist/components/button/WhatsAppIcon.js +0 -18
  84. package/dist/components/button/WhatsAppIcon.js.map +0 -1
  85. package/dist/components/cards/AnimatedCardGroup.d.ts +0 -20
  86. package/dist/components/cards/AnimatedCardGroup.js +0 -63
  87. package/dist/components/cards/AnimatedCardGroup.js.map +0 -1
  88. package/dist/components/cards/BorderTopLeftRadiusCard.d.ts +0 -15
  89. package/dist/components/cards/BorderTopLeftRadiusCard.js +0 -67
  90. package/dist/components/cards/BorderTopLeftRadiusCard.js.map +0 -1
  91. package/dist/components/cards/CardLerMais.d.ts +0 -13
  92. package/dist/components/cards/CardLerMais.js +0 -121
  93. package/dist/components/cards/CardLerMais.js.map +0 -1
  94. package/dist/components/cards/ContentCardDescription.d.ts +0 -10
  95. package/dist/components/cards/ContentCardDescription.js +0 -52
  96. package/dist/components/cards/ContentCardDescription.js.map +0 -1
  97. package/dist/components/cards/GradientCard.d.ts +0 -17
  98. package/dist/components/cards/GradientCard.js +0 -66
  99. package/dist/components/cards/GradientCard.js.map +0 -1
  100. package/dist/components/cards/ImageCard.d.ts +0 -15
  101. package/dist/components/cards/ImageCard.js +0 -31
  102. package/dist/components/cards/ImageCard.js.map +0 -1
  103. package/dist/components/cards/MapCard.d.ts +0 -15
  104. package/dist/components/cards/MapCard.js +0 -59
  105. package/dist/components/cards/MapCard.js.map +0 -1
  106. package/dist/components/cards/ShadowCard.d.ts +0 -16
  107. package/dist/components/cards/ShadowCard.js +0 -25
  108. package/dist/components/cards/ShadowCard.js.map +0 -1
  109. package/dist/components/cards/TestimonialCard.d.ts +0 -22
  110. package/dist/components/cards/TestimonialCard.js +0 -66
  111. package/dist/components/cards/TestimonialCard.js.map +0 -1
  112. package/dist/components/cards/YoutubeCard.d.ts +0 -14
  113. package/dist/components/cards/YoutubeCard.js +0 -85
  114. package/dist/components/cards/YoutubeCard.js.map +0 -1
  115. package/dist/components/carousel/CarouselStyled.d.ts +0 -62
  116. package/dist/components/carousel/CarouselStyled.js +0 -31
  117. package/dist/components/carousel/CarouselStyled.js.map +0 -1
  118. package/dist/components/carousel/Carrossel.d.ts +0 -15
  119. package/dist/components/carousel/Carrossel.js +0 -113
  120. package/dist/components/carousel/Carrossel.js.map +0 -1
  121. package/dist/components/containers/ContainerAnimatedIndex.d.ts +0 -6
  122. package/dist/components/containers/ContainerAnimatedIndex.js +0 -11
  123. package/dist/components/containers/ContainerAnimatedIndex.js.map +0 -1
  124. package/dist/components/containers/ContainerAnimatedScroll.d.ts +0 -9
  125. package/dist/components/containers/ContainerAnimatedScroll.js +0 -10
  126. package/dist/components/containers/ContainerAnimatedScroll.js.map +0 -1
  127. package/dist/components/containers/ContainerSafe.d.ts +0 -6
  128. package/dist/components/containers/ContainerSafe.js +0 -78
  129. package/dist/components/containers/ContainerSafe.js.map +0 -1
  130. package/dist/components/containers/containerStyled.d.ts +0 -1
  131. package/dist/components/containers/containerStyled.js +0 -10
  132. package/dist/components/containers/containerStyled.js.map +0 -1
  133. package/dist/components/footer/Copywrite.d.ts +0 -10
  134. package/dist/components/footer/Copywrite.js +0 -23
  135. package/dist/components/footer/Copywrite.js.map +0 -1
  136. package/dist/components/footer/CopywriteCenter.d.ts +0 -9
  137. package/dist/components/footer/CopywriteCenter.js +0 -34
  138. package/dist/components/footer/CopywriteCenter.js.map +0 -1
  139. package/dist/components/footer/Footer.d.ts +0 -10
  140. package/dist/components/footer/Footer.js +0 -41
  141. package/dist/components/footer/Footer.js.map +0 -1
  142. package/dist/components/footer/NotificationBar.d.ts +0 -13
  143. package/dist/components/footer/NotificationBar.js +0 -57
  144. package/dist/components/footer/NotificationBar.js.map +0 -1
  145. package/dist/components/footer/SiteMap.d.ts +0 -9
  146. package/dist/components/footer/SiteMap.js +0 -24
  147. package/dist/components/footer/SiteMap.js.map +0 -1
  148. package/dist/components/footer/footerStyled.d.ts +0 -8
  149. package/dist/components/footer/footerStyled.js +0 -62
  150. package/dist/components/footer/footerStyled.js.map +0 -1
  151. package/dist/components/form/Form.d.ts +0 -17
  152. package/dist/components/form/Form.js +0 -96
  153. package/dist/components/form/Form.js.map +0 -1
  154. package/dist/components/form/FormStyled.d.ts +0 -27
  155. package/dist/components/form/FormStyled.js +0 -95
  156. package/dist/components/form/FormStyled.js.map +0 -1
  157. package/dist/components/header/HeaderBarIn.d.ts +0 -15
  158. package/dist/components/header/HeaderBarIn.js +0 -40
  159. package/dist/components/header/HeaderBarIn.js.map +0 -1
  160. package/dist/components/header/HeaderBarTop.d.ts +0 -12
  161. package/dist/components/header/HeaderBarTop.js +0 -30
  162. package/dist/components/header/HeaderBarTop.js.map +0 -1
  163. package/dist/components/section/Section.d.ts +0 -9
  164. package/dist/components/section/Section.js +0 -19
  165. package/dist/components/section/Section.js.map +0 -1
  166. package/dist/components/section/SectionGradiente.d.ts +0 -9
  167. package/dist/components/section/SectionGradiente.js +0 -19
  168. package/dist/components/section/SectionGradiente.js.map +0 -1
  169. package/dist/components/section/SectionImage.d.ts +0 -7
  170. package/dist/components/section/SectionImage.js +0 -21
  171. package/dist/components/section/SectionImage.js.map +0 -1
  172. package/dist/components/section/SectionStyled.d.ts +0 -9
  173. package/dist/components/section/SectionStyled.js +0 -46
  174. package/dist/components/section/SectionStyled.js.map +0 -1
  175. package/dist/components/social_media/SocialMediaIconLink.d.ts +0 -8
  176. package/dist/components/social_media/SocialMediaIconLink.js +0 -13
  177. package/dist/components/social_media/SocialMediaIconLink.js.map +0 -1
  178. package/dist/components/social_media/SocialMediaIconLinkWithBorder.d.ts +0 -12
  179. package/dist/components/social_media/SocialMediaIconLinkWithBorder.js +0 -18
  180. package/dist/components/social_media/SocialMediaIconLinkWithBorder.js.map +0 -1
  181. package/dist/components/substask/SubstackPage.d.ts +0 -5
  182. package/dist/components/substask/SubstackPage.js +0 -22
  183. package/dist/components/substask/SubstackPage.js.map +0 -1
  184. package/dist/components/substask/SubstackPosts.d.ts +0 -9
  185. package/dist/components/substask/SubstackPosts.js +0 -6
  186. package/dist/components/substask/SubstackPosts.js.map +0 -1
  187. package/dist/components/text/IconText.d.ts +0 -11
  188. package/dist/components/text/IconText.js +0 -26
  189. package/dist/components/text/IconText.js.map +0 -1
  190. package/dist/components/text/InfiniteTicker.d.ts +0 -15
  191. package/dist/components/text/InfiniteTicker.js +0 -49
  192. package/dist/components/text/InfiniteTicker.js.map +0 -1
  193. package/dist/components/text/SpanStyled.d.ts +0 -6
  194. package/dist/components/text/SpanStyled.js +0 -34
  195. package/dist/components/text/SpanStyled.js.map +0 -1
  196. package/dist/components/text/TextWithSeparador.d.ts +0 -7
  197. package/dist/components/text/TextWithSeparador.js +0 -9
  198. package/dist/components/text/TextWithSeparador.js.map +0 -1
  199. package/dist/hooks/useResponsive.d.ts +0 -9
  200. package/dist/hooks/useResponsive.js +0 -14
  201. package/dist/hooks/useResponsive.js.map +0 -1
  202. package/dist/hooks/useResponsiveCarousel.d.ts +0 -15
  203. package/dist/hooks/useResponsiveCarousel.js +0 -36
  204. package/dist/hooks/useResponsiveCarousel.js.map +0 -1
  205. package/dist/types/AnimatedCardData.d.ts +0 -6
  206. package/dist/types/AnimatedCardData.js +0 -2
  207. package/dist/types/AnimatedCardData.js.map +0 -1
  208. package/dist/types/BannerResponsiveConfig.d.ts +0 -4
  209. package/dist/types/BannerResponsiveConfig.js +0 -2
  210. package/dist/types/BannerResponsiveConfig.js.map +0 -1
  211. package/dist/types/ItemMenuConfig.d.ts +0 -4
  212. package/dist/types/ItemMenuConfig.js +0 -2
  213. package/dist/types/ItemMenuConfig.js.map +0 -1
  214. package/dist/types/ShadowConfig.d.ts +0 -6
  215. package/dist/types/ShadowConfig.js +0 -2
  216. package/dist/types/ShadowConfig.js.map +0 -1
@@ -1,64 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { styled } from '@mui/material/styles';
4
- import { motion } from 'framer-motion';
5
- const MotionButtonStyled = motion.create(styled('a', {
6
- shouldForwardProp: (prop) => ![
7
- 'background_color',
8
- 'background_color_hover',
9
- 'color',
10
- 'color_hover',
11
- 'padding',
12
- 'border_radius',
13
- 'border_color',
14
- 'border_color_underline',
15
- 'width',
16
- 'height',
17
- 'margin',
18
- ].includes(prop),
19
- })(({ background_color, background_color_hover, color, color_hover, padding, border_radius, border_color, border_color_underline, width, height, margin, }) => ({
20
- width: width,
21
- height: height,
22
- cursor: 'pointer',
23
- textDecoration: 'none',
24
- textTransform: 'none',
25
- textAlign: 'center',
26
- boxShadow: 'none',
27
- backgroundColor: background_color,
28
- color: color,
29
- border: `1px solid ${border_color}`,
30
- borderRadius: border_radius,
31
- padding: padding,
32
- margin: margin,
33
- display: 'flex',
34
- alignItems: 'center',
35
- justifyContent: 'center',
36
- transition: 'all 0.2s ease-in-out',
37
- '&:hover': {
38
- backgroundColor: background_color_hover,
39
- borderBottom: `1px solid ${border_color_underline}`,
40
- color: color_hover,
41
- },
42
- })));
43
- const NavigationButtonMotion = ({ url, aria_label, background_color, background_color_hover, color, color_hover, border_radius, border_color, text_decoration = 'none', layout, width, height = 'auto', margin, children, }) => {
44
- const backgroundColor = background_color !== null && background_color !== void 0 ? background_color : 'transparent';
45
- const backgroundColorHover = background_color_hover !== null && background_color_hover !== void 0 ? background_color_hover : backgroundColor;
46
- const colorHover = color_hover !== null && color_hover !== void 0 ? color_hover : color;
47
- const borderRadius = border_radius !== null && border_radius !== void 0 ? border_radius : '0px';
48
- const padding = layout === 'button' ? '8px 24px' : '0px';
49
- const borderColor = text_decoration === 'underline' ? 'transparent' : border_color !== null && border_color !== void 0 ? border_color : 'transparent';
50
- const borderColorUnderline = text_decoration === 'underline' ? color : border_color !== null && border_color !== void 0 ? border_color : 'transparent';
51
- const marginButton = margin !== null && margin !== void 0 ? margin : '0px';
52
- const motionProps = {
53
- whileFocus: {
54
- scale: 1.1,
55
- transition: { type: 'spring', stiffness: 300 },
56
- },
57
- whileHover: {
58
- scale: 1.05,
59
- },
60
- };
61
- return (_jsx(MotionButtonStyled, Object.assign({ href: url, width: width, height: height, background_color: backgroundColor, background_color_hover: backgroundColorHover, color: color, color_hover: colorHover, border_radius: borderRadius, border_color: borderColor, border_color_underline: borderColorUnderline, padding: padding, margin: marginButton, "aria-label": aria_label, target: url.startsWith('http') ? '_blank' : undefined, rel: url.startsWith('http') ? 'noopener noreferrer' : undefined }, motionProps, { children: children })));
62
- };
63
- export default NavigationButtonMotion;
64
- //# sourceMappingURL=NavigationButtonMotion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigationButtonMotion.js","sourceRoot":"","sources":["../../../src/components/button/NavigationButtonMotion.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CACtC,MAAM,CAAC,GAAG,EAAE;IACV,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC;QACC,kBAAkB;QAClB,wBAAwB;QACxB,OAAO;QACP,aAAa;QACb,SAAS;QACT,eAAe;QACf,cAAc;QACd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AC,CAAC,SAAS,EACrD,GAAG,EAAE,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,IAC3D,WAAW,cAEd,QAAQ,IACU,CACtB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- interface NavigationHamburguerButtonProps {
3
- url: string;
4
- aria_label: string;
5
- background_color?: string;
6
- color: string;
7
- color_hover?: string;
8
- border_color?: string;
9
- border_radius?: string;
10
- text_decoration: 'none' | 'underline';
11
- layout: 'button' | 'link';
12
- width: string;
13
- children: React.ReactNode;
14
- afterNavigation: () => void;
15
- }
16
- declare const NavigationHamburguerButton: React.FC<NavigationHamburguerButtonProps>;
17
- export default NavigationHamburguerButton;
@@ -1,33 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { ButtonHoverBorderBottomStyled, ButtonHoverColorStyled } from './ButtonStyled';
4
- const NavigationHamburguerButton = ({ url, aria_label, background_color, color, color_hover, border_radius, border_color, text_decoration, layout, width, children, afterNavigation }) => {
5
- const handleClick = (e) => {
6
- e.preventDefault();
7
- if (url.indexOf('#') !== -1) {
8
- if (window.location.pathname === '/' || window.location.pathname === '/index.html') {
9
- const targetElement = document.querySelector(url);
10
- if (targetElement) {
11
- targetElement.scrollIntoView({ behavior: 'smooth' });
12
- window.history.pushState(null, '', url);
13
- }
14
- }
15
- else {
16
- window.location.href = url;
17
- }
18
- }
19
- else if (url.indexOf('http') == -1)
20
- window.open(url, '_blank', 'noopener noreferrer');
21
- else
22
- window.location.href = url;
23
- afterNavigation(); // Chama a função após a navegação
24
- };
25
- if (text_decoration === 'underline') {
26
- return (_jsx(ButtonHoverBorderBottomStyled, { width: width, background_color: background_color, color: color, color_hover: color_hover, border_radius: border_radius, border_color: border_color, type_padding: layout === 'button' ? 'default' : 'none', "aria-label": aria_label, onClick: handleClick, children: children }));
27
- }
28
- else if (text_decoration === 'none') {
29
- return (_jsx(ButtonHoverColorStyled, { width: width, background_color: background_color, color: color, color_hover: color_hover, border_radius: border_radius, border_color: border_color, type_padding: layout === 'button' ? 'default' : 'none', "aria-label": aria_label, onClick: handleClick, children: children }));
30
- }
31
- };
32
- export default NavigationHamburguerButton;
33
- //# sourceMappingURL=NavigationHamburguerButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigationHamburguerButton.js","sourceRoot":"","sources":["../../../src/components/button/NavigationHamburguerButton.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,6BAA6B,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAiBvF,MAAM,0BAA0B,GAA8C,CAAC,EAC7E,GAAG,EAAE,UAAU,EAAE,gBAAgB,EACjC,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,eAAe,EAChE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,EAAE;IAE9C,MAAM,WAAW,GAAG,CAAC,CAAsC,EAAE,EAAE;QAE3D,CAAC,CAAC,cAAc,EAAE,CAAC;QAEnB,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;YAC5B,IAAI,MAAM,CAAC,QAAQ,CAAC,QAAQ,KAAK,GAAG,IAAI,MAAM,CAAC,QAAQ,CAAC,QAAQ,KAAK,aAAa,EAAE,CAAC;gBACnF,MAAM,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;gBAClD,IAAI,aAAa,EAAE,CAAC;oBAClB,aAAa,CAAC,cAAc,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;oBACrD,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;gBAC1C,CAAC;YACH,CAAC;iBAAM,CAAC;gBAC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_radius: string;
5
- background_color: string;
6
- background_color_hover: string;
7
- children: React.ReactNode;
8
- }
9
- declare const ScrollToTopButton: React.FC<ScrollToTopButtonProps>;
10
- export default ScrollToTopButton;
@@ -1,44 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { useState, useEffect } from 'react';
4
- import IconButton from '@mui/material/IconButton';
5
- import { styled } from '@mui/material/styles';
6
- const ButtonStyled = styled(IconButton, {
7
- shouldForwardProp: (prop) => !['$show', '$background_color', '$border_radius', '$background_color_hover'].includes(prop),
8
- })(({ $show, $background_color, $border_radius, $background_color_hover }) => ({
9
- display: $show === 'true' ? 'flex' : 'none',
10
- position: 'fixed',
11
- bottom: '165px',
12
- right: '20px',
13
- cursor: 'pointer',
14
- zIndex: 1000,
15
- width: 'auto',
16
- height: 'auto',
17
- border: `1px solid ${$background_color || '#00000000'}`,
18
- backgroundColor: $background_color || '#00000000',
19
- borderRadius: $border_radius,
20
- '&:hover': {
21
- backgroundColor: $background_color_hover || $background_color,
22
- },
23
- }));
24
- const ScrollToTopButton = ({ show, border_radius, background_color, background_color_hover, children }) => {
25
- const [showButton, setshowButton] = useState(show);
26
- const handleScroll = () => {
27
- setshowButton(window.scrollY > 0);
28
- };
29
- useEffect(() => {
30
- window.addEventListener('scroll', handleScroll);
31
- return () => {
32
- window.removeEventListener('scroll', handleScroll);
33
- };
34
- }, []);
35
- const scrollToTop = () => {
36
- window.scrollTo({
37
- top: 0,
38
- behavior: 'smooth',
39
- });
40
- };
41
- return (_jsx(ButtonStyled, { "$background_color": background_color, "$border_radius": border_radius, "$background_color_hover": background_color_hover, onClick: scrollToTop, "aria-label": "ir para o topo", "$show": showButton.toString(), children: children }));
42
- };
43
- export default ScrollToTopButton;
44
- //# sourceMappingURL=ScrollToTopButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScrollToTopButton.js","sourceRoot":"","sources":["../../../src/components/button/ScrollToTopButton.tsx"],"names":[],"mappings":"AAAA,YAA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AC;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;QAChD,OAAO,GAAG,EAAE;YACV,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;QACrD,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,MAAM,CAAC,QAAQ,CAAC;YACd,GAAG,EAAE,CAAC;YACN,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,YAAY,yBACQ,gBAAgB,oBACnB,aAAa,6BACJ,sBAAsB,EAC/C,OAAO,EAAE,WAAW,gBAAa,gBAAgB,WAC1C,UAAU,CAAC,QAAQ,EAAE,YAC3B,QAAQ,GACI,CAChB,CAAC;AACV,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface WhatsAppButtonProps {
3
- whatsapp: string;
4
- }
5
- declare const WhatsAppButton: React.FC<WhatsAppButtonProps>;
6
- export default WhatsAppButton;
@@ -1,24 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { WhatsApp } from '@mui/icons-material';
4
- import { styled } from '@mui/material/styles';
5
- import Fab from '@mui/material/Fab';
6
- const StyledFab = styled(Fab)({
7
- position: 'fixed',
8
- bottom: '20px',
9
- right: '20px',
10
- zIndex: 1000,
11
- backgroundColor: '#25D366',
12
- color: 'white',
13
- '&:hover': {
14
- backgroundColor: '#1EBE5D',
15
- },
16
- });
17
- const WhatsAppButton = ({ whatsapp }) => {
18
- const handleClick = () => {
19
- window.open(`https://wa.me/${whatsapp}`, '_blank');
20
- };
21
- return (_jsx(StyledFab, { "aria-label": "button whatsapp", onClick: handleClick, children: _jsx(WhatsApp, {}) }));
22
- };
23
- export default WhatsAppButton;
24
- //# sourceMappingURL=WhatsAppButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WhatsAppButton.js","sourceRoot":"","sources":["../../../src/components/button/WhatsAppButton.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAEpC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IAC5B,QAAQ,EAAE,OAAO;IACjB,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,SAAS;IAC1B,KAAK,EAAE,OAAO;IAEd,SAAS,EAAE;QACT,eAAe,EAAE,SAAS;KAC3B;CACF,CAAC,CAAC;AAMH,MAAM,cAAc,GAAkC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAErE,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,MAAM,CAAC,IAAI,CAAC,iBAAiB,QAAQ,EAAE,EAAE,QAAQ,CAAC,CAAC;IACrD,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,SAAS,kBAAY,iBAAiB,EAAC,OAAO,EAAE,WAAW,YAC1D,KAAC,QAAQ,KAAG,GACF,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export interface WhatsAppIconProps {
3
- whatsapp: string;
4
- }
5
- declare const WhatsAppIcon: React.FC<WhatsAppIconProps>;
6
- export default WhatsAppIcon;
@@ -1,18 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { Box, IconButton, styled } from '@mui/material';
4
- import { WhatsApp } from '@mui/icons-material';
5
- 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 WhatsAppIcon = ({ whatsapp }) => {
15
- return (_jsx(StyledBox, { background_color: '#25D366', children: _jsx(IconButton, { "aria-label": 'icone whatsapp', onClick: () => window.open(`https://wa.me/${whatsapp}`, '_blank', 'noopener noreferrer'), children: _jsx(WhatsApp, { sx: { color: 'white', fontSize: 24 } }) }) }));
16
- };
17
- export default WhatsAppIcon;
18
- //# sourceMappingURL=WhatsAppIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WhatsAppIcon.js","sourceRoot":"","sources":["../../../src/components/button/WhatsAppIcon.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,EAAE;IAC5B,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;AAOJ,MAAM,YAAY,GAAgC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAEjE,OAAO,CACL,KAAC,SAAS,IAAC,gBAAgB,EAAC,SAAS,YACnC,KAAC,UAAU,kBAAY,gBAAgB,EACrC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,QAAQ,EAAE,EAAE,QAAQ,EAAE,qBAAqB,CAAC,YACxF,KAAC,QAAQ,IAAC,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAc,GACjD,GACH,CACb,CAAC;AAEJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,20 +0,0 @@
1
- import { AnimatedCardData } from '@/types/AnimatedCardData';
2
- import { ShadowConfig } from '@/types/ShadowConfig';
3
- import { SvgIconComponent } from '@mui/icons-material';
4
- interface AnimatedCardProps {
5
- cards: AnimatedCardData[];
6
- icon: SvgIconComponent;
7
- icon_expanded: SvgIconComponent;
8
- background_color: string;
9
- background_color_expanded: string;
10
- color: string;
11
- color_expanded: string;
12
- width_card: string;
13
- min_height_card: string;
14
- max_height_card: string;
15
- border_radius?: string;
16
- sombraClara?: ShadowConfig;
17
- sombraEscura?: ShadowConfig;
18
- }
19
- declare const AnimatedCardGroup: React.FC<AnimatedCardProps>;
20
- export default AnimatedCardGroup;
@@ -1,63 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useState } from 'react';
4
- import { motion, AnimatePresence } from 'framer-motion';
5
- import { Card, CardContent, Typography, Box, styled } from '@mui/material';
6
- const StyledCard = styled(Card, {
7
- shouldForwardProp: (prop) => !['border_radius', 'background_color', 'color',
8
- 'width_card', 'min_height_card',
9
- 'border_width', 'sombraClara', 'sombraEscura'].includes(prop),
10
- })(({ border_radius, color, background_color, width_card, min_height_card, border_width, sombraClara, sombraEscura }) => ({
11
- backgroundColor: background_color,
12
- color: color,
13
- borderRadius: border_radius,
14
- minHeight: min_height_card,
15
- transition: 'background-color 0.3s ease',
16
- width: width_card,
17
- height: 'auto',
18
- boxShadow: `
19
- ${sombraClara.offsetX} ${sombraClara.offsetY} ${sombraClara.blur} ${sombraClara.color},
20
- ${sombraEscura.offsetX} ${sombraEscura.offsetY} ${sombraEscura.blur} ${sombraEscura.color}
21
- `,
22
- borderTop: `${border_width} solid ${sombraClara.color}`,
23
- borderLeft: `${border_width} solid ${sombraClara.color}`,
24
- padding: '0 0 16px 0'
25
- }));
26
- const DivTitle = styled('div')(() => ({
27
- display: 'flex',
28
- flexDirection: 'row',
29
- justifyContent: 'center',
30
- alignItems: 'center',
31
- gap: '16px',
32
- width: '100%',
33
- }));
34
- const CustomCardContent = styled(CardContent)({
35
- display: 'flex',
36
- flexDirection: 'column',
37
- alignItems: 'center',
38
- padding: '0px',
39
- '&:last-child': {
40
- padding: '8px 32px',
41
- },
42
- });
43
- const ContainerList = styled('div')(() => ({
44
- display: 'flex',
45
- flexDirection: 'column',
46
- justifyContent: 'center',
47
- alignItems: 'flex-start',
48
- width: '100%',
49
- marginTop: '16px',
50
- gap: '8px'
51
- }));
52
- //Componente que cria uma lista de cards com efeito collapse/expanded do Frame Motion
53
- const AnimatedCardGroup = ({ cards, icon, icon_expanded, background_color, background_color_expanded, color, color_expanded, width_card, min_height_card, max_height_card, border_radius = "0px", sombraClara = { offsetX: '0px', offsetY: '0px', blur: '0px', color: 'transparent' }, sombraEscura = { offsetX: '0px', offsetY: '0px', blur: '0px', color: 'transparent' }, }) => {
54
- const [activeCard, setActiveCard] = useState(null);
55
- const border_width = (sombraClara.blur == '0px') ? '0px' : '3px';
56
- return (_jsx(Box, { display: "flex", gap: 2, justifyContent: "center", flexWrap: "wrap", children: cards.map(({ id, title, description, list_description }) => {
57
- const isActive = activeCard === id;
58
- const IconToRender = isActive ? icon_expanded : icon;
59
- return (_jsx(motion.div, { layout: true, transition: { type: 'spring', stiffness: 500, damping: 30 }, onClick: () => setActiveCard(activeCard === id ? null : id), style: { cursor: 'pointer', width: width_card }, children: _jsx(StyledCard, { background_color: isActive ? background_color_expanded : background_color, color: isActive ? color_expanded : color, width_card: '100%', min_height_card: isActive ? max_height_card : min_height_card, border_radius: border_radius, border_width: border_width, sombraClara: sombraClara, sombraEscura: sombraEscura, children: _jsxs(CustomCardContent, { children: [_jsxs(DivTitle, { children: [_jsx(Typography, { variant: "h6", component: "div", align: "left", flex: 1, children: title }), _jsx(Box, { fontSize: 32, children: _jsx(IconToRender, {}) })] }), _jsx(AnimatePresence, { children: isActive && (_jsxs(motion.div, { initial: { opacity: 0, height: 0 }, animate: { opacity: 1, height: 'auto' }, exit: { opacity: 0, height: 0 }, transition: { duration: 0.3 }, children: [_jsx(Typography, { variant: "body1", align: "left", mt: 2, children: description }), (list_description === null || list_description === void 0 ? void 0 : list_description.length) && (_jsx(ContainerList, { children: list_description === null || list_description === void 0 ? void 0 : list_description.map((item, index) => (_jsx(Typography, { variant: "body1", align: "left", children: item }, index))) }))] })) })] }) }) }, id));
60
- }) }));
61
- };
62
- export default AnimatedCardGroup;
63
- //# sourceMappingURL=AnimatedCardGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnimatedCardGroup.js","sourceRoot":"","sources":["../../../src/components/cards/AnimatedCardGroup.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAK1E,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,EAAE;IAC9B,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC,CAAC,eAAe,EAAE,kBAAkB,EAAE,OAAO;QAC5C,YAAY,EAAE,iBAAiB;QAC/B,cAAc,EAAE,aAAa,EAAE,cAAc,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CAC5E,CAAC,CASC,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,eAAe,EACrE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,CAAC;IAE/C,eAAe,E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YAC3C,WAAW,GACD,EAEZ,CAAA,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,MAAM,KAAI,CAC3B,KAAC,aAAa,cACX,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACtC,KAAC,UAAU,IAAa,OAAO,EAAC,OAAO,EAAC,KAAK,EAAC,MAAM,YACjD,IAAI,IADU,KAAK,CAET,CACd,CAAC,GACY,CACjB,IAEU,CACd,GACe,IACA,GACT,IApDR,EAAE,CAqDI,CACd,CAAA;QACH,CAAC,CAAC,GACE,CACP,CAAA;AACH,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import 'react-responsive-carousel/lib/styles/carousel.min.css';
3
- interface BorderTopLeftRadiusCardProps {
4
- width: string;
5
- height: string;
6
- border_color?: string;
7
- background_color?: string;
8
- background_image?: string;
9
- margin?: string;
10
- title: string;
11
- description: string;
12
- children: React.ReactNode;
13
- }
14
- declare const BorderTopLeftRadiusCard: React.FC<BorderTopLeftRadiusCardProps>;
15
- export default BorderTopLeftRadiusCard;
@@ -1,67 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import 'react-responsive-carousel/lib/styles/carousel.min.css';
3
- import { styled } from '@mui/material';
4
- const Container = styled('div', {
5
- shouldForwardProp: (prop) => ![
6
- 'border_color',
7
- 'background_color',
8
- 'margin_card',
9
- 'width_card',
10
- 'height_card',
11
- 'background_image',
12
- ].includes(prop),
13
- })(({ border_color, background_color, margin_card, width_card, height_card, background_image }) => ({
14
- display: 'flex',
15
- flexDirection: 'column',
16
- gap: '16px',
17
- padding: '20px',
18
- borderTopLeftRadius: '80px',
19
- width: width_card,
20
- height: height_card,
21
- backgroundColor: background_color,
22
- margin: margin_card,
23
- backgroundImage: background_image ? `url(${background_image})` : undefined,
24
- backgroundSize: 'cover',
25
- backgroundPosition: 'center',
26
- borderBottom: `5px solid ${border_color}`,
27
- borderRight: `5px solid ${border_color}`,
28
- }));
29
- const ContentTitle = styled('div')(({ theme }) => {
30
- var _a, _b, _c, _d, _e;
31
- return ({
32
- height: 'auto',
33
- textAlign: 'center',
34
- // Tipografia
35
- fontFamily: theme.typography.fontFamily,
36
- fontWeight: (_a = theme.typography.h4) === null || _a === void 0 ? void 0 : _a.fontWeight,
37
- fontStyle: (_b = theme.typography.h4) === null || _b === void 0 ? void 0 : _b.fontStyle,
38
- lineHeight: (_c = theme.typography.h4) === null || _c === void 0 ? void 0 : _c.lineHeight,
39
- letterSpacing: (_d = theme.typography.h4) === null || _d === void 0 ? void 0 : _d.letterSpacing,
40
- fontSize: (_e = theme.typography.h4) === null || _e === void 0 ? void 0 : _e.fontSize,
41
- });
42
- });
43
- const ContentDescription = styled('div')(({ theme }) => {
44
- var _a, _b, _c, _d, _e;
45
- return ({
46
- height: 'auto',
47
- flex: 1,
48
- // Tipografia
49
- fontFamily: theme.typography.fontFamily,
50
- fontWeight: (_a = theme.typography.body1) === null || _a === void 0 ? void 0 : _a.fontWeight,
51
- fontStyle: (_b = theme.typography.body1) === null || _b === void 0 ? void 0 : _b.fontStyle,
52
- lineHeight: (_c = theme.typography.body1) === null || _c === void 0 ? void 0 : _c.lineHeight,
53
- letterSpacing: (_d = theme.typography.body1) === null || _d === void 0 ? void 0 : _d.letterSpacing,
54
- fontSize: (_e = theme.typography.body1) === null || _e === void 0 ? void 0 : _e.fontSize,
55
- });
56
- });
57
- const ContentButton = styled('div')({
58
- display: 'flex',
59
- alignItems: 'center',
60
- justifyContent: 'center',
61
- height: 'auto'
62
- });
63
- const BorderTopLeftRadiusCard = ({ width, height, border_color = 'transparent', background_color = 'transparent', background_image, margin = '0px', title, description, children, }) => {
64
- return (_jsxs(Container, { border_color: border_color, background_color: background_color, background_image: background_image, margin_card: margin, width_card: width, height_card: height, children: [_jsx(ContentTitle, { children: title }), _jsx(ContentDescription, { children: description }), _jsx(ContentButton, { children: children })] }));
65
- };
66
- export default BorderTopLeftRadiusCard;
67
- //# sourceMappingURL=BorderTopLeftRadiusCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BorderTopLeftRadiusCard.js","sourceRoot":"","sources":["../../../src/components/cards/BorderTopLeftRadiusCard.tsx"],"names":[],"mappings":";AACA,OAAO,uDAAuD,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,EAAE;IAC9B,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC;QACC,cAAc;QACd,kBAAkB;QAClB,aAAa;QACb,YAAY;QACZ,aAAa;QACb,kBAAkB;KACnB,CAAC,QAAQ,CAAC,IAAc,CAAC;CAC7B,CAAC,CAQA,CAAC,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,gBAAgB,EAAE,EAAE,EAAE,CAAC,CAAC;IAE/F,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,GAAG,EAAE,MAAM;IACX,OAAO,EAAE,MAAM;IACf,mBAAmB,EAAE,MAAM;IAC3B,KAAK,EAAE,UAAU;IACjB,MAAM,EAAE,WAAW;IACnB,eAAe,EAAE,gBAAgB;IACjC,MAAM,EAAE,WAAW;IACnB,eAAe,EAAE,gBAAgB,CAAC,CAAC,CAAC,OAAO,gBAAgB,GAAG,CAAC,CAAC,CAAC,SAAS;IAC1E,cAAc,EAAE,OAAO;IACvB,kBAAkB,EAAE,QAAQ;IAC5B,YAAY,EAAE,aAAa,YAAY,EAAE;IACzC,WAAW,EAAG,aAAa,YAAY,EAAE;CAC1C,CAAC,CACH,CAAC;AAGF,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;;IAAC,OAAA,CAAC;QACjD,MA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f,CAAC,CAAC;AAcH,MAAM,uBAAuB,GAA2C,CAAC,EACvE,KAAK,EACL,MAAM,EACN,YAAY,GAAG,aAAa,EAC5B,gBAAgB,GAAG,aAAa,EAChC,gBAAgB,EAChB,MAAM,GAAG,KAAK,EACd,KAAK,EACL,WAAW,EACX,QAAQ,GACT,EAAE,EAAE;IACH,OAAO,CACL,MAAC,SAAS,IACR,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,KAAK,EACjB,WAAW,EAAE,MAAM,aAEnB,KAAC,YAAY,cACV,KAAK,GACO,EACf,KAAC,kBAAkB,cAChB,WAAW,GACO,EACrB,KAAC,aAAa,cACX,QAAQ,GACK,IACN,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,13 +0,0 @@
1
- interface CardLerMaisProps {
2
- text_footer?: string;
3
- description: string[];
4
- principal?: boolean;
5
- icon: string;
6
- background_color?: string;
7
- color_text_description: string;
8
- color_text_footer: string;
9
- color_text_lermais: string;
10
- border_radius?: string;
11
- }
12
- declare const CardLerMais: React.FC<CardLerMaisProps>;
13
- export default CardLerMais;
@@ -1,121 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useState, useRef, useEffect } from 'react';
3
- import { styled } from '@mui/material/styles';
4
- const ContentCard = styled('div', {
5
- shouldForwardProp: (prop) => !['width', 'height', 'background_color', 'color', 'border_radius'].includes(prop),
6
- })(({ width = '340px', height = '460px', border_radius = '0', background_color = 'transparent' }) => ({
7
- width: width,
8
- minWidth: width,
9
- minHeight: height,
10
- display: 'flex',
11
- justifyContent: 'flex-start',
12
- alignItems: 'flex-end',
13
- position: 'relative',
14
- marginBottom: '16px',
15
- borderRadius: border_radius,
16
- backgroundColor: background_color,
17
- flexDirection: 'column',
18
- boxSizing: 'border-box',
19
- padding: '20px',
20
- gap: '16px',
21
- }));
22
- const AreaTexto = styled('div')({
23
- width: '100%',
24
- height: 'auto',
25
- display: 'grid',
26
- gridTemplateRows: 'auto 1fr auto',
27
- gap: '16px',
28
- boxSizing: 'border-box',
29
- });
30
- const TextDestaque = styled('div', {
31
- shouldForwardProp: (prop) => !['color'].includes(prop),
32
- })(({ color, theme }) => {
33
- var _a, _b, _c, _d, _e, _f;
34
- return ({
35
- color: color,
36
- fontFamily: theme.typography.fontFamily,
37
- fontWeight: (_a = theme.typography.body2) === null || _a === void 0 ? void 0 : _a.fontWeight,
38
- fontStyle: (_b = theme.typography.body2) === null || _b === void 0 ? void 0 : _b.fontStyle,
39
- lineHeight: (_c = theme.typography.body2) === null || _c === void 0 ? void 0 : _c.lineHeight,
40
- letterSpacing: (_d = theme.typography.body2) === null || _d === void 0 ? void 0 : _d.letterSpacing,
41
- fontSize: (_e = theme.typography.body2) === null || _e === void 0 ? void 0 : _e.fontSize,
42
- margin: (_f = theme.typography.body2) === null || _f === void 0 ? void 0 : _f.margin,
43
- padding: 0,
44
- });
45
- });
46
- const DescricaoContainer = styled('div', {
47
- shouldForwardProp: (prop) => prop !== 'expanded',
48
- })(({ expanded }) => ({
49
- overflow: 'hidden',
50
- display: '-webkit-box',
51
- WebkitLineClamp: expanded ? 'unset' : 6,
52
- WebkitBoxOrient: 'vertical',
53
- textOverflow: 'ellipsis',
54
- }));
55
- const Description = styled('div', {
56
- shouldForwardProp: (prop) => !['color'].includes(prop),
57
- })(({ color, theme }) => {
58
- var _a, _b, _c, _d, _e;
59
- return ({
60
- margin: '0 0 8px',
61
- color: color,
62
- fontFamily: theme.typography.fontFamily,
63
- fontWeight: (_a = theme.typography.body1) === null || _a === void 0 ? void 0 : _a.fontWeight,
64
- fontStyle: (_b = theme.typography.body1) === null || _b === void 0 ? void 0 : _b.fontStyle,
65
- lineHeight: (_c = theme.typography.body1) === null || _c === void 0 ? void 0 : _c.lineHeight,
66
- letterSpacing: (_d = theme.typography.body1) === null || _d === void 0 ? void 0 : _d.letterSpacing,
67
- fontSize: (_e = theme.typography.body1) === null || _e === void 0 ? void 0 : _e.fontSize,
68
- });
69
- });
70
- const LerMais = styled('button', {
71
- shouldForwardProp: (prop) => !['color'].includes(prop),
72
- })(({ color, theme }) => {
73
- var _a, _b, _c, _d, _e, _f;
74
- return ({
75
- background: 'none',
76
- border: 'none',
77
- color: color,
78
- cursor: 'pointer',
79
- padding: 0,
80
- textAlign: 'left',
81
- fontFamily: theme.typography.fontFamily,
82
- fontWeight: (_a = theme.typography.caption) === null || _a === void 0 ? void 0 : _a.fontWeight,
83
- fontStyle: (_b = theme.typography.caption) === null || _b === void 0 ? void 0 : _b.fontStyle,
84
- lineHeight: (_c = theme.typography.caption) === null || _c === void 0 ? void 0 : _c.lineHeight,
85
- letterSpacing: (_d = theme.typography.caption) === null || _d === void 0 ? void 0 : _d.letterSpacing,
86
- fontSize: (_e = theme.typography.caption) === null || _e === void 0 ? void 0 : _e.fontSize,
87
- margin: (_f = theme.typography.caption) === null || _f === void 0 ? void 0 : _f.margin,
88
- '&:hover': {
89
- textDecoration: 'underline',
90
- },
91
- });
92
- });
93
- const ImageTag = styled('img')(({ theme }) => ({
94
- padding: '8px',
95
- height: '40px',
96
- width: '40px',
97
- [theme.breakpoints.down('sm')]: {
98
- height: '32px',
99
- width: '32px',
100
- },
101
- }));
102
- const CardLerMais = ({ text_footer, description, icon, background_color = 'transparent', color_text_footer, color_text_description, color_text_lermais, border_radius = '0', principal = false }) => {
103
- const [expanded, setExpanded] = useState(false);
104
- const [exibeBotao, setExibeBotao] = useState(false);
105
- const descricaoRef = useRef(null);
106
- useEffect(() => {
107
- if (descricaoRef.current) {
108
- const lineHeight = parseFloat(getComputedStyle(descricaoRef.current).lineHeight);
109
- const height = descricaoRef.current.scrollHeight;
110
- const maxLines = 6;
111
- const maxHeight = lineHeight * maxLines;
112
- setExibeBotao(height > maxHeight);
113
- setExpanded(principal);
114
- }
115
- }, [description, principal]);
116
- const width = principal ? '100%' : '340px';
117
- const height = principal ? '100%' : '340px';
118
- return (_jsxs(ContentCard, { width: width, height: height, background_color: background_color, border_radius: border_radius, children: [icon && _jsx(ImageTag, { src: icon, alt: "icone card" }), _jsxs(AreaTexto, { children: [_jsx(DescricaoContainer, { ref: descricaoRef, expanded: expanded, children: description.map((item, index) => (_jsx(Description, { color: color_text_description, children: item }, index))) }), exibeBotao && (_jsx(LerMais, { color: color_text_lermais, onClick: () => setExpanded(!expanded), children: expanded ? 'Ler menos' : 'Ler mais' })), text_footer && _jsx(TextDestaque, { color: color_text_footer, children: text_footer })] })] }));
119
- };
120
- export default CardLerMais;
121
- //# sourceMappingURL=CardLerMais.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardLerMais.js","sourceRoot":"","sources":["../../../src/components/cards/CardLerMais.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,EAAE;IAChC,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,OAAO,EAAE,eAAe,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CAC9F,CAAC,CAKC,CAAC,EAAE,KAAK,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,EAAE,aAAa,GAAC,GAAG,EAAE,gBAAgB,GAAG,aAAa,EAAG,EAAE,EAAE,CAAC,CAAC;IAEnG,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,MAAM;IACjB,OAAO,EAAE,MAAM;IACf,cAAc,EAAE,YAAY;IAC5B,UAAU,EAAE,UAAU;IACtB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,MAAM;IACpB,YAAY,EAAE,aAAa;IA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E,CAAC,CAChC,KAAC,WAAW,IAAa,KAAK,EAAE,sBAAsB,YAAG,IAAI,IAA3C,KAAK,CAAqD,CAC7E,CAAC,GACiB,EAEpB,UAAU,IAAI,CACb,KAAC,OAAO,IAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,YACtE,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU,GAC5B,CACX,EAEA,WAAW,IAAI,KAAC,YAAY,IAAC,KAAK,EAAE,iBAAiB,YAAG,WAAW,GAAgB,IAC1E,IACA,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- interface GradientCardProps {
3
- title: string;
4
- description: string;
5
- children: React.ReactNode;
6
- color_title: string;
7
- color_description: string;
8
- }
9
- declare const ContentCardDescription: React.FC<GradientCardProps>;
10
- export default ContentCardDescription;