@ilo-org/twig 0.4.0 → 0.4.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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @ilo-org/twig@0.4.0 build:lib /home/runner/work/designsystem/designsystem/packages/twig
2
+ > @ilo-org/twig@0.4.1 build:lib /home/runner/work/designsystem/designsystem/packages/twig
3
3
  > node importprefix.js && node importsvgs.js && pnpm output
4
4
 
5
5
  theme prefix added
6
6
 
7
- > @ilo-org/twig@0.4.0 output /home/runner/work/designsystem/designsystem/packages/twig
7
+ > @ilo-org/twig@0.4.1 output /home/runner/work/designsystem/designsystem/packages/twig
8
8
  > node outputtwigs.js
9
9
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @ilo-org/twig
2
2
 
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 7cb5e74da: Add attributes to videoplayer missing.
8
+ - 2c843d726: Delete source tag duplicated.
9
+
3
10
  ## 0.4.0
4
11
 
5
12
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilo-org/twig",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Twig components for the ILO's Design System",
6
6
  "main": "",
@@ -11,7 +11,6 @@
11
11
  {% else %}
12
12
  <source srcset="{{img.src}}" media="{{img.breakpoint}}">
13
13
  {% endif %}
14
- <source srcset="{{img.src}}" media="{{img.breakpoint}}">
15
14
  {% endif %}
16
15
  {% endfor %}
17
16
  <img src="{{url|reverse|last.src}}" alt="{{alt}}" {% if loading %}loading="{{ loading }}"{% endif %}>
@@ -1,8 +1,8 @@
1
1
  {#
2
- VIDEO PLAYER SUB-COMPONENT
2
+ VIDEO PLAYER SUB-COMPONENT
3
3
  #}
4
4
  {% set poster = url|last %}
5
- <div class="{{prefix}}--videoplayer" data-loadcomponent="Video" data-prefix="{{prefix}}"">
5
+ <div class="{{prefix}}--videoplayer" data-loadcomponent="Video" data-prefix="{{prefix}}" data-src="{{src}}" data-vjs-type="{{vjsType}}">
6
6
  <video class="{{prefix}}--video--element" poster="{{poster.src}}">
7
7
  </video>
8
8
  </div>