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.
- package/README.md +41 -31
- package/dist/components/NotificationStyled.d.ts +8 -0
- package/dist/components/NotificationStyled.js +45 -0
- package/dist/components/NotificationStyled.js.map +1 -0
- package/dist/components/TermsAndPrivacyCard.d.ts +55 -0
- package/dist/components/TermsAndPrivacyCard.js +114 -0
- package/dist/components/TermsAndPrivacyCard.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/TermsAndPrivacyProps.d.ts +20 -0
- package/dist/types/TermsAndPrivacyProps.js +2 -0
- package/dist/types/TermsAndPrivacyProps.js.map +1 -0
- package/dist/types/style/BorderProps.d.ts +5 -0
- package/dist/types/style/BorderProps.js +2 -0
- package/dist/types/style/BorderProps.js.map +1 -0
- package/dist/types/style/ColorProps.d.ts +7 -0
- package/dist/types/style/ColorProps.js +7 -0
- package/dist/types/style/ColorProps.js.map +1 -0
- package/dist/types/style/LayoutProps.d.ts +6 -0
- package/dist/types/style/LayoutProps.js +2 -0
- package/dist/types/style/LayoutProps.js.map +1 -0
- package/package.json +56 -47
- package/dist/components/ImageResponsive.d.ts +0 -13
- package/dist/components/ImageResponsive.js +0 -32
- package/dist/components/ImageResponsive.js.map +0 -1
- package/dist/components/Location.d.ts +0 -15
- package/dist/components/Location.js +0 -37
- package/dist/components/Location.js.map +0 -1
- package/dist/components/MensagemDeploy.d.ts +0 -7
- package/dist/components/MensagemDeploy.js +0 -54
- package/dist/components/MensagemDeploy.js.map +0 -1
- package/dist/components/NotificationBar.d.ts +0 -16
- package/dist/components/NotificationBar.js +0 -131
- package/dist/components/NotificationBar.js.map +0 -1
- package/dist/components/VideoPlayer.d.ts +0 -11
- package/dist/components/VideoPlayer.js +0 -12
- package/dist/components/VideoPlayer.js.map +0 -1
- package/dist/components/banner/BannerVideo.d.ts +0 -7
- package/dist/components/banner/BannerVideo.js +0 -20
- package/dist/components/banner/BannerVideo.js.map +0 -1
- package/dist/components/banner/ContentBannerStyled.d.ts +0 -6
- package/dist/components/banner/ContentBannerStyled.js +0 -44
- package/dist/components/banner/ContentBannerStyled.js.map +0 -1
- package/dist/components/banner/ResponsiveBanner.d.ts +0 -15
- package/dist/components/banner/ResponsiveBanner.js +0 -68
- package/dist/components/banner/ResponsiveBanner.js.map +0 -1
- package/dist/components/banner/ResponsiveBannerGradiente.d.ts +0 -12
- package/dist/components/banner/ResponsiveBannerGradiente.js +0 -38
- package/dist/components/banner/ResponsiveBannerGradiente.js.map +0 -1
- package/dist/components/banner/TitleBanner.d.ts +0 -10
- package/dist/components/banner/TitleBanner.js +0 -8
- package/dist/components/banner/TitleBanner.js.map +0 -1
- package/dist/components/barra_ferramentas/BarraFerramentas.d.ts +0 -13
- package/dist/components/barra_ferramentas/BarraFerramentas.js +0 -39
- package/dist/components/barra_ferramentas/BarraFerramentas.js.map +0 -1
- package/dist/components/barra_ferramentas/BarraFerramentasHamburguer.d.ts +0 -13
- package/dist/components/barra_ferramentas/BarraFerramentasHamburguer.js +0 -31
- package/dist/components/barra_ferramentas/BarraFerramentasHamburguer.js.map +0 -1
- package/dist/components/barra_ferramentas/BarraFerramentasStyled.d.ts +0 -7
- package/dist/components/barra_ferramentas/BarraFerramentasStyled.js +0 -40
- package/dist/components/barra_ferramentas/BarraFerramentasStyled.js.map +0 -1
- package/dist/components/button/ButtonStyled.d.ts +0 -18
- package/dist/components/button/ButtonStyled.js +0 -56
- package/dist/components/button/ButtonStyled.js.map +0 -1
- package/dist/components/button/NavigationButton.d.ts +0 -18
- package/dist/components/button/NavigationButton.js +0 -53
- package/dist/components/button/NavigationButton.js.map +0 -1
- package/dist/components/button/NavigationButtonMotion.d.ts +0 -19
- package/dist/components/button/NavigationButtonMotion.js +0 -64
- package/dist/components/button/NavigationButtonMotion.js.map +0 -1
- package/dist/components/button/NavigationHamburguerButton.d.ts +0 -17
- package/dist/components/button/NavigationHamburguerButton.js +0 -33
- package/dist/components/button/NavigationHamburguerButton.js.map +0 -1
- package/dist/components/button/ScrollToTopButton.d.ts +0 -10
- package/dist/components/button/ScrollToTopButton.js +0 -44
- package/dist/components/button/ScrollToTopButton.js.map +0 -1
- package/dist/components/button/WhatsAppButton.d.ts +0 -6
- package/dist/components/button/WhatsAppButton.js +0 -24
- package/dist/components/button/WhatsAppButton.js.map +0 -1
- package/dist/components/button/WhatsAppIcon.d.ts +0 -6
- package/dist/components/button/WhatsAppIcon.js +0 -18
- package/dist/components/button/WhatsAppIcon.js.map +0 -1
- package/dist/components/cards/AnimatedCardGroup.d.ts +0 -20
- package/dist/components/cards/AnimatedCardGroup.js +0 -63
- package/dist/components/cards/AnimatedCardGroup.js.map +0 -1
- package/dist/components/cards/BorderTopLeftRadiusCard.d.ts +0 -15
- package/dist/components/cards/BorderTopLeftRadiusCard.js +0 -67
- package/dist/components/cards/BorderTopLeftRadiusCard.js.map +0 -1
- package/dist/components/cards/CardLerMais.d.ts +0 -13
- package/dist/components/cards/CardLerMais.js +0 -121
- package/dist/components/cards/CardLerMais.js.map +0 -1
- package/dist/components/cards/ContentCardDescription.d.ts +0 -10
- package/dist/components/cards/ContentCardDescription.js +0 -52
- package/dist/components/cards/ContentCardDescription.js.map +0 -1
- package/dist/components/cards/GradientCard.d.ts +0 -17
- package/dist/components/cards/GradientCard.js +0 -66
- package/dist/components/cards/GradientCard.js.map +0 -1
- package/dist/components/cards/ImageCard.d.ts +0 -15
- package/dist/components/cards/ImageCard.js +0 -31
- package/dist/components/cards/ImageCard.js.map +0 -1
- package/dist/components/cards/MapCard.d.ts +0 -15
- package/dist/components/cards/MapCard.js +0 -59
- package/dist/components/cards/MapCard.js.map +0 -1
- package/dist/components/cards/ShadowCard.d.ts +0 -16
- package/dist/components/cards/ShadowCard.js +0 -25
- package/dist/components/cards/ShadowCard.js.map +0 -1
- package/dist/components/cards/TestimonialCard.d.ts +0 -22
- package/dist/components/cards/TestimonialCard.js +0 -66
- package/dist/components/cards/TestimonialCard.js.map +0 -1
- package/dist/components/cards/YoutubeCard.d.ts +0 -14
- package/dist/components/cards/YoutubeCard.js +0 -85
- package/dist/components/cards/YoutubeCard.js.map +0 -1
- package/dist/components/carousel/CarouselStyled.d.ts +0 -62
- package/dist/components/carousel/CarouselStyled.js +0 -31
- package/dist/components/carousel/CarouselStyled.js.map +0 -1
- package/dist/components/carousel/Carrossel.d.ts +0 -15
- package/dist/components/carousel/Carrossel.js +0 -113
- package/dist/components/carousel/Carrossel.js.map +0 -1
- package/dist/components/containers/ContainerAnimatedIndex.d.ts +0 -6
- package/dist/components/containers/ContainerAnimatedIndex.js +0 -11
- package/dist/components/containers/ContainerAnimatedIndex.js.map +0 -1
- package/dist/components/containers/ContainerAnimatedScroll.d.ts +0 -9
- package/dist/components/containers/ContainerAnimatedScroll.js +0 -10
- package/dist/components/containers/ContainerAnimatedScroll.js.map +0 -1
- package/dist/components/containers/ContainerSafe.d.ts +0 -6
- package/dist/components/containers/ContainerSafe.js +0 -78
- package/dist/components/containers/ContainerSafe.js.map +0 -1
- package/dist/components/containers/containerStyled.d.ts +0 -1
- package/dist/components/containers/containerStyled.js +0 -10
- package/dist/components/containers/containerStyled.js.map +0 -1
- package/dist/components/footer/Copywrite.d.ts +0 -10
- package/dist/components/footer/Copywrite.js +0 -23
- package/dist/components/footer/Copywrite.js.map +0 -1
- package/dist/components/footer/CopywriteCenter.d.ts +0 -9
- package/dist/components/footer/CopywriteCenter.js +0 -34
- package/dist/components/footer/CopywriteCenter.js.map +0 -1
- package/dist/components/footer/Footer.d.ts +0 -10
- package/dist/components/footer/Footer.js +0 -41
- package/dist/components/footer/Footer.js.map +0 -1
- package/dist/components/footer/NotificationBar.d.ts +0 -13
- package/dist/components/footer/NotificationBar.js +0 -57
- package/dist/components/footer/NotificationBar.js.map +0 -1
- package/dist/components/footer/SiteMap.d.ts +0 -9
- package/dist/components/footer/SiteMap.js +0 -24
- package/dist/components/footer/SiteMap.js.map +0 -1
- package/dist/components/footer/footerStyled.d.ts +0 -8
- package/dist/components/footer/footerStyled.js +0 -62
- package/dist/components/footer/footerStyled.js.map +0 -1
- package/dist/components/form/Form.d.ts +0 -17
- package/dist/components/form/Form.js +0 -96
- package/dist/components/form/Form.js.map +0 -1
- package/dist/components/form/FormStyled.d.ts +0 -27
- package/dist/components/form/FormStyled.js +0 -95
- package/dist/components/form/FormStyled.js.map +0 -1
- package/dist/components/header/HeaderBarIn.d.ts +0 -15
- package/dist/components/header/HeaderBarIn.js +0 -40
- package/dist/components/header/HeaderBarIn.js.map +0 -1
- package/dist/components/header/HeaderBarTop.d.ts +0 -12
- package/dist/components/header/HeaderBarTop.js +0 -30
- package/dist/components/header/HeaderBarTop.js.map +0 -1
- package/dist/components/section/Section.d.ts +0 -9
- package/dist/components/section/Section.js +0 -19
- package/dist/components/section/Section.js.map +0 -1
- package/dist/components/section/SectionGradiente.d.ts +0 -9
- package/dist/components/section/SectionGradiente.js +0 -19
- package/dist/components/section/SectionGradiente.js.map +0 -1
- package/dist/components/section/SectionImage.d.ts +0 -7
- package/dist/components/section/SectionImage.js +0 -21
- package/dist/components/section/SectionImage.js.map +0 -1
- package/dist/components/section/SectionStyled.d.ts +0 -9
- package/dist/components/section/SectionStyled.js +0 -46
- package/dist/components/section/SectionStyled.js.map +0 -1
- package/dist/components/social_media/SocialMediaIconLink.d.ts +0 -8
- package/dist/components/social_media/SocialMediaIconLink.js +0 -13
- package/dist/components/social_media/SocialMediaIconLink.js.map +0 -1
- package/dist/components/social_media/SocialMediaIconLinkWithBorder.d.ts +0 -12
- package/dist/components/social_media/SocialMediaIconLinkWithBorder.js +0 -18
- package/dist/components/social_media/SocialMediaIconLinkWithBorder.js.map +0 -1
- package/dist/components/substask/SubstackPage.d.ts +0 -5
- package/dist/components/substask/SubstackPage.js +0 -22
- package/dist/components/substask/SubstackPage.js.map +0 -1
- package/dist/components/substask/SubstackPosts.d.ts +0 -9
- package/dist/components/substask/SubstackPosts.js +0 -6
- package/dist/components/substask/SubstackPosts.js.map +0 -1
- package/dist/components/text/IconText.d.ts +0 -11
- package/dist/components/text/IconText.js +0 -26
- package/dist/components/text/IconText.js.map +0 -1
- package/dist/components/text/InfiniteTicker.d.ts +0 -15
- package/dist/components/text/InfiniteTicker.js +0 -49
- package/dist/components/text/InfiniteTicker.js.map +0 -1
- package/dist/components/text/SpanStyled.d.ts +0 -6
- package/dist/components/text/SpanStyled.js +0 -34
- package/dist/components/text/SpanStyled.js.map +0 -1
- package/dist/components/text/TextWithSeparador.d.ts +0 -7
- package/dist/components/text/TextWithSeparador.js +0 -9
- package/dist/components/text/TextWithSeparador.js.map +0 -1
- package/dist/hooks/useResponsive.d.ts +0 -9
- package/dist/hooks/useResponsive.js +0 -14
- package/dist/hooks/useResponsive.js.map +0 -1
- package/dist/hooks/useResponsiveCarousel.d.ts +0 -15
- package/dist/hooks/useResponsiveCarousel.js +0 -36
- package/dist/hooks/useResponsiveCarousel.js.map +0 -1
- package/dist/types/AnimatedCardData.d.ts +0 -6
- package/dist/types/AnimatedCardData.js +0 -2
- package/dist/types/AnimatedCardData.js.map +0 -1
- package/dist/types/BannerResponsiveConfig.d.ts +0 -4
- package/dist/types/BannerResponsiveConfig.js +0 -2
- package/dist/types/BannerResponsiveConfig.js.map +0 -1
- package/dist/types/ItemMenuConfig.d.ts +0 -4
- package/dist/types/ItemMenuConfig.js +0 -2
- package/dist/types/ItemMenuConfig.js.map +0 -1
- package/dist/types/ShadowConfig.d.ts +0 -6
- package/dist/types/ShadowConfig.js +0 -2
- package/dist/types/ShadowConfig.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SectionStyled.js","sourceRoot":"","sources":["../../../src/components/section/SectionStyled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,MAAM,CAAC,MAAM,wBAAwB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AAC,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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import RSSParser from "rss-parser";
|
|
3
|
-
import SubstackPosts from "./SubstackPosts";
|
|
4
|
-
async function fetchSubstackPosts(url) {
|
|
5
|
-
const parser = new RSSParser();
|
|
6
|
-
try {
|
|
7
|
-
const feed = await parser.parseURL(url);
|
|
8
|
-
return feed.items.slice(0, 5).map((item) => ({
|
|
9
|
-
title: item.title || "Sem título",
|
|
10
|
-
link: item.link || "#",
|
|
11
|
-
}));
|
|
12
|
-
}
|
|
13
|
-
catch (error) {
|
|
14
|
-
console.error("Erro ao buscar os posts do Substack:", error);
|
|
15
|
-
return [];
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export default async function SubstackPage({ url }) {
|
|
19
|
-
const posts = await fetchSubstackPosts(url);
|
|
20
|
-
return _jsx(SubstackPosts, { posts: posts });
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=SubstackPage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SubstackPage.js","sourceRoot":"","sources":["../../../src/components/substask/SubstackPage.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAW5C,KAAK,UAAU,kBAAkB,CAAC,GAAW;IAC3C,MAAM,MAAM,GAAc,IAAI,SAAS,EAAE,CAAC;IAC1C,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC3C,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,YAAY;YACjC,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,GAAG;SACvB,CAAC,CAAC,CAAC;IACN,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,sCAAsC,EAAE,KAAK,CAAC,CAAC;QAC7D,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC;AAED,MAAM,CAAC,OAAO,CAAC,KAAK,UAAU,YAAY,CAAC,EAAE,GAAG,EAAqB;IAEnE,MAAM,KAAK,GAAG,MAAM,kBAAkB,CAAC,GAAG,CAAC,CAAC;IAE5C,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAkB,CAAC;AACvD,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use client"; // Marca o componente como Client Component
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
export default function SubstackPosts({ posts }) {
|
|
4
|
-
return (_jsxs("div", { children: [_jsx("h1", { children: "\u00DAltimos Posts do Substack" }), _jsx("ul", { children: posts.map((post, index) => (_jsx("li", { children: _jsx("a", { href: post.link, target: "_blank", rel: "noopener noreferrer", children: post.title }) }, index))) })] }));
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=SubstackPosts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SubstackPosts.js","sourceRoot":"","sources":["../../../src/components/substask/SubstackPosts.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC,CAAC,2CAA2C;;AAWzD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,KAAK,EAAsB;IACjE,OAAO,CACL,0BACE,0DAAkC,EAClC,uBACG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1B,uBACE,YAAG,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,YAC1D,IAAI,CAAC,KAAK,GACT,IAHG,KAAK,CAIT,CACN,CAAC,GACC,IACD,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SvgIconComponent } from '@mui/icons-material';
|
|
3
|
-
export interface IconTextProps {
|
|
4
|
-
color_text: string;
|
|
5
|
-
Icon: SvgIconComponent;
|
|
6
|
-
size_icon?: string;
|
|
7
|
-
color_icon: string;
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
declare const IconText: React.FC<IconTextProps>;
|
|
11
|
-
export default IconText;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { styled } from '@mui/material/styles';
|
|
3
|
-
import { Typography } from '@mui/material';
|
|
4
|
-
const DivStyled = styled('div')(() => ({
|
|
5
|
-
display: 'flex',
|
|
6
|
-
flexDirection: 'row',
|
|
7
|
-
gap: '8px',
|
|
8
|
-
boxSizing: 'border-box',
|
|
9
|
-
overflow: 'hidden',
|
|
10
|
-
position: 'relative',
|
|
11
|
-
width: 'fit-content',
|
|
12
|
-
flexGrow: 1,
|
|
13
|
-
}));
|
|
14
|
-
const DivImage = styled('span', {
|
|
15
|
-
shouldForwardProp: (prop) => !['color', 'font_size'].includes(prop),
|
|
16
|
-
})(({ color, font_size }) => ({
|
|
17
|
-
fontSize: font_size,
|
|
18
|
-
color: color,
|
|
19
|
-
width: font_size,
|
|
20
|
-
height: font_size,
|
|
21
|
-
}));
|
|
22
|
-
const IconText = ({ color_text, Icon, color_icon, size_icon = '24px', children }) => {
|
|
23
|
-
return (_jsxs(DivStyled, { children: [_jsx(DivImage, { font_size: size_icon, color: color_icon, children: _jsx(Icon, {}) }), _jsx(Typography, { variant: "body1", component: "span", color: color_text, flex: 1, children: children })] }));
|
|
24
|
-
};
|
|
25
|
-
export default IconText;
|
|
26
|
-
//# sourceMappingURL=IconText.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconText.js","sourceRoot":"","sources":["../../../src/components/text/IconText.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IACrC,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,KAAK;IACpB,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,QAAQ;IAClB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,aAAa;IACpB,QAAQ,EAAE,CAAC;CACZ,CAAC,CAAC,CAAC;AAEJ,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE;IAC5B,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CACnD,CAAC,CAAuC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAAC;IAElE,QAAQ,EAAE,SAAS;IACnB,KAAK,EAAE,KAAK;IACZ,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;CACpB,CAAC,CAAC,CAAC;AAWJ,MAAM,QAAQ,GAA4B,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,GAAG,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IAEzG,OAAM,CACF,MAAC,SAAS,eACN,KAAC,QAAQ,IAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,YAC/C,KAAC,IAAI,KAAE,GACE,EACX,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,YACnE,QAAQ,GACC,IACL,CACf,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SvgIconComponent } from '@mui/icons-material';
|
|
2
|
-
export declare const BoxStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
3
|
-
text_color: string;
|
|
4
|
-
}, {}, {}>;
|
|
5
|
-
type Props = {
|
|
6
|
-
items: string[];
|
|
7
|
-
backgroundColor?: string;
|
|
8
|
-
textColor?: string;
|
|
9
|
-
speed?: number;
|
|
10
|
-
repeatCount?: number;
|
|
11
|
-
isContinuo?: boolean;
|
|
12
|
-
Icon: SvgIconComponent;
|
|
13
|
-
};
|
|
14
|
-
declare const InfiniteTicker: React.FC<Props>;
|
|
15
|
-
export default InfiniteTicker;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useRef } from 'react';
|
|
4
|
-
import { useAnimationFrame } from 'framer-motion';
|
|
5
|
-
import { Box, styled } from '@mui/material';
|
|
6
|
-
export const BoxStyled = styled(Box, {
|
|
7
|
-
shouldForwardProp: (prop) => !['text_color'].includes(prop),
|
|
8
|
-
})(({ theme, text_color }) => {
|
|
9
|
-
var _a, _b, _c, _d, _e, _f;
|
|
10
|
-
return ({
|
|
11
|
-
color: text_color,
|
|
12
|
-
display: 'flex',
|
|
13
|
-
alignItems: 'center',
|
|
14
|
-
fontFamily: theme.typography.fontFamily,
|
|
15
|
-
fontWeight: (_a = theme.typography.h4) === null || _a === void 0 ? void 0 : _a.fontWeight,
|
|
16
|
-
fontStyle: (_b = theme.typography.h4) === null || _b === void 0 ? void 0 : _b.fontStyle,
|
|
17
|
-
lineHeight: (_c = theme.typography.h4) === null || _c === void 0 ? void 0 : _c.lineHeight,
|
|
18
|
-
letterSpacing: (_d = theme.typography.h4) === null || _d === void 0 ? void 0 : _d.letterSpacing,
|
|
19
|
-
fontSize: (_e = theme.typography.h4) === null || _e === void 0 ? void 0 : _e.fontSize,
|
|
20
|
-
margin: (_f = theme.typography.h4) === null || _f === void 0 ? void 0 : _f.margin,
|
|
21
|
-
});
|
|
22
|
-
});
|
|
23
|
-
const InfiniteTicker = ({ items, backgroundColor = '#000', textColor = '#fff', speed = 100, repeatCount = 6, Icon }) => {
|
|
24
|
-
const containerRef = useRef(null);
|
|
25
|
-
const x = useRef(0);
|
|
26
|
-
useAnimationFrame((_, delta) => {
|
|
27
|
-
if (containerRef.current) {
|
|
28
|
-
const containerWidth = containerRef.current.offsetWidth;
|
|
29
|
-
x.current -= (speed * delta) / 1000;
|
|
30
|
-
if (x.current <= -containerWidth / 2) {
|
|
31
|
-
x.current = 0;
|
|
32
|
-
}
|
|
33
|
-
containerRef.current.style.transform = `translateX(${x.current}px)`;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
const renderItems = () => (_jsx(Box, { sx: { display: 'flex' }, children: items.map((item, idx) => (_jsxs(BoxStyled, { text_color: textColor, children: [_jsx(Box, { sx: { mx: 1 }, children: item }), _jsx(Box, { sx: { mx: 1 }, children: _jsx(Icon, {}) })] }, idx))) }));
|
|
37
|
-
return (_jsx(Box, { sx: {
|
|
38
|
-
overflow: 'hidden',
|
|
39
|
-
whiteSpace: 'nowrap',
|
|
40
|
-
width: '100%',
|
|
41
|
-
py: 1,
|
|
42
|
-
backgroundColor: backgroundColor,
|
|
43
|
-
}, children: _jsx(Box, { sx: {
|
|
44
|
-
display: 'flex',
|
|
45
|
-
width: 'max-content',
|
|
46
|
-
}, ref: containerRef, children: Array.from({ length: repeatCount }).map((_, i) => (_jsx(Box, { sx: { display: 'flex', mx: 2 }, children: renderItems() }, i))) }) }));
|
|
47
|
-
};
|
|
48
|
-
export default InfiniteTicker;
|
|
49
|
-
//# sourceMappingURL=InfiniteTicker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfiniteTicker.js","sourceRoot":"","sources":["../../../src/components/text/InfiniteTicker.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAG3C,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,EAAE;IACjC,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CAC3C,CAAC,CAAuB,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE;;IAAC,OAAA,CAAC;QAEnD,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,MAAM;QACf,UAAU,EAAE,QAAQ;QAEpB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,UAAU;QACvC,UAAU,EAAE,MAAA,KAAK,CAAC,UAAU,CAAC,EAAE,0CAAE,UAAU;QAC3C,SAAS,EAAE,MAAA,KAAK,CAAC,UAAU,CAAC,EAAE,0CAAE,SAAS;QACzC,UAAU,EAAE,MAAA,KAAK,CAAC,UAAU,CAAC,EAAE,0CAAE,UAAU;QAC3C,aAAa,EAAE,MAAA,KAAK,CAAC,UAAU,CAAC,EAAE,0CAAE,aAAa;QACjD,QAAQ,EAAE,MAAA,KAAK,CAAC,UAAU,CAAC,EAAE,0CAAE,QAAQ;QACvC,MA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,YAAE,KAAC,IAAI,KAAE,GAAM,KAFI,GAAG,CAG9B,CACb,CAAC,GACE,CACP,CAAA;IAED,OAAO,CACL,KAAC,GAAG,IACF,EAAE,EAAE;YACF,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,KAAK,EAAE,MAAM;YACb,EAAE,EAAE,CAAC;YACL,eAAe,EAAE,eAAe;SACjC,YAED,KAAC,GAAG,IACF,EAAE,EAAE;gBACF,OAAO,EAAE,MAAM;gBACf,KAAK,EAAE,aAAa;aACrB,EACD,GAAG,EAAE,YAAY,YAEhB,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACjD,KAAC,GAAG,IAAS,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,EAAE,YACxC,WAAW,EAAE,IADN,CAAC,CAEL,CACP,CAAC,GACE,GACF,CACP,CAAA;AACH,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
interface StyledTextProps {
|
|
2
|
-
text_color: string;
|
|
3
|
-
}
|
|
4
|
-
export declare const StyledSpanBody1: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledTextProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
5
|
-
export declare const StyledSpanBody2: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledTextProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
6
|
-
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { styled } from "@mui/material";
|
|
2
|
-
export const StyledSpanBody1 = styled('span', {
|
|
3
|
-
shouldForwardProp: (prop) => !['text_color'].includes(prop),
|
|
4
|
-
})(({ theme, text_color }) => {
|
|
5
|
-
var _a, _b, _c, _d, _e, _f;
|
|
6
|
-
return ({
|
|
7
|
-
color: text_color,
|
|
8
|
-
// Tipografia
|
|
9
|
-
fontFamily: theme.typography.fontFamily,
|
|
10
|
-
fontWeight: (_a = theme.typography.body1) === null || _a === void 0 ? void 0 : _a.fontWeight,
|
|
11
|
-
fontStyle: (_b = theme.typography.body1) === null || _b === void 0 ? void 0 : _b.fontStyle,
|
|
12
|
-
lineHeight: (_c = theme.typography.body1) === null || _c === void 0 ? void 0 : _c.lineHeight,
|
|
13
|
-
letterSpacing: (_d = theme.typography.body1) === null || _d === void 0 ? void 0 : _d.letterSpacing,
|
|
14
|
-
fontSize: (_e = theme.typography.body1) === null || _e === void 0 ? void 0 : _e.fontSize,
|
|
15
|
-
margin: (_f = theme.typography.body1) === null || _f === void 0 ? void 0 : _f.margin,
|
|
16
|
-
});
|
|
17
|
-
});
|
|
18
|
-
export const StyledSpanBody2 = styled('span', {
|
|
19
|
-
shouldForwardProp: (prop) => !['text_color'].includes(prop),
|
|
20
|
-
})(({ theme, text_color }) => {
|
|
21
|
-
var _a, _b, _c, _d, _e, _f;
|
|
22
|
-
return ({
|
|
23
|
-
color: text_color,
|
|
24
|
-
// Tipografia
|
|
25
|
-
fontFamily: theme.typography.fontFamily,
|
|
26
|
-
fontWeight: (_a = theme.typography.body2) === null || _a === void 0 ? void 0 : _a.fontWeight,
|
|
27
|
-
fontStyle: (_b = theme.typography.body2) === null || _b === void 0 ? void 0 : _b.fontStyle,
|
|
28
|
-
lineHeight: (_c = theme.typography.body2) === null || _c === void 0 ? void 0 : _c.lineHeight,
|
|
29
|
-
letterSpacing: (_d = theme.typography.body2) === null || _d === void 0 ? void 0 : _d.letterSpacing,
|
|
30
|
-
fontSize: (_e = theme.typography.body2) === null || _e === void 0 ? void 0 : _e.fontSize,
|
|
31
|
-
margin: (_f = theme.typography.body2) === null || _f === void 0 ?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AE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE;;IAAC,OAAA,CAAC;QAE9C,KAAK,EAAE,UAAU;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;KACvC,CAAC,CAAA;CAAA,CAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Divider } from '@mui/material';
|
|
3
|
-
const TextWithSeparador = ({ children, color_separador }) => {
|
|
4
|
-
return (_jsx(Divider, { sx: { bgcolor: 'transparent',
|
|
5
|
-
'&::before, &::after': { borderColor: color_separador },
|
|
6
|
-
width: '100%', paddingTop: '16px', paddingBottom: '16px' }, children: children }));
|
|
7
|
-
};
|
|
8
|
-
export default TextWithSeparador;
|
|
9
|
-
//# sourceMappingURL=TextWithSeparador.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextWithSeparador.js","sourceRoot":"","sources":["../../../src/components/text/TextWithSeparador.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAOxC,MAAM,iBAAiB,GAAqC,CAAC,EAAC,QAAQ,EACpE,eAAe,EAAC,EAAE,EAAE;IAEpB,OAAO,CAEL,KAAC,OAAO,IAAC,EAAE,EAAE,EAAE,OAAO,EAAE,aAAa;YACnC,qBAAqB,EAAE,EAAC,WAAW,EAAE,eAAe,EAAE;YACtD,KAAK,EAAE,MAAM,EAAE,UAAU,EAAC,MAAM,EAAE,aAAa,EAAC,MAAM,EAAE,YACvD,QAAQ,GACD,CACX,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { useTheme } from '@mui/material/styles';
|
|
2
|
-
import useMediaQuery from '@mui/material/useMediaQuery';
|
|
3
|
-
const useResponsive = () => {
|
|
4
|
-
const theme = useTheme();
|
|
5
|
-
return {
|
|
6
|
-
isXs: useMediaQuery(theme.breakpoints.only('xs')),
|
|
7
|
-
isSm: useMediaQuery(theme.breakpoints.only('sm')),
|
|
8
|
-
isMd: useMediaQuery(theme.breakpoints.only('md')),
|
|
9
|
-
isLg: useMediaQuery(theme.breakpoints.only('lg')),
|
|
10
|
-
isXl: useMediaQuery(theme.breakpoints.only('xl')),
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default useResponsive;
|
|
14
|
-
//# sourceMappingURL=useResponsive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useResponsive.js","sourceRoot":"","sources":["../../src/hooks/useResponsive.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,aAAa,MAAM,6BAA6B,CAAC;AAWxD,MAAM,aAAa,GAAG,GAAoB,EAAE;IAExC,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IAEzB,OAAO;QACH,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACpD,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface BreakpointsCarousel {
|
|
2
|
-
desktop: number;
|
|
3
|
-
desktopCards: number;
|
|
4
|
-
tablet: number;
|
|
5
|
-
tabletCards: number;
|
|
6
|
-
mobile: number;
|
|
7
|
-
mobileCards: number;
|
|
8
|
-
defaultCards: number;
|
|
9
|
-
}
|
|
10
|
-
declare const useResponsiveCarousel: ({ customBreakpoints }: {
|
|
11
|
-
customBreakpoints: BreakpointsCarousel;
|
|
12
|
-
}) => {
|
|
13
|
-
centerSlidePercentage: number;
|
|
14
|
-
};
|
|
15
|
-
export default useResponsiveCarousel;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { useEffect, useState } from 'react';
|
|
2
|
-
const useResponsiveCarousel = ({ customBreakpoints }) => {
|
|
3
|
-
const [centerSlidePercentage, setCenterSlidePercentage] = useState(100);
|
|
4
|
-
useEffect(() => {
|
|
5
|
-
const gap = 1; // Gap fixo entre os slides em pixels
|
|
6
|
-
const updateSlidesToShow = () => {
|
|
7
|
-
const width = window.innerWidth;
|
|
8
|
-
if (width > customBreakpoints.desktop) {
|
|
9
|
-
const cardWidth = (100 - (customBreakpoints.desktopCards - 1) * (gap / window.innerWidth) * 100) /
|
|
10
|
-
customBreakpoints.desktopCards;
|
|
11
|
-
setCenterSlidePercentage(cardWidth);
|
|
12
|
-
}
|
|
13
|
-
else if (width > customBreakpoints.tablet) {
|
|
14
|
-
const cardWidth = (100 - (customBreakpoints.tabletCards - 1) * (gap / window.innerWidth) * 100) /
|
|
15
|
-
customBreakpoints.tabletCards;
|
|
16
|
-
setCenterSlidePercentage(cardWidth);
|
|
17
|
-
}
|
|
18
|
-
else if (width > customBreakpoints.mobile) {
|
|
19
|
-
const cardWidth = (100 - (customBreakpoints.mobileCards - 1) * (gap / window.innerWidth) * 100) /
|
|
20
|
-
customBreakpoints.mobileCards;
|
|
21
|
-
setCenterSlidePercentage(cardWidth);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
const cardWidth = (100 - (customBreakpoints.defaultCards - 1) * (gap / window.innerWidth) * 100) /
|
|
25
|
-
customBreakpoints.defaultCards;
|
|
26
|
-
setCenterSlidePercentage(cardWidth);
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
updateSlidesToShow();
|
|
30
|
-
window.addEventListener('resize', updateSlidesToShow);
|
|
31
|
-
return () => window.removeEventListener('resize', updateSlidesToShow);
|
|
32
|
-
}, [customBreakpoints]);
|
|
33
|
-
return { centerSlidePercentage };
|
|
34
|
-
};
|
|
35
|
-
export default useResponsiveCarousel;
|
|
36
|
-
//# sourceMappingURL=useResponsiveCarousel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useResponsiveCarousel.js","sourceRoot":"","sources":["../../src/hooks/useResponsiveCarousel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAY5C,MAAM,qBAAqB,GAAG,CAAC,EAAE,iBAAiB,EAA8C,EAAE,EAAE;IAClG,MAAM,CAAC,qBAAqB,EAAE,wBAAwB,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;IAExE,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,qCAAqC;QAEpD,MAAM,kBAAkB,GAAG,GAAG,EAAE;YAC9B,MAAM,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC;YAEhC,IAAI,KAAK,GAAG,iBAAiB,CAAC,OAAO,EAAE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AC,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAC;IACxE,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAExB,OAAO,EAAE,qBAAqB,EAAE,CAAC;AACnC,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedCardData.js","sourceRoot":"","sources":["../../src/types/AnimatedCardData.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BannerResponsiveConfig.js","sourceRoot":"","sources":["../../src/types/BannerResponsiveConfig.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ItemMenuConfig.js","sourceRoot":"","sources":["../../src/types/ItemMenuConfig.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShadowConfig.js","sourceRoot":"","sources":["../../src/types/ShadowConfig.tsx"],"names":[],"mappings":""}
|