@blateral/b.kit 2.3.0-beta.1.4 → 2.3.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/lib/components/base/icons/Icons.d.ts +66 -0
- package/lib/components/base/icons/Icons.d.ts.map +1 -0
- package/{types → lib}/components/fields/FilterField.d.ts.map +1 -1
- package/lib/components/sections/NumberList.d.ts +36 -0
- package/lib/components/sections/NumberList.d.ts.map +1 -0
- package/{types → lib}/components/sections/header/Header.d.ts +3 -3
- package/lib/components/sections/header/Header.d.ts.map +1 -0
- package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -0
- package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -0
- package/{types → lib}/components/typography/Callout.d.ts +2 -2
- package/lib/components/typography/Callout.d.ts.map +1 -0
- package/lib/index.d.ts +158 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.es.js +2 -0
- package/lib/index.es.js.map +1 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/{types → lib}/utils/styles.d.ts +8 -1
- package/lib/utils/styles.d.ts.map +1 -0
- package/{types → lib}/utils/useEqualSheetHeight.d.ts +9 -2
- package/lib/utils/useEqualSheetHeight.d.ts.map +1 -0
- package/{types → lib}/utils/useMediaQuery.d.ts +4 -0
- package/{types → lib}/utils/useMediaQuery.d.ts.map +1 -1
- package/package.json +5 -19
- package/base/package.json +0 -7
- package/blocks/package.json +0 -7
- package/buttons/package.json +0 -7
- package/cjs/Actions-6dd616e0.js +0 -2
- package/cjs/Actions-6dd616e0.js.map +0 -1
- package/cjs/Bdot-d898ba3b.js +0 -2
- package/cjs/Bdot-d898ba3b.js.map +0 -1
- package/cjs/Button-72747f63.js +0 -2
- package/cjs/Button-72747f63.js.map +0 -1
- package/cjs/ButtonGhost-046437c5.js +0 -2
- package/cjs/ButtonGhost-046437c5.js.map +0 -1
- package/cjs/Callout-2713f870.js +0 -2
- package/cjs/Callout-2713f870.js.map +0 -1
- package/cjs/Checkbox-14000bf0.js +0 -2
- package/cjs/Checkbox-14000bf0.js.map +0 -1
- package/cjs/ClockFilled-2483aa4a.js +0 -2
- package/cjs/ClockFilled-2483aa4a.js.map +0 -1
- package/cjs/Control-eead1a4c.js +0 -2
- package/cjs/Control-eead1a4c.js.map +0 -1
- package/cjs/Copy-e860efe7.js +0 -2
- package/cjs/Copy-e860efe7.js.map +0 -1
- package/cjs/EventBlock-10b9d78d.js +0 -2
- package/cjs/EventBlock-10b9d78d.js.map +0 -1
- package/cjs/FileUpload-ece8bb07.js +0 -2
- package/cjs/FileUpload-ece8bb07.js.map +0 -1
- package/cjs/Filter-d6d90b8b.js +0 -2
- package/cjs/Filter-d6d90b8b.js.map +0 -1
- package/cjs/FilterField-cf9e2f16.js +0 -2
- package/cjs/FilterField-cf9e2f16.js.map +0 -1
- package/cjs/Grid-39b12e21.js +0 -2
- package/cjs/Grid-39b12e21.js.map +0 -1
- package/cjs/Image-d9681be0.js +0 -2
- package/cjs/Image-d9681be0.js.map +0 -1
- package/cjs/InfoList-577f3c57.js +0 -2
- package/cjs/InfoList-577f3c57.js.map +0 -1
- package/cjs/LanguageSwitcher-47e25e95.js +0 -2
- package/cjs/LanguageSwitcher-47e25e95.js.map +0 -1
- package/cjs/LibThemeProvider-fb99fd6d.js +0 -2
- package/cjs/LibThemeProvider-fb99fd6d.js.map +0 -1
- package/cjs/Link-70143bb7.js +0 -2
- package/cjs/Link-70143bb7.js.map +0 -1
- package/cjs/Navigation-3f5d6088.js +0 -2
- package/cjs/Navigation-3f5d6088.js.map +0 -1
- package/cjs/POICard-492bf8d0.js +0 -2
- package/cjs/POICard-492bf8d0.js.map +0 -1
- package/cjs/Pointer-3588eadf.js +0 -2
- package/cjs/Pointer-3588eadf.js.map +0 -1
- package/cjs/SocialList-da77e994.js +0 -2
- package/cjs/SocialList-da77e994.js.map +0 -1
- package/cjs/TableBlock-a5b16e8f.js +0 -2
- package/cjs/TableBlock-a5b16e8f.js.map +0 -1
- package/cjs/Tag-5c72cc0d.js +0 -2
- package/cjs/Tag-5c72cc0d.js.map +0 -1
- package/cjs/VideoBlock-301997a9.js +0 -2
- package/cjs/VideoBlock-301997a9.js.map +0 -1
- package/cjs/VideoCard-405b518a.js +0 -2
- package/cjs/VideoCard-405b518a.js.map +0 -1
- package/cjs/Wrapper-91748bdb.js +0 -2
- package/cjs/Wrapper-91748bdb.js.map +0 -1
- package/cjs/arrays-c272ed59.js +0 -2
- package/cjs/arrays-c272ed59.js.map +0 -1
- package/cjs/base.js +0 -2
- package/cjs/base.js.map +0 -1
- package/cjs/blocks.js +0 -2
- package/cjs/blocks.js.map +0 -1
- package/cjs/buttons.js +0 -2
- package/cjs/buttons.js.map +0 -1
- package/cjs/clamp-bd21d587.js +0 -2
- package/cjs/clamp-bd21d587.js.map +0 -1
- package/cjs/concat-f387d848.js +0 -2
- package/cjs/concat-f387d848.js.map +0 -1
- package/cjs/cookies.js +0 -2
- package/cjs/cookies.js.map +0 -1
- package/cjs/escape-1ef8dd83.js +0 -2
- package/cjs/escape-1ef8dd83.js.map +0 -1
- package/cjs/fields.js +0 -2
- package/cjs/fields.js.map +0 -1
- package/cjs/footer.js +0 -2
- package/cjs/footer.js.map +0 -1
- package/cjs/hexRgbConverter-91b28aea.js +0 -2
- package/cjs/hexRgbConverter-91b28aea.js.map +0 -1
- package/cjs/hooks.js +0 -2
- package/cjs/hooks.js.map +0 -1
- package/cjs/icons.js +0 -2
- package/cjs/icons.js.map +0 -1
- package/cjs/index.js +0 -2
- package/cjs/index.js.map +0 -1
- package/cjs/navigation-bf154e6e.js +0 -2
- package/cjs/navigation-bf154e6e.js.map +0 -1
- package/cjs/navigation.js +0 -2
- package/cjs/navigation.js.map +0 -1
- package/cjs/sections.js +0 -2
- package/cjs/sections.js.map +0 -1
- package/cjs/sections_events.js +0 -2
- package/cjs/sections_events.js.map +0 -1
- package/cjs/sections_forms.js +0 -2
- package/cjs/sections_forms.js.map +0 -1
- package/cjs/sections_jobs.js +0 -2
- package/cjs/sections_jobs.js.map +0 -1
- package/cjs/sections_news.js +0 -2
- package/cjs/sections_news.js.map +0 -1
- package/cjs/sections_pois.js +0 -2
- package/cjs/sections_pois.js.map +0 -1
- package/cjs/statusFormatter-0393122b.js +0 -2
- package/cjs/statusFormatter-0393122b.js.map +0 -1
- package/cjs/structuredData-0b1278a9.js +0 -2
- package/cjs/structuredData-0b1278a9.js.map +0 -1
- package/cjs/styles-0f1a0aea.js +0 -2
- package/cjs/styles-0f1a0aea.js.map +0 -1
- package/cjs/typography.js +0 -2
- package/cjs/typography.js.map +0 -1
- package/cjs/urlParams-7525f638.js +0 -2
- package/cjs/urlParams-7525f638.js.map +0 -1
- package/cjs/useCookieConsent-0bf94751.js +0 -2
- package/cjs/useCookieConsent-0bf94751.js.map +0 -1
- package/cjs/useEqualSheetHeight-cfd4176e.js +0 -2
- package/cjs/useEqualSheetHeight-cfd4176e.js.map +0 -1
- package/cjs/useGeolocation-d8946470.js +0 -2
- package/cjs/useGeolocation-d8946470.js.map +0 -1
- package/cjs/useIE-aef9decc.js +0 -2
- package/cjs/useIE-aef9decc.js.map +0 -1
- package/cjs/useLazyInput-f71c221b.js +0 -2
- package/cjs/useLazyInput-f71c221b.js.map +0 -1
- package/cjs/useLeafletMap-2e608b01.js +0 -2
- package/cjs/useLeafletMap-2e608b01.js.map +0 -1
- package/cjs/useMediaQuery-d4f81f88.js +0 -2
- package/cjs/useMediaQuery-d4f81f88.js.map +0 -1
- package/cjs/useMounted-0bba9869.js +0 -2
- package/cjs/useMounted-0bba9869.js.map +0 -1
- package/cjs/useObserverSupport-5ab320dd.js +0 -2
- package/cjs/useObserverSupport-5ab320dd.js.map +0 -1
- package/cjs/useScrollTo-fdd665da.js +0 -2
- package/cjs/useScrollTo-fdd665da.js.map +0 -1
- package/cjs/useUpdateEffect-4d233e2c.js +0 -2
- package/cjs/useUpdateEffect-4d233e2c.js.map +0 -1
- package/cookies/package.json +0 -7
- package/esm/Actions-3f06c2e9.js +0 -57
- package/esm/Actions-3f06c2e9.js.map +0 -1
- package/esm/Bdot-fae262fc.js +0 -24
- package/esm/Bdot-fae262fc.js.map +0 -1
- package/esm/Button-ab1a4e79.js +0 -115
- package/esm/Button-ab1a4e79.js.map +0 -1
- package/esm/ButtonGhost-5b498dba.js +0 -112
- package/esm/ButtonGhost-5b498dba.js.map +0 -1
- package/esm/Callout-389fed95.js +0 -99
- package/esm/Callout-389fed95.js.map +0 -1
- package/esm/Checkbox-957d8f33.js +0 -135
- package/esm/Checkbox-957d8f33.js.map +0 -1
- package/esm/ClockFilled-6bae80dc.js +0 -1793
- package/esm/ClockFilled-6bae80dc.js.map +0 -1
- package/esm/Control-57a287dc.js +0 -52
- package/esm/Control-57a287dc.js.map +0 -1
- package/esm/Copy-fb124972.js +0 -270
- package/esm/Copy-fb124972.js.map +0 -1
- package/esm/EventBlock-0109da13.js +0 -132
- package/esm/EventBlock-0109da13.js.map +0 -1
- package/esm/FileUpload-4ba0a672.js +0 -4790
- package/esm/FileUpload-4ba0a672.js.map +0 -1
- package/esm/Filter-fec6dc5c.js +0 -32
- package/esm/Filter-fec6dc5c.js.map +0 -1
- package/esm/FilterField-03097694.js +0 -129
- package/esm/FilterField-03097694.js.map +0 -1
- package/esm/Grid-151498da.js +0 -203
- package/esm/Grid-151498da.js.map +0 -1
- package/esm/Image-b538f659.js +0 -193
- package/esm/Image-b538f659.js.map +0 -1
- package/esm/InfoList-616d17fd.js +0 -74
- package/esm/InfoList-616d17fd.js.map +0 -1
- package/esm/LanguageSwitcher-058e0145.js +0 -70
- package/esm/LanguageSwitcher-058e0145.js.map +0 -1
- package/esm/LibThemeProvider-a38c5bf1.js +0 -115
- package/esm/LibThemeProvider-a38c5bf1.js.map +0 -1
- package/esm/Link-0a1e35d6.js +0 -60
- package/esm/Link-0a1e35d6.js.map +0 -1
- package/esm/Navigation-13dce48c.js +0 -1664
- package/esm/Navigation-13dce48c.js.map +0 -1
- package/esm/POICard-392a2c3a.js +0 -116
- package/esm/POICard-392a2c3a.js.map +0 -1
- package/esm/Pointer-bc68154f.js +0 -111
- package/esm/Pointer-bc68154f.js.map +0 -1
- package/esm/SocialList-4396cad9.js +0 -61
- package/esm/SocialList-4396cad9.js.map +0 -1
- package/esm/TableBlock-26530c71.js +0 -159
- package/esm/TableBlock-26530c71.js.map +0 -1
- package/esm/Tag-72424779.js +0 -67
- package/esm/Tag-72424779.js.map +0 -1
- package/esm/VideoBlock-b3f4ae27.js +0 -624
- package/esm/VideoBlock-b3f4ae27.js.map +0 -1
- package/esm/VideoCard-3fd368ef.js +0 -160
- package/esm/VideoCard-3fd368ef.js.map +0 -1
- package/esm/Wrapper-29347885.js +0 -224
- package/esm/Wrapper-29347885.js.map +0 -1
- package/esm/arrays-65b644ef.js +0 -17
- package/esm/arrays-65b644ef.js.map +0 -1
- package/esm/base.js +0 -11
- package/esm/base.js.map +0 -1
- package/esm/blocks.js +0 -26
- package/esm/blocks.js.map +0 -1
- package/esm/buttons.js +0 -12
- package/esm/buttons.js.map +0 -1
- package/esm/clamp-12d37b65.js +0 -10
- package/esm/clamp-12d37b65.js.map +0 -1
- package/esm/concat-ab3c66f2.js +0 -40
- package/esm/concat-ab3c66f2.js.map +0 -1
- package/esm/cookies.js +0 -270
- package/esm/cookies.js.map +0 -1
- package/esm/escape-cbff9c25.js +0 -6
- package/esm/escape-cbff9c25.js.map +0 -1
- package/esm/fields.js +0 -190
- package/esm/fields.js.map +0 -1
- package/esm/footer.js +0 -301
- package/esm/footer.js.map +0 -1
- package/esm/hexRgbConverter-edb91624.js +0 -36
- package/esm/hexRgbConverter-edb91624.js.map +0 -1
- package/esm/hooks.js +0 -531
- package/esm/hooks.js.map +0 -1
- package/esm/icons.js +0 -4
- package/esm/icons.js.map +0 -1
- package/esm/index.js +0 -7
- package/esm/index.js.map +0 -1
- package/esm/navigation-a2998143.js +0 -132
- package/esm/navigation-a2998143.js.map +0 -1
- package/esm/navigation.js +0 -159
- package/esm/navigation.js.map +0 -1
- package/esm/sections.js +0 -3914
- package/esm/sections.js.map +0 -1
- package/esm/sections_events.js +0 -573
- package/esm/sections_events.js.map +0 -1
- package/esm/sections_forms.js +0 -1405
- package/esm/sections_forms.js.map +0 -1
- package/esm/sections_jobs.js +0 -508
- package/esm/sections_jobs.js.map +0 -1
- package/esm/sections_news.js +0 -1023
- package/esm/sections_news.js.map +0 -1
- package/esm/sections_pois.js +0 -719
- package/esm/sections_pois.js.map +0 -1
- package/esm/statusFormatter-9be0fbff.js +0 -255
- package/esm/statusFormatter-9be0fbff.js.map +0 -1
- package/esm/structuredData-87423414.js +0 -117
- package/esm/structuredData-87423414.js.map +0 -1
- package/esm/styles-f6c54818.js +0 -462
- package/esm/styles-f6c54818.js.map +0 -1
- package/esm/typography.js +0 -11
- package/esm/typography.js.map +0 -1
- package/esm/urlParams-9cfdaf71.js +0 -51
- package/esm/urlParams-9cfdaf71.js.map +0 -1
- package/esm/useCookieConsent-8caef116.js +0 -339
- package/esm/useCookieConsent-8caef116.js.map +0 -1
- package/esm/useEqualSheetHeight-c18cebd3.js +0 -196
- package/esm/useEqualSheetHeight-c18cebd3.js.map +0 -1
- package/esm/useGeolocation-f9f073cc.js +0 -95
- package/esm/useGeolocation-f9f073cc.js.map +0 -1
- package/esm/useIE-a9c56989.js +0 -15
- package/esm/useIE-a9c56989.js.map +0 -1
- package/esm/useLazyInput-e66fc5be.js +0 -85
- package/esm/useLazyInput-e66fc5be.js.map +0 -1
- package/esm/useLeafletMap-6dea7a8e.js +0 -300
- package/esm/useLeafletMap-6dea7a8e.js.map +0 -1
- package/esm/useMediaQuery-0d473a9c.js +0 -109
- package/esm/useMediaQuery-0d473a9c.js.map +0 -1
- package/esm/useMounted-1e4cc87b.js +0 -12
- package/esm/useMounted-1e4cc87b.js.map +0 -1
- package/esm/useObserverSupport-02bce7f5.js +0 -19
- package/esm/useObserverSupport-02bce7f5.js.map +0 -1
- package/esm/useScrollTo-70af34bf.js +0 -57
- package/esm/useScrollTo-70af34bf.js.map +0 -1
- package/esm/useUpdateEffect-824c0c84.js +0 -18
- package/esm/useUpdateEffect-824c0c84.js.map +0 -1
- package/fields/package.json +0 -7
- package/footer/package.json +0 -7
- package/hooks/package.json +0 -7
- package/icons/package.json +0 -7
- package/navigation/package.json +0 -7
- package/sections/events/package.json +0 -7
- package/sections/forms/package.json +0 -7
- package/sections/jobs/package.json +0 -7
- package/sections/news/package.json +0 -7
- package/sections/package.json +0 -7
- package/sections/pois/package.json +0 -7
- package/types/base.d.ts +0 -5
- package/types/base.d.ts.map +0 -1
- package/types/blocks.d.ts +0 -18
- package/types/blocks.d.ts.map +0 -1
- package/types/buttons.d.ts +0 -6
- package/types/buttons.d.ts.map +0 -1
- package/types/components/sections/NumberList.d.ts +0 -31
- package/types/components/sections/NumberList.d.ts.map +0 -1
- package/types/components/sections/header/Header.d.ts.map +0 -1
- package/types/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +0 -1
- package/types/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +0 -1
- package/types/components/typography/Callout.d.ts.map +0 -1
- package/types/cookies.d.ts +0 -3
- package/types/cookies.d.ts.map +0 -1
- package/types/fields.d.ts +0 -14
- package/types/fields.d.ts.map +0 -1
- package/types/footer.d.ts +0 -4
- package/types/footer.d.ts.map +0 -1
- package/types/hooks.d.ts +0 -35
- package/types/hooks.d.ts.map +0 -1
- package/types/icons.d.ts +0 -66
- package/types/icons.d.ts.map +0 -1
- package/types/index.d.ts +0 -18
- package/types/index.d.ts.map +0 -1
- package/types/navigation.d.ts +0 -10
- package/types/navigation.d.ts.map +0 -1
- package/types/sections.d.ts +0 -32
- package/types/sections.d.ts.map +0 -1
- package/types/sections_events.d.ts +0 -4
- package/types/sections_events.d.ts.map +0 -1
- package/types/sections_forms.d.ts +0 -3
- package/types/sections_forms.d.ts.map +0 -1
- package/types/sections_jobs.d.ts +0 -3
- package/types/sections_jobs.d.ts.map +0 -1
- package/types/sections_news.d.ts +0 -10
- package/types/sections_news.d.ts.map +0 -1
- package/types/sections_pois.d.ts +0 -4
- package/types/sections_pois.d.ts.map +0 -1
- package/types/typography.d.ts +0 -6
- package/types/typography.d.ts.map +0 -1
- package/types/utils/styles.d.ts.map +0 -1
- package/types/utils/useEqualSheetHeight.d.ts.map +0 -1
- package/typography/package.json +0 -7
- /package/{types → lib}/components/base/Grid.d.ts +0 -0
- /package/{types → lib}/components/base/Grid.d.ts.map +0 -0
- /package/{types → lib}/components/base/Section.d.ts +0 -0
- /package/{types → lib}/components/base/Section.d.ts.map +0 -0
- /package/{types → lib}/components/base/Wrapper.d.ts +0 -0
- /package/{types → lib}/components/base/Wrapper.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/AngleDown.d.ts +0 -0
- /package/{types → lib}/components/base/icons/AngleDown.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/AngleLeft.d.ts +0 -0
- /package/{types → lib}/components/base/icons/AngleLeft.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/AngleRight.d.ts +0 -0
- /package/{types → lib}/components/base/icons/AngleRight.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/AngleUp.d.ts +0 -0
- /package/{types → lib}/components/base/icons/AngleUp.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/ArrowDown.d.ts +0 -0
- /package/{types → lib}/components/base/icons/ArrowDown.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/ArrowLeft.d.ts +0 -0
- /package/{types → lib}/components/base/icons/ArrowLeft.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/ArrowLeftGhost.d.ts +0 -0
- /package/{types → lib}/components/base/icons/ArrowLeftGhost.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/ArrowLeftRight.d.ts +0 -0
- /package/{types → lib}/components/base/icons/ArrowLeftRight.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/ArrowRight.d.ts +0 -0
- /package/{types → lib}/components/base/icons/ArrowRight.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/ArrowRightGhost.d.ts +0 -0
- /package/{types → lib}/components/base/icons/ArrowRightGhost.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/ArrowUp.d.ts +0 -0
- /package/{types → lib}/components/base/icons/ArrowUp.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/BoxArrowUpRight.d.ts +0 -0
- /package/{types → lib}/components/base/icons/BoxArrowUpRight.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/CalendarToday.d.ts +0 -0
- /package/{types → lib}/components/base/icons/CalendarToday.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Category.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Category.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Check.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Check.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Clock.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Clock.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/ClockFilled.d.ts +0 -0
- /package/{types → lib}/components/base/icons/ClockFilled.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Computer.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Computer.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Cross.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Cross.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/CrossSmall.d.ts +0 -0
- /package/{types → lib}/components/base/icons/CrossSmall.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/CurrentLocation.d.ts +0 -0
- /package/{types → lib}/components/base/icons/CurrentLocation.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/DateRange.d.ts +0 -0
- /package/{types → lib}/components/base/icons/DateRange.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/DeleteForever.d.ts +0 -0
- /package/{types → lib}/components/base/icons/DeleteForever.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/External.d.ts +0 -0
- /package/{types → lib}/components/base/icons/External.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Filter.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Filter.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/FlyTo.d.ts +0 -0
- /package/{types → lib}/components/base/icons/FlyTo.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Info.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Info.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Language.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Language.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/LocationPin.d.ts +0 -0
- /package/{types → lib}/components/base/icons/LocationPin.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/LocationSearch.d.ts +0 -0
- /package/{types → lib}/components/base/icons/LocationSearch.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Magnifier.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Magnifier.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Mail.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Mail.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Map.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Map.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/MenuBurger.d.ts +0 -0
- /package/{types → lib}/components/base/icons/MenuBurger.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Minus.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Minus.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Money.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Money.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/MyLocation.d.ts +0 -0
- /package/{types → lib}/components/base/icons/MyLocation.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Person.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Person.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Phone.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Phone.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Place.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Place.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Play.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Play.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Plus.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Plus.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Route.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Route.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/Star.d.ts +0 -0
- /package/{types → lib}/components/base/icons/Star.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/ToggleOff.d.ts +0 -0
- /package/{types → lib}/components/base/icons/ToggleOff.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/ToggleOn.d.ts +0 -0
- /package/{types → lib}/components/base/icons/ToggleOn.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/UnfoldMore.d.ts +0 -0
- /package/{types → lib}/components/base/icons/UnfoldMore.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/files/Excel.d.ts +0 -0
- /package/{types → lib}/components/base/icons/files/Excel.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/files/Image.d.ts +0 -0
- /package/{types → lib}/components/base/icons/files/Image.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/files/Pdf.d.ts +0 -0
- /package/{types → lib}/components/base/icons/files/Pdf.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/files/PowerPoint.d.ts +0 -0
- /package/{types → lib}/components/base/icons/files/PowerPoint.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/files/UploadFile.d.ts +0 -0
- /package/{types → lib}/components/base/icons/files/UploadFile.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/files/Word.d.ts +0 -0
- /package/{types → lib}/components/base/icons/files/Word.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/files/Zip.d.ts +0 -0
- /package/{types → lib}/components/base/icons/files/Zip.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/socials/Facebook.d.ts +0 -0
- /package/{types → lib}/components/base/icons/socials/Facebook.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/socials/Instagram.d.ts +0 -0
- /package/{types → lib}/components/base/icons/socials/Instagram.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/socials/LinkedIn.d.ts +0 -0
- /package/{types → lib}/components/base/icons/socials/LinkedIn.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/socials/Twitter.d.ts +0 -0
- /package/{types → lib}/components/base/icons/socials/Twitter.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/socials/Xing.d.ts +0 -0
- /package/{types → lib}/components/base/icons/socials/Xing.d.ts.map +0 -0
- /package/{types → lib}/components/base/icons/socials/Youtube.d.ts +0 -0
- /package/{types → lib}/components/base/icons/socials/Youtube.d.ts.map +0 -0
- /package/{types → lib}/components/base/nl2br.d.ts +0 -0
- /package/{types → lib}/components/base/nl2br.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/Actions.d.ts +0 -0
- /package/{types → lib}/components/blocks/Actions.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/Alert.d.ts +0 -0
- /package/{types → lib}/components/blocks/Alert.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/Bdot.d.ts +0 -0
- /package/{types → lib}/components/blocks/Bdot.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/CookieConsent.d.ts +0 -0
- /package/{types → lib}/components/blocks/CookieConsent.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/EventBlock.d.ts +0 -0
- /package/{types → lib}/components/blocks/EventBlock.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/Fact.d.ts +0 -0
- /package/{types → lib}/components/blocks/Fact.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/Feature.d.ts +0 -0
- /package/{types → lib}/components/blocks/Feature.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/Image.d.ts +0 -0
- /package/{types → lib}/components/blocks/Image.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/InfoList.d.ts +0 -0
- /package/{types → lib}/components/blocks/InfoList.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/IntroBlock.d.ts +0 -0
- /package/{types → lib}/components/blocks/IntroBlock.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/JobCard.d.ts +0 -0
- /package/{types → lib}/components/blocks/JobCard.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/LanguageSwitcher.d.ts +0 -0
- /package/{types → lib}/components/blocks/LanguageSwitcher.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/NavBlock.d.ts +0 -0
- /package/{types → lib}/components/blocks/NavBlock.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/NewsCard.d.ts +0 -0
- /package/{types → lib}/components/blocks/NewsCard.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/POICard.d.ts +0 -0
- /package/{types → lib}/components/blocks/POICard.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/POIFacts.d.ts +0 -0
- /package/{types → lib}/components/blocks/POIFacts.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/PriceTag.d.ts +0 -0
- /package/{types → lib}/components/blocks/PriceTag.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/PromotionCard.d.ts +0 -0
- /package/{types → lib}/components/blocks/PromotionCard.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/SocialList.d.ts +0 -0
- /package/{types → lib}/components/blocks/SocialList.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/TableBlock.d.ts +0 -0
- /package/{types → lib}/components/blocks/TableBlock.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/Tag.d.ts +0 -0
- /package/{types → lib}/components/blocks/Tag.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/Title.d.ts +0 -0
- /package/{types → lib}/components/blocks/Title.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/VideoBlock.d.ts +0 -0
- /package/{types → lib}/components/blocks/VideoBlock.d.ts.map +0 -0
- /package/{types → lib}/components/blocks/VideoCard.d.ts +0 -0
- /package/{types → lib}/components/blocks/VideoCard.d.ts.map +0 -0
- /package/{types → lib}/components/buttons/Button.d.ts +0 -0
- /package/{types → lib}/components/buttons/Button.d.ts.map +0 -0
- /package/{types → lib}/components/buttons/ButtonGhost.d.ts +0 -0
- /package/{types → lib}/components/buttons/ButtonGhost.d.ts.map +0 -0
- /package/{types → lib}/components/buttons/Control.d.ts +0 -0
- /package/{types → lib}/components/buttons/Control.d.ts.map +0 -0
- /package/{types → lib}/components/buttons/Pointer.d.ts +0 -0
- /package/{types → lib}/components/buttons/Pointer.d.ts.map +0 -0
- /package/{types → lib}/components/debug/DebugLines.d.ts +0 -0
- /package/{types → lib}/components/debug/DebugLines.d.ts.map +0 -0
- /package/{types → lib}/components/examples/hooks/ArrayHookExample.d.ts +0 -0
- /package/{types → lib}/components/examples/hooks/ArrayHookExample.d.ts.map +0 -0
- /package/{types → lib}/components/examples/hooks/IntervalHookExample.d.ts +0 -0
- /package/{types → lib}/components/examples/hooks/IntervalHookExample.d.ts.map +0 -0
- /package/{types → lib}/components/fields/Checkbox.d.ts +0 -0
- /package/{types → lib}/components/fields/Checkbox.d.ts.map +0 -0
- /package/{types → lib}/components/fields/CompactForm.d.ts +0 -0
- /package/{types → lib}/components/fields/CompactForm.d.ts.map +0 -0
- /package/{types → lib}/components/fields/Datepicker.d.ts +0 -0
- /package/{types → lib}/components/fields/Datepicker.d.ts.map +0 -0
- /package/{types → lib}/components/fields/FileUpload.d.ts +0 -0
- /package/{types → lib}/components/fields/FileUpload.d.ts.map +0 -0
- /package/{types → lib}/components/fields/FilterField.d.ts +0 -0
- /package/{types → lib}/components/fields/FormField.d.ts +0 -0
- /package/{types → lib}/components/fields/FormField.d.ts.map +0 -0
- /package/{types → lib}/components/fields/LocationField.d.ts +0 -0
- /package/{types → lib}/components/fields/LocationField.d.ts.map +0 -0
- /package/{types → lib}/components/fields/Radio.d.ts +0 -0
- /package/{types → lib}/components/fields/Radio.d.ts.map +0 -0
- /package/{types → lib}/components/fields/SearchInput.d.ts +0 -0
- /package/{types → lib}/components/fields/SearchInput.d.ts.map +0 -0
- /package/{types → lib}/components/fields/SelectDropdown.d.ts +0 -0
- /package/{types → lib}/components/fields/SelectDropdown.d.ts.map +0 -0
- /package/{types → lib}/components/fields/Textarea.d.ts +0 -0
- /package/{types → lib}/components/fields/Textarea.d.ts.map +0 -0
- /package/{types → lib}/components/fields/Textfield.d.ts +0 -0
- /package/{types → lib}/components/fields/Textfield.d.ts.map +0 -0
- /package/{types → lib}/components/sections/Accordion.d.ts +0 -0
- /package/{types → lib}/components/sections/Accordion.d.ts.map +0 -0
- /package/{types → lib}/components/sections/AlertList.d.ts +0 -0
- /package/{types → lib}/components/sections/AlertList.d.ts.map +0 -0
- /package/{types → lib}/components/sections/Article.d.ts +0 -0
- /package/{types → lib}/components/sections/Article.d.ts.map +0 -0
- /package/{types → lib}/components/sections/CallToAction.d.ts +0 -0
- /package/{types → lib}/components/sections/CallToAction.d.ts.map +0 -0
- /package/{types → lib}/components/sections/CardList.d.ts +0 -0
- /package/{types → lib}/components/sections/CardList.d.ts.map +0 -0
- /package/{types → lib}/components/sections/ComparisonSlider.d.ts +0 -0
- /package/{types → lib}/components/sections/ComparisonSlider.d.ts.map +0 -0
- /package/{types → lib}/components/sections/CrossPromotion.d.ts +0 -0
- /package/{types → lib}/components/sections/CrossPromotion.d.ts.map +0 -0
- /package/{types → lib}/components/sections/FactGrid.d.ts +0 -0
- /package/{types → lib}/components/sections/FactGrid.d.ts.map +0 -0
- /package/{types → lib}/components/sections/FactList.d.ts +0 -0
- /package/{types → lib}/components/sections/FactList.d.ts.map +0 -0
- /package/{types → lib}/components/sections/FeatureList.d.ts +0 -0
- /package/{types → lib}/components/sections/FeatureList.d.ts.map +0 -0
- /package/{types → lib}/components/sections/Gallery.d.ts +0 -0
- /package/{types → lib}/components/sections/Gallery.d.ts.map +0 -0
- /package/{types → lib}/components/sections/IconList.d.ts +0 -0
- /package/{types → lib}/components/sections/IconList.d.ts.map +0 -0
- /package/{types → lib}/components/sections/IndexList.d.ts +0 -0
- /package/{types → lib}/components/sections/IndexList.d.ts.map +0 -0
- /package/{types → lib}/components/sections/Intro.d.ts +0 -0
- /package/{types → lib}/components/sections/Intro.d.ts.map +0 -0
- /package/{types → lib}/components/sections/Map.d.ts +0 -0
- /package/{types → lib}/components/sections/Map.d.ts.map +0 -0
- /package/{types → lib}/components/sections/NavList.d.ts +0 -0
- /package/{types → lib}/components/sections/NavList.d.ts.map +0 -0
- /package/{types → lib}/components/sections/NewsletterForm.d.ts +0 -0
- /package/{types → lib}/components/sections/NewsletterForm.d.ts.map +0 -0
- /package/{types → lib}/components/sections/ParallaxBackground.d.ts +0 -0
- /package/{types → lib}/components/sections/ParallaxBackground.d.ts.map +0 -0
- /package/{types → lib}/components/sections/Poster.d.ts +0 -0
- /package/{types → lib}/components/sections/Poster.d.ts.map +0 -0
- /package/{types → lib}/components/sections/PriceList.d.ts +0 -0
- /package/{types → lib}/components/sections/PriceList.d.ts.map +0 -0
- /package/{types → lib}/components/sections/PriceTable.d.ts +0 -0
- /package/{types → lib}/components/sections/PriceTable.d.ts.map +0 -0
- /package/{types → lib}/components/sections/Quote.d.ts +0 -0
- /package/{types → lib}/components/sections/Quote.d.ts.map +0 -0
- /package/{types → lib}/components/sections/RawVideo.d.ts +0 -0
- /package/{types → lib}/components/sections/RawVideo.d.ts.map +0 -0
- /package/{types → lib}/components/sections/SimpleImage.d.ts +0 -0
- /package/{types → lib}/components/sections/SimpleImage.d.ts.map +0 -0
- /package/{types → lib}/components/sections/SocialWall.d.ts +0 -0
- /package/{types → lib}/components/sections/SocialWall.d.ts.map +0 -0
- /package/{types → lib}/components/sections/Table.d.ts +0 -0
- /package/{types → lib}/components/sections/Table.d.ts.map +0 -0
- /package/{types → lib}/components/sections/Teaser.d.ts +0 -0
- /package/{types → lib}/components/sections/Teaser.d.ts.map +0 -0
- /package/{types → lib}/components/sections/TeaserWide.d.ts +0 -0
- /package/{types → lib}/components/sections/TeaserWide.d.ts.map +0 -0
- /package/{types → lib}/components/sections/Timeline.d.ts +0 -0
- /package/{types → lib}/components/sections/Timeline.d.ts.map +0 -0
- /package/{types → lib}/components/sections/Video.d.ts +0 -0
- /package/{types → lib}/components/sections/Video.d.ts.map +0 -0
- /package/{types → lib}/components/sections/events/EventDetail.d.ts +0 -0
- /package/{types → lib}/components/sections/events/EventDetail.d.ts.map +0 -0
- /package/{types → lib}/components/sections/events/EventList.d.ts +0 -0
- /package/{types → lib}/components/sections/events/EventList.d.ts.map +0 -0
- /package/{types → lib}/components/sections/events/EventOverview.d.ts +0 -0
- /package/{types → lib}/components/sections/events/EventOverview.d.ts.map +0 -0
- /package/{types → lib}/components/sections/footer/Footer.d.ts +0 -0
- /package/{types → lib}/components/sections/footer/Footer.d.ts.map +0 -0
- /package/{types → lib}/components/sections/footer/partials/FooterBottomBar.d.ts +0 -0
- /package/{types → lib}/components/sections/footer/partials/FooterBottomBar.d.ts.map +0 -0
- /package/{types → lib}/components/sections/footer/partials/FooterColumn.d.ts +0 -0
- /package/{types → lib}/components/sections/footer/partials/FooterColumn.d.ts.map +0 -0
- /package/{types → lib}/components/sections/footer/partials/index.d.ts +0 -0
- /package/{types → lib}/components/sections/footer/partials/index.d.ts.map +0 -0
- /package/{types → lib}/components/sections/footer/skeletons/FooterArticle.d.ts +0 -0
- /package/{types → lib}/components/sections/footer/skeletons/FooterArticle.d.ts.map +0 -0
- /package/{types → lib}/components/sections/footer/skeletons/FooterBottomGrid.d.ts +0 -0
- /package/{types → lib}/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +0 -0
- /package/{types → lib}/components/sections/footer/skeletons/index.d.ts +0 -0
- /package/{types → lib}/components/sections/footer/skeletons/index.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/DynamicForm.d.ts +0 -0
- /package/{types → lib}/components/sections/form/DynamicForm.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/renderer/areaRenderer.d.ts +0 -0
- /package/{types → lib}/components/sections/form/renderer/areaRenderer.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/renderer/datepickerRenderer.d.ts +0 -0
- /package/{types → lib}/components/sections/form/renderer/datepickerRenderer.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/renderer/fieldGroupRenderer.d.ts +0 -0
- /package/{types → lib}/components/sections/form/renderer/fieldGroupRenderer.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/renderer/fieldRenderer.d.ts +0 -0
- /package/{types → lib}/components/sections/form/renderer/fieldRenderer.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/renderer/locationRenderer.d.ts +0 -0
- /package/{types → lib}/components/sections/form/renderer/locationRenderer.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/renderer/selectRenderer.d.ts +0 -0
- /package/{types → lib}/components/sections/form/renderer/selectRenderer.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/renderer/uploadRenderer.d.ts +0 -0
- /package/{types → lib}/components/sections/form/renderer/uploadRenderer.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/validators/areaValidator.d.ts +0 -0
- /package/{types → lib}/components/sections/form/validators/areaValidator.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/validators/datepickerValidator.d.ts +0 -0
- /package/{types → lib}/components/sections/form/validators/datepickerValidator.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/validators/fieldGroupValidator.d.ts +0 -0
- /package/{types → lib}/components/sections/form/validators/fieldGroupValidator.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/validators/fieldValidator.d.ts +0 -0
- /package/{types → lib}/components/sections/form/validators/fieldValidator.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/validators/locationValidator.d.ts +0 -0
- /package/{types → lib}/components/sections/form/validators/locationValidator.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/validators/selectValidator.d.ts +0 -0
- /package/{types → lib}/components/sections/form/validators/selectValidator.d.ts.map +0 -0
- /package/{types → lib}/components/sections/form/validators/uploadValidator.d.ts +0 -0
- /package/{types → lib}/components/sections/form/validators/uploadValidator.d.ts.map +0 -0
- /package/{types → lib}/components/sections/header/HeaderKenBurns.d.ts +0 -0
- /package/{types → lib}/components/sections/header/HeaderKenBurns.d.ts.map +0 -0
- /package/{types → lib}/components/sections/header/HeaderPoster.d.ts +0 -0
- /package/{types → lib}/components/sections/header/HeaderPoster.d.ts.map +0 -0
- /package/{types → lib}/components/sections/header/HeaderVideo.d.ts +0 -0
- /package/{types → lib}/components/sections/header/HeaderVideo.d.ts.map +0 -0
- /package/{types → lib}/components/sections/jobs/JobArticle.d.ts +0 -0
- /package/{types → lib}/components/sections/jobs/JobArticle.d.ts.map +0 -0
- /package/{types → lib}/components/sections/jobs/JobList.d.ts +0 -0
- /package/{types → lib}/components/sections/jobs/JobList.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/NavBar.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/NavBar.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/Navigation.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/Navigation.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/menu/Menu.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/menu/Menu.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/menu/variations/MenuFlyout.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/menu/variations/MenuLarge.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/partials/MenuFooter.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/partials/MenuFooter.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/partials/MenuHeader.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/partials/MenuHeader.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/partials/NavBarBottom.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/partials/NavBarBottom.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/partials/NavBarMain.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/partials/NavBarMain.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/partials/NavBarTop.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/partials/NavBarTop.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/partials/index.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/partials/index.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/skeletons/BarColumn.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/skeletons/BarColumn.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/skeletons/BarLogo.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/skeletons/BarLogo.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/skeletons/BarMenuToggle.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/skeletons/BarNavList.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/skeletons/BarNavList.d.ts.map +0 -0
- /package/{types → lib}/components/sections/navigation/skeletons/index.d.ts +0 -0
- /package/{types → lib}/components/sections/navigation/skeletons/index.d.ts.map +0 -0
- /package/{types → lib}/components/sections/news/NewsAuthorCard.d.ts +0 -0
- /package/{types → lib}/components/sections/news/NewsAuthorCard.d.ts.map +0 -0
- /package/{types → lib}/components/sections/news/NewsFooter.d.ts +0 -0
- /package/{types → lib}/components/sections/news/NewsFooter.d.ts.map +0 -0
- /package/{types → lib}/components/sections/news/NewsImages.d.ts +0 -0
- /package/{types → lib}/components/sections/news/NewsImages.d.ts.map +0 -0
- /package/{types → lib}/components/sections/news/NewsIntro.d.ts +0 -0
- /package/{types → lib}/components/sections/news/NewsIntro.d.ts.map +0 -0
- /package/{types → lib}/components/sections/news/NewsList.d.ts +0 -0
- /package/{types → lib}/components/sections/news/NewsList.d.ts.map +0 -0
- /package/{types → lib}/components/sections/news/NewsOverview.d.ts +0 -0
- /package/{types → lib}/components/sections/news/NewsOverview.d.ts.map +0 -0
- /package/{types → lib}/components/sections/news/NewsTable.d.ts +0 -0
- /package/{types → lib}/components/sections/news/NewsTable.d.ts.map +0 -0
- /package/{types → lib}/components/sections/news/NewsText.d.ts +0 -0
- /package/{types → lib}/components/sections/news/NewsText.d.ts.map +0 -0
- /package/{types → lib}/components/sections/news/NewsVideo.d.ts +0 -0
- /package/{types → lib}/components/sections/news/NewsVideo.d.ts.map +0 -0
- /package/{types → lib}/components/sections/pois/PointOfInterestDetail.d.ts +0 -0
- /package/{types → lib}/components/sections/pois/PointOfInterestDetail.d.ts.map +0 -0
- /package/{types → lib}/components/sections/pois/PointOfInterestMap.d.ts +0 -0
- /package/{types → lib}/components/sections/pois/PointOfInterestMap.d.ts.map +0 -0
- /package/{types → lib}/components/sections/pois/PointOfInterestOverview.d.ts +0 -0
- /package/{types → lib}/components/sections/pois/PointOfInterestOverview.d.ts.map +0 -0
- /package/{types → lib}/components/typography/Copy.d.ts +0 -0
- /package/{types → lib}/components/typography/Copy.d.ts.map +0 -0
- /package/{types → lib}/components/typography/Heading.d.ts +0 -0
- /package/{types → lib}/components/typography/Heading.d.ts.map +0 -0
- /package/{types → lib}/components/typography/Link.d.ts +0 -0
- /package/{types → lib}/components/typography/Link.d.ts.map +0 -0
- /package/{types → lib}/utils/LibThemeProvider.d.ts +0 -0
- /package/{types → lib}/utils/LibThemeProvider.d.ts.map +0 -0
- /package/{types → lib}/utils/arrays.d.ts +0 -0
- /package/{types → lib}/utils/arrays.d.ts.map +0 -0
- /package/{types → lib}/utils/backgroundImage.d.ts +0 -0
- /package/{types → lib}/utils/backgroundImage.d.ts.map +0 -0
- /package/{types → lib}/utils/clamp.d.ts +0 -0
- /package/{types → lib}/utils/clamp.d.ts.map +0 -0
- /package/{types → lib}/utils/concat.d.ts +0 -0
- /package/{types → lib}/utils/concat.d.ts.map +0 -0
- /package/{types → lib}/utils/cookie-consent/cookie.d.ts +0 -0
- /package/{types → lib}/utils/cookie-consent/cookie.d.ts.map +0 -0
- /package/{types → lib}/utils/cookie-consent/mutations.d.ts +0 -0
- /package/{types → lib}/utils/cookie-consent/mutations.d.ts.map +0 -0
- /package/{types → lib}/utils/cookie-consent/useCookieConsent.d.ts +0 -0
- /package/{types → lib}/utils/cookie-consent/useCookieConsent.d.ts.map +0 -0
- /package/{types → lib}/utils/dataURI.d.ts +0 -0
- /package/{types → lib}/utils/dataURI.d.ts.map +0 -0
- /package/{types → lib}/utils/escape.d.ts +0 -0
- /package/{types → lib}/utils/escape.d.ts.map +0 -0
- /package/{types → lib}/utils/filters.d.ts +0 -0
- /package/{types → lib}/utils/filters.d.ts.map +0 -0
- /package/{types → lib}/utils/fontLoading.d.ts +0 -0
- /package/{types → lib}/utils/fontLoading.d.ts.map +0 -0
- /package/{types → lib}/utils/formFieldText.d.ts +0 -0
- /package/{types → lib}/utils/formFieldText.d.ts.map +0 -0
- /package/{types → lib}/utils/getLinkIcon.d.ts +0 -0
- /package/{types → lib}/utils/getLinkIcon.d.ts.map +0 -0
- /package/{types → lib}/utils/hexRgbConverter.d.ts +0 -0
- /package/{types → lib}/utils/hexRgbConverter.d.ts.map +0 -0
- /package/{types → lib}/utils/menuHooks.d.ts +0 -0
- /package/{types → lib}/utils/menuHooks.d.ts.map +0 -0
- /package/{types → lib}/utils/navigation.d.ts +0 -0
- /package/{types → lib}/utils/navigation.d.ts.map +0 -0
- /package/{types → lib}/utils/statusFormatter.d.ts +0 -0
- /package/{types → lib}/utils/statusFormatter.d.ts.map +0 -0
- /package/{types → lib}/utils/storyHelpers.d.ts +0 -0
- /package/{types → lib}/utils/storyHelpers.d.ts.map +0 -0
- /package/{types → lib}/utils/structuredData.d.ts +0 -0
- /package/{types → lib}/utils/structuredData.d.ts.map +0 -0
- /package/{types → lib}/utils/types.d.ts +0 -0
- /package/{types → lib}/utils/types.d.ts.map +0 -0
- /package/{types → lib}/utils/urlParams.d.ts +0 -0
- /package/{types → lib}/utils/urlParams.d.ts.map +0 -0
- /package/{types → lib}/utils/useArray.d.ts +0 -0
- /package/{types → lib}/utils/useArray.d.ts.map +0 -0
- /package/{types → lib}/utils/useDebounce.d.ts +0 -0
- /package/{types → lib}/utils/useDebounce.d.ts.map +0 -0
- /package/{types → lib}/utils/useFontsLoaded.d.ts +0 -0
- /package/{types → lib}/utils/useFontsLoaded.d.ts.map +0 -0
- /package/{types → lib}/utils/useGeolocation.d.ts +0 -0
- /package/{types → lib}/utils/useGeolocation.d.ts.map +0 -0
- /package/{types → lib}/utils/useIE.d.ts +0 -0
- /package/{types → lib}/utils/useIE.d.ts.map +0 -0
- /package/{types → lib}/utils/useImgPreload.d.ts +0 -0
- /package/{types → lib}/utils/useImgPreload.d.ts.map +0 -0
- /package/{types → lib}/utils/useInterval.d.ts +0 -0
- /package/{types → lib}/utils/useInterval.d.ts.map +0 -0
- /package/{types → lib}/utils/useItemHeight.d.ts +0 -0
- /package/{types → lib}/utils/useItemHeight.d.ts.map +0 -0
- /package/{types → lib}/utils/useLazyInput.d.ts +0 -0
- /package/{types → lib}/utils/useLazyInput.d.ts.map +0 -0
- /package/{types → lib}/utils/useLeafletMap.d.ts +0 -0
- /package/{types → lib}/utils/useLeafletMap.d.ts.map +0 -0
- /package/{types → lib}/utils/useMounted.d.ts +0 -0
- /package/{types → lib}/utils/useMounted.d.ts.map +0 -0
- /package/{types → lib}/utils/useObserverSupport.d.ts +0 -0
- /package/{types → lib}/utils/useObserverSupport.d.ts.map +0 -0
- /package/{types → lib}/utils/usePageScroll.d.ts +0 -0
- /package/{types → lib}/utils/usePageScroll.d.ts.map +0 -0
- /package/{types → lib}/utils/useParams.d.ts +0 -0
- /package/{types → lib}/utils/useParams.d.ts.map +0 -0
- /package/{types → lib}/utils/usePoster.d.ts +0 -0
- /package/{types → lib}/utils/usePoster.d.ts.map +0 -0
- /package/{types → lib}/utils/usePrevious.d.ts +0 -0
- /package/{types → lib}/utils/usePrevious.d.ts.map +0 -0
- /package/{types → lib}/utils/useResizeThrottle.d.ts +0 -0
- /package/{types → lib}/utils/useResizeThrottle.d.ts.map +0 -0
- /package/{types → lib}/utils/useScroll.d.ts +0 -0
- /package/{types → lib}/utils/useScroll.d.ts.map +0 -0
- /package/{types → lib}/utils/useScrollIntoView.d.ts +0 -0
- /package/{types → lib}/utils/useScrollIntoView.d.ts.map +0 -0
- /package/{types → lib}/utils/useScrollThrottle.d.ts +0 -0
- /package/{types → lib}/utils/useScrollThrottle.d.ts.map +0 -0
- /package/{types → lib}/utils/useScrollTo.d.ts +0 -0
- /package/{types → lib}/utils/useScrollTo.d.ts.map +0 -0
- /package/{types → lib}/utils/useTimeout.d.ts +0 -0
- /package/{types → lib}/utils/useTimeout.d.ts.map +0 -0
- /package/{types → lib}/utils/useTouch.d.ts +0 -0
- /package/{types → lib}/utils/useTouch.d.ts.map +0 -0
- /package/{types → lib}/utils/useUpdateEffect.d.ts +0 -0
- /package/{types → lib}/utils/useUpdateEffect.d.ts.map +0 -0
package/esm/sections_news.js
DELETED
|
@@ -1,1023 +0,0 @@
|
|
|
1
|
-
import { a as __makeTemplateObject, _ as __assign, e as __spreadArray } from './ClockFilled-6bae80dc.js';
|
|
2
|
-
import React__default, { forwardRef, useMemo, useState, useRef, useCallback, useEffect } from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { S as Section, m as mapToBgMode, W as Wrapper } from './Wrapper-29347885.js';
|
|
5
|
-
import { C as Copy, H as Heading, c as copyStyle } from './Copy-fb124972.js';
|
|
6
|
-
import { g as getColors, s as spacings, m as mq, c as getGlobals, a as getFonts } from './styles-f6c54818.js';
|
|
7
|
-
import { w as withLibTheme, u as useLibTheme } from './LibThemeProvider-a38c5bf1.js';
|
|
8
|
-
import { I as Image } from './Image-b538f659.js';
|
|
9
|
-
import { T as Tag } from './Tag-72424779.js';
|
|
10
|
-
import { S as StatusFormatter } from './statusFormatter-9be0fbff.js';
|
|
11
|
-
import { L as Link } from './Link-0a1e35d6.js';
|
|
12
|
-
import { i as isValidArray } from './arrays-65b644ef.js';
|
|
13
|
-
import { u as useMediaQuery } from './useMediaQuery-0d473a9c.js';
|
|
14
|
-
import { u as useEqualSheetHeight } from './useEqualSheetHeight-c18cebd3.js';
|
|
15
|
-
import { G as Grid } from './Grid-151498da.js';
|
|
16
|
-
import { u as useObserverSupport } from './useObserverSupport-02bce7f5.js';
|
|
17
|
-
import { u as useScrollTo } from './useScrollTo-70af34bf.js';
|
|
18
|
-
import { P as Pointer } from './Pointer-bc68154f.js';
|
|
19
|
-
import { g as getUrlParams, s as setUrlParam, d as deleteUrlParam } from './urlParams-9cfdaf71.js';
|
|
20
|
-
import { F as Filter } from './Filter-fec6dc5c.js';
|
|
21
|
-
import { u as useUpdateEffect } from './useUpdateEffect-824c0c84.js';
|
|
22
|
-
import { u as useMounted } from './useMounted-1e4cc87b.js';
|
|
23
|
-
import { T as Title, a as TableBlock } from './TableBlock-26530c71.js';
|
|
24
|
-
import { V as VideoCard } from './VideoCard-3fd368ef.js';
|
|
25
|
-
import './concat-ab3c66f2.js';
|
|
26
|
-
import './clamp-12d37b65.js';
|
|
27
|
-
import 'react-dom/server';
|
|
28
|
-
import './useCookieConsent-8caef116.js';
|
|
29
|
-
import './ButtonGhost-5b498dba.js';
|
|
30
|
-
import './hexRgbConverter-edb91624.js';
|
|
31
|
-
|
|
32
|
-
var Seperator = styled.div.withConfig({
|
|
33
|
-
displayName: "NewsAuthorCard__Seperator",
|
|
34
|
-
componentId: "sc-17dx8qw-0"
|
|
35
|
-
})(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n border-bottom: solid 1px\n ", ";\n\n margin-top: ", "px;\n margin-bottom: ", "px;\n"], ["\n border-bottom: solid 1px\n ", ";\n\n margin-top: ", "px;\n margin-bottom: ", "px;\n"])), function (_a) {
|
|
36
|
-
var isInverted = _a.isInverted,
|
|
37
|
-
theme = _a.theme;
|
|
38
|
-
return isInverted ? getColors(theme).elementBg.light : getColors(theme).elementBg.dark;
|
|
39
|
-
}, function (_a) {
|
|
40
|
-
var isTop = _a.isTop;
|
|
41
|
-
return !isTop && spacings.spacer;
|
|
42
|
-
}, function (_a) {
|
|
43
|
-
var isTop = _a.isTop;
|
|
44
|
-
return isTop && spacings.spacer;
|
|
45
|
-
});
|
|
46
|
-
var AuthorContainer = styled.div.withConfig({
|
|
47
|
-
displayName: "NewsAuthorCard__AuthorContainer",
|
|
48
|
-
componentId: "sc-17dx8qw-1"
|
|
49
|
-
})(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n flex-direction: row;\n justify-content: flex-start;\n text-align: left;\n\n & > * + * {\n margin-top: 0;\n margin-left: ", "px;\n }\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n flex-direction: row;\n justify-content: flex-start;\n text-align: left;\n\n & > * + * {\n margin-top: 0;\n margin-left: ", "px;\n }\n }\n"])), spacings.spacer, mq.medium, spacings.spacer);
|
|
50
|
-
var Avatar = styled.img.withConfig({
|
|
51
|
-
displayName: "NewsAuthorCard__Avatar",
|
|
52
|
-
componentId: "sc-17dx8qw-2"
|
|
53
|
-
})(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n border-radius: 50%; ;\n"], ["\n border-radius: 50%; ;\n"])));
|
|
54
|
-
var Author = styled.div.withConfig({
|
|
55
|
-
displayName: "NewsAuthorCard__Author",
|
|
56
|
-
componentId: "sc-17dx8qw-3"
|
|
57
|
-
})(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject([""], [""])));
|
|
58
|
-
var StyledCopy = styled(Copy).withConfig({
|
|
59
|
-
displayName: "NewsAuthorCard__StyledCopy",
|
|
60
|
-
componentId: "sc-17dx8qw-4"
|
|
61
|
-
})(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject(["\n text-transform: uppercase;\n margin-bottom: ", "px;\n"], ["\n text-transform: uppercase;\n margin-bottom: ", "px;\n"])), spacings.nudge * 3);
|
|
62
|
-
|
|
63
|
-
var NewsAuthorCard = function (_a) {
|
|
64
|
-
var label = _a.label,
|
|
65
|
-
author = _a.author,
|
|
66
|
-
avatar = _a.avatar,
|
|
67
|
-
bgMode = _a.bgMode;
|
|
68
|
-
var colors = useLibTheme().colors;
|
|
69
|
-
var isInverted = bgMode === 'inverted';
|
|
70
|
-
var hasBg = bgMode === 'full';
|
|
71
|
-
return React__default.createElement(Section, {
|
|
72
|
-
addSeperation: true,
|
|
73
|
-
bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
|
|
74
|
-
bgMode: mapToBgMode(bgMode, true)
|
|
75
|
-
}, React__default.createElement(Wrapper, {
|
|
76
|
-
clampWidth: "small",
|
|
77
|
-
addWhitespace: true
|
|
78
|
-
}, author && React__default.createElement(React__default.Fragment, null, React__default.createElement(Seperator, {
|
|
79
|
-
isTop: true,
|
|
80
|
-
isInverted: isInverted
|
|
81
|
-
}), React__default.createElement(AuthorContainer, null, avatar && React__default.createElement(Avatar, {
|
|
82
|
-
src: avatar.src,
|
|
83
|
-
alt: avatar.alt
|
|
84
|
-
}), React__default.createElement(Author, null, author && React__default.createElement(StyledCopy, {
|
|
85
|
-
isInverted: isInverted,
|
|
86
|
-
type: "copy-b"
|
|
87
|
-
}, label || 'Written By'), React__default.createElement(Heading, {
|
|
88
|
-
isInverted: isInverted,
|
|
89
|
-
size: "heading-2"
|
|
90
|
-
}, author)))), React__default.createElement(Seperator, {
|
|
91
|
-
isInverted: isInverted
|
|
92
|
-
})));
|
|
93
|
-
};
|
|
94
|
-
var NewsAuthorCard$1 = withLibTheme(NewsAuthorCard);
|
|
95
|
-
var templateObject_1$7, templateObject_2$4, templateObject_3$3, templateObject_4$3, templateObject_5$3;
|
|
96
|
-
|
|
97
|
-
var View = styled.div.withConfig({
|
|
98
|
-
displayName: "NewsCard__View",
|
|
99
|
-
componentId: "sc-ahox9b-0"
|
|
100
|
-
})(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n position: relative;\n text-decoration: none;\n margin: 0;\n padding: 0;\n"], ["\n position: relative;\n text-decoration: none;\n margin: 0;\n padding: 0;\n"])));
|
|
101
|
-
var ImageLink = styled(Link).withConfig({
|
|
102
|
-
displayName: "NewsCard__ImageLink",
|
|
103
|
-
componentId: "sc-ahox9b-1"
|
|
104
|
-
})(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n display: block;\n width: 100%;\n"], ["\n display: block;\n width: 100%;\n"])));
|
|
105
|
-
var StyledImage$1 = styled(Image).withConfig({
|
|
106
|
-
displayName: "NewsCard__StyledImage",
|
|
107
|
-
componentId: "sc-ahox9b-2"
|
|
108
|
-
})(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["\n overflow: hidden;\n border-radius: ", ";\n"], ["\n overflow: hidden;\n border-radius: ", ";\n"])), function (_a) {
|
|
109
|
-
var theme = _a.theme;
|
|
110
|
-
return getGlobals(theme).sections.edgeRadius;
|
|
111
|
-
});
|
|
112
|
-
var BorderPlaceholder = styled.div.withConfig({
|
|
113
|
-
displayName: "NewsCard__BorderPlaceholder",
|
|
114
|
-
componentId: "sc-ahox9b-3"
|
|
115
|
-
})(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n border-top: 1px solid\n ", ";\n"], ["\n border-top: 1px solid\n ", ";\n"])), function (_a) {
|
|
116
|
-
var theme = _a.theme,
|
|
117
|
-
hasBg = _a.hasBg;
|
|
118
|
-
return hasBg ? getColors(theme).elementBg.light : getColors(theme).elementBg.medium;
|
|
119
|
-
});
|
|
120
|
-
var TitleLink = styled(Link).withConfig({
|
|
121
|
-
displayName: "NewsCard__TitleLink",
|
|
122
|
-
componentId: "sc-ahox9b-4"
|
|
123
|
-
})(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n display: inline-block;\n ", "\n\n color: ", ";\n text-decoration: none;\n"], ["\n display: inline-block;\n ", "\n\n color: ", ";\n text-decoration: none;\n"])), copyStyle('copy-b', 'big'), function (_a) {
|
|
124
|
-
var theme = _a.theme,
|
|
125
|
-
isInverted = _a.isInverted;
|
|
126
|
-
return isInverted ? getFonts(theme)['copy-b'].big.colorInverted : getFonts(theme)['copy-b'].big.color;
|
|
127
|
-
});
|
|
128
|
-
var Head = styled.div.withConfig({
|
|
129
|
-
displayName: "NewsCard__Head",
|
|
130
|
-
componentId: "sc-ahox9b-5"
|
|
131
|
-
})(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n display: flex;\n\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n &:not(:first-child) {\n margin-top: ", "px;\n }\n\n &:not(:last-child) {\n margin-bottom: ", "px;\n }\n\n & > * + * {\n margin-left: ", "px;\n }\n"], ["\n display: flex;\n\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n &:not(:first-child) {\n margin-top: ", "px;\n }\n\n &:not(:last-child) {\n margin-bottom: ", "px;\n }\n\n & > * + * {\n margin-left: ", "px;\n }\n"])), spacings.nudge * 3, spacings.nudge * 3, spacings.nudge * 3);
|
|
132
|
-
var Tags$1 = styled.div.withConfig({
|
|
133
|
-
displayName: "NewsCard__Tags",
|
|
134
|
-
componentId: "sc-ahox9b-6"
|
|
135
|
-
})(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n display: flex;\n overflow: scroll;\n scrollbar-width: none;\n\n &::-webkit-scrollbar {\n width: 0;\n height: 0;\n display: none;\n }\n\n & > * + * {\n margin-left: ", "px;\n }\n"], ["\n display: flex;\n overflow: scroll;\n scrollbar-width: none;\n\n &::-webkit-scrollbar {\n width: 0;\n height: 0;\n display: none;\n }\n\n & > * + * {\n margin-left: ", "px;\n }\n"])), spacings.nudge);
|
|
136
|
-
var PublishDate = styled(Copy).withConfig({
|
|
137
|
-
displayName: "NewsCard__PublishDate",
|
|
138
|
-
componentId: "sc-ahox9b-7"
|
|
139
|
-
})(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n &:only-child {\n margin-left: auto;\n }\n"], ["\n &:only-child {\n margin-left: auto;\n }\n"])));
|
|
140
|
-
var Main = styled.div.withConfig({
|
|
141
|
-
displayName: "NewsCard__Main",
|
|
142
|
-
componentId: "sc-ahox9b-8"
|
|
143
|
-
})(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n max-width: 95%;\n\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n max-width: 95%;\n\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.nudge * 3);
|
|
144
|
-
var Text = styled(Copy).withConfig({
|
|
145
|
-
displayName: "NewsCard__Text",
|
|
146
|
-
componentId: "sc-ahox9b-9"
|
|
147
|
-
})(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 6; /* number of lines to show */\n line-clamp: 6;\n -webkit-box-orient: vertical;\n\n & > * {\n margin: 0 !important;\n }\n\n & > p:not(:first-of-type) {\n display: none;\n }\n\n & > ul,\n & > ol,\n & > table {\n display: none;\n }\n"], ["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 6; /* number of lines to show */\n line-clamp: 6;\n -webkit-box-orient: vertical;\n\n & > * {\n margin: 0 !important;\n }\n\n & > p:not(:first-of-type) {\n display: none;\n }\n\n & > ul,\n & > ol,\n & > table {\n display: none;\n }\n"])));
|
|
148
|
-
var Action = styled.div.withConfig({
|
|
149
|
-
displayName: "NewsCard__Action",
|
|
150
|
-
componentId: "sc-ahox9b-10"
|
|
151
|
-
})(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n margin-top: ", "px;\n"], ["\n margin-top: ", "px;\n"])), spacings.nudge * 3);
|
|
152
|
-
var NewsCard = forwardRef(function (_a, ref) {
|
|
153
|
-
var tags = _a.tags,
|
|
154
|
-
onTagClick = _a.onTagClick,
|
|
155
|
-
publishDate = _a.publishDate,
|
|
156
|
-
title = _a.title,
|
|
157
|
-
text = _a.text,
|
|
158
|
-
image = _a.image,
|
|
159
|
-
link = _a.link,
|
|
160
|
-
isInverted = _a.isInverted,
|
|
161
|
-
action = _a.action,
|
|
162
|
-
customTag = _a.customTag,
|
|
163
|
-
className = _a.className,
|
|
164
|
-
hasBg = _a.hasBg;
|
|
165
|
-
var globals = useLibTheme().globals;
|
|
166
|
-
var publishedAt = '';
|
|
167
|
-
|
|
168
|
-
if (publishDate) {
|
|
169
|
-
var formatter = new StatusFormatter(publishDate.getTime(), '', globals.sections.newsDateFormat(publishDate), globals.sections.newsTimeFormat(publishDate), globals.sections.newsLocaleKey);
|
|
170
|
-
publishedAt = formatter.getFormattedDate();
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
var handleTagClick = function (tag) {
|
|
174
|
-
return onTagClick ? function (ev) {
|
|
175
|
-
ev === null || ev === void 0 ? void 0 : ev.preventDefault();
|
|
176
|
-
onTagClick(tag);
|
|
177
|
-
} : undefined;
|
|
178
|
-
};
|
|
179
|
-
|
|
180
|
-
var filteredTags = useMemo(function () {
|
|
181
|
-
return tags === null || tags === void 0 ? void 0 : tags.filter(function (tag) {
|
|
182
|
-
return tag.name;
|
|
183
|
-
});
|
|
184
|
-
}, [tags]);
|
|
185
|
-
return React__default.createElement(View, {
|
|
186
|
-
ref: ref,
|
|
187
|
-
className: className
|
|
188
|
-
}, image ? React__default.createElement(ImageLink, __assign({}, link, {
|
|
189
|
-
ariaLabel: title
|
|
190
|
-
}), React__default.createElement(StyledImage$1, __assign({}, image, {
|
|
191
|
-
coverSpace: true,
|
|
192
|
-
isInverted: isInverted
|
|
193
|
-
}))) : React__default.createElement(BorderPlaceholder, {
|
|
194
|
-
hasBg: hasBg
|
|
195
|
-
}), React__default.createElement(Head, {
|
|
196
|
-
"data-sheet": "head"
|
|
197
|
-
}, isValidArray(filteredTags, false) && React__default.createElement(Tags$1, null, filteredTags.map(function (tag, i) {
|
|
198
|
-
if (customTag) {
|
|
199
|
-
return customTag({
|
|
200
|
-
key: i,
|
|
201
|
-
name: tag.name || '',
|
|
202
|
-
isInverted: isInverted,
|
|
203
|
-
isActive: false,
|
|
204
|
-
link: tag.link,
|
|
205
|
-
clickHandler: handleTagClick(tag)
|
|
206
|
-
});
|
|
207
|
-
} else {
|
|
208
|
-
return React__default.createElement(Tag, {
|
|
209
|
-
key: i,
|
|
210
|
-
isInverted: isInverted,
|
|
211
|
-
name: tag.name,
|
|
212
|
-
link: tag.link,
|
|
213
|
-
onClick: handleTagClick(tag)
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
})), publishedAt && React__default.createElement(PublishDate, {
|
|
217
|
-
size: "small",
|
|
218
|
-
renderAs: "div",
|
|
219
|
-
isInverted: isInverted
|
|
220
|
-
}, publishedAt)), React__default.createElement(Main, null, title && React__default.createElement(TitleLink, __assign({}, link, {
|
|
221
|
-
ariaLabel: title,
|
|
222
|
-
isInverted: isInverted,
|
|
223
|
-
dataSheet: "title"
|
|
224
|
-
}), title), text && React__default.createElement(Text, {
|
|
225
|
-
isInverted: isInverted,
|
|
226
|
-
type: "copy",
|
|
227
|
-
innerHTML: text,
|
|
228
|
-
"data-sheet": "text",
|
|
229
|
-
size: "medium"
|
|
230
|
-
})), action && React__default.createElement(Action, null, action(isInverted)));
|
|
231
|
-
});
|
|
232
|
-
NewsCard.displayName = 'NewsCard';
|
|
233
|
-
var templateObject_1$6, templateObject_2$3, templateObject_3$2, templateObject_4$2, templateObject_5$2, templateObject_6$2, templateObject_7$2, templateObject_8, templateObject_9, templateObject_10, templateObject_11;
|
|
234
|
-
|
|
235
|
-
var TagContainer = styled.div.withConfig({
|
|
236
|
-
displayName: "NewsOverview__TagContainer",
|
|
237
|
-
componentId: "sc-5r2c7-0"
|
|
238
|
-
})(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n margin-top: -", "px;\n margin-left: -", "px;\n\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n &:not(:only-child) {\n margin-bottom: ", "px;\n }\n"], ["\n margin-top: -", "px;\n margin-left: -", "px;\n\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n &:not(:only-child) {\n margin-bottom: ", "px;\n }\n"])), spacings.nudge, spacings.nudge, spacings.nudge * 6);
|
|
239
|
-
var TagWrapper$1 = styled.div.withConfig({
|
|
240
|
-
displayName: "NewsOverview__TagWrapper",
|
|
241
|
-
componentId: "sc-5r2c7-1"
|
|
242
|
-
})(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n padding-top: ", "px;\n padding-left: ", "px;\n"], ["\n padding-top: ", "px;\n padding-left: ", "px;\n"])), spacings.nudge, spacings.nudge);
|
|
243
|
-
var News$1 = styled.ul.withConfig({
|
|
244
|
-
displayName: "NewsOverview__News",
|
|
245
|
-
componentId: "sc-5r2c7-2"
|
|
246
|
-
})(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n list-style: none;\n margin: 0;\n margin-top: -", "px;\n margin-left: -", "px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n"], ["\n list-style: none;\n margin: 0;\n margin-top: -", "px;\n margin-left: -", "px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n"])), spacings.nudge * 6, spacings.spacer);
|
|
247
|
-
var NewsItem$1 = styled.li.withConfig({
|
|
248
|
-
displayName: "NewsOverview__NewsItem",
|
|
249
|
-
componentId: "sc-5r2c7-3"
|
|
250
|
-
})(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n padding-top: ", "px;\n padding-left: ", "px;\n flex: 1 0 100%;\n\n @media ", " {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media ", " {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n"], ["\n padding-top: ", "px;\n padding-left: ", "px;\n flex: 1 0 100%;\n\n @media ", " {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media ", " {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n"])), spacings.nudge * 6, spacings.spacer, mq.medium, mq.large);
|
|
251
|
-
var ListFooter = styled.div.withConfig({
|
|
252
|
-
displayName: "NewsOverview__ListFooter",
|
|
253
|
-
componentId: "sc-5r2c7-4"
|
|
254
|
-
})(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n margin-top: ", "px;\n text-align: center;\n\n @media ", " {\n text-align: left;\n }\n"], ["\n margin-top: ", "px;\n text-align: center;\n\n @media ", " {\n text-align: left;\n }\n"])), spacings.nudge * 6, mq.medium);
|
|
255
|
-
var ShowMore = styled.span.withConfig({
|
|
256
|
-
displayName: "NewsOverview__ShowMore",
|
|
257
|
-
componentId: "sc-5r2c7-5"
|
|
258
|
-
})(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (_a) {
|
|
259
|
-
var itemCount = _a.itemCount;
|
|
260
|
-
return itemCount && itemCount > 2 ? 'block' : 'none';
|
|
261
|
-
});
|
|
262
|
-
var FilterIcon = styled(Copy).withConfig({
|
|
263
|
-
displayName: "NewsOverview__FilterIcon",
|
|
264
|
-
componentId: "sc-5r2c7-6"
|
|
265
|
-
})(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: center;\n\n padding: ", "px ", "px 0 0;\n\n & > * + * {\n margin-left: ", "px;\n }\n"], ["\n display: flex;\n flex-direction: row;\n align-items: center;\n\n padding: ", "px ", "px 0 0;\n\n & > * + * {\n margin-left: ", "px;\n }\n"])), spacings.nudge / 2, spacings.nudge, spacings.nudge);
|
|
266
|
-
var getNewsFilterParams = function (url, theme, tags) {
|
|
267
|
-
if (tags === void 0) {
|
|
268
|
-
tags = [];
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
if (!url) return '';
|
|
272
|
-
if (!isValidArray(tags, false)) return url;
|
|
273
|
-
var filterName = theme.globals.sections.newsFilterName;
|
|
274
|
-
if (!filterName) return url;
|
|
275
|
-
|
|
276
|
-
try {
|
|
277
|
-
var validUrl = new URL(url);
|
|
278
|
-
var newParams = new URLSearchParams(validUrl.search);
|
|
279
|
-
newParams.set(filterName, encodeURIComponent(tags.join(',')));
|
|
280
|
-
return "".concat(url, "?").concat(newParams.toString());
|
|
281
|
-
} catch (err) {
|
|
282
|
-
return "".concat(url, "?").concat(filterName, "=").concat(encodeURIComponent(tags.join(',')));
|
|
283
|
-
}
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
var NewsOverview = function (_a) {
|
|
287
|
-
var anchorId = _a.anchorId,
|
|
288
|
-
news = _a.news,
|
|
289
|
-
tags = _a.tags,
|
|
290
|
-
initial = _a.initial,
|
|
291
|
-
showMoreText = _a.showMoreText,
|
|
292
|
-
bgMode = _a.bgMode,
|
|
293
|
-
onTagClick = _a.onTagClick,
|
|
294
|
-
customTag = _a.customTag;
|
|
295
|
-
|
|
296
|
-
var _b = useLibTheme(),
|
|
297
|
-
colors = _b.colors,
|
|
298
|
-
globals = _b.globals;
|
|
299
|
-
|
|
300
|
-
var filterName = globals.sections.newsFilterName;
|
|
301
|
-
var isInverted = bgMode === 'inverted';
|
|
302
|
-
var hasBg = bgMode === 'full';
|
|
303
|
-
|
|
304
|
-
var _c = useState((initial === null || initial === void 0 ? void 0 : initial.activeTags) || []),
|
|
305
|
-
selectedTags = _c[0],
|
|
306
|
-
setSelectedTags = _c[1];
|
|
307
|
-
|
|
308
|
-
var mqs = ['small', 'semilarge', 'large'];
|
|
309
|
-
var currentMq = useMediaQuery(mqs);
|
|
310
|
-
|
|
311
|
-
var _d = useState(3),
|
|
312
|
-
itemsPerRow = _d[0],
|
|
313
|
-
setItemsPerRow = _d[1];
|
|
314
|
-
|
|
315
|
-
var _e = useState((initial === null || initial === void 0 ? void 0 : initial.visibleRows) || 3),
|
|
316
|
-
visibleRows = _e[0],
|
|
317
|
-
setVisibleRows = _e[1];
|
|
318
|
-
|
|
319
|
-
var isMounted = useMounted();
|
|
320
|
-
var targetRef = useRef(null);
|
|
321
|
-
var observerSupported = useObserverSupport();
|
|
322
|
-
var newsCount = (news === null || news === void 0 ? void 0 : news.length) || 0;
|
|
323
|
-
var setNewPos = useScrollTo(800);
|
|
324
|
-
|
|
325
|
-
var _f = useEqualSheetHeight({
|
|
326
|
-
listLength: Math.min(visibleRows * itemsPerRow, newsCount),
|
|
327
|
-
identifiers: ['[data-sheet="head"]', '[data-sheet="title"]', '[data-sheet="text"]'],
|
|
328
|
-
responsive: {
|
|
329
|
-
small: 1,
|
|
330
|
-
medium: 1,
|
|
331
|
-
semilarge: 2,
|
|
332
|
-
large: 3,
|
|
333
|
-
xlarge: 3
|
|
334
|
-
}
|
|
335
|
-
}),
|
|
336
|
-
cardRefs = _f.sheetRefs,
|
|
337
|
-
triggerCalculation = _f.triggerCalculation;
|
|
338
|
-
|
|
339
|
-
var getFilters = useCallback(function () {
|
|
340
|
-
var tags = [];
|
|
341
|
-
var filters = getUrlParams()[filterName];
|
|
342
|
-
|
|
343
|
-
if (filters) {
|
|
344
|
-
var tagsFilter = filters === null || filters === void 0 ? void 0 : filters.split(',');
|
|
345
|
-
|
|
346
|
-
if (isValidArray(tagsFilter, false)) {
|
|
347
|
-
tags.push.apply(tags, tagsFilter);
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
return tags;
|
|
352
|
-
}, [filterName]);
|
|
353
|
-
useEffect(function () {
|
|
354
|
-
// if initial data is defined exit hook
|
|
355
|
-
if (initial) return; // if no initial data provied try to find needed params in URL
|
|
356
|
-
|
|
357
|
-
var paramTags = getFilters();
|
|
358
|
-
var paramRows = parseInt(getUrlParams()['rows']);
|
|
359
|
-
setVisibleRows(paramRows || 3);
|
|
360
|
-
|
|
361
|
-
if (isValidArray(paramTags, false)) {
|
|
362
|
-
setSelectedTags(paramTags);
|
|
363
|
-
} // trigger equal sheet height recalculation
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
triggerCalculation(); // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
367
|
-
}, [getFilters, initial]);
|
|
368
|
-
useEffect(function () {
|
|
369
|
-
var _a;
|
|
370
|
-
|
|
371
|
-
if (!initial || isMounted) return; // set inital data into URL
|
|
372
|
-
|
|
373
|
-
setUrlParam('rows', (initial === null || initial === void 0 ? void 0 : initial.visibleRows) || 3);
|
|
374
|
-
|
|
375
|
-
if (isValidArray(initial === null || initial === void 0 ? void 0 : initial.activeTags, false)) {
|
|
376
|
-
setUrlParam(filterName, (_a = initial === null || initial === void 0 ? void 0 : initial.activeTags) === null || _a === void 0 ? void 0 : _a.join(','));
|
|
377
|
-
} else {
|
|
378
|
-
deleteUrlParam(filterName);
|
|
379
|
-
}
|
|
380
|
-
}, [filterName, initial, isMounted]);
|
|
381
|
-
useUpdateEffect(function () {
|
|
382
|
-
setUrlParam('rows', visibleRows);
|
|
383
|
-
}, [visibleRows]);
|
|
384
|
-
useUpdateEffect(function () {
|
|
385
|
-
if (onTagClick || !isValidArray(selectedTags)) return; // set filters to URL params
|
|
386
|
-
|
|
387
|
-
if (selectedTags.length > 0) {
|
|
388
|
-
setUrlParam(filterName, selectedTags.join(','));
|
|
389
|
-
} else {
|
|
390
|
-
deleteUrlParam(filterName);
|
|
391
|
-
}
|
|
392
|
-
}, [selectedTags]);
|
|
393
|
-
useEffect(function () {
|
|
394
|
-
switch (currentMq) {
|
|
395
|
-
case 'large':
|
|
396
|
-
setItemsPerRow(3);
|
|
397
|
-
break;
|
|
398
|
-
|
|
399
|
-
case 'semilarge':
|
|
400
|
-
setItemsPerRow(2);
|
|
401
|
-
break;
|
|
402
|
-
|
|
403
|
-
case 'small':
|
|
404
|
-
setItemsPerRow(1);
|
|
405
|
-
if (visibleRows < 3) setVisibleRows(3);
|
|
406
|
-
break;
|
|
407
|
-
|
|
408
|
-
default:
|
|
409
|
-
setItemsPerRow(1);
|
|
410
|
-
}
|
|
411
|
-
}, [currentMq, visibleRows]);
|
|
412
|
-
|
|
413
|
-
var handleTagClick = function (tag, enableToggling) {
|
|
414
|
-
if (enableToggling === void 0) {
|
|
415
|
-
enableToggling = true;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
setSelectedTags(function (prev) {
|
|
419
|
-
var prevCopy = __spreadArray([], prev, true);
|
|
420
|
-
|
|
421
|
-
var itemIndex = tag.name ? prev.indexOf(tag.name) : -1;
|
|
422
|
-
|
|
423
|
-
if (itemIndex === -1 && tag.name) {
|
|
424
|
-
return __spreadArray(__spreadArray([], prevCopy, true), [tag.name], false);
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
if (enableToggling) {
|
|
428
|
-
prevCopy.splice(itemIndex, 1);
|
|
429
|
-
return prevCopy;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
return prev;
|
|
433
|
-
}); // trigger equal sheet height recalculation
|
|
434
|
-
|
|
435
|
-
triggerCalculation();
|
|
436
|
-
setVisibleRows(3);
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
var filteredNews = useMemo(function () {
|
|
440
|
-
var tagFilterFn = function (item) {
|
|
441
|
-
if (!isValidArray(selectedTags, false)) return true;
|
|
442
|
-
if (!item.tags) return false;
|
|
443
|
-
var hasTags = false;
|
|
444
|
-
|
|
445
|
-
for (var i = 0; i < item.tags.length; i++) {
|
|
446
|
-
if (selectedTags.indexOf(item.tags[i].name || '') !== -1) {
|
|
447
|
-
hasTags = true;
|
|
448
|
-
break;
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
return hasTags;
|
|
453
|
-
};
|
|
454
|
-
|
|
455
|
-
var filtered = isValidArray(news) ? __spreadArray([], news, true) : []; // adding filter
|
|
456
|
-
|
|
457
|
-
filtered = filtered === null || filtered === void 0 ? void 0 : filtered.filter(tagFilterFn);
|
|
458
|
-
return filtered;
|
|
459
|
-
}, [news, selectedTags]);
|
|
460
|
-
var visibleNews = useMemo(function () {
|
|
461
|
-
return (filteredNews === null || filteredNews === void 0 ? void 0 : filteredNews.filter(function (_, i) {
|
|
462
|
-
return i < visibleRows * itemsPerRow;
|
|
463
|
-
})) || [];
|
|
464
|
-
}, [filteredNews, itemsPerRow, visibleRows]);
|
|
465
|
-
useEffect(function () {
|
|
466
|
-
// cancel if intersection observers are not supported
|
|
467
|
-
if (!observerSupported) return;
|
|
468
|
-
var element = targetRef.current;
|
|
469
|
-
var observer;
|
|
470
|
-
|
|
471
|
-
if (element) {
|
|
472
|
-
var options = {
|
|
473
|
-
rootMargin: '0px 0px 100px 0px',
|
|
474
|
-
threshold: 0
|
|
475
|
-
};
|
|
476
|
-
observer = new IntersectionObserver(function (entries) {
|
|
477
|
-
var entry = entries[0];
|
|
478
|
-
|
|
479
|
-
if (entry === null || entry === void 0 ? void 0 : entry.isIntersecting) {
|
|
480
|
-
// on bottom of the wrapper load more news
|
|
481
|
-
if (visibleRows < Math.ceil(filteredNews.length / itemsPerRow)) {
|
|
482
|
-
setVisibleRows(function (prev) {
|
|
483
|
-
return prev + 1;
|
|
484
|
-
});
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
}, options);
|
|
488
|
-
observer.observe(element);
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
return function () {
|
|
492
|
-
if (observer) observer.disconnect();
|
|
493
|
-
};
|
|
494
|
-
}, [itemsPerRow, newsCount, visibleRows, observerSupported, filteredNews.length]);
|
|
495
|
-
var filteredTags = useMemo(function () {
|
|
496
|
-
return tags === null || tags === void 0 ? void 0 : tags.filter(function (tag) {
|
|
497
|
-
return tag;
|
|
498
|
-
});
|
|
499
|
-
}, [tags]);
|
|
500
|
-
return React__default.createElement(Section, {
|
|
501
|
-
addSeperation: true,
|
|
502
|
-
anchorId: anchorId,
|
|
503
|
-
bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
|
|
504
|
-
bgMode: mapToBgMode(bgMode, true)
|
|
505
|
-
}, React__default.createElement(Wrapper, {
|
|
506
|
-
addWhitespace: true
|
|
507
|
-
}, isValidArray(filteredTags, false) && React__default.createElement(TagContainer, null, React__default.createElement(FilterIcon, {
|
|
508
|
-
size: "small",
|
|
509
|
-
type: "copy",
|
|
510
|
-
isInverted: isInverted
|
|
511
|
-
}, React__default.createElement(Filter, null), React__default.createElement("span", null, "Filter")), filteredTags.map(function (tag, i) {
|
|
512
|
-
return React__default.createElement(TagWrapper$1, {
|
|
513
|
-
key: i
|
|
514
|
-
}, customTag ? customTag({
|
|
515
|
-
key: i,
|
|
516
|
-
name: tag,
|
|
517
|
-
isInverted: isInverted,
|
|
518
|
-
isActive: selectedTags.indexOf(tag) !== -1,
|
|
519
|
-
clickHandler: function (ev) {
|
|
520
|
-
ev === null || ev === void 0 ? void 0 : ev.preventDefault();
|
|
521
|
-
|
|
522
|
-
if (!onTagClick) {
|
|
523
|
-
handleTagClick({
|
|
524
|
-
name: tag
|
|
525
|
-
});
|
|
526
|
-
} else onTagClick({
|
|
527
|
-
name: tag
|
|
528
|
-
});
|
|
529
|
-
}
|
|
530
|
-
}) : React__default.createElement(Tag, {
|
|
531
|
-
isInverted: isInverted,
|
|
532
|
-
onClick: function (ev) {
|
|
533
|
-
ev === null || ev === void 0 ? void 0 : ev.preventDefault();
|
|
534
|
-
|
|
535
|
-
if (!onTagClick) {
|
|
536
|
-
handleTagClick({
|
|
537
|
-
name: tag
|
|
538
|
-
});
|
|
539
|
-
} else onTagClick({
|
|
540
|
-
name: tag
|
|
541
|
-
}, false);
|
|
542
|
-
},
|
|
543
|
-
isActive: selectedTags.indexOf(tag) !== -1
|
|
544
|
-
}, tag));
|
|
545
|
-
})), React__default.createElement(News$1, null, visibleNews.map(function (item, i) {
|
|
546
|
-
var _a;
|
|
547
|
-
|
|
548
|
-
return React__default.createElement(NewsItem$1, {
|
|
549
|
-
key: "".concat(i, "_news_").concat(item.title)
|
|
550
|
-
}, React__default.createElement(NewsCard, __assign({
|
|
551
|
-
hasBg: hasBg || isInverted,
|
|
552
|
-
ref: cardRefs[i]
|
|
553
|
-
}, item, {
|
|
554
|
-
tags: (_a = item.tags) === null || _a === void 0 ? void 0 : _a.map(function (tag) {
|
|
555
|
-
return {
|
|
556
|
-
name: tag.name
|
|
557
|
-
};
|
|
558
|
-
}),
|
|
559
|
-
isInverted: isInverted,
|
|
560
|
-
onTagClick: function (tag) {
|
|
561
|
-
// scroll back to top
|
|
562
|
-
setNewPos(0);
|
|
563
|
-
|
|
564
|
-
if (!onTagClick) {
|
|
565
|
-
// if no callback is defined handle filtering on client side inside the component
|
|
566
|
-
handleTagClick({
|
|
567
|
-
name: tag.name
|
|
568
|
-
}, false);
|
|
569
|
-
} else {
|
|
570
|
-
onTagClick({
|
|
571
|
-
name: tag.name
|
|
572
|
-
}, true);
|
|
573
|
-
}
|
|
574
|
-
},
|
|
575
|
-
customTag: customTag
|
|
576
|
-
})));
|
|
577
|
-
})), React__default.createElement("div", {
|
|
578
|
-
ref: targetRef
|
|
579
|
-
}), !observerSupported && React__default.createElement(ListFooter, null, news && news.length > 0 && React__default.createElement(Copy, {
|
|
580
|
-
type: "copy",
|
|
581
|
-
size: "medium",
|
|
582
|
-
isInverted: isInverted
|
|
583
|
-
}, React__default.createElement(ShowMore, {
|
|
584
|
-
itemCount: news.length,
|
|
585
|
-
onClick: function (ev) {
|
|
586
|
-
ev.preventDefault();
|
|
587
|
-
|
|
588
|
-
if (visibleRows < Math.ceil(filteredNews.length / itemsPerRow)) {
|
|
589
|
-
setVisibleRows(function (prev) {
|
|
590
|
-
return prev + 1;
|
|
591
|
-
});
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
}, visibleRows < filteredNews.length / itemsPerRow && React__default.createElement(Pointer.View, {
|
|
595
|
-
as: "button",
|
|
596
|
-
isInverted: isInverted
|
|
597
|
-
}, React__default.createElement(Pointer.Label, null, showMoreText || 'mehr anzeigen')))))));
|
|
598
|
-
};
|
|
599
|
-
var NewsOverview$1 = withLibTheme(NewsOverview);
|
|
600
|
-
var templateObject_1$5, templateObject_2$2, templateObject_3$1, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7$1;
|
|
601
|
-
|
|
602
|
-
var NewsFooter = function (_a) {
|
|
603
|
-
var anchorId = _a.anchorId,
|
|
604
|
-
news = _a.news,
|
|
605
|
-
bgMode = _a.bgMode,
|
|
606
|
-
customTag = _a.customTag;
|
|
607
|
-
|
|
608
|
-
var _b = useLibTheme(),
|
|
609
|
-
colors = _b.colors,
|
|
610
|
-
theme = _b.theme;
|
|
611
|
-
|
|
612
|
-
var newsCount = (news === null || news === void 0 ? void 0 : news.length) || 0;
|
|
613
|
-
var isInverted = bgMode === 'inverted';
|
|
614
|
-
var hasBg = bgMode === 'full';
|
|
615
|
-
var mqs = ['small', 'semilarge'];
|
|
616
|
-
var currentMq = useMediaQuery(mqs);
|
|
617
|
-
|
|
618
|
-
var _c = useState(2),
|
|
619
|
-
itemsPerRow = _c[0],
|
|
620
|
-
setItemsPerRow = _c[1];
|
|
621
|
-
|
|
622
|
-
var _d = useState(1),
|
|
623
|
-
visibleRows = _d[0],
|
|
624
|
-
setVisibleRows = _d[1];
|
|
625
|
-
|
|
626
|
-
var cardRefs = useEqualSheetHeight({
|
|
627
|
-
listLength: Math.min(visibleRows * itemsPerRow, newsCount),
|
|
628
|
-
identifiers: ['[data-sheet="head"]', '[data-sheet="title"]', '[data-sheet="text"]'],
|
|
629
|
-
responsive: {
|
|
630
|
-
small: 1,
|
|
631
|
-
medium: 1,
|
|
632
|
-
semilarge: 2,
|
|
633
|
-
large: 2,
|
|
634
|
-
xlarge: 2
|
|
635
|
-
}
|
|
636
|
-
}).sheetRefs;
|
|
637
|
-
useEffect(function () {
|
|
638
|
-
switch (currentMq) {
|
|
639
|
-
case 'semilarge':
|
|
640
|
-
setItemsPerRow(2);
|
|
641
|
-
break;
|
|
642
|
-
|
|
643
|
-
case 'small':
|
|
644
|
-
setItemsPerRow(1);
|
|
645
|
-
if (visibleRows < 3) setVisibleRows(3);
|
|
646
|
-
break;
|
|
647
|
-
|
|
648
|
-
default:
|
|
649
|
-
setItemsPerRow(1);
|
|
650
|
-
}
|
|
651
|
-
}, [currentMq, visibleRows]);
|
|
652
|
-
return React__default.createElement(Section, {
|
|
653
|
-
addSeperation: true,
|
|
654
|
-
anchorId: anchorId,
|
|
655
|
-
bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
|
|
656
|
-
bgMode: mapToBgMode(bgMode, true)
|
|
657
|
-
}, React__default.createElement(Wrapper, {
|
|
658
|
-
addWhitespace: true,
|
|
659
|
-
clampWidth: "small"
|
|
660
|
-
}, React__default.createElement(Grid.Row, null, news === null || news === void 0 ? void 0 : news.filter(function (_, i) {
|
|
661
|
-
return i < visibleRows * itemsPerRow;
|
|
662
|
-
}).map(function (item, i) {
|
|
663
|
-
var _a;
|
|
664
|
-
|
|
665
|
-
return React__default.createElement(Grid.Col, {
|
|
666
|
-
medium: {
|
|
667
|
-
span: 6 / 12
|
|
668
|
-
},
|
|
669
|
-
key: "".concat(i, "_news_").concat(item.title)
|
|
670
|
-
}, React__default.createElement(NewsCard, __assign({
|
|
671
|
-
key: i,
|
|
672
|
-
ref: cardRefs[i]
|
|
673
|
-
}, item, {
|
|
674
|
-
tags: (_a = item.tags) === null || _a === void 0 ? void 0 : _a.map(function (tag) {
|
|
675
|
-
var _a, _b;
|
|
676
|
-
|
|
677
|
-
var tagHref = undefined;
|
|
678
|
-
|
|
679
|
-
if (tag.name && ((_a = tag.link) === null || _a === void 0 ? void 0 : _a.href)) {
|
|
680
|
-
tagHref = getNewsFilterParams(tag.link.href, theme, [tag.name]);
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
return {
|
|
684
|
-
name: tag.name,
|
|
685
|
-
link: ((_b = tag.link) === null || _b === void 0 ? void 0 : _b.href) ? __assign(__assign({}, tag.link), {
|
|
686
|
-
href: tagHref
|
|
687
|
-
}) : undefined
|
|
688
|
-
};
|
|
689
|
-
}),
|
|
690
|
-
isInverted: isInverted,
|
|
691
|
-
customTag: customTag
|
|
692
|
-
})));
|
|
693
|
-
}))));
|
|
694
|
-
};
|
|
695
|
-
var NewsFooter$1 = withLibTheme(NewsFooter);
|
|
696
|
-
|
|
697
|
-
var StyledImage = styled(Image).withConfig({
|
|
698
|
-
displayName: "NewsImages__StyledImage",
|
|
699
|
-
componentId: "sc-1l72vc0-0"
|
|
700
|
-
})(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n width: 100%;\n border-radius: ", ";\n overflow: hidden;\n\n picture > img {\n width: 100%;\n height: 100%;\n }\n"], ["\n width: 100%;\n border-radius: ", ";\n overflow: hidden;\n\n picture > img {\n width: 100%;\n height: 100%;\n }\n"])), function (_a) {
|
|
701
|
-
var theme = _a.theme;
|
|
702
|
-
return getGlobals(theme).sections.edgeRadius;
|
|
703
|
-
});
|
|
704
|
-
|
|
705
|
-
var NewsImages = function (_a) {
|
|
706
|
-
var _b;
|
|
707
|
-
|
|
708
|
-
var anchorId = _a.anchorId,
|
|
709
|
-
images = _a.images,
|
|
710
|
-
bgMode = _a.bgMode;
|
|
711
|
-
var colors = useLibTheme().colors;
|
|
712
|
-
var isInverted = bgMode === 'inverted';
|
|
713
|
-
var hasBg = bgMode === 'full';
|
|
714
|
-
return React__default.createElement(Section, {
|
|
715
|
-
addSeperation: true,
|
|
716
|
-
anchorId: anchorId,
|
|
717
|
-
bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
|
|
718
|
-
bgMode: mapToBgMode(bgMode, true)
|
|
719
|
-
}, React__default.createElement(Wrapper, {
|
|
720
|
-
clampWidth: "small",
|
|
721
|
-
addWhitespace: true
|
|
722
|
-
}, React__default.createElement(Grid.Row, null, (_b = images === null || images === void 0 ? void 0 : images.filter(function (img) {
|
|
723
|
-
return img.small;
|
|
724
|
-
})) === null || _b === void 0 ? void 0 : _b.map(function (img, i) {
|
|
725
|
-
return React__default.createElement(Grid.Col, {
|
|
726
|
-
key: i,
|
|
727
|
-
semilarge: {
|
|
728
|
-
span: img.isFull ? 12 / 12 : 6 / 12
|
|
729
|
-
}
|
|
730
|
-
}, React__default.createElement(StyledImage, __assign({}, img, {
|
|
731
|
-
coverSpace: true,
|
|
732
|
-
isInverted: isInverted
|
|
733
|
-
})));
|
|
734
|
-
}))));
|
|
735
|
-
};
|
|
736
|
-
var NewsImages$1 = withLibTheme(NewsImages);
|
|
737
|
-
var templateObject_1$4;
|
|
738
|
-
|
|
739
|
-
var Content = styled.div.withConfig({
|
|
740
|
-
displayName: "NewsIntro__Content",
|
|
741
|
-
componentId: "sc-zz6rn6-0"
|
|
742
|
-
})(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.nudge * 3);
|
|
743
|
-
var IntroHead = styled(Copy).withConfig({
|
|
744
|
-
displayName: "NewsIntro__IntroHead",
|
|
745
|
-
componentId: "sc-zz6rn6-1"
|
|
746
|
-
})(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n display: flex;\n\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n flex-direction: row;\n align-items: center;\n\n & > * + * {\n margin-top: 0;\n margin-left: ", "px;\n }\n }\n"], ["\n display: flex;\n\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n flex-direction: row;\n align-items: center;\n\n & > * + * {\n margin-top: 0;\n margin-left: ", "px;\n }\n }\n"])), spacings.nudge * 2, mq.medium, spacings.nudge * 2);
|
|
747
|
-
var Tags = styled.div.withConfig({
|
|
748
|
-
displayName: "NewsIntro__Tags",
|
|
749
|
-
componentId: "sc-zz6rn6-2"
|
|
750
|
-
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n flex: 1 1 80%;\n\n display: flex;\n flex-wrap: wrap;\n margin-top: -", "px;\n margin-left: -", "px;\n"], ["\n flex: 1 1 80%;\n\n display: flex;\n flex-wrap: wrap;\n margin-top: -", "px;\n margin-left: -", "px;\n"])), spacings.nudge, spacings.nudge);
|
|
751
|
-
var TagWrapper = styled.span.withConfig({
|
|
752
|
-
displayName: "NewsIntro__TagWrapper",
|
|
753
|
-
componentId: "sc-zz6rn6-3"
|
|
754
|
-
})(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: inline-block;\n padding-top: ", "px;\n padding-left: ", "px;\n"], ["\n display: inline-block;\n padding-top: ", "px;\n padding-left: ", "px;\n"])), spacings.nudge, spacings.nudge);
|
|
755
|
-
var MetaBlock = styled.div.withConfig({
|
|
756
|
-
displayName: "NewsIntro__MetaBlock",
|
|
757
|
-
componentId: "sc-zz6rn6-4"
|
|
758
|
-
})(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n flex: 1 0 auto;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: center;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n & > * + * {\n margin-left: ", "px;\n }\n"], ["\n flex: 1 0 auto;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: center;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n & > * + * {\n margin-left: ", "px;\n }\n"])), spacings.nudge * 3);
|
|
759
|
-
var StyledTitle = styled(Title).withConfig({
|
|
760
|
-
displayName: "NewsIntro__StyledTitle",
|
|
761
|
-
componentId: "sc-zz6rn6-5"
|
|
762
|
-
})(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n max-width: ", ";\n"], ["\n max-width: ", ";\n"])), function (_a) {
|
|
763
|
-
var clampTitle = _a.clampTitle;
|
|
764
|
-
return clampTitle && 13 / 28 * spacings.wrapperSmall + 'px';
|
|
765
|
-
});
|
|
766
|
-
var ContentBlock$1 = styled(Copy).withConfig({
|
|
767
|
-
displayName: "NewsIntro__ContentBlock",
|
|
768
|
-
componentId: "sc-zz6rn6-6"
|
|
769
|
-
})(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: block;\n margin: ", ";\n max-width: ", ";\n\n :not(:first-child) {\n padding-top: ", "px;\n }\n"], ["\n display: block;\n margin: ", ";\n max-width: ", ";\n\n :not(:first-child) {\n padding-top: ", "px;\n }\n"])), function (_a) {
|
|
770
|
-
var isCentered = _a.isCentered;
|
|
771
|
-
return isCentered && '0 auto';
|
|
772
|
-
}, function (_a) {
|
|
773
|
-
var clampText = _a.clampText;
|
|
774
|
-
return clampText && 19 / 28 * spacings.wrapper + 'px';
|
|
775
|
-
}, spacings.spacer);
|
|
776
|
-
|
|
777
|
-
var NewsIntro = function (_a) {
|
|
778
|
-
var anchorId = _a.anchorId,
|
|
779
|
-
tags = _a.tags,
|
|
780
|
-
meta = _a.meta,
|
|
781
|
-
title = _a.title,
|
|
782
|
-
text = _a.text,
|
|
783
|
-
image = _a.image,
|
|
784
|
-
bgMode = _a.bgMode,
|
|
785
|
-
customTag = _a.customTag;
|
|
786
|
-
|
|
787
|
-
var _b = useLibTheme(),
|
|
788
|
-
globals = _b.globals,
|
|
789
|
-
colors = _b.colors,
|
|
790
|
-
theme = _b.theme;
|
|
791
|
-
|
|
792
|
-
var isInverted = bgMode === 'inverted';
|
|
793
|
-
var hasBg = bgMode === 'full';
|
|
794
|
-
var publishedAt = '';
|
|
795
|
-
|
|
796
|
-
if (meta === null || meta === void 0 ? void 0 : meta.date) {
|
|
797
|
-
var formatter = new StatusFormatter(meta.date.getTime(), '', globals.sections.newsDateFormat(meta.date), globals.sections.newsTimeFormat(meta.date), globals.sections.newsLocaleKey);
|
|
798
|
-
publishedAt = formatter.getFormattedDate();
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
return React__default.createElement(Section, {
|
|
802
|
-
addSeperation: true,
|
|
803
|
-
anchorId: anchorId,
|
|
804
|
-
bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
|
|
805
|
-
bgMode: mapToBgMode(bgMode, true)
|
|
806
|
-
}, React__default.createElement(Wrapper, {
|
|
807
|
-
clampWidth: "small",
|
|
808
|
-
addWhitespace: true
|
|
809
|
-
}, React__default.createElement(Content, null, React__default.createElement(IntroHead, {
|
|
810
|
-
isInverted: isInverted
|
|
811
|
-
}, React__default.createElement(Tags, null, tags === null || tags === void 0 ? void 0 : tags.map(function (tag, i) {
|
|
812
|
-
var _a;
|
|
813
|
-
|
|
814
|
-
var tagLink = undefined;
|
|
815
|
-
|
|
816
|
-
if (tag.name && ((_a = tag.link) === null || _a === void 0 ? void 0 : _a.href)) {
|
|
817
|
-
tagLink = __assign(__assign({}, tag.link), {
|
|
818
|
-
href: getNewsFilterParams(tag.link.href, theme, [tag.name])
|
|
819
|
-
});
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
return React__default.createElement(TagWrapper, {
|
|
823
|
-
key: "headtag-".concat(i)
|
|
824
|
-
}, customTag ? customTag({
|
|
825
|
-
key: "headtag-".concat(i),
|
|
826
|
-
name: tag.name || '',
|
|
827
|
-
isInverted: isInverted,
|
|
828
|
-
isActive: false,
|
|
829
|
-
link: tagLink
|
|
830
|
-
}) : React__default.createElement(Tag, {
|
|
831
|
-
link: tagLink,
|
|
832
|
-
isInverted: isInverted
|
|
833
|
-
}, tag.name));
|
|
834
|
-
})), (publishedAt || (meta === null || meta === void 0 ? void 0 : meta.author)) && React__default.createElement(MetaBlock, null, (meta === null || meta === void 0 ? void 0 : meta.author) && React__default.createElement("div", null, meta === null || meta === void 0 ? void 0 : meta.author), publishedAt && React__default.createElement("div", null, publishedAt))), React__default.createElement("div", null, React__default.createElement(StyledTitle, {
|
|
835
|
-
colorMode: isInverted ? 'inverted' : 'default',
|
|
836
|
-
title: title
|
|
837
|
-
}), text && React__default.createElement(ContentBlock$1, {
|
|
838
|
-
isInverted: isInverted,
|
|
839
|
-
type: "copy-b",
|
|
840
|
-
innerHTML: text
|
|
841
|
-
})), (image === null || image === void 0 ? void 0 : image.small) && React__default.createElement(Image, __assign({}, image, {
|
|
842
|
-
coverSpace: true,
|
|
843
|
-
allowEdgeRadius: true,
|
|
844
|
-
isInverted: isInverted
|
|
845
|
-
})))));
|
|
846
|
-
};
|
|
847
|
-
var NewsIntro$1 = withLibTheme(NewsIntro);
|
|
848
|
-
var templateObject_1$3, templateObject_2$1, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
|
|
849
|
-
|
|
850
|
-
var TableWrapper = styled(Wrapper).withConfig({
|
|
851
|
-
displayName: "NewsTable__TableWrapper",
|
|
852
|
-
componentId: "sc-ph099f-0"
|
|
853
|
-
})(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.spacer);
|
|
854
|
-
|
|
855
|
-
var NewsTable = function (_a) {
|
|
856
|
-
var anchorId = _a.anchorId,
|
|
857
|
-
bgMode = _a.bgMode,
|
|
858
|
-
tableItems = _a.tableItems;
|
|
859
|
-
var colors = useLibTheme().colors;
|
|
860
|
-
var isInverted = bgMode === 'inverted';
|
|
861
|
-
var hasBg = bgMode === 'full' || isInverted;
|
|
862
|
-
return React__default.createElement(Section, {
|
|
863
|
-
addSeperation: true,
|
|
864
|
-
anchorId: anchorId,
|
|
865
|
-
bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
|
|
866
|
-
bgMode: mapToBgMode(bgMode, true)
|
|
867
|
-
}, React__default.createElement(TableWrapper, {
|
|
868
|
-
clampWidth: "small"
|
|
869
|
-
}, tableItems.map(function (item, i) {
|
|
870
|
-
return React__default.createElement(TableBlock, __assign({}, item, {
|
|
871
|
-
key: i,
|
|
872
|
-
hasBack: hasBg,
|
|
873
|
-
isInverted: isInverted
|
|
874
|
-
}));
|
|
875
|
-
})));
|
|
876
|
-
};
|
|
877
|
-
var NewsTable$1 = withLibTheme(NewsTable);
|
|
878
|
-
var templateObject_1$2;
|
|
879
|
-
|
|
880
|
-
var ContentBlock = styled(Copy).withConfig({
|
|
881
|
-
displayName: "NewsText__ContentBlock",
|
|
882
|
-
componentId: "sc-2vavtq-0"
|
|
883
|
-
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n display: block;\n margin: ", ";\n max-width: ", ";\n\n :not(:first-child) {\n padding-top: ", "px;\n }\n"], ["\n display: block;\n margin: ", ";\n max-width: ", ";\n\n :not(:first-child) {\n padding-top: ", "px;\n }\n"])), function (_a) {
|
|
884
|
-
var isCentered = _a.isCentered;
|
|
885
|
-
return isCentered && '0 auto';
|
|
886
|
-
}, function (_a) {
|
|
887
|
-
var clampText = _a.clampText;
|
|
888
|
-
return clampText && 19 / 28 * spacings.wrapperSmall + 'px';
|
|
889
|
-
}, spacings.nudge * 5);
|
|
890
|
-
|
|
891
|
-
var NewsText = function (_a) {
|
|
892
|
-
var anchorId = _a.anchorId,
|
|
893
|
-
text = _a.text,
|
|
894
|
-
bgMode = _a.bgMode;
|
|
895
|
-
var colors = useLibTheme().colors;
|
|
896
|
-
var isInverted = bgMode === 'inverted';
|
|
897
|
-
var hasBg = bgMode === 'full';
|
|
898
|
-
return React__default.createElement(Section, {
|
|
899
|
-
addSeperation: true,
|
|
900
|
-
anchorId: anchorId,
|
|
901
|
-
bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
|
|
902
|
-
bgMode: mapToBgMode(bgMode, true)
|
|
903
|
-
}, React__default.createElement(Wrapper, {
|
|
904
|
-
clampWidth: "small",
|
|
905
|
-
addWhitespace: true
|
|
906
|
-
}, text && React__default.createElement(ContentBlock, {
|
|
907
|
-
isInverted: isInverted,
|
|
908
|
-
type: "copy",
|
|
909
|
-
innerHTML: text
|
|
910
|
-
})));
|
|
911
|
-
};
|
|
912
|
-
var NewsText$1 = withLibTheme(NewsText);
|
|
913
|
-
var templateObject_1$1;
|
|
914
|
-
|
|
915
|
-
var NewsVideo = function (_a) {
|
|
916
|
-
var anchorId = _a.anchorId,
|
|
917
|
-
bgImage = _a.bgImage,
|
|
918
|
-
embedId = _a.embedId,
|
|
919
|
-
playIcon = _a.playIcon,
|
|
920
|
-
consentText = _a.consentText,
|
|
921
|
-
consentAction = _a.consentAction,
|
|
922
|
-
bgMode = _a.bgMode;
|
|
923
|
-
var colors = useLibTheme().colors;
|
|
924
|
-
var isInverted = bgMode === 'inverted';
|
|
925
|
-
var hasBg = bgMode === 'full';
|
|
926
|
-
return React__default.createElement(Section, {
|
|
927
|
-
addSeperation: true,
|
|
928
|
-
anchorId: anchorId,
|
|
929
|
-
bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
|
|
930
|
-
bgMode: mapToBgMode(bgMode, true)
|
|
931
|
-
}, React__default.createElement(Wrapper, {
|
|
932
|
-
addWhitespace: true,
|
|
933
|
-
clampWidth: "small"
|
|
934
|
-
}, embedId && bgImage && React__default.createElement(VideoCard, {
|
|
935
|
-
bgImage: bgImage,
|
|
936
|
-
embedId: embedId,
|
|
937
|
-
playIcon: playIcon,
|
|
938
|
-
consentText: consentText,
|
|
939
|
-
consentAction: consentAction
|
|
940
|
-
})));
|
|
941
|
-
};
|
|
942
|
-
var NewsVideo$1 = withLibTheme(NewsVideo);
|
|
943
|
-
|
|
944
|
-
var News = styled.ul.withConfig({
|
|
945
|
-
displayName: "NewsList__News",
|
|
946
|
-
componentId: "sc-sew5jz-0"
|
|
947
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n list-style: none;\n margin: 0;\n margin-top: -", "px;\n margin-left: -", "px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n"], ["\n list-style: none;\n margin: 0;\n margin-top: -", "px;\n margin-left: -", "px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n"])), spacings.nudge * 6, spacings.spacer);
|
|
948
|
-
var NewsItem = styled.li.withConfig({
|
|
949
|
-
displayName: "NewsList__NewsItem",
|
|
950
|
-
componentId: "sc-sew5jz-1"
|
|
951
|
-
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding-top: ", "px;\n padding-left: ", "px;\n flex: 1 0 100%;\n max-width: 100%;\n\n @media ", " {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media ", " {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n"], ["\n padding-top: ", "px;\n padding-left: ", "px;\n flex: 1 0 100%;\n max-width: 100%;\n\n @media ", " {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media ", " {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n"])), spacings.nudge * 6, spacings.spacer, mq.medium, mq.large);
|
|
952
|
-
|
|
953
|
-
var NewsList = function (_a) {
|
|
954
|
-
var anchorId = _a.anchorId,
|
|
955
|
-
_b = _a.mode,
|
|
956
|
-
mode = _b === void 0 ? 'short' : _b,
|
|
957
|
-
news = _a.news,
|
|
958
|
-
bgMode = _a.bgMode,
|
|
959
|
-
customTag = _a.customTag;
|
|
960
|
-
|
|
961
|
-
var _c = useLibTheme(),
|
|
962
|
-
colors = _c.colors,
|
|
963
|
-
theme = _c.theme;
|
|
964
|
-
|
|
965
|
-
var items = useMemo(function () {
|
|
966
|
-
if (!news) return [];
|
|
967
|
-
if (mode === 'expanded') return news.slice(0, 6);else return news.slice(0, 3);
|
|
968
|
-
}, [news, mode]);
|
|
969
|
-
var isInverted = bgMode === 'inverted';
|
|
970
|
-
var hasBg = bgMode === 'full';
|
|
971
|
-
var cardRefs = useEqualSheetHeight({
|
|
972
|
-
listLength: items.length,
|
|
973
|
-
identifiers: ['[data-sheet="head"]', '[data-sheet="title"]', '[data-sheet="text"]'],
|
|
974
|
-
responsive: {
|
|
975
|
-
small: 1,
|
|
976
|
-
medium: 2,
|
|
977
|
-
semilarge: 2,
|
|
978
|
-
large: 3,
|
|
979
|
-
xlarge: 3
|
|
980
|
-
}
|
|
981
|
-
}).sheetRefs;
|
|
982
|
-
return React__default.createElement(Section, {
|
|
983
|
-
addSeperation: true,
|
|
984
|
-
anchorId: anchorId,
|
|
985
|
-
bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
|
|
986
|
-
bgMode: mapToBgMode(bgMode, true)
|
|
987
|
-
}, React__default.createElement(Wrapper, {
|
|
988
|
-
addWhitespace: true
|
|
989
|
-
}, React__default.createElement(News, null, items === null || items === void 0 ? void 0 : items.map(function (item, i) {
|
|
990
|
-
var _a;
|
|
991
|
-
|
|
992
|
-
return React__default.createElement(NewsItem, {
|
|
993
|
-
key: i
|
|
994
|
-
}, React__default.createElement(NewsCard, __assign({
|
|
995
|
-
key: i,
|
|
996
|
-
ref: cardRefs[i]
|
|
997
|
-
}, item, {
|
|
998
|
-
isInverted: isInverted,
|
|
999
|
-
tags: (_a = item.tags) === null || _a === void 0 ? void 0 : _a.map(function (tag) {
|
|
1000
|
-
var _a, _b;
|
|
1001
|
-
|
|
1002
|
-
var tagHref = undefined;
|
|
1003
|
-
|
|
1004
|
-
if (tag.name && ((_a = tag.link) === null || _a === void 0 ? void 0 : _a.href)) {
|
|
1005
|
-
tagHref = getNewsFilterParams(tag.link.href, theme, [tag.name]);
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
return {
|
|
1009
|
-
name: tag.name,
|
|
1010
|
-
link: ((_b = tag.link) === null || _b === void 0 ? void 0 : _b.href) ? __assign(__assign({}, tag.link), {
|
|
1011
|
-
href: tagHref
|
|
1012
|
-
}) : undefined
|
|
1013
|
-
};
|
|
1014
|
-
}),
|
|
1015
|
-
customTag: customTag
|
|
1016
|
-
})));
|
|
1017
|
-
}))));
|
|
1018
|
-
};
|
|
1019
|
-
var NewsList$1 = withLibTheme(NewsList);
|
|
1020
|
-
var templateObject_1, templateObject_2;
|
|
1021
|
-
|
|
1022
|
-
export { NewsAuthorCard$1 as NewsAuthorCard, NewsFooter$1 as NewsFooter, NewsImages$1 as NewsImages, NewsIntro$1 as NewsIntro, NewsList$1 as NewsList, NewsOverview$1 as NewsOverview, NewsTable$1 as NewsTable, NewsText$1 as NewsText, NewsVideo$1 as NewsVideo };
|
|
1023
|
-
//# sourceMappingURL=sections_news.js.map
|