@blateral/b.kit 2.3.2-beta.1.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/base/icons/Icons.d.ts +66 -0
- package/lib/components/base/icons/Icons.d.ts.map +1 -0
- package/{types → lib}/components/blocks/EventBlock.d.ts +4 -2
- package/lib/components/blocks/EventBlock.d.ts.map +1 -0
- package/{types → lib}/components/blocks/Feature.d.ts +5 -1
- package/lib/components/blocks/Feature.d.ts.map +1 -0
- package/{types → lib}/components/blocks/IntroBlock.d.ts +6 -2
- package/lib/components/blocks/IntroBlock.d.ts.map +1 -0
- package/{types → lib}/components/sections/CallToAction.d.ts +10 -6
- package/lib/components/sections/CallToAction.d.ts.map +1 -0
- package/{types → lib}/components/sections/FeatureList.d.ts +2 -2
- package/{types → lib}/components/sections/Intro.d.ts +5 -4
- package/lib/components/sections/Intro.d.ts.map +1 -0
- package/{types → lib}/components/sections/Poster.d.ts +5 -4
- package/lib/components/sections/Poster.d.ts.map +1 -0
- package/{types → lib}/components/sections/events/EventDetail.d.ts +6 -6
- package/lib/components/sections/events/EventDetail.d.ts.map +1 -0
- package/{types → lib}/components/sections/events/EventList.d.ts.map +1 -1
- package/{types → lib}/components/sections/events/EventOverview.d.ts.map +1 -1
- 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.map +1 -1
- 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/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-c7b16449.js +0 -2
- package/cjs/Actions-c7b16449.js.map +0 -1
- package/cjs/Bdot-5f8e0450.js +0 -2
- package/cjs/Bdot-5f8e0450.js.map +0 -1
- package/cjs/Button-51ea72b7.js +0 -2
- package/cjs/Button-51ea72b7.js.map +0 -1
- package/cjs/ButtonGhost-628bbd60.js +0 -2
- package/cjs/ButtonGhost-628bbd60.js.map +0 -1
- package/cjs/Callout-e506ab21.js +0 -2
- package/cjs/Callout-e506ab21.js.map +0 -1
- package/cjs/Checkbox-1c34c7e6.js +0 -2
- package/cjs/Checkbox-1c34c7e6.js.map +0 -1
- package/cjs/ClockFilled-2483aa4a.js +0 -2
- package/cjs/ClockFilled-2483aa4a.js.map +0 -1
- package/cjs/Control-08d09950.js +0 -2
- package/cjs/Control-08d09950.js.map +0 -1
- package/cjs/Copy-ea6ab025.js +0 -2
- package/cjs/Copy-ea6ab025.js.map +0 -1
- package/cjs/EventBlock-7e2ba24d.js +0 -2
- package/cjs/EventBlock-7e2ba24d.js.map +0 -1
- package/cjs/FileUpload-0a861caf.js +0 -2
- package/cjs/FileUpload-0a861caf.js.map +0 -1
- package/cjs/Filter-d6d90b8b.js +0 -2
- package/cjs/Filter-d6d90b8b.js.map +0 -1
- package/cjs/FilterField-cce38ffb.js +0 -2
- package/cjs/FilterField-cce38ffb.js.map +0 -1
- package/cjs/Grid-6f4f99bc.js +0 -2
- package/cjs/Grid-6f4f99bc.js.map +0 -1
- package/cjs/Image-c72f7a80.js +0 -2
- package/cjs/Image-c72f7a80.js.map +0 -1
- package/cjs/InfoList-71d3388a.js +0 -2
- package/cjs/InfoList-71d3388a.js.map +0 -1
- package/cjs/LanguageSwitcher-8fdd22ba.js +0 -2
- package/cjs/LanguageSwitcher-8fdd22ba.js.map +0 -1
- package/cjs/LibThemeProvider-4823de57.js +0 -2
- package/cjs/LibThemeProvider-4823de57.js.map +0 -1
- package/cjs/Link-5a6f1633.js +0 -2
- package/cjs/Link-5a6f1633.js.map +0 -1
- package/cjs/Navigation-d205ed34.js +0 -2
- package/cjs/Navigation-d205ed34.js.map +0 -1
- package/cjs/POICard-e46f9041.js +0 -2
- package/cjs/POICard-e46f9041.js.map +0 -1
- package/cjs/Pointer-fde7b548.js +0 -2
- package/cjs/Pointer-fde7b548.js.map +0 -1
- package/cjs/SocialList-1d5f75a8.js +0 -2
- package/cjs/SocialList-1d5f75a8.js.map +0 -1
- package/cjs/TableBlock-007f8e34.js +0 -2
- package/cjs/TableBlock-007f8e34.js.map +0 -1
- package/cjs/Tag-9238cf0c.js +0 -2
- package/cjs/Tag-9238cf0c.js.map +0 -1
- package/cjs/VideoBlock-cf9d7464.js +0 -2
- package/cjs/VideoBlock-cf9d7464.js.map +0 -1
- package/cjs/VideoCard-fed8d37c.js +0 -2
- package/cjs/VideoCard-fed8d37c.js.map +0 -1
- package/cjs/Wrapper-accf2622.js +0 -2
- package/cjs/Wrapper-accf2622.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-3a495a2d.js +0 -2
- package/cjs/styles-3a495a2d.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-501f4c5f.js +0 -2
- package/cjs/useEqualSheetHeight-501f4c5f.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-3d1054e5.js +0 -2
- package/cjs/useMediaQuery-3d1054e5.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-8b4a4d2f.js +0 -57
- package/esm/Actions-8b4a4d2f.js.map +0 -1
- package/esm/Bdot-434dd994.js +0 -24
- package/esm/Bdot-434dd994.js.map +0 -1
- package/esm/Button-71376927.js +0 -115
- package/esm/Button-71376927.js.map +0 -1
- package/esm/ButtonGhost-6876b67f.js +0 -112
- package/esm/ButtonGhost-6876b67f.js.map +0 -1
- package/esm/Callout-08fb36a2.js +0 -99
- package/esm/Callout-08fb36a2.js.map +0 -1
- package/esm/Checkbox-4daef7a4.js +0 -135
- package/esm/Checkbox-4daef7a4.js.map +0 -1
- package/esm/ClockFilled-6bae80dc.js +0 -1793
- package/esm/ClockFilled-6bae80dc.js.map +0 -1
- package/esm/Control-dd0f76f1.js +0 -52
- package/esm/Control-dd0f76f1.js.map +0 -1
- package/esm/Copy-bca0854c.js +0 -270
- package/esm/Copy-bca0854c.js.map +0 -1
- package/esm/EventBlock-e07e7b51.js +0 -132
- package/esm/EventBlock-e07e7b51.js.map +0 -1
- package/esm/FileUpload-851d473a.js +0 -4790
- package/esm/FileUpload-851d473a.js.map +0 -1
- package/esm/Filter-fec6dc5c.js +0 -32
- package/esm/Filter-fec6dc5c.js.map +0 -1
- package/esm/FilterField-5f76c113.js +0 -129
- package/esm/FilterField-5f76c113.js.map +0 -1
- package/esm/Grid-172051a9.js +0 -203
- package/esm/Grid-172051a9.js.map +0 -1
- package/esm/Image-301c4433.js +0 -193
- package/esm/Image-301c4433.js.map +0 -1
- package/esm/InfoList-762f2b14.js +0 -74
- package/esm/InfoList-762f2b14.js.map +0 -1
- package/esm/LanguageSwitcher-57c4a924.js +0 -70
- package/esm/LanguageSwitcher-57c4a924.js.map +0 -1
- package/esm/LibThemeProvider-acf2e2bb.js +0 -115
- package/esm/LibThemeProvider-acf2e2bb.js.map +0 -1
- package/esm/Link-bccdb082.js +0 -60
- package/esm/Link-bccdb082.js.map +0 -1
- package/esm/Navigation-03339030.js +0 -1664
- package/esm/Navigation-03339030.js.map +0 -1
- package/esm/POICard-584a229c.js +0 -116
- package/esm/POICard-584a229c.js.map +0 -1
- package/esm/Pointer-2276308c.js +0 -111
- package/esm/Pointer-2276308c.js.map +0 -1
- package/esm/SocialList-f7864b30.js +0 -61
- package/esm/SocialList-f7864b30.js.map +0 -1
- package/esm/TableBlock-014f9821.js +0 -159
- package/esm/TableBlock-014f9821.js.map +0 -1
- package/esm/Tag-cb972e1b.js +0 -67
- package/esm/Tag-cb972e1b.js.map +0 -1
- package/esm/VideoBlock-ede11866.js +0 -624
- package/esm/VideoBlock-ede11866.js.map +0 -1
- package/esm/VideoCard-aced65ef.js +0 -160
- package/esm/VideoCard-aced65ef.js.map +0 -1
- package/esm/Wrapper-1cac758b.js +0 -224
- package/esm/Wrapper-1cac758b.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 -3966
- 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-c387bdc6.js +0 -467
- package/esm/styles-c387bdc6.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-e68e1638.js +0 -199
- package/esm/useEqualSheetHeight-e68e1638.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-388bd65e.js +0 -159
- package/esm/useMediaQuery-388bd65e.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/blocks/EventBlock.d.ts.map +0 -1
- package/types/components/blocks/Feature.d.ts.map +0 -1
- package/types/components/blocks/IntroBlock.d.ts.map +0 -1
- package/types/components/sections/CallToAction.d.ts.map +0 -1
- package/types/components/sections/Intro.d.ts.map +0 -1
- package/types/components/sections/Poster.d.ts.map +0 -1
- package/types/components/sections/events/EventDetail.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/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/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/Fact.d.ts +0 -0
- /package/{types → lib}/components/blocks/Fact.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/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/FilterField.d.ts.map +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/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.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/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/NumberList.d.ts +0 -0
- /package/{types → lib}/components/sections/NumberList.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/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/EventList.d.ts +0 -0
- /package/{types → lib}/components/sections/events/EventOverview.d.ts +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/Callout.d.ts +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/styles.d.ts +0 -0
- /package/{types → lib}/utils/styles.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/useEqualSheetHeight.d.ts +0 -0
- /package/{types → lib}/utils/useEqualSheetHeight.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/useMediaQuery.d.ts +0 -0
- /package/{types → lib}/utils/useMediaQuery.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/Copy-bca0854c.js
DELETED
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
import { a as __makeTemplateObject, d as __rest, _ as __assign } from './ClockFilled-6bae80dc.js';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import styled, { css } from 'styled-components';
|
|
4
|
-
import { c as clampValue } from './clamp-12d37b65.js';
|
|
5
|
-
import { u as useLibTheme } from './LibThemeProvider-acf2e2bb.js';
|
|
6
|
-
import { f as styleTextColor, m as mq, a as getFonts, w as withRange, s as spacings, c as getGlobals } from './styles-c387bdc6.js';
|
|
7
|
-
|
|
8
|
-
var base$1 = css(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n display: block;\n margin: 0;\n padding: 0;\n ", "\n\n hyphens: auto;\n /* overflow-wrap: break-word; */\n width: 100%;\n\n ", "\n\n text-shadow: ", ";\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n font-weight: inherit;\n font-style: inherit;\n font-size: 100%;\n font-family: inherit;\n vertical-align: baseline;\n }\n"], ["\n display: block;\n margin: 0;\n padding: 0;\n ", "\n\n hyphens: auto;\n /* overflow-wrap: break-word; */\n width: 100%;\n\n ", "\n\n text-shadow: ", ";\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n font-weight: inherit;\n font-style: inherit;\n font-size: 100%;\n font-family: inherit;\n vertical-align: baseline;\n }\n"])), function (_a) {
|
|
9
|
-
var textColor = _a.textColor,
|
|
10
|
-
textGradient = _a.textGradient;
|
|
11
|
-
return styleTextColor(textColor, textGradient);
|
|
12
|
-
}, function (props) {
|
|
13
|
-
return !props.hyphens && css(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n @media ", " {\n hyphens: none;\n }\n "], ["\n @media ", " {\n hyphens: none;\n }\n "])), mq.large);
|
|
14
|
-
}, function (_a) {
|
|
15
|
-
var hasShadow = _a.hasShadow;
|
|
16
|
-
return hasShadow && '1px 2px 8px rgba(0, 0, 0, 0.25)';
|
|
17
|
-
});
|
|
18
|
-
var headingStyle = function (type) {
|
|
19
|
-
return css(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n ", ";\n font-family: ", ";\n font-weight: ", ";\n font-style: ", ";\n ", "\n line-height: ", ";\n letter-spacing: ", ";\n text-transform: ", ";\n text-decoration: ", ";\n"], ["\n ", ";\n font-family: ", ";\n font-weight: ", ";\n font-style: ", ";\n ", "\n line-height: ", ";\n letter-spacing: ", ";\n text-transform: ", ";\n text-decoration: ", ";\n"])), base$1, function (_a) {
|
|
20
|
-
var theme = _a.theme;
|
|
21
|
-
return getFonts(theme)[type].family;
|
|
22
|
-
}, function (_a) {
|
|
23
|
-
var theme = _a.theme;
|
|
24
|
-
return getFonts(theme)[type].weight;
|
|
25
|
-
}, function (_a) {
|
|
26
|
-
var theme = _a.theme;
|
|
27
|
-
return getFonts(theme)[type].style;
|
|
28
|
-
}, function (_a) {
|
|
29
|
-
var theme = _a.theme;
|
|
30
|
-
return withRange(getFonts(theme)[type].size, 'font-size');
|
|
31
|
-
}, function (_a) {
|
|
32
|
-
var theme = _a.theme;
|
|
33
|
-
return getFonts(theme)[type].lineHeight;
|
|
34
|
-
}, function (_a) {
|
|
35
|
-
var theme = _a.theme;
|
|
36
|
-
return getFonts(theme)[type].letterSpacing;
|
|
37
|
-
}, function (_a) {
|
|
38
|
-
var theme = _a.theme;
|
|
39
|
-
return getFonts(theme)[type].textTransform;
|
|
40
|
-
}, function (_a) {
|
|
41
|
-
var theme = _a.theme;
|
|
42
|
-
return getFonts(theme)[type].textDecoration;
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
var View$1 = styled.h1.withConfig({
|
|
46
|
-
displayName: "Heading__View",
|
|
47
|
-
componentId: "sc-11qy171-0"
|
|
48
|
-
})(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
49
|
-
var headingType = _a.headingType;
|
|
50
|
-
return headingStyle(headingType);
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
var Heading = function (_a) {
|
|
54
|
-
var renderAs = _a.renderAs,
|
|
55
|
-
isInverted = _a.isInverted,
|
|
56
|
-
className = _a.className,
|
|
57
|
-
_b = _a.size,
|
|
58
|
-
size = _b === void 0 ? 'heading-2' : _b,
|
|
59
|
-
textColor = _a.textColor,
|
|
60
|
-
textGradient = _a.textGradient,
|
|
61
|
-
_c = _a.hyphens,
|
|
62
|
-
hyphens = _c === void 0 ? false : _c,
|
|
63
|
-
_d = _a.hasShadow,
|
|
64
|
-
hasShadow = _d === void 0 ? false : _d,
|
|
65
|
-
innerHTML = _a.innerHTML,
|
|
66
|
-
children = _a.children,
|
|
67
|
-
rest = __rest(_a, ["renderAs", "isInverted", "className", "size", "textColor", "textGradient", "hyphens", "hasShadow", "innerHTML", "children"]);
|
|
68
|
-
|
|
69
|
-
var fonts = useLibTheme().fonts;
|
|
70
|
-
var tag = 'h2';
|
|
71
|
-
|
|
72
|
-
switch (size) {
|
|
73
|
-
default:
|
|
74
|
-
case 'heading-1':
|
|
75
|
-
tag = 'h1';
|
|
76
|
-
break;
|
|
77
|
-
|
|
78
|
-
case 'heading-2':
|
|
79
|
-
tag = 'h2';
|
|
80
|
-
break;
|
|
81
|
-
|
|
82
|
-
case 'heading-3':
|
|
83
|
-
tag = 'h3';
|
|
84
|
-
break;
|
|
85
|
-
|
|
86
|
-
case 'heading-4':
|
|
87
|
-
tag = 'h4';
|
|
88
|
-
break;
|
|
89
|
-
|
|
90
|
-
case 'super':
|
|
91
|
-
tag = 'div';
|
|
92
|
-
break;
|
|
93
|
-
} // get font settings from global context
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
var fontSettings = fonts === null || fonts === void 0 ? void 0 : fonts[size];
|
|
97
|
-
return React.createElement(View$1, __assign({
|
|
98
|
-
as: renderAs || tag,
|
|
99
|
-
headingType: size,
|
|
100
|
-
textColor: textColor || (isInverted ? fontSettings.colorInverted : fontSettings.color),
|
|
101
|
-
textGradient: textGradient || (!textColor ? isInverted ? fontSettings.colorGradientInverted : fontSettings.colorGradient : undefined),
|
|
102
|
-
hyphens: hyphens,
|
|
103
|
-
hasShadow: hasShadow,
|
|
104
|
-
dangerouslySetInnerHTML: innerHTML && !children ? {
|
|
105
|
-
__html: innerHTML
|
|
106
|
-
} : undefined,
|
|
107
|
-
className: className
|
|
108
|
-
}, rest), children);
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
Heading.defaultProps = {
|
|
112
|
-
renderAs: 'h2',
|
|
113
|
-
size: 'heading-2'
|
|
114
|
-
};
|
|
115
|
-
var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4$1;
|
|
116
|
-
|
|
117
|
-
var copyStyle = function (type, size) {
|
|
118
|
-
if (size === void 0) {
|
|
119
|
-
size = 'medium';
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-style: ", ";\n ", "\n line-height: ", ";\n letter-spacing: ", ";\n text-transform: ", ";\n text-decoration: ", ";\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-style: ", ";\n ", "\n line-height: ", ";\n letter-spacing: ", ";\n text-transform: ", ";\n text-decoration: ", ";\n"])), function (_a) {
|
|
123
|
-
var theme = _a.theme;
|
|
124
|
-
return getFonts(theme)[type][size].family;
|
|
125
|
-
}, function (_a) {
|
|
126
|
-
var theme = _a.theme;
|
|
127
|
-
return getFonts(theme)[type][size].weight;
|
|
128
|
-
}, function (_a) {
|
|
129
|
-
var theme = _a.theme;
|
|
130
|
-
return getFonts(theme)[type][size].style;
|
|
131
|
-
}, function (_a) {
|
|
132
|
-
var theme = _a.theme;
|
|
133
|
-
return withRange(getFonts(theme)[type][size].size, 'font-size');
|
|
134
|
-
}, function (_a) {
|
|
135
|
-
var theme = _a.theme;
|
|
136
|
-
return getFonts(theme)[type][size].lineHeight;
|
|
137
|
-
}, function (_a) {
|
|
138
|
-
var theme = _a.theme;
|
|
139
|
-
return getFonts(theme)[type][size].letterSpacing;
|
|
140
|
-
}, function (_a) {
|
|
141
|
-
var theme = _a.theme;
|
|
142
|
-
return getFonts(theme)[type][size].textTransform;
|
|
143
|
-
}, function (_a) {
|
|
144
|
-
var theme = _a.theme;
|
|
145
|
-
return getFonts(theme)[type][size].textDecoration;
|
|
146
|
-
});
|
|
147
|
-
};
|
|
148
|
-
var base = css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n font-weight: inherit;\n font-style: inherit;\n font-size: 100%;\n font-family: inherit;\n vertical-align: baseline;\n }\n\n hyphens: auto;\n ", "\n\n /* @media ", " {\n hyphens: none;\n } */\n\n a {\n color: ", ";\n text-transform: ", ";\n text-decoration: ", ";\n\n transition: color 0.2s ease-in-out;\n outline: none;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n color: ", ";\n }\n }\n\n &:focus {\n outline: 1px dashed\n ", ";\n outline-offset: 1px;\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n }\n\n & > p {\n margin-right: 0;\n margin-left: 0;\n padding: 0;\n }\n\n ", ";\n\n h2 {\n ", "\n }\n\n h3 {\n ", "\n }\n\n h4 {\n ", "\n }\n\n h5 {\n ", "\n }\n\n h2,\n h3,\n h4,\n h5 {\n margin-top: ", "px;\n margin-bottom: ", "px;\n }\n\n h2 {\n margin-bottom: ", "px;\n }\n\n *:not(h2, h3, h4, h5) + h2,\n *:not(h2, h3, h4, h5) + h3,\n *:not(h2, h3, h4, h5) + h4,\n *:not(h2, h3, h4, h5) + h5 {\n margin-top: ", "px;\n }\n\n *:is(h3, h4, h5) + h2 {\n margin-top: -", "px;\n }\n\n p,\n blockquote,\n ol,\n ul {\n margin-top: ", "px;\n margin-bottom: ", "px;\n }\n\n ol,\n ul {\n padding-left: ", "px;\n }\n\n li {\n & > * {\n vertical-align: top;\n }\n }\n\n ul ul li {\n list-style-type: disc;\n }\n\n ol ol li {\n list-style-type: lower-latin;\n }\n\n ol ol ol li {\n list-style-type: lower-roman;\n }\n\n // classes for richtext\n a {\n display: inline-block;\n }\n\n a[href] + br + a[href] {\n margin-top: ", "px;\n }\n\n /** add icons to anchor tags with matching href value */\n ", "\n\n /** DOM element with icon and/or label */\n .icon-label {\n display: inline-flex;\n align-items: center;\n margin: 0;\n ", "\n vertical-align: middle;\n\n & > a:after {\n content: none;\n }\n\n & > * + * {\n margin-left: ", "px;\n }\n\n svg {\n max-width: 30px;\n fill: currentColor;\n }\n }\n\n .icon-label--big {\n ", "\n }\n\n .icon-label--list {\n display: flex;\n align-items: center;\n margin: 0;\n padding: 0;\n }\n\n .icon-label--list + .icon-label--list {\n margin-top: ", "px;\n }\n\n *:first-child {\n margin-top: 0;\n }\n\n *:last-child {\n margin-bottom: 0;\n }\n"], ["\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n font-weight: inherit;\n font-style: inherit;\n font-size: 100%;\n font-family: inherit;\n vertical-align: baseline;\n }\n\n hyphens: auto;\n ", "\n\n /* @media ", " {\n hyphens: none;\n } */\n\n a {\n color: ", ";\n text-transform: ", ";\n text-decoration: ", ";\n\n transition: color 0.2s ease-in-out;\n outline: none;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n color: ", ";\n }\n }\n\n &:focus {\n outline: 1px dashed\n ", ";\n outline-offset: 1px;\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n }\n\n & > p {\n margin-right: 0;\n margin-left: 0;\n padding: 0;\n }\n\n ", ";\n\n h2 {\n ", "\n }\n\n h3 {\n ", "\n }\n\n h4 {\n ", "\n }\n\n h5 {\n ", "\n }\n\n h2,\n h3,\n h4,\n h5 {\n margin-top: ", "px;\n margin-bottom: ", "px;\n }\n\n h2 {\n margin-bottom: ", "px;\n }\n\n *:not(h2, h3, h4, h5) + h2,\n *:not(h2, h3, h4, h5) + h3,\n *:not(h2, h3, h4, h5) + h4,\n *:not(h2, h3, h4, h5) + h5 {\n margin-top: ", "px;\n }\n\n *:is(h3, h4, h5) + h2 {\n margin-top: -", "px;\n }\n\n p,\n blockquote,\n ol,\n ul {\n margin-top: ", "px;\n margin-bottom: ", "px;\n }\n\n ol,\n ul {\n padding-left: ", "px;\n }\n\n li {\n & > * {\n vertical-align: top;\n }\n }\n\n ul ul li {\n list-style-type: disc;\n }\n\n ol ol li {\n list-style-type: lower-latin;\n }\n\n ol ol ol li {\n list-style-type: lower-roman;\n }\n\n // classes for richtext\n a {\n display: inline-block;\n }\n\n a[href] + br + a[href] {\n margin-top: ", "px;\n }\n\n /** add icons to anchor tags with matching href value */\n ", "\n\n /** DOM element with icon and/or label */\n .icon-label {\n display: inline-flex;\n align-items: center;\n margin: 0;\n ", "\n vertical-align: middle;\n\n & > a:after {\n content: none;\n }\n\n & > * + * {\n margin-left: ", "px;\n }\n\n svg {\n max-width: 30px;\n fill: currentColor;\n }\n }\n\n .icon-label--big {\n ", "\n }\n\n .icon-label--list {\n display: flex;\n align-items: center;\n margin: 0;\n padding: 0;\n }\n\n .icon-label--list + .icon-label--list {\n margin-top: ", "px;\n }\n\n *:first-child {\n margin-top: 0;\n }\n\n *:last-child {\n margin-bottom: 0;\n }\n"])), function (_a) {
|
|
149
|
-
var textColor = _a.textColor,
|
|
150
|
-
textGradient = _a.textGradient;
|
|
151
|
-
return styleTextColor(textColor, textGradient);
|
|
152
|
-
}, mq.medium, function (_a) {
|
|
153
|
-
var theme = _a.theme,
|
|
154
|
-
isInverted = _a.isInverted;
|
|
155
|
-
return isInverted ? getFonts(theme).link.colorInverted : getFonts(theme).link.color;
|
|
156
|
-
}, function (_a) {
|
|
157
|
-
var theme = _a.theme;
|
|
158
|
-
return getFonts(theme).link.textTransform;
|
|
159
|
-
}, function (_a) {
|
|
160
|
-
var theme = _a.theme;
|
|
161
|
-
return getFonts(theme).link.textDecoration;
|
|
162
|
-
}, function (_a) {
|
|
163
|
-
var theme = _a.theme,
|
|
164
|
-
isInverted = _a.isInverted;
|
|
165
|
-
return isInverted ? getFonts(theme).link.colorHoverInverted : getFonts(theme).link.colorHover;
|
|
166
|
-
}, function (_a) {
|
|
167
|
-
var theme = _a.theme,
|
|
168
|
-
isInverted = _a.isInverted;
|
|
169
|
-
return isInverted ? getFonts(theme).link.colorInverted : getFonts(theme).link.color;
|
|
170
|
-
}, function (_a) {
|
|
171
|
-
var columns = _a.columns;
|
|
172
|
-
return columns && css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n columns: 350px 2;\n column-gap: ", "px;\n\n li {\n break-inside: avoid;\n }\n\n blockquote {\n break-inside: avoid;\n }\n "], ["\n columns: 350px 2;\n column-gap: ", "px;\n\n li {\n break-inside: avoid;\n }\n\n blockquote {\n break-inside: avoid;\n }\n "])), spacings.spacer);
|
|
173
|
-
}, headingStyle('heading-2'), headingStyle('heading-3'), headingStyle('heading-4'), headingStyle('super'), spacings.nudge * 3, spacings.nudge * 3, spacings.spacer, spacings.nudge * 5, spacings.nudge * 1.5, spacings.nudge * 3, spacings.nudge * 3, spacings.nudge * 3, spacings.nudge * 2, function (_a) {
|
|
174
|
-
var theme = _a.theme,
|
|
175
|
-
isInverted = _a.isInverted,
|
|
176
|
-
copyType = _a.copyType,
|
|
177
|
-
size = _a.size,
|
|
178
|
-
allowLinkIcons = _a.allowLinkIcons;
|
|
179
|
-
if (!allowLinkIcons) return '';
|
|
180
|
-
return getGlobals(theme).icons.linkIcons.map(function (item) {
|
|
181
|
-
var _a, _b, _c;
|
|
182
|
-
|
|
183
|
-
var iconChar = parseInt(item.iconChar);
|
|
184
|
-
var iconFont = item.iconFont;
|
|
185
|
-
var iconUrl = (_b = (_a = item).iconUrl) === null || _b === void 0 ? void 0 : _b.call(_a, isInverted);
|
|
186
|
-
var iconScale = clampValue(((_c = item.scale) === null || _c === void 0 ? void 0 : _c.call(item, {
|
|
187
|
-
type: copyType,
|
|
188
|
-
size: size
|
|
189
|
-
})) || 1, 0);
|
|
190
|
-
var patterns = item.patterns;
|
|
191
|
-
var isFontIcon = !!iconChar && !!iconFont;
|
|
192
|
-
var isValidIconChar = iconChar && !isNaN(iconChar) ? true : false;
|
|
193
|
-
var vAlign = item.vAlign || (isFontIcon ? 'text-top' : 'top');
|
|
194
|
-
var externalFilter = item.isExternal ? '[target="_blank"]' : '';
|
|
195
|
-
var selectors = patterns.filter(function (p) {
|
|
196
|
-
return p;
|
|
197
|
-
}).map(function (p) {
|
|
198
|
-
return "a[href*='".concat(p, "']").concat(externalFilter);
|
|
199
|
-
}).join(', ') || "a".concat(externalFilter);
|
|
200
|
-
var pseudoSelectors = patterns.filter(function (p) {
|
|
201
|
-
return p;
|
|
202
|
-
}).map(function (p) {
|
|
203
|
-
return "a[href*='".concat(p, "']").concat(externalFilter, ":after");
|
|
204
|
-
}).join(', ') || "a".concat(externalFilter, ":after");
|
|
205
|
-
var content = '';
|
|
206
|
-
|
|
207
|
-
if (iconChar || iconUrl) {
|
|
208
|
-
content = isValidIconChar ? "\"".concat(String.fromCharCode(iconChar), "\"") : "url(\"".concat(iconUrl, "\")");
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
return selectors && pseudoSelectors ? css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", " {\n display: inline-block;\n position: relative;\n }\n\n ", " {\n content: ", ";\n\n display: inline-block;\n font-family: ", " !important;\n font-size: ", ";\n font-style: normal;\n font-weight: normal !important;\n font-variant: normal;\n text-transform: none;\n text-decoration: none;\n vertical-align: ", ";\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n\n transform: ", ";\n\n max-height: ", ";\n margin-left: 0.3em;\n margin-right: 0.1em;\n }\n "], ["\n ", " {\n display: inline-block;\n position: relative;\n }\n\n ", " {\n content: ", ";\n\n display: inline-block;\n font-family: ", " !important;\n font-size: ", ";\n font-style: normal;\n font-weight: normal !important;\n font-variant: normal;\n text-transform: none;\n text-decoration: none;\n vertical-align: ", ";\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n\n transform: ", ";\n\n max-height: ", ";\n margin-left: 0.3em;\n margin-right: 0.1em;\n }\n "])), selectors, pseudoSelectors, content || undefined, iconFont || 'inherit', isFontIcon && "".concat(iconScale, "em"), vAlign, !iconFont && iconUrl ? "scale(".concat(iconScale, ")") : undefined, !isFontIcon && '1em') : '';
|
|
212
|
-
});
|
|
213
|
-
}, copyStyle('copy', 'medium'), spacings.nudge * 2, copyStyle('copy', 'big'), spacings.nudge * 3);
|
|
214
|
-
var View = styled.div.withConfig({
|
|
215
|
-
displayName: "Copy__View",
|
|
216
|
-
componentId: "sc-15rk6xr-0"
|
|
217
|
-
})(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), base, function (_a) {
|
|
218
|
-
var copyType = _a.copyType,
|
|
219
|
-
size = _a.size;
|
|
220
|
-
return copyStyle(copyType, size);
|
|
221
|
-
});
|
|
222
|
-
|
|
223
|
-
var Copy = function (_a) {
|
|
224
|
-
var _b;
|
|
225
|
-
|
|
226
|
-
var renderAs = _a.renderAs,
|
|
227
|
-
isInverted = _a.isInverted,
|
|
228
|
-
_c = _a.type,
|
|
229
|
-
type = _c === void 0 ? 'copy' : _c,
|
|
230
|
-
_d = _a.size,
|
|
231
|
-
size = _d === void 0 ? 'medium' : _d,
|
|
232
|
-
textColor = _a.textColor,
|
|
233
|
-
textGradient = _a.textGradient,
|
|
234
|
-
_e = _a.columns,
|
|
235
|
-
columns = _e === void 0 ? false : _e,
|
|
236
|
-
innerHTML = _a.innerHTML,
|
|
237
|
-
_f = _a.allowLinkIcons,
|
|
238
|
-
allowLinkIcons = _f === void 0 ? true : _f,
|
|
239
|
-
onClick = _a.onClick,
|
|
240
|
-
className = _a.className,
|
|
241
|
-
children = _a.children,
|
|
242
|
-
rest = __rest(_a, ["renderAs", "isInverted", "type", "size", "textColor", "textGradient", "columns", "innerHTML", "allowLinkIcons", "onClick", "className", "children"]);
|
|
243
|
-
|
|
244
|
-
var fonts = useLibTheme().fonts;
|
|
245
|
-
var fontSettings = (_b = fonts === null || fonts === void 0 ? void 0 : fonts[type]) === null || _b === void 0 ? void 0 : _b[size];
|
|
246
|
-
return React.createElement(View, __assign({
|
|
247
|
-
as: renderAs,
|
|
248
|
-
copyType: type,
|
|
249
|
-
size: size,
|
|
250
|
-
textColor: textColor || (isInverted ? fontSettings.colorInverted : fontSettings.color),
|
|
251
|
-
textGradient: textGradient || (!textColor ? isInverted ? fontSettings.colorGradientInverted : fontSettings.colorGradient : undefined),
|
|
252
|
-
isInverted: isInverted,
|
|
253
|
-
columns: columns,
|
|
254
|
-
allowLinkIcons: allowLinkIcons,
|
|
255
|
-
dangerouslySetInnerHTML: innerHTML && !children ? {
|
|
256
|
-
__html: innerHTML
|
|
257
|
-
} : undefined,
|
|
258
|
-
onClick: onClick,
|
|
259
|
-
className: className
|
|
260
|
-
}, rest), children);
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
Copy.defaultProps = {
|
|
264
|
-
type: 'copy',
|
|
265
|
-
size: 'medium'
|
|
266
|
-
};
|
|
267
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
268
|
-
|
|
269
|
-
export { Copy as C, Heading as H, copyStyle as c };
|
|
270
|
-
//# sourceMappingURL=Copy-bca0854c.js.map
|
package/esm/Copy-bca0854c.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Copy-bca0854c.js","sources":["../src/components/typography/Heading.tsx","../src/components/typography/Copy.tsx"],"sourcesContent":["import * as React from 'react';\nimport styled, { css } from 'styled-components';\nimport { useLibTheme } from 'utils/LibThemeProvider';\nimport {\n styleTextColor,\n FontType,\n getFonts as font,\n mq,\n withRange,\n FontProps,\n} from 'utils/styles';\n\ntype HeadingType = Extract<\n FontType,\n 'heading-1' | 'heading-2' | 'heading-3' | 'heading-4' | 'super'\n>;\n\nconst base = css<{\n hyphens?: boolean;\n hasShadow?: boolean;\n textColor?: string;\n textGradient?: string;\n}>`\n display: block;\n margin: 0;\n padding: 0;\n ${({ textColor, textGradient }) => styleTextColor(textColor, textGradient)}\n\n hyphens: auto;\n /* overflow-wrap: break-word; */\n width: 100%;\n\n ${(props: { hyphens?: boolean }) =>\n !props.hyphens &&\n css`\n @media ${mq.large} {\n hyphens: none;\n }\n `}\n\n text-shadow: ${({ hasShadow }) =>\n hasShadow && '1px 2px 8px rgba(0, 0, 0, 0.25)'};\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n font-weight: inherit;\n font-style: inherit;\n font-size: 100%;\n font-family: inherit;\n vertical-align: baseline;\n }\n`;\n\nexport const headingStyle = (type: HeadingType) => css`\n ${base};\n font-family: ${({ theme }) => (font(theme)[type] as FontProps).family};\n font-weight: ${({ theme }) => (font(theme)[type] as FontProps).weight};\n font-style: ${({ theme }) => (font(theme)[type] as FontProps).style};\n ${({ theme }) =>\n withRange((font(theme)[type] as FontProps).size, 'font-size')}\n line-height: ${({ theme }) => (font(theme)[type] as FontProps).lineHeight};\n letter-spacing: ${({ theme }) =>\n (font(theme)[type] as FontProps).letterSpacing};\n text-transform: ${({ theme }) =>\n (font(theme)[type] as FontProps).textTransform};\n text-decoration: ${({ theme }) =>\n (font(theme)[type] as FontProps).textDecoration};\n`;\n\nconst View = styled.h1<{\n hyphens?: boolean;\n hasShadow?: boolean;\n textColor?: string;\n textGradient?: string;\n headingType: HeadingType;\n}>`\n ${({ headingType }) => headingStyle(headingType)}\n`;\n\nexport type HeadlineTag =\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'span'\n | 'div'\n | 'blockquote';\n\nconst Heading: React.FC<{\n renderAs?: HeadlineTag;\n isInverted?: boolean;\n size?: HeadingType;\n textColor?: string;\n textGradient?: string;\n hyphens?: boolean;\n hasShadow?: boolean;\n innerHTML?: string;\n\n className?: string;\n children?: React.ReactNode;\n}> = ({\n renderAs,\n isInverted,\n className,\n size = 'heading-2',\n textColor,\n textGradient,\n hyphens = false,\n hasShadow = false,\n innerHTML,\n children,\n ...rest\n}) => {\n const { fonts } = useLibTheme();\n let tag: HeadlineTag = 'h2';\n\n switch (size) {\n default:\n case 'heading-1':\n tag = 'h1';\n break;\n case 'heading-2':\n tag = 'h2';\n break;\n case 'heading-3':\n tag = 'h3';\n break;\n case 'heading-4':\n tag = 'h4';\n break;\n case 'super':\n tag = 'div';\n break;\n }\n\n // get font settings from global context\n const fontSettings = fonts?.[size] as FontProps;\n\n return (\n <View\n as={renderAs || tag}\n headingType={size}\n textColor={\n textColor ||\n (isInverted ? fontSettings.colorInverted : fontSettings.color)\n }\n textGradient={\n textGradient ||\n (!textColor\n ? isInverted\n ? fontSettings.colorGradientInverted\n : fontSettings.colorGradient\n : undefined)\n }\n hyphens={hyphens}\n hasShadow={hasShadow}\n dangerouslySetInnerHTML={\n innerHTML && !children ? { __html: innerHTML } : undefined\n }\n className={className}\n {...rest}\n >\n {children}\n </View>\n );\n};\n\nHeading.defaultProps = {\n renderAs: 'h2',\n size: 'heading-2',\n};\n\nexport default Heading;\n","import * as React from 'react';\nimport styled, { css } from 'styled-components';\nimport { clampValue } from 'utils/clamp';\nimport { useLibTheme } from 'utils/LibThemeProvider';\nimport {\n FontType,\n mq,\n spacings,\n withRange,\n FontOptionType,\n getFonts as font,\n getGlobals as global,\n styleTextColor,\n FontOptions,\n LinkUrlIcon,\n LinkFontIcon,\n} from 'utils/styles';\nimport { headingStyle } from './Heading';\n\nexport type CopyType = Extract<FontType, 'copy-b' | 'copy-i' | 'copy'>;\n\nexport const copyStyle = (\n type: CopyType,\n size: keyof FontOptions = 'medium'\n) => css`\n font-family: ${({ theme }) => font(theme)[type][size].family};\n font-weight: ${({ theme }) => font(theme)[type][size].weight};\n font-style: ${({ theme }) => font(theme)[type][size].style};\n ${({ theme }) => withRange(font(theme)[type][size].size, 'font-size')}\n line-height: ${({ theme }) => font(theme)[type][size].lineHeight};\n letter-spacing: ${({ theme }) => font(theme)[type][size].letterSpacing};\n text-transform: ${({ theme }) => font(theme)[type][size].textTransform};\n text-decoration: ${({ theme }) => font(theme)[type][size].textDecoration};\n`;\n\nconst base = css<{\n textColor?: string;\n textGradient?: string;\n columns?: boolean;\n isInverted?: boolean;\n copyType: CopyType;\n size: FontOptionType;\n allowLinkIcons?: boolean;\n}>`\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n font-weight: inherit;\n font-style: inherit;\n font-size: 100%;\n font-family: inherit;\n vertical-align: baseline;\n }\n\n hyphens: auto;\n ${({ textColor, textGradient }) => styleTextColor(textColor, textGradient)}\n\n /* @media ${mq.medium} {\n hyphens: none;\n } */\n\n a {\n color: ${({ theme, isInverted }) =>\n isInverted\n ? font(theme).link.colorInverted\n : font(theme).link.color};\n text-transform: ${({ theme }) => font(theme).link.textTransform};\n text-decoration: ${({ theme }) => font(theme).link.textDecoration};\n\n transition: color 0.2s ease-in-out;\n outline: none;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n color: ${({ theme, isInverted }) =>\n isInverted\n ? font(theme).link.colorHoverInverted\n : font(theme).link.colorHover};\n }\n }\n\n &:focus {\n outline: 1px dashed\n ${({ theme, isInverted }) =>\n isInverted\n ? font(theme).link.colorInverted\n : font(theme).link.color};\n outline-offset: 1px;\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n }\n\n & > p {\n margin-right: 0;\n margin-left: 0;\n padding: 0;\n }\n\n ${({ columns }) =>\n columns &&\n css`\n columns: 350px 2;\n column-gap: ${spacings.spacer}px;\n\n li {\n break-inside: avoid;\n }\n\n blockquote {\n break-inside: avoid;\n }\n `};\n\n h2 {\n ${headingStyle('heading-2')}\n }\n\n h3 {\n ${headingStyle('heading-3')}\n }\n\n h4 {\n ${headingStyle('heading-4')}\n }\n\n h5 {\n ${headingStyle('super')}\n }\n\n h2,\n h3,\n h4,\n h5 {\n margin-top: ${spacings.nudge * 3}px;\n margin-bottom: ${spacings.nudge * 3}px;\n }\n\n h2 {\n margin-bottom: ${spacings.spacer}px;\n }\n\n *:not(h2, h3, h4, h5) + h2,\n *:not(h2, h3, h4, h5) + h3,\n *:not(h2, h3, h4, h5) + h4,\n *:not(h2, h3, h4, h5) + h5 {\n margin-top: ${spacings.nudge * 5}px;\n }\n\n *:is(h3, h4, h5) + h2 {\n margin-top: -${spacings.nudge * 1.5}px;\n }\n\n p,\n blockquote,\n ol,\n ul {\n margin-top: ${spacings.nudge * 3}px;\n margin-bottom: ${spacings.nudge * 3}px;\n }\n\n ol,\n ul {\n padding-left: ${spacings.nudge * 3}px;\n }\n\n li {\n & > * {\n vertical-align: top;\n }\n }\n\n ul ul li {\n list-style-type: disc;\n }\n\n ol ol li {\n list-style-type: lower-latin;\n }\n\n ol ol ol li {\n list-style-type: lower-roman;\n }\n\n // classes for richtext\n a {\n display: inline-block;\n }\n\n a[href] + br + a[href] {\n margin-top: ${spacings.nudge * 2}px;\n }\n\n /** add icons to anchor tags with matching href value */\n ${({ theme, isInverted, copyType, size, allowLinkIcons }) => {\n if (!allowLinkIcons) return '';\n return global(theme).icons.linkIcons.map((item) => {\n const iconChar = parseInt((item as LinkFontIcon).iconChar);\n const iconFont = (item as LinkFontIcon).iconFont;\n const iconUrl = (item as LinkUrlIcon).iconUrl?.(isInverted);\n const iconScale = clampValue(\n item.scale?.({ type: copyType, size }) || 1,\n 0\n );\n const patterns = item.patterns;\n const isFontIcon = !!iconChar && !!iconFont;\n const isValidIconChar = iconChar && !isNaN(iconChar) ? true : false;\n const vAlign = item.vAlign || (isFontIcon ? 'text-top' : 'top');\n\n const externalFilter = item.isExternal ? '[target=\"_blank\"]' : '';\n\n const selectors =\n patterns\n .filter((p) => p)\n .map((p) => `a[href*='${p}']${externalFilter}`)\n .join(', ') || `a${externalFilter}`;\n const pseudoSelectors =\n patterns\n .filter((p) => p)\n .map((p) => `a[href*='${p}']${externalFilter}:after`)\n .join(', ') || `a${externalFilter}:after`;\n\n let content = '';\n if (iconChar || iconUrl) {\n content = isValidIconChar\n ? `\"${String.fromCharCode(iconChar)}\"`\n : `url(\"${iconUrl}\")`;\n }\n\n return selectors && pseudoSelectors\n ? css`\n ${selectors} {\n display: inline-block;\n position: relative;\n }\n\n ${pseudoSelectors} {\n content: ${content || undefined};\n\n display: inline-block;\n font-family: ${iconFont || 'inherit'} !important;\n font-size: ${isFontIcon && `${iconScale}em`};\n font-style: normal;\n font-weight: normal !important;\n font-variant: normal;\n text-transform: none;\n text-decoration: none;\n vertical-align: ${vAlign};\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n\n transform: ${!iconFont && iconUrl\n ? `scale(${iconScale})`\n : undefined};\n\n max-height: ${!isFontIcon && '1em'};\n margin-left: 0.3em;\n margin-right: 0.1em;\n }\n `\n : '';\n });\n }}\n\n /** DOM element with icon and/or label */\n .icon-label {\n display: inline-flex;\n align-items: center;\n margin: 0;\n ${copyStyle('copy', 'medium')}\n vertical-align: middle;\n\n & > a:after {\n content: none;\n }\n\n & > * + * {\n margin-left: ${spacings.nudge * 2}px;\n }\n\n svg {\n max-width: 30px;\n fill: currentColor;\n }\n }\n\n .icon-label--big {\n ${copyStyle('copy', 'big')}\n }\n\n .icon-label--list {\n display: flex;\n align-items: center;\n margin: 0;\n padding: 0;\n }\n\n .icon-label--list + .icon-label--list {\n margin-top: ${spacings.nudge * 3}px;\n }\n\n *:first-child {\n margin-top: 0;\n }\n\n *:last-child {\n margin-bottom: 0;\n }\n`;\n\nconst View = styled.div<{\n copyType: CopyType;\n size: FontOptionType;\n textColor?: string;\n textGradient?: string;\n isInverted?: boolean;\n columns?: boolean;\n allowLinkIcons?: boolean;\n}>`\n ${base}\n ${({ copyType, size }) => copyStyle(copyType, size)}\n`;\n\nexport type CopyTag =\n | 'label'\n | 'span'\n | 'div'\n | 'legend'\n | 'th'\n | 'td'\n | 'li'\n | 'p'\n | 'caption'\n | 'figcaption';\n\nconst Copy: React.FC<{\n renderAs?: CopyTag;\n isInverted?: boolean;\n textColor?: string;\n textGradient?: string;\n type?: CopyType;\n size?: FontOptionType;\n columns?: boolean;\n innerHTML?: string;\n allowLinkIcons?: boolean;\n onClick?: (ev: React.SyntheticEvent<HTMLElement>) => void;\n className?: string;\n children?: React.ReactNode;\n}> = ({\n renderAs,\n isInverted,\n type = 'copy',\n size = 'medium',\n textColor,\n textGradient,\n columns = false,\n innerHTML,\n allowLinkIcons = true,\n onClick,\n className,\n children,\n ...rest\n}) => {\n const { fonts } = useLibTheme();\n const fontSettings = fonts?.[type]?.[size];\n\n return (\n <View\n as={renderAs}\n copyType={type}\n size={size}\n textColor={\n textColor ||\n (isInverted ? fontSettings.colorInverted : fontSettings.color)\n }\n textGradient={\n textGradient ||\n (!textColor\n ? isInverted\n ? fontSettings.colorGradientInverted\n : fontSettings.colorGradient\n : undefined)\n }\n isInverted={isInverted}\n columns={columns}\n allowLinkIcons={allowLinkIcons}\n dangerouslySetInnerHTML={\n innerHTML && !children ? { __html: innerHTML } : undefined\n }\n onClick={onClick}\n className={className}\n {...rest}\n >\n {children}\n </View>\n );\n};\n\nCopy.defaultProps = { type: 'copy', size: 'medium' };\n\nexport default Copy;\n"],"names":["base","css","templateObject_2","__makeTemplateObject","_a","textColor","textGradient","styleTextColor","props","hyphens","templateObject_1","mq","large","hasShadow","headingStyle","type","templateObject_3","theme","font","family","weight","style","withRange","size","lineHeight","letterSpacing","textTransform","textDecoration","View","styled","h1","templateObject_4","headingType","Heading","renderAs","isInverted","className","_b","_c","_d","innerHTML","children","rest","__rest","fonts","useLibTheme","tag","fontSettings","React","createElement","__assign","as","colorInverted","color","colorGradientInverted","colorGradient","undefined","dangerouslySetInnerHTML","__html","defaultProps","copyStyle","medium","link","colorHoverInverted","colorHover","columns","spacings","spacer","nudge","copyType","allowLinkIcons","global","icons","linkIcons","map","item","iconChar","parseInt","iconFont","iconUrl","call","iconScale","clampValue","scale","patterns","isFontIcon","isValidIconChar","isNaN","vAlign","externalFilter","isExternal","selectors","filter","p","concat","join","pseudoSelectors","content","String","fromCharCode","div","templateObject_5","Copy","_e","_f","onClick"],"mappings":";;;;;;;AAiBA,IAAMA,MAAI,GAAGC,GAAG,CAAAC,kBAAA,KAAAA,kBAAA,GAAAC,oBAAA,CAAA,CAAA,8DAAA,EAAA,wFAAA,EAAA,uBAAA,EAAA,gTAAA,CAAA,EAAA,CAKd,8DALc,EAS8D,wFA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ACIyB,KAAC,CAAAC,aAAD,CAACrB,IAAD;AACIuB,IAAAA,EAAE,EAAEjB;AACJmC,IAAAA,QAAQ,EAAEtD;AACVQ,IAAAA,IAAI,EAAEA;AACNlB,IAAAA,SAAS,EACLA,SAAS,KACR8B,UAAU,GAAGY,YAAY,CAACK,aAAhB,GAAgCL,YAAY,CAACM,KAD/C;AAGb/C,IAAAA,YAAY,EACRA,YAAY,KACX,CAACD,SAAD,GACK8B,UAAU,GACNY,YAAY,CAACO,qBADP,GAENP,YAAY,CAACQ,aAHtB,GAIKC,SALM;AAOhBrB,IAAAA,UAAU,EAAEA;AACZ8B,IAAAA,OAAO,EAAEA;AACTK,IAAAA,cAAc,EAAEA;AAChBb,IAAAA,uBAAuB,EACnBjB,SAAS,IAAI,CAACC,QAAd,GAAyB;AAAEiB,MAAAA,MAAM,EAAElB,SAAAA;AAAV,KAAzB,GAAiDgB;AAErDiD,IAAAA,OAAO,EAAEA;AACTrE,IAAAA,SAAS,EAAEA,SAAAA;KACPM,KAxBR,EA0BKD,QA1BL,CADJ,CAAA;AA8BH,EA7DD;;AA+DA6D,IAAI,CAAC3C,YAAL,GAAoB;AAAE5C,EAAAA,IAAI,EAAE,MAAR;AAAgBQ,EAAAA,IAAI,EAAE,QAAA;AAAtB,CAApB,CAAA;;;;;"}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { a as __makeTemplateObject, _ as __assign } from './ClockFilled-6bae80dc.js';
|
|
2
|
-
import React__default, { useMemo } from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { T as Tag } from './Tag-cb972e1b.js';
|
|
5
|
-
import { c as copyStyle, C as Copy } from './Copy-bca0854c.js';
|
|
6
|
-
import { s as spacings, m as mq, a as getFonts } from './styles-c387bdc6.js';
|
|
7
|
-
import { S as StatusFormatter } from './statusFormatter-9be0fbff.js';
|
|
8
|
-
import { u as useLibTheme } from './LibThemeProvider-acf2e2bb.js';
|
|
9
|
-
import { I as Image } from './Image-301c4433.js';
|
|
10
|
-
import { L as Link } from './Link-bccdb082.js';
|
|
11
|
-
import { i as isValidArray } from './arrays-65b644ef.js';
|
|
12
|
-
|
|
13
|
-
var View = styled.div.withConfig({
|
|
14
|
-
displayName: "EventBlock__View",
|
|
15
|
-
componentId: "sc-1nnq189-0"
|
|
16
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n text-decoration: none;\n color: inherit;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n display: flex;\n justify-content: flex-end;\n flex-direction: row-reverse;\n\n & > * + * {\n margin-top: 0;\n padding-right: ", "px;\n }\n }\n"], ["\n text-decoration: none;\n color: inherit;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n display: flex;\n justify-content: flex-end;\n flex-direction: row-reverse;\n\n & > * + * {\n margin-top: 0;\n padding-right: ", "px;\n }\n }\n"])), spacings.nudge * 3, mq.large, spacings.spacer);
|
|
17
|
-
var ImageContainer = styled.div.withConfig({
|
|
18
|
-
displayName: "EventBlock__ImageContainer",
|
|
19
|
-
componentId: "sc-1nnq189-1"
|
|
20
|
-
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n flex: 0 1 30%;\n margin-left: auto;\n"], ["\n flex: 0 1 30%;\n margin-left: auto;\n"])));
|
|
21
|
-
var MainContent = styled.div.withConfig({
|
|
22
|
-
displayName: "EventBlock__MainContent",
|
|
23
|
-
componentId: "sc-1nnq189-2"
|
|
24
|
-
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n flex: 0 1 70%;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n max-width: 830px;\n }\n"], ["\n flex: 0 1 70%;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n max-width: 830px;\n }\n"])), spacings.nudge * 3, mq.large);
|
|
25
|
-
var TagContainer = styled.div.withConfig({
|
|
26
|
-
displayName: "EventBlock__TagContainer",
|
|
27
|
-
componentId: "sc-1nnq189-3"
|
|
28
|
-
})(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n margin-top: -", "px;\n margin-left: -", "px;\n\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n"], ["\n margin-top: -", "px;\n margin-left: -", "px;\n\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n"])), spacings.nudge, spacings.nudge);
|
|
29
|
-
var TitleWrapper = styled.div.withConfig({
|
|
30
|
-
displayName: "EventBlock__TitleWrapper",
|
|
31
|
-
componentId: "sc-1nnq189-4"
|
|
32
|
-
})(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.nudge);
|
|
33
|
-
var TagWrapper = styled.div.withConfig({
|
|
34
|
-
displayName: "EventBlock__TagWrapper",
|
|
35
|
-
componentId: "sc-1nnq189-5"
|
|
36
|
-
})(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n padding-top: ", "px;\n padding-left: ", "px;\n"], ["\n padding-top: ", "px;\n padding-left: ", "px;\n"])), spacings.nudge, spacings.nudge);
|
|
37
|
-
var TitleLink = styled(Link).withConfig({
|
|
38
|
-
displayName: "EventBlock__TitleLink",
|
|
39
|
-
componentId: "sc-1nnq189-6"
|
|
40
|
-
})(templateObject_7 || (templateObject_7 = __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) {
|
|
41
|
-
var theme = _a.theme,
|
|
42
|
-
isInverted = _a.isInverted;
|
|
43
|
-
return isInverted ? getFonts(theme)['copy-b'].big.colorInverted : getFonts(theme)['copy-b'].big.color;
|
|
44
|
-
});
|
|
45
|
-
var Text = styled(Copy).withConfig({
|
|
46
|
-
displayName: "EventBlock__Text",
|
|
47
|
-
componentId: "sc-1nnq189-7"
|
|
48
|
-
})(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: -webkit-box;\n -webkit-line-clamp: 4;\n -webkit-box-orient: vertical;\n overflow: hidden;\n"], ["\n display: -webkit-box;\n -webkit-line-clamp: 4;\n -webkit-box-orient: vertical;\n overflow: hidden;\n"])));
|
|
49
|
-
|
|
50
|
-
var EventBlock = function (_a) {
|
|
51
|
-
var customTag = _a.customTag,
|
|
52
|
-
onTagClick = _a.onTagClick,
|
|
53
|
-
title = _a.title,
|
|
54
|
-
image = _a.image,
|
|
55
|
-
date = _a.date,
|
|
56
|
-
text = _a.text,
|
|
57
|
-
link = _a.link,
|
|
58
|
-
tags = _a.tags,
|
|
59
|
-
isInverted = _a.isInverted,
|
|
60
|
-
action = _a.action;
|
|
61
|
-
var globals = useLibTheme().globals;
|
|
62
|
-
var publishedAt = '';
|
|
63
|
-
|
|
64
|
-
if (date) {
|
|
65
|
-
var formatter = new StatusFormatter(date.getTime(), '', globals.sections.eventDateFormat(date), globals.sections.eventTimeFormat(date), globals.sections.eventLocaleKey);
|
|
66
|
-
publishedAt = formatter.getFormattedDate();
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
var handleTagClick = function (tag) {
|
|
70
|
-
return onTagClick ? function (ev) {
|
|
71
|
-
ev === null || ev === void 0 ? void 0 : ev.preventDefault();
|
|
72
|
-
onTagClick(tag);
|
|
73
|
-
} : undefined;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
var filteredTags = useMemo(function () {
|
|
77
|
-
return tags === null || tags === void 0 ? void 0 : tags.filter(function (tag) {
|
|
78
|
-
return tag.name;
|
|
79
|
-
});
|
|
80
|
-
}, [tags]);
|
|
81
|
-
return React__default.createElement(View, null, (image === null || image === void 0 ? void 0 : image.small) && React__default.createElement(ImageContainer, null, React__default.createElement(Image, __assign({}, image, {
|
|
82
|
-
coverSpace: true,
|
|
83
|
-
allowEdgeRadius: true,
|
|
84
|
-
isInverted: isInverted,
|
|
85
|
-
ratios: {
|
|
86
|
-
small: {
|
|
87
|
-
w: 640,
|
|
88
|
-
h: 320
|
|
89
|
-
},
|
|
90
|
-
medium: {
|
|
91
|
-
w: 752,
|
|
92
|
-
h: 276
|
|
93
|
-
},
|
|
94
|
-
large: {
|
|
95
|
-
w: 375,
|
|
96
|
-
h: 250
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}))), React__default.createElement(MainContent, null, isValidArray(filteredTags, false) && React__default.createElement(TagContainer, null, filteredTags.map(function (tag, i) {
|
|
100
|
-
return tag && React__default.createElement(TagWrapper, {
|
|
101
|
-
key: 'tag_' + i
|
|
102
|
-
}, customTag ? customTag({
|
|
103
|
-
key: 'tag_' + i,
|
|
104
|
-
name: tag.name || '',
|
|
105
|
-
isInverted: isInverted,
|
|
106
|
-
isActive: false,
|
|
107
|
-
link: tag.link || {},
|
|
108
|
-
clickHandler: handleTagClick(tag)
|
|
109
|
-
}) : React__default.createElement(Tag, {
|
|
110
|
-
isInverted: isInverted,
|
|
111
|
-
name: tag.name,
|
|
112
|
-
link: tag.link,
|
|
113
|
-
onClick: handleTagClick(tag)
|
|
114
|
-
}));
|
|
115
|
-
})), React__default.createElement(TitleWrapper, null, date && React__default.createElement(Copy, {
|
|
116
|
-
isInverted: isInverted,
|
|
117
|
-
size: "medium",
|
|
118
|
-
type: "copy"
|
|
119
|
-
}, publishedAt), title && React__default.createElement(TitleLink, __assign({}, link, {
|
|
120
|
-
isInverted: isInverted
|
|
121
|
-
}), title)), text && React__default.createElement(Text, {
|
|
122
|
-
size: "small",
|
|
123
|
-
isInverted: isInverted,
|
|
124
|
-
innerHTML: text
|
|
125
|
-
}), action && React__default.createElement("div", null, " ", action({
|
|
126
|
-
isInverted: isInverted
|
|
127
|
-
}), " ")));
|
|
128
|
-
};
|
|
129
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
|
|
130
|
-
|
|
131
|
-
export { EventBlock as E };
|
|
132
|
-
//# sourceMappingURL=EventBlock-e07e7b51.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EventBlock-e07e7b51.js","sources":["../src/components/blocks/EventBlock.tsx"],"sourcesContent":["import React, { useMemo } from 'react';\nimport styled from 'styled-components';\n\nimport Tag, { TagProps } from './Tag';\nimport Copy, { copyStyle } from 'components/typography/Copy';\nimport { spacings, mq, getFonts as font } from 'utils/styles';\nimport StatusFormatter from 'utils/statusFormatter';\nimport { useLibTheme } from 'utils/LibThemeProvider';\nimport Image, { ImageProps } from './Image';\nimport Link, { LinkProps } from 'components/typography/Link';\nimport { isValidArray } from 'utils/arrays';\n\nconst View = styled.div`\n text-decoration: none;\n color: inherit;\n\n & > * + * {\n margin-top: ${spacings.nudge * 3}px;\n }\n\n @media ${mq.large} {\n display: flex;\n justify-content: flex-end;\n flex-direction: row-reverse;\n\n & > * + * {\n margin-top: 0;\n padding-right: ${spacings.spacer}px;\n }\n }\n`;\n\nconst ImageContainer = styled.div`\n flex: 0 1 30%;\n margin-left: auto;\n`;\n\nconst MainContent = styled.div`\n flex: 0 1 70%;\n\n & > * + * {\n margin-top: ${spacings.nudge * 3}px;\n }\n\n @media ${mq.large} {\n max-width: 830px;\n }\n`;\n\nconst TagContainer = styled.div`\n margin-top: -${spacings.nudge}px;\n margin-left: -${spacings.nudge}px;\n\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n`;\n\nconst TitleWrapper = styled.div`\n & > * + * {\n margin-top: ${spacings.nudge}px;\n }\n`;\n\nconst TagWrapper = styled.div`\n padding-top: ${spacings.nudge}px;\n padding-left: ${spacings.nudge}px;\n`;\n\nconst TitleLink = styled(Link)`\n display: inline-block;\n ${copyStyle('copy-b', 'big')}\n\n color: ${({ theme, isInverted }) =>\n isInverted\n ? font(theme)['copy-b'].big.colorInverted\n : font(theme)['copy-b'].big.color};\n text-decoration: none;\n`;\n\nconst Text = styled(Copy)`\n display: -webkit-box;\n -webkit-line-clamp: 4;\n -webkit-box-orient: vertical;\n overflow: hidden;\n`;\n\nexport interface EventProps {\n /** Array of tag item settings */\n tags?: TagProps[];\n\n /** Active tags that are highlighted in this event */\n activeTags?: string[];\n\n /** Event image */\n image?: Omit<ImageProps, 'coverSpace' | 'ratios'>;\n\n /** Event title */\n title?: string;\n\n /** Event publish date */\n date?: Date;\n\n /** Event duration in seconds */\n duration?: number;\n\n /** Event text (richtext) */\n text?: string;\n\n /** Invert color and background for darker themes */\n isInverted?: boolean;\n\n /** Event link settings */\n link?: LinkProps;\n\n /** Function to inject action elements */\n action?: (props: { isInverted?: boolean }) => React.ReactNode;\n\n /** Function to inject custom tag node */\n customTag?: (props: {\n key: React.Key;\n name: string;\n isInverted?: boolean;\n isActive?: boolean;\n link: LinkProps;\n clickHandler?: (ev?: React.SyntheticEvent<HTMLElement>) => void;\n }) => React.ReactNode;\n\n /** Callback function if tag in news iten has been clicked */\n onTagClick?: (tag: TagProps) => void;\n}\n\nconst EventBlock: React.FC<EventProps> = ({\n customTag,\n onTagClick,\n title,\n image,\n date,\n text,\n link,\n tags,\n isInverted,\n action,\n}) => {\n const { globals } = useLibTheme();\n\n let publishedAt = '';\n if (date) {\n const formatter = new StatusFormatter(\n date.getTime(),\n '',\n globals.sections.eventDateFormat(date),\n globals.sections.eventTimeFormat(date),\n globals.sections.eventLocaleKey\n );\n publishedAt = formatter.getFormattedDate();\n }\n\n const handleTagClick = (tag: TagProps) =>\n onTagClick\n ? (ev?: React.SyntheticEvent<HTMLElement>) => {\n ev?.preventDefault();\n onTagClick(tag);\n }\n : undefined;\n\n const filteredTags = useMemo(() => {\n return tags?.filter((tag) => tag.name);\n }, [tags]);\n\n return (\n <View>\n {image?.small && (\n <ImageContainer>\n <Image\n {...image}\n coverSpace\n allowEdgeRadius\n isInverted={isInverted}\n ratios={{\n small: { w: 640, h: 320 },\n medium: { w: 752, h: 276 },\n large: { w: 375, h: 250 },\n }}\n />\n </ImageContainer>\n )}\n <MainContent>\n {isValidArray(filteredTags, false) && (\n <TagContainer>\n {filteredTags.map(\n (tag, i) =>\n tag && (\n <TagWrapper key={'tag_' + i}>\n {customTag ? (\n customTag({\n key: 'tag_' + i,\n name: tag.name || '',\n isInverted: isInverted,\n isActive: false,\n link: tag.link || {},\n clickHandler:\n handleTagClick(tag),\n })\n ) : (\n <Tag\n isInverted={isInverted}\n name={tag.name}\n link={tag.link}\n onClick={handleTagClick(tag)}\n />\n )}\n </TagWrapper>\n )\n )}\n </TagContainer>\n )}\n <TitleWrapper>\n {date && (\n <Copy isInverted={isInverted} size=\"medium\" type=\"copy\">\n {publishedAt}\n </Copy>\n )}\n {title && (\n <TitleLink {...link} isInverted={isInverted}>\n {title}\n </TitleLink>\n )}\n </TitleWrapper>\n {text && (\n <Text\n size=\"small\"\n isInverted={isInverted}\n innerHTML={text}\n />\n )}\n {action && <div> {action({ isInverted })} </div>}\n </MainContent>\n </View>\n );\n};\n\nexport default EventBlock;\n"],"names":["View","styled","div","templateObject_1","__makeTemplateObject","spacings","nudge","mq","large","spacer","ImageContainer","templateObject_2","MainContent","templateObject_3","TagContainer","templateObject_4","TitleWrapper","templateObject_5","TagWrapper","templateObject_6","TitleLink","Link","templateObject_7","copyStyle","_a","theme","isInverted","font","big","colorInverted","color","Text","Copy","templateObject_8","EventBlock","customTag","onTagClick","title","image","date","text","link","tags","action","globals","useLibTheme","publishedAt","formatter","StatusFormatter","getTime","sections","eventDateFormat","eventTimeFormat","eventLocaleKey","getFormattedDate","handleTagClick","tag","ev","preventDefault","undefined","filteredTags","useMemo","filter","name","React","small","createElement","Image","__assign","coverSpace","allowEdgeRadius","ratios","w","h","medium","isValidArray","map","i","key","isActive","clickHandler","Tag","onClick","size","type","innerHTML"],"mappings":";;;;;;;;;;;;AAYA,IAAMA,IAAI,GAAGC,MAAM,CAACC,GAAV,CAAA,UAAA,CAAA;AAAA,EAAA,WAAA,EAAA,kBAAA;AAAA,EAAA,WAAA,EAAA,cAAA;AAAA,CAAA,CAAA,CAAaC,gBAAA,KAAAA,gBAAA,GAAAC,oBAAA,CAAA,CAAA,4FAA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