Skip to content

Commit

Permalink
Merge pull request #1320 from openeuropa/EWPP-3602
Browse files Browse the repository at this point in the history
EWPP-3602: Update ECL version to 3.10.0.
  • Loading branch information
upchuk authored Sep 13, 2023
2 parents 7c59beb + 8f986a7 commit f7a97d5
Show file tree
Hide file tree
Showing 17 changed files with 76 additions and 76 deletions.
100 changes: 50 additions & 50 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
12 changes: 12 additions & 0 deletions patches/@ecl/twig-component-table+3.10.0.patch
Original file line number Diff line number Diff line change
@@ -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 %}
<tr class="{{ _row_css_class }}">
- {% 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 %}
12 changes: 0 additions & 12 deletions patches/@ecl/twig-component-table+3.9.1.patch

This file was deleted.

2 changes: 1 addition & 1 deletion templates/patterns/banners/banner_hero.ui_patterns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion templates/patterns/banners/banner_page.ui_patterns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion templates/patterns/blockquote/blockquote.ui_patterns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 3 additions & 3 deletions templates/patterns/carousel/carousel.ui_patterns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ 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"
- title: "Duis vitae pulvinar turpis"
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"
Expand All @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion templates/patterns/file_image/file_image.ui_patterns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion templates/patterns/list_item/list_item.ui_patterns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ 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"
media_size: "s"
- 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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion templates/patterns/page_header/page_header.ui_patterns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f7a97d5

Please sign in to comment.