@schukai/monster 4.22.2 → 4.22.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
 
4
4
 
5
+ ## [4.22.3] - 2025-06-22
6
+
7
+ ### Bug Fixes
8
+
9
+ - Enhance audio and video elements with responsive styling [#309](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/309)
10
+
11
+
12
+
5
13
  ## [4.22.2] - 2025-06-22
6
14
 
7
15
  ### Bug Fixes
package/package.json CHANGED
@@ -1 +1 @@
1
- {"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.1","@popperjs/core":"^2.11.8"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"type":"module","version":"4.22.2"}
1
+ {"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.1","@popperjs/core":"^2.11.8"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"type":"module","version":"4.22.3"}
@@ -238,7 +238,7 @@ class Viewer extends CustomElement {
238
238
  this.setOption(
239
239
  "content",
240
240
  `
241
- <audio controls part="audio">
241
+ <audio controls part="audio" style="max-width: 100%">
242
242
  <source src="${data}">
243
243
  </audio>`
244
244
  );
@@ -267,7 +267,7 @@ class Viewer extends CustomElement {
267
267
  this.setOption(
268
268
  "content",
269
269
  `
270
- <video controls part="video">
270
+ <video controls part="video" style="max-width: 100%">
271
271
  <source src="${data}">
272
272
  </video>`
273
273
  );