From a954c37d2d0c7d13281efd2b7bd32d3cd048a5e8 Mon Sep 17 00:00:00 2001 From: Vaibhav sasulkar Date: Wed, 9 Oct 2024 13:11:01 +0530 Subject: [PATCH 01/10] document required images added from colan --- .../documents-required/documents-required.css | 130 ++++-------------- 1 file changed, 29 insertions(+), 101 deletions(-) diff --git a/styles/documents-required/documents-required.css b/styles/documents-required/documents-required.css index 299ffaa52f..7096c936c1 100644 --- a/styles/documents-required/documents-required.css +++ b/styles/documents-required/documents-required.css @@ -136,91 +136,23 @@ .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion details summary::before{ content: none; } -.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(1) details{ - position: relative; - padding-left: unset; - padding-right: 0; - padding-bottom: unset; -} -.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(1) details::before{ - position: absolute; - background-image: url('/images/kycdoc.svg'); - left: 0; - top: 40px; - object-fit: contain; - content:''; - height: 32px; - margin-right: 24px; - width: 32px; +.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion details { + padding: unset; } -.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(2) details{ +.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion details summary>div{ position: relative; - padding-left: unset; - padding-right: 0; - padding-bottom: unset; } -.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(2) details::before{ +.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion details summary>div p>span { position: absolute; - background-image: url('/images/income.svg'); - left: 0; - top: 40px; - object-fit: contain; - content:''; - height: 32px; - margin-right: 24px; - width: 32px; + left: 2px; + top: 12px; } -.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(3) details{ - position: relative; - padding-left: unset; - padding-right: 0; - padding-bottom: unset; -} -.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(3) details::before{ - position: absolute; - background-image: url('/images/property.svg'); - left: 0; - top: 40px; - object-fit: contain; - content:''; - height: 32px; - margin-right: 24px; +.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion details summary>div p>span, +.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion details summary>div p>span>img { width: 32px; -} -.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(4) details{ - position: relative; - padding-left: unset; - padding-right: 0; - padding-bottom: unset; -} -.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(4) details::before{ - position: absolute; - background-image: url('/images/coapplicants.svg'); - left: 0; - top: 30px; - object-fit: contain; - content:''; height: 32px; - margin-right: 24px; - width: 32px; -} -.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(5) details{ - position: relative; - padding-left: unset; - padding-right: 0; - padding-bottom: unset; -} -.section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(5) details::before{ - position: absolute; - background-image: url('/images/photodocm.svg'); - left: 0; - top: 30px; - object-fit: contain; - content:''; - height: 32px; - margin-right: 24px; - width: 32px; } + .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion.block{ border-bottom: 1px dashed #ccc; } @@ -407,21 +339,21 @@ table { font-family: 'Nunito-Regular', sans-serif; } -.section.documents-required-brown.documents-required-img-align .accordion-group-wrapper .accordion-group .accordion details:not(:has(p))::before { - top: 30px; +.section.documents-required-brown.documents-required-img-align .accordion-group-wrapper .accordion-group .accordion details summary>div:not(:has(p:last-child)) p>span{ + top: -2px; } -.section.documents-required-brown.documents-required-img-align .accordion-group-wrapper .accordion-group .accordion details:not(:has(p)) summary>div::before { +.section.documents-required-brown.documents-required-img-align .accordion-group-wrapper .accordion-group .accordion details:not(:has(p:last-child)) summary>div::before { top: 0; } -.section.documents-required-brown.document-required-accordion-img-swap .accordion-group-wrapper .accordion-group .accordion:nth-last-child(2) details::before{ +/* .section.documents-required-brown.document-required-accordion-img-swap .accordion-group-wrapper .accordion-group .accordion:nth-last-child(2) details::before{ background-image: url('/images/coapplicants.svg'); -} +} */ -.section.documents-required-brown.document-required-accordion-img-swap .accordion-group-wrapper .accordion-group .accordion:last-child details::before{ +/* .section.documents-required-brown.document-required-accordion-img-swap .accordion-group-wrapper .accordion-group .accordion:last-child details::before{ background-image: url('/images/photodocm.svg'); -} +} */ .section.documents-required-brown.document-required-accordion-img table:nth-child(2) > tbody > tr> th:nth-child(3), .section.documents-required-brown.document-required-accordion-img table:nth-child(2) > tbody > tr> th:nth-child(2), @@ -517,18 +449,6 @@ table { /* top: unset; */ width: 100%; } - .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(1) details::before, - .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(2) details::before, - .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(3) details::before, - .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(4) details::before, - .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(5) details::before{ - height: 24px; - width: 24px; - margin-right: 16px; - background-size: 100%; - top: 26px; - margin-left: 12px; - } .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion details summary div h3{ font-size: 0.875rem; line-height: 20px; @@ -546,11 +466,6 @@ table { .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(4) details summary div{ padding-left: 51px; } - .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(4) details::before, - .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion:nth-child(5) details::before{ - top: 15px; - margin-left: 12px; - } .section.documents-required-brown .accordion-group{ border-radius: 12px; padding: 12px 16px; @@ -697,6 +612,16 @@ table { .section.documents-required-brown.document-required-accordion-img table:nth-child(9) > tbody > tr > td:nth-last-child(2) { width: 20%; } + .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion details summary>div p>span { + position: absolute; + left: 12px; + top: 10px; + } + .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion details summary>div p>span, + .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion details summary>div p>span>img { + width: 24px; + height: 24px; + } } @media screen and (min-width:768px) and (max-width:1024px) { .section.documents-required-brown .default-content-wrapper .button-container{ @@ -711,6 +636,9 @@ table { .section.documents-required-brown .accordion-group-wrapper { margin-bottom: unset; } + .section.documents-required-brown .accordion-group-wrapper .accordion-group .accordion details summary>div p>span { + top: 10px; + } } @media screen and (min-width: 1025px) and (max-width: 1300px){ From a54516cda8eaea51505fceccac45cd937995bd25 Mon Sep 17 00:00:00 2001 From: npy11 Date: Wed, 9 Oct 2024 15:36:28 +0530 Subject: [PATCH 02/10] fixed headset added --- blocks/carousel/embed-banner-carousel.css | 13 ++-- icons/headset.svg | 5 ++ scripts/scripts.js | 1 + styles/fixed-headset/fixed-headset.css | 93 +++++++++++++++++++++++ 4 files changed, 106 insertions(+), 6 deletions(-) create mode 100644 icons/headset.svg create mode 100644 styles/fixed-headset/fixed-headset.css diff --git a/blocks/carousel/embed-banner-carousel.css b/blocks/carousel/embed-banner-carousel.css index 2633b1976a..d7fca072c1 100644 --- a/blocks/carousel/embed-banner-carousel.css +++ b/blocks/carousel/embed-banner-carousel.css @@ -244,7 +244,8 @@ @media (min-width:1025px) and (max-width:1300px) { .section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background { - /* height: 380px; */ + height: 529px; + min-height: 529px; background-size: cover; background-position: center top; } @@ -265,11 +266,11 @@ padding: 0 14px; } - .sectio .carousel-wrapper .teaser.blockn.video-component-carousel .background .foreground, - .sectio .carousel-wrapper .teaser.blockn.video-component-carousel { - min-height: 380px; - height: 380px; - } + /* .section .carousel-wrapper .teaser.block.video-component-carousel .background .foreground, + .section .carousel-wrapper .teaser.block.video-component-carousel { + height: 529px; + min-height: 529px; + } */ .section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel.teaser .background .foreground{ margin: calc((100% - 1025px) / 2); } diff --git a/icons/headset.svg b/icons/headset.svg new file mode 100644 index 0000000000..91534c8b76 --- /dev/null +++ b/icons/headset.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/scripts/scripts.js b/scripts/scripts.js index 501acf5446..c7b5c883f9 100644 --- a/scripts/scripts.js +++ b/scripts/scripts.js @@ -779,6 +779,7 @@ async function loadingCustomCss() { `${window.hlx.codeBasePath}/styles/e-nach-registration/e-nach-registration.css`, `${window.hlx.codeBasePath}/styles/support-faq/support-faq.css`, `${window.hlx.codeBasePath}/styles/embed-carousel-wrapper/embed-carousel-wrapper.css`, + `${window.hlx.codeBasePath}/styles/fixed-headset/fixed-headset.css`, ]; loadCssArray.forEach(async (eachCss) => { diff --git a/styles/fixed-headset/fixed-headset.css b/styles/fixed-headset/fixed-headset.css new file mode 100644 index 0000000000..73a1eb562d --- /dev/null +++ b/styles/fixed-headset/fixed-headset.css @@ -0,0 +1,93 @@ +.section.fixed-headset-wrapper .default-content-wrapper { + display: flex; + align-items: center; + position: fixed; + bottom: 40px; + right: 40px; + height: 56px; + width: 56px; + overflow: hidden; + transition: width .1s; + background-color: #20303f; + border-radius: 100px; + cursor: pointer; + z-index: 1; +} + +.section.fixed-headset-wrapper .default-content-wrapper p { + background-color: #20303f; + height: 56px; + width: 56px; + border-radius: 100px; + text-align: center; + align-content: center; +} +.section.fixed-headset-wrapper .default-content-wrapper p span{ + display: contents; +} +.section.fixed-headset-wrapper .default-content-wrapper p span img{ + width: 32px; + height: 32px; +} +.section.fixed-headset-wrapper .default-content-wrapper:hover p { + border: 1px solid #999; +} + +.section.fixed-headset-wrapper .default-content-wrapper ul { + display: none; + justify-content: center; + flex-direction: column; + gap: 5px; +} + +.section.fixed-headset-wrapper .default-content-wrapper ul li { + font-size: 14px; + padding-left: 12px; + font-weight: 700; + color: #fff; + font-family: Nunito-Regular, 'sans-serif'; +} + +.section.fixed-headset-wrapper .default-content-wrapper ul li a { + color: #f58667; + text-decoration: underline; + font-family: Nunito-Bold, 'sans-serif'; +} + +.section.fixed-headset-wrapper .default-content-wrapper:hover { + width: 180px; + transition: width .1s; +} + +.section.fixed-headset-wrapper:hover .default-content-wrapper ul { + display: flex; + background-color: #20303f; +} + +@media screen and (max-width: 768px) { + .section.fixed-headset-wrapper .default-content-wrapper { + bottom: 16px; + right: 16px; + width: 48px; + height: 48px; + } + + .section.fixed-headset-wrapper .default-content-wrapper:hover { + width: 158px; + cursor: pointer; + transition: width .1s; + } + + .section.fixed-headset-wrapper .default-content-wrapper p { + height: 48px; + width: 48px; + } + .section.fixed-headset-wrapper .default-content-wrapper ul li{ + font-size: 12px; + padding-left: 9px; + } + .section.fixed-headset-wrapper .default-content-wrapper p span img{ + width: 26px; + height: 26px; + } +} \ No newline at end of file From 41b35c8b85ccfb78ab71bf02a04f5d2985d452aa Mon Sep 17 00:00:00 2001 From: npy11 Date: Wed, 9 Oct 2024 16:01:41 +0530 Subject: [PATCH 03/10] fixed headset css added --- styles/fixed-headset/fixed-headset.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/styles/fixed-headset/fixed-headset.css b/styles/fixed-headset/fixed-headset.css index 73a1eb562d..891a05a4db 100644 --- a/styles/fixed-headset/fixed-headset.css +++ b/styles/fixed-headset/fixed-headset.css @@ -49,11 +49,14 @@ } .section.fixed-headset-wrapper .default-content-wrapper ul li a { + color: #fff; + text-decoration: none; + font-family: Nunito-Bold, 'sans-serif'; +} +.section.fixed-headset-wrapper .default-content-wrapper ul li:first-child a { color: #f58667; text-decoration: underline; - font-family: Nunito-Bold, 'sans-serif'; } - .section.fixed-headset-wrapper .default-content-wrapper:hover { width: 180px; transition: width .1s; From 5ae07bbdc52cfa14a6f25c494c5480d638a79ab6 Mon Sep 17 00:00:00 2001 From: Om Gupta Date: Wed, 9 Oct 2024 16:02:48 +0530 Subject: [PATCH 04/10] twitter:title metadata added --- component-models.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/component-models.json b/component-models.json index 0452186fa6..3a1c7cb52c 100644 --- a/component-models.json +++ b/component-models.json @@ -16,6 +16,11 @@ "component": "text", "name": "theme", "label": "Theme" + }, + { + "component": "text", + "name": "twitter:title", + "label": "Twitter Title" } ] }, From 28cee68f570438263761772425a65be1ec14b96c Mon Sep 17 00:00:00 2001 From: npy11 Date: Wed, 9 Oct 2024 16:04:26 +0530 Subject: [PATCH 05/10] fixed headset css added --- styles/fixed-headset/fixed-headset.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styles/fixed-headset/fixed-headset.css b/styles/fixed-headset/fixed-headset.css index 891a05a4db..d586b0be3e 100644 --- a/styles/fixed-headset/fixed-headset.css +++ b/styles/fixed-headset/fixed-headset.css @@ -90,7 +90,7 @@ padding-left: 9px; } .section.fixed-headset-wrapper .default-content-wrapper p span img{ - width: 26px; - height: 26px; + width: 22px; + height: 22px; } } \ No newline at end of file From 26e2d0ee201d7bf80aad203cac46b263999d5f63 Mon Sep 17 00:00:00 2001 From: npy11 Date: Wed, 9 Oct 2024 16:25:16 +0530 Subject: [PATCH 06/10] insurance services bug solved --- styles/grievance-redressal/grievance-redressal.css | 1 + 1 file changed, 1 insertion(+) diff --git a/styles/grievance-redressal/grievance-redressal.css b/styles/grievance-redressal/grievance-redressal.css index a4164f86f4..ea12f114af 100644 --- a/styles/grievance-redressal/grievance-redressal.css +++ b/styles/grievance-redressal/grievance-redressal.css @@ -211,6 +211,7 @@ margin-top: -16px; font-size: 1.125rem; font-weight: 800; line-height: 27px; + min-height: 27px; } } /* Stakeholder Insurance Services End */ From a2b8ac43c22bd69ff7510d1b575b50cffc46a84b Mon Sep 17 00:00:00 2001 From: Vaibhav sasulkar Date: Wed, 9 Oct 2024 16:27:36 +0530 Subject: [PATCH 07/10] in columns add table --- blocks/boards/boards.js | 6 +++--- blocks/columns/columns.js | 28 ++++++++++++++++------------ component-models.json | 19 ++++++++++++++++++- 3 files changed, 37 insertions(+), 16 deletions(-) diff --git a/blocks/boards/boards.js b/blocks/boards/boards.js index 4155420276..8a869c7279 100644 --- a/blocks/boards/boards.js +++ b/blocks/boards/boards.js @@ -19,7 +19,7 @@ export default async function decorate(block) { const tbody = document.createElement('tbody'); const header = !block.classList.contains('no-header'); - if (header) table.append(thead); + // if (header) table.append(thead); table.append(tbody); [...block.children].forEach((child, i) => { @@ -27,8 +27,8 @@ export default async function decorate(block) { // if (header && i === 0) thead.append(row); // else tbody.append(row); - // [...child.children].forEach((col) => { - [...child.firstElementChild?.firstElementChild?.children]?.forEach((col) => { + // [...child.firstElementChild?.firstElementChild?.children]?.forEach((col) => { + [...child.children].forEach((col) => { const cell = buildCell(header ? i : i + 1); if (col.innerHTML.includes('img') && col.textContent.trim()) { col.remove(); diff --git a/blocks/columns/columns.js b/blocks/columns/columns.js index ffa286b966..52d5026388 100644 --- a/blocks/columns/columns.js +++ b/blocks/columns/columns.js @@ -2,9 +2,13 @@ import { decorateViewMore } from "../../scripts/scripts.js"; import { statemasterGetStatesApi } from '../applyloanform/statemasterapi.js'; import { validationJSFunc } from '../applyloanform/validation.js'; import { formOpen } from '../applyloanform/applyloanforms.js'; - +import decorateTable from "../boards/boards.js"; export default function decorate(block) { + if (block.classList.contains('table')) { + decorateTable(block); + return block; + } decorateViewMore(block); const cols = [...block.firstElementChild.children]; block.classList.add(`columns-${cols.length}-cols`); @@ -31,16 +35,16 @@ export default function decorate(block) { } -function openFormColumn(block){ - var sectionBlock = block.closest(".section"); - if(sectionBlock.classList.contains('open-form-on-click-column')){ - sectionBlock.querySelector('.open-form-on-click-column .columns-wrapper').querySelectorAll('.button-container').forEach(function (eachApplyFormClick) { - eachApplyFormClick.addEventListener('click', async (e) => { - statemasterGetStatesApi(); - validationJSFunc(); - formOpen(); - e.preventDefault(); - }); +function openFormColumn(block) { + var sectionBlock = block.closest(".section"); + if (sectionBlock.classList.contains('open-form-on-click-column')) { + sectionBlock.querySelector('.open-form-on-click-column .columns-wrapper').querySelectorAll('.button-container').forEach(function (eachApplyFormClick) { + eachApplyFormClick.addEventListener('click', async (e) => { + statemasterGetStatesApi(); + validationJSFunc(); + formOpen(); + e.preventDefault(); }); - } + }); + } } diff --git a/component-models.json b/component-models.json index 3a1c7cb52c..bd0c706d9f 100644 --- a/component-models.json +++ b/component-models.json @@ -138,6 +138,23 @@ { "id": "columns", "fields": [ + { + "component": "multiselect", + "name": "classes", + "label": "Style", + "valueType": "string", + "options": [ + { + "name": "Type", + "children": [ + { + "name": "Table", + "value": "table" + } + ] + } + ] + }, { "component": "text", "valueType": "number", @@ -2831,4 +2848,4 @@ } ] } -] +] \ No newline at end of file From 17f1fdaaed6809d381fa36ac1af26a9b4d7f3f93 Mon Sep 17 00:00:00 2001 From: npy11 Date: Wed, 9 Oct 2024 16:51:28 +0530 Subject: [PATCH 08/10] z index added --- styles/fixed-headset/fixed-headset.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/fixed-headset/fixed-headset.css b/styles/fixed-headset/fixed-headset.css index d586b0be3e..61421ebb4d 100644 --- a/styles/fixed-headset/fixed-headset.css +++ b/styles/fixed-headset/fixed-headset.css @@ -11,7 +11,7 @@ background-color: #20303f; border-radius: 100px; cursor: pointer; - z-index: 1; + z-index: 12; } .section.fixed-headset-wrapper .default-content-wrapper p { From 7c5accee2f85bf5b92e6163ecbcfb467557dc57a Mon Sep 17 00:00:00 2001 From: Vaibhav sasulkar Date: Wed, 9 Oct 2024 16:59:58 +0530 Subject: [PATCH 09/10] code block add table --- blocks/boards/boards.js | 4 ++-- blocks/code/code.js | 4 +++- blocks/code/table.js | 53 +++++++++++++++++++++++++++++++++++++++++ component-models.json | 17 +++++++++++++ 4 files changed, 75 insertions(+), 3 deletions(-) create mode 100644 blocks/code/table.js diff --git a/blocks/boards/boards.js b/blocks/boards/boards.js index 8a869c7279..44b17d9199 100644 --- a/blocks/boards/boards.js +++ b/blocks/boards/boards.js @@ -27,8 +27,8 @@ export default async function decorate(block) { // if (header && i === 0) thead.append(row); // else tbody.append(row); - // [...child.firstElementChild?.firstElementChild?.children]?.forEach((col) => { - [...child.children].forEach((col) => { + [...child.firstElementChild?.firstElementChild?.children]?.forEach((col) => { + // [...child.children].forEach((col) => { const cell = buildCell(header ? i : i + 1); if (col.innerHTML.includes('img') && col.textContent.trim()) { col.remove(); diff --git a/blocks/code/code.js b/blocks/code/code.js index f40b3201a7..33d84a11cf 100644 --- a/blocks/code/code.js +++ b/blocks/code/code.js @@ -3,7 +3,9 @@ import { mobileHeaderAnalytics } from "./code-analytics.js"; export default async function decorate(block) { block.innerHTML = await decoratePlaceholder(block); - + if(block.classList.add('table')){ + decorateTable(block) + } const titleData = block.children[0]?.querySelector('p')?.textContent.trim() || ''; block.innerHTML = ''; if (titleData) { diff --git a/blocks/code/table.js b/blocks/code/table.js new file mode 100644 index 0000000000..20c90cec79 --- /dev/null +++ b/blocks/code/table.js @@ -0,0 +1,53 @@ +/* + * Table Block + * Recreate a table + * https://www.hlx.live/developer/block-collection/table + */ + +function buildCell(rowIndex) { + const cell = rowIndex ? document.createElement('td') : document.createElement('th'); + if (!rowIndex) cell.setAttribute('scope', 'col'); + return cell; +} + +export function decorateTable(block) { + block.classList.add('code'); + block.parentElement.classList.add('code-wrapper'); + const table = document.createElement('table'); + const div = document.createElement('div'); + const thead = document.createElement('thead'); + const tbody = document.createElement('tbody'); + + const header = !block.classList.contains('no-header'); + // if (header) table.append(thead); + table.append(tbody); + + [...block.children].forEach((child, i) => { + const row = document.createElement('tr'); + // if (header && i === 0) thead.append(row); + // else + tbody.append(row); + [...child.firstElementChild?.firstElementChild?.children]?.forEach((col) => { + // [...child.children].forEach((col) => { + const cell = buildCell(header ? i : i + 1); + if (col.innerHTML.includes('img') && col.textContent.trim()) { + col.remove(); + const p = document.createElement('p'); + const span = document.createElement('span'); + span.append(col.textContent.trim()); + p.append(col.querySelector('img')) + p.append(span) + cell.append(p); + } else if (col.innerHTML.includes('img')) { + col.remove(); + cell.append(col.querySelector('img')); + } else { + cell.innerHTML = col.innerHTML; + } + row.append(cell); + }); + }); + block.innerHTML = ''; + div.append(table); + block.append(div); +} \ No newline at end of file diff --git a/component-models.json b/component-models.json index bd0c706d9f..dfcce89db2 100644 --- a/component-models.json +++ b/component-models.json @@ -2195,6 +2195,23 @@ { "id": "code", "fields": [ + { + "component": "multiselect", + "name": "classes", + "label": "Style", + "valueType": "string", + "options": [ + { + "name": "Type", + "children": [ + { + "name": "Table", + "value": "table" + } + ] + } + ] + }, { "component": "text-area", "valueType": "string", From 075f34869d35b0e3bf04a92dc60a668f2d3f33d6 Mon Sep 17 00:00:00 2001 From: Om Gupta Date: Wed, 9 Oct 2024 19:14:27 +0530 Subject: [PATCH 10/10] twitter:title metadata added --- component-models.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component-models.json b/component-models.json index 3a1c7cb52c..32f85d2454 100644 --- a/component-models.json +++ b/component-models.json @@ -19,7 +19,7 @@ }, { "component": "text", - "name": "twitter:title", + "name": "twitter-title", "label": "Twitter Title" } ]