From 8f986a7fb855d55be982e23adb4d6f79826fed7b Mon Sep 17 00:00:00 2001 From: Sergii Pavlenko Date: Tue, 12 Sep 2023 17:54:53 +0300 Subject: [PATCH] EWPP-3602: Update ECL version to 3.10.0. --- package.json | 100 +++++++++--------- ...patch => twig-component-file+3.10.0.patch} | 0 ...tch => twig-component-select+3.10.0.patch} | 0 ...> twig-component-site-footer+3.10.0.patch} | 0 .../@ecl/twig-component-table+3.10.0.patch | 12 +++ patches/@ecl/twig-component-table+3.9.1.patch | 12 --- .../banners/banner_hero.ui_patterns.yml | 2 +- .../banners/banner_page.ui_patterns.yml | 2 +- .../blockquote/blockquote.ui_patterns.yml | 2 +- .../carousel/carousel.ui_patterns.yml | 6 +- .../featured_item.ui_patterns.yml | 2 +- .../file_image/file_image.ui_patterns.yml | 2 +- .../list_item/list_item.ui_patterns.yml | 2 +- .../list_with_illustration.ui_patterns.yml | 4 +- .../navigation_list.ui_patterns.yml | 2 +- .../organisation_teaser.ui_patterns.yml | 2 +- .../page_header/page_header.ui_patterns.yml | 2 +- 17 files changed, 76 insertions(+), 76 deletions(-) rename patches/@ecl/{twig-component-file+3.9.1.patch => twig-component-file+3.10.0.patch} (100%) rename patches/@ecl/{twig-component-select+3.9.1.patch => twig-component-select+3.10.0.patch} (100%) rename patches/@ecl/{twig-component-site-footer+3.9.1.patch => twig-component-site-footer+3.10.0.patch} (100%) create mode 100644 patches/@ecl/twig-component-table+3.10.0.patch delete mode 100644 patches/@ecl/twig-component-table+3.9.1.patch diff --git a/package.json b/package.json index 9a12cfc46..c274e903b 100644 --- a/package.json +++ b/package.json @@ -14,57 +14,57 @@ "prepare": "patch-package" }, "dependencies": { - "@ecl/builder": "3.9.1", - "@ecl/preset-ec": "3.9.1", - "@ecl/preset-eu": "3.9.1", - "@ecl/preset-reset": "3.9.1", + "@ecl/builder": "3.10.0", + "@ecl/preset-ec": "3.10.0", + "@ecl/preset-eu": "3.10.0", + "@ecl/preset-reset": "3.10.0", "@ecl/stylelint-config": "0.2.1", - "@ecl/theme-ec": "3.9.1", - "@ecl/theme-eu": "3.9.1", - "@ecl/twig-component-accordion": "3.9.1", - "@ecl/twig-component-banner": "3.9.1", - "@ecl/twig-component-blockquote": "3.9.1", - "@ecl/twig-component-breadcrumb": "3.9.1", - "@ecl/twig-component-button": "3.9.1", - "@ecl/twig-component-card": "3.9.1", - "@ecl/twig-component-carousel": "3.9.1", - "@ecl/twig-component-content-item": "3.9.1", - "@ecl/twig-component-datepicker": "3.9.1", - "@ecl/twig-component-description-list": "3.9.1", - "@ecl/twig-component-expandable": "3.9.1", - "@ecl/twig-component-fact-figures": "3.9.1", - "@ecl/twig-component-featured-item": "3.9.1", - "@ecl/twig-component-file": "3.9.1", - "@ecl/twig-component-gallery": "3.9.1", - "@ecl/twig-component-hero-banner": "3.9.1", - "@ecl/twig-component-icon": "3.9.1", - "@ecl/twig-component-inpage-navigation": "3.9.1", - "@ecl/twig-component-label": "3.9.1", - "@ecl/twig-component-language-list": "3.9.1", - "@ecl/twig-component-link": "3.9.1", - "@ecl/twig-component-list-illustration": "3.9.1", - "@ecl/twig-component-media-container": "3.9.1", - "@ecl/twig-component-menu": "3.9.1", - "@ecl/twig-component-message": "3.9.1", - "@ecl/twig-component-navigation-list": "3.9.1", - "@ecl/twig-component-news-ticker": "3.9.1", - "@ecl/twig-component-page-banner": "3.9.1", - "@ecl/twig-component-page-header": "3.9.1", - "@ecl/twig-component-pagination": "3.9.1", - "@ecl/twig-component-radio": "3.9.1", - "@ecl/twig-component-search-form": "3.9.1", - "@ecl/twig-component-select": "3.9.1", - "@ecl/twig-component-site-footer": "3.9.1", - "@ecl/twig-component-site-header": "3.9.1", - "@ecl/twig-component-skip-link": "3.9.1", - "@ecl/twig-component-social-media-follow": "3.9.1", - "@ecl/twig-component-social-media-share": "3.9.1", - "@ecl/twig-component-table": "3.9.1", - "@ecl/twig-component-tag": "3.9.1", - "@ecl/twig-component-text-input": "3.9.1", - "@ecl/twig-component-timeline": "3.9.1", - "@ecl/vanilla-utility-background": "3.9.1", - "@ecl/vanilla-utility-border": "3.9.1", + "@ecl/theme-ec": "3.10.0", + "@ecl/theme-eu": "3.10.0", + "@ecl/twig-component-accordion": "3.10.0", + "@ecl/twig-component-banner": "3.10.0", + "@ecl/twig-component-blockquote": "3.10.0", + "@ecl/twig-component-breadcrumb": "3.10.0", + "@ecl/twig-component-button": "3.10.0", + "@ecl/twig-component-card": "3.10.0", + "@ecl/twig-component-carousel": "3.10.0", + "@ecl/twig-component-content-item": "3.10.0", + "@ecl/twig-component-datepicker": "3.10.0", + "@ecl/twig-component-description-list": "3.10.0", + "@ecl/twig-component-expandable": "3.10.0", + "@ecl/twig-component-fact-figures": "3.10.0", + "@ecl/twig-component-featured-item": "3.10.0", + "@ecl/twig-component-file": "3.10.0", + "@ecl/twig-component-gallery": "3.10.0", + "@ecl/twig-component-hero-banner": "3.10.0", + "@ecl/twig-component-icon": "3.10.0", + "@ecl/twig-component-inpage-navigation": "3.10.0", + "@ecl/twig-component-label": "3.10.0", + "@ecl/twig-component-language-list": "3.10.0", + "@ecl/twig-component-link": "3.10.0", + "@ecl/twig-component-list-illustration": "3.10.0", + "@ecl/twig-component-media-container": "3.10.0", + "@ecl/twig-component-menu": "3.10.0", + "@ecl/twig-component-message": "3.10.0", + "@ecl/twig-component-navigation-list": "3.10.0", + "@ecl/twig-component-news-ticker": "3.10.0", + "@ecl/twig-component-page-banner": "3.10.0", + "@ecl/twig-component-page-header": "3.10.0", + "@ecl/twig-component-pagination": "3.10.0", + "@ecl/twig-component-radio": "3.10.0", + "@ecl/twig-component-search-form": "3.10.0", + "@ecl/twig-component-select": "3.10.0", + "@ecl/twig-component-site-footer": "3.10.0", + "@ecl/twig-component-site-header": "3.10.0", + "@ecl/twig-component-skip-link": "3.10.0", + "@ecl/twig-component-social-media-follow": "3.10.0", + "@ecl/twig-component-social-media-share": "3.10.0", + "@ecl/twig-component-table": "3.10.0", + "@ecl/twig-component-tag": "3.10.0", + "@ecl/twig-component-text-input": "3.10.0", + "@ecl/twig-component-timeline": "3.10.0", + "@ecl/vanilla-utility-background": "3.10.0", + "@ecl/vanilla-utility-border": "3.10.0", "chokidar-cli": "3.0.0", "grunt": "1.6.1", "grunt-contrib-copy": "1.0.0", diff --git a/patches/@ecl/twig-component-file+3.9.1.patch b/patches/@ecl/twig-component-file+3.10.0.patch similarity index 100% rename from patches/@ecl/twig-component-file+3.9.1.patch rename to patches/@ecl/twig-component-file+3.10.0.patch diff --git a/patches/@ecl/twig-component-select+3.9.1.patch b/patches/@ecl/twig-component-select+3.10.0.patch similarity index 100% rename from patches/@ecl/twig-component-select+3.9.1.patch rename to patches/@ecl/twig-component-select+3.10.0.patch diff --git a/patches/@ecl/twig-component-site-footer+3.9.1.patch b/patches/@ecl/twig-component-site-footer+3.10.0.patch similarity index 100% rename from patches/@ecl/twig-component-site-footer+3.9.1.patch rename to patches/@ecl/twig-component-site-footer+3.10.0.patch diff --git a/patches/@ecl/twig-component-table+3.10.0.patch b/patches/@ecl/twig-component-table+3.10.0.patch new file mode 100644 index 000000000..d60f7c060 --- /dev/null +++ b/patches/@ecl/twig-component-table+3.10.0.patch @@ -0,0 +1,12 @@ +patch-package +--- a/node_modules/@ecl/twig-component-table/table.html.twig ++++ b/node_modules/@ecl/twig-component-table/table.html.twig +@@ -110,7 +110,7 @@ + {% set _row_css_class = _row_css_class ~ ' ' ~ row.extra_classes %} + {% endif %} + +- {% for cell in row %} ++ {% for cell in row.cells %} + {% set _cell_css_class = 'ecl-table__cell' %} + {% set _cell_attribute = cell['data-ecl-table-header'] is not empty ? 'data-ecl-table-header="' ~ cell['data-ecl-table-header']|e('html_attr') ~ '"' : '' %} + {% if cell.group %} diff --git a/patches/@ecl/twig-component-table+3.9.1.patch b/patches/@ecl/twig-component-table+3.9.1.patch deleted file mode 100644 index 80543da60..000000000 --- a/patches/@ecl/twig-component-table+3.9.1.patch +++ /dev/null @@ -1,12 +0,0 @@ -patch-package ---- a/node_modules/@ecl/twig-component-table/table.html.twig -+++ b/node_modules/@ecl/twig-component-table/table.html.twig -@@ -106,7 +106,7 @@ - {% set _row_extra_attributes = row.extra_attributes %} - {% endif %} - -- {% for cell in row %} -+ {% for cell in row.cells %} - {% set _cell_css_class = 'ecl-table__cell' %} - {% set _cell_attribute = cell['data-ecl-table-header'] is not empty ? 'data-ecl-table-header="' ~ cell['data-ecl-table-header']|e('html_attr') ~ '"' : '' %} - {% if cell.group %} diff --git a/templates/patterns/banners/banner_hero.ui_patterns.yml b/templates/patterns/banners/banner_hero.ui_patterns.yml index f4b4b9a92..b39f80ea0 100644 --- a/templates/patterns/banners/banner_hero.ui_patterns.yml +++ b/templates/patterns/banners/banner_hero.ui_patterns.yml @@ -40,7 +40,7 @@ banner_hero: label: "Image" description: "Banner image." preview: - src: "https://placeimg.com/1000/500/arch" + src: "https://loremflickr.com/1000/500/arch" alignment: type: "text" label: "Alignment" diff --git a/templates/patterns/banners/banner_page.ui_patterns.yml b/templates/patterns/banners/banner_page.ui_patterns.yml index 64e6a055d..08255422c 100644 --- a/templates/patterns/banners/banner_page.ui_patterns.yml +++ b/templates/patterns/banners/banner_page.ui_patterns.yml @@ -40,7 +40,7 @@ banner_page: label: "Image" description: "Banner image." preview: - src: "https://placeimg.com/1000/500/arch" + src: "https://loremflickr.com/1000/500/arch" alignment: type: "text" label: "Alignment" diff --git a/templates/patterns/blockquote/blockquote.ui_patterns.yml b/templates/patterns/blockquote/blockquote.ui_patterns.yml index 1180eec8c..f69a33d76 100644 --- a/templates/patterns/blockquote/blockquote.ui_patterns.yml +++ b/templates/patterns/blockquote/blockquote.ui_patterns.yml @@ -17,5 +17,5 @@ blockquote: label: "Image" description: "Blockquote image" preview: - src: "https://placeimg.com/1000/500/arch" + src: "https://loremflickr.com/1000/500/arch" alt: "Alternative text for featured item image" diff --git a/templates/patterns/carousel/carousel.ui_patterns.yml b/templates/patterns/carousel/carousel.ui_patterns.yml index b497ca1c2..09e9b6eac 100644 --- a/templates/patterns/carousel/carousel.ui_patterns.yml +++ b/templates/patterns/carousel/carousel.ui_patterns.yml @@ -11,7 +11,7 @@ carousel: description: "Nullam sollicitudin suscipit diam, ac blandit ipsum tempor consectetur" url: "https://example.com" url_text: "CTA" - image: "https://placeimg.com/640/480/tech" + image: "https://loremflickr.com/640/480/tech" variant: "text-box" centered: false credit: "© Copyright first item" @@ -19,7 +19,7 @@ carousel: description: "Integer quis lorem tellus. Nullam sollicitudin suscipit diam, ac blandit ipsum tempor consectetur" url: "https://example.com" url_text: "CTA" - image: "https://placeimg.com/640/480/arch" + image: "https://loremflickr.com/640/480/arch" variant: "text-highlight" - title: "Donec maximus pharetra ex a ultricies" description: "Integer quis lorem tellus. Nullam sollicitudin suscipit diam, ac blandit ipsum tempor consectetur. Duis vitae pulvinar turpis. Donec maximus pharetra ex a ultricies" @@ -29,7 +29,7 @@ carousel: description: "Integer quis lorem tellus. Nullam sollicitudin suscipit diam, ac blandit ipsum tempor consectetur. Duis vitae pulvinar turpis. Donec maximus pharetra ex a ultricies" url: "https://example.com" url_text: "CTA" - image: "https://placeimg.com/640/480/tech" + image: "https://loremflickr.com/640/480/tech" variant: "image-overlay" credit: "© Copyright fourth item" - title: "Lorem ipsum dolor sit amet" diff --git a/templates/patterns/featured_item/featured_item.ui_patterns.yml b/templates/patterns/featured_item/featured_item.ui_patterns.yml index 22ff4a57e..01c601ccd 100644 --- a/templates/patterns/featured_item/featured_item.ui_patterns.yml +++ b/templates/patterns/featured_item/featured_item.ui_patterns.yml @@ -14,7 +14,7 @@ featured_item: label: "Image" description: "Image of the featured item." preview: - src: "https://placeimg.com/1000/500/arch" + src: "https://loremflickr.com/1000/500/arch" alt: "Alternative text for featured item image" description: type: "text" diff --git a/templates/patterns/file_image/file_image.ui_patterns.yml b/templates/patterns/file_image/file_image.ui_patterns.yml index 610ea7d9d..0ad16d0d0 100644 --- a/templates/patterns/file_image/file_image.ui_patterns.yml +++ b/templates/patterns/file_image/file_image.ui_patterns.yml @@ -6,7 +6,7 @@ file_image: type: "Url" label: "Source" description: "Source of the image (A Drupal Url object)" - preview: "https://placeimg.com/1200/300/arch" + preview: "https://loremflickr.com/1200/300/arch" alt: type: "text" label: "Alt" diff --git a/templates/patterns/list_item/list_item.ui_patterns.yml b/templates/patterns/list_item/list_item.ui_patterns.yml index 84797cef0..22d30205e 100644 --- a/templates/patterns/list_item/list_item.ui_patterns.yml +++ b/templates/patterns/list_item/list_item.ui_patterns.yml @@ -98,7 +98,7 @@ list_item: label: "Primary image" description: "Attributes of the image to render" preview: - src: "https://placeimg.com/1200/900/arch" + src: "https://loremflickr.com/1200/900/arch" alt: "Alternative text for image" size: "large" icon: diff --git a/templates/patterns/list_with_illustration/list_with_illustration.ui_patterns.yml b/templates/patterns/list_with_illustration/list_with_illustration.ui_patterns.yml index 656a31876..4fc9e1f77 100644 --- a/templates/patterns/list_with_illustration/list_with_illustration.ui_patterns.yml +++ b/templates/patterns/list_with_illustration/list_with_illustration.ui_patterns.yml @@ -32,7 +32,7 @@ list_with_illustration: - title: "Business, Economy, Euro" description: "EU economy, the euro, and practical information for EU businesses and entrepreneurs." image: - src: "https://placeimg.com/1000/500/arch" + src: "https://loremflickr.com/1000/500/arch" alt: "Alternative text for featured item image" icon: "italy" value: "3.2 millions" @@ -40,7 +40,7 @@ list_with_illustration: - title: "About the European Union" description: "The EU and its institutions, how to visit and work at the EU." image: - src: "https://placeimg.com/1000/500/arch" + src: "https://loremflickr.com/1000/500/arch" alt: "Alternative text for featured item image" icon: "budget" value: "3.2 millions" diff --git a/templates/patterns/navigation_list/navigation_list.ui_patterns.yml b/templates/patterns/navigation_list/navigation_list.ui_patterns.yml index 780920193..2a2180755 100644 --- a/templates/patterns/navigation_list/navigation_list.ui_patterns.yml +++ b/templates/patterns/navigation_list/navigation_list.ui_patterns.yml @@ -55,5 +55,5 @@ navigation_list: label: "Image" description: "Item image" preview: - src: "https://placeimg.com/1000/500/arch" + src: "https://loremflickr.com/1000/500/arch" alt: "Alternative text for image" diff --git a/templates/patterns/organisation_teaser/organisation_teaser.ui_patterns.yml b/templates/patterns/organisation_teaser/organisation_teaser.ui_patterns.yml index 0e00204e2..d669325ec 100644 --- a/templates/patterns/organisation_teaser/organisation_teaser.ui_patterns.yml +++ b/templates/patterns/organisation_teaser/organisation_teaser.ui_patterns.yml @@ -7,7 +7,7 @@ organisation_teaser: label: "Logo" description: "Logo (optional)." preview : - src : "https://placeimg.com/100/100" + src : "https://loremflickr.com/100/100" alt: "Alternative text for logo" name: type: "text" diff --git a/templates/patterns/page_header/page_header.ui_patterns.yml b/templates/patterns/page_header/page_header.ui_patterns.yml index 31b4d5f99..e97ecb85b 100644 --- a/templates/patterns/page_header/page_header.ui_patterns.yml +++ b/templates/patterns/page_header/page_header.ui_patterns.yml @@ -12,7 +12,7 @@ page_header: label: "Thumbnail" description: "Thumbnail displayed alongside the description." preview: - src: "https://placeimg.com/1000/500/arch" + src: "https://loremflickr.com/1000/500/arch" alt: "Alternative text for thumbnail" introduction: type: "text"