@leuffen/themejs1 6.1.11 → 6.1.12

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.
@@ -7,22 +7,32 @@ explizit vor Namen im Context genannt wurden.
7
7
 
8
8
 
9
9
 
10
+ Folgende Bilder stehen zur Verfügung:
10
11
 
12
+ Generische Bilder:
13
+ ![Kalender mit groß Vorsorgeuntersuchung](https://cdn.leuffen.de//leu-stock/v2/70/77-51_gfedcba/AdobeStock_87378997.webp)
14
+ ![Terminkalender mit Stift](https://cdn.leuffen.de//leu-stock/v2/58/140-89_gfedcba/calendar-2022-11-14-06-54-22-utc.webp)
15
+ ![Foto eines Wartezimmers](https://cdn.leuffen.de//leu-stock/v2/32/304-205_gfedcba/AdobeStock_138200241.webp)
11
16
 
12
17
 
13
-
14
- Folgende Bilder stehen zur Verfügung:
15
-
18
+ Für Hausärzte und Allgmeinmediziner:
16
19
  ![Blutzuckeruntersuchung am Finger](https://cdn.leuffen.de//leu-stock/v2/9/1024-683_gfedcba/AdobeStock_417585744.webp)
17
20
  ![Blutdruckmessung bei Mann mit Maske](https://cdn.leuffen.de//leu-stock/v2/21/c_gfedcba/AdobeStock_349906385.webp)
18
21
  ![Ultraschall des Halses](https://cdn.leuffen.de//leu-stock/v2/21/c_gfedcba/AdobeStock_349906385.webp)
19
-
20
22
  ![Rezept wird überreicht](https://cdn.leuffen.de//leu-stock/v2/62/c_gfedcba/AdobeStock_57857048.webp)
21
23
  ![Arzt füllt Impfpass aus](https://cdn.leuffen.de//leu-stock/v2/76/c_gfedcba/AdobeStock_79790308.webp)
22
24
  ![Hinweistext zur Vorsorgeuntersuchung](https://cdn.leuffen.de//leu-stock/v2/76/c_gfedcba/AdobeStock_79790308.webp)
23
25
  ![](https://cdn.leuffen.de//leu-stock/v2/89/c_gfedcba/glucometer-for-checking-sugar-level-and-fresh-bake-2021-12-09-17-10-57-utc.webp)
24
26
  ![](https://cdn.leuffen.de//leu-stock/v2/90/95-63_gfedcba/closeup-of-obese-elderly-woman-2022-12-16-00-04-29-utc.webp)
25
27
  ![](https://cdn.leuffen.de//leu-stock/v2/91/71-24_gfedcba/obese-woman-with-fat-belly-in-dieting-concept-2023-01-18-01-36-31-utc.webp)
26
-
27
28
  ![Sportliches Paar beim Jogging](https://cdn.leuffen.de//leu-stock/v2/31/c_gfedcba/AdobeStock_114414482.webp)
28
29
  ![Insulin Injektion in Bauch](https://cdn.leuffen.de//leu-stock/v2/92/d_gfedcba/AdobeStock_501320379.webp)
30
+
31
+
32
+ Für Zahnärzte:
33
+ ![Frau in Kieferröntgengerät](https://cdn.leuffen.de//leu-stock/v2/11/188-133_gfedcba/female-dentist-and-patient-using-x-ray-machine-2022-03-13-03-47-25-utc.webp)
34
+ ![Teamfoto Zahnarztpraxis](https://cdn.leuffen.de//leu-stock/v2/14/251-167_gfedcba/professional-team-of-dentists-and-assistants-posin-2022-05-30-22-50-17-utc.webp)
35
+ ![Zahnärztin erklärt Unterkiefer](https://cdn.leuffen.de//leu-stock/v2/12/c_gfedcba/smiling-dentist-explaining-tooth-implantation-2021-09-24-03-53-51-utc.webp)
36
+ ![Zahnarzt](https://cdn.leuffen.de//leu-stock/v2/25/c_gfedcba/AdobeStock_277374944.webp)
37
+ ![Zahnärztin lächelt in Kammera](https://cdn.leuffen.de//leu-stock/v2/37/991-661_gfedcba/AdobeStock_276575002.webp)
38
+ ![Foto Anmeldungsbereich einer Praxis](https://cdn.leuffen.de//leu-stock/v2/38/c_gfedcba/AdobeStock_103737562.webp)
@@ -21,4 +21,11 @@ jodastyle_1.Joda.registerTemplate("hero-max",
21
21
 
22
22
  `, {
23
23
  cols: "6",
24
+ 'aspect-ratio': "5/4",
25
+ }, {
26
+ onAfterConnectedCallback: (el) => {
27
+ let wrapper = el.querySelector(".tjs__hero-max--out-wrapper");
28
+ if (wrapper.textContent.trim() === "")
29
+ wrapper.style.display = "none"; // Remove Wrapper if empty
30
+ }
24
31
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leuffen/themejs1",
3
- "version": "6.1.11",
3
+ "version": "6.1.12",
4
4
 
5
5
  "description": "",
6
6
  "license": "proprietary",
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "author": "",
29
29
  "dependencies": {
30
- "@leuffen/jodastyle": "^3.0.4",
30
+ "@leuffen/jodastyle": "^3.0.9",
31
31
  "@kasimirjs/embed": "^1.0.8",
32
32
  "@leuffen/isl-base": "^3.0.4",
33
33
  "@leuffen/liscom": "^2.0.8",
@@ -4,22 +4,26 @@
4
4
  --s-box-background: rgba(255, 255, 255, 0.8);
5
5
 
6
6
  --joda-class: ":: mobile :lg: desktop";
7
- --layout-image-ratio: 6 / 4;
7
+ --layout-image-ratio: 16 / 10;
8
8
 
9
9
  &.mobile {
10
10
  &>slot {
11
11
  display: block;
12
12
  position: relative;
13
- min-height: 66vh;
14
- aspect-ratio: var(--layout-image-ratio, 5 / 4);
13
+ width: 100%;
14
+ height: auto;
15
+ overflow: hidden;
16
+ aspect-ratio: var(--layout-image-ratio, 16 / 9);
15
17
  }
16
18
  & > slot > img {
17
19
  object-fit: cover;
20
+ object-position: center top;
18
21
  height: 100%;
19
22
  width: 100%;
20
23
  }
21
24
 
22
25
  & > .tjs__hero-max--out-wrapper {
26
+
23
27
  position: relative;
24
28
 
25
29
  display: flex;
@@ -55,6 +59,7 @@
55
59
  & > img {
56
60
  height: 100%;
57
61
  object-fit: cover;
62
+ object-position: center center;
58
63
  width: 100%;
59
64
  }
60
65
  }
@@ -19,6 +19,17 @@ Joda.registerTemplate("hero-max",
19
19
  </div>
20
20
  </section>
21
21
 
22
- `, {
23
- cols: "6",
24
- });
22
+ `,
23
+ {
24
+ cols: "6",
25
+ 'aspect-ratio': "5/4",
26
+ },
27
+ {
28
+ onAfterConnectedCallback: (el) => {
29
+ let wrapper = el.querySelector(".tjs__hero-max--out-wrapper") as HTMLElement;
30
+ if (wrapper.textContent.trim() === "")
31
+ wrapper.style.display = "none"; // Remove Wrapper if empty
32
+ }
33
+ }
34
+
35
+ );