@blateral/b.kit 2.7.2 → 2.7.3-patch1.0
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/cjs/{Checkbox-1c34c7e6.js → Checkbox-367283ac.js} +2 -2
- package/cjs/{Checkbox-1c34c7e6.js.map → Checkbox-367283ac.js.map} +1 -1
- package/cjs/{Copy-ea6ab025.js → Copy-b579f268.js} +2 -2
- package/cjs/{Copy-ea6ab025.js.map → Copy-b579f268.js.map} +1 -1
- package/cjs/{EventBlock-04e719a7.js → EventBlock-701e70fa.js} +2 -2
- package/cjs/{EventBlock-04e719a7.js.map → EventBlock-701e70fa.js.map} +1 -1
- package/cjs/{FilterField-cce38ffb.js → FilterField-82610ee9.js} +2 -2
- package/cjs/{FilterField-cce38ffb.js.map → FilterField-82610ee9.js.map} +1 -1
- package/cjs/{Image-c72f7a80.js → Image-b47c0c2d.js} +2 -2
- package/cjs/{Image-c72f7a80.js.map → Image-b47c0c2d.js.map} +1 -1
- package/cjs/{InfoList-71d3388a.js → InfoList-43067979.js} +2 -2
- package/cjs/{InfoList-71d3388a.js.map → InfoList-43067979.js.map} +1 -1
- package/cjs/{LanguageSwitcher-8fdd22ba.js → LanguageSwitcher-296643d1.js} +2 -2
- package/cjs/{LanguageSwitcher-8fdd22ba.js.map → LanguageSwitcher-296643d1.js.map} +1 -1
- package/cjs/{Navigation-d205ed34.js → Navigation-8f27999b.js} +2 -2
- package/cjs/{Navigation-d205ed34.js.map → Navigation-8f27999b.js.map} +1 -1
- package/cjs/{POICard-e46f9041.js → POICard-38e65e37.js} +2 -2
- package/cjs/{POICard-e46f9041.js.map → POICard-38e65e37.js.map} +1 -1
- package/cjs/{SocialList-1d5f75a8.js → SocialList-b13025f9.js} +2 -2
- package/cjs/{SocialList-1d5f75a8.js.map → SocialList-b13025f9.js.map} +1 -1
- package/cjs/{TableBlock-f2c59d9b.js → TableBlock-86c20502.js} +2 -2
- package/cjs/{TableBlock-f2c59d9b.js.map → TableBlock-86c20502.js.map} +1 -1
- package/cjs/{Tag-9238cf0c.js → Tag-d70327a2.js} +2 -2
- package/cjs/{Tag-9238cf0c.js.map → Tag-d70327a2.js.map} +1 -1
- package/cjs/{Textarea-03bd2c34.js → Textarea-f5c4fbb5.js} +2 -2
- package/cjs/{Textarea-03bd2c34.js.map → Textarea-f5c4fbb5.js.map} +1 -1
- package/cjs/{Textfield-56996c98.js → Textfield-8357291d.js} +2 -2
- package/cjs/{Textfield-56996c98.js.map → Textfield-8357291d.js.map} +1 -1
- package/cjs/{VideoBlock-dea7de8a.js → VideoBlock-49d1cee3.js} +2 -2
- package/cjs/{VideoBlock-dea7de8a.js.map → VideoBlock-49d1cee3.js.map} +1 -1
- package/cjs/{VideoCard-a51690c9.js → VideoCard-c486fdf3.js} +2 -2
- package/cjs/VideoCard-c486fdf3.js.map +1 -0
- package/cjs/blocks.js +1 -1
- package/cjs/cookies.js +1 -1
- package/cjs/fields.js +1 -1
- package/cjs/footer.js +1 -1
- package/cjs/headers.js +1 -1
- package/cjs/hooks.js +1 -1
- package/cjs/hooks.js.map +1 -1
- package/cjs/navigation-5a6ad6bf.js +2 -0
- package/cjs/navigation-5a6ad6bf.js.map +1 -0
- package/cjs/navigation.js +1 -1
- package/cjs/sections.dynamicform.js +1 -1
- package/cjs/sections.events.js +1 -1
- package/cjs/sections.forms.js +1 -1
- package/cjs/sections.jobs.js +1 -1
- package/cjs/sections.js +1 -1
- package/cjs/sections.js.map +1 -1
- package/cjs/sections.news.js +1 -1
- package/cjs/sections.news.js.map +1 -1
- package/cjs/sections.pois.js +1 -1
- package/cjs/typography.js +1 -1
- package/esm/{Checkbox-dd12facd.js → Checkbox-5ec1d4f4.js} +2 -2
- package/esm/{Checkbox-dd12facd.js.map → Checkbox-5ec1d4f4.js.map} +1 -1
- package/esm/{Copy-a28aeb61.js → Copy-fe52e5fb.js} +2 -2
- package/esm/{Copy-a28aeb61.js.map → Copy-fe52e5fb.js.map} +1 -1
- package/esm/{EventBlock-b9204a0d.js → EventBlock-b93ed65b.js} +4 -4
- package/esm/{EventBlock-b9204a0d.js.map → EventBlock-b93ed65b.js.map} +1 -1
- package/esm/{FilterField-962ec61f.js → FilterField-524c0fd8.js} +2 -2
- package/esm/{FilterField-962ec61f.js.map → FilterField-524c0fd8.js.map} +1 -1
- package/esm/{Image-dc2b33c1.js → Image-2441b8c0.js} +2 -2
- package/esm/{Image-dc2b33c1.js.map → Image-2441b8c0.js.map} +1 -1
- package/esm/{InfoList-5c4586ed.js → InfoList-b5e9198c.js} +2 -2
- package/esm/{InfoList-5c4586ed.js.map → InfoList-b5e9198c.js.map} +1 -1
- package/esm/{LanguageSwitcher-3fa20077.js → LanguageSwitcher-25434743.js} +2 -2
- package/esm/{LanguageSwitcher-3fa20077.js.map → LanguageSwitcher-25434743.js.map} +1 -1
- package/esm/{Navigation-42c123d2.js → Navigation-8223249d.js} +17 -5
- package/esm/Navigation-8223249d.js.map +1 -0
- package/esm/{POICard-96ec71d8.js → POICard-34ade3c0.js} +3 -3
- package/esm/{POICard-96ec71d8.js.map → POICard-34ade3c0.js.map} +1 -1
- package/esm/{SocialList-402b8f20.js → SocialList-2391367c.js} +2 -2
- package/esm/{SocialList-402b8f20.js.map → SocialList-2391367c.js.map} +1 -1
- package/esm/{TableBlock-67fe2385.js → TableBlock-e6b1d85d.js} +2 -2
- package/esm/{TableBlock-67fe2385.js.map → TableBlock-e6b1d85d.js.map} +1 -1
- package/esm/{Tag-ac51e916.js → Tag-74910213.js} +2 -2
- package/esm/{Tag-ac51e916.js.map → Tag-74910213.js.map} +1 -1
- package/esm/{Textarea-266f1e45.js → Textarea-b4aeea21.js} +3 -3
- package/esm/{Textarea-266f1e45.js.map → Textarea-b4aeea21.js.map} +1 -1
- package/esm/{Textfield-d2f201a9.js → Textfield-acbdbb3f.js} +2 -2
- package/esm/{Textfield-d2f201a9.js.map → Textfield-acbdbb3f.js.map} +1 -1
- package/esm/{VideoBlock-b227ae6e.js → VideoBlock-22f76f03.js} +4 -4
- package/esm/{VideoBlock-b227ae6e.js.map → VideoBlock-22f76f03.js.map} +1 -1
- package/esm/{VideoCard-2cb3b442.js → VideoCard-96a60634.js} +5 -5
- package/esm/VideoCard-96a60634.js.map +1 -0
- package/esm/blocks.js +10 -10
- package/esm/cookies.js +2 -2
- package/esm/fields.js +5 -5
- package/esm/footer.js +3 -3
- package/esm/headers.js +5 -5
- package/esm/hooks.js +23 -2
- package/esm/hooks.js.map +1 -1
- package/esm/{navigation-b89325f8.js → navigation-32f9866b.js} +37 -3
- package/esm/navigation-32f9866b.js.map +1 -0
- package/esm/navigation.js +7 -7
- package/esm/sections.dynamicform.js +4 -4
- package/esm/sections.events.js +5 -5
- package/esm/sections.forms.js +2 -2
- package/esm/sections.jobs.js +2 -2
- package/esm/sections.js +116 -37
- package/esm/sections.js.map +1 -1
- package/esm/sections.news.js +8 -6
- package/esm/sections.news.js.map +1 -1
- package/esm/sections.pois.js +8 -8
- package/esm/typography.js +1 -1
- package/package.json +2 -2
- package/types/components/blocks/VideoCard.d.ts +1 -1
- package/types/components/blocks/VideoCard.d.ts.map +1 -1
- package/types/components/sections/CallToActionTwoUp.d.ts +52 -0
- package/types/components/sections/CallToActionTwoUp.d.ts.map +1 -0
- package/types/components/sections/Video.d.ts +2 -2
- package/types/components/sections/Video.d.ts.map +1 -1
- package/types/components/sections/navigation/Navigation.d.ts +11 -1
- package/types/components/sections/navigation/Navigation.d.ts.map +1 -1
- package/types/components/sections/news/NewsVideo.d.ts +10 -0
- package/types/components/sections/news/NewsVideo.d.ts.map +1 -1
- package/types/hooks.d.ts +2 -0
- package/types/hooks.d.ts.map +1 -1
- package/types/sections.d.ts +1 -0
- package/types/sections.d.ts.map +1 -1
- package/types/utils/useMessage.d.ts +11 -0
- package/types/utils/useMessage.d.ts.map +1 -0
- package/types/utils/useNavigationState.d.ts +3 -0
- package/types/utils/useNavigationState.d.ts.map +1 -0
- package/cjs/VideoCard-a51690c9.js.map +0 -1
- package/cjs/navigation-bf154e6e.js +0 -2
- package/cjs/navigation-bf154e6e.js.map +0 -1
- package/esm/Navigation-42c123d2.js.map +0 -1
- package/esm/VideoCard-2cb3b442.js.map +0 -1
- package/esm/navigation-b89325f8.js.map +0 -1
package/esm/sections.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as __makeTemplateObject, e as __spreadArray, a5 as Minus, a4 as Plus, Q as Info, _ as __assign, x as ArrowLeftRight, y as External, s as ArrowDown, z as Instagram, J as Play, L as LocationPin, u as ArrowRightGhost, w as ArrowLeftGhost, P as Phone, M as Mail } from './ClockFilled-62515a8f.js';
|
|
1
|
+
import { a as __makeTemplateObject, e as __spreadArray, a5 as Minus, a4 as Plus, Q as Info$1, _ as __assign, x as ArrowLeftRight, y as External, s as ArrowDown, z as Instagram, J as Play, L as LocationPin, u as ArrowRightGhost, w as ArrowLeftGhost, P as Phone, M as Mail } from './ClockFilled-62515a8f.js';
|
|
2
2
|
import { S as Section, m as mapToBgMode } from './Section-b76e6909.js';
|
|
3
3
|
import { W as Wrapper, w as wrapperWhitespace } from './Wrapper-90dccc89.js';
|
|
4
|
-
import { C as Copy, c as copyStyle, H as Heading } from './Copy-
|
|
4
|
+
import { C as Copy, c as copyStyle, H as Heading } from './Copy-fe52e5fb.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { useState, useRef, useEffect, forwardRef, useMemo, useContext, createRef } from 'react';
|
|
7
7
|
import styled, { css, ThemeContext } from 'styled-components';
|
|
@@ -12,28 +12,28 @@ import { g as gridSettings, G as Grid, a as getGridWidth } from './Grid-5eec127f
|
|
|
12
12
|
import { L as Link } from './Link-3fd9c9b8.js';
|
|
13
13
|
import { S as StatusFormatter } from './statusFormatter-9be0fbff.js';
|
|
14
14
|
import { u as useEqualSheetHeight } from './useEqualSheetHeight-97420d63.js';
|
|
15
|
-
import { T as Title$5, a as TableBlock } from './TableBlock-
|
|
15
|
+
import { T as Title$5, a as TableBlock } from './TableBlock-e6b1d85d.js';
|
|
16
16
|
import { A as Actions } from './Actions-21372b3a.js';
|
|
17
|
-
import { I as IntroBlock, V as VideoBlock } from './VideoBlock-
|
|
18
|
-
import { I as Image } from './Image-
|
|
17
|
+
import { I as IntroBlock, V as VideoBlock } from './VideoBlock-22f76f03.js';
|
|
18
|
+
import { I as Image } from './Image-2441b8c0.js';
|
|
19
19
|
import { u as useIE } from './useIE-a9c56989.js';
|
|
20
20
|
import ReactDOMServer from 'react-dom/server';
|
|
21
21
|
import { P as Pointer } from './Pointer-5c77b1f1.js';
|
|
22
22
|
import { u as useScrollTo } from './useScrollTo-70af34bf.js';
|
|
23
|
-
import { e as getNavbarState, a as getFullNavbarHeights } from './Navigation-
|
|
23
|
+
import { e as getNavbarState, a as getFullNavbarHeights } from './Navigation-8223249d.js';
|
|
24
24
|
import { a as useMediaQueries } from './useMediaQuery-b42fd64e.js';
|
|
25
25
|
import { C as Callout } from './Callout-a926194d.js';
|
|
26
26
|
import { i as isValidArray } from './arrays-65b644ef.js';
|
|
27
27
|
import { u as useObserverSupport } from './useObserverSupport-02bce7f5.js';
|
|
28
28
|
import { u as useUpdateEffect } from './useUpdateEffect-824c0c84.js';
|
|
29
|
-
import { V as VideoCard } from './VideoCard-
|
|
29
|
+
import { V as VideoCard } from './VideoCard-96a60634.js';
|
|
30
30
|
import { C as Control$1 } from './Control-2d605e12.js';
|
|
31
31
|
import { u as useLeafletMap } from './useLeafletMap-84170d32.js';
|
|
32
32
|
import './concat-ab3c66f2.js';
|
|
33
33
|
import './clamp-12d37b65.js';
|
|
34
34
|
import 'react-schemaorg';
|
|
35
|
-
import './navigation-
|
|
36
|
-
import './LanguageSwitcher-
|
|
35
|
+
import './navigation-32f9866b.js';
|
|
36
|
+
import './LanguageSwitcher-25434743.js';
|
|
37
37
|
import './useCookieConsent-6b2d4d93.js';
|
|
38
38
|
import './ButtonGhost-ae2e97a2.js';
|
|
39
39
|
import './hexRgbConverter-edb91624.js';
|
|
@@ -41,15 +41,15 @@ import './hexRgbConverter-edb91624.js';
|
|
|
41
41
|
var AccordionContainer = styled.div.withConfig({
|
|
42
42
|
displayName: "Accordion__AccordionContainer",
|
|
43
43
|
componentId: "sc-1el5cmc-0"
|
|
44
|
-
})(templateObject_1$
|
|
44
|
+
})(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n margin: 0;\n padding: 0;\n\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n margin: 0;\n padding: 0;\n\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.nudge);
|
|
45
45
|
var View$9 = styled.details.withConfig({
|
|
46
46
|
displayName: "Accordion__View",
|
|
47
47
|
componentId: "sc-1el5cmc-1"
|
|
48
|
-
})(templateObject_2$
|
|
48
|
+
})(templateObject_2$t || (templateObject_2$t = __makeTemplateObject([""], [""])));
|
|
49
49
|
var AccordionHead = styled.summary.withConfig({
|
|
50
50
|
displayName: "Accordion__AccordionHead",
|
|
51
51
|
componentId: "sc-1el5cmc-2"
|
|
52
|
-
})(templateObject_3$
|
|
52
|
+
})(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n padding: ", "px;\n margin: 0;\n border: none;\n outline: none;\n background: none;\n user-select: none;\n list-style: none;\n\n background: ", ";\n\n cursor: pointer;\n transition: background 0.2s ease-in-out;\n\n @media ", " {\n padding: ", "px;\n }\n\n &::-webkit-details-marker {\n display: none;\n }\n\n &::marker {\n display: none;\n }\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n background: ", ";\n }\n }\n\n &:focus {\n background: ", ";\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n"], ["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n padding: ", "px;\n margin: 0;\n border: none;\n outline: none;\n background: none;\n user-select: none;\n list-style: none;\n\n background: ", ";\n\n cursor: pointer;\n transition: background 0.2s ease-in-out;\n\n @media ", " {\n padding: ", "px;\n }\n\n &::-webkit-details-marker {\n display: none;\n }\n\n &::marker {\n display: none;\n }\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n background: ", ";\n }\n }\n\n &:focus {\n background: ", ";\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n"])), spacings.nudge * 2, function (_a) {
|
|
53
53
|
var isInverted = _a.isInverted,
|
|
54
54
|
hasBg = _a.hasBg,
|
|
55
55
|
theme = _a.theme;
|
|
@@ -68,7 +68,7 @@ var AccordionHead = styled.summary.withConfig({
|
|
|
68
68
|
var Column = styled(Copy).withConfig({
|
|
69
69
|
displayName: "Accordion__Column",
|
|
70
70
|
componentId: "sc-1el5cmc-3"
|
|
71
|
-
})(templateObject_4$
|
|
71
|
+
})(templateObject_4$l || (templateObject_4$l = __makeTemplateObject(["\n flex: 1 1 0;\n"], ["\n flex: 1 1 0;\n"])));
|
|
72
72
|
var AccordionText = styled.div.withConfig({
|
|
73
73
|
displayName: "Accordion__AccordionText",
|
|
74
74
|
componentId: "sc-1el5cmc-4"
|
|
@@ -177,12 +177,12 @@ var Accordion = function (_a) {
|
|
|
177
177
|
}))))));
|
|
178
178
|
};
|
|
179
179
|
var Accordion$1 = withLibTheme(Accordion);
|
|
180
|
-
var templateObject_1$
|
|
180
|
+
var templateObject_1$x, templateObject_2$t, templateObject_3$o, templateObject_4$l, templateObject_5$i;
|
|
181
181
|
|
|
182
182
|
var View$8 = styled.div.withConfig({
|
|
183
183
|
displayName: "Alert__View",
|
|
184
184
|
componentId: "sc-1d5c0fb-0"
|
|
185
|
-
})(templateObject_1$
|
|
185
|
+
})(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n display: -ms-grid;\n display: grid;\n\n -ms-grid-columns: min-content 1fr;\n grid-template-columns: min-content 1fr;\n -ms-grid-rows: min-content 1fr;\n grid-auto-rows: min-content 1fr;\n\n text-decoration: none;\n\n position: relative;\n border: 2px solid\n ", ";\n border-radius: ", ";\n\n color: ", ";\n\n padding: ", "px;\n\n text-align: left;\n width: 100%;\n cursor: pointer;\n\n transition: color ease-in-out 0.2s, border 0.2s ease-in-out;\n\n & > * + * {\n margin-left: ", "px;\n }\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n border: 2px solid\n ", ";\n color: ", ";\n }\n }\n"], ["\n display: -ms-grid;\n display: grid;\n\n -ms-grid-columns: min-content 1fr;\n grid-template-columns: min-content 1fr;\n -ms-grid-rows: min-content 1fr;\n grid-auto-rows: min-content 1fr;\n\n text-decoration: none;\n\n position: relative;\n border: 2px solid\n ", ";\n border-radius: ", ";\n\n color: ", ";\n\n padding: ", "px;\n\n text-align: left;\n width: 100%;\n cursor: pointer;\n\n transition: color ease-in-out 0.2s, border 0.2s ease-in-out;\n\n & > * + * {\n margin-left: ", "px;\n }\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n border: 2px solid\n ", ";\n color: ", ";\n }\n }\n"])), function (_a) {
|
|
186
186
|
var theme = _a.theme,
|
|
187
187
|
isInverted = _a.isInverted;
|
|
188
188
|
return isInverted ? getColors(theme).primary.inverted : getColors(theme).primary.default;
|
|
@@ -205,15 +205,15 @@ var View$8 = styled.div.withConfig({
|
|
|
205
205
|
var Icon$4 = styled.div.withConfig({
|
|
206
206
|
displayName: "Alert__Icon",
|
|
207
207
|
componentId: "sc-1d5c0fb-1"
|
|
208
|
-
})(templateObject_2$
|
|
208
|
+
})(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n display: flex;\n align-items: center;\n\n & > * {\n height: 48px;\n width: 48px;\n }\n"], ["\n display: flex;\n align-items: center;\n\n & > * {\n height: 48px;\n width: 48px;\n }\n"])));
|
|
209
209
|
var MainLabel$1 = styled.div.withConfig({
|
|
210
210
|
displayName: "Alert__MainLabel",
|
|
211
211
|
componentId: "sc-1d5c0fb-2"
|
|
212
|
-
})(templateObject_3$
|
|
212
|
+
})(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
|
|
213
213
|
var Content$5 = styled.div.withConfig({
|
|
214
214
|
displayName: "Alert__Content",
|
|
215
215
|
componentId: "sc-1d5c0fb-3"
|
|
216
|
-
})(templateObject_4$
|
|
216
|
+
})(templateObject_4$k || (templateObject_4$k = __makeTemplateObject(["\n margin-top: ", "px;\n\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n margin-top: ", "px;\n\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.nudge, spacings.nudge);
|
|
217
217
|
var Title$4 = styled(Copy).withConfig({
|
|
218
218
|
displayName: "Alert__Title",
|
|
219
219
|
componentId: "sc-1d5c0fb-4"
|
|
@@ -248,7 +248,7 @@ var Alert = function (_a) {
|
|
|
248
248
|
className: className
|
|
249
249
|
}, React__default.createElement(Icon$4, null, customIcon ? customIcon({
|
|
250
250
|
isInverted: isInverted
|
|
251
|
-
}) : React__default.createElement(Info, null)), React__default.createElement(MainLabel$1, null, title && React__default.createElement(Title$4, {
|
|
251
|
+
}) : React__default.createElement(Info$1, null)), React__default.createElement(MainLabel$1, null, title && React__default.createElement(Title$4, {
|
|
252
252
|
textColor: "inherit",
|
|
253
253
|
size: "medium",
|
|
254
254
|
type: "copy-b"
|
|
@@ -263,16 +263,16 @@ var Alert = function (_a) {
|
|
|
263
263
|
ariaLabel: (link === null || link === void 0 ? void 0 : link.href) ? title : undefined
|
|
264
264
|
})));
|
|
265
265
|
};
|
|
266
|
-
var templateObject_1$
|
|
266
|
+
var templateObject_1$w, templateObject_2$s, templateObject_3$n, templateObject_4$k, templateObject_5$h, templateObject_6$d;
|
|
267
267
|
|
|
268
268
|
var List$3 = styled.ul.withConfig({
|
|
269
269
|
displayName: "AlertList__List",
|
|
270
270
|
componentId: "sc-bfdeyu-0"
|
|
271
|
-
})(templateObject_1$
|
|
271
|
+
})(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n margin-top: -", "px;\n margin-left: -", "px;\n padding: 0;\n list-style: none;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: center;\n flex-wrap: wrap;\n\n @media ", " {\n margin-top: -", "px;\n margin-left: -", "px;\n }\n"], ["\n margin-top: -", "px;\n margin-left: -", "px;\n padding: 0;\n list-style: none;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: center;\n flex-wrap: wrap;\n\n @media ", " {\n margin-top: -", "px;\n margin-left: -", "px;\n }\n"])), spacings.nudge * 2, spacings.nudge * 2, mq.medium, spacings.spacer, spacings.spacer);
|
|
272
272
|
var ListItem$2 = styled.li.withConfig({
|
|
273
273
|
displayName: "AlertList__ListItem",
|
|
274
274
|
componentId: "sc-bfdeyu-1"
|
|
275
|
-
})(templateObject_2$
|
|
275
|
+
})(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n padding-top: ", "px;\n padding-left: ", "px;\n flex: 1 1 100%;\n\n @media ", " {\n flex: 0 1 50%;\n max-width: 50%;\n\n padding-top: ", "px;\n padding-left: ", "px;\n }\n\n @media ", " {\n flex: 0 1 ", "%;\n max-width: 600px;\n\n padding-top: ", "px;\n padding-left: ", "px;\n }\n"], ["\n padding-top: ", "px;\n padding-left: ", "px;\n flex: 1 1 100%;\n\n @media ", " {\n flex: 0 1 50%;\n max-width: 50%;\n\n padding-top: ", "px;\n padding-left: ", "px;\n }\n\n @media ", " {\n flex: 0 1 ", "%;\n max-width: 600px;\n\n padding-top: ", "px;\n padding-left: ", "px;\n }\n"])), spacings.nudge * 2, spacings.nudge * 2, mq.medium, spacings.spacer, spacings.spacer, mq.large, function (_a) {
|
|
276
276
|
var itemsPerRow = _a.itemsPerRow;
|
|
277
277
|
return 1 / itemsPerRow * 100;
|
|
278
278
|
}, spacings.spacer, spacings.spacer);
|
|
@@ -317,20 +317,20 @@ var AlertList = function (_a) {
|
|
|
317
317
|
}))));
|
|
318
318
|
};
|
|
319
319
|
var AlertList$1 = withLibTheme(AlertList);
|
|
320
|
-
var templateObject_1$
|
|
320
|
+
var templateObject_1$v, templateObject_2$r;
|
|
321
321
|
|
|
322
322
|
var StyledTitle$1 = styled(Title$5).withConfig({
|
|
323
323
|
displayName: "Article__StyledTitle",
|
|
324
324
|
componentId: "sc-1lrfo1r-0"
|
|
325
|
-
})(templateObject_1$
|
|
325
|
+
})(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n &:not(:last-child) {\n margin-bottom: ", "px;\n }\n\n @media ", " {\n max-width: 880px;\n }\n"], ["\n &:not(:last-child) {\n margin-bottom: ", "px;\n }\n\n @media ", " {\n max-width: 880px;\n }\n"])), spacings.spacer, mq.semilarge);
|
|
326
326
|
var ContentText = styled(Copy).withConfig({
|
|
327
327
|
displayName: "Article__ContentText",
|
|
328
328
|
componentId: "sc-1lrfo1r-1"
|
|
329
|
-
})(templateObject_2$
|
|
329
|
+
})(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n text-align: left;\n"], ["\n text-align: left;\n"])));
|
|
330
330
|
var StyledActions$5 = styled(Actions).withConfig({
|
|
331
331
|
displayName: "Article__StyledActions",
|
|
332
332
|
componentId: "sc-1lrfo1r-2"
|
|
333
|
-
})(templateObject_3$
|
|
333
|
+
})(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n margin-top: ", "px;\n"], ["\n margin-top: ", "px;\n"])), spacings.spacer);
|
|
334
334
|
|
|
335
335
|
var Article = function (_a) {
|
|
336
336
|
var anchorId = _a.anchorId,
|
|
@@ -394,16 +394,16 @@ var Article = function (_a) {
|
|
|
394
394
|
})));
|
|
395
395
|
};
|
|
396
396
|
var Article$1 = withLibTheme(Article);
|
|
397
|
-
var templateObject_1$
|
|
397
|
+
var templateObject_1$u, templateObject_2$q, templateObject_3$m;
|
|
398
398
|
|
|
399
399
|
var ContactView = styled.div.withConfig({
|
|
400
400
|
displayName: "CallToAction__ContactView",
|
|
401
401
|
componentId: "sc-1wdvzex-0"
|
|
402
|
-
})(templateObject_1$
|
|
403
|
-
var Avatar = styled.img.withConfig({
|
|
402
|
+
})(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 0 auto;\n width: 100%;\n\n text-align: left;\n hyphens: auto;\n overflow-wrap: break-word;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n flex-direction: row;\n\n & > * + * {\n margin-top: 0px;\n margin-left: ", "px;\n }\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 0 auto;\n width: 100%;\n\n text-align: left;\n hyphens: auto;\n overflow-wrap: break-word;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n flex-direction: row;\n\n & > * + * {\n margin-top: 0px;\n margin-left: ", "px;\n }\n }\n"])), spacings.spacer, mq.semilarge, gridSettings.gutter);
|
|
403
|
+
var Avatar$1 = styled.img.withConfig({
|
|
404
404
|
displayName: "CallToAction__Avatar",
|
|
405
405
|
componentId: "sc-1wdvzex-1"
|
|
406
|
-
})(templateObject_2$
|
|
406
|
+
})(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n align-self: center;\n display: block;\n border: solid 1px transparent;\n border-radius: 50%;\n width: 180px;\n height: 180px;\n\n background: ", ";\n\n @media ", " {\n display: block;\n width: 190px;\n height: 190px;\n }\n"], ["\n align-self: center;\n display: block;\n border: solid 1px transparent;\n border-radius: 50%;\n width: 180px;\n height: 180px;\n\n background: ", ";\n\n @media ", " {\n display: block;\n width: 190px;\n height: 190px;\n }\n"])), function (_a) {
|
|
407
407
|
var theme = _a.theme,
|
|
408
408
|
isInverted = _a.isInverted;
|
|
409
409
|
return isInverted ? getGlobals(theme).sections.imagePlaceholderBg.inverted : getGlobals(theme).sections.imagePlaceholderBg.default;
|
|
@@ -411,7 +411,7 @@ var Avatar = styled.img.withConfig({
|
|
|
411
411
|
var Description$3 = styled(Copy).withConfig({
|
|
412
412
|
displayName: "CallToAction__Description",
|
|
413
413
|
componentId: "sc-1wdvzex-2"
|
|
414
|
-
})(templateObject_3$
|
|
414
|
+
})(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n text-align: center;\n\n .icon-label {\n flex-direction: column;\n }\n\n .icon-label > * + * {\n margin-left: 0;\n margin-top: ", "px;\n }\n\n & > * {\n justify-content: center;\n }\n\n @media ", " {\n text-align: left;\n\n & > * {\n justify-content: left;\n }\n\n .icon-label {\n flex-direction: row;\n }\n\n .icon-label > * + * {\n margin-left: ", "px;\n margin-top: 0;\n }\n }\n"], ["\n text-align: center;\n\n .icon-label {\n flex-direction: column;\n }\n\n .icon-label > * + * {\n margin-left: 0;\n margin-top: ", "px;\n }\n\n & > * {\n justify-content: center;\n }\n\n @media ", " {\n text-align: left;\n\n & > * {\n justify-content: left;\n }\n\n .icon-label {\n flex-direction: row;\n }\n\n .icon-label > * + * {\n margin-left: ", "px;\n margin-top: 0;\n }\n }\n"])), spacings.nudge * 2, mq.semilarge, spacings.nudge * 2);
|
|
415
415
|
|
|
416
416
|
var ContactBox = function (_a) {
|
|
417
417
|
var isInverted = _a.isInverted,
|
|
@@ -420,7 +420,7 @@ var ContactBox = function (_a) {
|
|
|
420
420
|
className = _a.className;
|
|
421
421
|
return React__default.createElement(ContactView, {
|
|
422
422
|
className: className
|
|
423
|
-
}, React__default.createElement(Avatar, {
|
|
423
|
+
}, React__default.createElement(Avatar$1, {
|
|
424
424
|
src: avatar === null || avatar === void 0 ? void 0 : avatar.src,
|
|
425
425
|
alt: avatar === null || avatar === void 0 ? void 0 : avatar.alt,
|
|
426
426
|
isInverted: isInverted
|
|
@@ -434,7 +434,7 @@ var ContactBox = function (_a) {
|
|
|
434
434
|
var StyledIntro = styled(IntroBlock).withConfig({
|
|
435
435
|
displayName: "CallToAction__StyledIntro",
|
|
436
436
|
componentId: "sc-1wdvzex-3"
|
|
437
|
-
})(templateObject_4$
|
|
437
|
+
})(templateObject_4$j || (templateObject_4$j = __makeTemplateObject(["\n max-width: 880px;\n margin-right: auto;\n margin-left: auto;\n\n @media ", " {\n & > *:first-child {\n min-height: ", ";\n }\n }\n"], ["\n max-width: 880px;\n margin-right: auto;\n margin-left: auto;\n\n @media ", " {\n & > *:first-child {\n min-height: ", ";\n }\n }\n"])), mq.xlarge, function (_a) {
|
|
438
438
|
var hasDecorator = _a.hasDecorator;
|
|
439
439
|
return hasDecorator && '110px';
|
|
440
440
|
});
|
|
@@ -508,7 +508,86 @@ var CallToAction = function (_a) {
|
|
|
508
508
|
})));
|
|
509
509
|
};
|
|
510
510
|
var CallToAction$1 = withLibTheme(CallToAction);
|
|
511
|
-
var templateObject_1$
|
|
511
|
+
var templateObject_1$t, templateObject_2$p, templateObject_3$l, templateObject_4$j, templateObject_5$g, templateObject_6$c, templateObject_7$9, templateObject_8$3;
|
|
512
|
+
|
|
513
|
+
var Avatar = styled.img.withConfig({
|
|
514
|
+
displayName: "CallToActionTwoUp__Avatar",
|
|
515
|
+
componentId: "sc-lbofx3-0"
|
|
516
|
+
})(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n display: block;\n border: solid 1px transparent;\n border-radius: 50%;\n width: 260px;\n max-width: 100%;\n height: auto;\n aspect-ratio: 1 / 1;\n\n background: ", ";\n\n @media ", " {\n display: block;\n width: 286px;\n }\n"], ["\n display: block;\n border: solid 1px transparent;\n border-radius: 50%;\n width: 260px;\n max-width: 100%;\n height: auto;\n aspect-ratio: 1 / 1;\n\n background: ", ";\n\n @media ", " {\n display: block;\n width: 286px;\n }\n"])), function (_a) {
|
|
517
|
+
var theme = _a.theme,
|
|
518
|
+
isInverted = _a.isInverted;
|
|
519
|
+
return isInverted ? getGlobals(theme).sections.imagePlaceholderBg.inverted : getGlobals(theme).sections.imagePlaceholderBg.default;
|
|
520
|
+
}, mq.semilarge);
|
|
521
|
+
var Info = styled(Copy).withConfig({
|
|
522
|
+
displayName: "CallToActionTwoUp__Info",
|
|
523
|
+
componentId: "sc-lbofx3-1"
|
|
524
|
+
})(templateObject_2$o || (templateObject_2$o = __makeTemplateObject([""], [""])));
|
|
525
|
+
var LeftContent = styled.div.withConfig({
|
|
526
|
+
displayName: "CallToActionTwoUp__LeftContent",
|
|
527
|
+
componentId: "sc-lbofx3-2"
|
|
528
|
+
})(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: ", "px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: ", "px;\n"])), spacings.spacer);
|
|
529
|
+
var RightContent = styled(Copy).withConfig({
|
|
530
|
+
displayName: "CallToActionTwoUp__RightContent",
|
|
531
|
+
componentId: "sc-lbofx3-3"
|
|
532
|
+
})(templateObject_4$i || (templateObject_4$i = __makeTemplateObject([""], [""])));
|
|
533
|
+
|
|
534
|
+
var CallToActionTwoUp = function (_a) {
|
|
535
|
+
var anchorId = _a.anchorId,
|
|
536
|
+
title = _a.title,
|
|
537
|
+
_b = _a.titleAs,
|
|
538
|
+
titleAs = _b === void 0 ? 'h2' : _b,
|
|
539
|
+
superTitle = _a.superTitle,
|
|
540
|
+
superTitleAs = _a.superTitleAs,
|
|
541
|
+
avatar = _a.avatar,
|
|
542
|
+
description = _a.description,
|
|
543
|
+
rightContent = _a.rightContent,
|
|
544
|
+
bgMode = _a.bgMode;
|
|
545
|
+
var colors = useLibTheme().colors;
|
|
546
|
+
var isInverted = bgMode === 'inverted';
|
|
547
|
+
return React__default.createElement(Section, {
|
|
548
|
+
addSeperation: true,
|
|
549
|
+
anchorId: anchorId,
|
|
550
|
+
bgColor: isInverted ? colors.sectionBg.dark : bgMode ? colors.sectionBg.medium : colors.sectionBg.light,
|
|
551
|
+
bgMode: bgMode ? mapToBgMode(bgMode, true) : 'full'
|
|
552
|
+
}, React__default.createElement(Wrapper, {
|
|
553
|
+
addWhitespace: true,
|
|
554
|
+
clampWidth: "normal"
|
|
555
|
+
}, React__default.createElement(Grid.Row, {
|
|
556
|
+
gutter: spacings.nudge * 5,
|
|
557
|
+
semilarge: {
|
|
558
|
+
gutter: spacings.spacer
|
|
559
|
+
}
|
|
560
|
+
}, React__default.createElement(Grid.Col, {
|
|
561
|
+
span: 12 / 12,
|
|
562
|
+
semilarge: {
|
|
563
|
+
span: 4 / 12
|
|
564
|
+
}
|
|
565
|
+
}, React__default.createElement(LeftContent, null, title && React__default.createElement(IntroBlock, {
|
|
566
|
+
colorMode: isInverted ? 'inverted' : 'default',
|
|
567
|
+
title: title,
|
|
568
|
+
titleAs: titleAs,
|
|
569
|
+
superTitle: superTitle,
|
|
570
|
+
superTitleAs: superTitleAs
|
|
571
|
+
}), (avatar === null || avatar === void 0 ? void 0 : avatar.src) && React__default.createElement(Avatar, {
|
|
572
|
+
src: avatar === null || avatar === void 0 ? void 0 : avatar.src,
|
|
573
|
+
alt: avatar === null || avatar === void 0 ? void 0 : avatar.alt,
|
|
574
|
+
isInverted: isInverted
|
|
575
|
+
}), description && React__default.createElement(Info, {
|
|
576
|
+
type: "copy",
|
|
577
|
+
size: "big",
|
|
578
|
+
isInverted: isInverted,
|
|
579
|
+
innerHTML: description
|
|
580
|
+
}))), React__default.createElement(Grid.Col, {
|
|
581
|
+
span: 12 / 12,
|
|
582
|
+
semilarge: {
|
|
583
|
+
span: 8 / 12
|
|
584
|
+
}
|
|
585
|
+
}, rightContent && React__default.createElement(RightContent, {
|
|
586
|
+
innerHTML: rightContent
|
|
587
|
+
})))));
|
|
588
|
+
};
|
|
589
|
+
var CallToActionTwoUp$1 = withLibTheme(CallToActionTwoUp);
|
|
590
|
+
var templateObject_1$s, templateObject_2$o, templateObject_3$k, templateObject_4$i;
|
|
512
591
|
|
|
513
592
|
var View$7 = styled.div.withConfig({
|
|
514
593
|
displayName: "CardList__View",
|
|
@@ -3288,7 +3367,7 @@ var Video$1 = function (_a) {
|
|
|
3288
3367
|
playIcon = _a.playIcon,
|
|
3289
3368
|
consentText = _a.consentText,
|
|
3290
3369
|
consentAction = _a.consentAction,
|
|
3291
|
-
|
|
3370
|
+
onPlayClick = _a.onPlayClick;
|
|
3292
3371
|
var colors = useLibTheme().colors;
|
|
3293
3372
|
var isInverted = bgMode === 'inverted';
|
|
3294
3373
|
return React__default.createElement(Section, {
|
|
@@ -3304,7 +3383,7 @@ var Video$1 = function (_a) {
|
|
|
3304
3383
|
playIcon: playIcon,
|
|
3305
3384
|
consentText: consentText,
|
|
3306
3385
|
consentAction: consentAction,
|
|
3307
|
-
|
|
3386
|
+
onPlayClick: onPlayClick
|
|
3308
3387
|
})));
|
|
3309
3388
|
};
|
|
3310
3389
|
var Video$2 = withLibTheme(Video$1);
|
|
@@ -3754,5 +3833,5 @@ var HtmlCode = function (_a) {
|
|
|
3754
3833
|
};
|
|
3755
3834
|
var HtmlCode$1 = withLibTheme(HtmlCode);
|
|
3756
3835
|
|
|
3757
|
-
export { Accordion$1 as Accordion, AlertList$1 as AlertList, Article$1 as Article, CallToAction$1 as CallToAction, CardList$2 as CardList, ComparisonSlider$1 as ComparisonSlider, CrossPromotion$1 as CrossPromotion, FactGrid$1 as FactGrid, FactList$1 as FactList, FeatureList$1 as FeatureList, Gallery$1 as Gallery, HtmlCode$1 as HtmlCode, IconList$1 as IconList, IndexList$1 as IndexList, Intro$2 as Intro, Map$1 as Map, NavList$1 as NavList, NumberList$1 as NumberList, ParallaxBackground, Poster$1 as Poster, PriceList$1 as PriceList, PriceTable$1 as PriceTable, Quote$1 as Quote, RawVideo$1 as RawVideo, SimpleImage$1 as SimpleImage, SocialWall$1 as SocialWall, Table$1 as Table, Teaser$1 as Teaser, TeaserWide$1 as TeaserWide, Timeline$1 as Timeline, Video$2 as Video };
|
|
3836
|
+
export { Accordion$1 as Accordion, AlertList$1 as AlertList, Article$1 as Article, CallToAction$1 as CallToAction, CallToActionTwoUp$1 as CallToActionTwoUp, CardList$2 as CardList, ComparisonSlider$1 as ComparisonSlider, CrossPromotion$1 as CrossPromotion, FactGrid$1 as FactGrid, FactList$1 as FactList, FeatureList$1 as FeatureList, Gallery$1 as Gallery, HtmlCode$1 as HtmlCode, IconList$1 as IconList, IndexList$1 as IndexList, Intro$2 as Intro, Map$1 as Map, NavList$1 as NavList, NumberList$1 as NumberList, ParallaxBackground, Poster$1 as Poster, PriceList$1 as PriceList, PriceTable$1 as PriceTable, Quote$1 as Quote, RawVideo$1 as RawVideo, SimpleImage$1 as SimpleImage, SocialWall$1 as SocialWall, Table$1 as Table, Teaser$1 as Teaser, TeaserWide$1 as TeaserWide, Timeline$1 as Timeline, Video$2 as Video };
|
|
3758
3837
|
//# sourceMappingURL=sections.js.map
|