@openeuropa/bcl-featured-media 0.28.1 → 1.0.2

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.
@@ -6,29 +6,29 @@
6
6
  - title_link: (link object) (default: {})
7
7
  - title_attributes: (drupal attrs)
8
8
  - with_text (boolean) (default: false)
9
- - alignment: (string) (default: "right")
9
+ - alignment: (string) (default: 'right')
10
10
  - options ['left', 'right']
11
- - image: (string) (default: "")
12
- - poster_image: (string) (default: "")
13
- - content: (string) (default: "")
11
+ - image: (string) (default: '')
12
+ - poster_image: (string) (default: '')
13
+ - content: (string) (default: '')
14
14
  - wrapper_classes: (default: '')
15
- - content_classes: (string) (default: "")
15
+ - content_classes: (string) (default: '')
16
16
  - read_more (object) (default: {})
17
17
  - description (string) (default: '')
18
- - ratio: (string) (default: "16x9")
19
- - options ["1x1", "4x3", "16x9", "21x9"]
20
- - sources: (array of sources) (default: []) format: [
18
+ - ratio: (string) (default: '16x9')
19
+ - options ['1x1', '4x3', '16x9', '21x9']
20
+ - sources: (object[]) (default: []) format: [
21
21
  {
22
- type: "",
23
- src: ""
22
+ type: '',
23
+ src: ''
24
24
  }
25
25
  ]
26
- - tracks: (array of tracks) (default: []) format: [
26
+ - tracks: (object[]) (default: []) format: [
27
27
  {
28
- kind: "",
29
- label: "",
30
- src: "",
31
- src_lang: ""
28
+ kind: '',
29
+ label: '',
30
+ src: '',
31
+ src_lang: ''
32
32
  }
33
33
  ]
34
34
 
@@ -40,7 +40,7 @@
40
40
  {% set _title_tag = title_tag|default('h2') %}
41
41
  {% set _title_link = title_link|default({}) %}
42
42
  {% set _title_attributes = title_attributes ?: create_attribute() %}
43
- {% set _with_text = with_text|default(false) %}
43
+ {% set _with_text = with_text ?? false %}
44
44
  {% set _alignment = alignment|default('right') %}
45
45
  {% set _image = image|default('') %}
46
46
  {% set _poster_image = poster_image|default('') %}
package/package.json CHANGED
@@ -2,14 +2,14 @@
2
2
  "name": "@openeuropa/bcl-featured-media",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.28.1",
5
+ "version": "1.0.2",
6
6
  "description": "OE - BCL featured media",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
10
  "dependencies": {
11
- "@openeuropa/bcl-heading": "^0.28.1",
12
- "@openeuropa/bcl-link": "^0.28.1"
11
+ "@openeuropa/bcl-heading": "^1.0.2",
12
+ "@openeuropa/bcl-link": "^1.0.2"
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
@@ -25,5 +25,5 @@
25
25
  "design-system",
26
26
  "twig"
27
27
  ],
28
- "gitHead": "3b0d2f4a85c727f38ae4e3403110c98302d09117"
28
+ "gitHead": "54df3dccb26d9f6958862f06103766a0a2d78ca6"
29
29
  }