@leuffen/themejs1 8.2.60 → 8.2.62
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/_tpl/_root/package.json +1 -1
- package/font/metropolis.scss +7 -0
- package/package.json +10 -10
- package/sections/hero-max/hero-max.scss +3 -3
- package/sections/sec-card-2col/sec-card-2col.js +1 -1
- package/sections/sec-card-2col/sec-card-2col.ts +1 -1
- package/themes/_vendor/font-metropolis.scss +28 -0
package/_tpl/_root/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leuffen/themejs1",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.62",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "proprietary",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -40,19 +40,19 @@
|
|
|
40
40
|
"@micx/lib-js": "^1.0.24",
|
|
41
41
|
"@types/node": "^20.12.12",
|
|
42
42
|
"bootstrap": "^5.3.0",
|
|
43
|
-
"css-loader": "^
|
|
43
|
+
"css-loader": "^7.1.2",
|
|
44
44
|
"dart-sass": "^1.25.0",
|
|
45
|
-
"esbuild-loader": "^
|
|
45
|
+
"esbuild-loader": "^4.3.0",
|
|
46
46
|
"markdown-it": "^13.0.1",
|
|
47
47
|
"markdown-it-attrs": "^4.1.6",
|
|
48
|
-
"mini-css-extract-plugin": "^2.
|
|
48
|
+
"mini-css-extract-plugin": "^2.9.2",
|
|
49
49
|
"raw-loader": "^4.0.2",
|
|
50
|
-
"sass": "^1.
|
|
51
|
-
"sass-loader": "^
|
|
52
|
-
"style-loader": "^
|
|
53
|
-
"webpack": "^5.
|
|
54
|
-
"webpack-cli": "^
|
|
55
|
-
"webpack-dev-server": "^
|
|
50
|
+
"sass": "^1.89.2",
|
|
51
|
+
"sass-loader": "^16.0.5",
|
|
52
|
+
"style-loader": "^4.0.0",
|
|
53
|
+
"webpack": "^5.100.1",
|
|
54
|
+
"webpack-cli": "^6.0.1",
|
|
55
|
+
"webpack-dev-server": "^5.2.2"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"make.mjs": "tsc -d",
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
--layout-desktop-overlay2-background: none;
|
|
8
8
|
--layout-desktop-overlay3-background: none;
|
|
9
9
|
--layout-desktop-image-mask: none;
|
|
10
|
-
|
|
10
|
+
--fullsize-modifier: 250px;
|
|
11
11
|
--layout-desktop-top-space: 200px;
|
|
12
12
|
--layout-desktop-min-height: 600px;
|
|
13
|
-
--layout-
|
|
13
|
+
--layout-destkop-max-height: 1200px;
|
|
14
14
|
|
|
15
15
|
--joda-class: ":: mobile :xl: desktop";
|
|
16
16
|
--layout-image-ratio: 16 / 10;
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
min-height: var(--layout-desktop-min-height);
|
|
98
98
|
position: relative;
|
|
99
99
|
&.tjs__hero-max--autoheight {
|
|
100
|
-
height: calc(100vh - var(--
|
|
100
|
+
height: calc(100vh - var(--fullsize-modifier, 50px));
|
|
101
101
|
min-height: var(--layout-desktop-min-height);
|
|
102
102
|
max-height: var(--layout-destkop-max-height);
|
|
103
103
|
}
|
|
@@ -6,7 +6,7 @@ Joda.registerTemplate("sec-card-2col",
|
|
|
6
6
|
<section class="tjs__sec-card-2col [[layout.class]] :: mobile :lg: desktop">
|
|
7
7
|
<div class="tjs__sec-card-2col--container [[layout.container]]">
|
|
8
8
|
<slot class="title" data-select="img.title || .title > img"></slot>
|
|
9
|
-
<div class="row [[layout.order === 'reverse' ? 'flex-column-reverse': '']] [[layout.mobile_reverse === 'yes' ? ':: flex-column-reverse :lg:': '']]">
|
|
9
|
+
<div class="row [[layout.order === 'reverse' ? ':: flex-column-reverse :lg: flex-row-reverse': '']] [[layout.mobile_reverse === 'yes' ? ':: flex-column-reverse :lg:': '']]">
|
|
10
10
|
<div class="tjs__sec-card-2col--col-start heading-style-flex :: col-12 :lg: col-[[layout.cols]]">
|
|
11
11
|
<slot></slot>
|
|
12
12
|
</div>
|
|
@@ -11,7 +11,7 @@ Joda.registerTemplate(
|
|
|
11
11
|
<section class="tjs__sec-card-2col [[layout.class]] :: mobile :lg: desktop">
|
|
12
12
|
<div class="tjs__sec-card-2col--container [[layout.container]]">
|
|
13
13
|
<slot class="title" data-select="img.title || .title > img"></slot>
|
|
14
|
-
<div class="row [[layout.order === 'reverse' ? 'flex-column-reverse': '']] [[layout.mobile_reverse === 'yes' ? ':: flex-column-reverse :lg:': '']]">
|
|
14
|
+
<div class="row [[layout.order === 'reverse' ? ':: flex-column-reverse :lg: flex-row-reverse': '']] [[layout.mobile_reverse === 'yes' ? ':: flex-column-reverse :lg:': '']]">
|
|
15
15
|
<div class="tjs__sec-card-2col--col-start heading-style-flex :: col-12 :lg: col-[[layout.cols]]">
|
|
16
16
|
<slot></slot>
|
|
17
17
|
</div>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "Metropolis";
|
|
3
|
+
src: url("https://cdn.leuffen.de/global/fonts/metropolis/Metropolis-Regular.woff2") format("woff2");
|
|
4
|
+
font-weight: 300;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
font-display: swap;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* END Light */
|
|
10
|
+
/* BEGIN Light Italic */
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: "Metropolis";
|
|
13
|
+
src: url("https://cdn.leuffen.de/global/fonts/metropolis/Metropolis-Light.woff2") format("woff2");
|
|
14
|
+
font-weight: 100;
|
|
15
|
+
font-style: normal;
|
|
16
|
+
font-display: swap;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* END Light Italic */
|
|
20
|
+
/* BEGIN Regular */
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: "Metropolis";
|
|
23
|
+
src: url("https://cdn.leuffen.de/global/fonts/metropolis/Metropolis-SemiBold.woff2") format("woff2");
|
|
24
|
+
font-weight: bold;
|
|
25
|
+
font-style: normal;
|
|
26
|
+
font-display: swap;
|
|
27
|
+
}
|
|
28
|
+
|