@blateral/b.kit 2.8.4 → 3.0.1
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/Actions-2590a7b9.js +2 -0
- package/cjs/{Actions-c52a14e4.js.map → Actions-2590a7b9.js.map} +1 -1
- package/cjs/Bdot-35350767.js +2 -0
- package/cjs/{Bdot-62c8e349.js.map → Bdot-35350767.js.map} +1 -1
- package/cjs/Button-ddcdefd5.js +2 -0
- package/cjs/Button-ddcdefd5.js.map +1 -0
- package/cjs/ButtonGhost-22501467.js +2 -0
- package/cjs/ButtonGhost-22501467.js.map +1 -0
- package/cjs/ButtonLeft-7e1f216a.js +2 -0
- package/cjs/ButtonLeft-7e1f216a.js.map +1 -0
- package/cjs/Callout-86a61040.js +2 -0
- package/cjs/Callout-86a61040.js.map +1 -0
- package/cjs/Checkbox-d27880f4.js +2 -0
- package/cjs/Checkbox-d27880f4.js.map +1 -0
- package/cjs/Control-40e6d4ed.js +2 -0
- package/cjs/Control-40e6d4ed.js.map +1 -0
- package/cjs/Copy-1b9e33ba.js +2 -0
- package/cjs/Copy-1b9e33ba.js.map +1 -0
- package/cjs/EventBlock-7dde179c.js +2 -0
- package/cjs/EventBlock-7dde179c.js.map +1 -0
- package/cjs/FilterBar-238c2290.js +2 -0
- package/cjs/FilterBar-238c2290.js.map +1 -0
- package/cjs/FilterField-c8dc9450.js +2 -0
- package/cjs/{FilterField-d204feb1.js.map → FilterField-c8dc9450.js.map} +1 -1
- package/cjs/Grid-dab3343f.js +2 -0
- package/cjs/Grid-dab3343f.js.map +1 -0
- package/cjs/Image-14b2cb93.js +2 -0
- package/cjs/Image-14b2cb93.js.map +1 -0
- package/cjs/InfoList-b4f39949.js +2 -0
- package/cjs/InfoList-b4f39949.js.map +1 -0
- package/cjs/LanguageSwitcher-3ee77117.js +2 -0
- package/cjs/{LanguageSwitcher-c6fd04df.js.map → LanguageSwitcher-3ee77117.js.map} +1 -1
- package/cjs/LibThemeProvider-878ed68c.js +2 -0
- package/cjs/{LibThemeProvider-69109901.js.map → LibThemeProvider-878ed68c.js.map} +1 -1
- package/cjs/Link-6e728957.js +2 -0
- package/cjs/Link-6e728957.js.map +1 -0
- package/cjs/MultiselectDropdown-54cd988f.js +2 -0
- package/cjs/MultiselectDropdown-54cd988f.js.map +1 -0
- package/cjs/Navigation-2d3590a0.js +2 -0
- package/cjs/{Navigation-6c5d9dee.js.map → Navigation-2d3590a0.js.map} +1 -1
- package/cjs/PickerAction-ed288096.js +2 -0
- package/cjs/PickerAction-ed288096.js.map +1 -0
- package/cjs/Pointer-b8875387.js +2 -0
- package/cjs/Pointer-b8875387.js.map +1 -0
- package/cjs/Section-89240e41.js +2 -0
- package/cjs/Section-89240e41.js.map +1 -0
- package/cjs/SocialList-f2aca9d8.js +2 -0
- package/cjs/{SocialList-73af56b5.js.map → SocialList-f2aca9d8.js.map} +1 -1
- package/cjs/TableBlock-8f87c278.js +2 -0
- package/cjs/TableBlock-8f87c278.js.map +1 -0
- package/cjs/Tag-430477d0.js +2 -0
- package/cjs/Tag-430477d0.js.map +1 -0
- package/cjs/Textarea-51bea7d0.js +2 -0
- package/cjs/Textarea-51bea7d0.js.map +1 -0
- package/cjs/Textfield-4ff93649.js +2 -0
- package/cjs/Textfield-4ff93649.js.map +1 -0
- package/cjs/VideoBlock-087d79b8.js +2 -0
- package/cjs/{VideoBlock-0cae22f0.js.map → VideoBlock-087d79b8.js.map} +1 -1
- package/cjs/VideoCard-6e2ae7c1.js +2 -0
- package/cjs/VideoCard-6e2ae7c1.js.map +1 -0
- package/cjs/Wrapper-c755d727.js +2 -0
- package/cjs/{Wrapper-bca9463e.js.map → Wrapper-c755d727.js.map} +1 -1
- package/cjs/base.js +1 -1
- package/cjs/blocks.js +1 -1
- package/cjs/buttons.js +1 -1
- package/cjs/concat-8bd71a50.js +2 -0
- package/cjs/{concat-f387d848.js.map → concat-8bd71a50.js.map} +1 -1
- package/cjs/cookies.js +1 -1
- package/cjs/cookies.js.map +1 -1
- package/cjs/fields.js +1 -1
- package/cjs/fields.js.map +1 -1
- package/cjs/footer.js +1 -1
- package/cjs/footer.js.map +1 -1
- package/cjs/formFieldText-fcf0452b.js +2 -0
- package/cjs/formFieldText-fcf0452b.js.map +1 -0
- package/cjs/headers.js +1 -1
- package/cjs/headers.js.map +1 -1
- package/cjs/hooks.js +1 -1
- package/cjs/hooks.js.map +1 -1
- package/cjs/icons.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/navigation-ec5cddfc.js +2 -0
- package/cjs/{navigation-3f9d4ac4.js.map → navigation-ec5cddfc.js.map} +1 -1
- package/cjs/navigation.js +1 -1
- package/cjs/navigation.js.map +1 -1
- package/cjs/sections.dynamicform.js +1 -1
- package/cjs/sections.dynamicform.js.map +1 -1
- package/cjs/sections.events.js +1 -1
- package/cjs/sections.events.js.map +1 -1
- package/cjs/sections.forms.js +1 -1
- package/cjs/sections.forms.js.map +1 -1
- package/cjs/sections.jobs.js +1 -1
- package/cjs/sections.jobs.js.map +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/sections.pois.js.map +1 -1
- package/cjs/structuredData-7c33a463.js +2 -0
- package/cjs/structuredData-7c33a463.js.map +1 -0
- package/cjs/styles-271afb02.js +2 -0
- package/cjs/styles-271afb02.js.map +1 -0
- package/cjs/typography.js +1 -1
- package/cjs/{urlParams-7525f638.js → urlParams-c412d937.js} +2 -2
- package/cjs/{urlParams-7525f638.js.map → urlParams-c412d937.js.map} +1 -1
- package/cjs/useCookieConsent-674d004d.js +2 -0
- package/cjs/{useCookieConsent-665d91cf.js.map → useCookieConsent-674d004d.js.map} +1 -1
- package/cjs/useEqualSheetHeight-7eb7f276.js +2 -0
- package/cjs/{useEqualSheetHeight-f1c10ec5.js.map → useEqualSheetHeight-7eb7f276.js.map} +1 -1
- package/cjs/useLazyInput-1481445a.js +2 -0
- package/cjs/{useLazyInput-911b8eda.js.map → useLazyInput-1481445a.js.map} +1 -1
- package/cjs/useLeafletMap-145217ee.js +2 -0
- package/cjs/{useLeafletMap-514304b6.js.map → useLeafletMap-145217ee.js.map} +1 -1
- package/cjs/useMediaQuery-dd367f98.js +2 -0
- package/cjs/{useMediaQuery-619d7203.js.map → useMediaQuery-dd367f98.js.map} +1 -1
- package/esm/{Actions-e29b5e75.js → Actions-6859c932.js} +3 -3
- package/esm/{Actions-e29b5e75.js.map → Actions-6859c932.js.map} +1 -1
- package/esm/{Bdot-5e798e7e.js → Bdot-9e215df7.js} +3 -3
- package/esm/{Bdot-5e798e7e.js.map → Bdot-9e215df7.js.map} +1 -1
- package/esm/Button-1f634865.js +146 -0
- package/esm/Button-1f634865.js.map +1 -0
- package/esm/ButtonGhost-476c3826.js +146 -0
- package/esm/ButtonGhost-476c3826.js.map +1 -0
- package/esm/{Filter-19220970.js → ButtonLeft-a9a132f5.js} +362 -246
- package/esm/ButtonLeft-a9a132f5.js.map +1 -0
- package/esm/{Callout-46f0bef0.js → Callout-6436d270.js} +8 -6
- package/esm/Callout-6436d270.js.map +1 -0
- package/esm/{Checkbox-962fea67.js → Checkbox-e7fc7d28.js} +21 -11
- package/esm/Checkbox-e7fc7d28.js.map +1 -0
- package/esm/Control-84268468.js +44 -0
- package/esm/Control-84268468.js.map +1 -0
- package/esm/{Copy-fd9e25c0.js → Copy-5a18e01f.js} +27 -9
- package/esm/Copy-5a18e01f.js.map +1 -0
- package/esm/{EventBlock-12361860.js → EventBlock-0d010725.js} +62 -27
- package/esm/EventBlock-0d010725.js.map +1 -0
- package/esm/{FilterBar-8c258534.js → FilterBar-d6c1ef40.js} +38 -24
- package/esm/FilterBar-d6c1ef40.js.map +1 -0
- package/esm/{FilterField-8e64b355.js → FilterField-251b4dad.js} +5 -5
- package/esm/{FilterField-8e64b355.js.map → FilterField-251b4dad.js.map} +1 -1
- package/esm/{Grid-7b33e271.js → Grid-cbd5e68c.js} +19 -12
- package/esm/Grid-cbd5e68c.js.map +1 -0
- package/esm/{Image-c67870d4.js → Image-e2018d39.js} +15 -10
- package/esm/Image-e2018d39.js.map +1 -0
- package/esm/{InfoList-d853db58.js → InfoList-1be2ff46.js} +14 -7
- package/esm/InfoList-1be2ff46.js.map +1 -0
- package/esm/{LanguageSwitcher-c9aa594a.js → LanguageSwitcher-19482399.js} +5 -5
- package/esm/{LanguageSwitcher-c9aa594a.js.map → LanguageSwitcher-19482399.js.map} +1 -1
- package/esm/{LibThemeProvider-fb1d35ac.js → LibThemeProvider-48cad3e8.js} +3 -3
- package/esm/{LibThemeProvider-fb1d35ac.js.map → LibThemeProvider-48cad3e8.js.map} +1 -1
- package/esm/{Link-6067a27f.js → Link-d4a291af.js} +15 -8
- package/esm/Link-d4a291af.js.map +1 -0
- package/esm/{MultiselectDropdown-61a5a1a6.js → MultiselectDropdown-20b33522.js} +33 -13
- package/esm/MultiselectDropdown-20b33522.js.map +1 -0
- package/esm/{Navigation-6581bcdf.js → Navigation-d7e14d09.js} +10 -10
- package/esm/{Navigation-6581bcdf.js.map → Navigation-d7e14d09.js.map} +1 -1
- package/esm/PickerAction-704f2992.js +65 -0
- package/esm/PickerAction-704f2992.js.map +1 -0
- package/esm/Pointer-41c10bba.js +144 -0
- package/esm/Pointer-41c10bba.js.map +1 -0
- package/esm/{Section-bd61eb2f.js → Section-ca6daed2.js} +9 -5
- package/esm/Section-ca6daed2.js.map +1 -0
- package/esm/{SocialList-abaf970d.js → SocialList-d5adb772.js} +5 -5
- package/esm/{SocialList-abaf970d.js.map → SocialList-d5adb772.js.map} +1 -1
- package/esm/{TableBlock-a65315ca.js → TableBlock-5aad5dd2.js} +63 -115
- package/esm/TableBlock-5aad5dd2.js.map +1 -0
- package/esm/{Tag-217cd89b.js → Tag-f3f23d9b.js} +9 -13
- package/esm/Tag-f3f23d9b.js.map +1 -0
- package/esm/{Textarea-60503eb7.js → Textarea-af789d6e.js} +341 -252
- package/esm/Textarea-af789d6e.js.map +1 -0
- package/esm/{Textfield-e8f48b5f.js → Textfield-1f1ae077.js} +18 -6
- package/esm/Textfield-1f1ae077.js.map +1 -0
- package/esm/{VideoBlock-3f150172.js → VideoBlock-3c99c5fc.js} +12 -8
- package/esm/VideoBlock-3c99c5fc.js.map +1 -0
- package/esm/{VideoCard-aa60fbe5.js → VideoCard-dc103fce.js} +29 -24
- package/esm/VideoCard-dc103fce.js.map +1 -0
- package/esm/{Wrapper-95108115.js → Wrapper-06db8e79.js} +3 -3
- package/esm/{Wrapper-95108115.js.map → Wrapper-06db8e79.js.map} +1 -1
- package/esm/base.js +6 -6
- package/esm/blocks.js +22 -22
- package/esm/buttons.js +7 -6
- package/esm/buttons.js.map +1 -1
- package/esm/{concat-ab3c66f2.js → concat-b6d6d978.js} +2 -2
- package/esm/concat-b6d6d978.js.map +1 -0
- package/esm/cookies.js +57 -46
- package/esm/cookies.js.map +1 -1
- package/esm/fields.js +56 -123
- package/esm/fields.js.map +1 -1
- package/esm/footer.js +15 -13
- package/esm/footer.js.map +1 -1
- package/esm/{formFieldText-c6fcd370.js → formFieldText-af2106f9.js} +14 -8
- package/esm/formFieldText-af2106f9.js.map +1 -0
- package/esm/headers.js +21 -17
- package/esm/headers.js.map +1 -1
- package/esm/hooks.js +12 -12
- package/esm/icons.js +5 -2
- package/esm/icons.js.map +1 -1
- package/esm/index.js +3 -3
- package/esm/{navigation-5216dbad.js → navigation-d3d2bf2e.js} +2 -2
- package/esm/{navigation-5216dbad.js.map → navigation-d3d2bf2e.js.map} +1 -1
- package/esm/navigation.js +12 -12
- package/esm/sections.dynamicform.js +29 -33
- package/esm/sections.dynamicform.js.map +1 -1
- package/esm/sections.events.js +48 -30
- package/esm/sections.events.js.map +1 -1
- package/esm/sections.forms.js +11 -11
- package/esm/sections.jobs.js +99 -45
- package/esm/sections.jobs.js.map +1 -1
- package/esm/sections.js +537 -259
- package/esm/sections.js.map +1 -1
- package/esm/sections.news.js +155 -81
- package/esm/sections.news.js.map +1 -1
- package/esm/sections.pois.js +39 -34
- package/esm/sections.pois.js.map +1 -1
- package/esm/{structuredData-abf610d8.js → structuredData-73bcbf07.js} +32 -2
- package/esm/structuredData-73bcbf07.js.map +1 -0
- package/esm/{styles-1f1841ef.js → styles-f3ba5bae.js} +3 -2
- package/esm/styles-f3ba5bae.js.map +1 -0
- package/esm/typography.js +6 -6
- package/esm/{urlParams-9cfdaf71.js → urlParams-e7114d3e.js} +2 -2
- package/esm/{urlParams-9cfdaf71.js.map → urlParams-e7114d3e.js.map} +1 -1
- package/esm/{useCookieConsent-6661d419.js → useCookieConsent-4b667d40.js} +2 -2
- package/esm/{useCookieConsent-6661d419.js.map → useCookieConsent-4b667d40.js.map} +1 -1
- package/esm/{useEqualSheetHeight-60ff9de7.js → useEqualSheetHeight-80704864.js} +4 -4
- package/esm/{useEqualSheetHeight-60ff9de7.js.map → useEqualSheetHeight-80704864.js.map} +1 -1
- package/esm/{useLazyInput-0b6932aa.js → useLazyInput-08ee63f4.js} +2 -2
- package/esm/{useLazyInput-0b6932aa.js.map → useLazyInput-08ee63f4.js.map} +1 -1
- package/esm/{useLeafletMap-fa0ab7d4.js → useLeafletMap-f9050715.js} +2 -2
- package/esm/{useLeafletMap-fa0ab7d4.js.map → useLeafletMap-f9050715.js.map} +1 -1
- package/esm/{useMediaQuery-4c1b1fa6.js → useMediaQuery-c9fa1339.js} +3 -3
- package/esm/{useMediaQuery-4c1b1fa6.js.map → useMediaQuery-c9fa1339.js.map} +1 -1
- package/package.json +1 -1
- package/types/buttons.d.ts +1 -0
- package/types/buttons.d.ts.map +1 -1
- package/types/components/base/Grid.d.ts +3 -0
- package/types/components/base/Grid.d.ts.map +1 -1
- package/types/components/base/Section.d.ts +3 -1
- package/types/components/base/Section.d.ts.map +1 -1
- package/types/components/base/icons/ButtonLeft.d.ts +1 -2
- package/types/components/base/icons/ButtonLeft.d.ts.map +1 -1
- package/types/components/base/icons/ButtonRight.d.ts +1 -2
- package/types/components/base/icons/ButtonRight.d.ts.map +1 -1
- package/types/components/base/icons/CircleX.d.ts +10 -0
- package/types/components/base/icons/CircleX.d.ts.map +1 -0
- package/types/components/base/icons/Icons.d.ts +3 -0
- package/types/components/base/icons/Icons.d.ts.map +1 -1
- package/types/components/blocks/Alert.d.ts.map +1 -1
- package/types/components/blocks/CookieConsent.d.ts.map +1 -1
- package/types/components/blocks/EventBlock.d.ts +18 -11
- package/types/components/blocks/EventBlock.d.ts.map +1 -1
- package/types/components/blocks/Feature.d.ts +6 -2
- package/types/components/blocks/Feature.d.ts.map +1 -1
- package/types/components/blocks/Image.d.ts +2 -0
- package/types/components/blocks/Image.d.ts.map +1 -1
- package/types/components/blocks/InfoList.d.ts +5 -1
- package/types/components/blocks/InfoList.d.ts.map +1 -1
- package/types/components/blocks/JobCard.d.ts +4 -0
- package/types/components/blocks/JobCard.d.ts.map +1 -1
- package/types/components/blocks/NavBlock.d.ts.map +1 -1
- package/types/components/blocks/NewsCard.d.ts +20 -9
- package/types/components/blocks/NewsCard.d.ts.map +1 -1
- package/types/components/blocks/POICard.d.ts +7 -1
- package/types/components/blocks/POICard.d.ts.map +1 -1
- package/types/components/blocks/POIFacts.d.ts +1 -0
- package/types/components/blocks/POIFacts.d.ts.map +1 -1
- package/types/components/blocks/PriceTag.d.ts +9 -4
- package/types/components/blocks/PriceTag.d.ts.map +1 -1
- package/types/components/blocks/PromotionCard.d.ts +2 -2
- package/types/components/blocks/PromotionCard.d.ts.map +1 -1
- package/types/components/blocks/TableBlock.d.ts +2 -0
- package/types/components/blocks/TableBlock.d.ts.map +1 -1
- package/types/components/blocks/Tag.d.ts +1 -0
- package/types/components/blocks/Tag.d.ts.map +1 -1
- package/types/components/blocks/Title.d.ts +5 -0
- package/types/components/blocks/Title.d.ts.map +1 -1
- package/types/components/blocks/VideoBlock.d.ts +2 -0
- package/types/components/blocks/VideoBlock.d.ts.map +1 -1
- package/types/components/blocks/VideoCard.d.ts +2 -0
- package/types/components/blocks/VideoCard.d.ts.map +1 -1
- package/types/components/buttons/Button.d.ts +6 -1
- package/types/components/buttons/Button.d.ts.map +1 -1
- package/types/components/buttons/ButtonGhost.d.ts +6 -1
- package/types/components/buttons/ButtonGhost.d.ts.map +1 -1
- package/types/components/buttons/Control.d.ts.map +1 -1
- package/types/components/buttons/PickerAction.d.ts +14 -0
- package/types/components/buttons/PickerAction.d.ts.map +1 -0
- package/types/components/buttons/Pointer.d.ts +6 -2
- package/types/components/buttons/Pointer.d.ts.map +1 -1
- package/types/components/fields/Checkbox.d.ts +0 -1
- package/types/components/fields/Checkbox.d.ts.map +1 -1
- package/types/components/fields/CompactForm.d.ts.map +1 -1
- package/types/components/fields/Datepicker.d.ts +31 -13
- package/types/components/fields/Datepicker.d.ts.map +1 -1
- package/types/components/fields/FileUpload.d.ts.map +1 -1
- package/types/components/fields/FormField.d.ts +4 -1
- package/types/components/fields/FormField.d.ts.map +1 -1
- package/types/components/fields/LocationField.d.ts +1 -0
- package/types/components/fields/LocationField.d.ts.map +1 -1
- package/types/components/fields/MultiselectDropdown.d.ts.map +1 -1
- package/types/components/fields/Radio.d.ts +0 -1
- package/types/components/fields/Radio.d.ts.map +1 -1
- package/types/components/fields/SelectDropdown.d.ts.map +1 -1
- package/types/components/fields/Textarea.d.ts.map +1 -1
- package/types/components/fields/Textfield.d.ts.map +1 -1
- package/types/components/sections/Accordion.d.ts +6 -6
- package/types/components/sections/Accordion.d.ts.map +1 -1
- package/types/components/sections/AlertList.d.ts +10 -6
- package/types/components/sections/AlertList.d.ts.map +1 -1
- package/types/components/sections/CallToAction.d.ts +14 -9
- package/types/components/sections/CallToAction.d.ts.map +1 -1
- package/types/components/sections/CardList.d.ts +19 -14
- package/types/components/sections/CardList.d.ts.map +1 -1
- package/types/components/sections/ComparisonSlider.d.ts.map +1 -1
- package/types/components/sections/CrossPromotion.d.ts +11 -12
- package/types/components/sections/CrossPromotion.d.ts.map +1 -1
- package/types/components/sections/FactGrid.d.ts +4 -0
- package/types/components/sections/FactGrid.d.ts.map +1 -1
- package/types/components/sections/FactList.d.ts +13 -0
- package/types/components/sections/FactList.d.ts.map +1 -1
- package/types/components/sections/FeatureList.d.ts +4 -0
- package/types/components/sections/FeatureList.d.ts.map +1 -1
- package/types/components/sections/Gallery.d.ts +2 -0
- package/types/components/sections/Gallery.d.ts.map +1 -1
- package/types/components/sections/IconList.d.ts +4 -0
- package/types/components/sections/IconList.d.ts.map +1 -1
- package/types/components/sections/IndexList.d.ts +2 -0
- package/types/components/sections/IndexList.d.ts.map +1 -1
- package/types/components/sections/Map.d.ts +11 -24
- package/types/components/sections/Map.d.ts.map +1 -1
- package/types/components/sections/NavList.d.ts +2 -0
- package/types/components/sections/NavList.d.ts.map +1 -1
- package/types/components/sections/NumberList.d.ts +4 -0
- package/types/components/sections/NumberList.d.ts.map +1 -1
- package/types/components/sections/ParallaxBackground.d.ts.map +1 -1
- package/types/components/sections/PriceList.d.ts +18 -0
- package/types/components/sections/PriceList.d.ts.map +1 -1
- package/types/components/sections/PriceTable.d.ts +6 -2
- package/types/components/sections/PriceTable.d.ts.map +1 -1
- package/types/components/sections/Quote.d.ts.map +1 -1
- package/types/components/sections/RawVideo.d.ts +4 -0
- package/types/components/sections/RawVideo.d.ts.map +1 -1
- package/types/components/sections/SocialWall.d.ts +13 -12
- package/types/components/sections/SocialWall.d.ts.map +1 -1
- package/types/components/sections/Table.d.ts +11 -2
- package/types/components/sections/Table.d.ts.map +1 -1
- package/types/components/sections/Teaser.d.ts.map +1 -1
- package/types/components/sections/TeaserWide.d.ts.map +1 -1
- package/types/components/sections/Video.d.ts +2 -0
- package/types/components/sections/Video.d.ts.map +1 -1
- package/types/components/sections/events/EventDetail.d.ts +14 -14
- package/types/components/sections/events/EventDetail.d.ts.map +1 -1
- package/types/components/sections/events/EventList.d.ts +3 -16
- package/types/components/sections/events/EventList.d.ts.map +1 -1
- package/types/components/sections/events/EventOverview.d.ts +3 -15
- package/types/components/sections/events/EventOverview.d.ts.map +1 -1
- package/types/components/sections/form/DynamicForm.d.ts +9 -9
- package/types/components/sections/form/DynamicForm.d.ts.map +1 -1
- package/types/components/sections/form/renderer/datepickerRenderer.d.ts.map +1 -1
- package/types/components/sections/header/HeaderKenBurns.d.ts.map +1 -1
- package/types/components/sections/header/HeaderPoster.d.ts.map +1 -1
- package/types/components/sections/header/HeaderVideo.d.ts.map +1 -1
- package/types/components/sections/jobs/JobArticle.d.ts +4 -0
- package/types/components/sections/jobs/JobArticle.d.ts.map +1 -1
- package/types/components/sections/jobs/JobList.d.ts +8 -0
- package/types/components/sections/jobs/JobList.d.ts.map +1 -1
- package/types/components/sections/news/NewsAuthorCard.d.ts.map +1 -1
- package/types/components/sections/news/NewsFooter.d.ts +3 -16
- package/types/components/sections/news/NewsFooter.d.ts.map +1 -1
- package/types/components/sections/news/NewsImages.d.ts.map +1 -1
- package/types/components/sections/news/NewsIntro.d.ts.map +1 -1
- package/types/components/sections/news/NewsList.d.ts +3 -16
- package/types/components/sections/news/NewsList.d.ts.map +1 -1
- package/types/components/sections/news/NewsOverview.d.ts +3 -15
- package/types/components/sections/news/NewsOverview.d.ts.map +1 -1
- package/types/components/sections/news/NewsTable.d.ts +8 -0
- package/types/components/sections/news/NewsTable.d.ts.map +1 -1
- package/types/components/sections/news/NewsVideo.d.ts +4 -0
- package/types/components/sections/news/NewsVideo.d.ts.map +1 -1
- package/types/components/sections/pois/PointOfInterestOverview.d.ts +13 -12
- package/types/components/sections/pois/PointOfInterestOverview.d.ts.map +1 -1
- package/types/components/typography/Callout.d.ts +1 -0
- package/types/components/typography/Callout.d.ts.map +1 -1
- package/types/components/typography/Copy.d.ts +7 -1
- package/types/components/typography/Copy.d.ts.map +1 -1
- package/types/components/typography/Heading.d.ts +1 -0
- package/types/components/typography/Heading.d.ts.map +1 -1
- package/types/components/typography/Link.d.ts +3 -0
- package/types/components/typography/Link.d.ts.map +1 -1
- package/types/fields.d.ts +0 -1
- package/types/fields.d.ts.map +1 -1
- package/types/utils/structuredData.d.ts +14 -0
- package/types/utils/structuredData.d.ts.map +1 -1
- package/types/utils/styles.d.ts +1 -0
- package/types/utils/styles.d.ts.map +1 -1
- package/cjs/Actions-c52a14e4.js +0 -2
- package/cjs/Bdot-62c8e349.js +0 -2
- package/cjs/Button-1adf99b8.js +0 -2
- package/cjs/Button-1adf99b8.js.map +0 -1
- package/cjs/ButtonGhost-fbab8769.js +0 -2
- package/cjs/ButtonGhost-fbab8769.js.map +0 -1
- package/cjs/Callout-d84ca60b.js +0 -2
- package/cjs/Callout-d84ca60b.js.map +0 -1
- package/cjs/Checkbox-ddc9a87d.js +0 -2
- package/cjs/Checkbox-ddc9a87d.js.map +0 -1
- package/cjs/Control-e15e1572.js +0 -2
- package/cjs/Control-e15e1572.js.map +0 -1
- package/cjs/Copy-2a9d4b5d.js +0 -2
- package/cjs/Copy-2a9d4b5d.js.map +0 -1
- package/cjs/EventBlock-0b0f0dd3.js +0 -2
- package/cjs/EventBlock-0b0f0dd3.js.map +0 -1
- package/cjs/Filter-89286db9.js +0 -2
- package/cjs/Filter-89286db9.js.map +0 -1
- package/cjs/FilterBar-bfd9db6e.js +0 -2
- package/cjs/FilterBar-bfd9db6e.js.map +0 -1
- package/cjs/FilterField-d204feb1.js +0 -2
- package/cjs/Grid-1acefee9.js +0 -2
- package/cjs/Grid-1acefee9.js.map +0 -1
- package/cjs/Image-69a9c116.js +0 -2
- package/cjs/Image-69a9c116.js.map +0 -1
- package/cjs/InfoList-f040b8fb.js +0 -2
- package/cjs/InfoList-f040b8fb.js.map +0 -1
- package/cjs/LanguageSwitcher-c6fd04df.js +0 -2
- package/cjs/LibThemeProvider-69109901.js +0 -2
- package/cjs/Link-8951180c.js +0 -2
- package/cjs/Link-8951180c.js.map +0 -1
- package/cjs/MultiselectDropdown-d46ae36f.js +0 -2
- package/cjs/MultiselectDropdown-d46ae36f.js.map +0 -1
- package/cjs/Navigation-6c5d9dee.js +0 -2
- package/cjs/Pointer-0f69256f.js +0 -2
- package/cjs/Pointer-0f69256f.js.map +0 -1
- package/cjs/Section-c9a16ccc.js +0 -2
- package/cjs/Section-c9a16ccc.js.map +0 -1
- package/cjs/SocialList-73af56b5.js +0 -2
- package/cjs/TableBlock-532c7e1e.js +0 -2
- package/cjs/TableBlock-532c7e1e.js.map +0 -1
- package/cjs/Tag-232f7aa9.js +0 -2
- package/cjs/Tag-232f7aa9.js.map +0 -1
- package/cjs/Textarea-d30682bd.js +0 -2
- package/cjs/Textarea-d30682bd.js.map +0 -1
- package/cjs/Textfield-b3769184.js +0 -2
- package/cjs/Textfield-b3769184.js.map +0 -1
- package/cjs/VideoBlock-0cae22f0.js +0 -2
- package/cjs/VideoCard-c9d4f46a.js +0 -2
- package/cjs/VideoCard-c9d4f46a.js.map +0 -1
- package/cjs/Wrapper-bca9463e.js +0 -2
- package/cjs/concat-f387d848.js +0 -2
- package/cjs/formFieldText-21f5f620.js +0 -2
- package/cjs/formFieldText-21f5f620.js.map +0 -1
- package/cjs/navigation-3f9d4ac4.js +0 -2
- package/cjs/structuredData-0b1278a9.js +0 -2
- package/cjs/structuredData-0b1278a9.js.map +0 -1
- package/cjs/styles-13e5d9ac.js +0 -2
- package/cjs/styles-13e5d9ac.js.map +0 -1
- package/cjs/useCookieConsent-665d91cf.js +0 -2
- package/cjs/useEqualSheetHeight-f1c10ec5.js +0 -2
- package/cjs/useLazyInput-911b8eda.js +0 -2
- package/cjs/useLeafletMap-514304b6.js +0 -2
- package/cjs/useMediaQuery-619d7203.js +0 -2
- package/esm/Button-9a0dd9aa.js +0 -115
- package/esm/Button-9a0dd9aa.js.map +0 -1
- package/esm/ButtonGhost-fc9e7a75.js +0 -112
- package/esm/ButtonGhost-fc9e7a75.js.map +0 -1
- package/esm/Callout-46f0bef0.js.map +0 -1
- package/esm/Checkbox-962fea67.js.map +0 -1
- package/esm/Control-56ec7872.js +0 -52
- package/esm/Control-56ec7872.js.map +0 -1
- package/esm/Copy-fd9e25c0.js.map +0 -1
- package/esm/EventBlock-12361860.js.map +0 -1
- package/esm/Filter-19220970.js.map +0 -1
- package/esm/FilterBar-8c258534.js.map +0 -1
- package/esm/Grid-7b33e271.js.map +0 -1
- package/esm/Image-c67870d4.js.map +0 -1
- package/esm/InfoList-d853db58.js.map +0 -1
- package/esm/Link-6067a27f.js.map +0 -1
- package/esm/MultiselectDropdown-61a5a1a6.js.map +0 -1
- package/esm/Pointer-3e965d7b.js +0 -111
- package/esm/Pointer-3e965d7b.js.map +0 -1
- package/esm/Section-bd61eb2f.js.map +0 -1
- package/esm/TableBlock-a65315ca.js.map +0 -1
- package/esm/Tag-217cd89b.js.map +0 -1
- package/esm/Textarea-60503eb7.js.map +0 -1
- package/esm/Textfield-e8f48b5f.js.map +0 -1
- package/esm/VideoBlock-3f150172.js.map +0 -1
- package/esm/VideoCard-aa60fbe5.js.map +0 -1
- package/esm/concat-ab3c66f2.js.map +0 -1
- package/esm/formFieldText-c6fcd370.js.map +0 -1
- package/esm/structuredData-abf610d8.js.map +0 -1
- package/esm/styles-1f1841ef.js.map +0 -1
- package/types/components/fields/SearchInput.d.ts +0 -16
- package/types/components/fields/SearchInput.d.ts.map +0 -1
package/esm/sections.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { a as __makeTemplateObject, e as __spreadArray,
|
|
2
|
-
import { S as Section, m as mapToBgMode } from './Section-
|
|
3
|
-
import { W as Wrapper, w as wrapperWhitespace } from './Wrapper-
|
|
4
|
-
import { C as Copy, c as copyStyle, H as Heading } from './Copy-
|
|
1
|
+
import { a as __makeTemplateObject, e as __spreadArray, a9 as Minus, a8 as Plus, $ as Info, _ as __assign, F as ArrowLeftRight, G as External, v as ArrowDown, J as Instagram, O as Play, L as LocationPin, x as ArrowRightGhost, z as ArrowLeftGhost, P as Phone, M as Mail } from './ButtonLeft-a9a132f5.js';
|
|
2
|
+
import { S as Section, m as mapToBgMode } from './Section-ca6daed2.js';
|
|
3
|
+
import { W as Wrapper, w as wrapperWhitespace } from './Wrapper-06db8e79.js';
|
|
4
|
+
import { C as Copy, c as copyStyle, H as Heading } from './Copy-5a18e01f.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import React__default, { useState, useRef, useEffect, forwardRef, useMemo, useContext, createRef } from 'react';
|
|
6
|
+
import React__default, { useState, useRef, useEffect, forwardRef, useId, useMemo, useContext, createRef } from 'react';
|
|
7
7
|
import styled, { css, ThemeContext } from 'styled-components';
|
|
8
|
-
import { s as spacings, c as getGlobals, g as getColors, m as mq, w as withRange, a as getFonts, f as getSVGDataImg } from './styles-
|
|
9
|
-
import { w as withLibTheme, u as useLibTheme } from './LibThemeProvider-
|
|
10
|
-
import { a as generateFAQ, b as generateLocalBusiness } from './structuredData-
|
|
11
|
-
import { g as gridSettings, G as Grid, a as getGridWidth } from './Grid-
|
|
12
|
-
import { L as Link } from './Link-
|
|
8
|
+
import { s as spacings, c as getGlobals, g as getColors, m as mq, w as withRange, a as getFonts, f as getSVGDataImg } from './styles-f3ba5bae.js';
|
|
9
|
+
import { w as withLibTheme, u as useLibTheme } from './LibThemeProvider-48cad3e8.js';
|
|
10
|
+
import { a as generateFAQ, b as generatePriceList, c as generateLocalBusiness } from './structuredData-73bcbf07.js';
|
|
11
|
+
import { g as gridSettings, G as Grid, a as getGridWidth } from './Grid-cbd5e68c.js';
|
|
12
|
+
import { L as Link } from './Link-d4a291af.js';
|
|
13
13
|
import { S as StatusFormatter } from './statusFormatter-9be0fbff.js';
|
|
14
|
-
import { u as useEqualSheetHeight } from './useEqualSheetHeight-
|
|
15
|
-
import { T as Title$
|
|
16
|
-
import { A as Actions } from './Actions-
|
|
17
|
-
import { I as IntroBlock, V as VideoBlock } from './VideoBlock-
|
|
18
|
-
import { I as Image } from './Image-
|
|
14
|
+
import { u as useEqualSheetHeight } from './useEqualSheetHeight-80704864.js';
|
|
15
|
+
import { T as Title$6, a as TableBlock } from './TableBlock-5aad5dd2.js';
|
|
16
|
+
import { A as Actions } from './Actions-6859c932.js';
|
|
17
|
+
import { I as IntroBlock, V as VideoBlock } from './VideoBlock-3c99c5fc.js';
|
|
18
|
+
import { I as Image } from './Image-e2018d39.js';
|
|
19
|
+
import { c as concat } from './concat-b6d6d978.js';
|
|
19
20
|
import { u as useIE } from './useIE-a9c56989.js';
|
|
20
21
|
import ReactDOMServer from 'react-dom/server';
|
|
21
|
-
import { P as Pointer } from './Pointer-
|
|
22
|
+
import { P as Pointer } from './Pointer-41c10bba.js';
|
|
22
23
|
import { u as useScrollTo } from './useScrollTo-70af34bf.js';
|
|
23
|
-
import { e as getNavbarState, a as getFullNavbarHeights } from './Navigation-
|
|
24
|
-
import { a as useMediaQueries } from './useMediaQuery-
|
|
25
|
-
import { C as Callout } from './Callout-
|
|
24
|
+
import { e as getNavbarState, a as getFullNavbarHeights } from './Navigation-d7e14d09.js';
|
|
25
|
+
import { a as useMediaQueries } from './useMediaQuery-c9fa1339.js';
|
|
26
|
+
import { C as Callout } from './Callout-6436d270.js';
|
|
26
27
|
import { i as isValidArray } from './arrays-65b644ef.js';
|
|
27
28
|
import { u as useObserverSupport } from './useObserverSupport-02bce7f5.js';
|
|
28
29
|
import { u as useUpdateEffect } from './useUpdateEffect-824c0c84.js';
|
|
29
|
-
import { V as VideoCard } from './VideoCard-
|
|
30
|
-
import { C as Control$1 } from './Control-
|
|
31
|
-
import { u as useLeafletMap } from './useLeafletMap-
|
|
32
|
-
import './concat-ab3c66f2.js';
|
|
30
|
+
import { V as VideoCard } from './VideoCard-dc103fce.js';
|
|
31
|
+
import { C as Control$1 } from './Control-84268468.js';
|
|
32
|
+
import { u as useLeafletMap } from './useLeafletMap-f9050715.js';
|
|
33
33
|
import './clamp-12d37b65.js';
|
|
34
34
|
import 'react-schemaorg';
|
|
35
|
-
import './navigation-
|
|
36
|
-
import './LanguageSwitcher-
|
|
37
|
-
import './useCookieConsent-
|
|
38
|
-
import './ButtonGhost-
|
|
35
|
+
import './navigation-d3d2bf2e.js';
|
|
36
|
+
import './LanguageSwitcher-19482399.js';
|
|
37
|
+
import './useCookieConsent-4b667d40.js';
|
|
38
|
+
import './ButtonGhost-476c3826.js';
|
|
39
39
|
import './hexRgbConverter-edb91624.js';
|
|
40
40
|
|
|
41
41
|
var AccordionContainer = styled.div.withConfig({
|
|
@@ -145,9 +145,7 @@ var Accordion = function (_a) {
|
|
|
145
145
|
addWhitespace: true
|
|
146
146
|
}, React__default.createElement(Grid.Row, {
|
|
147
147
|
gutter: 0
|
|
148
|
-
}, React__default.createElement(Grid.Col, null, React__default.createElement(AccordionContainer, {
|
|
149
|
-
"aria-label": "Accordion Control Group Buttons"
|
|
150
|
-
}, items === null || items === void 0 ? void 0 : items.map(function (_a, i) {
|
|
148
|
+
}, React__default.createElement(Grid.Col, null, React__default.createElement(AccordionContainer, null, items === null || items === void 0 ? void 0 : items.map(function (_a, i) {
|
|
151
149
|
var label = _a.label,
|
|
152
150
|
text = _a.text,
|
|
153
151
|
aside = _a.aside;
|
|
@@ -185,7 +183,7 @@ var templateObject_1$w, templateObject_2$s, templateObject_3$n, templateObject_4
|
|
|
185
183
|
var View$8 = styled.div.withConfig({
|
|
186
184
|
displayName: "Alert__View",
|
|
187
185
|
componentId: "sc-1d5c0fb-0"
|
|
188
|
-
})(templateObject_1$v || (templateObject_1$v = __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
|
|
186
|
+
})(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n position: relative;\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 border: 2px solid\n ", ";\n border-radius: ", ";\n\n color: ", ";\n\n padding: ", "px;\n\n text-align: left;\n width: 100%;\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 &:has(a):hover {\n border: 2px solid\n ", ";\n color: ", ";\n }\n }\n"], ["\n position: relative;\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 border: 2px solid\n ", ";\n border-radius: ", ";\n\n color: ", ";\n\n padding: ", "px;\n\n text-align: left;\n width: 100%;\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 &:has(a):hover {\n border: 2px solid\n ", ";\n color: ", ";\n }\n }\n"])), function (_a) {
|
|
189
187
|
var theme = _a.theme,
|
|
190
188
|
isInverted = _a.isInverted;
|
|
191
189
|
return isInverted ? getColors(theme).primary.inverted : getColors(theme).primary.default;
|
|
@@ -217,17 +215,17 @@ var Content$5 = styled.div.withConfig({
|
|
|
217
215
|
displayName: "Alert__Content",
|
|
218
216
|
componentId: "sc-1d5c0fb-3"
|
|
219
217
|
})(templateObject_4$j || (templateObject_4$j = __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);
|
|
220
|
-
var Title$
|
|
218
|
+
var Title$5 = styled(Copy).withConfig({
|
|
221
219
|
displayName: "Alert__Title",
|
|
222
220
|
componentId: "sc-1d5c0fb-4"
|
|
223
221
|
})(templateObject_5$h || (templateObject_5$h = __makeTemplateObject(["\n display: inline-block;\n"], ["\n display: inline-block;\n"])));
|
|
224
|
-
var
|
|
225
|
-
displayName: "
|
|
222
|
+
var TitleLink$3 = styled(Link).withConfig({
|
|
223
|
+
displayName: "Alert__TitleLink",
|
|
226
224
|
componentId: "sc-1d5c0fb-5"
|
|
227
|
-
})(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["\n
|
|
225
|
+
})(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["\n color: inherit;\n cursor: pointer;\n outline: none;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n color: ", ";\n }\n }\n\n && {\n margin: 0;\n }\n\n &:before {\n content: '';\n position: absolute;\n inset: 0;\n }\n"], ["\n color: inherit;\n cursor: pointer;\n outline: none;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n color: ", ";\n }\n }\n\n && {\n margin: 0;\n }\n\n &:before {\n content: '';\n position: absolute;\n inset: 0;\n }\n"])), function (_a) {
|
|
228
226
|
var isInverted = _a.isInverted,
|
|
229
227
|
theme = _a.theme;
|
|
230
|
-
return isInverted ? getColors(theme).primary.
|
|
228
|
+
return isInverted ? getColors(theme).primary.invertedHover : getColors(theme).primary.hover;
|
|
231
229
|
});
|
|
232
230
|
|
|
233
231
|
var Alert = function (_a) {
|
|
@@ -251,7 +249,15 @@ var Alert = function (_a) {
|
|
|
251
249
|
className: className
|
|
252
250
|
}, React__default.createElement(Icon$4, null, customIcon ? customIcon({
|
|
253
251
|
isInverted: isInverted
|
|
254
|
-
}) : React__default.createElement(Info, null)), React__default.createElement(MainLabel$1, null, title && React__default.createElement(
|
|
252
|
+
}) : React__default.createElement(Info, null)), React__default.createElement(MainLabel$1, null, title && (link === null || link === void 0 ? void 0 : link.href) ? React__default.createElement(TitleLink$3, __assign({}, link, {
|
|
253
|
+
ariaLabel: (link === null || link === void 0 ? void 0 : link.href) ? title : undefined,
|
|
254
|
+
isInverted: isInverted
|
|
255
|
+
}), React__default.createElement(Title$5, {
|
|
256
|
+
textColor: "inherit",
|
|
257
|
+
size: "medium",
|
|
258
|
+
type: "copy-b",
|
|
259
|
+
renderAs: "span"
|
|
260
|
+
}, title)) : React__default.createElement(Title$5, {
|
|
255
261
|
textColor: "inherit",
|
|
256
262
|
size: "medium",
|
|
257
263
|
type: "copy-b"
|
|
@@ -262,9 +268,7 @@ var Alert = function (_a) {
|
|
|
262
268
|
}), date && React__default.createElement(Copy, {
|
|
263
269
|
size: "small",
|
|
264
270
|
isInverted: isInverted
|
|
265
|
-
}, formattedDate))
|
|
266
|
-
ariaLabel: (link === null || link === void 0 ? void 0 : link.href) ? title : undefined
|
|
267
|
-
})));
|
|
271
|
+
}, formattedDate)));
|
|
268
272
|
};
|
|
269
273
|
var templateObject_1$v, templateObject_2$r, templateObject_3$m, templateObject_4$j, templateObject_5$h, templateObject_6$d;
|
|
270
274
|
|
|
@@ -284,7 +288,9 @@ var AlertList = function (_a) {
|
|
|
284
288
|
var anchorId = _a.anchorId,
|
|
285
289
|
items = _a.items,
|
|
286
290
|
bgMode = _a.bgMode,
|
|
287
|
-
customIcon = _a.customIcon
|
|
291
|
+
customIcon = _a.customIcon,
|
|
292
|
+
_b = _a.listAriaLabel,
|
|
293
|
+
listAriaLabel = _b === void 0 ? 'List of card items with important news/informations' : _b;
|
|
288
294
|
var colors = useLibTheme().colors;
|
|
289
295
|
var isInverted = bgMode === 'inverted';
|
|
290
296
|
var hasBg = bgMode === 'full';
|
|
@@ -308,7 +314,9 @@ var AlertList = function (_a) {
|
|
|
308
314
|
bgMode: mapToBgMode(bgMode, true)
|
|
309
315
|
}, React__default.createElement(Wrapper, {
|
|
310
316
|
addWhitespace: true
|
|
311
|
-
}, React__default.createElement(List$3,
|
|
317
|
+
}, React__default.createElement(List$3, {
|
|
318
|
+
"aria-label": listAriaLabel
|
|
319
|
+
}, items === null || items === void 0 ? void 0 : items.map(function (item, i) {
|
|
312
320
|
return React__default.createElement(ListItem$2, {
|
|
313
321
|
key: i,
|
|
314
322
|
itemsPerRow: itemsPerRow,
|
|
@@ -322,7 +330,7 @@ var AlertList = function (_a) {
|
|
|
322
330
|
var AlertList$1 = withLibTheme(AlertList);
|
|
323
331
|
var templateObject_1$u, templateObject_2$q;
|
|
324
332
|
|
|
325
|
-
var StyledTitle$1 = styled(Title$
|
|
333
|
+
var StyledTitle$1 = styled(Title$6).withConfig({
|
|
326
334
|
displayName: "Article__StyledTitle",
|
|
327
335
|
componentId: "sc-1lrfo1r-0"
|
|
328
336
|
})(templateObject_1$t || (templateObject_1$t = __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);
|
|
@@ -399,7 +407,7 @@ var Article = function (_a) {
|
|
|
399
407
|
var Article$1 = withLibTheme(Article);
|
|
400
408
|
var templateObject_1$t, templateObject_2$p, templateObject_3$l;
|
|
401
409
|
|
|
402
|
-
var ContactView = styled.
|
|
410
|
+
var ContactView = styled.figure.withConfig({
|
|
403
411
|
displayName: "CallToAction__ContactView",
|
|
404
412
|
componentId: "sc-1wdvzex-0"
|
|
405
413
|
})(templateObject_1$s || (templateObject_1$s = __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);
|
|
@@ -417,6 +425,8 @@ var Description$3 = styled(Copy).withConfig({
|
|
|
417
425
|
})(templateObject_3$k || (templateObject_3$k = __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);
|
|
418
426
|
|
|
419
427
|
var ContactBox = function (_a) {
|
|
428
|
+
var _b;
|
|
429
|
+
|
|
420
430
|
var isInverted = _a.isInverted,
|
|
421
431
|
description = _a.description,
|
|
422
432
|
avatar = _a.avatar,
|
|
@@ -425,9 +435,10 @@ var ContactBox = function (_a) {
|
|
|
425
435
|
className: className
|
|
426
436
|
}, React__default.createElement(Avatar, {
|
|
427
437
|
src: avatar === null || avatar === void 0 ? void 0 : avatar.src,
|
|
428
|
-
alt: avatar === null || avatar === void 0 ? void 0 : avatar.alt,
|
|
438
|
+
alt: (_b = avatar === null || avatar === void 0 ? void 0 : avatar.alt) !== null && _b !== void 0 ? _b : '',
|
|
429
439
|
isInverted: isInverted
|
|
430
440
|
}), description && React__default.createElement(Description$3, {
|
|
441
|
+
renderAs: "figcaption",
|
|
431
442
|
type: "copy",
|
|
432
443
|
isInverted: isInverted,
|
|
433
444
|
innerHTML: description
|
|
@@ -456,11 +467,11 @@ var StyledActions$4 = styled(Actions).withConfig({
|
|
|
456
467
|
var NewsletterWrapper = styled.div.withConfig({
|
|
457
468
|
displayName: "CallToAction__NewsletterWrapper",
|
|
458
469
|
componentId: "sc-1wdvzex-6"
|
|
459
|
-
})(templateObject_7$
|
|
470
|
+
})(templateObject_7$a || (templateObject_7$a = __makeTemplateObject(["\n width: 100%;\n margin: 0 auto;\n margin-top: ", "px;\n\n @media ", " {\n max-width: 400px;\n }\n"], ["\n width: 100%;\n margin: 0 auto;\n margin-top: ", "px;\n\n @media ", " {\n max-width: 400px;\n }\n"])), spacings.spacer, mq.semilarge);
|
|
460
471
|
var Badge = styled.div.withConfig({
|
|
461
472
|
displayName: "CallToAction__Badge",
|
|
462
473
|
componentId: "sc-1wdvzex-7"
|
|
463
|
-
})(templateObject_8$
|
|
474
|
+
})(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject(["\n display: none;\n position: relative;\n height: 241px;\n width: 241px;\n margin-left: auto;\n margin-bottom: -135px;\n z-index: 3;\n\n @media ", " {\n display: block;\n margin-right: ", ";\n }\n"], ["\n display: none;\n position: relative;\n height: 241px;\n width: 241px;\n margin-left: auto;\n margin-bottom: -135px;\n z-index: 3;\n\n @media ", " {\n display: block;\n margin-right: ", ";\n }\n"])), mq.xlarge, 1440 * (1 / 28) + 'px');
|
|
464
475
|
var CallToAction = function (_a) {
|
|
465
476
|
var anchorId = _a.anchorId,
|
|
466
477
|
title = _a.title,
|
|
@@ -499,7 +510,9 @@ var CallToAction = function (_a) {
|
|
|
499
510
|
isInverted: isInverted,
|
|
500
511
|
description: contact.description,
|
|
501
512
|
avatar: contact.avatar
|
|
502
|
-
}), newsFormMain && hasNewsletter && React__default.createElement(NewsletterWrapper, null, newsFormMain(
|
|
513
|
+
}), newsFormMain && hasNewsletter && React__default.createElement(NewsletterWrapper, null, newsFormMain({
|
|
514
|
+
isInverted: isInverted
|
|
515
|
+
})), (primaryAction || secondaryAction) && React__default.createElement(StyledActions$4, {
|
|
503
516
|
primary: primaryAction && primaryAction({
|
|
504
517
|
isInverted: isInverted,
|
|
505
518
|
isTextCentered: true
|
|
@@ -511,36 +524,41 @@ var CallToAction = function (_a) {
|
|
|
511
524
|
})));
|
|
512
525
|
};
|
|
513
526
|
var CallToAction$1 = withLibTheme(CallToAction);
|
|
514
|
-
var templateObject_1$s, templateObject_2$o, templateObject_3$k, templateObject_4$i, templateObject_5$g, templateObject_6$c, templateObject_7$
|
|
527
|
+
var templateObject_1$s, templateObject_2$o, templateObject_3$k, templateObject_4$i, templateObject_5$g, templateObject_6$c, templateObject_7$a, templateObject_8$6;
|
|
515
528
|
|
|
516
529
|
var View$7 = styled.div.withConfig({
|
|
517
530
|
displayName: "CardList__View",
|
|
518
531
|
componentId: "sc-179ugoh-0"
|
|
519
|
-
})(
|
|
532
|
+
})(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n position: relative;\n color: ", ";\n border-radius: ", ";\n min-height: 110px;\n\n overflow: hidden;\n\n ", "\n\n @media ", " {\n display: block;\n padding-top: 85%;\n }\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: center;\n position: relative;\n color: ", ";\n border-radius: ", ";\n min-height: 110px;\n\n overflow: hidden;\n\n ", "\n\n @media ", " {\n display: block;\n padding-top: 85%;\n }\n"])), function (_a) {
|
|
520
533
|
var theme = _a.theme;
|
|
521
534
|
return getColors(theme).text.inverted;
|
|
522
535
|
}, function (_a) {
|
|
523
536
|
var theme = _a.theme;
|
|
524
537
|
return getGlobals(theme).sections.edgeRadius;
|
|
538
|
+
}, function (_a) {
|
|
539
|
+
var hasLink = _a.hasLink,
|
|
540
|
+
isInverted = _a.isInverted,
|
|
541
|
+
theme = _a.theme;
|
|
542
|
+
return hasLink && css(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n &:has(:focus-visible) {\n outline: 2px solid\n ", ";\n\n outline-offset: 2px;\n }\n "], ["\n &:has(:focus-visible) {\n outline: 2px solid\n ", ";\n\n outline-offset: 2px;\n }\n "])), isInverted ? getColors(theme).primary.inverted : getColors(theme).primary.default);
|
|
525
543
|
}, mq.medium);
|
|
526
544
|
var SolidView = styled(View$7).withConfig({
|
|
527
545
|
displayName: "CardList__SolidView",
|
|
528
546
|
componentId: "sc-179ugoh-1"
|
|
529
|
-
})(
|
|
547
|
+
})(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["\n background-color: ", ";\n\n transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;\n\n ", "\n"], ["\n background-color: ", ";\n\n transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;\n\n ", "\n"])), function (_a) {
|
|
530
548
|
var theme = _a.theme,
|
|
531
549
|
isInverted = _a.isInverted,
|
|
532
550
|
cardColor = _a.cardColor;
|
|
533
551
|
return cardColor ? cardColor : isInverted ? getColors(theme).primary.inverted : getColors(theme).primary.default;
|
|
534
552
|
}, function (_a) {
|
|
535
553
|
var hasLink = _a.hasLink;
|
|
536
|
-
return hasLink && css(
|
|
554
|
+
return hasLink && css(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n cursor: pointer;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.35);\n }\n }\n\n @media (hover: none) {\n &:has(:active:not(:focus-visible)) {\n box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.35);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-tap-highlight-color: transparent;\n }\n }\n "], ["\n cursor: pointer;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.35);\n }\n }\n\n @media (hover: none) {\n &:has(:active:not(:focus-visible)) {\n box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.35);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-tap-highlight-color: transparent;\n }\n }\n "])));
|
|
537
555
|
});
|
|
538
556
|
var ImageView = styled(View$7).withConfig({
|
|
539
557
|
displayName: "CardList__ImageView",
|
|
540
558
|
componentId: "sc-179ugoh-2"
|
|
541
|
-
})(
|
|
559
|
+
})(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\n transition: box-shadow 0.2s ease-in-out;\n\n ", "\n\n &:after {\n content: '';\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: ", ";\n pointer-events: none;\n }\n\n @media ", " {\n padding-top: 0;\n }\n"], ["\n transition: box-shadow 0.2s ease-in-out;\n\n ", "\n\n &:after {\n content: '';\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: ", ";\n pointer-events: none;\n }\n\n @media ", " {\n padding-top: 0;\n }\n"])), function (_a) {
|
|
542
560
|
var hasLink = _a.hasLink;
|
|
543
|
-
return hasLink && css(
|
|
561
|
+
return hasLink && css(templateObject_5$f || (templateObject_5$f = __makeTemplateObject(["\n @media (hover: hover) and (pointer: fine) {\n cursor: pointer;\n\n img {\n -webkit-backface-visibility: hidden;\n -ms-transform: translateZ(0); /* IE 9 */\n -webkit-transform: translateZ(\n 0\n ); /* Chrome, Safari, Opera */\n transform: translateZ(0);\n transform-origin: center;\n transition: transform 0.2s ease-in-out;\n }\n\n &:hover {\n box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.35);\n\n img {\n transform: scale(1.03);\n }\n }\n }\n\n @media (hover: none) {\n &:active:not(:focus-visible) {\n box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.35);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-tap-highlight-color: transparent;\n\n img {\n transition-timing-function: cubic-bezier(\n 0.4,\n 0,\n 0.2,\n 1\n );\n -webkit-tap-highlight-color: transparent;\n }\n }\n }\n "], ["\n @media (hover: hover) and (pointer: fine) {\n cursor: pointer;\n\n img {\n -webkit-backface-visibility: hidden;\n -ms-transform: translateZ(0); /* IE 9 */\n -webkit-transform: translateZ(\n 0\n ); /* Chrome, Safari, Opera */\n transform: translateZ(0);\n transform-origin: center;\n transition: transform 0.2s ease-in-out;\n }\n\n &:hover {\n box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.35);\n\n img {\n transform: scale(1.03);\n }\n }\n }\n\n @media (hover: none) {\n &:active:not(:focus-visible) {\n box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.35);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-tap-highlight-color: transparent;\n\n img {\n transition-timing-function: cubic-bezier(\n 0.4,\n 0,\n 0.2,\n 1\n );\n -webkit-tap-highlight-color: transparent;\n }\n }\n }\n "])));
|
|
544
562
|
}, function (_a) {
|
|
545
563
|
var theme = _a.theme;
|
|
546
564
|
return getGlobals(theme).sections.imageTextGradient;
|
|
@@ -548,11 +566,11 @@ var ImageView = styled(View$7).withConfig({
|
|
|
548
566
|
var StyledImage$9 = styled(Image).withConfig({
|
|
549
567
|
displayName: "CardList__StyledImage",
|
|
550
568
|
componentId: "sc-179ugoh-3"
|
|
551
|
-
})(
|
|
569
|
+
})(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n\n display: block;\n width: 100%;\n height: 100%;\n\n object-fit: cover;\n object-position: center;\n\n @media ", " {\n position: relative;\n }\n"], ["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n\n display: block;\n width: 100%;\n height: 100%;\n\n object-fit: cover;\n object-position: center;\n\n @media ", " {\n position: relative;\n }\n"])), mq.medium);
|
|
552
570
|
var Content$4 = styled.div.withConfig({
|
|
553
571
|
displayName: "CardList__Content",
|
|
554
572
|
componentId: "sc-179ugoh-4"
|
|
555
|
-
})(
|
|
573
|
+
})(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n z-index: 1;\n\n padding: ", "px;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n\n & > * + * {\n margin-left: ", "px;\n }\n\n @media ", " {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow: hidden;\n\n display: flex;\n flex-direction: ", ";\n justify-content: space-between;\n align-items: ", ";\n\n & > * + * {\n margin-left: 0;\n }\n }\n"], ["\n z-index: 1;\n\n padding: ", "px;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n\n & > * + * {\n margin-left: ", "px;\n }\n\n @media ", " {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow: hidden;\n\n display: flex;\n flex-direction: ", ";\n justify-content: space-between;\n align-items: ", ";\n\n & > * + * {\n margin-left: 0;\n }\n }\n"])), spacings.nudge * 3, spacings.spacer, mq.medium, function (_a) {
|
|
556
574
|
var hasIcon = _a.hasIcon;
|
|
557
575
|
return hasIcon ? 'column' : 'row';
|
|
558
576
|
}, function (_a) {
|
|
@@ -562,39 +580,31 @@ var Content$4 = styled.div.withConfig({
|
|
|
562
580
|
var TextContainer$1 = styled.div.withConfig({
|
|
563
581
|
displayName: "CardList__TextContainer",
|
|
564
582
|
componentId: "sc-179ugoh-5"
|
|
565
|
-
})(
|
|
566
|
-
var Title$
|
|
583
|
+
})(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n width: 100%;\n overflow: hidden;\n\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n width: 100%;\n overflow: hidden;\n\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.nudge / 2);
|
|
584
|
+
var Title$4 = styled(Copy).withConfig({
|
|
567
585
|
displayName: "CardList__Title",
|
|
568
586
|
componentId: "sc-179ugoh-6"
|
|
569
|
-
})(
|
|
587
|
+
})(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n display: inline-block;\n max-width: 100%;\n\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n text-overflow: ellipsis;\n overflow: hidden;\n"], ["\n display: inline-block;\n max-width: 100%;\n\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n text-overflow: ellipsis;\n overflow: hidden;\n"])));
|
|
570
588
|
var Footer = styled.div.withConfig({
|
|
571
589
|
displayName: "CardList__Footer",
|
|
572
590
|
componentId: "sc-179ugoh-7"
|
|
573
|
-
})(
|
|
591
|
+
})(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n & > * + * {\n margin-left: ", "px;\n }\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n & > * + * {\n margin-left: ", "px;\n }\n"])), spacings.nudge * 2);
|
|
574
592
|
var SubLabel = styled(Copy).withConfig({
|
|
575
593
|
displayName: "CardList__SubLabel",
|
|
576
594
|
componentId: "sc-179ugoh-8"
|
|
577
|
-
})(
|
|
595
|
+
})(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\n display: inline-block;\n\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n"], ["\n display: inline-block;\n\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n"])));
|
|
578
596
|
var Icon$3 = styled.div.withConfig({
|
|
579
597
|
displayName: "CardList__Icon",
|
|
580
598
|
componentId: "sc-179ugoh-9"
|
|
581
|
-
})(
|
|
599
|
+
})(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n height: 100%;\n max-height: 60px;\n min-height: 40px;\n min-width: 40px;\n\n * {\n height: 100%;\n }\n\n svg,\n img {\n width: 100%;\n }\n\n @media ", " {\n svg,\n img {\n width: auto;\n }\n }\n"], ["\n height: 100%;\n max-height: 60px;\n min-height: 40px;\n min-width: 40px;\n\n * {\n height: 100%;\n }\n\n svg,\n img {\n width: 100%;\n }\n\n @media ", " {\n svg,\n img {\n width: auto;\n }\n }\n"])), mq.medium);
|
|
582
600
|
var CardLink = styled(Link).withConfig({
|
|
583
601
|
displayName: "CardList__CardLink",
|
|
584
602
|
componentId: "sc-179ugoh-10"
|
|
585
|
-
})(
|
|
586
|
-
var theme = _a.theme;
|
|
587
|
-
return getColors(theme).primary.default;
|
|
588
|
-
}, function (_a) {
|
|
589
|
-
var theme = _a.theme;
|
|
590
|
-
return getColors(theme).primary.invertedHover;
|
|
591
|
-
}, function (_a) {
|
|
592
|
-
var theme = _a.theme,
|
|
593
|
-
isInverted = _a.isInverted;
|
|
594
|
-
return isInverted ? getColors(theme).primary.invertedHover : getColors(theme).primary.hover;
|
|
595
|
-
});
|
|
603
|
+
})(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n outline: none;\n text-decoration: none;\n\n &:before {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 1;\n }\n"], ["\n outline: none;\n text-decoration: none;\n\n &:before {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 1;\n }\n"])));
|
|
596
604
|
|
|
597
605
|
var Card$2 = function (_a) {
|
|
606
|
+
var _b;
|
|
607
|
+
|
|
598
608
|
var isInverted = _a.isInverted,
|
|
599
609
|
title = _a.title,
|
|
600
610
|
subLabel = _a.subLabel,
|
|
@@ -611,6 +621,7 @@ var Card$2 = function (_a) {
|
|
|
611
621
|
cardColor: cardColor || defaultCardColor,
|
|
612
622
|
hasLink: !!(link === null || link === void 0 ? void 0 : link.href)
|
|
613
623
|
}, (image === null || image === void 0 ? void 0 : image.small) && React__default.createElement(StyledImage$9, __assign({}, image, {
|
|
624
|
+
alt: (_b = image.alt) !== null && _b !== void 0 ? _b : '',
|
|
614
625
|
coverSpace: true,
|
|
615
626
|
isInverted: isInverted,
|
|
616
627
|
ratios: {
|
|
@@ -625,31 +636,36 @@ var Card$2 = function (_a) {
|
|
|
625
636
|
}
|
|
626
637
|
})), React__default.createElement(Content$4, {
|
|
627
638
|
hasIcon: !!customIcon
|
|
628
|
-
}, customIcon ? React__default.createElement(Icon$3, null, customIcon({})) : '', React__default.createElement(TextContainer$1, null,
|
|
639
|
+
}, customIcon ? React__default.createElement(Icon$3, null, customIcon({})) : '', React__default.createElement(TextContainer$1, null, (link === null || link === void 0 ? void 0 : link.href) ? React__default.createElement(CardLink, __assign({
|
|
640
|
+
isInverted: isInverted
|
|
641
|
+
}, link, {
|
|
642
|
+
ariaLabel: concat([title, subLabel], ' - ')
|
|
643
|
+
}), title && React__default.createElement(Title$4, {
|
|
644
|
+
size: "big",
|
|
645
|
+
type: "copy",
|
|
646
|
+
isInverted: true,
|
|
647
|
+
renderAs: "span"
|
|
648
|
+
}, title)) : title ? React__default.createElement(Title$4, {
|
|
629
649
|
size: "big",
|
|
630
650
|
type: "copy",
|
|
631
651
|
isInverted: true
|
|
632
|
-
}, title), subLabel && React__default.createElement(Footer, null, React__default.createElement(SubLabel, {
|
|
652
|
+
}, title) : null, subLabel && React__default.createElement(Footer, null, React__default.createElement(SubLabel, {
|
|
633
653
|
type: "copy-b",
|
|
634
654
|
size: "big",
|
|
635
655
|
isInverted: true
|
|
636
656
|
}, subLabel), decorator ? decorator({
|
|
637
657
|
isInverted: isInverted
|
|
638
|
-
}) : undefined)))
|
|
639
|
-
isInverted: isInverted
|
|
640
|
-
}, link, {
|
|
641
|
-
ariaLabel: title || undefined
|
|
642
|
-
})));
|
|
658
|
+
}) : undefined))));
|
|
643
659
|
};
|
|
644
660
|
|
|
645
661
|
var List$2 = styled.ul.withConfig({
|
|
646
662
|
displayName: "CardList__List",
|
|
647
663
|
componentId: "sc-179ugoh-11"
|
|
648
|
-
})(
|
|
664
|
+
})(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n padding: 0;\n margin-top: -", "px;\n margin-left: -", "px;\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 padding: 0;\n margin-top: -", "px;\n margin-left: -", "px;\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);
|
|
649
665
|
var CardItem = styled.li.withConfig({
|
|
650
666
|
displayName: "CardList__CardItem",
|
|
651
667
|
componentId: "sc-179ugoh-12"
|
|
652
|
-
})(
|
|
668
|
+
})(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n padding-top: ", "px;\n padding-left: ", "px;\n\n width: 100%;\n\n @media ", " {\n flex: 0 0 50%;\n max-width: 370px;\n padding-top: ", "px;\n padding-left: ", "px;\n }\n\n @media ", " {\n flex: 0 0 33.33%;\n }\n\n @media (min-width: 75em) {\n flex: ", ";\n }\n"], ["\n padding-top: ", "px;\n padding-left: ", "px;\n\n width: 100%;\n\n @media ", " {\n flex: 0 0 50%;\n max-width: 370px;\n padding-top: ", "px;\n padding-left: ", "px;\n }\n\n @media ", " {\n flex: 0 0 33.33%;\n }\n\n @media (min-width: 75em) {\n flex: ", ";\n }\n"])), spacings.nudge * 2, spacings.nudge * 2, mq.medium, spacings.spacer, spacings.spacer, mq.semilarge, function (_a) {
|
|
653
669
|
var isEqual = _a.isEqual,
|
|
654
670
|
threeCols = _a.threeCols;
|
|
655
671
|
return threeCols ? '0 0 33.33%' : isEqual && '0 0 25%';
|
|
@@ -660,7 +676,9 @@ var CardList$1 = function (_a) {
|
|
|
660
676
|
items = _a.items,
|
|
661
677
|
bgMode = _a.bgMode,
|
|
662
678
|
decorator = _a.decorator,
|
|
663
|
-
maxThreeCols = _a.maxThreeCols
|
|
679
|
+
maxThreeCols = _a.maxThreeCols,
|
|
680
|
+
_b = _a.listAriaLabel,
|
|
681
|
+
listAriaLabel = _b === void 0 ? 'List of card items with image/text and link' : _b;
|
|
664
682
|
var colors = useLibTheme().colors;
|
|
665
683
|
var isInverted = bgMode === 'inverted';
|
|
666
684
|
return React__default.createElement(Section, {
|
|
@@ -670,7 +688,9 @@ var CardList$1 = function (_a) {
|
|
|
670
688
|
addSeperation: true
|
|
671
689
|
}, React__default.createElement(Wrapper, {
|
|
672
690
|
addWhitespace: true
|
|
673
|
-
}, React__default.createElement(List$2,
|
|
691
|
+
}, React__default.createElement(List$2, {
|
|
692
|
+
"aria-label": listAriaLabel
|
|
693
|
+
}, items === null || items === void 0 ? void 0 : items.map(function (item, i) {
|
|
674
694
|
return React__default.createElement(CardItem, {
|
|
675
695
|
key: i,
|
|
676
696
|
isEqual: items.length % 2 === 0,
|
|
@@ -682,7 +702,7 @@ var CardList$1 = function (_a) {
|
|
|
682
702
|
}))));
|
|
683
703
|
};
|
|
684
704
|
var CardList$2 = withLibTheme(CardList$1);
|
|
685
|
-
var templateObject_1$r, templateObject_2$n, templateObject_3$j, templateObject_4$h, templateObject_5$f, templateObject_6$b, templateObject_7$
|
|
705
|
+
var templateObject_1$r, templateObject_2$n, templateObject_3$j, templateObject_4$h, templateObject_5$f, templateObject_6$b, templateObject_7$9, templateObject_8$5, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$1, templateObject_14$1, templateObject_15, templateObject_16;
|
|
686
706
|
|
|
687
707
|
var clamp = function (num, min, max) {
|
|
688
708
|
return Math.min(Math.max(num, min), max);
|
|
@@ -721,18 +741,18 @@ var ForegroundOverlay = styled.div.withConfig({
|
|
|
721
741
|
var ImageLabel = styled(Copy).withConfig({
|
|
722
742
|
displayName: "ComparisonSlider__ImageLabel",
|
|
723
743
|
componentId: "sc-4f3ic1-5"
|
|
724
|
-
})(templateObject_7$
|
|
744
|
+
})(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\n height: ", "px;\n padding: ", "px ", "px ", "px\n ", "px;\n background: ", ";\n"], ["\n height: ", "px;\n padding: ", "px ", "px ", "px\n ", "px;\n background: ", ";\n"])), spacings.spacer, spacings.nudge, spacings.spacer, spacings.spacer, spacings.spacer, function (_a) {
|
|
725
745
|
var bgColor = _a.bgColor;
|
|
726
746
|
return bgColor && bgColor;
|
|
727
747
|
});
|
|
728
748
|
var ForegroundLabel = styled(ImageLabel).withConfig({
|
|
729
749
|
displayName: "ComparisonSlider__ForegroundLabel",
|
|
730
750
|
componentId: "sc-4f3ic1-6"
|
|
731
|
-
})(templateObject_8$
|
|
751
|
+
})(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n position: absolute;\n bottom: ", "px;\n left: ", "px;\n pointer-events: none;\n white-space: nowrap;\n"], ["\n position: absolute;\n bottom: ", "px;\n left: ", "px;\n pointer-events: none;\n white-space: nowrap;\n"])), spacings.spacer, spacings.spacer);
|
|
732
752
|
var BackgroundLabel = styled(ImageLabel).withConfig({
|
|
733
753
|
displayName: "ComparisonSlider__BackgroundLabel",
|
|
734
754
|
componentId: "sc-4f3ic1-7"
|
|
735
|
-
})(templateObject_9$
|
|
755
|
+
})(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n position: absolute;\n bottom: ", "px;\n right: ", "px;\n pointer-events: none;\n white-space: nowrap;\n"], ["\n position: absolute;\n bottom: ", "px;\n right: ", "px;\n pointer-events: none;\n white-space: nowrap;\n"])), spacings.spacer, spacings.spacer);
|
|
736
756
|
var ControlContainer = styled.div.withConfig({
|
|
737
757
|
displayName: "ComparisonSlider__ControlContainer",
|
|
738
758
|
componentId: "sc-4f3ic1-8"
|
|
@@ -747,12 +767,15 @@ var ControlContainer = styled.div.withConfig({
|
|
|
747
767
|
var Control = styled.div.withConfig({
|
|
748
768
|
displayName: "ComparisonSlider__Control",
|
|
749
769
|
componentId: "sc-4f3ic1-9"
|
|
750
|
-
})(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 54px;\n width: 54px;\n border: solid 2px ", ";\n border-radius: 50%;\n background-color: ", ";\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 54px;\n width: 54px;\n border: solid 2px ", ";\n border-radius: 50%;\n background-color: ", ";\n"])), function (_a) {
|
|
770
|
+
})(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 54px;\n width: 54px;\n border: solid 2px ", ";\n border-radius: 50%;\n background-color: ", ";\n\n &:focus-visible {\n outline: solid 2px ", ";\n outline-offset: 2px;\n }\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 54px;\n width: 54px;\n border: solid 2px ", ";\n border-radius: 50%;\n background-color: ", ";\n\n &:focus-visible {\n outline: solid 2px ", ";\n outline-offset: 2px;\n }\n"])), function (_a) {
|
|
751
771
|
var theme = _a.theme;
|
|
752
772
|
return getColors(theme).elementBg.light;
|
|
753
773
|
}, function (_a) {
|
|
754
774
|
var theme = _a.theme;
|
|
755
775
|
return getColors(theme).elementBg.medium;
|
|
776
|
+
}, function (_a) {
|
|
777
|
+
var theme = _a.theme;
|
|
778
|
+
return getColors(theme).elementBg.light;
|
|
756
779
|
});
|
|
757
780
|
|
|
758
781
|
var ComparisonSlider = function (_a) {
|
|
@@ -870,6 +893,18 @@ var ComparisonSlider = function (_a) {
|
|
|
870
893
|
};
|
|
871
894
|
|
|
872
895
|
var isInverted = bgMode === 'inverted';
|
|
896
|
+
|
|
897
|
+
var handleControlKeydown = function (ev) {
|
|
898
|
+
if (ev.key === 'ArrowLeft' || ev.key === 'ArrowRight') {
|
|
899
|
+
ev.preventDefault();
|
|
900
|
+
setInteracted(true);
|
|
901
|
+
setSlideValue(function (prev) {
|
|
902
|
+
var delta = ev.key === 'ArrowLeft' ? -0.05 : 0.05;
|
|
903
|
+
return clamp(prev + delta, 0, 1);
|
|
904
|
+
});
|
|
905
|
+
}
|
|
906
|
+
};
|
|
907
|
+
|
|
873
908
|
return React__default.createElement(Section, {
|
|
874
909
|
addSeperation: true,
|
|
875
910
|
anchorId: anchorId,
|
|
@@ -920,17 +955,25 @@ var ComparisonSlider = function (_a) {
|
|
|
920
955
|
style: {
|
|
921
956
|
left: slideValue * 100 + '%'
|
|
922
957
|
}
|
|
923
|
-
}, dragControl ? dragControl : React__default.createElement(Control,
|
|
958
|
+
}, dragControl ? dragControl : React__default.createElement(Control, {
|
|
959
|
+
role: "slider",
|
|
960
|
+
tabIndex: 0,
|
|
961
|
+
"aria-valuemin": 0,
|
|
962
|
+
"aria-valuemax": 100,
|
|
963
|
+
"aria-valuenow": Math.round(slideValue * 100),
|
|
964
|
+
"aria-label": "Image comparison slider",
|
|
965
|
+
onKeyDown: handleControlKeydown
|
|
966
|
+
}, React__default.createElement(ArrowLeftRight, {
|
|
924
967
|
iconColor: colors.elementBg.light
|
|
925
968
|
}))))));
|
|
926
969
|
};
|
|
927
970
|
var ComparisonSlider$1 = withLibTheme(ComparisonSlider);
|
|
928
|
-
var templateObject_1$q, templateObject_2$m, templateObject_3$i, templateObject_4$g, templateObject_5$e, templateObject_6$a, templateObject_7$
|
|
971
|
+
var templateObject_1$q, templateObject_2$m, templateObject_3$i, templateObject_4$g, templateObject_5$e, templateObject_6$a, templateObject_7$8, templateObject_8$4, templateObject_9$2, templateObject_10$1, templateObject_11$1, templateObject_12$1;
|
|
929
972
|
|
|
930
973
|
var View$6 = styled(Link).withConfig({
|
|
931
974
|
displayName: "PromotionCard__View",
|
|
932
975
|
componentId: "sc-1p1egy3-0"
|
|
933
|
-
})(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n display:
|
|
976
|
+
})(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n display: flex;\n position: relative;\n width: 100%;\n border-radius: ", ";\n overflow: hidden;\n outline: none;\n\n &:after {\n content: '';\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: ", ";\n pointer-events: none;\n }\n\n ", "\n"], ["\n display: flex;\n position: relative;\n width: 100%;\n border-radius: ", ";\n overflow: hidden;\n outline: none;\n\n &:after {\n content: '';\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: ", ";\n pointer-events: none;\n }\n\n ", "\n"])), function (_a) {
|
|
934
977
|
var theme = _a.theme;
|
|
935
978
|
return getGlobals(theme).sections.edgeRadius;
|
|
936
979
|
}, function (_a) {
|
|
@@ -940,7 +983,7 @@ var View$6 = styled(Link).withConfig({
|
|
|
940
983
|
var clickable = _a.clickable,
|
|
941
984
|
theme = _a.theme,
|
|
942
985
|
isInverted = _a.isInverted;
|
|
943
|
-
return clickable && css(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n transition: box-shadow 0.2s ease-in-out;\n cursor: pointer;\n\n &:hover {\n
|
|
986
|
+
return clickable && css(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n transition: box-shadow 0.2s ease-in-out;\n cursor: pointer;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.35);\n }\n }\n\n &:focus-visible,\n &:has(:focus-visible) {\n outline: solid 2px\n ", ";\n outline-offset: 4px;\n\n color: ", ";\n }\n "], ["\n transition: box-shadow 0.2s ease-in-out;\n cursor: pointer;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.35);\n }\n }\n\n &:focus-visible,\n &:has(:focus-visible) {\n outline: solid 2px\n ", ";\n outline-offset: 4px;\n\n color: ", ";\n }\n "])), isInverted ? getColors(theme).primary.inverted : getColors(theme).primary.default, isInverted ? getColors(theme).primary.invertedHover : getColors(theme).primary.hover);
|
|
944
987
|
});
|
|
945
988
|
var StyledImage$8 = styled(Image).withConfig({
|
|
946
989
|
displayName: "PromotionCard__StyledImage",
|
|
@@ -950,25 +993,30 @@ var IntroContainer = styled.div.withConfig({
|
|
|
950
993
|
displayName: "PromotionCard__IntroContainer",
|
|
951
994
|
componentId: "sc-1p1egy3-2"
|
|
952
995
|
})(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow: auto;\n z-index: 1;\n\n padding: ", "px ", "px;\n\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n\n /* required to align items at flex-end in ie11 */\n &:before {\n content: '';\n display: block;\n flex: 1 0 0px;\n }\n\n @media ", " {\n padding: ", "px ", "px;\n }\n"], ["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow: auto;\n z-index: 1;\n\n padding: ", "px ", "px;\n\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n\n /* required to align items at flex-end in ie11 */\n &:before {\n content: '';\n display: block;\n flex: 1 0 0px;\n }\n\n @media ", " {\n padding: ", "px ", "px;\n }\n"])), spacings.spacer, spacings.nudge * 3, mq.medium, spacings.nudge * 5, spacings.spacer);
|
|
953
|
-
var StyledTitle = styled(Title$
|
|
996
|
+
var StyledTitle = styled(Title$6).withConfig({
|
|
954
997
|
displayName: "PromotionCard__StyledTitle",
|
|
955
998
|
componentId: "sc-1p1egy3-3"
|
|
956
|
-
})(
|
|
999
|
+
})(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n max-width: ", ";\n\n ", "\n"], ["\n max-width: ", ";\n\n ", "\n"])), function (_a) {
|
|
957
1000
|
var clampTitle = _a.clampTitle;
|
|
958
1001
|
return clampTitle && 13 / 28 * spacings.wrapper + 'px';
|
|
1002
|
+
}, function (_a) {
|
|
1003
|
+
var titleLink = _a.titleLink;
|
|
1004
|
+
return (titleLink === null || titleLink === void 0 ? void 0 : titleLink.href) && css(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n * {\n outline: none !important;\n }\n\n a:before {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 1;\n }\n "], ["\n * {\n outline: none !important;\n }\n\n a:before {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 1;\n }\n "])));
|
|
959
1005
|
});
|
|
960
1006
|
var ExternalIconHolder = styled.span.withConfig({
|
|
961
1007
|
displayName: "PromotionCard__ExternalIconHolder",
|
|
962
1008
|
componentId: "sc-1p1egy3-4"
|
|
963
|
-
})(
|
|
1009
|
+
})(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n margin-left: ", "px;\n\n & > * {\n display: inline-block;\n }\n"], ["\n margin-left: ", "px;\n\n & > * {\n display: inline-block;\n }\n"])), spacings.nudge * 2);
|
|
964
1010
|
var Icon$2 = styled.div.withConfig({
|
|
965
1011
|
displayName: "PromotionCard__Icon",
|
|
966
1012
|
componentId: "sc-1p1egy3-5"
|
|
967
|
-
})(
|
|
1013
|
+
})(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject(["\n ", ";\n ", ";\n\n position: absolute;\n top: ", "px;\n left: ", "px;\n\n & > * {\n ", ";\n ", ";\n }\n\n color: ", ";\n"], ["\n ", ";\n ", ";\n\n position: absolute;\n top: ", "px;\n left: ", "px;\n\n & > * {\n ", ";\n ", ";\n }\n\n color: ", ";\n"])), withRange([60, 100], 'height'), withRange([60, 100], 'width'), spacings.nudge * 3, spacings.nudge * 3, withRange([60, 100], 'height'), withRange([60, 100], 'width'), function (_a) {
|
|
968
1014
|
var theme = _a.theme;
|
|
969
1015
|
return getColors(theme).text.inverted;
|
|
970
1016
|
});
|
|
971
1017
|
var PromotionCard = forwardRef(function (_a, ref) {
|
|
1018
|
+
var _b;
|
|
1019
|
+
|
|
972
1020
|
var isInverted = _a.isInverted,
|
|
973
1021
|
image = _a.image,
|
|
974
1022
|
title = _a.title,
|
|
@@ -979,7 +1027,8 @@ var PromotionCard = forwardRef(function (_a, ref) {
|
|
|
979
1027
|
link = _a.link,
|
|
980
1028
|
externalLinkIcon = _a.externalLinkIcon,
|
|
981
1029
|
icon = _a.icon,
|
|
982
|
-
className = _a.className;
|
|
1030
|
+
className = _a.className;
|
|
1031
|
+
var id = useId(); // fallback for older versions
|
|
983
1032
|
|
|
984
1033
|
var linkObj = link;
|
|
985
1034
|
|
|
@@ -993,10 +1042,13 @@ var PromotionCard = forwardRef(function (_a, ref) {
|
|
|
993
1042
|
var externalIconString = ReactDOMServer.renderToString(React__default.createElement(ExternalIconHolder, null, externalLinkIcon || React__default.createElement(External, null)));
|
|
994
1043
|
return React__default.createElement(View$6, __assign({
|
|
995
1044
|
ref: ref,
|
|
996
|
-
|
|
997
|
-
}, linkObj, {
|
|
1045
|
+
as: (linkObj === null || linkObj === void 0 ? void 0 : linkObj.href) && !title ? 'a' : 'div'
|
|
1046
|
+
}, (linkObj === null || linkObj === void 0 ? void 0 : linkObj.href) && !title ? linkObj : {}, {
|
|
1047
|
+
clickable: !!(linkObj === null || linkObj === void 0 ? void 0 : linkObj.href),
|
|
1048
|
+
"aria-labelledby": title ? id : undefined,
|
|
998
1049
|
className: className
|
|
999
1050
|
}), React__default.createElement(StyledImage$8, __assign({}, image, {
|
|
1051
|
+
alt: (_b = image.alt) !== null && _b !== void 0 ? _b : '',
|
|
1000
1052
|
isInverted: isInverted,
|
|
1001
1053
|
coverSpace: true
|
|
1002
1054
|
})), icon && React__default.createElement(Icon$2, null, icon({
|
|
@@ -1005,13 +1057,15 @@ var PromotionCard = forwardRef(function (_a, ref) {
|
|
|
1005
1057
|
colorMode: "onImage",
|
|
1006
1058
|
superTitle: superTitle,
|
|
1007
1059
|
superTitleAs: superTitleAs,
|
|
1060
|
+
titleId: id,
|
|
1008
1061
|
title: (linkObj === null || linkObj === void 0 ? void 0 : linkObj.isExternal) ? title + externalIconString : title,
|
|
1009
|
-
titleAs: titleAs || '
|
|
1062
|
+
titleAs: titleAs || 'h3',
|
|
1063
|
+
titleLink: linkObj,
|
|
1010
1064
|
clampTitle: true
|
|
1011
1065
|
})));
|
|
1012
1066
|
});
|
|
1013
1067
|
PromotionCard.displayName = 'PromotionCard';
|
|
1014
|
-
var templateObject_1$p, templateObject_2$l, templateObject_3$h, templateObject_4$f, templateObject_5$d, templateObject_6$9, templateObject_7$
|
|
1068
|
+
var templateObject_1$p, templateObject_2$l, templateObject_3$h, templateObject_4$f, templateObject_5$d, templateObject_6$9, templateObject_7$7, templateObject_8$3;
|
|
1015
1069
|
|
|
1016
1070
|
var Card$1 = styled(PromotionCard).withConfig({
|
|
1017
1071
|
displayName: "CrossPromotion__Card",
|
|
@@ -1027,7 +1081,9 @@ var CrossPromotion = function (_a) {
|
|
|
1027
1081
|
aside = _a.aside,
|
|
1028
1082
|
bgMode = _a.bgMode,
|
|
1029
1083
|
isMirrored = _a.isMirrored,
|
|
1030
|
-
externalLinkIcon = _a.externalLinkIcon
|
|
1084
|
+
externalLinkIcon = _a.externalLinkIcon,
|
|
1085
|
+
_b = _a.listAriaLabel,
|
|
1086
|
+
listAriaLabel = _b === void 0 ? 'List of cross promotion cards with image and text' : _b;
|
|
1031
1087
|
var colors = useLibTheme().colors;
|
|
1032
1088
|
var isInverted = bgMode === 'inverted';
|
|
1033
1089
|
return React.createElement(Section, {
|
|
@@ -1038,7 +1094,10 @@ var CrossPromotion = function (_a) {
|
|
|
1038
1094
|
}, React.createElement(Wrapper, {
|
|
1039
1095
|
clampWidth: "normal",
|
|
1040
1096
|
addWhitespace: true
|
|
1041
|
-
}, aside ? isMirrored ? React.createElement(Grid.Row,
|
|
1097
|
+
}, aside ? isMirrored ? React.createElement(Grid.Row, {
|
|
1098
|
+
asList: true,
|
|
1099
|
+
ariaLabel: listAriaLabel
|
|
1100
|
+
}, React.createElement(Grid.Col, {
|
|
1042
1101
|
semilarge: {
|
|
1043
1102
|
span: 6 / 12
|
|
1044
1103
|
}
|
|
@@ -1126,7 +1185,7 @@ var Content$3 = styled.div.withConfig({
|
|
|
1126
1185
|
var isCentered = _a.isCentered;
|
|
1127
1186
|
return isCentered && 'center';
|
|
1128
1187
|
}, spacings.nudge * 3);
|
|
1129
|
-
var Title$
|
|
1188
|
+
var Title$3 = styled(Copy).withConfig({
|
|
1130
1189
|
displayName: "Fact__Title",
|
|
1131
1190
|
componentId: "sc-elpxk2-4"
|
|
1132
1191
|
})(templateObject_5$c || (templateObject_5$c = __makeTemplateObject([""], [""])));
|
|
@@ -1137,7 +1196,7 @@ var SubTitle = styled(Copy).withConfig({
|
|
|
1137
1196
|
var Text$3 = styled(Copy).withConfig({
|
|
1138
1197
|
displayName: "Fact__Text",
|
|
1139
1198
|
componentId: "sc-elpxk2-6"
|
|
1140
|
-
})(templateObject_7$
|
|
1199
|
+
})(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n ", " + & {\n margin-top: ", "px;\n }\n"], ["\n ", " + & {\n margin-top: ", "px;\n }\n"])), SubTitle, spacings.nudge);
|
|
1141
1200
|
var Fact = forwardRef(function (_a, ref) {
|
|
1142
1201
|
var _b = _a.isInverted,
|
|
1143
1202
|
isInverted = _b === void 0 ? false : _b,
|
|
@@ -1166,7 +1225,7 @@ var Fact = forwardRef(function (_a, ref) {
|
|
|
1166
1225
|
showPlaceholder: image.showPlaceholder
|
|
1167
1226
|
})), React__default.createElement(Content$3, {
|
|
1168
1227
|
isCentered: isCentered
|
|
1169
|
-
}, title && React__default.createElement(Title$
|
|
1228
|
+
}, title && React__default.createElement(Title$3, {
|
|
1170
1229
|
type: "copy-b",
|
|
1171
1230
|
size: "big",
|
|
1172
1231
|
isInverted: isInverted,
|
|
@@ -1183,7 +1242,7 @@ var Fact = forwardRef(function (_a, ref) {
|
|
|
1183
1242
|
})));
|
|
1184
1243
|
});
|
|
1185
1244
|
Fact.displayName = 'Fact';
|
|
1186
|
-
var templateObject_1$n, templateObject_2$k, templateObject_3$g, templateObject_4$e, templateObject_5$c, templateObject_6$8, templateObject_7$
|
|
1245
|
+
var templateObject_1$n, templateObject_2$k, templateObject_3$g, templateObject_4$e, templateObject_5$c, templateObject_6$8, templateObject_7$6;
|
|
1187
1246
|
|
|
1188
1247
|
var FactFill = styled.div.withConfig({
|
|
1189
1248
|
displayName: "FactGrid__FactFill",
|
|
@@ -1196,7 +1255,9 @@ var FactGrid = function (_a) {
|
|
|
1196
1255
|
columns = _b === void 0 ? 3 : _b,
|
|
1197
1256
|
facts = _a.facts,
|
|
1198
1257
|
bgMode = _a.bgMode,
|
|
1199
|
-
isCentered = _a.isCentered
|
|
1258
|
+
isCentered = _a.isCentered,
|
|
1259
|
+
_c = _a.listAriaLabel,
|
|
1260
|
+
listAriaLabel = _c === void 0 ? 'List of items with facts and other informations' : _c;
|
|
1200
1261
|
var colors = useLibTheme().colors;
|
|
1201
1262
|
var factCount = (facts === null || facts === void 0 ? void 0 : facts.length) || 0;
|
|
1202
1263
|
var isInverted = bgMode === 'inverted';
|
|
@@ -1219,7 +1280,10 @@ var FactGrid = function (_a) {
|
|
|
1219
1280
|
}, React__default.createElement(Wrapper, {
|
|
1220
1281
|
clampWidth: "normal",
|
|
1221
1282
|
addWhitespace: true
|
|
1222
|
-
}, React__default.createElement(Grid.Row,
|
|
1283
|
+
}, React__default.createElement(Grid.Row, {
|
|
1284
|
+
asList: true,
|
|
1285
|
+
ariaLabel: listAriaLabel
|
|
1286
|
+
}, facts && facts.map(function (fact, i) {
|
|
1223
1287
|
if ((fact === null || fact === void 0 ? void 0 : fact.title) || (fact === null || fact === void 0 ? void 0 : fact.subTitle) || (fact === null || fact === void 0 ? void 0 : fact.image) || (fact === null || fact === void 0 ? void 0 : fact.text)) {
|
|
1224
1288
|
return React__default.createElement(Grid.Col, {
|
|
1225
1289
|
key: i,
|
|
@@ -1269,8 +1333,8 @@ var FactsContainer = styled.ul.withConfig({
|
|
|
1269
1333
|
displayName: "FactList__FactsContainer",
|
|
1270
1334
|
componentId: "sc-elh0vj-0"
|
|
1271
1335
|
})(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n padding: 0;\n margin: 0;\n\n list-style-type: none;\n\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n padding: 0;\n margin: 0;\n\n list-style-type: none;\n\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.nudge);
|
|
1272
|
-
var
|
|
1273
|
-
displayName: "
|
|
1336
|
+
var FactItemView = styled.li.withConfig({
|
|
1337
|
+
displayName: "FactList__FactItemView",
|
|
1274
1338
|
componentId: "sc-elh0vj-1"
|
|
1275
1339
|
})(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n padding: ", "px;\n\n background: ", ";\n\n display: flex;\n flex-direction: row;\n align-items: ", ";\n\n @media ", " {\n padding: ", "px;\n }\n"], ["\n padding: ", "px;\n\n background: ", ";\n\n display: flex;\n flex-direction: row;\n align-items: ", ";\n\n @media ", " {\n padding: ", "px;\n }\n"])), spacings.nudge * 2, function (_a) {
|
|
1276
1340
|
var theme = _a.theme,
|
|
@@ -1293,11 +1357,41 @@ var Description$2 = styled(Copy).withConfig({
|
|
|
1293
1357
|
componentId: "sc-elh0vj-4"
|
|
1294
1358
|
})(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n max-width: 880px;\n"], ["\n max-width: 880px;\n"])));
|
|
1295
1359
|
|
|
1360
|
+
var FactItem = function (_a) {
|
|
1361
|
+
var label = _a.label,
|
|
1362
|
+
text = _a.text,
|
|
1363
|
+
hasBg = _a.hasBg,
|
|
1364
|
+
icon = _a.icon;
|
|
1365
|
+
var id = useId();
|
|
1366
|
+
var titleId = "fact-item-title-".concat(id);
|
|
1367
|
+
var descriptionId = "fact-item-description-".concat(id);
|
|
1368
|
+
return React__default.createElement(FactItemView, {
|
|
1369
|
+
"aria-labelledby": titleId,
|
|
1370
|
+
"aria-describedby": descriptionId,
|
|
1371
|
+
hasText: !!text,
|
|
1372
|
+
hasBack: hasBg,
|
|
1373
|
+
"aria-label": label
|
|
1374
|
+
}, icon && React__default.createElement(Icon$1, {
|
|
1375
|
+
src: icon.src,
|
|
1376
|
+
alt: icon.alt || '',
|
|
1377
|
+
"aria-hidden": true
|
|
1378
|
+
}), React__default.createElement(ContentBlock, null, label && React__default.createElement(Copy, {
|
|
1379
|
+
id: titleId,
|
|
1380
|
+
type: "copy-b"
|
|
1381
|
+
}, label), text && React__default.createElement(Description$2, {
|
|
1382
|
+
id: descriptionId,
|
|
1383
|
+
type: "copy",
|
|
1384
|
+
innerHTML: text
|
|
1385
|
+
})));
|
|
1386
|
+
};
|
|
1387
|
+
|
|
1296
1388
|
var FactList = function (_a) {
|
|
1297
1389
|
var anchorId = _a.anchorId,
|
|
1298
1390
|
facts = _a.facts,
|
|
1299
1391
|
icon = _a.icon,
|
|
1300
|
-
bgMode = _a.bgMode
|
|
1392
|
+
bgMode = _a.bgMode,
|
|
1393
|
+
_b = _a.listAriaLabel,
|
|
1394
|
+
listAriaLabel = _b === void 0 ? 'List of items with facts and other informations' : _b;
|
|
1301
1395
|
var colors = useLibTheme().colors;
|
|
1302
1396
|
var isInverted = bgMode === 'inverted';
|
|
1303
1397
|
var hasBack = isInverted || bgMode === 'full';
|
|
@@ -1309,38 +1403,34 @@ var FactList = function (_a) {
|
|
|
1309
1403
|
}, React__default.createElement(Wrapper, {
|
|
1310
1404
|
clampWidth: "normal",
|
|
1311
1405
|
addWhitespace: true
|
|
1312
|
-
}, facts && React__default.createElement(FactsContainer,
|
|
1406
|
+
}, facts && React__default.createElement(FactsContainer, {
|
|
1407
|
+
"aria-label": listAriaLabel
|
|
1408
|
+
}, facts.map(function (_a, i) {
|
|
1313
1409
|
var label = _a.label,
|
|
1314
1410
|
text = _a.text;
|
|
1315
1411
|
return React__default.createElement(FactItem, {
|
|
1316
1412
|
key: i,
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
}), React__default.createElement(ContentBlock, null, label && React__default.createElement(Copy, {
|
|
1323
|
-
type: "copy-b"
|
|
1324
|
-
}, label), text && React__default.createElement(Description$2, {
|
|
1325
|
-
type: "copy",
|
|
1326
|
-
innerHTML: text
|
|
1327
|
-
})));
|
|
1413
|
+
label: label,
|
|
1414
|
+
text: text,
|
|
1415
|
+
hasBg: hasBack,
|
|
1416
|
+
icon: icon
|
|
1417
|
+
});
|
|
1328
1418
|
}))));
|
|
1329
1419
|
};
|
|
1330
1420
|
var FactList$1 = withLibTheme(FactList);
|
|
1331
1421
|
var templateObject_1$l, templateObject_2$j, templateObject_3$f, templateObject_4$d, templateObject_5$b;
|
|
1332
1422
|
|
|
1333
|
-
var View$4 = styled.
|
|
1423
|
+
var View$4 = styled.article.withConfig({
|
|
1334
1424
|
displayName: "Feature__View",
|
|
1335
1425
|
componentId: "sc-d7vugh-0"
|
|
1336
|
-
})(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n min-width: 270px;\n padding-bottom: ", "px;\n text-align: ", ";\n\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n min-width: 270px;\n padding-bottom: ", "px;\n text-align: ", ";\n\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.nudge, function (_a) {
|
|
1426
|
+
})(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n position: relative;\n min-width: 270px;\n padding-bottom: ", "px;\n text-align: ", ";\n\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n position: relative;\n min-width: 270px;\n padding-bottom: ", "px;\n text-align: ", ";\n\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.nudge, function (_a) {
|
|
1337
1427
|
var isCentered = _a.isCentered;
|
|
1338
1428
|
return isCentered && 'center';
|
|
1339
1429
|
}, spacings.spacer);
|
|
1340
|
-
var TitleLink = styled(Link).withConfig({
|
|
1430
|
+
var TitleLink$2 = styled(Link).withConfig({
|
|
1341
1431
|
displayName: "Feature__TitleLink",
|
|
1342
1432
|
componentId: "sc-d7vugh-1"
|
|
1343
|
-
})(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n display: inline-block;\n ", "\n\n color: ", ";\n text-decoration: none;\n\n ", "\n"], ["\n display: inline-block;\n ", "\n\n color: ", ";\n text-decoration: none;\n\n ", "\n"])), copyStyle('copy-b', 'big'), function (_a) {
|
|
1433
|
+
})(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n display: inline-block;\n ", "\n\n color: ", ";\n text-decoration: none;\n\n ", "\n\n * {\n padding: 0;\n margin: 0;\n ", "\n }\n"], ["\n display: inline-block;\n ", "\n\n color: ", ";\n text-decoration: none;\n\n ", "\n\n * {\n padding: 0;\n margin: 0;\n ", "\n }\n"])), copyStyle('copy-b', 'big'), function (_a) {
|
|
1344
1434
|
var theme = _a.theme,
|
|
1345
1435
|
isInverted = _a.isInverted;
|
|
1346
1436
|
return isInverted ? getFonts(theme)['copy-b'].big.colorInverted : getFonts(theme)['copy-b'].big.color;
|
|
@@ -1349,25 +1439,41 @@ var TitleLink = styled(Link).withConfig({
|
|
|
1349
1439
|
isInverted = _a.isInverted,
|
|
1350
1440
|
theme = _a.theme;
|
|
1351
1441
|
return !href && css(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n &:hover {\n color: ", ";\n }\n "], ["\n &:hover {\n color: ", ";\n }\n "])), isInverted ? getFonts(theme)['copy-b'].big.colorInverted : getFonts(theme)['copy-b'].big.color);
|
|
1352
|
-
});
|
|
1353
|
-
var
|
|
1354
|
-
displayName: "
|
|
1442
|
+
}, copyStyle('copy-b', 'big'));
|
|
1443
|
+
var Title$2 = styled.div.withConfig({
|
|
1444
|
+
displayName: "Feature__Title",
|
|
1355
1445
|
componentId: "sc-d7vugh-2"
|
|
1356
|
-
})(
|
|
1446
|
+
})(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n display: inline-block;\n ", "\n\n color: ", ";\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n ", ";\n }\n }\n\n * {\n padding: 0;\n margin: 0;\n ", "\n }\n"], ["\n display: inline-block;\n ", "\n\n color: ", ";\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n ", ";\n }\n }\n\n * {\n padding: 0;\n margin: 0;\n ", "\n }\n"])), copyStyle('copy-b', 'big'), function (_a) {
|
|
1447
|
+
var theme = _a.theme,
|
|
1448
|
+
isInverted = _a.isInverted;
|
|
1449
|
+
return isInverted ? getFonts(theme)['copy-b'].big.colorInverted : getFonts(theme)['copy-b'].big.color;
|
|
1450
|
+
}, function (_a) {
|
|
1451
|
+
var theme = _a.theme,
|
|
1452
|
+
isInverted = _a.isInverted,
|
|
1453
|
+
onClick = _a.onClick;
|
|
1454
|
+
return onClick && css(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n color: ", ";\n cursor: pointer;\n "], ["\n color: ", ";\n cursor: pointer;\n "])), isInverted ? getFonts(theme).link.colorHoverInverted : getFonts(theme).link.colorHover);
|
|
1455
|
+
}, copyStyle('copy-b', 'big'));
|
|
1456
|
+
var ImageContainer$1 = styled.div.withConfig({
|
|
1457
|
+
displayName: "Feature__ImageContainer",
|
|
1458
|
+
componentId: "sc-d7vugh-3"
|
|
1459
|
+
})(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n display: flex;\n justify-content: ", ";\n width: 100%;\n"], ["\n display: flex;\n justify-content: ", ";\n width: 100%;\n"])), function (_a) {
|
|
1357
1460
|
var isCentered = _a.isCentered;
|
|
1358
1461
|
return isCentered ? 'center' : 'flex-start';
|
|
1359
1462
|
});
|
|
1360
1463
|
var StyledImage$6 = styled(Image).withConfig({
|
|
1361
1464
|
displayName: "Feature__StyledImage",
|
|
1362
|
-
componentId: "sc-d7vugh-
|
|
1363
|
-
})(
|
|
1465
|
+
componentId: "sc-d7vugh-4"
|
|
1466
|
+
})(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n overflow: hidden;\n border-radius: ", ";\n\n cursor: ", ";\n"], ["\n overflow: hidden;\n border-radius: ", ";\n\n cursor: ", ";\n"])), function (_a) {
|
|
1364
1467
|
var theme = _a.theme;
|
|
1365
1468
|
return getGlobals(theme).sections.edgeRadius;
|
|
1469
|
+
}, function (_a) {
|
|
1470
|
+
var onClick = _a.onClick;
|
|
1471
|
+
return onClick && 'pointer';
|
|
1366
1472
|
});
|
|
1367
1473
|
var ArticleContent = styled.div.withConfig({
|
|
1368
1474
|
displayName: "Feature__ArticleContent",
|
|
1369
|
-
componentId: "sc-d7vugh-
|
|
1370
|
-
})(
|
|
1475
|
+
componentId: "sc-d7vugh-5"
|
|
1476
|
+
})(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject(["\n text-align: ", ";\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n & > * {\n max-width: 95%;\n margin-right: ", ";\n margin-left: ", ";\n }\n }\n"], ["\n text-align: ", ";\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n & > * {\n max-width: 95%;\n margin-right: ", ";\n margin-left: ", ";\n }\n }\n"])), function (_a) {
|
|
1371
1477
|
var isCentered = _a.isCentered;
|
|
1372
1478
|
return isCentered && 'center';
|
|
1373
1479
|
}, spacings.nudge * 2, mq.medium, function (_a) {
|
|
@@ -1377,10 +1483,10 @@ var ArticleContent = styled.div.withConfig({
|
|
|
1377
1483
|
var isCentered = _a.isCentered;
|
|
1378
1484
|
return isCentered && 'auto';
|
|
1379
1485
|
});
|
|
1380
|
-
var
|
|
1381
|
-
displayName: "
|
|
1382
|
-
componentId: "sc-d7vugh-
|
|
1383
|
-
})(
|
|
1486
|
+
var CardFooter = styled.div.withConfig({
|
|
1487
|
+
displayName: "Feature__CardFooter",
|
|
1488
|
+
componentId: "sc-d7vugh-6"
|
|
1489
|
+
})(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n max-width: 100%;\n"], ["\n max-width: 100%;\n"])));
|
|
1384
1490
|
var Feature = forwardRef(function (_a, ref) {
|
|
1385
1491
|
var title = _a.title,
|
|
1386
1492
|
description = _a.description,
|
|
@@ -1394,13 +1500,26 @@ var Feature = forwardRef(function (_a, ref) {
|
|
|
1394
1500
|
isCentered = _c === void 0 ? false : _c,
|
|
1395
1501
|
action = _a.action,
|
|
1396
1502
|
className = _a.className;
|
|
1503
|
+
var uniqueId = useId();
|
|
1504
|
+
|
|
1505
|
+
var handleClick = function () {
|
|
1506
|
+
if (!(link === null || link === void 0 ? void 0 : link.href)) return;
|
|
1507
|
+
|
|
1508
|
+
if (link.isExternal) {
|
|
1509
|
+
window.open(link.href, '_blank', 'noopener');
|
|
1510
|
+
} else {
|
|
1511
|
+
window.location.href = link.href;
|
|
1512
|
+
}
|
|
1513
|
+
};
|
|
1514
|
+
|
|
1397
1515
|
return React__default.createElement(View$4, {
|
|
1398
1516
|
ref: ref,
|
|
1399
1517
|
isCentered: isCentered,
|
|
1518
|
+
"aria-labelledby": uniqueId,
|
|
1400
1519
|
className: className
|
|
1401
|
-
}, (image === null || image === void 0 ? void 0 : image.small) && React__default.createElement(ImageContainer$1,
|
|
1520
|
+
}, (image === null || image === void 0 ? void 0 : image.small) && React__default.createElement(ImageContainer$1, {
|
|
1402
1521
|
isCentered: isCentered
|
|
1403
|
-
}
|
|
1522
|
+
}, React__default.createElement(StyledImage$6, {
|
|
1404
1523
|
small: image.small,
|
|
1405
1524
|
medium: image.medium,
|
|
1406
1525
|
semilarge: image.semilarge,
|
|
@@ -1409,12 +1528,22 @@ var Feature = forwardRef(function (_a, ref) {
|
|
|
1409
1528
|
alt: image.alt,
|
|
1410
1529
|
ratios: image.ratios,
|
|
1411
1530
|
coverSpace: image.coverSpace === undefined ? true : image.coverSpace,
|
|
1412
|
-
isInverted: isInverted
|
|
1413
|
-
|
|
1531
|
+
isInverted: isInverted,
|
|
1532
|
+
onClick: (link === null || link === void 0 ? void 0 : link.href) ? handleClick : undefined
|
|
1533
|
+
})), title && React__default.createElement(React__default.Fragment, null, action ? React__default.createElement(Title$2, {
|
|
1534
|
+
isInverted: isInverted,
|
|
1535
|
+
"data-sheet": "title",
|
|
1536
|
+
"aria-label": title,
|
|
1537
|
+
onClick: (link === null || link === void 0 ? void 0 : link.href) ? handleClick : undefined
|
|
1538
|
+
}, React__default.createElement("h3", {
|
|
1539
|
+
id: uniqueId
|
|
1540
|
+
}, title)) : React__default.createElement(TitleLink$2, __assign({}, link, {
|
|
1414
1541
|
isInverted: isInverted,
|
|
1415
1542
|
ariaLabel: title,
|
|
1416
1543
|
dataSheet: "title"
|
|
1417
|
-
}),
|
|
1544
|
+
}), React__default.createElement("h3", {
|
|
1545
|
+
id: uniqueId
|
|
1546
|
+
}, title))), React__default.createElement(Copy, {
|
|
1418
1547
|
size: "small",
|
|
1419
1548
|
isInverted: isInverted,
|
|
1420
1549
|
"data-sheet": "desc",
|
|
@@ -1432,13 +1561,16 @@ var Feature = forwardRef(function (_a, ref) {
|
|
|
1432
1561
|
isInverted: isInverted,
|
|
1433
1562
|
innerHTML: text,
|
|
1434
1563
|
"data-sheet": "text"
|
|
1435
|
-
})), action && React__default.createElement(
|
|
1564
|
+
})), action && React__default.createElement(CardFooter, null, action({
|
|
1436
1565
|
isInverted: isInverted,
|
|
1437
|
-
isTextCentered: isCentered
|
|
1566
|
+
isTextCentered: isCentered,
|
|
1567
|
+
title: title,
|
|
1568
|
+
link: link,
|
|
1569
|
+
clickHandler: handleClick
|
|
1438
1570
|
})));
|
|
1439
1571
|
});
|
|
1440
1572
|
Feature.displayName = 'Feature';
|
|
1441
|
-
var templateObject_1$k, templateObject_2$i, templateObject_3$e, templateObject_4$c, templateObject_5$a, templateObject_6$7, templateObject_7$
|
|
1573
|
+
var templateObject_1$k, templateObject_2$i, templateObject_3$e, templateObject_4$c, templateObject_5$a, templateObject_6$7, templateObject_7$5, templateObject_8$2, templateObject_9$1;
|
|
1442
1574
|
|
|
1443
1575
|
var FeatureList = function (_a) {
|
|
1444
1576
|
var anchorId = _a.anchorId,
|
|
@@ -1446,7 +1578,9 @@ var FeatureList = function (_a) {
|
|
|
1446
1578
|
bgMode = _a.bgMode,
|
|
1447
1579
|
_b = _a.isCentered,
|
|
1448
1580
|
isCentered = _b === void 0 ? false : _b,
|
|
1449
|
-
columns = _a.columns
|
|
1581
|
+
columns = _a.columns,
|
|
1582
|
+
_c = _a.listAriaLabel,
|
|
1583
|
+
listAriaLabel = _c === void 0 ? 'List of features/articles with text and images' : _c;
|
|
1450
1584
|
var colors = useLibTheme().colors;
|
|
1451
1585
|
var isInverted = bgMode === 'inverted';
|
|
1452
1586
|
var featureCount = (features === null || features === void 0 ? void 0 : features.length) || 0;
|
|
@@ -1478,7 +1612,9 @@ var FeatureList = function (_a) {
|
|
|
1478
1612
|
addWhitespace: true,
|
|
1479
1613
|
clampWidth: "normal"
|
|
1480
1614
|
}, React__default.createElement(Grid.Row, {
|
|
1481
|
-
halign: isHalf || featureCount <= 2 ? 'center' : 'left'
|
|
1615
|
+
halign: isHalf || featureCount <= 2 ? 'center' : 'left',
|
|
1616
|
+
asList: true,
|
|
1617
|
+
ariaLabel: listAriaLabel
|
|
1482
1618
|
}, features === null || features === void 0 ? void 0 : features.map(function (feature, i) {
|
|
1483
1619
|
return React__default.createElement(Grid.Col, {
|
|
1484
1620
|
semilarge: {
|
|
@@ -1509,7 +1645,9 @@ var StyledImage$5 = styled(Image).withConfig({
|
|
|
1509
1645
|
var Gallery = function (_a) {
|
|
1510
1646
|
var anchorId = _a.anchorId,
|
|
1511
1647
|
bgMode = _a.bgMode,
|
|
1512
|
-
images = _a.images
|
|
1648
|
+
images = _a.images,
|
|
1649
|
+
_b = _a.listAriaLabel,
|
|
1650
|
+
listAriaLabel = _b === void 0 ? 'Image Gallery' : _b;
|
|
1513
1651
|
var colors = useLibTheme().colors;
|
|
1514
1652
|
var isInverted = bgMode === 'inverted';
|
|
1515
1653
|
return React__default.createElement(Section, {
|
|
@@ -1519,13 +1657,20 @@ var Gallery = function (_a) {
|
|
|
1519
1657
|
bgMode: mapToBgMode(bgMode)
|
|
1520
1658
|
}, React__default.createElement(Wrapper, {
|
|
1521
1659
|
addWhitespace: true
|
|
1522
|
-
}, React__default.createElement(Grid.Row,
|
|
1660
|
+
}, React__default.createElement(Grid.Row, {
|
|
1661
|
+
asList: images && images.length > 1,
|
|
1662
|
+
ariaLabel: listAriaLabel
|
|
1663
|
+
}, images === null || images === void 0 ? void 0 : images.map(function (img, i) {
|
|
1664
|
+
var _a;
|
|
1665
|
+
|
|
1523
1666
|
return React__default.createElement(Grid.Col, {
|
|
1524
1667
|
key: i,
|
|
1525
1668
|
semilarge: {
|
|
1526
1669
|
span: img.isFull ? 12 / 12 : 6 / 12
|
|
1527
|
-
}
|
|
1670
|
+
},
|
|
1671
|
+
ariaLabel: img.alt ? img.alt : "Galerie Bild ".concat(i + 1)
|
|
1528
1672
|
}, React__default.createElement(StyledImage$5, __assign({}, img, {
|
|
1673
|
+
alt: (_a = img.alt) !== null && _a !== void 0 ? _a : '',
|
|
1529
1674
|
coverSpace: true,
|
|
1530
1675
|
isInverted: isInverted
|
|
1531
1676
|
})));
|
|
@@ -1604,7 +1749,7 @@ var ShowMore = styled.div.withConfig({
|
|
|
1604
1749
|
var StyledActions$3 = styled(Actions).withConfig({
|
|
1605
1750
|
displayName: "IconList__StyledActions",
|
|
1606
1751
|
componentId: "sc-10wpi8n-6"
|
|
1607
|
-
})(templateObject_7$
|
|
1752
|
+
})(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n margin-top: ", "px;\n\n @media ", " {\n display: block;\n text-align: ", ";\n }\n"], ["\n margin-top: ", "px;\n\n @media ", " {\n display: block;\n text-align: ", ";\n }\n"])), spacings.spacer, mq.medium, function (_a) {
|
|
1608
1753
|
var isCentered = _a.isCentered;
|
|
1609
1754
|
return isCentered && 'center';
|
|
1610
1755
|
});
|
|
@@ -1622,13 +1767,18 @@ var IconList = function (_a) {
|
|
|
1622
1767
|
_d = _a.showMoreText,
|
|
1623
1768
|
showMoreText = _d === void 0 ? 'show more' : _d,
|
|
1624
1769
|
enableToggle = _a.enableToggle,
|
|
1625
|
-
bgMode = _a.bgMode
|
|
1770
|
+
bgMode = _a.bgMode,
|
|
1771
|
+
_e = _a.listAriaLabel,
|
|
1772
|
+
listAriaLabel = _e === void 0 ? 'List of linked icons/logos' : _e;
|
|
1626
1773
|
var colors = useLibTheme().colors;
|
|
1774
|
+
var id = useId();
|
|
1627
1775
|
var isInverted = bgMode === 'inverted';
|
|
1628
1776
|
|
|
1629
|
-
var
|
|
1630
|
-
showMore =
|
|
1631
|
-
setShowMore =
|
|
1777
|
+
var _f = useState(!enableToggle),
|
|
1778
|
+
showMore = _f[0],
|
|
1779
|
+
setShowMore = _f[1];
|
|
1780
|
+
|
|
1781
|
+
var listId = "icon-list-".concat(id);
|
|
1632
1782
|
|
|
1633
1783
|
var handleToggleClick = function () {
|
|
1634
1784
|
setShowMore(function (prev) {
|
|
@@ -1648,8 +1798,10 @@ var IconList = function (_a) {
|
|
|
1648
1798
|
}, React__default.createElement(ItemContainer, {
|
|
1649
1799
|
isCentered: isCentered
|
|
1650
1800
|
}, React__default.createElement(Items$1, {
|
|
1801
|
+
id: listId,
|
|
1651
1802
|
isVisible: !showMore ? true : showMore === true,
|
|
1652
|
-
isCentered: isCentered
|
|
1803
|
+
isCentered: isCentered,
|
|
1804
|
+
"aria-label": listAriaLabel
|
|
1653
1805
|
}, items === null || items === void 0 ? void 0 : items.map(function (_a, i) {
|
|
1654
1806
|
var src = _a.src,
|
|
1655
1807
|
link = _a.link,
|
|
@@ -1661,13 +1813,12 @@ var IconList = function (_a) {
|
|
|
1661
1813
|
index: i,
|
|
1662
1814
|
key: i
|
|
1663
1815
|
}, React__default.createElement(ItemLink, __assign({}, link, {
|
|
1664
|
-
isInverted: isInverted
|
|
1665
|
-
ariaLabel: alt
|
|
1816
|
+
isInverted: isInverted
|
|
1666
1817
|
}), React__default.createElement(Image, {
|
|
1667
1818
|
"data-img-loaded": false,
|
|
1668
1819
|
isInverted: isInverted,
|
|
1669
1820
|
small: src,
|
|
1670
|
-
alt: alt,
|
|
1821
|
+
alt: alt !== null && alt !== void 0 ? alt : '',
|
|
1671
1822
|
ratios: ratio ? {
|
|
1672
1823
|
small: ratio
|
|
1673
1824
|
} : undefined,
|
|
@@ -1689,6 +1840,7 @@ var IconList = function (_a) {
|
|
|
1689
1840
|
as: "button",
|
|
1690
1841
|
isInverted: isInverted,
|
|
1691
1842
|
"aria-pressed": showMore,
|
|
1843
|
+
"aria-controls": listId,
|
|
1692
1844
|
onClick: function () {
|
|
1693
1845
|
return handleToggleClick();
|
|
1694
1846
|
}
|
|
@@ -1699,7 +1851,7 @@ var IconList = function (_a) {
|
|
|
1699
1851
|
})));
|
|
1700
1852
|
};
|
|
1701
1853
|
var IconList$1 = withLibTheme(IconList);
|
|
1702
|
-
var templateObject_1$i, templateObject_2$h, templateObject_3$d, templateObject_4$b, templateObject_5$9, templateObject_6$6, templateObject_7$
|
|
1854
|
+
var templateObject_1$i, templateObject_2$h, templateObject_3$d, templateObject_4$b, templateObject_5$9, templateObject_6$6, templateObject_7$4;
|
|
1703
1855
|
|
|
1704
1856
|
var List$1 = styled.ul.withConfig({
|
|
1705
1857
|
displayName: "IndexList__List",
|
|
@@ -1742,18 +1894,20 @@ var IndexList = function (_a) {
|
|
|
1742
1894
|
items = _a.items,
|
|
1743
1895
|
bgMode = _a.bgMode,
|
|
1744
1896
|
customIcon = _a.customIcon,
|
|
1745
|
-
scrollToOffset = _a.scrollToOffset
|
|
1897
|
+
scrollToOffset = _a.scrollToOffset,
|
|
1898
|
+
_b = _a.listAriaLabel,
|
|
1899
|
+
listAriaLabel = _b === void 0 ? 'Link list to anchors on page' : _b;
|
|
1746
1900
|
|
|
1747
|
-
var
|
|
1748
|
-
colors =
|
|
1749
|
-
theme =
|
|
1901
|
+
var _c = useLibTheme(),
|
|
1902
|
+
colors = _c.colors,
|
|
1903
|
+
theme = _c.theme;
|
|
1750
1904
|
|
|
1751
1905
|
var setTargetPos = useScrollTo(500);
|
|
1752
1906
|
var semilarge = useMediaQueries().semilarge;
|
|
1753
1907
|
|
|
1754
|
-
var
|
|
1755
|
-
topOffset =
|
|
1756
|
-
setTopOffset =
|
|
1908
|
+
var _d = useState(0),
|
|
1909
|
+
topOffset = _d[0],
|
|
1910
|
+
setTopOffset = _d[1];
|
|
1757
1911
|
|
|
1758
1912
|
var isInverted = bgMode === 'inverted';
|
|
1759
1913
|
var hasBg = bgMode === 'full';
|
|
@@ -1799,7 +1953,8 @@ var IndexList = function (_a) {
|
|
|
1799
1953
|
addWhitespace: true
|
|
1800
1954
|
}, React__default.createElement(List$1, {
|
|
1801
1955
|
hasBg: hasBg,
|
|
1802
|
-
isInverted: isInverted
|
|
1956
|
+
isInverted: isInverted,
|
|
1957
|
+
"aria-label": listAriaLabel
|
|
1803
1958
|
}, items === null || items === void 0 ? void 0 : items.map(function (item, i) {
|
|
1804
1959
|
return React__default.createElement(ListItem$1, {
|
|
1805
1960
|
key: i
|
|
@@ -1873,10 +2028,10 @@ var Intro$1 = function (_a) {
|
|
|
1873
2028
|
};
|
|
1874
2029
|
var Intro$2 = withLibTheme(Intro$1);
|
|
1875
2030
|
|
|
1876
|
-
var View$3 = styled
|
|
2031
|
+
var View$3 = styled.div.withConfig({
|
|
1877
2032
|
displayName: "NavBlock__View",
|
|
1878
2033
|
componentId: "sc-7v33be-0"
|
|
1879
|
-
})(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n display: -ms-grid;\n display: grid;\n\n -ms-grid-columns: ", ";\n grid-template-columns: ", ";\n -ms-grid-rows: min-content 1fr;\n grid-auto-rows: min-content 1fr;\n\n
|
|
2034
|
+
})(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n position: relative;\n display: -ms-grid;\n display: grid;\n\n -ms-grid-columns: ", ";\n grid-template-columns: ", ";\n -ms-grid-rows: min-content 1fr;\n grid-auto-rows: min-content 1fr;\n\n color: ", ";\n\n outline-color: ", ";\n\n transition: color ease-in-out 0.2s, outline-color ease-in-out 0.2s;\n\n &:has(:focus-visible) {\n outline: 2px solid\n ", ";\n\n outline-offset: 2px;\n }\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n color: ", ";\n }\n }\n"], ["\n position: relative;\n display: -ms-grid;\n display: grid;\n\n -ms-grid-columns: ", ";\n grid-template-columns: ", ";\n -ms-grid-rows: min-content 1fr;\n grid-auto-rows: min-content 1fr;\n\n color: ", ";\n\n outline-color: ", ";\n\n transition: color ease-in-out 0.2s, outline-color ease-in-out 0.2s;\n\n &:has(:focus-visible) {\n outline: 2px solid\n ", ";\n\n outline-offset: 2px;\n }\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n color: ", ";\n }\n }\n"])), function (_a) {
|
|
1880
2035
|
var hasIcon = _a.hasIcon;
|
|
1881
2036
|
return hasIcon ? 'min-content 1fr' : '1fr';
|
|
1882
2037
|
}, function (_a) {
|
|
@@ -1890,6 +2045,10 @@ var View$3 = styled(Link).withConfig({
|
|
|
1890
2045
|
var theme = _a.theme,
|
|
1891
2046
|
isInverted = _a.isInverted;
|
|
1892
2047
|
return isInverted ? getColors(theme).primary.inverted : getColors(theme).primary.default;
|
|
2048
|
+
}, function (_a) {
|
|
2049
|
+
var isInverted = _a.isInverted,
|
|
2050
|
+
theme = _a.theme;
|
|
2051
|
+
return isInverted ? getColors(theme).primary.inverted : getColors(theme).primary.default;
|
|
1893
2052
|
}, function (_a) {
|
|
1894
2053
|
var theme = _a.theme,
|
|
1895
2054
|
isInverted = _a.isInverted;
|
|
@@ -1916,14 +2075,26 @@ var Icon = styled.div.withConfig({
|
|
|
1916
2075
|
displayName: "NavBlock__Icon",
|
|
1917
2076
|
componentId: "sc-7v33be-3"
|
|
1918
2077
|
})(templateObject_4$9 || (templateObject_4$9 = __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"])));
|
|
2078
|
+
var TitleLink$1 = styled(Link).withConfig({
|
|
2079
|
+
displayName: "NavBlock__TitleLink",
|
|
2080
|
+
componentId: "sc-7v33be-4"
|
|
2081
|
+
})(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["\n outline: none;\n\n &:focus-visible {\n outline: none;\n }\n"], ["\n outline: none;\n\n &:focus-visible {\n outline: none;\n }\n"])));
|
|
1919
2082
|
var Title$1 = styled(Copy).withConfig({
|
|
1920
2083
|
displayName: "NavBlock__Title",
|
|
1921
|
-
componentId: "sc-7v33be-
|
|
1922
|
-
})(
|
|
2084
|
+
componentId: "sc-7v33be-5"
|
|
2085
|
+
})(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject(["\n display: inline-block;\n\n color: ", ";\n\n transition: color ease-in-out 0.2s;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n color: ", ";\n }\n }\n\n &:before {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 1;\n }\n"], ["\n display: inline-block;\n\n color: ", ";\n\n transition: color ease-in-out 0.2s;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n color: ", ";\n }\n }\n\n &:before {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 1;\n }\n"])), function (_a) {
|
|
2086
|
+
var theme = _a.theme,
|
|
2087
|
+
isInverted = _a.isInverted;
|
|
2088
|
+
return isInverted ? getColors(theme).primary.inverted : getColors(theme).primary.default;
|
|
2089
|
+
}, function (_a) {
|
|
2090
|
+
var theme = _a.theme,
|
|
2091
|
+
isInverted = _a.isInverted;
|
|
2092
|
+
return isInverted ? getColors(theme).primary.invertedHover : getColors(theme).primary.hover;
|
|
2093
|
+
});
|
|
1923
2094
|
var TitleIcon = styled.span.withConfig({
|
|
1924
2095
|
displayName: "NavBlock__TitleIcon",
|
|
1925
|
-
componentId: "sc-7v33be-
|
|
1926
|
-
})(
|
|
2096
|
+
componentId: "sc-7v33be-6"
|
|
2097
|
+
})(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject(["\n display: inline-block;\n margin-left: ", "px;\n\n @media ", " {\n margin-left: ", "px;\n }\n"], ["\n display: inline-block;\n margin-left: ", "px;\n\n @media ", " {\n margin-left: ", "px;\n }\n"])), spacings.nudge * 2, mq.medium, spacings.nudge * 3);
|
|
1927
2098
|
|
|
1928
2099
|
var NavBlock = function (_a) {
|
|
1929
2100
|
var _b = _a.isInverted,
|
|
@@ -1934,26 +2105,47 @@ var NavBlock = function (_a) {
|
|
|
1934
2105
|
customIcon = _a.customIcon,
|
|
1935
2106
|
customTitleIcon = _a.customTitleIcon,
|
|
1936
2107
|
className = _a.className;
|
|
1937
|
-
|
|
2108
|
+
var id = useId();
|
|
2109
|
+
var titleId = "nav-block-title-".concat(id);
|
|
2110
|
+
var descriptionId = "nav-block-description-".concat(id);
|
|
2111
|
+
return React__default.createElement(View$3, {
|
|
1938
2112
|
isInverted: isInverted,
|
|
1939
2113
|
hasIcon: !!customIcon,
|
|
2114
|
+
"aria-labelledby": titleId,
|
|
2115
|
+
"aria-describedby": text ? descriptionId : undefined,
|
|
2116
|
+
id: id,
|
|
2117
|
+
role: "navigation",
|
|
1940
2118
|
className: className
|
|
1941
|
-
}
|
|
2119
|
+
}, customIcon ? React__default.createElement(Icon, null, customIcon({})) : '', React__default.createElement(MainLabel, {
|
|
1942
2120
|
hasIcon: !!customIcon
|
|
1943
|
-
},
|
|
2121
|
+
}, (link === null || link === void 0 ? void 0 : link.href) ? React__default.createElement(TitleLink$1, __assign({}, link, {
|
|
2122
|
+
isInverted: isInverted
|
|
2123
|
+
}), title && React__default.createElement(Title$1, {
|
|
2124
|
+
id: titleId,
|
|
1944
2125
|
textColor: "inherit",
|
|
1945
2126
|
size: "medium",
|
|
1946
|
-
type: "copy-b"
|
|
2127
|
+
type: "copy-b",
|
|
2128
|
+
renderAs: "span",
|
|
2129
|
+
isInverted: isInverted
|
|
2130
|
+
}, title, title && customTitleIcon && React__default.createElement(TitleIcon, null, customTitleIcon({
|
|
2131
|
+
isInverted: isInverted
|
|
2132
|
+
})))) : title ? React__default.createElement(Title$1, {
|
|
2133
|
+
id: titleId,
|
|
2134
|
+
textColor: "inherit",
|
|
2135
|
+
size: "medium",
|
|
2136
|
+
type: "copy-b",
|
|
2137
|
+
isInverted: isInverted
|
|
1947
2138
|
}, title, title && customTitleIcon && React__default.createElement(TitleIcon, null, customTitleIcon({
|
|
1948
2139
|
isInverted: isInverted
|
|
1949
|
-
})))), text && React__default.createElement(React__default.Fragment, null, React__default.createElement("span", null), React__default.createElement(Text$2, {
|
|
2140
|
+
}))) : null), text && React__default.createElement(React__default.Fragment, null, React__default.createElement("span", null), React__default.createElement(Text$2, {
|
|
2141
|
+
id: descriptionId,
|
|
1950
2142
|
size: "small",
|
|
1951
2143
|
isInverted: isInverted,
|
|
1952
2144
|
innerHTML: text,
|
|
1953
2145
|
hasIcon: !!customIcon
|
|
1954
2146
|
})));
|
|
1955
2147
|
};
|
|
1956
|
-
var templateObject_1$g, templateObject_2$f, templateObject_3$b, templateObject_4$9, templateObject_5$7, templateObject_6$5;
|
|
2148
|
+
var templateObject_1$g, templateObject_2$f, templateObject_3$b, templateObject_4$9, templateObject_5$7, templateObject_6$5, templateObject_7$3;
|
|
1957
2149
|
|
|
1958
2150
|
var List = styled.ul.withConfig({
|
|
1959
2151
|
displayName: "NavList__List",
|
|
@@ -1968,7 +2160,9 @@ var NavList = function (_a) {
|
|
|
1968
2160
|
var anchorId = _a.anchorId,
|
|
1969
2161
|
items = _a.items,
|
|
1970
2162
|
bgMode = _a.bgMode,
|
|
1971
|
-
customTitleIcon = _a.customTitleIcon
|
|
2163
|
+
customTitleIcon = _a.customTitleIcon,
|
|
2164
|
+
_b = _a.listAriaLabel,
|
|
2165
|
+
listAriaLabel = _b === void 0 ? 'List of navigation items' : _b;
|
|
1972
2166
|
var colors = useLibTheme().colors;
|
|
1973
2167
|
var isInverted = bgMode === 'inverted';
|
|
1974
2168
|
var hasBg = bgMode === 'full';
|
|
@@ -1979,7 +2173,9 @@ var NavList = function (_a) {
|
|
|
1979
2173
|
bgMode: mapToBgMode(bgMode, true)
|
|
1980
2174
|
}, React__default.createElement(Wrapper, {
|
|
1981
2175
|
addWhitespace: true
|
|
1982
|
-
}, React__default.createElement(List,
|
|
2176
|
+
}, React__default.createElement(List, {
|
|
2177
|
+
"aria-label": listAriaLabel
|
|
2178
|
+
}, items === null || items === void 0 ? void 0 : items.map(function (item, i) {
|
|
1983
2179
|
return React__default.createElement(ListItem, {
|
|
1984
2180
|
key: i
|
|
1985
2181
|
}, React__default.createElement(NavBlock, __assign({}, item, {
|
|
@@ -2086,7 +2282,9 @@ var NumberList = function (_a) {
|
|
|
2086
2282
|
items = _a.items,
|
|
2087
2283
|
bgMode = _a.bgMode,
|
|
2088
2284
|
_b = _a.isCentered,
|
|
2089
|
-
isCentered = _b === void 0 ? true : _b
|
|
2285
|
+
isCentered = _b === void 0 ? true : _b,
|
|
2286
|
+
_c = _a.listAriaLabel,
|
|
2287
|
+
listAriaLabel = _c === void 0 ? 'List of items with number values and description' : _c;
|
|
2090
2288
|
var theme = useContext(ThemeContext);
|
|
2091
2289
|
var isInverted = bgMode === 'inverted';
|
|
2092
2290
|
var hasBg = bgMode === 'full';
|
|
@@ -2109,7 +2307,9 @@ var NumberList = function (_a) {
|
|
|
2109
2307
|
bgMode: mapToBgMode(bgMode, true)
|
|
2110
2308
|
}, React__default.createElement(Wrapper, {
|
|
2111
2309
|
addWhitespace: true
|
|
2112
|
-
}, React__default.createElement(CardList,
|
|
2310
|
+
}, React__default.createElement(CardList, {
|
|
2311
|
+
"aria-label": listAriaLabel
|
|
2312
|
+
}, items === null || items === void 0 ? void 0 : items.map(function (item, i) {
|
|
2113
2313
|
return React__default.createElement(NumberListCard, __assign({
|
|
2114
2314
|
key: i,
|
|
2115
2315
|
ref: numbersRef[i]
|
|
@@ -2277,7 +2477,9 @@ var ParallaxBackground = function (_a) {
|
|
|
2277
2477
|
}, image && React__default.createElement(StyledImage$3, __assign({
|
|
2278
2478
|
hAlign: hAlign,
|
|
2279
2479
|
coverSpace: width !== -1
|
|
2280
|
-
}, image
|
|
2480
|
+
}, image, {
|
|
2481
|
+
alt: ""
|
|
2482
|
+
}))))));
|
|
2281
2483
|
};
|
|
2282
2484
|
var templateObject_1$d, templateObject_2$c, templateObject_3$9, templateObject_4$7, templateObject_5$5;
|
|
2283
2485
|
|
|
@@ -2408,7 +2610,12 @@ var PriceBlock = function (_a) {
|
|
|
2408
2610
|
var PriceList = function (_a) {
|
|
2409
2611
|
var anchorId = _a.anchorId,
|
|
2410
2612
|
bgMode = _a.bgMode,
|
|
2411
|
-
items = _a.items
|
|
2613
|
+
items = _a.items,
|
|
2614
|
+
_b = _a.listAriaLabel,
|
|
2615
|
+
listAriaLabel = _b === void 0 ? 'List of items with price information' : _b,
|
|
2616
|
+
_c = _a.jsonLdType,
|
|
2617
|
+
jsonLdType = _c === void 0 ? 'service' : _c,
|
|
2618
|
+
customJsonLdData = _a.customJsonLdData;
|
|
2412
2619
|
var colors = useLibTheme().colors;
|
|
2413
2620
|
var isInverted = bgMode === 'inverted';
|
|
2414
2621
|
var hasBack = isInverted || bgMode === 'full';
|
|
@@ -2417,9 +2624,22 @@ var PriceList = function (_a) {
|
|
|
2417
2624
|
anchorId: anchorId,
|
|
2418
2625
|
bgColor: isInverted ? colors.sectionBg.dark : bgMode === 'full' ? colors.sectionBg.medium : colors.sectionBg.light,
|
|
2419
2626
|
bgMode: mapToBgMode(bgMode, true)
|
|
2420
|
-
},
|
|
2627
|
+
}, customJsonLdData ? generatePriceList(customJsonLdData({
|
|
2628
|
+
items: items
|
|
2629
|
+
})) : generatePriceList({
|
|
2630
|
+
type: jsonLdType,
|
|
2631
|
+
items: items === null || items === void 0 ? void 0 : items.map(function (item) {
|
|
2632
|
+
return {
|
|
2633
|
+
name: item.title,
|
|
2634
|
+
description: item.text,
|
|
2635
|
+
price: item.price
|
|
2636
|
+
};
|
|
2637
|
+
})
|
|
2638
|
+
}), React__default.createElement(Wrapper, {
|
|
2421
2639
|
addWhitespace: true
|
|
2422
|
-
}, React__default.createElement(ItemList,
|
|
2640
|
+
}, React__default.createElement(ItemList, {
|
|
2641
|
+
"aria-label": listAriaLabel
|
|
2642
|
+
}, items === null || items === void 0 ? void 0 : items.map(function (item, i) {
|
|
2423
2643
|
return React__default.createElement(PriceBlock, __assign({
|
|
2424
2644
|
key: i
|
|
2425
2645
|
}, item, {
|
|
@@ -2451,7 +2671,8 @@ var StyledActions$2 = styled(Actions).withConfig({
|
|
|
2451
2671
|
componentId: "sc-wnisbz-1"
|
|
2452
2672
|
})(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n display: block;\n margin-top: auto;\n padding-top: ", "px;\n text-align: center;\n"], ["\n display: block;\n margin-top: auto;\n padding-top: ", "px;\n text-align: center;\n"])), spacings.spacer);
|
|
2453
2673
|
var PriceTag = forwardRef(function (_a, ref) {
|
|
2454
|
-
var
|
|
2674
|
+
var renderAs = _a.renderAs,
|
|
2675
|
+
superTitle = _a.superTitle,
|
|
2455
2676
|
title = _a.title,
|
|
2456
2677
|
text = _a.text,
|
|
2457
2678
|
action = _a.action,
|
|
@@ -2460,13 +2681,19 @@ var PriceTag = forwardRef(function (_a, ref) {
|
|
|
2460
2681
|
isHighlighted = _a.isHighlighted,
|
|
2461
2682
|
hasBackground = _a.hasBackground,
|
|
2462
2683
|
className = _a.className;
|
|
2684
|
+
var id = useId();
|
|
2463
2685
|
var inverted = isHighlighted ? !isInverted : false;
|
|
2686
|
+
var titleId = title ? "price-tag-title-".concat(id) : undefined;
|
|
2687
|
+
var descriptionId = text ? "price-tag-desc-".concat(id) : undefined;
|
|
2464
2688
|
return React__default.createElement(View, {
|
|
2465
2689
|
ref: ref,
|
|
2690
|
+
as: renderAs || 'div',
|
|
2466
2691
|
isInverted: isInverted,
|
|
2467
2692
|
isCentered: isCentered,
|
|
2468
2693
|
isHighlighted: isHighlighted,
|
|
2469
2694
|
hasBg: hasBackground,
|
|
2695
|
+
"aria-labelledby": titleId,
|
|
2696
|
+
"aria-describedby": descriptionId,
|
|
2470
2697
|
className: className
|
|
2471
2698
|
}, superTitle && React__default.createElement(Copy, {
|
|
2472
2699
|
type: "copy-b",
|
|
@@ -2475,12 +2702,14 @@ var PriceTag = forwardRef(function (_a, ref) {
|
|
|
2475
2702
|
innerHTML: superTitle,
|
|
2476
2703
|
"data-sheet": "superTitle"
|
|
2477
2704
|
}), title && React__default.createElement(Callout, {
|
|
2705
|
+
id: titleId,
|
|
2478
2706
|
renderAs: "div",
|
|
2479
2707
|
size: "big",
|
|
2480
2708
|
isInverted: inverted,
|
|
2481
2709
|
innerHTML: title,
|
|
2482
2710
|
"data-sheet": "title"
|
|
2483
2711
|
}), text && React__default.createElement(Copy, {
|
|
2712
|
+
id: descriptionId,
|
|
2484
2713
|
size: "medium",
|
|
2485
2714
|
isInverted: inverted,
|
|
2486
2715
|
innerHTML: text,
|
|
@@ -2489,7 +2718,9 @@ var PriceTag = forwardRef(function (_a, ref) {
|
|
|
2489
2718
|
mode: "cover",
|
|
2490
2719
|
primary: action && action({
|
|
2491
2720
|
isInverted: inverted,
|
|
2492
|
-
isHighlighted: isHighlighted
|
|
2721
|
+
isHighlighted: isHighlighted,
|
|
2722
|
+
title: title,
|
|
2723
|
+
superTitle: superTitle
|
|
2493
2724
|
})
|
|
2494
2725
|
}));
|
|
2495
2726
|
});
|
|
@@ -2500,16 +2731,18 @@ var Tag = styled(PriceTag).withConfig({
|
|
|
2500
2731
|
displayName: "PriceTable__Tag",
|
|
2501
2732
|
componentId: "sc-1n6x4b3-0"
|
|
2502
2733
|
})(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n min-height: 500px;\n"], ["\n min-height: 500px;\n"])));
|
|
2503
|
-
var Items = styled.
|
|
2734
|
+
var Items = styled.ul.withConfig({
|
|
2504
2735
|
displayName: "PriceTable__Items",
|
|
2505
2736
|
componentId: "sc-1n6x4b3-1"
|
|
2506
|
-
})(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n flex-wrap: wrap;\n\n margin-top: -", "px;\n margin-left: -", "px;\n\n & > * {\n flex: 1 1 25%;\n min-width: 286px;\n max-width: 320px;\n margin-top: ", "px;\n margin-left: ", "px;\n }\n\n @media ", " {\n & > * {\n max-width: 286px;\n }\n }\n"], ["\n display: flex;\n justify-content: center;\n flex-wrap: wrap;\n\n margin-top: -", "px;\n margin-left: -", "px;\n\n & > * {\n flex: 1 1 25%;\n min-width: 286px;\n max-width: 320px;\n margin-top: ", "px;\n margin-left: ", "px;\n }\n\n @media ", " {\n & > * {\n max-width: 286px;\n }\n }\n"])), gridSettings.gutter, gridSettings.gutter, gridSettings.gutter, gridSettings.gutter, mq.large);
|
|
2737
|
+
})(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n flex-wrap: wrap;\n\n list-style: none;\n padding: 0;\n margin: 0;\n\n margin-top: -", "px;\n margin-left: -", "px;\n\n & > * {\n flex: 1 1 25%;\n min-width: 286px;\n max-width: 320px;\n margin-top: ", "px;\n margin-left: ", "px;\n }\n\n @media ", " {\n & > * {\n max-width: 286px;\n }\n }\n"], ["\n display: flex;\n justify-content: center;\n flex-wrap: wrap;\n\n list-style: none;\n padding: 0;\n margin: 0;\n\n margin-top: -", "px;\n margin-left: -", "px;\n\n & > * {\n flex: 1 1 25%;\n min-width: 286px;\n max-width: 320px;\n margin-top: ", "px;\n margin-left: ", "px;\n }\n\n @media ", " {\n & > * {\n max-width: 286px;\n }\n }\n"])), gridSettings.gutter, gridSettings.gutter, gridSettings.gutter, gridSettings.gutter, mq.large);
|
|
2507
2738
|
|
|
2508
2739
|
var PriceTable = function (_a) {
|
|
2509
2740
|
var anchorId = _a.anchorId,
|
|
2510
2741
|
items = _a.items,
|
|
2511
2742
|
isCentered = _a.isCentered,
|
|
2512
|
-
bgMode = _a.bgMode
|
|
2743
|
+
bgMode = _a.bgMode,
|
|
2744
|
+
_b = _a.listAriaLabel,
|
|
2745
|
+
listAriaLabel = _b === void 0 ? 'List of price cards' : _b;
|
|
2513
2746
|
var isInverted = bgMode === 'inverted';
|
|
2514
2747
|
var hasBg = bgMode === 'full';
|
|
2515
2748
|
var priceTagCount = (items === null || items === void 0 ? void 0 : items.length) || 0;
|
|
@@ -2532,10 +2765,13 @@ var PriceTable = function (_a) {
|
|
|
2532
2765
|
bgMode: mapToBgMode(bgMode)
|
|
2533
2766
|
}, React__default.createElement(Wrapper, {
|
|
2534
2767
|
addWhitespace: true
|
|
2535
|
-
}, React__default.createElement(Items,
|
|
2768
|
+
}, React__default.createElement(Items, {
|
|
2769
|
+
"aria-label": listAriaLabel
|
|
2770
|
+
}, items === null || items === void 0 ? void 0 : items.map(function (item, i) {
|
|
2536
2771
|
return React__default.createElement(Tag, __assign({
|
|
2537
2772
|
key: i,
|
|
2538
|
-
ref: cardRefs[i]
|
|
2773
|
+
ref: cardRefs[i],
|
|
2774
|
+
renderAs: "li"
|
|
2539
2775
|
}, item, {
|
|
2540
2776
|
isInverted: isInverted,
|
|
2541
2777
|
isCentered: isCentered,
|
|
@@ -2575,7 +2811,9 @@ var Quote = function (_a) {
|
|
|
2575
2811
|
}, React__default.createElement(Wrapper, {
|
|
2576
2812
|
clampWidth: "normal",
|
|
2577
2813
|
addWhitespace: true
|
|
2578
|
-
}, React__default.createElement(Content$1,
|
|
2814
|
+
}, React__default.createElement(Content$1, {
|
|
2815
|
+
"aria-label": concat([text, source], ', ').replace(/<[^>]*>/g, '')
|
|
2816
|
+
}, text && React__default.createElement(Text, __assign({
|
|
2579
2817
|
size: "small",
|
|
2580
2818
|
renderAs: "blockquote",
|
|
2581
2819
|
isInverted: isInverted,
|
|
@@ -2640,10 +2878,10 @@ var Item = styled.li.withConfig({
|
|
|
2640
2878
|
displayName: "SocialWall__Item",
|
|
2641
2879
|
componentId: "sc-ggztu7-1"
|
|
2642
2880
|
})(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n display: block;\n position: relative;\n padding: 0;\n"], ["\n display: block;\n position: relative;\n padding: 0;\n"])));
|
|
2643
|
-
var Card = styled
|
|
2881
|
+
var Card = styled.div.withConfig({
|
|
2644
2882
|
displayName: "SocialWall__Card",
|
|
2645
2883
|
componentId: "sc-ggztu7-2"
|
|
2646
|
-
})(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["\n position: relative;\n display: block;\n
|
|
2884
|
+
})(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["\n position: relative;\n display: block;\n color: '#fff';\n outline-color: ", ";\n\n border-radius: ", ";\n overflow: hidden;\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: ", ";\n\n opacity: 0;\n pointer-events: none;\n z-index: 1;\n transition: opacity 0.2s ease-in-out;\n }\n\n &:hover {\n &:before {\n opacity: 1;\n pointer-events: all;\n }\n }\n\n &:focus {\n &:before {\n opacity: 1;\n pointer-events: all;\n }\n }\n\n &:has(:focus-visible) {\n outline: 2px solid\n ", ";\n\n outline-offset: 2px;\n }\n"], ["\n position: relative;\n display: block;\n color: '#fff';\n outline-color: ", ";\n\n border-radius: ", ";\n overflow: hidden;\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: ", ";\n\n opacity: 0;\n pointer-events: none;\n z-index: 1;\n transition: opacity 0.2s ease-in-out;\n }\n\n &:hover {\n &:before {\n opacity: 1;\n pointer-events: all;\n }\n }\n\n &:focus {\n &:before {\n opacity: 1;\n pointer-events: all;\n }\n }\n\n &:has(:focus-visible) {\n outline: 2px solid\n ", ";\n\n outline-offset: 2px;\n }\n"])), function (_a) {
|
|
2647
2885
|
var theme = _a.theme,
|
|
2648
2886
|
isInverted = _a.isInverted;
|
|
2649
2887
|
return isInverted ? getColors(theme).primary.inverted : getColors(theme).primary.default;
|
|
@@ -2654,23 +2892,31 @@ var Card = styled(Link).withConfig({
|
|
|
2654
2892
|
var theme = _a.theme,
|
|
2655
2893
|
isInverted = _a.isInverted;
|
|
2656
2894
|
return isInverted ? getColors(theme).secondary.inverted : getColors(theme).secondary.default;
|
|
2895
|
+
}, function (_a) {
|
|
2896
|
+
var isInverted = _a.isInverted,
|
|
2897
|
+
theme = _a.theme;
|
|
2898
|
+
return isInverted ? getColors(theme).primary.inverted : getColors(theme).primary.default;
|
|
2657
2899
|
});
|
|
2900
|
+
var TitleLink = styled(Link).withConfig({
|
|
2901
|
+
displayName: "SocialWall__TitleLink",
|
|
2902
|
+
componentId: "sc-ggztu7-3"
|
|
2903
|
+
})(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n text-decoration: none;\n outline: none;\n\n &:before {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 1;\n }\n\n &:focus-visible {\n outline: none;\n }\n"], ["\n text-decoration: none;\n outline: none;\n\n &:before {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 1;\n }\n\n &:focus-visible {\n outline: none;\n }\n"])));
|
|
2658
2904
|
var StyledImage$1 = styled(Image).withConfig({
|
|
2659
2905
|
displayName: "SocialWall__StyledImage",
|
|
2660
|
-
componentId: "sc-ggztu7-
|
|
2661
|
-
})(
|
|
2906
|
+
componentId: "sc-ggztu7-4"
|
|
2907
|
+
})(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject(["\n display: block;\n height: 100%;\n z-index: 0;\n"], ["\n display: block;\n height: 100%;\n z-index: 0;\n"])));
|
|
2662
2908
|
var TextContainer = styled.div.withConfig({
|
|
2663
2909
|
displayName: "SocialWall__TextContainer",
|
|
2664
|
-
componentId: "sc-ggztu7-
|
|
2665
|
-
})(
|
|
2910
|
+
componentId: "sc-ggztu7-5"
|
|
2911
|
+
})(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n text-align: center;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n padding: ", "px;\n\n opacity: 0;\n pointer-events: none;\n z-index: 2;\n transition: opacity 0.2s ease-in-out;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n ", ":hover & {\n opacity: 1;\n pointer-events: all;\n }\n\n ", ":focus & {\n opacity: 1;\n pointer-events: all;\n }\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n text-align: center;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n padding: ", "px;\n\n opacity: 0;\n pointer-events: none;\n z-index: 2;\n transition: opacity 0.2s ease-in-out;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n ", ":hover & {\n opacity: 1;\n pointer-events: all;\n }\n\n ", ":focus & {\n opacity: 1;\n pointer-events: all;\n }\n"])), spacings.nudge * 2, spacings.nudge * 2, Card, Card);
|
|
2666
2912
|
var FollowUs = styled(Heading).withConfig({
|
|
2667
2913
|
displayName: "SocialWall__FollowUs",
|
|
2668
|
-
componentId: "sc-ggztu7-
|
|
2669
|
-
})(
|
|
2914
|
+
componentId: "sc-ggztu7-6"
|
|
2915
|
+
})(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n text-transform: uppercase;\n"], ["\n text-transform: uppercase;\n"])));
|
|
2670
2916
|
var InstagramIcon = styled.div.withConfig({
|
|
2671
2917
|
displayName: "SocialWall__InstagramIcon",
|
|
2672
|
-
componentId: "sc-ggztu7-
|
|
2673
|
-
})(
|
|
2918
|
+
componentId: "sc-ggztu7-7"
|
|
2919
|
+
})(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n position: absolute;\n left: 20px;\n bottom: 20px;\n color: ", ";\n z-index: 2;\n\n & > * {\n fill: #fff;\n\n ", ":hover & {\n color: ", ";\n }\n }\n"], ["\n position: absolute;\n left: 20px;\n bottom: 20px;\n color: ", ";\n z-index: 2;\n\n & > * {\n fill: #fff;\n\n ", ":hover & {\n color: ", ";\n }\n }\n"])), function (_a) {
|
|
2674
2920
|
var theme = _a.theme;
|
|
2675
2921
|
return getColors(theme).text.inverted;
|
|
2676
2922
|
}, Card, function (_a) {
|
|
@@ -2683,8 +2929,9 @@ var SocialWall = function (_a) {
|
|
|
2683
2929
|
items = _a.items,
|
|
2684
2930
|
hashTag = _a.hashTag,
|
|
2685
2931
|
followUs = _a.followUs,
|
|
2686
|
-
|
|
2687
|
-
|
|
2932
|
+
bgMode = _a.bgMode,
|
|
2933
|
+
_b = _a.listAriaLabel,
|
|
2934
|
+
listAriaLabel = _b === void 0 ? 'List of cards with social media links' : _b;
|
|
2688
2935
|
var colors = useLibTheme().colors;
|
|
2689
2936
|
var isInverted = bgMode === 'inverted';
|
|
2690
2937
|
var hasBg = bgMode === 'full';
|
|
@@ -2695,17 +2942,16 @@ var SocialWall = function (_a) {
|
|
|
2695
2942
|
addSeperation: true
|
|
2696
2943
|
}, React__default.createElement(Wrapper, {
|
|
2697
2944
|
addWhitespace: true
|
|
2698
|
-
}, React__default.createElement(Cards,
|
|
2699
|
-
|
|
2700
|
-
|
|
2945
|
+
}, React__default.createElement(Cards, {
|
|
2946
|
+
"aria-label": listAriaLabel
|
|
2947
|
+
}, items === null || items === void 0 ? void 0 : items.map(function (item, i) {
|
|
2948
|
+
var followUsText = item.followUs || followUs || 'Follow Us';
|
|
2949
|
+
var hashTagText = item.hashTag || hashTag;
|
|
2701
2950
|
return React__default.createElement(Item, {
|
|
2702
2951
|
key: i
|
|
2703
|
-
}, React__default.createElement(Card,
|
|
2704
|
-
|
|
2705
|
-
}, item.
|
|
2706
|
-
isInverted: isInverted,
|
|
2707
|
-
ariaLabel: (_a = item === null || item === void 0 ? void 0 : item.image) === null || _a === void 0 ? void 0 : _a.alt
|
|
2708
|
-
}), item.image && React__default.createElement(StyledImage$1, __assign({}, item.image, {
|
|
2952
|
+
}, React__default.createElement(Card, {
|
|
2953
|
+
isInverted: isInverted
|
|
2954
|
+
}, item.image && React__default.createElement(StyledImage$1, __assign({}, item.image, {
|
|
2709
2955
|
coverSpace: true,
|
|
2710
2956
|
ratios: {
|
|
2711
2957
|
small: {
|
|
@@ -2713,18 +2959,21 @@ var SocialWall = function (_a) {
|
|
|
2713
2959
|
h: 1
|
|
2714
2960
|
}
|
|
2715
2961
|
},
|
|
2716
|
-
isInverted: isInverted
|
|
2717
|
-
|
|
2962
|
+
isInverted: isInverted,
|
|
2963
|
+
isDecorative: true
|
|
2964
|
+
})), React__default.createElement(TextContainer, null, React__default.createElement(TitleLink, __assign({
|
|
2965
|
+
isExternal: true
|
|
2966
|
+
}, item.link), React__default.createElement(FollowUs, {
|
|
2718
2967
|
size: "super",
|
|
2719
2968
|
isInverted: true
|
|
2720
|
-
},
|
|
2969
|
+
}, followUsText)), hashTagText && React__default.createElement(Heading, {
|
|
2721
2970
|
size: "heading-2",
|
|
2722
2971
|
isInverted: true
|
|
2723
|
-
},
|
|
2972
|
+
}, hashTagText)), React__default.createElement(InstagramIcon, null, item.socialIcon || React__default.createElement(Instagram, null))));
|
|
2724
2973
|
}))));
|
|
2725
2974
|
};
|
|
2726
2975
|
var SocialWall$1 = withLibTheme(SocialWall);
|
|
2727
|
-
var templateObject_1$6, templateObject_2$6, templateObject_3$5, templateObject_4$5, templateObject_5$3, templateObject_6$2, templateObject_7$2;
|
|
2976
|
+
var templateObject_1$6, templateObject_2$6, templateObject_3$5, templateObject_4$5, templateObject_5$3, templateObject_6$2, templateObject_7$2, templateObject_8$1;
|
|
2728
2977
|
|
|
2729
2978
|
var TableSection = styled(Section).withConfig({
|
|
2730
2979
|
displayName: "Table__TableSection",
|
|
@@ -2738,7 +2987,9 @@ var TableWrapper = styled(Wrapper).withConfig({
|
|
|
2738
2987
|
var Table = function (_a) {
|
|
2739
2988
|
var anchorId = _a.anchorId,
|
|
2740
2989
|
bgMode = _a.bgMode,
|
|
2741
|
-
tableItems = _a.tableItems
|
|
2990
|
+
tableItems = _a.tableItems,
|
|
2991
|
+
ariaControlLeft = _a.ariaControlLeft,
|
|
2992
|
+
ariaControlRight = _a.ariaControlRight;
|
|
2742
2993
|
var colors = useLibTheme().colors;
|
|
2743
2994
|
var isInverted = bgMode === 'inverted';
|
|
2744
2995
|
var hasBg = bgMode === 'full' || isInverted;
|
|
@@ -2752,7 +3003,9 @@ var Table = function (_a) {
|
|
|
2752
3003
|
key: i
|
|
2753
3004
|
}, item, {
|
|
2754
3005
|
isInverted: isInverted,
|
|
2755
|
-
hasBack: hasBg
|
|
3006
|
+
hasBack: hasBg,
|
|
3007
|
+
ariaControlLeft: ariaControlLeft,
|
|
3008
|
+
ariaControlRight: ariaControlRight
|
|
2756
3009
|
}));
|
|
2757
3010
|
})));
|
|
2758
3011
|
};
|
|
@@ -2804,9 +3057,11 @@ var StyledActions$1 = styled(Actions).withConfig({
|
|
|
2804
3057
|
})(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n &:not(:first-child) {\n margin-top: ", "px;\n }\n"], ["\n &:not(:first-child) {\n margin-top: ", "px;\n }\n"])), spacings.spacer);
|
|
2805
3058
|
|
|
2806
3059
|
var Teaser = function (_a) {
|
|
3060
|
+
var _b;
|
|
3061
|
+
|
|
2807
3062
|
var anchorId = _a.anchorId,
|
|
2808
|
-
|
|
2809
|
-
isMirrored =
|
|
3063
|
+
_c = _a.isMirrored,
|
|
3064
|
+
isMirrored = _c === void 0 ? false : _c,
|
|
2810
3065
|
bgMode = _a.bgMode,
|
|
2811
3066
|
superTitle = _a.superTitle,
|
|
2812
3067
|
superTitleAs = _a.superTitleAs,
|
|
@@ -2824,15 +3079,17 @@ var Teaser = function (_a) {
|
|
|
2824
3079
|
var hasVideo = isValidArray(video === null || video === void 0 ? void 0 : video.urls, false);
|
|
2825
3080
|
var viewRef = useRef(null);
|
|
2826
3081
|
|
|
2827
|
-
var
|
|
2828
|
-
isLoaded =
|
|
2829
|
-
setLoaded =
|
|
3082
|
+
var _d = useState(!(image === null || image === void 0 ? void 0 : image.small) || false),
|
|
3083
|
+
isLoaded = _d[0],
|
|
3084
|
+
setLoaded = _d[1];
|
|
2830
3085
|
|
|
2831
|
-
var
|
|
2832
|
-
isVideoActive =
|
|
2833
|
-
setVideoActive =
|
|
3086
|
+
var _e = useState(false),
|
|
3087
|
+
isVideoActive = _e[0],
|
|
3088
|
+
setVideoActive = _e[1];
|
|
2834
3089
|
|
|
2835
3090
|
var isObserverSupported = useObserverSupport();
|
|
3091
|
+
var id = useId();
|
|
3092
|
+
var captionId = description ? "media-caption-".concat(id) : undefined;
|
|
2836
3093
|
useUpdateEffect(function () {
|
|
2837
3094
|
if (!viewRef.current || !hasVideo) return;
|
|
2838
3095
|
|
|
@@ -2880,7 +3137,9 @@ var Teaser = function (_a) {
|
|
|
2880
3137
|
ref: viewRef
|
|
2881
3138
|
}, (image === null || image === void 0 ? void 0 : image.small) && (!video || !isLoaded) && React__default.createElement(StyledImage, __assign({}, image, {
|
|
2882
3139
|
isInverted: isInverted,
|
|
2883
|
-
|
|
3140
|
+
alt: (_b = image.alt) !== null && _b !== void 0 ? _b : '',
|
|
3141
|
+
coverSpace: true,
|
|
3142
|
+
ariaDescribedBy: captionId
|
|
2884
3143
|
})), hasVideo && React__default.createElement(Video$3, {
|
|
2885
3144
|
urls: isVideoActive ? video === null || video === void 0 ? void 0 : video.urls : undefined,
|
|
2886
3145
|
muted: true,
|
|
@@ -2891,8 +3150,11 @@ var Teaser = function (_a) {
|
|
|
2891
3150
|
},
|
|
2892
3151
|
ratios: video === null || video === void 0 ? void 0 : video.aspectRatios,
|
|
2893
3152
|
isVisible: isLoaded,
|
|
2894
|
-
isInverted: isInverted
|
|
3153
|
+
isInverted: isInverted,
|
|
3154
|
+
ariaLabel: description ? undefined : "Video of: ".concat(title),
|
|
3155
|
+
ariaDescribedBy: captionId
|
|
2895
3156
|
}), description && React__default.createElement(Description, {
|
|
3157
|
+
id: captionId,
|
|
2896
3158
|
size: "small",
|
|
2897
3159
|
renderAs: "figcaption",
|
|
2898
3160
|
isInverted: isInverted,
|
|
@@ -3033,9 +3295,11 @@ var StyledActions = styled(Actions).withConfig({
|
|
|
3033
3295
|
})(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n &:not(:first-child) {\n margin-top: ", "px;\n }\n"], ["\n &:not(:first-child) {\n margin-top: ", "px;\n }\n"])), spacings.spacer);
|
|
3034
3296
|
|
|
3035
3297
|
var TeaserWide = function (_a) {
|
|
3298
|
+
var _b;
|
|
3299
|
+
|
|
3036
3300
|
var anchorId = _a.anchorId,
|
|
3037
|
-
|
|
3038
|
-
isMirrored =
|
|
3301
|
+
_c = _a.isMirrored,
|
|
3302
|
+
isMirrored = _c === void 0 ? false : _c,
|
|
3039
3303
|
superTitle = _a.superTitle,
|
|
3040
3304
|
superTitleAs = _a.superTitleAs,
|
|
3041
3305
|
title = _a.title,
|
|
@@ -3052,13 +3316,13 @@ var TeaserWide = function (_a) {
|
|
|
3052
3316
|
var hasVideo = isValidArray(video === null || video === void 0 ? void 0 : video.urls, false);
|
|
3053
3317
|
var viewRef = useRef(null);
|
|
3054
3318
|
|
|
3055
|
-
var
|
|
3056
|
-
isLoaded =
|
|
3057
|
-
setLoaded =
|
|
3319
|
+
var _d = useState(!(image === null || image === void 0 ? void 0 : image.small) || false),
|
|
3320
|
+
isLoaded = _d[0],
|
|
3321
|
+
setLoaded = _d[1];
|
|
3058
3322
|
|
|
3059
|
-
var
|
|
3060
|
-
isVideoActive =
|
|
3061
|
-
setVideoActive =
|
|
3323
|
+
var _e = useState(false),
|
|
3324
|
+
isVideoActive = _e[0],
|
|
3325
|
+
setVideoActive = _e[1];
|
|
3062
3326
|
|
|
3063
3327
|
var isObserverSupported = useObserverSupport();
|
|
3064
3328
|
useUpdateEffect(function () {
|
|
@@ -3093,6 +3357,7 @@ var TeaserWide = function (_a) {
|
|
|
3093
3357
|
}, (image === null || image === void 0 ? void 0 : image.small) && (!video || !isLoaded) && React__default.createElement(WideImage, __assign({
|
|
3094
3358
|
coverSpace: true
|
|
3095
3359
|
}, image, {
|
|
3360
|
+
alt: (_b = image.alt) !== null && _b !== void 0 ? _b : '',
|
|
3096
3361
|
isMirrored: isMirrored,
|
|
3097
3362
|
isInverted: isInverted
|
|
3098
3363
|
})), hasVideo && React__default.createElement(WideVideo, {
|
|
@@ -3106,7 +3371,8 @@ var TeaserWide = function (_a) {
|
|
|
3106
3371
|
isVisible: isLoaded,
|
|
3107
3372
|
isInverted: isInverted,
|
|
3108
3373
|
isMirrored: isMirrored,
|
|
3109
|
-
ratios: video === null || video === void 0 ? void 0 : video.aspectRatios
|
|
3374
|
+
ratios: video === null || video === void 0 ? void 0 : video.aspectRatios,
|
|
3375
|
+
ariaLabel: "Video of: ".concat(title)
|
|
3110
3376
|
}), React__default.createElement(Wrapper, {
|
|
3111
3377
|
clampWidth: "normal",
|
|
3112
3378
|
addWhitespace: true
|
|
@@ -3289,7 +3555,10 @@ var Video$1 = function (_a) {
|
|
|
3289
3555
|
bgImage = _a.bgImage,
|
|
3290
3556
|
embedId = _a.embedId,
|
|
3291
3557
|
playIcon = _a.playIcon,
|
|
3292
|
-
|
|
3558
|
+
_b = _a.consentText,
|
|
3559
|
+
consentText = _b === void 0 ? 'Für die Wiedergabe von Videos muss der Nutzung von Cookies & Daten zugestimmt werden.' : _b,
|
|
3560
|
+
_c = _a.playBtnAriaLabel,
|
|
3561
|
+
playBtnAriaLabel = _c === void 0 ? 'Play video' : _c,
|
|
3293
3562
|
consentAction = _a.consentAction,
|
|
3294
3563
|
onPlayClick = _a.onPlayClick;
|
|
3295
3564
|
var colors = useLibTheme().colors;
|
|
@@ -3304,8 +3573,10 @@ var Video$1 = function (_a) {
|
|
|
3304
3573
|
}, React__default.createElement(VideoCard, {
|
|
3305
3574
|
bgImage: bgImage,
|
|
3306
3575
|
embedId: embedId,
|
|
3576
|
+
isInverted: isInverted,
|
|
3307
3577
|
playIcon: playIcon,
|
|
3308
3578
|
consentText: consentText,
|
|
3579
|
+
playBtnAriaLabel: playBtnAriaLabel,
|
|
3309
3580
|
consentAction: consentAction,
|
|
3310
3581
|
onPlayClick: onPlayClick
|
|
3311
3582
|
})));
|
|
@@ -3315,7 +3586,7 @@ var Video$2 = withLibTheme(Video$1);
|
|
|
3315
3586
|
var VideoContainer = styled.div.withConfig({
|
|
3316
3587
|
displayName: "RawVideo__VideoContainer",
|
|
3317
3588
|
componentId: "sc-ylrujv-0"
|
|
3318
|
-
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n position: relative;\n cursor: pointer;\n"], ["\n position: relative;\n cursor: pointer;\n"])));
|
|
3589
|
+
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n position: relative;\n cursor: pointer;\n\n &:has(video) {\n cursor: default;\n }\n"], ["\n position: relative;\n cursor: pointer;\n\n &:has(video) {\n cursor: default;\n }\n"])));
|
|
3319
3590
|
var Overlay = styled.div.withConfig({
|
|
3320
3591
|
displayName: "RawVideo__Overlay",
|
|
3321
3592
|
componentId: "sc-ylrujv-1"
|
|
@@ -3345,7 +3616,7 @@ var Overlay = styled.div.withConfig({
|
|
|
3345
3616
|
var VideoControls = styled.button.withConfig({
|
|
3346
3617
|
displayName: "RawVideo__VideoControls",
|
|
3347
3618
|
componentId: "sc-ylrujv-2"
|
|
3348
|
-
})(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n display: block;\n border: none;\n background: none;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: ", ";\n z-index: 1;\n padding: 0;\n\n cursor: pointer;\n\n & > * {\n opacity: 0.8;\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n height: 80px;\n width: 80px;\n\n color: ", ";\n }\n\n ", ":hover > & > * {\n transform: scale(1.05);\n opacity: 1;\n }\n\n ", ":active > & > * {\n transform: scale(0.95);\n opacity: 1;\n }\n\n &:focus {\n outline: 2px solid ", ";\n border-radius: 50%;\n opacity: 1;\n\n & > * {\n color: ", ";\n }\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n box-shadow: none;\n }\n"], ["\n display: block;\n border: none;\n background: none;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: ", ";\n z-index: 1;\n padding: 0;\n\n cursor: pointer;\n\n & > * {\n opacity: 0.8;\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n height: 80px;\n width: 80px;\n\n color: ", ";\n }\n\n ", ":hover > & > * {\n transform: scale(1.05);\n opacity: 1;\n }\n\n ", ":active > & > * {\n transform: scale(0.95);\n opacity: 1;\n }\n\n &:focus {\n outline: 2px solid ", ";\n border-radius: 50%;\n opacity: 1;\n\n & > * {\n color: ", ";\n }\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n box-shadow: none;\n }\n"])), function (_a) {
|
|
3619
|
+
})(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n display: block;\n border: none;\n background: none;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: ", ";\n z-index: 1;\n padding: 0;\n\n cursor: pointer;\n\n & > * {\n opacity: 0.8;\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n height: 80px;\n width: 80px;\n\n color: ", ";\n }\n\n ", ":hover > & > * {\n transform: scale(1.05);\n opacity: 1;\n }\n\n ", ":active > & > * {\n transform: scale(0.95);\n opacity: 1;\n }\n\n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n border-radius: 50%;\n opacity: 1;\n\n & > * {\n color: ", ";\n }\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n box-shadow: none;\n }\n"], ["\n display: block;\n border: none;\n background: none;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: ", ";\n z-index: 1;\n padding: 0;\n\n cursor: pointer;\n\n & > * {\n opacity: 0.8;\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n height: 80px;\n width: 80px;\n\n color: ", ";\n }\n\n ", ":hover > & > * {\n transform: scale(1.05);\n opacity: 1;\n }\n\n ", ":active > & > * {\n transform: scale(0.95);\n opacity: 1;\n }\n\n &:focus-visible {\n outline: 2px solid ", ";\n outline-offset: 2px;\n border-radius: 50%;\n opacity: 1;\n\n & > * {\n color: ", ";\n }\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n box-shadow: none;\n }\n"])), function (_a) {
|
|
3349
3620
|
var theme = _a.theme;
|
|
3350
3621
|
return getColors(theme).elementBg.light;
|
|
3351
3622
|
}, function (_a) {
|
|
@@ -3376,13 +3647,15 @@ var RawVideo = function (_a) {
|
|
|
3376
3647
|
placeholderImg = _a.placeholderImg,
|
|
3377
3648
|
playIcon = _a.playIcon,
|
|
3378
3649
|
autoplay = _a.autoplay,
|
|
3379
|
-
loop = _a.loop
|
|
3650
|
+
loop = _a.loop,
|
|
3651
|
+
_b = _a.playBtnAriaLabel,
|
|
3652
|
+
playBtnAriaLabel = _b === void 0 ? 'Play video' : _b;
|
|
3380
3653
|
var colors = useLibTheme().colors;
|
|
3381
3654
|
var isInverted = bgMode === 'inverted';
|
|
3382
3655
|
|
|
3383
|
-
var
|
|
3384
|
-
isStarted =
|
|
3385
|
-
setIsStarted =
|
|
3656
|
+
var _c = useState(autoplay || false),
|
|
3657
|
+
isStarted = _c[0],
|
|
3658
|
+
setIsStarted = _c[1];
|
|
3386
3659
|
|
|
3387
3660
|
return React__default.createElement(Section, {
|
|
3388
3661
|
anchorId: anchorId,
|
|
@@ -3411,7 +3684,9 @@ var RawVideo = function (_a) {
|
|
|
3411
3684
|
}), !isStarted && React__default.createElement(Overlay, {
|
|
3412
3685
|
bgImage: placeholderImg,
|
|
3413
3686
|
isInverted: isInverted
|
|
3414
|
-
}, React__default.createElement(VideoControls,
|
|
3687
|
+
}, React__default.createElement(VideoControls, {
|
|
3688
|
+
"aria-label": playBtnAriaLabel
|
|
3689
|
+
}, playIcon || React__default.createElement(Play, {
|
|
3415
3690
|
iconColor: "#000"
|
|
3416
3691
|
}))))));
|
|
3417
3692
|
};
|
|
@@ -3482,7 +3757,7 @@ var ContactListLink = styled(Link).withConfig({
|
|
|
3482
3757
|
isInverted = _a.isInverted;
|
|
3483
3758
|
return isInverted ? getFonts(theme)['copy-b'].big.colorInverted : getFonts(theme)['copy-b'].big.color;
|
|
3484
3759
|
}, spacings.nudge * 1.5);
|
|
3485
|
-
var AddressContainer = styled.
|
|
3760
|
+
var AddressContainer = styled.address.withConfig({
|
|
3486
3761
|
displayName: "Map__AddressContainer",
|
|
3487
3762
|
componentId: "sc-6qc5jb-8"
|
|
3488
3763
|
})(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: -ms-grid;\n display: grid;\n\n ", "\n\n & > * + * {\n margin-left: ", "px;\n }\n"], ["\n display: -ms-grid;\n display: grid;\n\n ", "\n\n & > * + * {\n margin-left: ", "px;\n }\n"])), function (_a) {
|
|
@@ -3552,7 +3827,8 @@ var LocationInfoCard = function (_a) {
|
|
|
3552
3827
|
} : undefined,
|
|
3553
3828
|
isInverted: isInverted
|
|
3554
3829
|
}), contact && React__default.createElement(ContactList, {
|
|
3555
|
-
isInverted: isInverted
|
|
3830
|
+
isInverted: isInverted,
|
|
3831
|
+
"aria-label": "contact information"
|
|
3556
3832
|
}, ((_d = contact === null || contact === void 0 ? void 0 : contact.telephone) === null || _d === void 0 ? void 0 : _d.label) && React__default.createElement("li", null, phoneIconContent && React__default.createElement("span", null, phoneIconContent), React__default.createElement(ContactListLink, {
|
|
3557
3833
|
isInverted: isInverted,
|
|
3558
3834
|
href: "tel:".concat(contact.telephone.link || contact.telephone.label)
|
|
@@ -3720,7 +3996,8 @@ var Map = function (_a) {
|
|
|
3720
3996
|
}) : React__default.createElement(Control$1, {
|
|
3721
3997
|
isInverted: isInverted,
|
|
3722
3998
|
isDisabled: false,
|
|
3723
|
-
onClick: goToNext
|
|
3999
|
+
onClick: goToNext,
|
|
4000
|
+
ariaLabel: "Next location"
|
|
3724
4001
|
}, React__default.createElement(ArrowRightGhost, null)), controlPrev ? controlPrev({
|
|
3725
4002
|
isInverted: isInverted,
|
|
3726
4003
|
isActive: true,
|
|
@@ -3729,7 +4006,8 @@ var Map = function (_a) {
|
|
|
3729
4006
|
}) : React__default.createElement(Control$1, {
|
|
3730
4007
|
isInverted: isInverted,
|
|
3731
4008
|
isDisabled: false,
|
|
3732
|
-
onClick: goToPrevious
|
|
4009
|
+
onClick: goToPrevious,
|
|
4010
|
+
ariaLabel: "Previous location"
|
|
3733
4011
|
}, React__default.createElement(ArrowLeftGhost, null)))))))));
|
|
3734
4012
|
};
|
|
3735
4013
|
var Map$1 = withLibTheme(Map);
|