From 8994c3521f04692eb8ecbec5ab4eac56490ff456 Mon Sep 17 00:00:00 2001 From: meenu Date: Wed, 12 Apr 2023 11:41:32 +0530 Subject: [PATCH] minor fixes --- colors.ftd | 2 +- component-lib/lib2.ftd | 1 + component-lib/lib4.ftd | 14 +++++++++++--- contributor.ftd | 1 + lib.ftd | 11 ++++++----- other-comp.ftd | 1 + 6 files changed, 21 insertions(+), 9 deletions(-) diff --git a/colors.ftd b/colors.ftd index 9bcb595..774b679 100644 --- a/colors.ftd +++ b/colors.ftd @@ -5,7 +5,7 @@ --- ft.page: Font Library +-- ft.page: Color Library $show-breadcrum: true -- excel-promo-card-bg: diff --git a/component-lib/lib2.ftd b/component-lib/lib2.ftd index 263e4dc..be566d3 100644 --- a/component-lib/lib2.ftd +++ b/component-lib/lib2.ftd @@ -1802,6 +1802,7 @@ role: $inherited.types.copy-large color: $inherited.colors.text margin-top.px: 15 text-align if {hero-section-mobile.bottom || hero-section-mobile.top-img || hero-section-mobile.dot-img || hero-section-mobile.center}: center +z-index: 2 -- ftd.row: spacing.fixed.px: 33 diff --git a/component-lib/lib4.ftd b/component-lib/lib4.ftd index 612336d..6c21ec9 100644 --- a/component-lib/lib4.ftd +++ b/component-lib/lib4.ftd @@ -537,6 +537,7 @@ cta-text: $stages-vertical.cta-text cta-link: $stages-vertical.cta-link info: $stages-vertical.info right: $stages-vertical.right +no-line: $stages-vertical.no-line -- stages-vertical-mobile: $stages-vertical.title if: { ftd.device == "mobile" } @@ -548,7 +549,7 @@ cta-link: $stages-vertical.cta-link info: $stages-vertical.info right: $stages-vertical.right top-line: $stages-vertical.top-line - +no-line: $stages-vertical.no-line -- end: ftd.column @@ -572,6 +573,7 @@ optional string cta-text: optional string cta-link: optional body info: optional boolean right: +optional boolean no-line: -- ftd.row: width: fill-container @@ -599,6 +601,7 @@ top.px: 48 right.px: 54 -- ftd.column: +if: {!stages-vertical-desktop.no-line} border-width.px: 1 border-color: $inherited.colors.border anchor: parent @@ -727,6 +730,7 @@ optional string cta-link: optional body info: optional boolean right: optional boolean top-line: +optional boolean no-line: -- ftd.column: width: fill-container @@ -759,6 +763,7 @@ anchor: parent top.px: 48 -- ftd.column: +if: {!stages-vertical-mobile.no-line} border-width.px: 1 border-color: $inherited.colors.border anchor: parent @@ -830,9 +835,11 @@ integer height: 600 optional integer width: optional boolean icon-text: false optional boolean top: false +optional boolean width-fill: false children child: -- ftd.column: +width if {stages-vertical-image.width-fill}: fill-container -- stages-vertical-image-desktop: if: { ftd.device != "mobile" } @@ -940,6 +947,7 @@ children child: -- ftd.column: padding-vertical.px: 40 +align-self: center -- ftd.column: width: fill-container @@ -1183,9 +1191,9 @@ optional boolean ext-img: false optional boolean right-btn: false children child: optional ftd.image-src image: -boolean top: +optional boolean top: false optional boolean timestamp: false -boolean no-img: +optional boolean no-img: false -- ftd.column: width: fill-container diff --git a/contributor.ftd b/contributor.ftd index 5238227..2fd1ab1 100644 --- a/contributor.ftd +++ b/contributor.ftd @@ -18,6 +18,7 @@ cta-role: primary Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc , libero et velit interdum, ac aliquet libero et velit interdum libero et velit interdum odio mattis.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc , libero et velit interdum, ac aliquet libero et velit interdum libero et velit interdum odio mattis. -- ft.stages-vertical-image: +width-fill: true -- ft.stages-vertical: Download lorem ipsum rect: $assets.files.static.hosting.rect-num.svg diff --git a/lib.ftd b/lib.ftd index 7458309..4ce030d 100644 --- a/lib.ftd +++ b/lib.ftd @@ -2133,7 +2133,7 @@ optional string cta-role: optional string role: optional string type: optional string time: -optional boolean timestamp: +optional boolean timestamp: false optional boolean col-img: false optional boolean padding: false optional boolean down-img: false @@ -2141,8 +2141,8 @@ optional boolean ext-img: false optional boolean right-btn: false children child: optional ftd.image-src image: -boolean top: false -boolean no-img: false +optional boolean top: false +optional boolean no-img: false -- lib4.left-image-component: $left-image-component.title icon: $left-image-component.icon @@ -2215,13 +2215,14 @@ integer height: 600 optional integer width: optional boolean top: false optional boolean icon-text: false +optional boolean width-fill: false children child: --- lib4.stages-vertical-image: -title: $stages-vertical-image.title +-- lib4.stages-vertical-image: $stages-vertical-image.title icon: $stages-vertical-image.icon image: $stages-vertical-image.image width: $stages-vertical-image.width +width-fill: $stages-vertical-image.width-fill height: $stages-vertical-image.height icon-text: $stages-vertical-image.icon-text top: $stages-vertical-image.top diff --git a/other-comp.ftd b/other-comp.ftd index 80110b2..e5bbc67 100644 --- a/other-comp.ftd +++ b/other-comp.ftd @@ -100,6 +100,7 @@ children child: image: $assets.files.static.other.group.svg width: 1520 height: 150 +width-fill: true child: $stages-vertical-image-1.child -- end: stages-vertical-image-1