@sok-brand-sites/common-frontend-components 0.0.1-security → 1.643.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @sok-brand-sites/common-frontend-components might be problematic. Click here for more details.
- package/LICENSE +21 -0
- package/README.md +31 -3
- package/dist/_virtual/_tslib.js +234 -0
- package/dist/assets/icons/Icons.js +118 -0
- package/dist/assets/logos/logos.js +19 -0
- package/dist/components/Accordion/Accordion.js +36 -0
- package/dist/components/Accordion/Accordion.styles.js +75 -0
- package/dist/components/AnimationWrapper/AnimationWrapper.js +35 -0
- package/dist/components/AnimationWrapper/AnimationWrapper.styles.js +26 -0
- package/dist/components/BlockGenerator/BlockContent.js +139 -0
- package/dist/components/BlockGenerator/BlockGenerator.js +62 -0
- package/dist/components/BlockGenerator/BlockGenerator.styles.js +44 -0
- package/dist/components/Button/Button.js +49 -0
- package/dist/components/Button/Button.styles.js +46 -0
- package/dist/components/Card/Card.js +79 -0
- package/dist/components/Card/Card.styles.js +137 -0
- package/dist/components/Carousel/Carousel.js +153 -0
- package/dist/components/Carousel/Carousel.styles.js +261 -0
- package/dist/components/CarouselNarrow/CarouselNarrow.js +120 -0
- package/dist/components/CarouselNarrow/CarouselNarrow.styles.js +281 -0
- package/dist/components/Column/Column.js +31 -0
- package/dist/components/Column/Column.styles.js +34 -0
- package/dist/components/Columns/Columns.js +38 -0
- package/dist/components/Columns/Columns.styles.js +21 -0
- package/dist/components/Embed/Embed.js +54 -0
- package/dist/components/Embed/Embed.styles.js +12 -0
- package/dist/components/Footer/Footer.js +63 -0
- package/dist/components/Footer/Footer.styles.js +67 -0
- package/dist/components/FormBuilder/FormBuilder.js +364 -0
- package/dist/components/FormBuilder/FormBuilder.styles.js +224 -0
- package/dist/components/FormBuilder/FormBuilderCheckboxes.js +39 -0
- package/dist/components/FormBuilder/FormBuilderInput.js +29 -0
- package/dist/components/FormBuilder/FormBuilderParagraph.js +15 -0
- package/dist/components/FormBuilder/FormBuilderSelect.js +39 -0
- package/dist/components/FormBuilder/FormBuilderTextAreaInput.js +29 -0
- package/dist/components/FormBuilder/utiles.js +13 -0
- package/dist/components/FullBgHero/FullBgHero.js +93 -0
- package/dist/components/FullBgHero/FullBgHero.styles.js +180 -0
- package/dist/components/GlobalStyle/GlobalStyle.js +285 -0
- package/dist/components/Header/Header.js +290 -0
- package/dist/components/Header/Header.styles.js +314 -0
- package/dist/components/Heading/Heading.js +29 -0
- package/dist/components/Heading/Heading.styles.js +21 -0
- package/dist/components/Hero/Hero.js +76 -0
- package/dist/components/Hero/Hero.styles.js +128 -0
- package/dist/components/IconLinks/IconLinks.js +118 -0
- package/dist/components/IconLinks/IconLinks.styles.js +259 -0
- package/dist/components/ImageCarousel/ImageCarousel.js +102 -0
- package/dist/components/ImageCarousel/ImageCarousel.styles.js +96 -0
- package/dist/components/LanguageSelector/LanguageSelector.js +72 -0
- package/dist/components/LanguageSelector/LanguageSelector.styles.js +72 -0
- package/dist/components/Layout/Layout.js +15 -0
- package/dist/components/Layout/Layout.styles.js +8 -0
- package/dist/components/List/List.js +25 -0
- package/dist/components/List/List.styles.js +11 -0
- package/dist/components/MarginWrapper/MarginWrapper.js +17 -0
- package/dist/components/MarginWrapper/MarginWrapper.styles.js +38 -0
- package/dist/components/OverlayCards/OverlayCard/OverlayCard.js +132 -0
- package/dist/components/OverlayCards/OverlayCard/OverlayCard.styles.js +133 -0
- package/dist/components/OverlayCards/OverlayCards.js +46 -0
- package/dist/components/OverlayCards/OverlayCards.styles.js +14 -0
- package/dist/components/OverlayCards/OverlayCards.types.js +9 -0
- package/dist/components/Paragraph/Paragraph.js +29 -0
- package/dist/components/Paragraph/Paragraph.styles.js +14 -0
- package/dist/components/PlaceOfBusiness/ContactInformation/ContactInformation.js +45 -0
- package/dist/components/PlaceOfBusiness/ContactInformation/ContactInformation.styles.js +37 -0
- package/dist/components/PlaceOfBusiness/LogoTitle/LogoTitle.js +16 -0
- package/dist/components/PlaceOfBusiness/LogoTitle/LogoTitle.styles.js +44 -0
- package/dist/components/PlaceOfBusiness/OpenToday/OpenToday.js +43 -0
- package/dist/components/PlaceOfBusiness/OpenToday/OpenToday.styles.js +63 -0
- package/dist/components/PlaceOfBusiness/OpeningHours/OpeningHours.js +77 -0
- package/dist/components/PlaceOfBusiness/OpeningHours/OpeningHours.styles.js +68 -0
- package/dist/components/PlaceOfBusiness/PlaceOfBusinessInfo/PlaceOfBusinessInfo.js +125 -0
- package/dist/components/PlaceOfBusiness/PlaceOfBusinessInfo/PlaceOfBusinessInfo.styles.js +32 -0
- package/dist/components/PlaceOfBusiness/PlaceOfBusinessListItem/PlaceOfBusinessListItem.js +85 -0
- package/dist/components/PlaceOfBusiness/PlaceOfBusinessListItem/PlaceOfBusinessListItem.styles.js +134 -0
- package/dist/components/PlaceOfBusiness/PlaceOfBusinessSearch/PlaceOfBusinessSearch.js +142 -0
- package/dist/components/PlaceOfBusiness/PlaceOfBusinessSearch/PlaceOfBusinessSearch.styles.js +43 -0
- package/dist/components/PlaceOfBusiness/Services/Services.js +30 -0
- package/dist/components/PlaceOfBusiness/Services/Services.styles.js +61 -0
- package/dist/components/PlaceOfBusiness/utils.js +177 -0
- package/dist/components/Promotion/Promotion.js +66 -0
- package/dist/components/Promotion/Promotion.styles.js +124 -0
- package/dist/components/RestrictedWidthContainer/RestrictedWidthContainer.js +63 -0
- package/dist/components/Seo/Seo.js +58 -0
- package/dist/components/SideBySide/SideBySide.js +81 -0
- package/dist/components/SideBySide/SideBySide.styles.js +179 -0
- package/dist/components/SocialMediaLinks/SocialMediaLinks.js +28 -0
- package/dist/components/SocialMediaLinks/SocialMediaLinks.styles.js +22 -0
- package/dist/components/SubHero/SubHero.js +22 -0
- package/dist/components/SubHero/SubHero.styles.js +52 -0
- package/dist/components/Table/Table.js +23 -0
- package/dist/components/Table/Table.styles.js +121 -0
- package/dist/components/Table/WpTable.styles.js +5 -0
- package/dist/components/constants.js +34 -0
- package/dist/components/utils.js +160 -0
- package/dist/fonts/Agrandir/Agrandir-Bold.woff.js +2 -0
- package/dist/fonts/Agrandir/Agrandir-Bold.woff2.js +2 -0
- package/dist/fonts/Agrandir/Agrandir-Light.woff.js +2 -0
- package/dist/fonts/Agrandir/Agrandir-Light.woff2.js +2 -0
- package/dist/fonts/Agrandir/index.js +16 -0
- package/dist/fonts/Brule/Brule-Bold.woff.js +2 -0
- package/dist/fonts/Brule/Brule-Bold.woff2.js +2 -0
- package/dist/fonts/Brule/Brule-Medium.woff.js +2 -0
- package/dist/fonts/Brule/Brule-Medium.woff2.js +2 -0
- package/dist/fonts/Brule/Brule-Regular.woff.js +2 -0
- package/dist/fonts/Brule/Brule-Regular.woff2.js +2 -0
- package/dist/fonts/Brule/index.js +18 -0
- package/dist/fonts/Domaine/Domaine-Text-Medium.woff.js +2 -0
- package/dist/fonts/Domaine/Domaine-Text-Medium.woff2.js +2 -0
- package/dist/fonts/Domaine/index.js +14 -0
- package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-Bk.woff.js +2 -0
- package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-Bk.woff2.js +2 -0
- package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-DmCn.woff.js +2 -0
- package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-DmCn.woff2.js +2 -0
- package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-MdCn.woff.js +2 -0
- package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-MdCn.woff2.js +2 -0
- package/dist/fonts/FranklinGothic/index.js +18 -0
- package/dist/fonts/MinionPro/MinionPro-Regular.woff.js +2 -0
- package/dist/fonts/MinionPro/MinionPro-Regular.woff2.js +2 -0
- package/dist/fonts/MinionPro/index.js +14 -0
- package/dist/fonts/Montserrat/Montserrat-Bold.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Bold.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-BoldItalic.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-BoldItalic.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-ExtraBold.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-ExtraBold.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-ExtraBoldItalic.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-ExtraBoldItalic.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Italic.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Italic.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Light.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Light.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-LightItalic.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-LightItalic.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Medium.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Medium.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-MediumItalic.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-MediumItalic.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Regular.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Regular.woff2.js +2 -0
- package/dist/fonts/Montserrat/index.js +90 -0
- package/dist/fonts/SBonus/SBonusUX-BoldItalic.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-BoldItalic.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-ExtraboldItalic.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-ExtraboldItalic.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-LightItalic.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-LightItalic.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-MediumItalic.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-MediumItalic.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-RegularItalic.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-RegularItalic.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Bold.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Bold.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Extrabold.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Extrabold.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Light.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Light.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Medium.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Medium.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Regular.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Regular.woff2.js +2 -0
- package/dist/fonts/SBonus/index.js +95 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Bold.woff.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Bold.woff2.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Light.woff.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Light.woff2.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Medium.woff.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Medium.woff2.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Regular.woff.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Regular.woff2.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-SemiBold.woff.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-SemiBold.woff2.js +2 -0
- package/dist/fonts/SBonusDisplay/index.js +22 -0
- package/dist/fonts/SuomiGrumpy/SuomiGrumpy-Black.woff.js +2 -0
- package/dist/fonts/SuomiGrumpy/SuomiGrumpy-Black.woff2.js +2 -0
- package/dist/fonts/SuomiGrumpy/index.js +14 -0
- package/dist/fonts/utils.js +5 -0
- package/dist/hooks/useElementRect.js +65 -0
- package/dist/hooks/windowsize.js +31 -0
- package/dist/locales/constants.js +6 -0
- package/dist/locales/translations.json.js +153 -0
- package/dist/styles/media.js +40 -0
- package/dist/themes/neutral/breakpoints.js +11 -0
- package/dist/themes/neutral/colors.js +3 -0
- package/dist/themes/neutral/components.js +940 -0
- package/dist/themes/neutral/fonts.js +7 -0
- package/dist/themes/neutral/index.js +10 -0
- package/dist/themes/neutral/spacings.js +21 -0
- package/dist/themes/ravintolakonseptit/breakpoints.js +11 -0
- package/dist/themes/ravintolakonseptit/colors.js +17 -0
- package/dist/themes/ravintolakonseptit/components.js +936 -0
- package/dist/themes/ravintolakonseptit/fonts.js +5 -0
- package/dist/themes/ravintolakonseptit/index.js +10 -0
- package/dist/themes/ravintolakonseptit/spacings.js +21 -0
- package/dist/themes/sokos/breakpoints.js +11 -0
- package/dist/themes/sokos/colors.js +3 -0
- package/dist/themes/sokos/components.js +936 -0
- package/dist/themes/sokos/index.js +10 -0
- package/dist/themes/sokospalvelut/breakpoints.js +11 -0
- package/dist/themes/sokospalvelut/colors.js +3 -0
- package/dist/themes/sokospalvelut/components.js +936 -0
- package/dist/themes/sokospalvelut/fonts.js +11 -0
- package/dist/themes/sokospalvelut/index.js +10 -0
- package/dist/themes/theme.types.js +12 -0
- package/dist/themes/tykkimakiresort/colors.js +35 -0
- package/dist/themes/tykkimakiresort/components.js +936 -0
- package/dist/themes/tykkimakiresort/fonts.js +7 -0
- package/dist/themes/tykkimakiresort/index.js +10 -0
- package/package.json +33 -3
- package/scripts/build.js +132 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
import { __rest, __read, __assign } from '../../_virtual/_tslib.js';
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
3
|
+
import { SectionContainer, Label, SelectContainer, LabelError } from './FormBuilder.styles.js';
|
4
|
+
import { useField } from 'formik';
|
5
|
+
import { getErrorMsg } from './utiles.js';
|
6
|
+
|
7
|
+
var FormBuilderSelect = function FormBuilderSelect(_a) {
|
8
|
+
var label = _a.label,
|
9
|
+
props = __rest(_a, ["label"]);
|
10
|
+
|
11
|
+
var _b = __read(useField(props), 3),
|
12
|
+
field = _b[0],
|
13
|
+
helpers = _b[2];
|
14
|
+
|
15
|
+
var setValue = helpers.setValue;
|
16
|
+
|
17
|
+
var _c = getErrorMsg(field.name, props.errors, props.touched),
|
18
|
+
errorMsg = _c.errorMsg,
|
19
|
+
isTouched = _c.isTouched;
|
20
|
+
|
21
|
+
return jsxs(SectionContainer, {
|
22
|
+
children: [jsxs(Label, {
|
23
|
+
children: [label, props.required ? '*' : '']
|
24
|
+
}, void 0), jsx(SelectContainer, __assign({
|
25
|
+
size: 'small'
|
26
|
+
}, props, {
|
27
|
+
placeholder: props.placeholder,
|
28
|
+
onChange: function onChange(option) {
|
29
|
+
return setValue(option);
|
30
|
+
}
|
31
|
+
}, field.value ? {
|
32
|
+
value: field.value
|
33
|
+
} : {}), void 0), jsx(LabelError, {
|
34
|
+
children: isTouched ? errorMsg : ''
|
35
|
+
}, void 0)]
|
36
|
+
}, void 0);
|
37
|
+
};
|
38
|
+
|
39
|
+
export { FormBuilderSelect as default };
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { __rest, __read, __assign } from '../../_virtual/_tslib.js';
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
3
|
+
import { SectionContainer, Label, TextAreaInputContainer, LabelError } from './FormBuilder.styles.js';
|
4
|
+
import { useField } from 'formik';
|
5
|
+
import { getErrorMsg } from './utiles.js';
|
6
|
+
|
7
|
+
var FormBuilderTextAreaInput = function FormBuilderTextAreaInput(_a) {
|
8
|
+
var label = _a.label,
|
9
|
+
props = __rest(_a, ["label"]);
|
10
|
+
|
11
|
+
var _b = __read(useField(props), 1),
|
12
|
+
field = _b[0];
|
13
|
+
|
14
|
+
var _c = getErrorMsg(field.name, props.errors, props.touched),
|
15
|
+
errorMsg = _c.errorMsg,
|
16
|
+
isTouched = _c.isTouched;
|
17
|
+
|
18
|
+
return jsxs(SectionContainer, {
|
19
|
+
children: [jsxs(Label, __assign({
|
20
|
+
htmlFor: props.id || props.name
|
21
|
+
}, {
|
22
|
+
children: [label, props.required ? '*' : '']
|
23
|
+
}), void 0), jsx(TextAreaInputContainer, __assign({}, field, props), void 0), jsx(LabelError, {
|
24
|
+
children: isTouched ? errorMsg : ''
|
25
|
+
}, void 0)]
|
26
|
+
}, void 0);
|
27
|
+
};
|
28
|
+
|
29
|
+
export { FormBuilderTextAreaInput as default };
|
@@ -0,0 +1,13 @@
|
|
1
|
+
var getErrorMsg = function getErrorMsg(name, errors, touched) {
|
2
|
+
var _a, _b;
|
3
|
+
|
4
|
+
var splitName = name.split('.');
|
5
|
+
var errorMsg = (_a = errors[splitName[0]]) === null || _a === void 0 ? void 0 : _a.fields[splitName[2]];
|
6
|
+
var isTouched = (_b = touched[splitName[0]]) === null || _b === void 0 ? void 0 : _b.fields[splitName[2]];
|
7
|
+
return {
|
8
|
+
errorMsg: errorMsg,
|
9
|
+
isTouched: isTouched
|
10
|
+
};
|
11
|
+
};
|
12
|
+
|
13
|
+
export { getErrorMsg };
|
@@ -0,0 +1,93 @@
|
|
1
|
+
import { __rest, __assign } from '../../_virtual/_tslib.js';
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
3
|
+
import { forwardRef } from 'react';
|
4
|
+
import { useElementHeight } from '../../hooks/useElementRect.js';
|
5
|
+
import { icons } from '../../assets/icons/Icons.js';
|
6
|
+
import { animateScroll } from 'react-scroll';
|
7
|
+
import RestrictedWidthContainer from '../RestrictedWidthContainer/RestrictedWidthContainer.js';
|
8
|
+
import { ReadMoreScrollContainer, MainContainer, TextContainer, Title, Description, ReadMoreContainer, ReadMore, MediaContainer, DynamicImage, StaticImage, Video, Overlay } from './FullBgHero.styles.js';
|
9
|
+
import { getCurrentLanguage } from '../utils.js';
|
10
|
+
import translationJSON from '../../locales/translations.json.js';
|
11
|
+
|
12
|
+
var Media = function Media(_a) {
|
13
|
+
var _b, _c, _d;
|
14
|
+
|
15
|
+
var media = _a.media,
|
16
|
+
opacity = _a.opacity;
|
17
|
+
return jsxs(MediaContainer, {
|
18
|
+
children: [(media === null || media === void 0 ? void 0 : media.mimeType.includes('image')) && ((_b = media === null || media === void 0 ? void 0 : media.localFile) === null || _b === void 0 ? void 0 : _b.childImageSharp) && jsx(DynamicImage, {
|
19
|
+
image: (_d = (_c = media === null || media === void 0 ? void 0 : media.localFile) === null || _c === void 0 ? void 0 : _c.childImageSharp) === null || _d === void 0 ? void 0 : _d.gatsbyImageData,
|
20
|
+
alt: ""
|
21
|
+
}, void 0), (media === null || media === void 0 ? void 0 : media.mimeType.includes('image')) && !(media === null || media === void 0 ? void 0 : media.localFile) && jsx(StaticImage, {
|
22
|
+
src: media.mediaItemUrl,
|
23
|
+
alt: ""
|
24
|
+
}, void 0), (media === null || media === void 0 ? void 0 : media.mediaItemUrl) && (media === null || media === void 0 ? void 0 : media.mimeType.includes('video')) && jsx(Video, __assign({
|
25
|
+
muted: true,
|
26
|
+
loop: true,
|
27
|
+
playsInline: true,
|
28
|
+
autoPlay: true
|
29
|
+
}, {
|
30
|
+
children: jsx("source", {
|
31
|
+
type: media.mimeType,
|
32
|
+
src: media.mediaItemUrl
|
33
|
+
}, void 0)
|
34
|
+
}), void 0), jsx(Overlay, {
|
35
|
+
opacity: opacity
|
36
|
+
}, void 0)]
|
37
|
+
}, void 0);
|
38
|
+
};
|
39
|
+
|
40
|
+
var FullBgHero = forwardRef(function (_a, ref) {
|
41
|
+
var title = _a.title,
|
42
|
+
description = _a.description,
|
43
|
+
opacity = _a.opacity,
|
44
|
+
media = _a.media,
|
45
|
+
anchor = _a.anchor,
|
46
|
+
rest = __rest(_a, ["title", "description", "opacity", "media", "anchor"]);
|
47
|
+
|
48
|
+
var _b = useElementHeight(),
|
49
|
+
elementRef = _b.elementRef,
|
50
|
+
elementHeight = _b.elementHeight;
|
51
|
+
|
52
|
+
var onClickHandler = function onClickHandler() {
|
53
|
+
animateScroll.scrollTo(elementHeight, {
|
54
|
+
duration: 500,
|
55
|
+
delay: 100,
|
56
|
+
smooth: 'easeInOutQuart'
|
57
|
+
});
|
58
|
+
};
|
59
|
+
|
60
|
+
return jsx(ReadMoreScrollContainer, __assign({
|
61
|
+
ref: elementRef
|
62
|
+
}, {
|
63
|
+
children: jsxs(MainContainer, __assign({
|
64
|
+
id: anchor
|
65
|
+
}, rest, {
|
66
|
+
ref: ref
|
67
|
+
}, {
|
68
|
+
children: [jsx(Media, {
|
69
|
+
media: media,
|
70
|
+
opacity: opacity
|
71
|
+
}, void 0), jsx(RestrictedWidthContainer, {
|
72
|
+
children: jsxs(TextContainer, {
|
73
|
+
children: [jsx(Title, {
|
74
|
+
dangerouslySetInnerHTML: {
|
75
|
+
__html: title
|
76
|
+
}
|
77
|
+
}, void 0), jsx(Description, {
|
78
|
+
children: description
|
79
|
+
}, void 0), jsxs(ReadMoreContainer, __assign({
|
80
|
+
onClick: function onClick() {
|
81
|
+
return onClickHandler();
|
82
|
+
}
|
83
|
+
}, {
|
84
|
+
children: [jsx(icons.ReadMore, {}, void 0), jsx(ReadMore, {
|
85
|
+
children: translationJSON.fullBgHero.readMore[getCurrentLanguage()]
|
86
|
+
}, void 0)]
|
87
|
+
}), void 0)]
|
88
|
+
}, void 0)
|
89
|
+
}, void 0)]
|
90
|
+
}), void 0)
|
91
|
+
}), void 0);
|
92
|
+
});
|
93
|
+
export { FullBgHero, FullBgHero as default };
|
@@ -0,0 +1,180 @@
|
|
1
|
+
import { __makeTemplateObject } from '../../_virtual/_tslib.js';
|
2
|
+
import styled, { keyframes, css } from 'styled-components';
|
3
|
+
import { GatsbyImage } from 'gatsby-plugin-image';
|
4
|
+
import media from '../../styles/media.js';
|
5
|
+
var FadeIn = keyframes(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n"], ["\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n"])));
|
6
|
+
var ARROW_ANIM = keyframes(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n 0% {\n top:0px;\n opacity:0.2;\n }\n\n 40%{\n top:20px;\n opacity:1.0;\n }\n\n 100%{\n top:0px;\n opacity:0.2;\n }\n"], ["\n 0% {\n top:0px;\n opacity:0.2;\n }\n\n 40%{\n top:20px;\n opacity:1.0;\n }\n\n 100%{\n top:0px;\n opacity:0.2;\n }\n"])));
|
7
|
+
var ReadMoreContainer = styled.div.withConfig({
|
8
|
+
displayName: "FullBgHerostyles__ReadMoreContainer",
|
9
|
+
componentId: "sc-1ul7hg6-0"
|
10
|
+
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n width: ", ";\n margin-top: ", ";\n display: none;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n cursor: pointer;\n\n svg {\n position: relative;\n animation: ", " 2s ease-in-out infinite;\n }\n\n p {\n margin-left: 1rem;\n align-self: center;\n }\n"], ["\n width: ", ";\n margin-top: ", ";\n display: none;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n cursor: pointer;\n\n svg {\n position: relative;\n animation: ", " 2s ease-in-out infinite;\n }\n\n p {\n margin-left: 1rem;\n align-self: center;\n }\n"])), function (_a) {
|
11
|
+
var theme = _a.theme;
|
12
|
+
return theme.spacings.spacing128;
|
13
|
+
}, function (_a) {
|
14
|
+
var theme = _a.theme;
|
15
|
+
return theme.spacings.spacing64;
|
16
|
+
}, function (_a) {
|
17
|
+
var theme = _a.theme;
|
18
|
+
return theme.components.fullBgHero.title.fontFamily;
|
19
|
+
}, function (_a) {
|
20
|
+
var theme = _a.theme;
|
21
|
+
return theme.components.fullBgHero.title.fontSizes.mobile.fontSize;
|
22
|
+
}, function (_a) {
|
23
|
+
var theme = _a.theme;
|
24
|
+
return theme.components.fullBgHero.title.fontWeight;
|
25
|
+
}, function (_a) {
|
26
|
+
var theme = _a.theme;
|
27
|
+
return theme.components.fullBgHero.title.fontSizes.mobile.lineHeight;
|
28
|
+
}, ARROW_ANIM);
|
29
|
+
var ReadMoreScrollContainer = styled.div.withConfig({
|
30
|
+
displayName: "FullBgHerostyles__ReadMoreScrollContainer",
|
31
|
+
componentId: "sc-1ul7hg6-1"
|
32
|
+
})(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
|
33
|
+
var MainContainer = styled.div.withConfig({
|
34
|
+
displayName: "FullBgHerostyles__MainContainer",
|
35
|
+
componentId: "sc-1ul7hg6-2"
|
36
|
+
})(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n min-height: ", ";\n animation: ", " 0.8s linear;\n\n ", "\n"], ["\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n min-height: ", ";\n animation: ", " 0.8s linear;\n\n ", "\n"])), function (_a) {
|
37
|
+
var theme = _a.theme;
|
38
|
+
return theme.components.fullBgHero.minheight.mobile;
|
39
|
+
}, FadeIn, media.desktop(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n min-height: ", ";\n "], ["\n min-height: ", ";\n "])), function (_a) {
|
40
|
+
var theme = _a.theme;
|
41
|
+
return theme.components.fullBgHero.minheight.desktop;
|
42
|
+
}));
|
43
|
+
var TextContainer = styled.div.withConfig({
|
44
|
+
displayName: "FullBgHerostyles__TextContainer",
|
45
|
+
componentId: "sc-1ul7hg6-3"
|
46
|
+
})(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n width: 100%;\n z-index: 1;\n text-align: left;\n padding: ", " 0;\n\n ", "\n"], ["\n width: 100%;\n z-index: 1;\n text-align: left;\n padding: ", " 0;\n\n ", "\n"])), function (_a) {
|
47
|
+
var theme = _a.theme;
|
48
|
+
return theme.spacings.spacing32;
|
49
|
+
}, media.desktop(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n ", " {\n display: flex;\n }\n "], ["\n ", " {\n display: flex;\n }\n "])), ReadMoreContainer));
|
50
|
+
var MediaContainer = styled.div.withConfig({
|
51
|
+
displayName: "FullBgHerostyles__MediaContainer",
|
52
|
+
componentId: "sc-1ul7hg6-4"
|
53
|
+
})(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n position: absolute;\n height: 100%;\n width: 100%;\n z-index: 0;\n"], ["\n position: absolute;\n height: 100%;\n width: 100%;\n z-index: 0;\n"])));
|
54
|
+
var Title = styled.div.withConfig({
|
55
|
+
displayName: "FullBgHerostyles__Title",
|
56
|
+
componentId: "sc-1ul7hg6-5"
|
57
|
+
})(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n padding: 0;\n margin: ", " 0;\n word-wrap: break-word;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n\n b {\n color: ", ";\n font-weight: inherit;\n }\n\n ", "\n\n ", "\n\n ", "\n"], ["\n padding: 0;\n margin: ", " 0;\n word-wrap: break-word;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n\n b {\n color: ", ";\n font-weight: inherit;\n }\n\n ", "\n\n ", "\n\n ", "\n"])), function (_a) {
|
58
|
+
var theme = _a.theme;
|
59
|
+
return theme.spacings.spacing32;
|
60
|
+
}, function (_a) {
|
61
|
+
var theme = _a.theme;
|
62
|
+
return theme.components.fullBgHero.title.fontFamily;
|
63
|
+
}, function (_a) {
|
64
|
+
var theme = _a.theme;
|
65
|
+
return theme.components.fullBgHero.title.fontSizes.mobile.fontSize;
|
66
|
+
}, function (_a) {
|
67
|
+
var theme = _a.theme;
|
68
|
+
return theme.components.fullBgHero.title.fontWeight;
|
69
|
+
}, function (_a) {
|
70
|
+
var theme = _a.theme;
|
71
|
+
return theme.components.fullBgHero.title.fontSizes.mobile.lineHeight;
|
72
|
+
}, function (_a) {
|
73
|
+
var theme = _a.theme;
|
74
|
+
return theme.components.fullBgHero.title.color;
|
75
|
+
}, function (_a) {
|
76
|
+
var theme = _a.theme;
|
77
|
+
return theme.components.fullBgHero.title.textTransform;
|
78
|
+
}, function (_a) {
|
79
|
+
var theme = _a.theme;
|
80
|
+
return theme.components.fullBgHero.title.boldColor;
|
81
|
+
}, media.tablet(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
82
|
+
var theme = _a.theme;
|
83
|
+
return theme.components.fullBgHero.title.fontSizes.tablet.fontSize;
|
84
|
+
}, function (_a) {
|
85
|
+
var theme = _a.theme;
|
86
|
+
return theme.components.fullBgHero.title.fontSizes.tablet.lineHeight;
|
87
|
+
}), media.desktop(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
88
|
+
var theme = _a.theme;
|
89
|
+
return theme.components.fullBgHero.title.fontSizes.desktop.fontSize;
|
90
|
+
}, function (_a) {
|
91
|
+
var theme = _a.theme;
|
92
|
+
return theme.components.fullBgHero.title.fontSizes.desktop.lineHeight;
|
93
|
+
}), media.desktopLarge(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
94
|
+
var theme = _a.theme;
|
95
|
+
return theme.components.fullBgHero.title.fontSizes.desktopLarge.fontSize;
|
96
|
+
}, function (_a) {
|
97
|
+
var theme = _a.theme;
|
98
|
+
return theme.components.fullBgHero.title.fontSizes.desktopLarge.lineHeight;
|
99
|
+
}));
|
100
|
+
var Description = styled.div.withConfig({
|
101
|
+
displayName: "FullBgHerostyles__Description",
|
102
|
+
componentId: "sc-1ul7hg6-6"
|
103
|
+
})(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n padding: 0;\n margin: 0;\n width: 100%;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n\n ", "\n\n ", "\n"], ["\n padding: 0;\n margin: 0;\n width: 100%;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n\n ", "\n\n ", "\n"])), function (_a) {
|
104
|
+
var theme = _a.theme;
|
105
|
+
return theme.components.fullBgHero.description.fontFamily;
|
106
|
+
}, function (_a) {
|
107
|
+
var theme = _a.theme;
|
108
|
+
return theme.components.fullBgHero.description.fontSizes.mobile.fontSize;
|
109
|
+
}, function (_a) {
|
110
|
+
var theme = _a.theme;
|
111
|
+
return theme.components.fullBgHero.description.fontWeight;
|
112
|
+
}, function (_a) {
|
113
|
+
var theme = _a.theme;
|
114
|
+
return theme.components.fullBgHero.description.fontSizes.mobile.lineHeight;
|
115
|
+
}, function (_a) {
|
116
|
+
var theme = _a.theme;
|
117
|
+
return theme.components.fullBgHero.description.color;
|
118
|
+
}, media.tablet(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n width: 80%;\n font-size: ", ";\n line-height: ", ";\n "], ["\n width: 80%;\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
119
|
+
var theme = _a.theme;
|
120
|
+
return theme.components.fullBgHero.description.fontSizes.tablet.fontSize;
|
121
|
+
}, function (_a) {
|
122
|
+
var theme = _a.theme;
|
123
|
+
return theme.components.fullBgHero.description.fontSizes.tablet.lineHeight;
|
124
|
+
}), media.desktop(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n width: 80%;\n font-size: ", ";\n line-height: ", ";\n "], ["\n width: 80%;\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
125
|
+
var theme = _a.theme;
|
126
|
+
return theme.components.fullBgHero.description.fontSizes.desktop.fontSize;
|
127
|
+
}, function (_a) {
|
128
|
+
var theme = _a.theme;
|
129
|
+
return theme.components.fullBgHero.description.fontSizes.desktop.lineHeight;
|
130
|
+
}));
|
131
|
+
var ReadMore = styled.div.withConfig({
|
132
|
+
displayName: "FullBgHerostyles__ReadMore",
|
133
|
+
componentId: "sc-1ul7hg6-7"
|
134
|
+
})(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n padding: 0;\n margin: 0;\n align-self: center;\n margin-left: ", ";\n width: 100%;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n"], ["\n padding: 0;\n margin: 0;\n align-self: center;\n margin-left: ", ";\n width: 100%;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n"])), function (_a) {
|
135
|
+
var theme = _a.theme;
|
136
|
+
return theme.spacings.spacing16;
|
137
|
+
}, function (_a) {
|
138
|
+
var theme = _a.theme;
|
139
|
+
return theme.components.fullBgHero.description.fontFamily;
|
140
|
+
}, function (_a) {
|
141
|
+
var theme = _a.theme;
|
142
|
+
return theme.components.fullBgHero.description.fontSizes.mobile.fontSize;
|
143
|
+
}, function (_a) {
|
144
|
+
var theme = _a.theme;
|
145
|
+
return theme.components.fullBgHero.description.fontWeight;
|
146
|
+
}, function (_a) {
|
147
|
+
var theme = _a.theme;
|
148
|
+
return theme.components.fullBgHero.description.fontSizes.mobile.lineHeight;
|
149
|
+
}, function (_a) {
|
150
|
+
var theme = _a.theme;
|
151
|
+
return theme.colors.white;
|
152
|
+
});
|
153
|
+
var ImageCSS = css(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n\n ", "\n\n ", "\n"], ["\n width: 100%;\n height: 100%;\n object-fit: cover;\n\n ", "\n\n ", "\n"])), media.tablet(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "], ["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "]))), media.desktop(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n width: 100%;\n font-size: ", ";\n line-height: ", ";\n "], ["\n width: 100%;\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
154
|
+
var theme = _a.theme;
|
155
|
+
return theme.components.fullBgHero.description.fontSizes.desktop.fontSize;
|
156
|
+
}, function (_a) {
|
157
|
+
var theme = _a.theme;
|
158
|
+
return theme.components.fullBgHero.description.fontSizes.desktop.lineHeight;
|
159
|
+
}));
|
160
|
+
var Overlay = styled.div.withConfig({
|
161
|
+
displayName: "FullBgHerostyles__Overlay",
|
162
|
+
componentId: "sc-1ul7hg6-8"
|
163
|
+
})(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: black;\n opacity: ", ";\n"], ["\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: black;\n opacity: ", ";\n"])), function (_a) {
|
164
|
+
var opacity = _a.opacity;
|
165
|
+
return opacity;
|
166
|
+
});
|
167
|
+
var DynamicImage = styled(GatsbyImage).withConfig({
|
168
|
+
displayName: "FullBgHerostyles__DynamicImage",
|
169
|
+
componentId: "sc-1ul7hg6-9"
|
170
|
+
})(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), ImageCSS);
|
171
|
+
var StaticImage = styled.img.withConfig({
|
172
|
+
displayName: "FullBgHerostyles__StaticImage",
|
173
|
+
componentId: "sc-1ul7hg6-10"
|
174
|
+
})(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), ImageCSS);
|
175
|
+
var Video = styled.video.withConfig({
|
176
|
+
displayName: "FullBgHerostyles__Video",
|
177
|
+
componentId: "sc-1ul7hg6-11"
|
178
|
+
})(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n object-fit: cover;\n\n ", "\n\n ", "\n"], ["\n height: 100%;\n width: 100%;\n object-fit: cover;\n\n ", "\n\n ", "\n"])), media.tablet(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "], ["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "]))), media.desktop(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "], ["\n height: 100%;\n max-height: unset;\n position: absolute !important;\n "]))));
|
179
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26;
|
180
|
+
export { Description, DynamicImage, MainContainer, MediaContainer, Overlay, ReadMore, ReadMoreContainer, ReadMoreScrollContainer, StaticImage, TextContainer, Title, Video };
|
@@ -0,0 +1,285 @@
|
|
1
|
+
import { __makeTemplateObject } from '../../_virtual/_tslib.js';
|
2
|
+
import { createGlobalStyle } from 'styled-components';
|
3
|
+
import media from '../../styles/media.js';
|
4
|
+
var GlobalStyle = createGlobalStyle(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n\n .scroll-disabled{\n overflow: hidden;\n }\n\n /* \n Applied here instead of the specific component using ant-select\n due to the select dropdown being rendered outside of the scope of the component\n by antd\n */\n .ant-select-dropdown {\n background-color: ", " !important;\n\n .ant-select-item-option-content {\n font-family: ", " !important;\n font-size: ", " !important;\n font-weight: ", " !important;\n }\n\n .ant-select-item-option-active:not(.ant-select-item-option-disabled):not(.ant-select-item-option-selected) {\n background-color: ", " !important ;\n }\n }\n\n * {\n scroll-margin-top: ", ";\n }\n\n body {\n margin: 0;\n background-color:", ";\n font-family: ", ";\n font-weight: ", ";\n color: ", ";\n }\n\n h1, h2, h3, h4, h5, h6 {\n margin: 0;\n }\n\n p, li, ul, ol {\n margin: 0;\n }\n\n a {\n color: ", ";\n text-decoration: ", ";\n &:hover {\n filter: brightness(0.80);\n }\n }\n\n p {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n }\n\n li {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n }\n\n ol {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n }\n\n h1 {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n letter-spacing: ", ";\n\n\n ", "\n\n ", "\n }\n\n h2 {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n letter-spacing: ", ";\n\n ", "\n\n ", "\n }\n\n h3 {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n letter-spacing: ", ";\n\n ", "\n\n ", "\n }\n\n h4 {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n letter-spacing: ", ";\n\n ", "\n\n ", "\n }\n\n h5 {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n letter-spacing: ", ";\n\n ", "\n\n ", "\n }\n\n h6 {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n letter-spacing: ", ";\n\n ", "\n\n ", "\n }\n"], ["\n\n .scroll-disabled{\n overflow: hidden;\n }\n\n /* \n Applied here instead of the specific component using ant-select\n due to the select dropdown being rendered outside of the scope of the component\n by antd\n */\n .ant-select-dropdown {\n background-color: ", " !important;\n\n .ant-select-item-option-content {\n font-family: ", " !important;\n font-size: ", " !important;\n font-weight: ", " !important;\n }\n\n .ant-select-item-option-active:not(.ant-select-item-option-disabled):not(.ant-select-item-option-selected) {\n background-color: ", " !important ;\n }\n }\n\n * {\n scroll-margin-top: ", ";\n }\n\n body {\n margin: 0;\n background-color:", ";\n font-family: ", ";\n font-weight: ", ";\n color: ", ";\n }\n\n h1, h2, h3, h4, h5, h6 {\n margin: 0;\n }\n\n p, li, ul, ol {\n margin: 0;\n }\n\n a {\n color: ", ";\n text-decoration: ", ";\n &:hover {\n filter: brightness(0.80);\n }\n }\n\n p {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n }\n\n li {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n }\n\n ol {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n }\n\n h1 {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n letter-spacing: ", ";\n\n\n ", "\n\n ", "\n }\n\n h2 {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n letter-spacing: ", ";\n\n ", "\n\n ", "\n }\n\n h3 {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n letter-spacing: ", ";\n\n ", "\n\n ", "\n }\n\n h4 {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n letter-spacing: ", ";\n\n ", "\n\n ", "\n }\n\n h5 {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n letter-spacing: ", ";\n\n ", "\n\n ", "\n }\n\n h6 {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n letter-spacing: ", ";\n\n ", "\n\n ", "\n }\n"])), function (_a) {
|
5
|
+
var theme = _a.theme;
|
6
|
+
return theme.components.languageSelector.dropdownBackground;
|
7
|
+
}, function (_a) {
|
8
|
+
var theme = _a.theme;
|
9
|
+
return theme.components.languageSelector.fontFamily;
|
10
|
+
}, function (_a) {
|
11
|
+
var theme = _a.theme;
|
12
|
+
return theme.components.languageSelector.fontSizes.mobile.fontSize;
|
13
|
+
}, function (_a) {
|
14
|
+
var theme = _a.theme;
|
15
|
+
return theme.components.languageSelector.fontWeight;
|
16
|
+
}, function (_a) {
|
17
|
+
var theme = _a.theme;
|
18
|
+
return theme.components.languageSelector.dropdownBackgroundHover;
|
19
|
+
}, function (_a) {
|
20
|
+
var theme = _a.theme;
|
21
|
+
return theme.components.globalStyle.scrollMarginTop;
|
22
|
+
}, function (_a) {
|
23
|
+
var theme = _a.theme;
|
24
|
+
return theme.components.globalStyle.backgroundColor;
|
25
|
+
}, function (_a) {
|
26
|
+
var theme = _a.theme;
|
27
|
+
return theme.components.globalStyle.p.fontFamily;
|
28
|
+
}, function (_a) {
|
29
|
+
var theme = _a.theme;
|
30
|
+
return theme.components.globalStyle.p.fontWeight;
|
31
|
+
}, function (_a) {
|
32
|
+
var theme = _a.theme;
|
33
|
+
return theme.components.globalStyle.p.color;
|
34
|
+
}, function (_a) {
|
35
|
+
var theme = _a.theme;
|
36
|
+
return theme.components.globalStyle.a.color;
|
37
|
+
}, function (_a) {
|
38
|
+
var theme = _a.theme;
|
39
|
+
return theme.components.globalStyle.a.textDecoration;
|
40
|
+
}, function (_a) {
|
41
|
+
var theme = _a.theme;
|
42
|
+
return theme.components.globalStyle.p.fontFamily;
|
43
|
+
}, function (_a) {
|
44
|
+
var theme = _a.theme;
|
45
|
+
return theme.components.globalStyle.p.fontWeight;
|
46
|
+
}, function (_a) {
|
47
|
+
var theme = _a.theme;
|
48
|
+
return theme.components.globalStyle.p.fontSizes.mobile.fontSize;
|
49
|
+
}, function (_a) {
|
50
|
+
var theme = _a.theme;
|
51
|
+
return theme.components.globalStyle.p.fontSizes.mobile.lineHeight;
|
52
|
+
}, function (_a) {
|
53
|
+
var theme = _a.theme;
|
54
|
+
return theme.components.globalStyle.p.color;
|
55
|
+
}, function (_a) {
|
56
|
+
var theme = _a.theme;
|
57
|
+
return theme.components.globalStyle.li.fontFamily;
|
58
|
+
}, function (_a) {
|
59
|
+
var theme = _a.theme;
|
60
|
+
return theme.components.globalStyle.li.fontWeight;
|
61
|
+
}, function (_a) {
|
62
|
+
var theme = _a.theme;
|
63
|
+
return theme.components.globalStyle.li.fontSizes.mobile.fontSize;
|
64
|
+
}, function (_a) {
|
65
|
+
var theme = _a.theme;
|
66
|
+
return theme.components.globalStyle.li.fontSizes.mobile.lineHeight;
|
67
|
+
}, function (_a) {
|
68
|
+
var theme = _a.theme;
|
69
|
+
return theme.components.globalStyle.li.color;
|
70
|
+
}, function (_a) {
|
71
|
+
var theme = _a.theme;
|
72
|
+
return theme.components.globalStyle.ol.fontFamily;
|
73
|
+
}, function (_a) {
|
74
|
+
var theme = _a.theme;
|
75
|
+
return theme.components.globalStyle.ol.fontWeight;
|
76
|
+
}, function (_a) {
|
77
|
+
var theme = _a.theme;
|
78
|
+
return theme.components.globalStyle.ol.fontSizes.mobile.fontSize;
|
79
|
+
}, function (_a) {
|
80
|
+
var theme = _a.theme;
|
81
|
+
return theme.components.globalStyle.ol.fontSizes.mobile.lineHeight;
|
82
|
+
}, function (_a) {
|
83
|
+
var theme = _a.theme;
|
84
|
+
return theme.components.globalStyle.ol.color;
|
85
|
+
}, function (_a) {
|
86
|
+
var theme = _a.theme;
|
87
|
+
return theme.components.globalStyle.h1.fontFamily;
|
88
|
+
}, function (_a) {
|
89
|
+
var theme = _a.theme;
|
90
|
+
return theme.components.globalStyle.h1.fontWeight;
|
91
|
+
}, function (_a) {
|
92
|
+
var theme = _a.theme;
|
93
|
+
return theme.components.globalStyle.h1.fontSizes.mobile.fontSize;
|
94
|
+
}, function (_a) {
|
95
|
+
var theme = _a.theme;
|
96
|
+
return theme.components.globalStyle.h1.fontSizes.mobile.lineHeight;
|
97
|
+
}, function (_a) {
|
98
|
+
var theme = _a.theme;
|
99
|
+
return theme.components.globalStyle.h1.color;
|
100
|
+
}, function (_a) {
|
101
|
+
var theme = _a.theme;
|
102
|
+
return theme.components.globalStyle.h1.textTransform;
|
103
|
+
}, function (_a) {
|
104
|
+
var theme = _a.theme;
|
105
|
+
return theme.components.globalStyle.h1.letterSpacing;
|
106
|
+
}, media.tablet(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
107
|
+
var theme = _a.theme;
|
108
|
+
return theme.components.globalStyle.h1.fontSizes.tablet.fontSize;
|
109
|
+
}, function (_a) {
|
110
|
+
var theme = _a.theme;
|
111
|
+
return theme.components.globalStyle.h1.fontSizes.tablet.lineHeight;
|
112
|
+
}), media.desktop(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
113
|
+
var theme = _a.theme;
|
114
|
+
return theme.components.globalStyle.h1.fontSizes.desktop.fontSize;
|
115
|
+
}, function (_a) {
|
116
|
+
var theme = _a.theme;
|
117
|
+
return theme.components.globalStyle.h1.fontSizes.desktop.lineHeight;
|
118
|
+
}), function (_a) {
|
119
|
+
var theme = _a.theme;
|
120
|
+
return theme.components.globalStyle.h2.fontFamily;
|
121
|
+
}, function (_a) {
|
122
|
+
var theme = _a.theme;
|
123
|
+
return theme.components.globalStyle.h2.fontWeight;
|
124
|
+
}, function (_a) {
|
125
|
+
var theme = _a.theme;
|
126
|
+
return theme.components.globalStyle.h2.fontSizes.mobile.fontSize;
|
127
|
+
}, function (_a) {
|
128
|
+
var theme = _a.theme;
|
129
|
+
return theme.components.globalStyle.h2.fontSizes.mobile.lineHeight;
|
130
|
+
}, function (_a) {
|
131
|
+
var theme = _a.theme;
|
132
|
+
return theme.components.globalStyle.h2.color;
|
133
|
+
}, function (_a) {
|
134
|
+
var theme = _a.theme;
|
135
|
+
return theme.components.globalStyle.h2.textTransform;
|
136
|
+
}, function (_a) {
|
137
|
+
var theme = _a.theme;
|
138
|
+
return theme.components.globalStyle.h2.letterSpacing;
|
139
|
+
}, media.tablet(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
140
|
+
var theme = _a.theme;
|
141
|
+
return theme.components.globalStyle.h2.fontSizes.tablet.fontSize;
|
142
|
+
}, function (_a) {
|
143
|
+
var theme = _a.theme;
|
144
|
+
return theme.components.globalStyle.h2.fontSizes.tablet.lineHeight;
|
145
|
+
}), media.desktop(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
146
|
+
var theme = _a.theme;
|
147
|
+
return theme.components.globalStyle.h2.fontSizes.desktop.fontSize;
|
148
|
+
}, function (_a) {
|
149
|
+
var theme = _a.theme;
|
150
|
+
return theme.components.globalStyle.h2.fontSizes.desktop.lineHeight;
|
151
|
+
}), function (_a) {
|
152
|
+
var theme = _a.theme;
|
153
|
+
return theme.components.globalStyle.h3.fontFamily;
|
154
|
+
}, function (_a) {
|
155
|
+
var theme = _a.theme;
|
156
|
+
return theme.components.globalStyle.h3.fontWeight;
|
157
|
+
}, function (_a) {
|
158
|
+
var theme = _a.theme;
|
159
|
+
return theme.components.globalStyle.h3.fontSizes.mobile.fontSize;
|
160
|
+
}, function (_a) {
|
161
|
+
var theme = _a.theme;
|
162
|
+
return theme.components.globalStyle.h3.fontSizes.mobile.lineHeight;
|
163
|
+
}, function (_a) {
|
164
|
+
var theme = _a.theme;
|
165
|
+
return theme.components.globalStyle.h3.color;
|
166
|
+
}, function (_a) {
|
167
|
+
var theme = _a.theme;
|
168
|
+
return theme.components.globalStyle.h3.textTransform;
|
169
|
+
}, function (_a) {
|
170
|
+
var theme = _a.theme;
|
171
|
+
return theme.components.globalStyle.h3.letterSpacing;
|
172
|
+
}, media.tablet(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
173
|
+
var theme = _a.theme;
|
174
|
+
return theme.components.globalStyle.h3.fontSizes.tablet.fontSize;
|
175
|
+
}, function (_a) {
|
176
|
+
var theme = _a.theme;
|
177
|
+
return theme.components.globalStyle.h3.fontSizes.tablet.lineHeight;
|
178
|
+
}), media.desktop(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
179
|
+
var theme = _a.theme;
|
180
|
+
return theme.components.globalStyle.h3.fontSizes.desktop.fontSize;
|
181
|
+
}, function (_a) {
|
182
|
+
var theme = _a.theme;
|
183
|
+
return theme.components.globalStyle.h3.fontSizes.desktop.lineHeight;
|
184
|
+
}), function (_a) {
|
185
|
+
var theme = _a.theme;
|
186
|
+
return theme.components.globalStyle.h4.fontFamily;
|
187
|
+
}, function (_a) {
|
188
|
+
var theme = _a.theme;
|
189
|
+
return theme.components.globalStyle.h4.fontWeight;
|
190
|
+
}, function (_a) {
|
191
|
+
var theme = _a.theme;
|
192
|
+
return theme.components.globalStyle.h4.fontSizes.mobile.fontSize;
|
193
|
+
}, function (_a) {
|
194
|
+
var theme = _a.theme;
|
195
|
+
return theme.components.globalStyle.h4.fontSizes.mobile.lineHeight;
|
196
|
+
}, function (_a) {
|
197
|
+
var theme = _a.theme;
|
198
|
+
return theme.components.globalStyle.h4.color;
|
199
|
+
}, function (_a) {
|
200
|
+
var theme = _a.theme;
|
201
|
+
return theme.components.globalStyle.h4.textTransform;
|
202
|
+
}, function (_a) {
|
203
|
+
var theme = _a.theme;
|
204
|
+
return theme.components.globalStyle.h4.letterSpacing;
|
205
|
+
}, media.tablet(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
206
|
+
var theme = _a.theme;
|
207
|
+
return theme.components.globalStyle.h4.fontSizes.tablet.fontSize;
|
208
|
+
}, function (_a) {
|
209
|
+
var theme = _a.theme;
|
210
|
+
return theme.components.globalStyle.h4.fontSizes.tablet.lineHeight;
|
211
|
+
}), media.desktop(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
212
|
+
var theme = _a.theme;
|
213
|
+
return theme.components.globalStyle.h4.fontSizes.desktop.fontSize;
|
214
|
+
}, function (_a) {
|
215
|
+
var theme = _a.theme;
|
216
|
+
return theme.components.globalStyle.h4.fontSizes.desktop.lineHeight;
|
217
|
+
}), function (_a) {
|
218
|
+
var theme = _a.theme;
|
219
|
+
return theme.components.globalStyle.h5.fontFamily;
|
220
|
+
}, function (_a) {
|
221
|
+
var theme = _a.theme;
|
222
|
+
return theme.components.globalStyle.h5.fontWeight;
|
223
|
+
}, function (_a) {
|
224
|
+
var theme = _a.theme;
|
225
|
+
return theme.components.globalStyle.h5.fontSizes.mobile.fontSize;
|
226
|
+
}, function (_a) {
|
227
|
+
var theme = _a.theme;
|
228
|
+
return theme.components.globalStyle.h5.fontSizes.mobile.lineHeight;
|
229
|
+
}, function (_a) {
|
230
|
+
var theme = _a.theme;
|
231
|
+
return theme.components.globalStyle.h5.color;
|
232
|
+
}, function (_a) {
|
233
|
+
var theme = _a.theme;
|
234
|
+
return theme.components.globalStyle.h5.textTransform;
|
235
|
+
}, function (_a) {
|
236
|
+
var theme = _a.theme;
|
237
|
+
return theme.components.globalStyle.h5.letterSpacing;
|
238
|
+
}, media.tablet(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
239
|
+
var theme = _a.theme;
|
240
|
+
return theme.components.globalStyle.h5.fontSizes.tablet.fontSize;
|
241
|
+
}, function (_a) {
|
242
|
+
var theme = _a.theme;
|
243
|
+
return theme.components.globalStyle.h5.fontSizes.tablet.lineHeight;
|
244
|
+
}), media.desktop(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
245
|
+
var theme = _a.theme;
|
246
|
+
return theme.components.globalStyle.h5.fontSizes.desktop.fontSize;
|
247
|
+
}, function (_a) {
|
248
|
+
var theme = _a.theme;
|
249
|
+
return theme.components.globalStyle.h5.fontSizes.desktop.lineHeight;
|
250
|
+
}), function (_a) {
|
251
|
+
var theme = _a.theme;
|
252
|
+
return theme.components.globalStyle.h6.fontFamily;
|
253
|
+
}, function (_a) {
|
254
|
+
var theme = _a.theme;
|
255
|
+
return theme.components.globalStyle.h6.fontWeight;
|
256
|
+
}, function (_a) {
|
257
|
+
var theme = _a.theme;
|
258
|
+
return theme.components.globalStyle.h6.fontSizes.mobile.fontSize;
|
259
|
+
}, function (_a) {
|
260
|
+
var theme = _a.theme;
|
261
|
+
return theme.components.globalStyle.h6.fontSizes.mobile.lineHeight;
|
262
|
+
}, function (_a) {
|
263
|
+
var theme = _a.theme;
|
264
|
+
return theme.components.globalStyle.h6.color;
|
265
|
+
}, function (_a) {
|
266
|
+
var theme = _a.theme;
|
267
|
+
return theme.components.globalStyle.h6.textTransform;
|
268
|
+
}, function (_a) {
|
269
|
+
var theme = _a.theme;
|
270
|
+
return theme.components.globalStyle.h6.letterSpacing;
|
271
|
+
}, media.tablet(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
272
|
+
var theme = _a.theme;
|
273
|
+
return theme.components.globalStyle.h6.fontSizes.tablet.fontSize;
|
274
|
+
}, function (_a) {
|
275
|
+
var theme = _a.theme;
|
276
|
+
return theme.components.globalStyle.h6.fontSizes.tablet.lineHeight;
|
277
|
+
}), media.desktop(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
|
278
|
+
var theme = _a.theme;
|
279
|
+
return theme.components.globalStyle.h6.fontSizes.desktop.fontSize;
|
280
|
+
}, function (_a) {
|
281
|
+
var theme = _a.theme;
|
282
|
+
return theme.components.globalStyle.h6.fontSizes.desktop.lineHeight;
|
283
|
+
}));
|
284
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13;
|
285
|
+
export { GlobalStyle };
|