@openeuropa/bcl-listing 0.27.0 → 0.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/listing.html.twig CHANGED
@@ -5,7 +5,7 @@
5
5
  - title_tag: (string) (default: 'h2')
6
6
  - title_link: (link object) (default: {})
7
7
  - title_attributes (drupal attrs)
8
- - variant: (string) (default: 'horizontal')
8
+ - variant: (string) (default: 'default-1-col')
9
9
  options [ default-1-col, highlight-1-col, default-2-col, default-3-col, highlight-2-col, highlight-3-col ]
10
10
  - items: (array of objects of type card)
11
11
  - link: (object of type link)
@@ -22,9 +22,9 @@
22
22
  {% set _title_attributes = title_attributes ?: create_attribute() %}
23
23
  {% set _items = items|default([]) %}
24
24
  {% set _variant = variant|default('default-1-col') %}
25
+ {% set _link = link|default({}) %}
25
26
  {% set _alignment = alignment|default('') %}
26
27
  {% set _image_size = image_size|default('') %}
27
- {% set _link = link|default({}) %}
28
28
 
29
29
  {% set _classes = ['bcl-listing', 'bcl-listing--' ~ _variant] %}
30
30
  {% set _cards = [] %}
package/package.json CHANGED
@@ -2,15 +2,15 @@
2
2
  "name": "@openeuropa/bcl-listing",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.27.0",
5
+ "version": "0.28.1",
6
6
  "description": "OE - BCL Listing",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
10
  "dependencies": {
11
- "@openeuropa/bcl-card-layout": "^0.27.0",
12
- "@openeuropa/bcl-heading": "^0.27.0",
13
- "@openeuropa/bcl-link": "^0.27.0"
11
+ "@openeuropa/bcl-card-layout": "^0.28.1",
12
+ "@openeuropa/bcl-heading": "^0.28.1",
13
+ "@openeuropa/bcl-link": "^0.28.1"
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
@@ -26,5 +26,5 @@
26
26
  "design-system",
27
27
  "twig"
28
28
  ],
29
- "gitHead": "1ab38cd93a2d4c52119fcc6a2f7cc56ceaa95dbf"
29
+ "gitHead": "3b0d2f4a85c727f38ae4e3403110c98302d09117"
30
30
  }