@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/fields.js
DELETED
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import { a as __makeTemplateObject } from './ClockFilled-6bae80dc.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { u as useLibTheme } from './LibThemeProvider-acf2e2bb.js';
|
|
5
|
-
import { g as getColors, m as mq, s as spacings, a as getFonts, w as withRange } from './styles-c387bdc6.js';
|
|
6
|
-
export { F as FilterField } from './FilterField-5f76c113.js';
|
|
7
|
-
export { D as Datepicker, b as FileUpload, F as FormField, L as LocationField, R as Radio, S as SelectDropdown, T as Textarea, a as Textfield } from './FileUpload-851d473a.js';
|
|
8
|
-
export { C as Checkbox } from './Checkbox-4daef7a4.js';
|
|
9
|
-
import 'react-dom/server';
|
|
10
|
-
import './Copy-bca0854c.js';
|
|
11
|
-
import './clamp-12d37b65.js';
|
|
12
|
-
import './useLazyInput-e66fc5be.js';
|
|
13
|
-
import './useLeafletMap-6dea7a8e.js';
|
|
14
|
-
import './useUpdateEffect-824c0c84.js';
|
|
15
|
-
import './useGeolocation-f9f073cc.js';
|
|
16
|
-
import './ButtonGhost-6876b67f.js';
|
|
17
|
-
import './hexRgbConverter-edb91624.js';
|
|
18
|
-
import './Button-71376927.js';
|
|
19
|
-
import 'react-datepicker';
|
|
20
|
-
import './useMounted-1e4cc87b.js';
|
|
21
|
-
import './arrays-65b644ef.js';
|
|
22
|
-
|
|
23
|
-
var View$1 = styled.form.withConfig({
|
|
24
|
-
displayName: "CompactForm__View",
|
|
25
|
-
componentId: "sc-v44fzp-0"
|
|
26
|
-
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n flex-direction: column;\n\n color: ", ";\n\n @media ", " {\n flex-direction: row;\n }\n"], ["\n width: 100%;\n display: flex;\n flex-direction: column;\n\n color: ", ";\n\n @media ", " {\n flex-direction: row;\n }\n"])), function (_a) {
|
|
27
|
-
var theme = _a.theme;
|
|
28
|
-
return getColors(theme).text.default;
|
|
29
|
-
}, mq.medium);
|
|
30
|
-
var InputField$1 = styled.input.withConfig({
|
|
31
|
-
displayName: "CompactForm__InputField",
|
|
32
|
-
componentId: "sc-v44fzp-1"
|
|
33
|
-
})(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n display: block;\n width: 100%;\n height: 49px;\n max-height: 49px;\n padding: ", "px ", "px;\n color: inherit;\n\n background-color: ", ";\n box-shadow: none;\n border: none;\n border-right: none;\n border-radius: 0px;\n outline: none;\n -webkit-appearance: none;\n\n font-family: ", ";\n font-weight: ", ";\n ", "\n line-height: ", ";\n\n &:focus {\n outline: ", ";\n outline-offset: 0;\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &::placeholder {\n color: inherit;\n }\n"], ["\n display: block;\n width: 100%;\n height: 49px;\n max-height: 49px;\n padding: ", "px ", "px;\n color: inherit;\n\n background-color: ", ";\n box-shadow: none;\n border: none;\n border-right: none;\n border-radius: 0px;\n outline: none;\n -webkit-appearance: none;\n\n font-family: ", ";\n font-weight: ", ";\n ", "\n line-height: ", ";\n\n &:focus {\n outline: ", ";\n outline-offset: 0;\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &::placeholder {\n color: inherit;\n }\n"])), spacings.nudge, spacings.nudge * 3, function (_a) {
|
|
34
|
-
var backColor = _a.backColor;
|
|
35
|
-
return backColor && backColor;
|
|
36
|
-
}, function (_a) {
|
|
37
|
-
var theme = _a.theme;
|
|
38
|
-
return getFonts(theme).copy.small.family;
|
|
39
|
-
}, function (_a) {
|
|
40
|
-
var theme = _a.theme;
|
|
41
|
-
return getFonts(theme).copy.small.weight;
|
|
42
|
-
}, function (_a) {
|
|
43
|
-
var theme = _a.theme;
|
|
44
|
-
return withRange(getFonts(theme).copy.small.size, 'font-size');
|
|
45
|
-
}, function (_a) {
|
|
46
|
-
var theme = _a.theme;
|
|
47
|
-
return getFonts(theme).copy.small.lineHeight;
|
|
48
|
-
}, function (_a) {
|
|
49
|
-
var theme = _a.theme;
|
|
50
|
-
return "2px solid ".concat(getColors(theme).primary.default);
|
|
51
|
-
});
|
|
52
|
-
var SubmitBtn$1 = styled.button.withConfig({
|
|
53
|
-
displayName: "CompactForm__SubmitBtn",
|
|
54
|
-
componentId: "sc-v44fzp-2"
|
|
55
|
-
})(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 49px;\n\n margin-top: ", "px;\n\n background-color: ", ";\n color: ", ";\n\n outline: none;\n border: none;\n user-select: none;\n cursor: pointer;\n transition: all ease-in-out 0.2s;\n\n @media ", " {\n width: 100px;\n margin-top: 0;\n }\n\n &:hover {\n transform: scale(1.05);\n }\n\n &:focus {\n text-decoration: underline;\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n text-decoration: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n"], ["\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 49px;\n\n margin-top: ", "px;\n\n background-color: ", ";\n color: ", ";\n\n outline: none;\n border: none;\n user-select: none;\n cursor: pointer;\n transition: all ease-in-out 0.2s;\n\n @media ", " {\n width: 100px;\n margin-top: 0;\n }\n\n &:hover {\n transform: scale(1.05);\n }\n\n &:focus {\n text-decoration: underline;\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n text-decoration: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n"])), spacings.spacer * 0.5, function (_a) {
|
|
56
|
-
var theme = _a.theme;
|
|
57
|
-
return getColors(theme).primary.default;
|
|
58
|
-
}, function (_a) {
|
|
59
|
-
var theme = _a.theme;
|
|
60
|
-
return getColors(theme).text.inverted;
|
|
61
|
-
}, mq.medium);
|
|
62
|
-
|
|
63
|
-
var CompactForm = function (_a) {
|
|
64
|
-
var _b = _a.mode,
|
|
65
|
-
mode = _b === void 0 ? 'default' : _b,
|
|
66
|
-
value = _a.value,
|
|
67
|
-
placeholder = _a.placeholder,
|
|
68
|
-
method = _a.method,
|
|
69
|
-
action = _a.action,
|
|
70
|
-
buttonIcon = _a.buttonIcon,
|
|
71
|
-
onSubmit = _a.onSubmit,
|
|
72
|
-
onClick = _a.onClick,
|
|
73
|
-
onBlur = _a.onBlur,
|
|
74
|
-
onFocus = _a.onFocus,
|
|
75
|
-
className = _a.className;
|
|
76
|
-
var colors = useLibTheme().colors;
|
|
77
|
-
var bgColor = mode === 'default' ? colors.elementBg.medium : colors.elementBg.light;
|
|
78
|
-
return React__default.createElement(View$1, {
|
|
79
|
-
onSubmit: onSubmit,
|
|
80
|
-
method: method,
|
|
81
|
-
action: action,
|
|
82
|
-
className: className
|
|
83
|
-
}, React__default.createElement(InputField$1, {
|
|
84
|
-
placeholder: placeholder,
|
|
85
|
-
value: value,
|
|
86
|
-
onClick: onClick,
|
|
87
|
-
onBlur: onBlur,
|
|
88
|
-
onFocus: onFocus,
|
|
89
|
-
backColor: bgColor
|
|
90
|
-
}), buttonIcon && React__default.createElement(SubmitBtn$1, {
|
|
91
|
-
isInverted: mode === 'onDark'
|
|
92
|
-
}, buttonIcon));
|
|
93
|
-
};
|
|
94
|
-
var templateObject_1$1, templateObject_2$1, templateObject_3$1;
|
|
95
|
-
|
|
96
|
-
var View = styled.div.withConfig({
|
|
97
|
-
displayName: "SearchInput__View",
|
|
98
|
-
componentId: "sc-21j67n-0"
|
|
99
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n display: flex;\n flex-direction: row;\n\n color: ", ";\n\n background-color: ", ";\n"], ["\n position: relative;\n width: 100%;\n display: flex;\n flex-direction: row;\n\n color: ", ";\n\n background-color: ", ";\n"])), function (_a) {
|
|
100
|
-
var theme = _a.theme;
|
|
101
|
-
return getColors(theme).text.default;
|
|
102
|
-
}, function (_a) {
|
|
103
|
-
var theme = _a.theme,
|
|
104
|
-
isInverted = _a.isInverted;
|
|
105
|
-
return isInverted ? getColors(theme).elementBg.light : getColors(theme).elementBg.medium;
|
|
106
|
-
});
|
|
107
|
-
var InputField = styled.input.withConfig({
|
|
108
|
-
displayName: "SearchInput__InputField",
|
|
109
|
-
componentId: "sc-21j67n-1"
|
|
110
|
-
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: block;\n width: 100%;\n height: 100%;\n padding: ", "px ", "px;\n padding-left: ", ";\n padding-right: ", ";\n color: inherit;\n\n background-color: transparent;\n box-shadow: none;\n border: none;\n border-right: none;\n border-radius: 0px;\n outline: none;\n -webkit-appearance: none;\n\n font-family: ", ";\n font-weight: 400;\n ", "\n line-height: 1.25;\n\n &::placeholder {\n color: inherit;\n }\n\n &:focus {\n outline: ", ";\n outline-offset: 0;\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n"], ["\n display: block;\n width: 100%;\n height: 100%;\n padding: ", "px ", "px;\n padding-left: ", ";\n padding-right: ", ";\n color: inherit;\n\n background-color: transparent;\n box-shadow: none;\n border: none;\n border-right: none;\n border-radius: 0px;\n outline: none;\n -webkit-appearance: none;\n\n font-family: ", ";\n font-weight: 400;\n ", "\n line-height: 1.25;\n\n &::placeholder {\n color: inherit;\n }\n\n &:focus {\n outline: ", ";\n outline-offset: 0;\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n"])), spacings.nudge * 3, spacings.nudge * 3.5, function (_a) {
|
|
111
|
-
var hasLeftIcon = _a.hasLeftIcon;
|
|
112
|
-
return hasLeftIcon && spacings.spacer * 2.5 + 'px';
|
|
113
|
-
}, function (_a) {
|
|
114
|
-
var hasRightIcon = _a.hasRightIcon;
|
|
115
|
-
return hasRightIcon && spacings.spacer * 2.5 + 'px';
|
|
116
|
-
}, function (_a) {
|
|
117
|
-
var theme = _a.theme;
|
|
118
|
-
return getFonts(theme).copy.small.family;
|
|
119
|
-
}, function (_a) {
|
|
120
|
-
var theme = _a.theme;
|
|
121
|
-
return withRange(getFonts(theme).copy.small.size, 'font-size');
|
|
122
|
-
}, function (_a) {
|
|
123
|
-
var theme = _a.theme;
|
|
124
|
-
return "1px solid ".concat(getColors(theme).primary.default);
|
|
125
|
-
});
|
|
126
|
-
var ControlBtn = styled.button.withConfig({
|
|
127
|
-
displayName: "SearchInput__ControlBtn",
|
|
128
|
-
componentId: "sc-21j67n-2"
|
|
129
|
-
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 53px;\n\n margin: -2px;\n background-color: transparent;\n color: ", ";\n\n outline: none;\n border: none;\n user-select: none;\n cursor: pointer;\n /* transition: all ease-in-out 0.2s; */\n\n &:hover {\n transform: scale(1.02);\n }\n\n &:focus {\n text-decoration: underline;\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n text-decoration: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n"], ["\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 53px;\n\n margin: -2px;\n background-color: transparent;\n color: ", ";\n\n outline: none;\n border: none;\n user-select: none;\n cursor: pointer;\n /* transition: all ease-in-out 0.2s; */\n\n &:hover {\n transform: scale(1.02);\n }\n\n &:focus {\n text-decoration: underline;\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n text-decoration: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n"])), function (_a) {
|
|
130
|
-
var theme = _a.theme;
|
|
131
|
-
return getColors(theme).text.default;
|
|
132
|
-
});
|
|
133
|
-
var SubmitBtn = styled(ControlBtn).withConfig({
|
|
134
|
-
displayName: "SearchInput__SubmitBtn",
|
|
135
|
-
componentId: "sc-21j67n-3"
|
|
136
|
-
})(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n"])));
|
|
137
|
-
var ClearBtn = styled(ControlBtn).withConfig({
|
|
138
|
-
displayName: "SearchInput__ClearBtn",
|
|
139
|
-
componentId: "sc-21j67n-4"
|
|
140
|
-
})(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n"], ["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n"])));
|
|
141
|
-
|
|
142
|
-
var SearchInput = function (_a) {
|
|
143
|
-
var _b = _a.isInverted,
|
|
144
|
-
isInverted = _b === void 0 ? false : _b,
|
|
145
|
-
value = _a.value,
|
|
146
|
-
placeholder = _a.placeholder,
|
|
147
|
-
submitIcon = _a.submitIcon,
|
|
148
|
-
clearIcon = _a.clearIcon,
|
|
149
|
-
onSubmit = _a.onSubmit,
|
|
150
|
-
onClick = _a.onClick,
|
|
151
|
-
onClear = _a.onClear,
|
|
152
|
-
onBlur = _a.onBlur,
|
|
153
|
-
onFocus = _a.onFocus,
|
|
154
|
-
className = _a.className;
|
|
155
|
-
|
|
156
|
-
var handleKeyDown = function (ev) {
|
|
157
|
-
if (ev.keyCode === 13) {
|
|
158
|
-
onSubmit && onSubmit();
|
|
159
|
-
ev.preventDefault();
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
return React__default.createElement(View, {
|
|
164
|
-
isInverted: isInverted,
|
|
165
|
-
className: className
|
|
166
|
-
}, submitIcon && React__default.createElement(SubmitBtn, {
|
|
167
|
-
isInverted: isInverted,
|
|
168
|
-
onClick: function () {
|
|
169
|
-
return onSubmit && onSubmit();
|
|
170
|
-
}
|
|
171
|
-
}, submitIcon), React__default.createElement(InputField, {
|
|
172
|
-
hasLeftIcon: submitIcon !== undefined,
|
|
173
|
-
hasRightIcon: clearIcon !== undefined,
|
|
174
|
-
placeholder: placeholder,
|
|
175
|
-
value: value,
|
|
176
|
-
onClick: onClick,
|
|
177
|
-
onBlur: onBlur,
|
|
178
|
-
onFocus: onFocus,
|
|
179
|
-
onKeyDown: handleKeyDown
|
|
180
|
-
}), clearIcon && React__default.createElement(ClearBtn, {
|
|
181
|
-
isInverted: isInverted,
|
|
182
|
-
onClick: function () {
|
|
183
|
-
return onClear && onClear();
|
|
184
|
-
}
|
|
185
|
-
}, clearIcon));
|
|
186
|
-
};
|
|
187
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
188
|
-
|
|
189
|
-
export { CompactForm, SearchInput };
|
|
190
|
-
//# sourceMappingURL=fields.js.map
|
package/esm/fields.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fields.js","sources":["../src/components/fields/CompactForm.tsx","../src/components/fields/SearchInput.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport styled from 'styled-components';\nimport { useLibTheme } from 'utils/LibThemeProvider';\n\nimport {\n getColors as color,\n getFonts as font,\n mq,\n spacings,\n withRange,\n} from 'utils/styles';\n\nconst View = styled.form`\n width: 100%;\n display: flex;\n flex-direction: column;\n\n color: ${({ theme }) => color(theme).text.default};\n\n @media ${mq.medium} {\n flex-direction: row;\n }\n`;\n\nconst InputField = styled.input<{ backColor?: string }>`\n display: block;\n width: 100%;\n height: 49px;\n max-height: 49px;\n padding: ${spacings.nudge}px ${spacings.nudge * 3}px;\n color: inherit;\n\n background-color: ${({ backColor }) => backColor && backColor};\n box-shadow: none;\n border: none;\n border-right: none;\n border-radius: 0px;\n outline: none;\n -webkit-appearance: none;\n\n font-family: ${({ theme }) => font(theme).copy.small.family};\n font-weight: ${({ theme }) => font(theme).copy.small.weight};\n ${({ theme }) => withRange(font(theme).copy.small.size, 'font-size')}\n line-height: ${({ theme }) => font(theme).copy.small.lineHeight};\n\n &:focus {\n outline: ${({ theme }) => `2px solid ${color(theme).primary.default}`};\n outline-offset: 0;\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &::placeholder {\n color: inherit;\n }\n`;\n\nconst SubmitBtn = styled.button<{ isInverted?: boolean }>`\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 49px;\n\n margin-top: ${spacings.spacer * 0.5}px;\n\n background-color: ${({ theme }) => color(theme).primary.default};\n color: ${({ theme }) => color(theme).text.inverted};\n\n outline: none;\n border: none;\n user-select: none;\n cursor: pointer;\n transition: all ease-in-out 0.2s;\n\n @media ${mq.medium} {\n width: 100px;\n margin-top: 0;\n }\n\n &:hover {\n transform: scale(1.05);\n }\n\n &:focus {\n text-decoration: underline;\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n text-decoration: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n`;\n\nconst CompactForm: FC<{\n mode?: 'onSoft' | 'onDark' | 'default';\n value?: string;\n placeholder?: string;\n method?: string;\n action?: string;\n buttonIcon?: React.ReactNode;\n onSubmit?: (ev: React.SyntheticEvent<HTMLFormElement>) => void;\n onClick?: (ev: React.SyntheticEvent<HTMLInputElement>) => void;\n onFocus?: (ev: React.SyntheticEvent<HTMLInputElement>) => void;\n onBlur?: (ev: React.SyntheticEvent<HTMLInputElement>) => void;\n className?: string;\n}> = ({\n mode = 'default',\n value,\n placeholder,\n method,\n action,\n buttonIcon,\n onSubmit,\n onClick,\n onBlur,\n onFocus,\n className,\n}) => {\n const { colors } = useLibTheme();\n const bgColor =\n mode === 'default' ? colors.elementBg.medium : colors.elementBg.light;\n\n return (\n <View\n onSubmit={onSubmit}\n method={method}\n action={action}\n className={className}\n >\n <InputField\n placeholder={placeholder}\n value={value}\n onClick={onClick}\n onBlur={onBlur}\n onFocus={onFocus}\n backColor={bgColor}\n />\n {buttonIcon && (\n <SubmitBtn isInverted={mode === 'onDark'}>\n {buttonIcon}\n </SubmitBtn>\n )}\n </View>\n );\n};\n\nexport default CompactForm;\n","import React, { FC } from 'react';\nimport styled from 'styled-components';\n\nimport {\n getColors as color,\n getFonts as font,\n spacings,\n withRange,\n} from 'utils/styles';\n\nconst View = styled.div<{ isInverted?: boolean }>`\n position: relative;\n width: 100%;\n display: flex;\n flex-direction: row;\n\n color: ${({ theme }) => color(theme).text.default};\n\n background-color: ${({ theme, isInverted }) =>\n isInverted\n ? color(theme).elementBg.light\n : color(theme).elementBg.medium};\n`;\n\nconst InputField = styled.input<{\n hasLeftIcon?: boolean;\n hasRightIcon?: boolean;\n}>`\n display: block;\n width: 100%;\n height: 100%;\n padding: ${spacings.nudge * 3}px ${spacings.nudge * 3.5}px;\n padding-left: ${({ hasLeftIcon }) =>\n hasLeftIcon && spacings.spacer * 2.5 + 'px'};\n padding-right: ${({ hasRightIcon }) =>\n hasRightIcon && spacings.spacer * 2.5 + 'px'};\n color: inherit;\n\n background-color: transparent;\n box-shadow: none;\n border: none;\n border-right: none;\n border-radius: 0px;\n outline: none;\n -webkit-appearance: none;\n\n font-family: ${({ theme }) => font(theme).copy.small.family};\n font-weight: 400;\n ${({ theme }) => withRange(font(theme).copy.small.size, 'font-size')}\n line-height: 1.25;\n\n &::placeholder {\n color: inherit;\n }\n\n &:focus {\n outline: ${({ theme }) => `1px solid ${color(theme).primary.default}`};\n outline-offset: 0;\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n`;\n\nconst ControlBtn = styled.button<{ isInverted?: boolean }>`\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 53px;\n\n margin: -2px;\n background-color: transparent;\n color: ${({ theme }) => color(theme).text.default};\n\n outline: none;\n border: none;\n user-select: none;\n cursor: pointer;\n /* transition: all ease-in-out 0.2s; */\n\n &:hover {\n transform: scale(1.02);\n }\n\n &:focus {\n text-decoration: underline;\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n text-decoration: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n`;\n\nconst SubmitBtn = styled(ControlBtn)`\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n`;\n\nconst ClearBtn = styled(ControlBtn)`\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n`;\n\nconst SearchInput: FC<{\n isInverted?: boolean;\n value?: string;\n placeholder?: string;\n submitIcon?: React.ReactNode;\n clearIcon?: React.ReactNode;\n onSubmit?: () => void;\n onClear?: () => void;\n onClick?: (ev: React.SyntheticEvent<HTMLInputElement>) => void;\n onBlur?: (ev: React.SyntheticEvent<HTMLInputElement>) => void;\n onFocus?: (ev: React.SyntheticEvent<HTMLInputElement>) => void;\n className?: string;\n}> = ({\n isInverted = false,\n value,\n placeholder,\n submitIcon,\n clearIcon,\n onSubmit,\n onClick,\n onClear,\n onBlur,\n onFocus,\n className,\n}) => {\n const handleKeyDown = (ev: React.KeyboardEvent<HTMLInputElement>) => {\n if (ev.keyCode === 13) {\n onSubmit && onSubmit();\n ev.preventDefault();\n }\n };\n\n return (\n <View isInverted={isInverted} className={className}>\n {submitIcon && (\n <SubmitBtn\n isInverted={isInverted}\n onClick={() => onSubmit && onSubmit()}\n >\n {submitIcon}\n </SubmitBtn>\n )}\n <InputField\n hasLeftIcon={submitIcon !== undefined}\n hasRightIcon={clearIcon !== undefined}\n placeholder={placeholder}\n value={value}\n onClick={onClick}\n onBlur={onBlur}\n onFocus={onFocus}\n onKeyDown={handleKeyDown}\n />\n {clearIcon && (\n <ClearBtn\n isInverted={isInverted}\n onClick={() => onClear && onClear()}\n >\n {clearIcon}\n </ClearBtn>\n )}\n </View>\n );\n};\n\nexport default SearchInput;\n"],"names":["View","styled","form","templateObject_1","__makeTemplateObject","_a","theme","color","text","default","mq","medium","InputField","input","templateObject_2","spacings","nudge","backColor","font","copy","small","family","weight","withRange","size","lineHeight","concat","primary","SubmitBtn","button","templateObject_3","spacer","inverted","CompactForm","_b","mode","value","placeholder","method","action","buttonIcon","onSubmit","onClick","onBlur","onFocus","className","colors","useLibTheme","bgColor","elementBg","light","React","createElement","isInverted","div","hasLeftIcon","hasRightIcon","ControlBtn","templateObject_4","ClearBtn","templateObject_5","SearchInput","submitIcon","clearIcon","onClear","handleKeyDown","ev","keyCode","preventDefault","undefined","onKeyDown"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAYA,IAAMA,MAAI,GAAGC,MAAM,CAACC,IAAV,CAAA,UAAA,CAAA;AAAA,EAAA,WAAA,EAAA,mBAAA;AAAA,EAAA,WAAA,EAAA,aAAA;AAAA,CAAcC,CAAAA,CAAAA,kBAAA,KAAAA,kBAAA,GAAAC,oBAAA,CAAA,CAAA,oFAAA,EAAA,kBAAA,EAAA,2CAAA,CAAA,EAAA,CAAA,oFAAA,EAK6B,kBAL7B,EAOF,2CAPE,CAAA,CAAA,CAAd,EAKG,UAACC,EAAD,EAAU;AAAP,EAAA,IAAAC,KAAK,GAAAD,EAAA,CAAAC,KAAL,CAAA;AAAY,EAAA,OAAAC,SAAK,CAACD,KAAD,CAAL,CAAaE,IAAb,CAAkBC,OAAlB,CAAA;AAAyB,CAL3C,EAOGC,EAAE,CAACC,M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WAAW,EAAEO,UAAU,KAAKO,SAA5B;AACAb,IAAAA,YAAY,EAAEO,SAAS,KAAKM,SAD5B;AAEAhC,IAAAA,WAAW,EAAEA,WAFb;AAGAD,IAAAA,KAAK,EAAEA,KAHP;AAIAM,IAAAA,OAAO,EAAEA,OAJT;AAKAC,IAAAA,MAAM,EAAEA,MALR;AAMAC,IAAAA,OAAO,EAAEA,OANT;AAOA0B,IAAAA,SAAS,EAAEL,aAAAA;AAPX,GADJ,CATJ,EAmBKF,SAAS,IACNZ,cAAA,CAAAC,aAAA,CAACO,QAAD,EAAS;AACLN,IAAAA,UAAU,EAAEA,UADP;AAELX,IAAAA,OAAO,EAAE,YAAA;AAAM,MAAAsB,OAAAA,OAAO,IAAIA,OAAO,EAAlB,CAAA;AAAoB,KAAA;AAF9B,GAAT,EAIKD,SAJL,CApBR,CADJ,CAAA;AA8BH,EA9DD;;;;;"}
|
package/esm/footer.js
DELETED
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
import { a as __makeTemplateObject, _ as __assign, H as LanguageIcon } from './ClockFilled-6bae80dc.js';
|
|
2
|
-
import { G as Grid } from './Grid-172051a9.js';
|
|
3
|
-
import { S as Section, m as mapToBgMode, W as Wrapper } from './Wrapper-1cac758b.js';
|
|
4
|
-
import { c as copyStyle, C as Copy } from './Copy-bca0854c.js';
|
|
5
|
-
import { L as Link } from './Link-bccdb082.js';
|
|
6
|
-
import React__default, { useMemo } from 'react';
|
|
7
|
-
import styled from 'styled-components';
|
|
8
|
-
import { w as withLibTheme, u as useLibTheme } from './LibThemeProvider-acf2e2bb.js';
|
|
9
|
-
import { g as getColors, s as spacings, m as mq, w as withRange } from './styles-c387bdc6.js';
|
|
10
|
-
import { L as LanguageSwitcher } from './LanguageSwitcher-57c4a924.js';
|
|
11
|
-
import { B as Bdot } from './Bdot-434dd994.js';
|
|
12
|
-
import { i as isValidArray } from './arrays-65b644ef.js';
|
|
13
|
-
import { S as SocialList } from './SocialList-f7864b30.js';
|
|
14
|
-
import './clamp-12d37b65.js';
|
|
15
|
-
import './concat-ab3c66f2.js';
|
|
16
|
-
import 'react-dom/server';
|
|
17
|
-
|
|
18
|
-
var View$1 = styled.div.withConfig({
|
|
19
|
-
displayName: "FooterBottomGrid__View",
|
|
20
|
-
componentId: "sc-k4buhx-0"
|
|
21
|
-
})(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n border-top: 1px solid ", ";\n padding: ", "px 0;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n & > * + * {\n margin-top: 0;\n margin-left: ", "px;\n }\n }\n"], ["\n border-top: 1px solid ", ";\n padding: ", "px 0;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n & > * + * {\n margin-top: 0;\n margin-left: ", "px;\n }\n }\n"])), function (_a) {
|
|
22
|
-
var theme = _a.theme;
|
|
23
|
-
return getColors(theme).elementBg.medium;
|
|
24
|
-
}, spacings.nudge * 2, spacings.nudge * 2, mq.semilarge, spacings.nudge * 2);
|
|
25
|
-
var LinkListView = styled.ul.withConfig({
|
|
26
|
-
displayName: "FooterBottomGrid__LinkListView",
|
|
27
|
-
componentId: "sc-k4buhx-1"
|
|
28
|
-
})(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n padding: 0;\n margin: 0;\n list-style: none;\n\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n align-items: center;\n\n margin-left: -", "px;\n"], ["\n padding: 0;\n margin: 0;\n list-style: none;\n\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n align-items: center;\n\n margin-left: -", "px;\n"])), spacings.nudge);
|
|
29
|
-
var BottomLinkItem = styled.li.withConfig({
|
|
30
|
-
displayName: "FooterBottomGrid__BottomLinkItem",
|
|
31
|
-
componentId: "sc-k4buhx-2"
|
|
32
|
-
})(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n\n padding-left: ", "px;\n"], ["\n display: flex;\n align-items: center;\n\n padding-left: ", "px;\n"])), spacings.nudge);
|
|
33
|
-
var StyledLink$1 = styled(Link).withConfig({
|
|
34
|
-
displayName: "FooterBottomGrid__StyledLink",
|
|
35
|
-
componentId: "sc-k4buhx-3"
|
|
36
|
-
})(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n display: block;\n text-decoration: none;\n\n ", "\n color: ", ";\n"], ["\n display: block;\n text-decoration: none;\n\n ", "\n color: ", ";\n"])), copyStyle('copy', 'small'), function (_a) {
|
|
37
|
-
var theme = _a.theme,
|
|
38
|
-
isInverted = _a.isInverted;
|
|
39
|
-
return isInverted ? getColors(theme).text.inverted : getColors(theme).text.default;
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
var LinkList$1 = function (_a) {
|
|
43
|
-
var isInverted = _a.isInverted,
|
|
44
|
-
links = _a.links,
|
|
45
|
-
brandIcon = _a.brandIcon,
|
|
46
|
-
className = _a.className;
|
|
47
|
-
var brand = useMemo(function () {
|
|
48
|
-
return brandIcon === null || brandIcon === void 0 ? void 0 : brandIcon(isInverted);
|
|
49
|
-
}, [brandIcon, isInverted]);
|
|
50
|
-
return React__default.createElement(LinkListView, {
|
|
51
|
-
className: className
|
|
52
|
-
}, links === null || links === void 0 ? void 0 : links.map(function (item, i) {
|
|
53
|
-
return React__default.createElement(BottomLinkItem, {
|
|
54
|
-
key: i
|
|
55
|
-
}, React__default.createElement(StyledLink$1, __assign({}, item.link, {
|
|
56
|
-
isInverted: isInverted
|
|
57
|
-
}), item.label));
|
|
58
|
-
}), brand !== null && React__default.createElement(BottomLinkItem, null, brand || React__default.createElement(Bdot, null)));
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
var FooterBottomGrid = function (_a) {
|
|
62
|
-
var className = _a.className,
|
|
63
|
-
children = _a.children;
|
|
64
|
-
return React__default.createElement(View$1, {
|
|
65
|
-
className: className
|
|
66
|
-
}, children);
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
var FooterBottomGrid$1 = {
|
|
70
|
-
View: FooterBottomGrid,
|
|
71
|
-
LinkList: LinkList$1
|
|
72
|
-
};
|
|
73
|
-
var templateObject_1$3, templateObject_2$1, templateObject_3$1, templateObject_4$1;
|
|
74
|
-
|
|
75
|
-
var LeftWrapper = styled.div.withConfig({
|
|
76
|
-
displayName: "FooterBottomBar__LeftWrapper",
|
|
77
|
-
componentId: "sc-bymlk0-0"
|
|
78
|
-
})(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n margin-left: -", "px;\n\n & > * {\n padding-left: ", "px;\n }\n"], ["\n display: flex;\n flex-wrap: wrap;\n margin-left: -", "px;\n\n & > * {\n padding-left: ", "px;\n }\n"])), spacings.spacer, spacings.spacer);
|
|
79
|
-
|
|
80
|
-
var FooterBottomBar = function (_a) {
|
|
81
|
-
var isInverted = _a.isInverted,
|
|
82
|
-
languages = _a.languages,
|
|
83
|
-
linksLeft = _a.linksLeft,
|
|
84
|
-
linksRight = _a.linksRight,
|
|
85
|
-
brandIcon = _a.brandIcon,
|
|
86
|
-
languageIcon = _a.languageIcon,
|
|
87
|
-
className = _a.className;
|
|
88
|
-
return React__default.createElement(FooterBottomGrid$1.View, {
|
|
89
|
-
className: className
|
|
90
|
-
}, React__default.createElement(LeftWrapper, null, languages && React__default.createElement(LanguageSwitcher, {
|
|
91
|
-
isInverted: isInverted,
|
|
92
|
-
langs: languages,
|
|
93
|
-
languageIcon: languageIcon ? languageIcon : function () {
|
|
94
|
-
return React__default.createElement(LanguageIcon, null);
|
|
95
|
-
},
|
|
96
|
-
textSize: "small"
|
|
97
|
-
}), isValidArray(linksLeft, false) && React__default.createElement(FooterBottomGrid$1.LinkList, {
|
|
98
|
-
links: linksLeft,
|
|
99
|
-
isInverted: isInverted,
|
|
100
|
-
brandIcon: function () {
|
|
101
|
-
return null;
|
|
102
|
-
}
|
|
103
|
-
})), isValidArray(linksRight) && React__default.createElement(FooterBottomGrid$1.LinkList, {
|
|
104
|
-
links: linksRight,
|
|
105
|
-
isInverted: isInverted,
|
|
106
|
-
brandIcon: brandIcon
|
|
107
|
-
}));
|
|
108
|
-
};
|
|
109
|
-
var templateObject_1$2;
|
|
110
|
-
|
|
111
|
-
var FooterSection = styled(Section).withConfig({
|
|
112
|
-
displayName: "Footer__FooterSection",
|
|
113
|
-
componentId: "sc-9q145o-0"
|
|
114
|
-
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), withRange([0], 'padding-bottom'), withRange([0], 'margin-bottom'));
|
|
115
|
-
var MainView = styled.div.withConfig({
|
|
116
|
-
displayName: "Footer__MainView",
|
|
117
|
-
componentId: "sc-9q145o-1"
|
|
118
|
-
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n & > * {\n margin-bottom: ", "px;\n }\n"], ["\n & > * {\n margin-bottom: ", "px;\n }\n"])), spacings.nudge * 2);
|
|
119
|
-
var ColTitle = styled(Copy).withConfig({
|
|
120
|
-
displayName: "Footer__ColTitle",
|
|
121
|
-
componentId: "sc-9q145o-2"
|
|
122
|
-
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n margin-bottom: ", "px;\n"], ["\n margin-bottom: ", "px;\n"])), spacings.nudge * 2);
|
|
123
|
-
var StyledLink = styled(Link).withConfig({
|
|
124
|
-
displayName: "Footer__StyledLink",
|
|
125
|
-
componentId: "sc-9q145o-3"
|
|
126
|
-
})(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: inline-block;\n text-decoration: none;\n\n ", "\n color: ", ";\n"], ["\n display: inline-block;\n text-decoration: none;\n\n ", "\n color: ", ";\n"])), copyStyle('copy', 'medium'), function (_a) {
|
|
127
|
-
var theme = _a.theme,
|
|
128
|
-
isInverted = _a.isInverted;
|
|
129
|
-
return isInverted ? getColors(theme).text.inverted : getColors(theme).text.default;
|
|
130
|
-
});
|
|
131
|
-
var LinkList = styled.ul.withConfig({
|
|
132
|
-
displayName: "Footer__LinkList",
|
|
133
|
-
componentId: "sc-9q145o-4"
|
|
134
|
-
})(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n padding: 0;\n margin: 0;\n list-style: none;\n"], ["\n padding: 0;\n margin: 0;\n list-style: none;\n"])));
|
|
135
|
-
var LinkItem = styled.li.withConfig({
|
|
136
|
-
displayName: "Footer__LinkItem",
|
|
137
|
-
componentId: "sc-9q145o-5"
|
|
138
|
-
})(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n & + & {\n margin-top: ", "px;\n }\n"], ["\n & + & {\n margin-top: ", "px;\n }\n"])), spacings.nudge);
|
|
139
|
-
var CustomCol = styled.div.withConfig({
|
|
140
|
-
displayName: "Footer__CustomCol",
|
|
141
|
-
componentId: "sc-9q145o-6"
|
|
142
|
-
})(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n & > * + * {\n margin-top: ", "px;\n }\n }\n"], ["\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n & > * + * {\n margin-top: ", "px;\n }\n }\n"])), spacings.nudge * 5, mq.semilarge, spacings.spacer);
|
|
143
|
-
var FootNote = styled(Copy).withConfig({
|
|
144
|
-
displayName: "Footer__FootNote",
|
|
145
|
-
componentId: "sc-9q145o-7"
|
|
146
|
-
})(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n margin-top: ", "px;\n\n @media ", " {\n margin-top: ", "px;\n }\n"], ["\n margin-top: ", "px;\n\n @media ", " {\n margin-top: ", "px;\n }\n"])), spacings.nudge * 5, mq.semilarge, spacings.spacer);
|
|
147
|
-
|
|
148
|
-
var Footer = function (_a) {
|
|
149
|
-
var bgMode = _a.bgMode,
|
|
150
|
-
siteLinks = _a.siteLinks,
|
|
151
|
-
customColumn = _a.customColumn,
|
|
152
|
-
footNote = _a.footNote,
|
|
153
|
-
bottomBar = _a.bottomBar,
|
|
154
|
-
bottomLinksLeft = _a.bottomLinksLeft,
|
|
155
|
-
bottomLinksRight = _a.bottomLinksRight,
|
|
156
|
-
languages = _a.languages;
|
|
157
|
-
var colors = useLibTheme().colors;
|
|
158
|
-
var isInverted = bgMode === 'inverted';
|
|
159
|
-
var customCol = useMemo(function () {
|
|
160
|
-
return customColumn ? customColumn({
|
|
161
|
-
isInverted: isInverted,
|
|
162
|
-
siteLinks: siteLinks,
|
|
163
|
-
languages: languages,
|
|
164
|
-
bottomLinksLeft: bottomLinksLeft,
|
|
165
|
-
bottomLinksRight: bottomLinksRight
|
|
166
|
-
}) : undefined;
|
|
167
|
-
}, [bottomLinksLeft, bottomLinksRight, customColumn, isInverted, languages, siteLinks]);
|
|
168
|
-
var bottom = useMemo(function () {
|
|
169
|
-
return bottomBar ? bottomBar({
|
|
170
|
-
isInverted: isInverted,
|
|
171
|
-
siteLinks: siteLinks,
|
|
172
|
-
languages: languages,
|
|
173
|
-
bottomLinksLeft: bottomLinksLeft,
|
|
174
|
-
bottomLinksRight: bottomLinksRight
|
|
175
|
-
}) : undefined;
|
|
176
|
-
}, [bottomBar, bottomLinksLeft, bottomLinksRight, isInverted, languages, siteLinks]);
|
|
177
|
-
var hasBottomBar = useMemo(function () {
|
|
178
|
-
if (bottomBar === null) return false;
|
|
179
|
-
if (bottom) return true;
|
|
180
|
-
if (bottom === null) return false;
|
|
181
|
-
return isValidArray(languages, false) || isValidArray(bottomLinksLeft, false) || isValidArray(bottomLinksRight, false);
|
|
182
|
-
}, [bottom, bottomBar, bottomLinksLeft, bottomLinksRight, languages]);
|
|
183
|
-
return React__default.createElement(FooterSection, {
|
|
184
|
-
addSeperation: true,
|
|
185
|
-
renderAs: "footer",
|
|
186
|
-
clampSolidBg: false,
|
|
187
|
-
bgMode: mapToBgMode(bgMode, true),
|
|
188
|
-
bgColor: isInverted ? colors.sectionBg.dark : bgMode ? colors.sectionBg.medium : colors.sectionBg.light
|
|
189
|
-
}, React__default.createElement(Wrapper, {
|
|
190
|
-
addWhitespace: true
|
|
191
|
-
}, React__default.createElement(MainView, null, React__default.createElement(Grid.Row, {
|
|
192
|
-
gutter: spacings.nudge * 5,
|
|
193
|
-
medium: {
|
|
194
|
-
gutter: spacings.spacer
|
|
195
|
-
}
|
|
196
|
-
}, siteLinks === null || siteLinks === void 0 ? void 0 : siteLinks.map(function (_a, i) {
|
|
197
|
-
var title = _a.title,
|
|
198
|
-
links = _a.links;
|
|
199
|
-
return React__default.createElement(Grid.Col, {
|
|
200
|
-
key: i,
|
|
201
|
-
medium: {
|
|
202
|
-
span: 6 / 12
|
|
203
|
-
},
|
|
204
|
-
semilarge: {
|
|
205
|
-
span: 4 / 12
|
|
206
|
-
},
|
|
207
|
-
large: {
|
|
208
|
-
span: 3 / 12
|
|
209
|
-
},
|
|
210
|
-
valign: "top"
|
|
211
|
-
}, React__default.createElement(ColTitle, {
|
|
212
|
-
type: "copy-b",
|
|
213
|
-
isInverted: isInverted
|
|
214
|
-
}, title), React__default.createElement(LinkList, null, links === null || links === void 0 ? void 0 : links.map(function (_a, ii) {
|
|
215
|
-
var link = _a.link,
|
|
216
|
-
label = _a.label;
|
|
217
|
-
return React__default.createElement(LinkItem, {
|
|
218
|
-
key: ii
|
|
219
|
-
}, React__default.createElement(StyledLink, __assign({}, link, {
|
|
220
|
-
isInverted: isInverted
|
|
221
|
-
}), label));
|
|
222
|
-
})));
|
|
223
|
-
}), customCol && React__default.createElement(Grid.Col, {
|
|
224
|
-
large: {
|
|
225
|
-
span: 3 / 12
|
|
226
|
-
},
|
|
227
|
-
toRight: true,
|
|
228
|
-
valign: "top"
|
|
229
|
-
}, React__default.createElement(CustomCol, null, customCol))), footNote && React__default.createElement(FootNote, {
|
|
230
|
-
size: "small",
|
|
231
|
-
isInverted: isInverted,
|
|
232
|
-
innerHTML: footNote
|
|
233
|
-
})), bottom ? bottom : hasBottomBar ? React__default.createElement(FooterBottomBar, {
|
|
234
|
-
isInverted: isInverted,
|
|
235
|
-
linksLeft: bottomLinksLeft,
|
|
236
|
-
linksRight: bottomLinksRight,
|
|
237
|
-
languages: languages
|
|
238
|
-
}) : null));
|
|
239
|
-
};
|
|
240
|
-
var Footer$1 = withLibTheme(Footer);
|
|
241
|
-
var templateObject_1$1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
|
|
242
|
-
|
|
243
|
-
var View = styled.div.withConfig({
|
|
244
|
-
displayName: "FooterArticle__View",
|
|
245
|
-
componentId: "sc-apxyjh-0"
|
|
246
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.nudge * 2);
|
|
247
|
-
|
|
248
|
-
var FooterArticle = function (_a) {
|
|
249
|
-
var isInverted = _a.isInverted,
|
|
250
|
-
title = _a.title,
|
|
251
|
-
text = _a.text,
|
|
252
|
-
action = _a.action,
|
|
253
|
-
className = _a.className;
|
|
254
|
-
return React__default.createElement(View, {
|
|
255
|
-
className: className
|
|
256
|
-
}, title && React__default.createElement(Copy, {
|
|
257
|
-
type: "copy-b",
|
|
258
|
-
isInverted: isInverted
|
|
259
|
-
}, title), text && React__default.createElement(Copy, {
|
|
260
|
-
size: "small",
|
|
261
|
-
isInverted: isInverted,
|
|
262
|
-
innerHTML: text
|
|
263
|
-
}), action && action({
|
|
264
|
-
isInverted: isInverted
|
|
265
|
-
}));
|
|
266
|
-
};
|
|
267
|
-
var templateObject_1;
|
|
268
|
-
|
|
269
|
-
var FooterColumn = function (_a) {
|
|
270
|
-
var isInverted = _a.isInverted,
|
|
271
|
-
title = _a.title,
|
|
272
|
-
text = _a.text,
|
|
273
|
-
action = _a.action,
|
|
274
|
-
socialTitle = _a.socialTitle,
|
|
275
|
-
socials = _a.socials;
|
|
276
|
-
return React__default.createElement(React__default.Fragment, null, (title || text || action) && React__default.createElement(FooterArticle, {
|
|
277
|
-
isInverted: isInverted,
|
|
278
|
-
title: title,
|
|
279
|
-
text: text,
|
|
280
|
-
action: action
|
|
281
|
-
}), socials && socials.length > 0 && React__default.createElement(SocialList, {
|
|
282
|
-
isInverted: isInverted,
|
|
283
|
-
title: socialTitle,
|
|
284
|
-
items: socials
|
|
285
|
-
}));
|
|
286
|
-
};
|
|
287
|
-
|
|
288
|
-
var index$1 = /*#__PURE__*/Object.freeze({
|
|
289
|
-
__proto__: null,
|
|
290
|
-
FooterColumn: FooterColumn,
|
|
291
|
-
FooterBottomBar: FooterBottomBar
|
|
292
|
-
});
|
|
293
|
-
|
|
294
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
295
|
-
__proto__: null,
|
|
296
|
-
FooterArticle: FooterArticle,
|
|
297
|
-
FooterBottomGrid: FooterBottomGrid$1
|
|
298
|
-
});
|
|
299
|
-
|
|
300
|
-
export { Footer$1 as Footer, index$1 as FooterPartials, index as FooterSkeletons };
|
|
301
|
-
//# sourceMappingURL=footer.js.map
|
package/esm/footer.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"footer.js","sources":["../src/components/sections/footer/skeletons/FooterBottomGrid.tsx","../src/components/sections/footer/partials/FooterBottomBar.tsx","../src/components/sections/footer/Footer.tsx","../src/components/sections/footer/skeletons/FooterArticle.tsx","../src/components/sections/footer/partials/FooterColumn.tsx"],"sourcesContent":["import React, { FC, useMemo } from 'react';\nimport styled from 'styled-components';\n\nimport Bdot from 'components/blocks/Bdot';\nimport { copyStyle } from 'components/typography/Copy';\nimport Link from 'components/typography/Link';\n\nimport { spacings, getColors as color, mq } from 'utils/styles';\nimport { BottomLink } from '../Footer';\n\nconst View = styled.div`\n border-top: 1px solid ${({ theme }) => color(theme).elementBg.medium};\n padding: ${spacings.nudge * 2}px 0;\n\n & > * + * {\n margin-top: ${spacings.nudge * 2}px;\n }\n\n @media ${mq.semilarge} {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n & > * + * {\n margin-top: 0;\n margin-left: ${spacings.nudge * 2}px;\n }\n }\n`;\n\nconst LinkListView = styled.ul`\n padding: 0;\n margin: 0;\n list-style: none;\n\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n align-items: center;\n\n margin-left: -${spacings.nudge}px;\n`;\n\nconst BottomLinkItem = styled.li`\n display: flex;\n align-items: center;\n\n padding-left: ${spacings.nudge}px;\n`;\n\nconst StyledLink = styled(Link)<{ isInverted?: boolean }>`\n display: block;\n text-decoration: none;\n\n ${copyStyle('copy', 'small')}\n color: ${({ theme, isInverted }) =>\n isInverted ? color(theme).text.inverted : color(theme).text.default};\n`;\n\nconst LinkList: FC<{\n isInverted?: boolean;\n links?: BottomLink[];\n brandIcon?: (isInverted?: boolean) => React.ReactNode | null;\n className?: string;\n}> = ({ isInverted, links, brandIcon, className }) => {\n const brand = useMemo(\n () => brandIcon?.(isInverted),\n [brandIcon, isInverted]\n );\n\n return (\n <LinkListView className={className}>\n {links?.map((item, i) => (\n <BottomLinkItem key={i}>\n <StyledLink {...item.link} isInverted={isInverted}>\n {item.label}\n </StyledLink>\n </BottomLinkItem>\n ))}\n {brand !== null && (\n <BottomLinkItem>{brand || <Bdot />}</BottomLinkItem>\n )}\n </LinkListView>\n );\n};\n\nconst FooterBottomGrid: FC<{\n className?: string;\n children?: React.ReactNode;\n}> = ({ className, children }) => {\n return <View className={className}>{children}</View>;\n};\n\nexport default {\n View: FooterBottomGrid,\n LinkList: LinkList,\n};\n","import React, { FC } from 'react';\n\nimport LanguageSwitcher, { Language } from 'components/blocks/LanguageSwitcher';\nimport FooterBottomGrid from '../skeletons/FooterBottomGrid';\nimport { BottomLink } from '../Footer';\nimport * as Icons from 'icons';\nimport { isValidArray } from 'utils/arrays';\nimport styled from 'styled-components';\nimport { spacings } from 'utils/styles';\n\nconst LeftWrapper = styled.div`\n display: flex;\n flex-wrap: wrap;\n margin-left: -${spacings.spacer}px;\n\n & > * {\n padding-left: ${spacings.spacer}px;\n }\n`;\n\nconst FooterBottomBar: FC<{\n isInverted?: boolean;\n languages?: Language[];\n linksLeft?: BottomLink[];\n linksRight?: BottomLink[];\n brandIcon?: (isInverted?: boolean) => React.ReactNode;\n languageIcon?: (isInverted?: boolean) => React.ReactNode;\n className?: string;\n}> = ({\n isInverted,\n languages,\n linksLeft,\n linksRight,\n brandIcon,\n languageIcon,\n className,\n}) => {\n return (\n <FooterBottomGrid.View className={className}>\n <LeftWrapper>\n {languages && (\n <LanguageSwitcher\n isInverted={isInverted}\n langs={languages}\n languageIcon={\n languageIcon\n ? languageIcon\n : () => <Icons.Language />\n }\n textSize=\"small\"\n />\n )}\n {isValidArray(linksLeft, false) && (\n <FooterBottomGrid.LinkList\n links={linksLeft}\n isInverted={isInverted}\n brandIcon={() => null}\n />\n )}\n </LeftWrapper>\n {isValidArray(linksRight) && (\n <FooterBottomGrid.LinkList\n links={linksRight}\n isInverted={isInverted}\n brandIcon={brandIcon}\n />\n )}\n </FooterBottomGrid.View>\n );\n};\n\nexport default FooterBottomBar;\n","import Grid from 'components/base/Grid';\nimport Section, { mapToBgMode } from 'components/base/Section';\nimport Wrapper from 'components/base/Wrapper';\nimport { Language } from 'components/blocks/LanguageSwitcher';\nimport Copy, { copyStyle } from 'components/typography/Copy';\nimport Link, { LinkProps } from 'components/typography/Link';\nimport React, { useMemo } from 'react';\nimport styled from 'styled-components';\nimport { useLibTheme } from 'utils/LibThemeProvider';\nimport { getColors as color, mq, spacings, withRange } from 'utils/styles';\nimport { withLibTheme } from 'utils/LibThemeProvider';\nimport FooterBottomBar from './partials/FooterBottomBar';\nimport { isValidArray } from 'utils/arrays';\n\nconst FooterSection = styled(Section)`\n ${withRange([0], 'padding-bottom')}\n ${withRange([0], 'margin-bottom')}\n`;\n\nconst MainView = styled.div`\n & > * {\n margin-bottom: ${spacings.nudge * 2}px;\n }\n`;\n\nconst ColTitle = styled(Copy)`\n margin-bottom: ${spacings.nudge * 2}px;\n`;\n\nconst StyledLink = styled(Link)<{ isInverted?: boolean }>`\n display: inline-block;\n text-decoration: none;\n\n ${copyStyle('copy', 'medium')}\n color: ${({ theme, isInverted }) =>\n isInverted ? color(theme).text.inverted : color(theme).text.default};\n`;\n\nconst LinkList = styled.ul`\n padding: 0;\n margin: 0;\n list-style: none;\n`;\n\nconst LinkItem = styled.li`\n & + & {\n margin-top: ${spacings.nudge}px;\n }\n`;\n\nconst CustomCol = styled.div`\n & > * + * {\n margin-top: ${spacings.nudge * 5}px;\n }\n\n @media ${mq.semilarge} {\n & > * + * {\n margin-top: ${spacings.spacer}px;\n }\n }\n`;\n\nconst FootNote = styled(Copy)`\n margin-top: ${spacings.nudge * 5}px;\n\n @media ${mq.semilarge} {\n margin-top: ${spacings.spacer}px;\n }\n`;\n\nexport interface SiteLinkGroup {\n title?: string;\n links?: Array<{ label?: string; link?: LinkProps }>;\n}\n\nexport interface FooterState {\n isInverted?: boolean;\n siteLinks?: SiteLinkGroup[];\n bottomLinksLeft?: BottomLink[];\n bottomLinksRight?: BottomLink[];\n languages?: Language[];\n}\n\nexport interface BottomLink {\n label?: string;\n link?: LinkProps;\n}\n\nconst Footer: React.FC<{\n /** ID value for targeting section with anchor hashes */\n anchorId?: string;\n\n /** Section background */\n bgMode?: 'full' | 'inverted';\n\n /** Array of sitelink groups */\n siteLinks?: SiteLinkGroup[];\n\n /** Function to inject custom footer column content */\n customColumn?: (props: FooterState) => React.ReactNode;\n\n /** Footnote text of main section (richtext) */\n footNote?: string;\n\n /** Link list in left bottom bar */\n bottomLinksLeft?: BottomLink[];\n\n /** Link list in right bottom bar */\n bottomLinksRight?: BottomLink[];\n\n /** Language toggler settings */\n languages?: Language[];\n\n /** Inject function to suppress bottom bar or define a custom definition */\n bottomBar?: ((props: FooterState) => React.ReactNode | null) | null;\n}> = ({\n bgMode,\n siteLinks,\n customColumn,\n footNote,\n bottomBar,\n bottomLinksLeft,\n bottomLinksRight,\n languages,\n}) => {\n const { colors } = useLibTheme();\n const isInverted = bgMode === 'inverted';\n\n const customCol = useMemo(() => {\n return customColumn\n ? customColumn({\n isInverted,\n siteLinks,\n languages,\n bottomLinksLeft,\n bottomLinksRight,\n })\n : undefined;\n }, [\n bottomLinksLeft,\n bottomLinksRight,\n customColumn,\n isInverted,\n languages,\n siteLinks,\n ]);\n\n const bottom = useMemo(() => {\n return bottomBar\n ? bottomBar({\n isInverted,\n siteLinks,\n languages,\n bottomLinksLeft,\n bottomLinksRight,\n })\n : undefined;\n }, [\n bottomBar,\n bottomLinksLeft,\n bottomLinksRight,\n isInverted,\n languages,\n siteLinks,\n ]);\n\n const hasBottomBar = useMemo(() => {\n if (bottomBar === null) return false;\n if (bottom) return true;\n if (bottom === null) return false;\n\n return (\n isValidArray(languages, false) ||\n isValidArray(bottomLinksLeft, false) ||\n isValidArray(bottomLinksRight, false)\n );\n }, [bottom, bottomBar, bottomLinksLeft, bottomLinksRight, languages]);\n\n return (\n <FooterSection\n addSeperation\n renderAs=\"footer\"\n clampSolidBg={false}\n bgMode={mapToBgMode(bgMode, true)}\n bgColor={\n isInverted\n ? colors.sectionBg.dark\n : bgMode\n ? colors.sectionBg.medium\n : colors.sectionBg.light\n }\n >\n <Wrapper addWhitespace>\n <MainView>\n <Grid.Row\n gutter={spacings.nudge * 5}\n medium={{ gutter: spacings.spacer }}\n >\n {siteLinks?.map(({ title, links }, i) => {\n return (\n <Grid.Col\n key={i}\n medium={{ span: 6 / 12 }}\n semilarge={{ span: 4 / 12 }}\n large={{ span: 3 / 12 }}\n valign=\"top\"\n >\n <ColTitle\n type=\"copy-b\"\n isInverted={isInverted}\n >\n {title}\n </ColTitle>\n <LinkList>\n {links?.map(({ link, label }, ii) => (\n <LinkItem key={ii}>\n <StyledLink\n {...link}\n isInverted={isInverted}\n >\n {label}\n </StyledLink>\n </LinkItem>\n ))}\n </LinkList>\n </Grid.Col>\n );\n })}\n {customCol && (\n <Grid.Col\n large={{ span: 3 / 12 }}\n toRight\n valign=\"top\"\n >\n <CustomCol>{customCol}</CustomCol>\n </Grid.Col>\n )}\n </Grid.Row>\n {footNote && (\n <FootNote\n size=\"small\"\n isInverted={isInverted}\n innerHTML={footNote}\n />\n )}\n </MainView>\n {bottom ? (\n bottom\n ) : hasBottomBar ? (\n <FooterBottomBar\n isInverted={isInverted}\n linksLeft={bottomLinksLeft}\n linksRight={bottomLinksRight}\n languages={languages}\n />\n ) : null}\n </Wrapper>\n </FooterSection>\n );\n};\n\nexport const FooterComponent = Footer;\nexport default withLibTheme(Footer);\n","import React, { FC } from 'react';\nimport styled from 'styled-components';\nimport { spacings } from 'utils/styles';\n\nimport Copy from 'components/typography/Copy';\n\nconst View = styled.div`\n & > * + * {\n margin-top: ${spacings.nudge * 2}px;\n }\n`;\n\nconst FooterArticle: FC<{\n isInverted?: boolean;\n title?: string;\n text?: string;\n action?: (props: { isInverted?: boolean }) => React.ReactNode;\n className?: string;\n}> = ({ isInverted, title, text, action, className }) => {\n return (\n <View className={className}>\n {title && (\n <Copy type=\"copy-b\" isInverted={isInverted}>\n {title}\n </Copy>\n )}\n {text && (\n <Copy size=\"small\" isInverted={isInverted} innerHTML={text} />\n )}\n {action && action({ isInverted })}\n </View>\n );\n};\n\nexport default FooterArticle;\n","import SocialList, { SocialItem } from 'components/blocks/SocialList';\nimport React, { FC } from 'react';\nimport FooterArticle from '../skeletons/FooterArticle';\n\nconst FooterColumn: FC<{\n isInverted?: boolean;\n title?: string;\n text?: string;\n action?: (props: { isInverted?: boolean }) => React.ReactNode;\n socialTitle?: string;\n socials?: SocialItem[];\n}> = ({ isInverted, title, text, action, socialTitle, socials }) => {\n return (\n <React.Fragment>\n {(title || text || action) && (\n <FooterArticle\n isInverted={isInverted}\n title={title}\n text={text}\n action={action}\n />\n )}\n {socials && socials.length > 0 && (\n <SocialList\n isInverted={isInverted}\n title={socialTitle}\n items={socials}\n />\n )}\n </React.Fragment>\n );\n};\n\nexport default FooterColumn;\n"],"names":["View","styled","div","templateObject_1","__makeTemplateObject","_a","theme","color","elementBg","medium","spacings","nudge","mq","semilarge","LinkListView","ul","templateObject_2","BottomLinkItem","li","templateObject_3","StyledLink","Link","templateObject_4","copyStyle","isInverted","text","inverted","default","LinkList","links","brandIcon","className","brand","useMemo","React","createElement","map","item","i","key","__assign","link","label","Bdot","FooterBottomGrid","children","LeftWrapper","spacer","FooterBottomBar","languages","linksLeft","linksRight","languageIcon","LanguageSwitcher","langs","Icons","textSize","isValidArray","FooterSection","Section","withRange","MainView","ColTitle","Copy","templateObject_5","LinkItem","templateObject_6","CustomCol","templateObject_7","FootNote","templateObject_8","Footer","bgMode","siteLinks","customColumn","footNote","bottomBar","bottomLinksLeft","bottomLinksRight","colors","useLibTheme","customCol","undefined","bottom","hasBottomBar","addSeperation","renderAs","clampSolidBg","mapToBgMode","bgColor","sectionBg","dark","light","Wrapper","addWhitespace","Grid","Row","gutter","title","Col","span","large","valign","type","ii","toRight","size","innerHTML","withLibTheme","FooterArticle","action","FooterColumn","socialTitle","socials","Fragment","length","SocialList","items"],"mappings":";;;;;;;;;;;;;;;;;AAUA,IAAMA,MAAI,GAAGC,MAAM,CAACC,GAAV,CAAA,UAAA,CAAA;AAAA,EAAA,WAAA,EAAA,wBAAA;AAAA,EAAA,WAAA,EAAA,aAAA;AAAA,CAAA,CAAA,CAAaC,kBAAA,KAAAA,kBAAA,GAAAC,oBAAA,CAAA,CAAA,8BAAA,EAAA,kBAAA,EAAA,gDAAA,EAAA,2BAAA,EAAA,+MAAA,EAAA,yBAAA,CAAA,EAAA,CAAA,8BAAA,EACiD,kBADjD,EAEU,gDAFV,EAKiB,2BALjB,EAQE,+MARF,EAgBsB,yBAhBtB,CAAA,CAAA,CAAb,EACkB,UAACC,EAAD,EAAU;AAAP,EAAA,IAAAC,KAAK,GAAAD,EAAA,CAAAC,KAAL,CAAA;AAAY,EAAA,OAAAC,SAAK,CAACD,KAAD,CAAL,CAAaE,SAAb,CAAuBC,MAAvB,CAAA;AAA6B,CAD9D,EAEKC,QAAQ,CAACC,KAAT,GAAiB,CAFtB,EAKYD,QAAQ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MuF,YAAY,GAOb,UAAC1G,EAAD,EAA0D;AAAvD,EAAA,IAAAmB,UAAU,GAAAnB,EAAA,CAAAmB,UAAV;AAAA,MAAY0E,KAAK,GAAA7F,EAAA,CAAA6F,KAAjB;AAAA,MAAmBzE,IAAI,GAAApB,EAAA,CAAAoB,IAAvB;AAAA,MAAyBqF,MAAM,YAA/B;AAAA,MAAiCE,WAAW,GAAA3G,EAAA,CAAA2G,WAA5C;AAAA,MAA8CC,OAAO,GAAA5G,EAAA,CAAA4G,OAArD,CAAA;AACJ,EACI/E,OAAAA,cAAA,CAAAC,aAAA,CAACD,cAAK,CAACgF,QAAP,EAAe,IAAf,EACK,CAAChB,KAAK,IAAIzE,IAAT,IAAiBqF,MAAlB,KACG5E,cAAA,CAAAC,aAAA,CAAC0E,aAAD,EAAc;AACVrF,IAAAA,UAAU,EAAEA,UADF;AAEV0E,IAAAA,KAAK,EAAEA,KAFG;AAGVzE,IAAAA,IAAI,EAAEA,IAHI;AAIVqF,IAAAA,MAAM,EAAEA,MAAAA;AAJE,GAAd,CAFR,EASKG,OAAO,IAAIA,OAAO,CAACE,MAAR,GAAiB,CAA5B,IACGjF,cAAA,CAAAC,aAAA,CAACiF,UAAD,EAAW;AACP5F,IAAAA,UAAU,EAAEA,UADL;AAEP0E,IAAAA,KAAK,EAAEc,WAFA;AAGPK,IAAAA,KAAK,EAAEJ,OAAAA;AAHA,GAAX,CAVR,CADJ,CAAA;AAmBH,CA3BD;;;;;;;;;;;;;;;;"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { c as clampValue } from './clamp-12d37b65.js';
|
|
2
|
-
|
|
3
|
-
/** Convert hex string to full 6 digit hex */
|
|
4
|
-
|
|
5
|
-
var toFullHex = function (hex) {
|
|
6
|
-
if (!hex) return undefined;
|
|
7
|
-
if (hex.length >= 6) return hex;
|
|
8
|
-
var chars = hex.split('').map(function (char) {
|
|
9
|
-
if (char === '#') return char;
|
|
10
|
-
return char + char;
|
|
11
|
-
});
|
|
12
|
-
return chars.join('');
|
|
13
|
-
}; // converting 6 character hex color code to rgba string
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var hexToRgba = function (hex, alpha) {
|
|
17
|
-
var _a;
|
|
18
|
-
|
|
19
|
-
if (alpha === void 0) {
|
|
20
|
-
alpha = 1;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
var fullHex = toFullHex(hex);
|
|
24
|
-
if (!fullHex) return undefined;
|
|
25
|
-
var rgb = (_a = fullHex.match(/\w\w/g)) === null || _a === void 0 ? void 0 : _a.map(function (x) {
|
|
26
|
-
return parseInt(x, 16);
|
|
27
|
-
});
|
|
28
|
-
if (!rgb) return undefined;
|
|
29
|
-
if (!rgb[0] || isNaN(rgb[0])) return undefined;
|
|
30
|
-
if (!rgb[1] || isNaN(rgb[1])) return undefined;
|
|
31
|
-
if (!rgb[2] || isNaN(rgb[2])) return undefined;
|
|
32
|
-
return "rgba(".concat(rgb[0], ",").concat(rgb[1], ",").concat(rgb[2], ",").concat(clampValue(alpha, 0, 1), ")");
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export { hexToRgba as h };
|
|
36
|
-
//# sourceMappingURL=hexRgbConverter-edb91624.js.map
|