From 67e9bd6c864828cb485db4cc47b7eddb5f1f1c9e Mon Sep 17 00:00:00 2001 From: Lucas Leite <70826073+leitecsleite@users.noreply.github.com> Date: Tue, 21 May 2024 16:02:08 -0300 Subject: [PATCH] fix:breadcrumbCustom --- components/BenefitsList/BenefitsList.tsx | 38 ++++---- .../BannerWithTextColumn.tsx | 11 +-- components/ui/Ellipse.tsx | 93 ++++++++++--------- sections/Content/BreadcrumbCustom.tsx | 70 +++++--------- sections/Content/IconTitleAndTex.tsx | 4 +- 5 files changed, 103 insertions(+), 113 deletions(-) diff --git a/components/BenefitsList/BenefitsList.tsx b/components/BenefitsList/BenefitsList.tsx index f7cbb3e..7a6b40f 100644 --- a/components/BenefitsList/BenefitsList.tsx +++ b/components/BenefitsList/BenefitsList.tsx @@ -10,9 +10,9 @@ export interface Ellipse { vertical: "top" | "center" | "bottom"; width: "100" | "200" | "300"; height: "100" | "200" | "300"; - color: 'yellow' | 'blue' + color: "yellow" | "blue"; activeDesktop?: boolean; - activeMobile?: boolean; + activeMobile?: boolean; } /** @title {{{description}}} */ @@ -20,7 +20,6 @@ export interface Lists { /** @title Descrição */ /** @format html */ description: string; - } export interface Props { /** @title Título */ @@ -30,20 +29,20 @@ export interface Props { titleStyle: { alignment?: "center" | "left" | "right"; }; - + /**@description Quantidade de colunas */ - columns?: "1" | "2" | "3" | "4" + columns?: "1" | "2" | "3" | "4"; /**@title Lista */ lists: Lists[]; /** @description Largura máxima do container de lista */ - maxWidth?: "285" | "392" + maxWidth?: "285" | "392"; /** @description Icon backgroud */ icon?: ImageWidget; - ellipse?: Ellipse; + ellipse?: Ellipse; activeBackgroundImage: boolean; /** @tilte Margin top */ @@ -82,9 +81,9 @@ export default function BenefitsList( icon, activeBackgroundImage, titleStyle, - maxWidth = "285", - columns ="4", - ellipse + maxWidth = "285", + columns = "4", + ellipse, }: Props, ) { const { alignment = "center" } = titleStyle || {}; @@ -101,7 +100,7 @@ export default function BenefitsList( > {title && (
)} -