@swisspost/internet-header 1.14.9 → 1.14.10
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/dist/cjs/focus-trap.cjs.entry.js +1 -1
- package/dist/cjs/{index-ecd8c9bb.js → index-c2990852.js} +9 -8
- package/dist/cjs/index.cjs.js +15 -15
- package/dist/cjs/{language.service-2a3c77d1.js → language.service-476dff43.js} +1 -16
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{post-internet-breadcrumbs-1a8bd582.js → post-internet-breadcrumbs-1d232dda.js} +12 -26
- package/dist/cjs/{post-internet-footer-ca621ca9.js → post-internet-footer-97975058.js} +4 -4
- package/dist/cjs/{post-internet-header-e3c70a48.js → post-internet-header-d697e014.js} +23 -22
- package/dist/cjs/{post-klp-login-widget-8946e37f.js → post-klp-login-widget-aea8d6cb.js} +4 -4
- package/dist/cjs/post-klp-login-widget.cjs.entry.js +5 -5
- package/dist/cjs/{post-language-switch-768195ef.js → post-language-switch-d55295b2.js} +5 -5
- package/dist/cjs/post-language-switch.cjs.entry.js +6 -6
- package/dist/cjs/{post-logo-c7b8f044.js → post-logo-a837a342.js} +4 -4
- package/dist/cjs/post-logo.cjs.entry.js +11 -0
- package/dist/cjs/{post-main-navigation-8e804e67.js → post-main-navigation-cf8e7bdd.js} +5 -5
- package/dist/cjs/post-main-navigation.cjs.entry.js +6 -6
- package/dist/cjs/{post-meta-navigation-f66b734d.js → post-meta-navigation-09ce7f6a.js} +2 -2
- package/dist/cjs/post-meta-navigation.cjs.entry.js +3 -3
- package/dist/cjs/post-search-b39b9550.js +596 -0
- package/dist/cjs/post-search.cjs.entry.js +6 -6
- package/dist/cjs/{post-skiplinks-894eb1ca.js → post-skiplinks-929ae5a4.js} +4 -4
- package/dist/cjs/post-skiplinks.cjs.entry.js +5 -5
- package/dist/cjs/{store-eabc7f7a.js → store-b5f4aa26.js} +1 -1
- package/dist/cjs/{svg-icon.component-00e315a8.js → svg-icon.component-51e9f6ce.js} +1 -1
- package/dist/cjs/{svg-sprite.component-440522a9.js → svg-sprite.component-2c996190.js} +1 -1
- package/dist/cjs/swisspost-internet-breadcrumbs.cjs.entry.js +6 -6
- package/dist/cjs/swisspost-internet-footer.cjs.entry.js +5 -5
- package/dist/cjs/swisspost-internet-header.cjs.entry.js +6 -6
- package/dist/cjs/swisspost-internet-header.cjs.js +3 -3
- package/dist/collection/assets/i18n/translations.js +0 -15
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/post-internet-header/post-internet-header.css +1 -1
- package/dist/collection/components/post-internet-header/post-internet-header.js +1 -1
- package/dist/collection/components/post-logo/post-logo.js +1 -1
- package/dist/collection/components/post-search/post-search.css +2 -2
- package/dist/collection/components/post-search/post-search.js +3 -10
- package/dist/components/index.js +3 -3
- package/dist/components/language.service.js +0 -15
- package/dist/components/{post-header-logo.d.ts → post-logo.d.ts} +4 -4
- package/dist/components/post-logo.js +4 -35
- package/dist/components/post-logo2.js +37 -0
- package/dist/components/post-search2.js +3 -10
- package/dist/components/swisspost-internet-breadcrumbs.js +7 -21
- package/dist/components/swisspost-internet-header.js +25 -24
- package/dist/docs.json +32 -32
- package/dist/esm/focus-trap.entry.js +1 -1
- package/dist/esm/{index-bb0e68fd.js → index-44536ec6.js} +9 -8
- package/dist/esm/index.js +15 -15
- package/dist/esm/{language.service-490983de.js → language.service-143cc0fd.js} +1 -16
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{post-internet-breadcrumbs-2370e12d.js → post-internet-breadcrumbs-931d12dc.js} +12 -26
- package/dist/esm/{post-internet-footer-e6980e19.js → post-internet-footer-50b734b7.js} +4 -4
- package/dist/esm/{post-internet-header-d95694f6.js → post-internet-header-4ad46205.js} +23 -22
- package/dist/esm/{post-klp-login-widget-d0cb76d7.js → post-klp-login-widget-5494c9d3.js} +4 -4
- package/dist/esm/post-klp-login-widget.entry.js +5 -5
- package/dist/esm/{post-language-switch-05672675.js → post-language-switch-1df8c0a6.js} +5 -5
- package/dist/esm/post-language-switch.entry.js +6 -6
- package/dist/esm/{post-logo-a10a7614.js → post-logo-74e6bc2f.js} +4 -4
- package/dist/esm/post-logo.entry.js +3 -0
- package/dist/esm/{post-main-navigation-3f8bd754.js → post-main-navigation-8bbaae7d.js} +5 -5
- package/dist/esm/post-main-navigation.entry.js +6 -6
- package/dist/esm/{post-meta-navigation-c90e0eab.js → post-meta-navigation-6df0693e.js} +2 -2
- package/dist/esm/post-meta-navigation.entry.js +3 -3
- package/dist/esm/post-search-d75e5b35.js +594 -0
- package/dist/esm/post-search.entry.js +6 -6
- package/dist/esm/{post-skiplinks-8c64cda3.js → post-skiplinks-249af19f.js} +4 -4
- package/dist/esm/post-skiplinks.entry.js +5 -5
- package/dist/esm/{store-b1332c1e.js → store-6fe1ea9a.js} +1 -1
- package/dist/esm/{svg-icon.component-70692acc.js → svg-icon.component-ba72b77b.js} +1 -1
- package/dist/esm/{svg-sprite.component-d3726867.js → svg-sprite.component-66cdf00e.js} +1 -1
- package/dist/esm/swisspost-internet-breadcrumbs.entry.js +6 -6
- package/dist/esm/swisspost-internet-footer.entry.js +5 -5
- package/dist/esm/swisspost-internet-header.entry.js +6 -6
- package/dist/esm/swisspost-internet-header.js +4 -4
- package/dist/esm-es5/focus-trap.entry.js +1 -1
- package/dist/esm-es5/index-44536ec6.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/language.service-143cc0fd.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/post-internet-breadcrumbs-931d12dc.js +1 -0
- package/dist/esm-es5/{post-internet-footer-e6980e19.js → post-internet-footer-50b734b7.js} +1 -1
- package/dist/esm-es5/post-internet-header-4ad46205.js +1 -0
- package/dist/esm-es5/{post-klp-login-widget-d0cb76d7.js → post-klp-login-widget-5494c9d3.js} +1 -1
- package/dist/esm-es5/post-klp-login-widget.entry.js +1 -1
- package/dist/esm-es5/{post-language-switch-05672675.js → post-language-switch-1df8c0a6.js} +1 -1
- package/dist/esm-es5/post-language-switch.entry.js +1 -1
- package/dist/esm-es5/{post-logo-a10a7614.js → post-logo-74e6bc2f.js} +1 -1
- package/dist/esm-es5/post-logo.entry.js +1 -0
- package/dist/esm-es5/{post-main-navigation-3f8bd754.js → post-main-navigation-8bbaae7d.js} +1 -1
- package/dist/esm-es5/post-main-navigation.entry.js +1 -1
- package/dist/esm-es5/{post-meta-navigation-c90e0eab.js → post-meta-navigation-6df0693e.js} +1 -1
- package/dist/esm-es5/post-meta-navigation.entry.js +1 -1
- package/dist/esm-es5/post-search-d75e5b35.js +1 -0
- package/dist/esm-es5/post-search.entry.js +1 -1
- package/dist/esm-es5/{post-skiplinks-8c64cda3.js → post-skiplinks-249af19f.js} +1 -1
- package/dist/esm-es5/post-skiplinks.entry.js +1 -1
- package/dist/esm-es5/{store-b1332c1e.js → store-6fe1ea9a.js} +1 -1
- package/dist/esm-es5/{svg-icon.component-70692acc.js → svg-icon.component-ba72b77b.js} +1 -1
- package/dist/esm-es5/{svg-sprite.component-d3726867.js → svg-sprite.component-66cdf00e.js} +1 -1
- package/dist/esm-es5/swisspost-internet-breadcrumbs.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-footer.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.js +1 -1
- package/dist/swisspost-internet-header/index.esm.js +1 -1
- package/dist/swisspost-internet-header/p-03240eb9.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-04dc6ce9.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-0c92efb7.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-0cdbcd38.entry.js +1 -0
- package/dist/swisspost-internet-header/p-0da4901e.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-72be908b.js → p-111c7d53.js} +1 -1
- package/dist/swisspost-internet-header/{p-67f6b5a8.js → p-1174b469.js} +1 -1
- package/dist/swisspost-internet-header/p-128fb313.system.js +1 -0
- package/dist/swisspost-internet-header/p-19527df6.js +1 -0
- package/dist/swisspost-internet-header/{p-dd441f54.system.js → p-215cfcad.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-3ba404aa.system.js → p-33b3f0be.system.js} +1 -1
- package/dist/swisspost-internet-header/p-34806749.system.js +1 -0
- package/dist/swisspost-internet-header/p-369ea953.entry.js +1 -0
- package/dist/swisspost-internet-header/p-3764df62.entry.js +1 -0
- package/dist/swisspost-internet-header/p-43effb96.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-812782e0.system.js → p-4855a2c2.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-9730e79d.system.js → p-4dcd9273.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-89d3591d.js → p-5449500d.js} +1 -1
- package/dist/swisspost-internet-header/{p-aa1d92aa.system.js → p-598c5c9e.system.js} +1 -1
- package/dist/swisspost-internet-header/p-5c46cf53.js +1 -0
- package/dist/swisspost-internet-header/p-653fac38.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-720354bb.system.js +1 -0
- package/dist/swisspost-internet-header/{p-7b27bee6.system.js → p-748d20bb.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-695fe962.system.js → p-79ac298e.system.js} +1 -1
- package/dist/swisspost-internet-header/p-7c75920f.js +1 -0
- package/dist/swisspost-internet-header/p-85e5cc89.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-33ca3140.system.js → p-869da286.system.js} +1 -1
- package/dist/swisspost-internet-header/p-8d760723.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-9fee809c.js → p-92687657.js} +1 -1
- package/dist/swisspost-internet-header/p-92d2c0e2.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-52ad8934.system.js → p-9f11f327.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-8882d096.system.js → p-a1d064e4.system.js} +1 -1
- package/dist/swisspost-internet-header/p-a2ba1896.system.js +1 -0
- package/dist/swisspost-internet-header/{p-cf968189.js → p-a36afbbc.js} +1 -1
- package/dist/swisspost-internet-header/{p-1555a1e1.js → p-a389720f.js} +1 -1
- package/dist/swisspost-internet-header/{p-13453cb0.js → p-a58d0555.js} +1 -1
- package/dist/swisspost-internet-header/p-a6415925.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-a7bf7fdf.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-8f8d8912.js → p-aa93de9b.js} +1 -1
- package/dist/swisspost-internet-header/p-ab9cc8a8.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-4d5bddc5.system.entry.js → p-adbf2b49.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-24933caa.js → p-afb7e479.js} +1 -1
- package/dist/swisspost-internet-header/p-b75cd4f0.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-c4dd9e8c.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-feac8b80.js → p-cab1d942.js} +1 -1
- package/dist/swisspost-internet-header/p-e00f5900.js +1 -0
- package/dist/swisspost-internet-header/p-e32d80f4.system.js +2 -0
- package/dist/swisspost-internet-header/{p-f52d7dcb.system.js → p-e76ba161.system.js} +1 -1
- package/dist/swisspost-internet-header/p-ed0ec673.js +1 -0
- package/dist/swisspost-internet-header/{p-944e8412.entry.js → p-f2687df0.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-f2f899fb.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-577a6423.system.js → p-f72f748a.system.js} +1 -1
- package/dist/swisspost-internet-header/p-f7e9f399.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-fac69e5d.entry.js +1 -0
- package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
- package/dist/swisspost-internet-header/swisspost-internet-header.js +1 -1
- package/dist/types/assets/i18n/translations.d.ts +0 -15
- package/dist/types/components/post-logo/post-logo.d.ts +1 -1
- package/dist/types/components.d.ts +13 -13
- package/dist/types/services/language.service.d.ts +0 -15
- package/package.json +16 -15
- package/dist/cjs/post-header-logo.cjs.entry.js +0 -11
- package/dist/cjs/post-search-5e173700.js +0 -603
- package/dist/components/post-header-logo.js +0 -6
- package/dist/esm/post-header-logo.entry.js +0 -3
- package/dist/esm/post-search-4314142a.js +0 -601
- package/dist/esm-es5/index-bb0e68fd.js +0 -1
- package/dist/esm-es5/language.service-490983de.js +0 -1
- package/dist/esm-es5/post-header-logo.entry.js +0 -1
- package/dist/esm-es5/post-internet-breadcrumbs-2370e12d.js +0 -1
- package/dist/esm-es5/post-internet-header-d95694f6.js +0 -1
- package/dist/esm-es5/post-search-4314142a.js +0 -1
- package/dist/swisspost-internet-header/p-22a39458.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-3036187e.js +0 -1
- package/dist/swisspost-internet-header/p-3834b7b4.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-5600adca.system.js +0 -2
- package/dist/swisspost-internet-header/p-6167a58f.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-68812967.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-6ee4b188.entry.js +0 -1
- package/dist/swisspost-internet-header/p-6f9b276e.entry.js +0 -1
- package/dist/swisspost-internet-header/p-709f2c44.js +0 -1
- package/dist/swisspost-internet-header/p-74737624.entry.js +0 -1
- package/dist/swisspost-internet-header/p-9d82919a.system.js +0 -1
- package/dist/swisspost-internet-header/p-9f9b1221.entry.js +0 -1
- package/dist/swisspost-internet-header/p-a0313d87.js +0 -1
- package/dist/swisspost-internet-header/p-a8863898.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-b2159d69.entry.js +0 -1
- package/dist/swisspost-internet-header/p-b62fafd2.system.js +0 -1
- package/dist/swisspost-internet-header/p-b909b77e.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-b99b4d2d.entry.js +0 -1
- package/dist/swisspost-internet-header/p-c76ce6e7.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-d0cf8862.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-d504b43a.system.js +0 -1
- package/dist/swisspost-internet-header/p-d83083ac.entry.js +0 -1
- package/dist/swisspost-internet-header/p-dcf62885.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-e280dc6d.system.js +0 -1
- package/dist/swisspost-internet-header/p-e6cd9832.js +0 -1
- package/dist/swisspost-internet-header/p-eb6c1605.entry.js +0 -1
- package/dist/swisspost-internet-header/p-ef0ad4df.js +0 -1
- package/dist/swisspost-internet-header/p-f3643368.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-fa5453ce.entry.js +0 -1
- package/dist/swisspost-internet-header/p-fcccc35e.entry.js +0 -1
package/dist/docs.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "
|
|
2
|
+
"timestamp": "2025-01-13T10:58:23",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.19.
|
|
5
|
+
"version": "4.19.1",
|
|
6
6
|
"typescriptVersion": "5.4.5"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -63,31 +63,6 @@
|
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
{
|
|
67
|
-
"filePath": "src/components/post-logo/post-logo.tsx",
|
|
68
|
-
"encapsulation": "shadow",
|
|
69
|
-
"tag": "post-header-logo",
|
|
70
|
-
"readme": "# post-logo\n\n\n",
|
|
71
|
-
"docs": "",
|
|
72
|
-
"docsTags": [],
|
|
73
|
-
"usage": {},
|
|
74
|
-
"props": [],
|
|
75
|
-
"methods": [],
|
|
76
|
-
"events": [],
|
|
77
|
-
"listeners": [],
|
|
78
|
-
"styles": [],
|
|
79
|
-
"slots": [],
|
|
80
|
-
"parts": [],
|
|
81
|
-
"dependents": [
|
|
82
|
-
"swisspost-internet-header"
|
|
83
|
-
],
|
|
84
|
-
"dependencies": [],
|
|
85
|
-
"dependencyGraph": {
|
|
86
|
-
"swisspost-internet-header": [
|
|
87
|
-
"post-header-logo"
|
|
88
|
-
]
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
66
|
{
|
|
92
67
|
"filePath": "src/components/post-klp-login-widget/post-klp-login-widget.tsx",
|
|
93
68
|
"encapsulation": "shadow",
|
|
@@ -302,6 +277,31 @@
|
|
|
302
277
|
]
|
|
303
278
|
}
|
|
304
279
|
},
|
|
280
|
+
{
|
|
281
|
+
"filePath": "src/components/post-logo/post-logo.tsx",
|
|
282
|
+
"encapsulation": "shadow",
|
|
283
|
+
"tag": "post-logo",
|
|
284
|
+
"readme": "# post-logo\n\n\n",
|
|
285
|
+
"docs": "",
|
|
286
|
+
"docsTags": [],
|
|
287
|
+
"usage": {},
|
|
288
|
+
"props": [],
|
|
289
|
+
"methods": [],
|
|
290
|
+
"events": [],
|
|
291
|
+
"listeners": [],
|
|
292
|
+
"styles": [],
|
|
293
|
+
"slots": [],
|
|
294
|
+
"parts": [],
|
|
295
|
+
"dependents": [
|
|
296
|
+
"swisspost-internet-header"
|
|
297
|
+
],
|
|
298
|
+
"dependencies": [],
|
|
299
|
+
"dependencyGraph": {
|
|
300
|
+
"swisspost-internet-header": [
|
|
301
|
+
"post-logo"
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
305
|
{
|
|
306
306
|
"filePath": "src/components/post-main-navigation/post-main-navigation.tsx",
|
|
307
307
|
"encapsulation": "shadow",
|
|
@@ -607,7 +607,7 @@
|
|
|
607
607
|
"Event": {
|
|
608
608
|
"location": "import",
|
|
609
609
|
"path": "@stencil/core",
|
|
610
|
-
"id": "../../node_modules/.pnpm/@stencil+core@4.19.
|
|
610
|
+
"id": "../../node_modules/.pnpm/@stencil+core@4.19.1/node_modules/@stencil/core/internal/stencil-core/index.d.ts::Event"
|
|
611
611
|
}
|
|
612
612
|
},
|
|
613
613
|
"return": "Promise<boolean>"
|
|
@@ -1403,7 +1403,7 @@
|
|
|
1403
1403
|
"post-skiplinks",
|
|
1404
1404
|
"post-meta-navigation",
|
|
1405
1405
|
"post-language-switch",
|
|
1406
|
-
"post-
|
|
1406
|
+
"post-logo",
|
|
1407
1407
|
"post-main-navigation",
|
|
1408
1408
|
"post-search",
|
|
1409
1409
|
"post-klp-login-widget"
|
|
@@ -1413,7 +1413,7 @@
|
|
|
1413
1413
|
"post-skiplinks",
|
|
1414
1414
|
"post-meta-navigation",
|
|
1415
1415
|
"post-language-switch",
|
|
1416
|
-
"post-
|
|
1416
|
+
"post-logo",
|
|
1417
1417
|
"post-main-navigation",
|
|
1418
1418
|
"post-search",
|
|
1419
1419
|
"post-klp-login-widget"
|
|
@@ -1465,10 +1465,10 @@
|
|
|
1465
1465
|
"docstring": "",
|
|
1466
1466
|
"path": "src/models/header.model.ts"
|
|
1467
1467
|
},
|
|
1468
|
-
"../../node_modules/.pnpm/@stencil+core@4.19.
|
|
1468
|
+
"../../node_modules/.pnpm/@stencil+core@4.19.1/node_modules/@stencil/core/internal/stencil-core/index.d.ts::Event": {
|
|
1469
1469
|
"declaration": "any",
|
|
1470
1470
|
"docstring": "",
|
|
1471
|
-
"path": "../../node_modules/.pnpm/@stencil+core@4.19.
|
|
1471
|
+
"path": "../../node_modules/.pnpm/@stencil+core@4.19.1/node_modules/@stencil/core/internal/stencil-core/index.d.ts"
|
|
1472
1472
|
}
|
|
1473
1473
|
}
|
|
1474
1474
|
}
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'swisspost-internet-header';
|
|
|
2
2
|
const BUILD = /* swisspost-internet-header */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: true, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.19.
|
|
5
|
+
Stencil Client Platform v4.19.1 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -64,10 +64,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
64
64
|
return import(
|
|
65
65
|
/* webpackMode: "lazy" */
|
|
66
66
|
'./swisspost-internet-footer.entry.js').then(processMod, consoleError);
|
|
67
|
-
case 'post-header-logo':
|
|
68
|
-
return import(
|
|
69
|
-
/* webpackMode: "lazy" */
|
|
70
|
-
'./post-header-logo.entry.js').then(processMod, consoleError);
|
|
71
67
|
case 'post-klp-login-widget':
|
|
72
68
|
return import(
|
|
73
69
|
/* webpackMode: "lazy" */
|
|
@@ -76,6 +72,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
76
72
|
return import(
|
|
77
73
|
/* webpackMode: "lazy" */
|
|
78
74
|
'./post-language-switch.entry.js').then(processMod, consoleError);
|
|
75
|
+
case 'post-logo':
|
|
76
|
+
return import(
|
|
77
|
+
/* webpackMode: "lazy" */
|
|
78
|
+
'./post-logo.entry.js').then(processMod, consoleError);
|
|
79
79
|
case 'post-main-navigation':
|
|
80
80
|
return import(
|
|
81
81
|
/* webpackMode: "lazy" */
|
|
@@ -429,12 +429,13 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
|
429
429
|
};
|
|
430
430
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
431
431
|
var _a;
|
|
432
|
+
const styleContainerDocument = styleContainerNode;
|
|
432
433
|
const scopeId2 = getScopeId(cmpMeta);
|
|
433
434
|
const style = styles.get(scopeId2);
|
|
434
435
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
435
436
|
if (style) {
|
|
436
437
|
if (typeof style === "string") {
|
|
437
|
-
styleContainerNode =
|
|
438
|
+
styleContainerNode = styleContainerDocument.head || styleContainerNode;
|
|
438
439
|
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
439
440
|
let styleElm;
|
|
440
441
|
if (!appliedStyles) {
|
|
@@ -457,8 +458,8 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
457
458
|
appliedStyles.add(scopeId2);
|
|
458
459
|
}
|
|
459
460
|
}
|
|
460
|
-
} else if (!
|
|
461
|
-
|
|
461
|
+
} else if (!styleContainerDocument.adoptedStyleSheets.includes(style)) {
|
|
462
|
+
styleContainerDocument.adoptedStyleSheets = [...styleContainerDocument.adoptedStyleSheets, style];
|
|
462
463
|
}
|
|
463
464
|
}
|
|
464
465
|
return scopeId2;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { P as PostInternetHeader } from './post-internet-header-
|
|
2
|
-
export { P as PostInternetBreadcrumbs } from './post-internet-breadcrumbs-
|
|
3
|
-
export { P as PostInternetFooter } from './post-internet-footer-
|
|
4
|
-
export { P as PostSkiplinks } from './post-skiplinks-
|
|
5
|
-
export { P as PostMetaNavigation } from './post-meta-navigation-
|
|
6
|
-
export { P as PostLanguageSwitch } from './post-language-switch-
|
|
7
|
-
export { P as PostLogo } from './post-logo-
|
|
8
|
-
export { P as PostMainNavigation } from './post-main-navigation-
|
|
9
|
-
export { P as PostSearch } from './post-search-
|
|
10
|
-
export { P as PostKlpLoginWidget } from './post-klp-login-widget-
|
|
11
|
-
import './index-
|
|
1
|
+
export { P as PostInternetHeader } from './post-internet-header-4ad46205.js';
|
|
2
|
+
export { P as PostInternetBreadcrumbs } from './post-internet-breadcrumbs-931d12dc.js';
|
|
3
|
+
export { P as PostInternetFooter } from './post-internet-footer-50b734b7.js';
|
|
4
|
+
export { P as PostSkiplinks } from './post-skiplinks-249af19f.js';
|
|
5
|
+
export { P as PostMetaNavigation } from './post-meta-navigation-6df0693e.js';
|
|
6
|
+
export { P as PostLanguageSwitch } from './post-language-switch-1df8c0a6.js';
|
|
7
|
+
export { P as PostLogo } from './post-logo-74e6bc2f.js';
|
|
8
|
+
export { P as PostMainNavigation } from './post-main-navigation-8bbaae7d.js';
|
|
9
|
+
export { P as PostSearch } from './post-search-d75e5b35.js';
|
|
10
|
+
export { P as PostKlpLoginWidget } from './post-klp-login-widget-5494c9d3.js';
|
|
11
|
+
import './index-44536ec6.js';
|
|
12
12
|
import './index-d3f1363d.js';
|
|
13
|
-
import './language.service-
|
|
14
|
-
import './store-
|
|
13
|
+
import './language.service-143cc0fd.js';
|
|
14
|
+
import './store-6fe1ea9a.js';
|
|
15
15
|
import './utils-c8805f81.js';
|
|
16
|
-
import './svg-sprite.component-
|
|
17
|
-
import './svg-icon.component-
|
|
16
|
+
import './svg-sprite.component-66cdf00e.js';
|
|
17
|
+
import './svg-icon.component-ba72b77b.js';
|
|
18
18
|
import './if.component-d88d9e48.js';
|
|
19
19
|
import './bodyScrollLock.esm-afcc00e3.js';
|
|
20
20
|
import './ui.service-22f2c593.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as state } from './store-
|
|
1
|
+
import { s as state } from './store-6fe1ea9a.js';
|
|
2
2
|
|
|
3
3
|
const translations = {
|
|
4
4
|
'Active navigation element': {
|
|
@@ -66,21 +66,6 @@ const translations = {
|
|
|
66
66
|
fr: 'Supprimer le terme de recherche',
|
|
67
67
|
it: 'Elimina termine di ricerca',
|
|
68
68
|
},
|
|
69
|
-
'Enter search term. Press "Enter" to search.': {
|
|
70
|
-
de: 'Suchbegriff eingeben. Drücken Sie "Enter", um zu suchen.',
|
|
71
|
-
fr: 'Entrez le terme de recherche. Appuyez sur "Entrée" pour rechercher.',
|
|
72
|
-
it: 'Inserisci il termine di ricerca. Premi "Invio" per cercare.',
|
|
73
|
-
},
|
|
74
|
-
'most searched topics available, press the tab key to continue.': {
|
|
75
|
-
de: 'meistgesuchte Themen verfügbar, drücken Sie die Tabulatortaste, um fortzufahren.',
|
|
76
|
-
fr: 'sujets les plus recherchés disponibles, appuyez sur la touche de tabulation pour continuer.',
|
|
77
|
-
it: 'argomenti più cercati disponibili, premi il tasto tab per continuare.',
|
|
78
|
-
},
|
|
79
|
-
'search result(s)': {
|
|
80
|
-
de: 'Suchergebnis(se)',
|
|
81
|
-
fr: 'résultat(s) de recherche',
|
|
82
|
-
it: 'risultato/i di ricerca',
|
|
83
|
-
},
|
|
84
69
|
};
|
|
85
70
|
|
|
86
71
|
const getUserLang = (supportedLanguages, implementorPreferredLanguage, localStorageKey, cookieKey) => {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-44536ec6.js';
|
|
2
|
+
export { s as setNonce } from './index-44536ec6.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy([["swisspost-internet-header",[[1,"swisspost-internet-header",{"project":[1],"stickyness":[1],"language":[1],"meta":[4],"login":[4],"search":[4],"skiplinks":[4],"configProxy":[1,"config-proxy"],"environment":[1],"languageSwitchOverrides":[1,"language-switch-overrides"],"customConfig":[1,"custom-config"],"languageCookieKey":[1,"language-cookie-key"],"languageLocalStorageKey":[1,"language-local-storage-key"],"logoutUrl":[1,"logout-url"],"activeRoute":[8,"active-route"],"osFlyoutOverrides":[1,"os-flyout-overrides"],"fullWidth":[4,"full-width"],"activeFlyout":[32],"activeDropdownElement":[32],"isMainSlotEmpty":[32],"getCurrentLanguage":[64]},[[0,"languageChanged","handleLanguageChangeEvent"]],{"language":["handleLanguageChange"],"languageSwitchOverrides":["handleAvailableLanguagesChange"],"osFlyoutOverrides":["handleOsFlyoutOverrides"],"activeRoute":["handleActiveRouteChange"],"customConfig":["handleCustomConfigChange"],"search":["handleSearchChange"],"login":["handleLoginChange"],"meta":["handleMetaChange"],"stickyness":["handleStickynessChange"]}]]],["swisspost-internet-breadcrumbs",[[1,"swisspost-internet-breadcrumbs",{"customItems":[1,"custom-items"],"hideButtons":[4,"hide-buttons"],"customBreadcrumbItems":[32],"overlayVisible":[32],"isConcatenated":[32],"dropdownOpen":[32],"refsReady":[32],"toggleOverlayById":[64]},null,{"customItems":["handleCustomConfigChange"]}]]],["swisspost-internet-footer",[[1,"swisspost-internet-footer",{"liveSupportEnabled":[32],"cookieSettingsEnabled":[32]}]]],["post-search",[[1,"post-search",{"searchDropdownOpen":[32],"coveoSuggestions":[32],"placeSuggestions":[32],"parcelSuggestion":[32],"toggleDropdown":[64],"setFocus":[64]}]]],["post-
|
|
8
|
+
return bootstrapLazy([["swisspost-internet-header",[[1,"swisspost-internet-header",{"project":[1],"stickyness":[1],"language":[1],"meta":[4],"login":[4],"search":[4],"skiplinks":[4],"configProxy":[1,"config-proxy"],"environment":[1],"languageSwitchOverrides":[1,"language-switch-overrides"],"customConfig":[1,"custom-config"],"languageCookieKey":[1,"language-cookie-key"],"languageLocalStorageKey":[1,"language-local-storage-key"],"logoutUrl":[1,"logout-url"],"activeRoute":[8,"active-route"],"osFlyoutOverrides":[1,"os-flyout-overrides"],"fullWidth":[4,"full-width"],"activeFlyout":[32],"activeDropdownElement":[32],"isMainSlotEmpty":[32],"getCurrentLanguage":[64]},[[0,"languageChanged","handleLanguageChangeEvent"]],{"language":["handleLanguageChange"],"languageSwitchOverrides":["handleAvailableLanguagesChange"],"osFlyoutOverrides":["handleOsFlyoutOverrides"],"activeRoute":["handleActiveRouteChange"],"customConfig":["handleCustomConfigChange"],"search":["handleSearchChange"],"login":["handleLoginChange"],"meta":["handleMetaChange"],"stickyness":["handleStickynessChange"]}]]],["swisspost-internet-breadcrumbs",[[1,"swisspost-internet-breadcrumbs",{"customItems":[1,"custom-items"],"hideButtons":[4,"hide-buttons"],"customBreadcrumbItems":[32],"overlayVisible":[32],"isConcatenated":[32],"dropdownOpen":[32],"refsReady":[32],"toggleOverlayById":[64]},null,{"customItems":["handleCustomConfigChange"]}]]],["swisspost-internet-footer",[[1,"swisspost-internet-footer",{"liveSupportEnabled":[32],"cookieSettingsEnabled":[32]}]]],["post-search",[[1,"post-search",{"searchDropdownOpen":[32],"coveoSuggestions":[32],"placeSuggestions":[32],"parcelSuggestion":[32],"toggleDropdown":[64],"setFocus":[64]}]]],["post-klp-login-widget",[[1,"post-klp-login-widget",{"logoutUrl":[1,"logout-url"],"setFocus":[64]}]]],["post-language-switch",[[1,"post-language-switch",{"mode":[1],"langSwitchOpen":[32],"toggleDropdown":[64]}]]],["post-logo",[[1,"post-logo"]]],["post-main-navigation",[[1,"post-main-navigation",{"activeFlyout":[32],"mobileMenuOpen":[32],"toggleDropdown":[64],"setFocus":[64],"setActiveFlyout":[64]}]]],["post-meta-navigation",[[1,"post-meta-navigation",{"orientation":[1],"fullWidth":[4,"full-width"]}]]],["post-skiplinks",[[0,"post-skiplinks"]]],["focus-trap",[[4,"focus-trap",{"active":[4],"trap":[32]},null,{"active":["handleActiveChange"]}]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
package/dist/esm/{post-internet-breadcrumbs-2370e12d.js → post-internet-breadcrumbs-931d12dc.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { h, r as registerInstance, H as Host, g as getElement } from './index-
|
|
1
|
+
import { h, r as registerInstance, H as Host, g as getElement } from './index-44536ec6.js';
|
|
2
2
|
import { d as debounce } from './index-d3f1363d.js';
|
|
3
3
|
import { c as clearAllBodyScrollLocks, d as disableBodyScroll, e as enableBodyScroll } from './bodyScrollLock.esm-afcc00e3.js';
|
|
4
|
-
import { S as SvgIcon } from './svg-icon.component-
|
|
5
|
-
import { s as state } from './store-
|
|
6
|
-
import { S as SvgSprite } from './svg-sprite.component-
|
|
7
|
-
import { t as translate } from './language.service-
|
|
4
|
+
import { S as SvgIcon } from './svg-icon.component-ba72b77b.js';
|
|
5
|
+
import { s as state } from './store-6fe1ea9a.js';
|
|
6
|
+
import { S as SvgSprite } from './svg-sprite.component-66cdf00e.js';
|
|
7
|
+
import { t as translate } from './language.service-143cc0fd.js';
|
|
8
8
|
import { p as prefersReducedMotion } from './utils-c8805f81.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -31,28 +31,14 @@ var iframeResizer$1 = {exports: {}};
|
|
|
31
31
|
* File: iframeResizer.js
|
|
32
32
|
* Desc: Force iframes to size to content.
|
|
33
33
|
* Requires: iframeResizer.contentWindow.js to be loaded into the target frame.
|
|
34
|
-
* Doc: https://iframe-resizer
|
|
35
|
-
* Author: David J. Bradshaw -
|
|
34
|
+
* Doc: https://github.com/davidjbradshaw/iframe-resizer
|
|
35
|
+
* Author: David J. Bradshaw - dave@bradshaw.net
|
|
36
|
+
* Contributor: Jure Mav - jure.mav@gmail.com
|
|
37
|
+
* Contributor: Reed Dadoune - reed@dadoune.com
|
|
36
38
|
*/
|
|
37
39
|
|
|
38
40
|
(function (module) {
|
|
39
|
-
|
|
40
|
-
IFRAME-RESIZER
|
|
41
|
-
|
|
42
|
-
Iframe-Resizer 5 is now available via the following two packages:
|
|
43
|
-
|
|
44
|
-
* @iframe-resizer/parent
|
|
45
|
-
* @iframe-resizer/child
|
|
46
|
-
|
|
47
|
-
Additionally their are also new versions of iframe-resizer for React, Vue, and jQuery.
|
|
48
|
-
|
|
49
|
-
Version 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.
|
|
50
|
-
|
|
51
|
-
Please see https://iframe-resizer.com/upgrade for more details.
|
|
52
|
-
`)
|
|
53
|
-
|
|
54
|
-
// eslint-disable-next-line sonarjs/cognitive-complexity, no-shadow-restricted-names
|
|
55
|
-
;(function (undefined$1) {
|
|
41
|
+
(function (undefined$1) {
|
|
56
42
|
if (typeof window === 'undefined') return // don't run for server side render
|
|
57
43
|
|
|
58
44
|
// var VERSION = '4.3.11'
|
|
@@ -1524,8 +1510,8 @@ var iframeResizer_contentWindow = {exports: {}};
|
|
|
1524
1510
|
* Desc: Include this file in any page being loaded into an iframe
|
|
1525
1511
|
* to force the iframe to resize to the content size.
|
|
1526
1512
|
* Requires: iframeResizer.js on host page.
|
|
1527
|
-
* Doc: https://iframe-resizer
|
|
1528
|
-
* Author: David J. Bradshaw -
|
|
1513
|
+
* Doc: https://github.com/davidjbradshaw/iframe-resizer
|
|
1514
|
+
* Author: David J. Bradshaw - dave@bradshaw.net
|
|
1529
1515
|
*
|
|
1530
1516
|
*/
|
|
1531
1517
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h, r as registerInstance, H as Host } from './index-
|
|
2
|
-
import { s as state } from './store-
|
|
3
|
-
import { S as SvgSprite } from './svg-sprite.component-
|
|
4
|
-
import { t as translate } from './language.service-
|
|
1
|
+
import { h, r as registerInstance, H as Host } from './index-44536ec6.js';
|
|
2
|
+
import { s as state } from './store-6fe1ea9a.js';
|
|
3
|
+
import { S as SvgSprite } from './svg-sprite.component-66cdf00e.js';
|
|
4
|
+
import { t as translate } from './language.service-143cc0fd.js';
|
|
5
5
|
|
|
6
6
|
const PostFooterBlockCustom = (props) => {
|
|
7
7
|
return (h("div", { class: "pre-footer" },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-44536ec6.js';
|
|
2
2
|
import { d as debounce, t as throttle } from './index-d3f1363d.js';
|
|
3
|
-
import { g as getUserLang, p as persistLanguageChoice, t as translate } from './language.service-
|
|
3
|
+
import { g as getUserLang, p as persistLanguageChoice, t as translate } from './language.service-143cc0fd.js';
|
|
4
4
|
import { u as uniqueId } from './utils-c8805f81.js';
|
|
5
|
-
import { s as state, d as dispose } from './store-
|
|
6
|
-
import { S as SvgSprite } from './svg-sprite.component-
|
|
7
|
-
import { S as SvgIcon } from './svg-icon.component-
|
|
5
|
+
import { s as state, d as dispose } from './store-6fe1ea9a.js';
|
|
6
|
+
import { S as SvgSprite } from './svg-sprite.component-66cdf00e.js';
|
|
7
|
+
import { S as SvgIcon } from './svg-icon.component-ba72b77b.js';
|
|
8
8
|
import { I as If } from './if.component-d88d9e48.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -356,7 +356,7 @@ const setMainNavigationIds = (navMainEntities) => {
|
|
|
356
356
|
};
|
|
357
357
|
|
|
358
358
|
const name = "@swisspost/internet-header";
|
|
359
|
-
const version = "1.14.
|
|
359
|
+
const version = "1.14.10";
|
|
360
360
|
const description = "The header for client facing applications.";
|
|
361
361
|
const author = "Swiss Post <design-system@post.ch>";
|
|
362
362
|
const license = "Apache-2.0";
|
|
@@ -375,7 +375,8 @@ const types = "loader/index.d.ts";
|
|
|
375
375
|
const collection = "dist/collection/collection-manifest.json";
|
|
376
376
|
const unpkg = "dist/swisspost-internet-header/swisspost-internet-header.esm.js";
|
|
377
377
|
const publishConfig = {
|
|
378
|
-
access: "public"
|
|
378
|
+
access: "public",
|
|
379
|
+
tag: "latest-v7"
|
|
379
380
|
};
|
|
380
381
|
const files = [
|
|
381
382
|
"dist/",
|
|
@@ -397,34 +398,34 @@ const scripts = {
|
|
|
397
398
|
generate: "stencil generate"
|
|
398
399
|
};
|
|
399
400
|
const dependencies = {
|
|
400
|
-
"@swisspost/design-system-styles": "workspace:
|
|
401
|
+
"@swisspost/design-system-styles": "workspace:7.4.9",
|
|
401
402
|
"body-scroll-lock": "4.0.0-beta.0",
|
|
402
|
-
"iframe-resizer": "4.4.
|
|
403
|
+
"iframe-resizer": "4.4.2",
|
|
403
404
|
jquery: "3.7.1",
|
|
404
405
|
"throttle-debounce": "5.0.2",
|
|
405
406
|
"url-polyfill": "1.1.12"
|
|
406
407
|
};
|
|
407
408
|
const devDependencies = {
|
|
408
|
-
"@babel/core": "7.
|
|
409
|
-
"@percy/cli": "1.
|
|
409
|
+
"@babel/core": "7.24.7",
|
|
410
|
+
"@percy/cli": "1.28.8",
|
|
410
411
|
"@percy/cypress": "3.1.2",
|
|
411
|
-
"@stencil-community/eslint-plugin": "0.
|
|
412
|
-
"@stencil/core": "4.19.
|
|
412
|
+
"@stencil-community/eslint-plugin": "0.7.2",
|
|
413
|
+
"@stencil/core": "4.19.1",
|
|
413
414
|
"@stencil/sass": "3.0.12",
|
|
414
415
|
"@stencil/store": "2.0.16",
|
|
415
416
|
"@types/body-scroll-lock": "3.1.2",
|
|
416
417
|
"@types/iframe-resizer": "3.5.13",
|
|
417
418
|
"@types/jest": "29.5.12",
|
|
418
419
|
"@types/jquery": "3.5.30",
|
|
419
|
-
"@types/node": "20.14.
|
|
420
|
+
"@types/node": "20.14.9",
|
|
420
421
|
"@types/throttle-debounce": "5.0.2",
|
|
421
422
|
"babel-loader": "9.1.3",
|
|
422
423
|
bootstrap: "5.3.3",
|
|
423
|
-
cypress: "13.13.
|
|
424
|
+
cypress: "13.13.0",
|
|
424
425
|
"cypress-each": "1.14.0",
|
|
425
426
|
"cypress-storybook": "1.0.0",
|
|
426
427
|
eslint: "8.57.0",
|
|
427
|
-
"eslint-plugin-react": "7.
|
|
428
|
+
"eslint-plugin-react": "7.34.3",
|
|
428
429
|
"focus-trap": "7.5.4",
|
|
429
430
|
globby: "14.0.2",
|
|
430
431
|
jest: "29.7.0",
|
|
@@ -433,10 +434,10 @@ const devDependencies = {
|
|
|
433
434
|
"rollup-plugin-node-polyfills": "0.2.1",
|
|
434
435
|
"rollup-plugin-scss": "4.0.0",
|
|
435
436
|
"rollup-plugin-visualizer": "5.12.0",
|
|
436
|
-
sass: "1.77.
|
|
437
|
-
"start-server-and-test": "2.0.
|
|
438
|
-
"ts-jest": "29.
|
|
439
|
-
typescript: "
|
|
437
|
+
sass: "1.77.6",
|
|
438
|
+
"start-server-and-test": "2.0.4",
|
|
439
|
+
"ts-jest": "29.1.5",
|
|
440
|
+
typescript: "4.9.5"
|
|
440
441
|
};
|
|
441
442
|
const keywords = [
|
|
442
443
|
"components",
|
|
@@ -560,7 +561,7 @@ const registerLogoAnimationObserver = (target, headerRef) => {
|
|
|
560
561
|
return handleScroll;
|
|
561
562
|
};
|
|
562
563
|
|
|
563
|
-
const postInternetHeaderCss = ":host{--post-contrast-color:#000;--post-focus-color:#1976c8;--post-contrast-color-inverted:#fff;--post-gray-10:hsl(0, 0%, 90%);--post-gray-20:hsl(0, 0%, 80%);--post-gray-40:hsl(0, 0%, 60%);--post-gray-60:hsl(0, 0%, 40%);--post-gray-80:hsl(0, 0%, 20%);--post-yellow:#fc0;--post-white:#fff;--post-light:#faf9f8;--post-gray:#f4f3f1;--post-dark:hsl(0, 0%, 20%);--post-black:#000;--post-primary:hsl(0, 0%, 20%);--post-secondary:hsl(0, 0%, 40%);--post-success:#2c871d;--post-warning:#f49e00;--post-error:#a51728;--post-info:#cce4ee;--post-success-background:#c0debb;--post-warning-background:#fce2b2;--post-error-background:#ffdade;--post-nightblue:#004976;--post-nightblue-bright:#0076a8;--post-petrol:#006d68;--post-petrol-bright:#00968f;--post-coral:#9e2a2f;--post-coral-bright:#e03c31;--post-olive:#716135;--post-olive-bright:#aa9d2e;--post-purple:#80276c;--post-purple-bright:#c5299b;--post-aubergine:#523178;--post-aubergine-bright:#7566a0;--post-contrast-color-rgb:0, 0, 0;--post-contrast-color-inverted-rgb:255, 255, 255;--post-gray-10-rgb:230, 230, 230;--post-gray-20-rgb:204, 204, 204;--post-gray-40-rgb:153, 153, 153;--post-gray-60-rgb:102, 102, 102;--post-gray-80-rgb:51, 51, 51;--post-black-alpha-10-rgba:rgba(0, 0, 0, 0.1);--post-black-alpha-20-rgba:rgba(0, 0, 0, 0.2);--post-black-alpha-40-rgba:rgba(0, 0, 0, 0.4);--post-black-alpha-60-rgba:rgba(0, 0, 0, 0.6);--post-black-alpha-80-rgba:rgba(0, 0, 0, 0.8);--post-white-alpha-10-rgba:rgba(255, 255, 255, 0.1);--post-white-alpha-20-rgba:rgba(255, 255, 255, 0.2);--post-white-alpha-40-rgba:rgba(255, 255, 255, 0.4);--post-white-alpha-60-rgba:rgba(255, 255, 255, 0.6);--post-white-alpha-80-rgba:rgba(255, 255, 255, 0.8);--post-yellow-rgb:255, 204, 0;--post-white-rgb:255, 255, 255;--post-light-rgb:250, 249, 248;--post-gray-rgb:244, 243, 241;--post-dark-rgb:51, 51, 51;--post-black-rgb:0, 0, 0;--post-primary-rgb:51, 51, 51;--post-secondary-rgb:102, 102, 102;--post-success-rgb:44, 135, 29;--post-warning-rgb:244, 158, 0;--post-error-rgb:165, 23, 40;--post-info-rgb:204, 228, 238;--post-success-background-rgb:192, 222, 187;--post-warning-background-rgb:252, 226, 178;--post-error-background-rgb:255, 218, 222;--post-nightblue-rgb:0, 73, 118;--post-nightblue-bright-rgb:0, 118, 168;--post-petrol-rgb:0, 109, 104;--post-petrol-bright-rgb:0, 150, 143;--post-coral-rgb:158, 42, 47;--post-coral-bright-rgb:224, 60, 49;--post-olive-rgb:113, 97, 53;--post-olive-bright-rgb:170, 157, 46;--post-purple-rgb:128, 39, 108;--post-purple-bright-rgb:197, 41, 155;--post-aubergine-rgb:82, 49, 120;--post-aubergine-bright-rgb:117, 102, 160}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:700;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:700;font-style:italic;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:400;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:400;font-style:italic;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:300;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:300;font-style:italic;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff\") format(\"woff\")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.nav-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:\"Frutiger Neue For Post\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{--logo-scale:1}@media (max-width: 1023.98px){:host{--logo-scale:1 !important}}post-header-logo{height:var(--header-height);width:var(--header-height);-webkit-transform-origin:bottom left;transform-origin:bottom left;-webkit-transform:scale(var(--logo-scale));transform:scale(var(--logo-scale))}post-main-navigation{margin-left:calc(var(--header-height)*var(--logo-scale) - var(--header-height))}:host{display:block;position:relative;font-size:1rem;font-weight:300;z-index:var(--header-z-index, 10);--language-dropdown-margin-top:0px;--meta-header-height:var(--post-meta-header-height, 0px);--header-height:var(--post-header-height, 3.5rem)}@media (min-width: 1024px){:host{--meta-header-height:var(--post-meta-header-height, 3rem)}}@media (min-width: 1024px){:host{--header-height:var(--post-header-height, 4rem)}}@media (min-width: 1280px){:host{--header-height:var(--post-header-height, 4.5rem)}}:host([meta=false]){--meta-header-height:0px;--language-dropdown-margin-top:1px}@supports ((position: -webkit-sticky) or (position: sticky)){:host(:not(.stickyness-none)){position:-webkit-sticky;position:sticky}:host(.stickyness-full){top:0}:host(.stickyness-main){top:calc(var(--meta-header-height, 0px)*-1)}:host(.stickyness-minimal){top:calc((var(--header-height, 0px) + var(--meta-header-height, 0px) + 1px)*-1);-webkit-transition:top 200ms ease-in;transition:top 200ms ease-in}:host(.stickyness-minimal.scrolling-up),:host(.stickyness-minimal.dropdown-open){top:calc(var(--meta-header-height, 0px)*-1);--header-slide-in-transition:var(--post-header-slide-in-transition, top 200ms ease-out);-webkit-transition:var(--header-slide-in-transition);transition:var(--header-slide-in-transition)}}.post-internet-header{border-bottom:1px solid #e6e6e6;background-color:#fff}.main-navigation-container{display:-ms-flexbox;display:flex}.main-navigation-container>.main-navigation-controls{-ms-flex:0 1 auto;flex:0 1 auto}.main-navigation{display:-ms-flexbox;display:flex}.sub-navigation-container{position:absolute;top:100%;left:0;width:100%;display:-ms-flexbox;display:flex;background:#fff;visibility:hidden}.main-navigation-item:hover .sub-navigation-container{visibility:visible}.main-navigation-controls{display:-ms-flexbox;display:flex;margin-left:auto}@media (max-width: 1023.98px){.main-navigation-controls{font-weight:400}}@media (min-width: 1024px){.main-navigation-controls{font-size:1.0625rem}}.main-navigation-controls>*{border-left:1px solid #e6e6e6;-ms-flex:0 0 auto;flex:0 0 auto}.main-navigation-custom-content{max-height:var(--header-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-negative:1;flex-shrink:1}.menu-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0 calc(1rem - 1px);font-weight:300;cursor:pointer;border-left:1px solid #e6e6e6;-ms-flex-order:1;order:1}@media (min-width: 1024px){.menu-button{display:none}}@media (min-width: 600px)and (max-width: 1023.98px){.menu-button .visually-hidden{position:static;width:auto;height:auto;margin:auto;overflow:visible;clip:auto;visibility:visible;margin-right:.5rem}}.menu-button svg{width:1.5rem;height:1.5rem}.full-width .wide-container{max-width:none}";
|
|
564
|
+
const postInternetHeaderCss = ":host{--post-contrast-color:#000;--post-focus-color:#1976c8;--post-contrast-color-inverted:#fff;--post-gray-10:hsl(0, 0%, 90%);--post-gray-20:hsl(0, 0%, 80%);--post-gray-40:hsl(0, 0%, 60%);--post-gray-60:hsl(0, 0%, 40%);--post-gray-80:hsl(0, 0%, 20%);--post-yellow:#fc0;--post-white:#fff;--post-light:#faf9f8;--post-gray:#f4f3f1;--post-dark:hsl(0, 0%, 20%);--post-black:#000;--post-primary:hsl(0, 0%, 20%);--post-secondary:hsl(0, 0%, 40%);--post-success:#2c871d;--post-warning:#f49e00;--post-error:#a51728;--post-info:#cce4ee;--post-success-background:#c0debb;--post-warning-background:#fce2b2;--post-error-background:#ffdade;--post-nightblue:#004976;--post-nightblue-bright:#0076a8;--post-petrol:#006d68;--post-petrol-bright:#00968f;--post-coral:#9e2a2f;--post-coral-bright:#e03c31;--post-olive:#716135;--post-olive-bright:#aa9d2e;--post-purple:#80276c;--post-purple-bright:#c5299b;--post-aubergine:#523178;--post-aubergine-bright:#7566a0;--post-contrast-color-rgb:0, 0, 0;--post-contrast-color-inverted-rgb:255, 255, 255;--post-gray-10-rgb:230, 230, 230;--post-gray-20-rgb:204, 204, 204;--post-gray-40-rgb:153, 153, 153;--post-gray-60-rgb:102, 102, 102;--post-gray-80-rgb:51, 51, 51;--post-black-alpha-10-rgba:rgba(0, 0, 0, 0.1);--post-black-alpha-20-rgba:rgba(0, 0, 0, 0.2);--post-black-alpha-40-rgba:rgba(0, 0, 0, 0.4);--post-black-alpha-60-rgba:rgba(0, 0, 0, 0.6);--post-black-alpha-80-rgba:rgba(0, 0, 0, 0.8);--post-white-alpha-10-rgba:rgba(255, 255, 255, 0.1);--post-white-alpha-20-rgba:rgba(255, 255, 255, 0.2);--post-white-alpha-40-rgba:rgba(255, 255, 255, 0.4);--post-white-alpha-60-rgba:rgba(255, 255, 255, 0.6);--post-white-alpha-80-rgba:rgba(255, 255, 255, 0.8);--post-yellow-rgb:255, 204, 0;--post-white-rgb:255, 255, 255;--post-light-rgb:250, 249, 248;--post-gray-rgb:244, 243, 241;--post-dark-rgb:51, 51, 51;--post-black-rgb:0, 0, 0;--post-primary-rgb:51, 51, 51;--post-secondary-rgb:102, 102, 102;--post-success-rgb:44, 135, 29;--post-warning-rgb:244, 158, 0;--post-error-rgb:165, 23, 40;--post-info-rgb:204, 228, 238;--post-success-background-rgb:192, 222, 187;--post-warning-background-rgb:252, 226, 178;--post-error-background-rgb:255, 218, 222;--post-nightblue-rgb:0, 73, 118;--post-nightblue-bright-rgb:0, 118, 168;--post-petrol-rgb:0, 109, 104;--post-petrol-bright-rgb:0, 150, 143;--post-coral-rgb:158, 42, 47;--post-coral-bright-rgb:224, 60, 49;--post-olive-rgb:113, 97, 53;--post-olive-bright-rgb:170, 157, 46;--post-purple-rgb:128, 39, 108;--post-purple-bright-rgb:197, 41, 155;--post-aubergine-rgb:82, 49, 120;--post-aubergine-bright-rgb:117, 102, 160}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:700;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:700;font-style:italic;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:400;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:400;font-style:italic;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:300;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:300;font-style:italic;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff\") format(\"woff\")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.nav-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:\"Frutiger Neue For Post\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{--logo-scale:1}@media (max-width: 1023.98px){:host{--logo-scale:1 !important}}post-logo{height:var(--header-height);width:var(--header-height);-webkit-transform-origin:bottom left;transform-origin:bottom left;-webkit-transform:scale(var(--logo-scale));transform:scale(var(--logo-scale))}post-main-navigation{margin-left:calc(var(--header-height)*var(--logo-scale) - var(--header-height))}:host{display:block;position:relative;font-size:1rem;font-weight:300;z-index:var(--header-z-index, 10);--language-dropdown-margin-top:0px;--meta-header-height:var(--post-meta-header-height, 0px);--header-height:var(--post-header-height, 3.5rem)}@media (min-width: 1024px){:host{--meta-header-height:var(--post-meta-header-height, 3rem)}}@media (min-width: 1024px){:host{--header-height:var(--post-header-height, 4rem)}}@media (min-width: 1280px){:host{--header-height:var(--post-header-height, 4.5rem)}}:host([meta=false]){--meta-header-height:0px;--language-dropdown-margin-top:1px}@supports ((position: -webkit-sticky) or (position: sticky)){:host(:not(.stickyness-none)){position:-webkit-sticky;position:sticky}:host(.stickyness-full){top:0}:host(.stickyness-main){top:calc(var(--meta-header-height, 0px)*-1)}:host(.stickyness-minimal){top:calc((var(--header-height, 0px) + var(--meta-header-height, 0px) + 1px)*-1);-webkit-transition:top 200ms ease-in;transition:top 200ms ease-in}:host(.stickyness-minimal.scrolling-up),:host(.stickyness-minimal.dropdown-open){top:calc(var(--meta-header-height, 0px)*-1);--header-slide-in-transition:var(--post-header-slide-in-transition, top 200ms ease-out);-webkit-transition:var(--header-slide-in-transition);transition:var(--header-slide-in-transition)}}.post-internet-header{border-bottom:1px solid #e6e6e6;background-color:#fff}.main-navigation-container{display:-ms-flexbox;display:flex}.main-navigation-container>.main-navigation-controls{-ms-flex:0 1 auto;flex:0 1 auto}.main-navigation{display:-ms-flexbox;display:flex}.sub-navigation-container{position:absolute;top:100%;left:0;width:100%;display:-ms-flexbox;display:flex;background:#fff;visibility:hidden}.main-navigation-item:hover .sub-navigation-container{visibility:visible}.main-navigation-controls{display:-ms-flexbox;display:flex;margin-left:auto}@media (max-width: 1023.98px){.main-navigation-controls{font-weight:400}}@media (min-width: 1024px){.main-navigation-controls{font-size:1.0625rem}}.main-navigation-controls>*{border-left:1px solid #e6e6e6;-ms-flex:0 0 auto;flex:0 0 auto}.main-navigation-custom-content{max-height:var(--header-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-negative:1;flex-shrink:1}.menu-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0 calc(1rem - 1px);font-weight:300;cursor:pointer;border-left:1px solid #e6e6e6;-ms-flex-order:1;order:1}@media (min-width: 1024px){.menu-button{display:none}}@media (min-width: 600px)and (max-width: 1023.98px){.menu-button .visually-hidden{position:static;width:auto;height:auto;margin:auto;overflow:visible;clip:auto;visibility:visible;margin-right:.5rem}}.menu-button svg{width:1.5rem;height:1.5rem}.full-width .wide-container{max-width:none}";
|
|
564
565
|
const SwisspostInternetHeaderStyle0 = postInternetHeaderCss;
|
|
565
566
|
|
|
566
567
|
const PostInternetHeader = class {
|
|
@@ -853,7 +854,7 @@ const PostInternetHeader = class {
|
|
|
853
854
|
const renderLogin = ((_c = this.login) !== null && _c !== void 0 ? _c : !config.header.isLoginWidgetHidden) && config.header.loginWidgetOptions;
|
|
854
855
|
const renderLanguageSwitch = config.header.navLang.length > 1;
|
|
855
856
|
const initialLogoScale = renderMetaNavigation ? getLogoScale(this.host) : '1';
|
|
856
|
-
return (h(Host, { class: `stickyness-${this.stickyness} ${Boolean(this.activeDropdownElement) || Boolean(this.activeFlyout) ? 'dropdown-open' : ''}`, "data-version": packageJson.version, onKeyup: (e) => this.handleKeyUp(e), style: { '--logo-scale': initialLogoScale } }, h("header", { class: `post-internet-header${this.fullWidth ? ' full-width' : ''}` }, h(SvgSprite, null), h("h1", { class: "visually-hidden" }, translate('Navigate on post.ch')), h(If, { condition: this.skiplinks }, h("post-skiplinks", null)), h(If, { condition: renderMetaNavigation }, h("post-meta-navigation", { orientation: "horizontal", class: "hidden-lg", "full-width": this.fullWidth, ref: el => (this.metaNav = el) }, h(If, { condition: renderLanguageSwitch }, h("post-language-switch", { id: "post-language-switch-desktop", mode: "dropdown", onDropdownToggled: e => this.handleDropdownToggled(e) })))), h("div", { class: "main-navigation-container wide-container" }, h("post-
|
|
857
|
+
return (h(Host, { class: `stickyness-${this.stickyness} ${Boolean(this.activeDropdownElement) || Boolean(this.activeFlyout) ? 'dropdown-open' : ''}`, "data-version": packageJson.version, onKeyup: (e) => this.handleKeyUp(e), style: { '--logo-scale': initialLogoScale } }, h("header", { class: `post-internet-header${this.fullWidth ? ' full-width' : ''}` }, h(SvgSprite, null), h("h1", { class: "visually-hidden" }, translate('Navigate on post.ch')), h(If, { condition: this.skiplinks }, h("post-skiplinks", null)), h(If, { condition: renderMetaNavigation }, h("post-meta-navigation", { orientation: "horizontal", class: "hidden-lg", "full-width": this.fullWidth, ref: el => (this.metaNav = el) }, h(If, { condition: renderLanguageSwitch }, h("post-language-switch", { id: "post-language-switch-desktop", mode: "dropdown", onDropdownToggled: e => this.handleDropdownToggled(e) })))), h("div", { class: "main-navigation-container wide-container" }, h("post-logo", null), h("button", { class: "menu-button nav-link", onClick: () => this.toggleMobileDropdown(), "aria-haspopup": "menu", "aria-controls": "post-internet-header-main-navigation", "aria-expanded": this.activeDropdownElement ? 'true' : 'false' }, h("span", { class: "menu-button-text visually-hidden" }, config.header.mobileMenu.text), h(SvgIcon, { name: this.isMainNavOpen() ? 'pi-close' : 'pi-menu' })), h("post-main-navigation", { onDropdownToggled: e => this.handleDropdownToggled(e), onFlyoutToggled: e => this.handleFlyoutToggled(e), ref: el => (this.mainNav = el) }, h(If, { condition: renderMetaNavigation }, h("post-meta-navigation", { orientation: "vertical" }, h(If, { condition: renderLanguageSwitch }, h("post-language-switch", { id: "post-language-switch-mobile", mode: "list" }))))), h("div", { class: "main-navigation-controls" }, h("div", { class: `main-navigation-custom-content${this.isMainSlotEmpty ? ' d-none' : ''}` }, h("slot", { name: "main", onSlotchange: e => this.handleMainSlotChange(e) })), h(If, { condition: this.search }, h("post-search", { onDropdownToggled: e => this.handleDropdownToggled(e) })), h(If, { condition: !!renderLogin }, h("post-klp-login-widget", { "logout-url": this.logoutUrl }, h("slot", { name: "login-widget" }))), h(If, { condition: !renderMetaNavigation && renderLanguageSwitch }, h("post-language-switch", { id: "post-language-switch-no-meta", onDropdownToggled: e => this.handleDropdownToggled(e), mode: "dropdown" })))))));
|
|
857
858
|
}
|
|
858
859
|
get host() { return getElement(this); }
|
|
859
860
|
static get watchers() { return {
|