@blateral/b.kit 2.0.0-beta.9.9 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -179
- package/lib/components/base/Grid.d.ts +6 -0
- package/lib/components/base/Grid.d.ts.map +1 -1
- package/lib/components/base/Section.d.ts +7 -3
- package/lib/components/base/Section.d.ts.map +1 -1
- package/lib/components/base/icons/AngleDown.d.ts +1 -0
- package/lib/components/base/icons/AngleDown.d.ts.map +1 -1
- package/lib/components/base/icons/AngleLeft.d.ts +1 -0
- package/lib/components/base/icons/AngleLeft.d.ts.map +1 -1
- package/lib/components/base/icons/AngleUp.d.ts +1 -0
- package/lib/components/base/icons/AngleUp.d.ts.map +1 -1
- package/lib/components/base/icons/ArrowDown.d.ts +1 -0
- package/lib/components/base/icons/ArrowDown.d.ts.map +1 -1
- package/lib/components/base/icons/ArrowLeft.d.ts +1 -0
- package/lib/components/base/icons/ArrowLeft.d.ts.map +1 -1
- package/lib/components/base/icons/ArrowLeftGhost.d.ts +1 -0
- package/lib/components/base/icons/ArrowLeftGhost.d.ts.map +1 -1
- package/lib/components/base/icons/ArrowLeftRight.d.ts +1 -0
- package/lib/components/base/icons/ArrowLeftRight.d.ts.map +1 -1
- package/lib/components/base/icons/ArrowRight.d.ts +1 -0
- package/lib/components/base/icons/ArrowRight.d.ts.map +1 -1
- package/lib/components/base/icons/ArrowRightGhost.d.ts +1 -0
- package/lib/components/base/icons/ArrowRightGhost.d.ts.map +1 -1
- package/lib/components/base/icons/ArrowUp.d.ts +1 -0
- package/lib/components/base/icons/ArrowUp.d.ts.map +1 -1
- package/lib/components/base/icons/BoxArrowUpRight.d.ts +1 -0
- package/lib/components/base/icons/BoxArrowUpRight.d.ts.map +1 -1
- package/lib/components/base/icons/CalendarToday.d.ts +1 -0
- package/lib/components/base/icons/CalendarToday.d.ts.map +1 -1
- package/lib/components/base/icons/Category.d.ts +8 -0
- package/lib/components/base/icons/Category.d.ts.map +1 -0
- package/lib/components/base/icons/Check.d.ts +1 -0
- package/lib/components/base/icons/Check.d.ts.map +1 -1
- package/lib/components/base/icons/Clock.d.ts +1 -0
- package/lib/components/base/icons/Clock.d.ts.map +1 -1
- package/lib/components/base/icons/ClockFilled.d.ts +8 -0
- package/lib/components/base/icons/ClockFilled.d.ts.map +1 -0
- package/lib/components/base/icons/Computer.d.ts +8 -0
- package/lib/components/base/icons/Computer.d.ts.map +1 -0
- package/lib/components/base/icons/CrossSmall.d.ts +1 -0
- package/lib/components/base/icons/CrossSmall.d.ts.map +1 -1
- package/lib/components/base/icons/CurrentLocation.d.ts +8 -0
- package/lib/components/base/icons/CurrentLocation.d.ts.map +1 -0
- package/lib/components/base/icons/DateRange.d.ts +1 -0
- package/lib/components/base/icons/DateRange.d.ts.map +1 -1
- package/lib/components/base/icons/External.d.ts +1 -0
- package/lib/components/base/icons/External.d.ts.map +1 -1
- package/lib/components/base/icons/Filter.d.ts +8 -0
- package/lib/components/base/icons/Filter.d.ts.map +1 -0
- package/lib/components/base/icons/FlyTo.d.ts +1 -0
- package/lib/components/base/icons/FlyTo.d.ts.map +1 -1
- package/lib/components/base/icons/Icons.d.ts +12 -0
- package/lib/components/base/icons/Icons.d.ts.map +1 -1
- package/lib/components/base/icons/Info.d.ts +1 -0
- package/lib/components/base/icons/Info.d.ts.map +1 -1
- package/lib/components/base/icons/Language.d.ts +1 -0
- package/lib/components/base/icons/Language.d.ts.map +1 -1
- package/lib/components/base/icons/LocationPin.d.ts +1 -0
- package/lib/components/base/icons/LocationPin.d.ts.map +1 -1
- package/lib/components/base/icons/LocationSearch.d.ts +8 -0
- package/lib/components/base/icons/LocationSearch.d.ts.map +1 -0
- package/lib/components/base/icons/Magnifier.d.ts +1 -0
- package/lib/components/base/icons/Magnifier.d.ts.map +1 -1
- package/lib/components/base/icons/Mail.d.ts +1 -0
- package/lib/components/base/icons/Mail.d.ts.map +1 -1
- package/lib/components/base/icons/Map.d.ts +8 -0
- package/lib/components/base/icons/Map.d.ts.map +1 -0
- package/lib/components/base/icons/Minus.d.ts +1 -0
- package/lib/components/base/icons/Minus.d.ts.map +1 -1
- package/lib/components/base/icons/Money.d.ts +8 -0
- package/lib/components/base/icons/Money.d.ts.map +1 -0
- package/lib/components/base/icons/MyLocation.d.ts +8 -0
- package/lib/components/base/icons/MyLocation.d.ts.map +1 -0
- package/lib/components/base/icons/Person.d.ts +8 -0
- package/lib/components/base/icons/Person.d.ts.map +1 -0
- package/lib/components/base/icons/Phone.d.ts +1 -0
- package/lib/components/base/icons/Phone.d.ts.map +1 -1
- package/lib/components/base/icons/Place.d.ts +8 -0
- package/lib/components/base/icons/Place.d.ts.map +1 -0
- package/lib/components/base/icons/Play.d.ts +1 -0
- package/lib/components/base/icons/Play.d.ts.map +1 -1
- package/lib/components/base/icons/Plus.d.ts +1 -0
- package/lib/components/base/icons/Plus.d.ts.map +1 -1
- package/lib/components/base/icons/Route.d.ts +1 -0
- package/lib/components/base/icons/Route.d.ts.map +1 -1
- package/lib/components/base/icons/Star.d.ts +1 -0
- package/lib/components/base/icons/Star.d.ts.map +1 -1
- package/lib/components/base/icons/ToggleOff.d.ts +8 -0
- package/lib/components/base/icons/ToggleOff.d.ts.map +1 -0
- package/lib/components/base/icons/ToggleOn.d.ts +8 -0
- package/lib/components/base/icons/ToggleOn.d.ts.map +1 -0
- package/lib/components/base/icons/UnfoldMore.d.ts +8 -0
- package/lib/components/base/icons/UnfoldMore.d.ts.map +1 -0
- package/lib/components/base/icons/files/Excel.d.ts +1 -0
- package/lib/components/base/icons/files/Excel.d.ts.map +1 -1
- package/lib/components/base/icons/files/Image.d.ts +1 -0
- package/lib/components/base/icons/files/Image.d.ts.map +1 -1
- package/lib/components/base/icons/files/Pdf.d.ts +1 -0
- package/lib/components/base/icons/files/Pdf.d.ts.map +1 -1
- package/lib/components/base/icons/files/PowerPoint.d.ts +1 -0
- package/lib/components/base/icons/files/PowerPoint.d.ts.map +1 -1
- package/lib/components/base/icons/files/UploadFile.d.ts +1 -0
- package/lib/components/base/icons/files/UploadFile.d.ts.map +1 -1
- package/lib/components/base/icons/files/Word.d.ts +1 -0
- package/lib/components/base/icons/files/Word.d.ts.map +1 -1
- package/lib/components/base/icons/files/Zip.d.ts +1 -0
- package/lib/components/base/icons/files/Zip.d.ts.map +1 -1
- package/lib/components/base/icons/socials/Facebook.d.ts +1 -0
- package/lib/components/base/icons/socials/Facebook.d.ts.map +1 -1
- package/lib/components/base/icons/socials/Instagram.d.ts +1 -0
- package/lib/components/base/icons/socials/Instagram.d.ts.map +1 -1
- package/lib/components/base/icons/socials/LinkedIn.d.ts +1 -0
- package/lib/components/base/icons/socials/LinkedIn.d.ts.map +1 -1
- package/lib/components/base/icons/socials/Twitter.d.ts +1 -0
- package/lib/components/base/icons/socials/Twitter.d.ts.map +1 -1
- package/lib/components/base/icons/socials/Xing.d.ts +1 -0
- package/lib/components/base/icons/socials/Xing.d.ts.map +1 -1
- package/lib/components/base/icons/socials/Youtube.d.ts +1 -0
- package/lib/components/base/icons/socials/Youtube.d.ts.map +1 -1
- package/lib/components/blocks/Alert.d.ts.map +1 -1
- package/lib/components/blocks/CookieConsent.d.ts +24 -21
- package/lib/components/blocks/CookieConsent.d.ts.map +1 -1
- package/lib/components/blocks/EventBlock.d.ts +1 -1
- package/lib/components/blocks/EventBlock.d.ts.map +1 -1
- package/lib/components/blocks/Feature.d.ts +4 -3
- package/lib/components/blocks/Feature.d.ts.map +1 -1
- package/lib/components/blocks/Image.d.ts +7 -1
- package/lib/components/blocks/Image.d.ts.map +1 -1
- package/lib/components/blocks/InfoList.d.ts +20 -0
- package/lib/components/blocks/InfoList.d.ts.map +1 -0
- package/lib/components/blocks/IntroBlock.d.ts +16 -2
- package/lib/components/blocks/IntroBlock.d.ts.map +1 -1
- package/lib/components/blocks/JobCard.d.ts +21 -4
- package/lib/components/blocks/JobCard.d.ts.map +1 -1
- package/lib/components/blocks/LanguageSwitcher.d.ts +2 -0
- package/lib/components/blocks/LanguageSwitcher.d.ts.map +1 -1
- package/lib/components/blocks/NewsCard.d.ts +1 -0
- package/lib/components/blocks/NewsCard.d.ts.map +1 -1
- package/lib/components/blocks/POICard.d.ts +47 -0
- package/lib/components/blocks/POICard.d.ts.map +1 -0
- package/lib/components/blocks/POIFacts.d.ts +12 -0
- package/lib/components/blocks/POIFacts.d.ts.map +1 -0
- package/lib/components/blocks/PromotionCard.d.ts.map +1 -1
- package/lib/components/blocks/TableBlock.d.ts +14 -0
- package/lib/components/blocks/TableBlock.d.ts.map +1 -0
- package/lib/components/blocks/Tag.d.ts.map +1 -1
- package/lib/components/blocks/Title.d.ts +6 -0
- package/lib/components/blocks/Title.d.ts.map +1 -1
- package/lib/components/blocks/VideoBlock.d.ts +6 -5
- package/lib/components/blocks/VideoBlock.d.ts.map +1 -1
- package/lib/components/blocks/VideoCard.d.ts +6 -1
- package/lib/components/blocks/VideoCard.d.ts.map +1 -1
- package/lib/components/buttons/Button.d.ts.map +1 -1
- package/lib/components/buttons/ButtonGhost.d.ts.map +1 -1
- package/lib/components/buttons/Control.d.ts.map +1 -1
- package/lib/components/buttons/Pointer.d.ts.map +1 -1
- package/lib/components/examples/hooks/ArrayHookExample.d.ts +4 -0
- package/lib/components/examples/hooks/ArrayHookExample.d.ts.map +1 -0
- package/lib/components/examples/hooks/IntervalHookExample.d.ts +4 -0
- package/lib/components/examples/hooks/IntervalHookExample.d.ts.map +1 -0
- package/lib/components/fields/Checkbox.d.ts +5 -3
- package/lib/components/fields/Checkbox.d.ts.map +1 -1
- package/lib/components/fields/CompactForm.d.ts.map +1 -1
- package/lib/components/fields/Datepicker.d.ts +5 -3
- package/lib/components/fields/Datepicker.d.ts.map +1 -1
- package/lib/components/fields/FileUpload.d.ts +6 -4
- package/lib/components/fields/FileUpload.d.ts.map +1 -1
- package/lib/components/fields/FilterField.d.ts +12 -0
- package/lib/components/fields/FilterField.d.ts.map +1 -0
- package/lib/components/fields/FormField.d.ts.map +1 -1
- package/lib/components/fields/LocationField.d.ts +49 -0
- package/lib/components/fields/LocationField.d.ts.map +1 -0
- package/lib/components/fields/Radio.d.ts +5 -3
- package/lib/components/fields/Radio.d.ts.map +1 -1
- package/lib/components/fields/SearchInput.d.ts.map +1 -1
- package/lib/components/fields/SelectDropdown.d.ts +9 -11
- package/lib/components/fields/SelectDropdown.d.ts.map +1 -1
- package/lib/components/fields/Textarea.d.ts +5 -3
- package/lib/components/fields/Textarea.d.ts.map +1 -1
- package/lib/components/fields/Textfield.d.ts +5 -3
- package/lib/components/fields/Textfield.d.ts.map +1 -1
- package/lib/components/sections/Accordion.d.ts +2 -2
- package/lib/components/sections/Accordion.d.ts.map +1 -1
- package/lib/components/sections/Article.d.ts +5 -0
- package/lib/components/sections/Article.d.ts.map +1 -1
- package/lib/components/sections/CardList.d.ts.map +1 -1
- package/lib/components/sections/FeatureList.d.ts +4 -0
- package/lib/components/sections/FeatureList.d.ts.map +1 -1
- package/lib/components/sections/Gallery.d.ts +7 -5
- package/lib/components/sections/Gallery.d.ts.map +1 -1
- package/lib/components/sections/IconList.d.ts +1 -0
- package/lib/components/sections/IconList.d.ts.map +1 -1
- package/lib/components/sections/IndexList.d.ts.map +1 -1
- package/lib/components/sections/Intro.d.ts +15 -6
- package/lib/components/sections/Intro.d.ts.map +1 -1
- package/lib/components/sections/Map.d.ts.map +1 -1
- package/lib/components/sections/NavList.d.ts.map +1 -1
- package/lib/components/sections/NewsletterForm.d.ts +90 -0
- package/lib/components/sections/NewsletterForm.d.ts.map +1 -0
- package/lib/components/sections/RawVideo.d.ts +38 -0
- package/lib/components/sections/RawVideo.d.ts.map +1 -0
- package/lib/components/sections/SimpleImage.d.ts +26 -7
- package/lib/components/sections/SimpleImage.d.ts.map +1 -1
- package/lib/components/sections/SocialWall.d.ts.map +1 -1
- package/lib/components/sections/Table.d.ts +5 -10
- package/lib/components/sections/Table.d.ts.map +1 -1
- package/lib/components/sections/Teaser.d.ts +4 -2
- package/lib/components/sections/Teaser.d.ts.map +1 -1
- package/lib/components/sections/TeaserWide.d.ts.map +1 -1
- package/lib/components/sections/Timeline.d.ts.map +1 -1
- package/lib/components/sections/Video.d.ts +14 -4
- package/lib/components/sections/Video.d.ts.map +1 -1
- package/lib/components/sections/events/EventDetail.d.ts +2 -0
- package/lib/components/sections/events/EventDetail.d.ts.map +1 -1
- package/lib/components/sections/events/EventList.d.ts +5 -2
- package/lib/components/sections/events/EventList.d.ts.map +1 -1
- package/lib/components/sections/events/EventOverview.d.ts +16 -6
- package/lib/components/sections/events/EventOverview.d.ts.map +1 -1
- package/lib/components/sections/footer/Footer.d.ts.map +1 -1
- package/lib/components/sections/footer/partials/FooterBottomBar.d.ts.map +1 -1
- package/lib/components/sections/{DynamicForm.d.ts → form/DynamicForm.d.ts} +74 -30
- package/lib/components/sections/form/DynamicForm.d.ts.map +1 -0
- package/lib/components/sections/form/renderer/areaRenderer.d.ts +5 -0
- package/lib/components/sections/form/renderer/areaRenderer.d.ts.map +1 -0
- package/lib/components/sections/form/renderer/datepickerRenderer.d.ts +5 -0
- package/lib/components/sections/form/renderer/datepickerRenderer.d.ts.map +1 -0
- package/lib/components/sections/form/renderer/fieldGroupRenderer.d.ts +5 -0
- package/lib/components/sections/form/renderer/fieldGroupRenderer.d.ts.map +1 -0
- package/lib/components/sections/form/renderer/fieldRenderer.d.ts +5 -0
- package/lib/components/sections/form/renderer/fieldRenderer.d.ts.map +1 -0
- package/lib/components/sections/form/renderer/locationRenderer.d.ts +6 -0
- package/lib/components/sections/form/renderer/locationRenderer.d.ts.map +1 -0
- package/lib/components/sections/form/renderer/selectRenderer.d.ts +5 -0
- package/lib/components/sections/form/renderer/selectRenderer.d.ts.map +1 -0
- package/lib/components/sections/form/renderer/uploadRenderer.d.ts +5 -0
- package/lib/components/sections/form/renderer/uploadRenderer.d.ts.map +1 -0
- package/lib/components/sections/form/validators/areaValidator.d.ts +4 -0
- package/lib/components/sections/form/validators/areaValidator.d.ts.map +1 -0
- package/lib/components/sections/form/validators/datepickerValidator.d.ts +4 -0
- package/lib/components/sections/form/validators/datepickerValidator.d.ts.map +1 -0
- package/lib/components/sections/form/validators/fieldGroupValidator.d.ts +4 -0
- package/lib/components/sections/form/validators/fieldGroupValidator.d.ts.map +1 -0
- package/lib/components/sections/form/validators/fieldValidator.d.ts +4 -0
- package/lib/components/sections/form/validators/fieldValidator.d.ts.map +1 -0
- package/lib/components/sections/form/validators/locationValidator.d.ts +5 -0
- package/lib/components/sections/form/validators/locationValidator.d.ts.map +1 -0
- package/lib/components/sections/form/validators/selectValidator.d.ts +4 -0
- package/lib/components/sections/form/validators/selectValidator.d.ts.map +1 -0
- package/lib/components/sections/form/validators/uploadValidator.d.ts +4 -0
- package/lib/components/sections/form/validators/uploadValidator.d.ts.map +1 -0
- package/lib/components/sections/header/Header.d.ts +4 -0
- package/lib/components/sections/header/Header.d.ts.map +1 -1
- package/lib/components/sections/header/HeaderVideo.d.ts.map +1 -1
- package/lib/components/sections/jobs/JobArticle.d.ts +56 -0
- package/lib/components/sections/jobs/JobArticle.d.ts.map +1 -0
- package/lib/components/sections/{JobList.d.ts → jobs/JobList.d.ts} +11 -3
- package/lib/components/sections/jobs/JobList.d.ts.map +1 -0
- package/lib/components/sections/navigation/NavBar.d.ts.map +1 -1
- package/lib/components/sections/navigation/Navigation.d.ts +1 -0
- package/lib/components/sections/navigation/Navigation.d.ts.map +1 -1
- package/lib/components/sections/navigation/menu/Menu.d.ts +1 -0
- package/lib/components/sections/navigation/menu/Menu.d.ts.map +1 -1
- package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts +1 -0
- package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -1
- package/lib/components/sections/navigation/partials/MenuFooter.d.ts.map +1 -1
- package/lib/components/sections/navigation/partials/MenuHeader.d.ts +2 -0
- package/lib/components/sections/navigation/partials/MenuHeader.d.ts.map +1 -1
- package/lib/components/sections/navigation/partials/NavBarMain.d.ts +2 -0
- package/lib/components/sections/navigation/partials/NavBarMain.d.ts.map +1 -1
- package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +1 -1
- package/lib/components/sections/navigation/skeletons/BarLogo.d.ts.map +1 -1
- package/lib/components/sections/news/NewsAuthorCard.d.ts +8 -0
- package/lib/components/sections/news/NewsAuthorCard.d.ts.map +1 -1
- package/lib/components/sections/news/NewsFooter.d.ts.map +1 -1
- package/lib/components/sections/news/NewsImages.d.ts +13 -8
- package/lib/components/sections/news/NewsImages.d.ts.map +1 -1
- package/lib/components/sections/news/NewsIntro.d.ts.map +1 -1
- package/lib/components/sections/news/NewsList.d.ts.map +1 -1
- package/lib/components/sections/news/NewsOverview.d.ts +13 -5
- package/lib/components/sections/news/NewsOverview.d.ts.map +1 -1
- package/lib/components/sections/news/NewsTable.d.ts +5 -13
- package/lib/components/sections/news/NewsTable.d.ts.map +1 -1
- package/lib/components/sections/news/NewsText.d.ts +4 -4
- package/lib/components/sections/news/NewsText.d.ts.map +1 -1
- package/lib/components/sections/news/NewsVideo.d.ts +24 -6
- package/lib/components/sections/news/NewsVideo.d.ts.map +1 -1
- package/lib/components/sections/pois/PointOfInterestDetail.d.ts +55 -0
- package/lib/components/sections/pois/PointOfInterestDetail.d.ts.map +1 -0
- package/lib/components/sections/pois/PointOfInterestMap.d.ts +117 -0
- package/lib/components/sections/pois/PointOfInterestMap.d.ts.map +1 -0
- package/lib/components/sections/pois/PointOfInterestOverview.d.ts +38 -0
- package/lib/components/sections/pois/PointOfInterestOverview.d.ts.map +1 -0
- package/lib/components/typography/Callout.d.ts.map +1 -1
- package/lib/components/typography/Copy.d.ts +2 -1
- package/lib/components/typography/Copy.d.ts.map +1 -1
- package/lib/components/typography/Heading.d.ts +1 -1
- package/lib/components/typography/Heading.d.ts.map +1 -1
- package/lib/index.d.ts +37 -12
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +1 -1
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/concat.d.ts +8 -0
- package/lib/utils/concat.d.ts.map +1 -0
- package/lib/utils/cookie-consent/cookie.d.ts +3 -3
- package/lib/utils/cookie-consent/cookie.d.ts.map +1 -1
- package/lib/utils/cookie-consent/mutations.d.ts +3 -11
- package/lib/utils/cookie-consent/mutations.d.ts.map +1 -1
- package/lib/utils/cookie-consent/useCookieConsent.d.ts +43 -0
- package/lib/utils/cookie-consent/useCookieConsent.d.ts.map +1 -0
- package/lib/utils/dataURI.d.ts.map +1 -1
- package/lib/utils/filters.d.ts +2 -0
- package/lib/utils/filters.d.ts.map +1 -0
- package/lib/utils/formFieldText.d.ts +3 -0
- package/lib/utils/formFieldText.d.ts.map +1 -0
- package/lib/utils/hexRgbConverter.d.ts.map +1 -1
- package/lib/utils/structuredData.d.ts +12 -0
- package/lib/utils/structuredData.d.ts.map +1 -1
- package/lib/utils/styles.d.ts +24 -1
- package/lib/utils/styles.d.ts.map +1 -1
- package/lib/utils/urlParams.d.ts +4 -0
- package/lib/utils/urlParams.d.ts.map +1 -0
- package/lib/utils/useArray.d.ts +13 -0
- package/lib/utils/useArray.d.ts.map +1 -0
- package/lib/utils/useDebounce.d.ts +6 -0
- package/lib/utils/useDebounce.d.ts.map +1 -0
- package/lib/utils/useEqualSheetHeight.d.ts +2 -0
- package/lib/utils/useEqualSheetHeight.d.ts.map +1 -1
- package/lib/utils/useGeolocation.d.ts +10 -0
- package/lib/utils/useGeolocation.d.ts.map +1 -0
- package/lib/utils/useInterval.d.ts +4 -1
- package/lib/utils/useInterval.d.ts.map +1 -1
- package/lib/utils/useLazyInput.d.ts +8 -0
- package/lib/utils/useLazyInput.d.ts.map +1 -0
- package/lib/utils/useLeafletMap.d.ts +52 -0
- package/lib/utils/useLeafletMap.d.ts.map +1 -0
- package/lib/utils/useMounted.d.ts +3 -0
- package/lib/utils/useMounted.d.ts.map +1 -0
- package/lib/utils/usePageScroll.d.ts +2 -0
- package/lib/utils/usePageScroll.d.ts.map +1 -1
- package/lib/utils/useParams.d.ts +6 -0
- package/lib/utils/useParams.d.ts.map +1 -0
- package/lib/utils/usePrevious.d.ts +3 -0
- package/lib/utils/usePrevious.d.ts.map +1 -0
- package/lib/utils/useResizeThrottle.d.ts +9 -0
- package/lib/utils/useResizeThrottle.d.ts.map +1 -0
- package/lib/utils/useScrollThrottle.d.ts +7 -0
- package/lib/utils/useScrollThrottle.d.ts.map +1 -0
- package/lib/utils/useTimeout.d.ts +6 -0
- package/lib/utils/useTimeout.d.ts.map +1 -0
- package/lib/utils/useUpdateEffect.d.ts +5 -0
- package/lib/utils/useUpdateEffect.d.ts.map +1 -0
- package/package.json +13 -15
- package/lib/components/blocks/LeafletMap.d.ts +0 -42
- package/lib/components/blocks/LeafletMap.d.ts.map +0 -1
- package/lib/components/blocks/Slider.d.ts +0 -87
- package/lib/components/blocks/Slider.d.ts.map +0 -1
- package/lib/components/buttons/QuicknavButton.d.ts +0 -10
- package/lib/components/buttons/QuicknavButton.d.ts.map +0 -1
- package/lib/components/sections/DynamicForm.d.ts.map +0 -1
- package/lib/components/sections/JobList.d.ts.map +0 -1
- package/lib/components/sections/Quicknav.d.ts +0 -29
- package/lib/components/sections/Quicknav.d.ts.map +0 -1
- package/lib/components/sections/SocialNav.d.ts +0 -24
- package/lib/components/sections/SocialNav.d.ts.map +0 -1
- package/lib/components/sections/carousel/CarouselBase.d.ts +0 -36
- package/lib/components/sections/carousel/CarouselBase.d.ts.map +0 -1
- package/lib/components/sections/carousel/FeatureCarousel.d.ts +0 -17
- package/lib/components/sections/carousel/FeatureCarousel.d.ts.map +0 -1
- package/lib/components/sections/carousel/ImageCarousel.d.ts +0 -17
- package/lib/components/sections/carousel/ImageCarousel.d.ts.map +0 -1
- package/lib/components/sections/carousel/PromotionCarousel.d.ts +0 -20
- package/lib/components/sections/carousel/PromotionCarousel.d.ts.map +0 -1
- package/lib/components/sections/carousel/VideoCarousel.d.ts +0 -17
- package/lib/components/sections/carousel/VideoCarousel.d.ts.map +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const concat: (values: Array<string | number | undefined>, delimeter?: string) => string;
|
|
2
|
+
export declare const printAnchorTag: (props: {
|
|
3
|
+
href: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
isExternal?: boolean;
|
|
6
|
+
type?: 'mail' | 'phone';
|
|
7
|
+
}) => string;
|
|
8
|
+
//# sourceMappingURL=concat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../../src/utils/concat.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,WACP,MAAM,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,yBAE3C,MAqBF,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC3B,WASA,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export interface Cookie<T> {
|
|
1
|
+
export interface Cookie<T extends object> {
|
|
2
2
|
name: string;
|
|
3
3
|
data: T;
|
|
4
4
|
}
|
|
5
|
-
export declare const setCookie: <T>({ name, data, days, path, }: {
|
|
5
|
+
export declare const setCookie: <T extends object>({ name, data, days, path, }: {
|
|
6
6
|
name: string;
|
|
7
7
|
data: T;
|
|
8
8
|
days?: number | undefined;
|
|
9
9
|
path?: string | undefined;
|
|
10
10
|
}) => void;
|
|
11
|
-
export declare const getCookie: <T>(name: string) => Cookie<T> | undefined;
|
|
11
|
+
export declare const getCookie: <T extends object>(name: string) => Cookie<T> | undefined;
|
|
12
12
|
export declare const deleteCookie: (name: string) => void;
|
|
13
13
|
//# sourceMappingURL=cookie.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cookie.d.ts","sourceRoot":"","sources":["../../../src/utils/cookie-consent/cookie.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"cookie.d.ts","sourceRoot":"","sources":["../../../src/utils/cookie-consent/cookie.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM,CAAC,CAAC,SAAS,MAAM;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,CAAC;CACX;AAED,eAAO,MAAM,SAAS;UAMZ,MAAM;;;;UAwBf,CAAC;AAEF,eAAO,MAAM,SAAS,2BACZ,MAAM,0BAuBf,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,MAAM,SAExC,CAAC"}
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
import { CookieConsentData } from "../../components/blocks/CookieConsent";
|
|
2
|
-
import { Cookie } from './cookie';
|
|
3
1
|
export declare const isUrlInWhitelist: (urlString: string, whitelist?: string[]) => boolean;
|
|
4
|
-
export declare const bindConsentButtons: (callback: () => void) => void;
|
|
5
|
-
export declare const activateTrackingScripts: () => void;
|
|
6
|
-
export declare const
|
|
7
|
-
cookie: Cookie<CookieConsentData>;
|
|
8
|
-
status: string;
|
|
9
|
-
dateFormat: string;
|
|
10
|
-
timeFormat: string;
|
|
11
|
-
localeKey: 'de' | 'en';
|
|
12
|
-
}) => void;
|
|
2
|
+
export declare const bindConsentButtons: (callback: () => void, selectors?: string[]) => void;
|
|
3
|
+
export declare const activateTrackingScripts: (scriptTypeSelectors?: string[]) => void;
|
|
4
|
+
export declare const updateConsentStatus: (content: string, selectors?: string[]) => void;
|
|
13
5
|
//# sourceMappingURL=mutations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../../src/utils/cookie-consent/mutations.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../../src/utils/cookie-consent/mutations.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,cACd,MAAM,cACN,MAAM,EAAE,YAUtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,aACjB,MAAM,IAAI,cACT,MAAM,EAAE,SAOtB,CAAC;AAEF,eAAO,MAAM,uBAAuB,yBAAyB,MAAM,EAAE,SAwCpE,CAAC;AAEF,eAAO,MAAM,mBAAmB,YACnB,MAAM,cACJ,MAAM,EAAE,SAQtB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Cookie } from './cookie';
|
|
3
|
+
export interface CookieType {
|
|
4
|
+
label: string;
|
|
5
|
+
isAccepted: boolean;
|
|
6
|
+
isEditable: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface CookieTypes {
|
|
9
|
+
[key: string]: CookieType;
|
|
10
|
+
}
|
|
11
|
+
export interface CookieConsentData {
|
|
12
|
+
types: Record<string, boolean>;
|
|
13
|
+
updatedAt: number;
|
|
14
|
+
}
|
|
15
|
+
export interface CookieConsentSettings {
|
|
16
|
+
cookieName?: string;
|
|
17
|
+
initialCookieTypes?: CookieTypes;
|
|
18
|
+
lifetime?: number;
|
|
19
|
+
}
|
|
20
|
+
export declare const selectors: {
|
|
21
|
+
buttons: {
|
|
22
|
+
class: string;
|
|
23
|
+
attribute: string;
|
|
24
|
+
};
|
|
25
|
+
status: {
|
|
26
|
+
class: string;
|
|
27
|
+
attribute: string;
|
|
28
|
+
};
|
|
29
|
+
script: (key: string) => string;
|
|
30
|
+
};
|
|
31
|
+
declare const useCookieConsent: (props: CookieConsentSettings, onSubmit?: (() => void) | undefined, statusRenderer?: ((props: {
|
|
32
|
+
updatedAt: number;
|
|
33
|
+
state: CookieTypes;
|
|
34
|
+
}) => React.ReactElement) | undefined) => {
|
|
35
|
+
cookieTypes: CookieTypes;
|
|
36
|
+
acceptAll: () => void;
|
|
37
|
+
acceptSelected: () => void;
|
|
38
|
+
declineAll: () => void;
|
|
39
|
+
setConsent: (type: keyof CookieTypes, isAccepted?: boolean | undefined) => void;
|
|
40
|
+
getCookieValue: () => Cookie<CookieConsentData> | undefined;
|
|
41
|
+
};
|
|
42
|
+
export default useCookieConsent;
|
|
43
|
+
//# sourceMappingURL=useCookieConsent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCookieConsent.d.ts","sourceRoot":"","sources":["../../../src/utils/cookie-consent/useCookieConsent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAGzE,OAAO,EAAE,MAAM,EAAwB,MAAM,UAAU,CAAC;AAGxD,MAAM,WAAW,UAAU;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC;CAC7B;AAED,MAAM,WAAW,iBAAiB;IAC9B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,WAAW,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,SAAS;;;;;;;;;kBASJ,MAAM;CACvB,CAAC;AAEF,QAAA,MAAM,gBAAgB,UACX,qBAAqB,oBACX,IAAI,yCACI;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,WAAW,CAAC;CACtB,KAAK,MAAM,YAAY;;;;;uBAyKE,MAAM,WAAW;0BAehB,OAAO,iBAAiB,CAAC,GAAG,SAAS;CAYnE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataURI.d.ts","sourceRoot":"","sources":["../../src/utils/dataURI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,aAAa,QACjB,MAAM,YAAY,uBAExB,
|
|
1
|
+
{"version":3,"file":"dataURI.d.ts","sourceRoot":"","sources":["../../src/utils/dataURI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,aAAa,QACjB,MAAM,YAAY,uBAExB,MAkBF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/utils/filters.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,uBAAwB,MAAM,wBAElD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formFieldText.d.ts","sourceRoot":"","sources":["../../src/utils/formFieldText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKjD,eAAO,MAAM,oBAAoB,UACtB,YAAY,KACpB,CAAC,MAAM,EAAE,MAAM,CAAC,CAIlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hexRgbConverter.d.ts","sourceRoot":"","sources":["../../src/utils/hexRgbConverter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hexRgbConverter.d.ts","sourceRoot":"","sources":["../../src/utils/hexRgbConverter.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,SAAS,QAAS,MAAM,uCAWpC,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { MapLocation } from "../components/sections/Map";
|
|
3
|
+
import { OrganizationData } from "../components/sections/jobs/JobArticle";
|
|
4
|
+
import { JobLocation } from "../components/blocks/JobCard";
|
|
3
5
|
export declare const generateLocalBusiness: (locations: MapLocation[]) => ("" | JSX.Element)[];
|
|
4
6
|
export declare const generateFAQ: (items: {
|
|
5
7
|
label?: string;
|
|
@@ -7,4 +9,14 @@ export declare const generateFAQ: (items: {
|
|
|
7
9
|
aside?: string;
|
|
8
10
|
hasColumns?: boolean;
|
|
9
11
|
}[]) => JSX.Element;
|
|
12
|
+
export declare type StructuredEmploymentType = 'FULL_TIME' | 'PART_TIME' | 'CONTRACTOR' | 'TEMPORARY' | 'INTERN' | 'VOLUNTEER' | 'PER_DIEM' | 'OTHER';
|
|
13
|
+
export declare const generateJob: ({ jobTitle, jobDesc, organization, directApply, locations, employmentTypes, datePosted, }: {
|
|
14
|
+
jobTitle: string;
|
|
15
|
+
jobDesc?: string | undefined;
|
|
16
|
+
organization?: OrganizationData | undefined;
|
|
17
|
+
directApply?: boolean | undefined;
|
|
18
|
+
locations?: JobLocation[] | undefined;
|
|
19
|
+
employmentTypes?: StructuredEmploymentType[] | undefined;
|
|
20
|
+
datePosted?: Date | undefined;
|
|
21
|
+
}) => JSX.Element;
|
|
10
22
|
//# sourceMappingURL=structuredData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structuredData.d.ts","sourceRoot":"","sources":["../../src/utils/structuredData.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,mCAAgC;
|
|
1
|
+
{"version":3,"file":"structuredData.d.ts","sourceRoot":"","sources":["../../src/utils/structuredData.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,mCAAgC;AAEtD,OAAO,EAAE,gBAAgB,EAAE,+CAA4C;AAEvE,OAAO,EAAE,WAAW,EAAE,qCAAkC;AAExD,eAAO,MAAM,qBAAqB,cAAe,WAAW,EAAE,yBAsC7D,CAAC;AAEF,eAAO,MAAM,WAAW,UACb;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,EAAE,gBAoBN,CAAC;AAEF,oBAAY,wBAAwB,GAC9B,WAAW,GACX,WAAW,GACX,YAAY,GACZ,WAAW,GACX,QAAQ,GACR,WAAW,GACX,UAAU,GACV,OAAO,CAAC;AAEd,eAAO,MAAM,WAAW;cASV,MAAM;;;;;;;iBAsDnB,CAAC"}
|
package/lib/utils/styles.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DefaultTheme } from 'styled-components';
|
|
2
|
+
import { CookieTypes } from './cookie-consent/useCookieConsent';
|
|
2
3
|
import { XOR } from './types';
|
|
3
4
|
export declare type MediaQueryType = 'small' | 'medium' | 'semilarge' | 'large' | 'xlarge' | 'xxlarge';
|
|
4
5
|
export declare const mq: {
|
|
@@ -13,7 +14,7 @@ export declare const spacings: {
|
|
|
13
14
|
};
|
|
14
15
|
/***** Range Helper *****/
|
|
15
16
|
export declare const getSizeByRange: (range: [number, number]) => string;
|
|
16
|
-
export declare const withRange: (range: [number, number?], property: string) =>
|
|
17
|
+
export declare const withRange: (range: [number, number?], property: string) => string;
|
|
17
18
|
/**
|
|
18
19
|
* Generate css attributes to style text color with plain color or gradient
|
|
19
20
|
* @param fallbackColor
|
|
@@ -69,6 +70,7 @@ export interface FontProps {
|
|
|
69
70
|
letterSpacing?: string;
|
|
70
71
|
size: [number, number?];
|
|
71
72
|
textTransform?: string;
|
|
73
|
+
textDecoration?: string;
|
|
72
74
|
color?: string;
|
|
73
75
|
colorInverted?: string;
|
|
74
76
|
colorGradient?: string;
|
|
@@ -99,6 +101,12 @@ export interface Fonts {
|
|
|
99
101
|
textTransform?: string;
|
|
100
102
|
textDecoration?: string;
|
|
101
103
|
};
|
|
104
|
+
navigation: {
|
|
105
|
+
featured: FontProps;
|
|
106
|
+
main: FontProps;
|
|
107
|
+
sub: FontProps;
|
|
108
|
+
secondary: FontProps;
|
|
109
|
+
};
|
|
102
110
|
}
|
|
103
111
|
export declare type FontType = keyof Fonts;
|
|
104
112
|
/**
|
|
@@ -111,6 +119,7 @@ export declare type NavBarHeights = {
|
|
|
111
119
|
large: number;
|
|
112
120
|
};
|
|
113
121
|
interface LinkIcon {
|
|
122
|
+
isExternal?: boolean;
|
|
114
123
|
/** Patterns of Href value to show this icon (e.g. .svg, .png) */
|
|
115
124
|
patterns: string[];
|
|
116
125
|
/** Icon scale factor. 1 is default */
|
|
@@ -165,6 +174,20 @@ export interface GlobalSettings {
|
|
|
165
174
|
/** Date and Time Formats for Datepickers */
|
|
166
175
|
datepickerLocaleKey: 'de' | 'en';
|
|
167
176
|
datepickerDateFormat: string;
|
|
177
|
+
/** Filters */
|
|
178
|
+
newsFilterName: string;
|
|
179
|
+
eventFilterName: string;
|
|
180
|
+
};
|
|
181
|
+
cookie: {
|
|
182
|
+
name: string;
|
|
183
|
+
types: CookieTypes;
|
|
184
|
+
lifetime: number;
|
|
185
|
+
/** Date and Time Formats for cookie consent */
|
|
186
|
+
consentDateFormat: (date: Date) => string;
|
|
187
|
+
consentTimeFormat: (date: Date) => string;
|
|
188
|
+
consentLocaleKey: 'de' | 'en';
|
|
189
|
+
consentStatusFormat: string;
|
|
190
|
+
videoCookieTypeRestrictions: string[];
|
|
168
191
|
};
|
|
169
192
|
navigation: {
|
|
170
193
|
/** Settings of top navigation bar */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/utils/styles.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAO,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAE9B,oBAAY,cAAc,GACpB,OAAO,GACP,QAAQ,GACR,WAAW,GACX,OAAO,GACP,QAAQ,GACR,SAAS,CAAC;AAEhB,eAAO,MAAM,EAAE,EAAE;KAAG,GAAG,IAAI,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG,MAAM;CAMnE,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC;AAEF,0BAA0B;AAC1B,eAAO,MAAM,c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C;YACF;;;eAGG;YACH,YAAY,EAAE;gBACV,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;gBACzB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;aAC5B,CAAC;SACL,CAAC;QACF,IAAI,EAAE;YACF;;;;eAIG;YACH,YAAY,EAAE;gBACV,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;gBACzB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;aAC5B,CAAC;SACL,CAAC;KACL,CAAC;IACF,KAAK,EAAE;QACH,yCAAyC;QAKzC,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC,CAAC;KACpD,CAAC;CACL;AAgPD,0BAA0B;AAC1B,eAAO,MAAM,SAAS,EAAE,YAIvB,CAAC;AAEF,eAAO,MAAM,QAAQ,oDAIpB,CAAC;AAEF,eAAO,MAAM,SAAS,8CAErB,CAAC;AAEF,eAAO,MAAM,QAAQ,6CAIpB,CAAC;AAEF,eAAO,MAAM,UAAU,sDAEtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"urlParams.d.ts","sourceRoot":"","sources":["../../src/utils/urlParams.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY,8BAiBxB,CAAC;AAEF,eAAO,MAAM,WAAW,QAAS,MAAM,SAAS,MAAM,GAAG,MAAM,SAiB9D,CAAC;AAEF,eAAO,MAAM,cAAc,QAAS,MAAM,SAMzC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useArray: <T>(defaultValue?: T[] | undefined) => {
|
|
3
|
+
array: T[];
|
|
4
|
+
set: import("react").Dispatch<import("react").SetStateAction<T[]>>;
|
|
5
|
+
push: (element: T | T[]) => void;
|
|
6
|
+
filter: (callback: (value: T, index: number, array: T[]) => void) => void;
|
|
7
|
+
update: (index: number, newEl: T) => void;
|
|
8
|
+
remove: (index: number) => void;
|
|
9
|
+
clear: () => void;
|
|
10
|
+
pop: () => T | undefined;
|
|
11
|
+
};
|
|
12
|
+
export default useArray;
|
|
13
|
+
//# sourceMappingURL=useArray.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useArray.d.ts","sourceRoot":"","sources":["../../src/utils/useArray.ts"],"names":[],"mappings":";AAEA,QAAA,MAAM,QAAQ;;;;yCAuBsB,MAAM,iBAAiB,IAAI;oBAKpC,MAAM;oBAQN,MAAM;;;CAqBhC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDebounce.d.ts","sourceRoot":"","sources":["../../src/utils/useDebounce.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA0B,MAAM,OAAO,CAAC;AAG/D,QAAA,MAAM,WAAW,aACH,MAAM,IAAI,SACb,MAAM;;CAkBhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -10,6 +10,8 @@ export declare const useEqualSheetHeight: <T extends HTMLElement>(props: {
|
|
|
10
10
|
listLength: number;
|
|
11
11
|
identifiers: string[];
|
|
12
12
|
responsive?: ItemsPerRow;
|
|
13
|
+
/** Throttle timeout for resize events. Default: 400ms */
|
|
14
|
+
resizeThrottleTimeout?: number;
|
|
13
15
|
}) => {
|
|
14
16
|
sheetRefs: MutableRefObject<T>[];
|
|
15
17
|
triggerCalculation: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEqualSheetHeight.d.ts","sourceRoot":"","sources":["../../src/utils/useEqualSheetHeight.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,gBAAgB,EAGnB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useEqualSheetHeight.d.ts","sourceRoot":"","sources":["../../src/utils/useEqualSheetHeight.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,gBAAgB,EAGnB,MAAM,OAAO,CAAC;AAKf,UAAU,WAAW;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD,eAAO,MAAM,mBAAmB,iCAAkC;IAC9D,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,yDAAyD;IACzD,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC;;;CAqIA,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const useGeolocation: (enableHighAccuracy?: boolean, autostart?: boolean) => {
|
|
2
|
+
isSupported: boolean | undefined;
|
|
3
|
+
isEnabled: boolean | undefined;
|
|
4
|
+
location: GeolocationPosition | undefined;
|
|
5
|
+
error: GeolocationPositionError | undefined;
|
|
6
|
+
reset: () => Promise<GeolocationPosition>;
|
|
7
|
+
cancel: () => void;
|
|
8
|
+
};
|
|
9
|
+
export default useGeolocation;
|
|
10
|
+
//# sourceMappingURL=useGeolocation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGeolocation.d.ts","sourceRoot":"","sources":["../../src/utils/useGeolocation.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc;;;;;;;CAuEnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInterval.d.ts","sourceRoot":"","sources":["../../src/utils/useInterval.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"useInterval.d.ts","sourceRoot":"","sources":["../../src/utils/useInterval.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,QAAQ,EAAE,MAAM,IAAI,EAAE,KAAK,EAAE,MAAM;;;EA+BtE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useLazyInput: (callback: (value: string) => void, initial: string, delay?: number) => {
|
|
3
|
+
setValue: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
4
|
+
value: string;
|
|
5
|
+
forceUpdate: () => void;
|
|
6
|
+
};
|
|
7
|
+
export default useLazyInput;
|
|
8
|
+
//# sourceMappingURL=useLazyInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLazyInput.d.ts","sourceRoot":"","sources":["../../src/utils/useLazyInput.ts"],"names":[],"mappings":";AAGA,QAAA,MAAM,YAAY,qBACI,MAAM,KAAK,IAAI,WACxB,MAAM;;;;CAalB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { LeafletMouseEvent } from 'leaflet';
|
|
3
|
+
export interface LeafletMapSettings {
|
|
4
|
+
center: [number, number];
|
|
5
|
+
zoom: number;
|
|
6
|
+
minZoom?: number;
|
|
7
|
+
maxZoom?: number;
|
|
8
|
+
touchZoom: boolean;
|
|
9
|
+
scrollWheelZoom: boolean;
|
|
10
|
+
onlyScrollOnFocus: boolean;
|
|
11
|
+
url: string;
|
|
12
|
+
attribution: string;
|
|
13
|
+
markers: Array<LeafletMapMarker>;
|
|
14
|
+
activeMarkerId?: string;
|
|
15
|
+
fitBoundsPadding: [number, number];
|
|
16
|
+
restrictToMarkersArea?: boolean;
|
|
17
|
+
showZoomControls?: boolean;
|
|
18
|
+
zoomControlPosition?: 'bottomleft' | 'bottomright' | 'topleft' | 'topright';
|
|
19
|
+
onMarkerClick?: (markerId: string) => void;
|
|
20
|
+
onActiveMarkerChanged?: (props: {
|
|
21
|
+
markerId: string;
|
|
22
|
+
}) => void;
|
|
23
|
+
onReady?: () => void;
|
|
24
|
+
onClick?: (ev: LeafletMouseEvent, currentZoom: number) => void;
|
|
25
|
+
}
|
|
26
|
+
export interface LeafletMapMarker {
|
|
27
|
+
id: string;
|
|
28
|
+
position: [number, number];
|
|
29
|
+
isInteractive?: boolean;
|
|
30
|
+
icon?: {
|
|
31
|
+
url: string;
|
|
32
|
+
size: [number, number];
|
|
33
|
+
anchor: [number, number];
|
|
34
|
+
sizeActive: [number, number];
|
|
35
|
+
anchorActive: [number, number];
|
|
36
|
+
};
|
|
37
|
+
popup?: {
|
|
38
|
+
text: string;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
declare const useLeafletMap: (settings: Partial<LeafletMapSettings>) => {
|
|
42
|
+
setContainer: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
43
|
+
flyToActive: (zoom?: number | undefined) => void;
|
|
44
|
+
flyToPosition: (position?: [number, number] | undefined, zoom?: number | undefined) => void;
|
|
45
|
+
panToPosition: (position?: [number, number] | undefined) => void;
|
|
46
|
+
showAllMarkers: () => void;
|
|
47
|
+
recalculateMapSize: () => void;
|
|
48
|
+
getCurrentZoom: () => number;
|
|
49
|
+
isLoaded: boolean;
|
|
50
|
+
};
|
|
51
|
+
export default useLeafletMap;
|
|
52
|
+
//# sourceMappingURL=useLeafletMap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLeafletMap.d.ts","sourceRoot":"","sources":["../../src/utils/useLeafletMap.tsx"],"names":[],"mappings":";AACA,OAAO,EAGH,iBAAiB,EAIpB,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,kBAAkB;IAC/B,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,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,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC;CACL;AAED,QAAA,MAAM,aAAa,aAAc,QAAQ,kBAAkB,CAAC;;;;;;;;;CAqT3D,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMounted.d.ts","sourceRoot":"","sources":["../../src/utils/useMounted.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,UAAU,eAQf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -12,6 +12,8 @@ interface ScrollSettings {
|
|
|
12
12
|
offset?: number;
|
|
13
13
|
/** On leave top offset callback */
|
|
14
14
|
onLeftOffset?: (dir: PageScrollDirection) => void;
|
|
15
|
+
/** Throttle timeout of resize event. Default: 200ms */
|
|
16
|
+
resizeThrottleTimeout?: number;
|
|
15
17
|
}
|
|
16
18
|
declare const usePageScroll: (settings?: ScrollSettings | undefined) => {
|
|
17
19
|
isTop: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePageScroll.d.ts","sourceRoot":"","sources":["../../src/utils/usePageScroll.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"usePageScroll.d.ts","sourceRoot":"","sources":["../../src/utils/usePageScroll.ts"],"names":[],"mappings":"AAGA,oBAAY,mBAAmB;IAC3B,EAAE,IAAA;IACF,IAAI,IAAA;CACP;AAED,UAAU,cAAc;IACpB,6CAA6C;IAC7C,eAAe,CAAC,EAAE;QACd,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,0BAA0B;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAClD,uDAAuD;IACvD,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED,QAAA,MAAM,aAAa;;;;;CAgGlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useParams.d.ts","sourceRoot":"","sources":["../../src/utils/useParams.ts"],"names":[],"mappings":"AAuBA,QAAA,MAAM,SAAS;;kBAUD,MAAM,SAAS,MAAM;CAyBlC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePrevious.d.ts","sourceRoot":"","sources":["../../src/utils/usePrevious.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,gCAUhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface ResizeState {
|
|
2
|
+
clientWidth: number;
|
|
3
|
+
clientHeight: number;
|
|
4
|
+
innerHeight: number;
|
|
5
|
+
innerWidth: number;
|
|
6
|
+
}
|
|
7
|
+
declare const useResizeThrottle: (timeout?: number, callback?: ((state: ResizeState) => void) | undefined) => ResizeState | null;
|
|
8
|
+
export default useResizeThrottle;
|
|
9
|
+
//# sourceMappingURL=useResizeThrottle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useResizeThrottle.d.ts","sourceRoot":"","sources":["../../src/utils/useResizeThrottle.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,iBAAiB,yCAEA,WAAW,KAAK,IAAI,oCAqD1C,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface ScrollState {
|
|
2
|
+
scrollY: number;
|
|
3
|
+
scrollX: number;
|
|
4
|
+
}
|
|
5
|
+
declare const useScrollThrottle: (timeout?: number, callback?: ((state: ScrollState) => void) | undefined) => ScrollState | null;
|
|
6
|
+
export default useScrollThrottle;
|
|
7
|
+
//# sourceMappingURL=useScrollThrottle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScrollThrottle.d.ts","sourceRoot":"","sources":["../../src/utils/useScrollThrottle.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,iBAAiB,yCAEA,WAAW,KAAK,IAAI,oCA+C1C,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTimeout.d.ts","sourceRoot":"","sources":["../../src/utils/useTimeout.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,UAAU,aAAc,MAAM,IAAI,SAAS,MAAM;;;CA8BtD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DependencyList, EffectCallback } from 'react';
|
|
2
|
+
/** useEffect function that runs only on update (not on first render) */
|
|
3
|
+
declare const useUpdateEffect: (effect: EffectCallback, deps?: DependencyList | undefined) => void;
|
|
4
|
+
export default useUpdateEffect;
|
|
5
|
+
//# sourceMappingURL=useUpdateEffect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpdateEffect.d.ts","sourceRoot":"","sources":["../../src/utils/useUpdateEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAqB,MAAM,OAAO,CAAC;AAE1E,wEAAwE;AACxE,QAAA,MAAM,eAAe,WAAY,cAAc,4CAW9C,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blateral/b.kit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.es.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"lib"
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
|
-
"build": "rollup -c",
|
|
12
|
+
"build": "yarn test && rollup -c",
|
|
13
13
|
"watch": "rollup -c -w",
|
|
14
14
|
"storybook": "start-storybook -s ./public -p 9000 -c .storybook --no-manager-cache",
|
|
15
15
|
"deploy-storybook": "yarn storybook-to-ghpages",
|
|
@@ -20,14 +20,15 @@
|
|
|
20
20
|
"deploy": "yarn tc && yarn build && yarn publish",
|
|
21
21
|
"deploy-patch": "yarn tc && yarn build && yarn publish --tag patch",
|
|
22
22
|
"deploy-beta": "yarn tc && yarn build && yarn publish --tag beta",
|
|
23
|
-
"prepare": "npx husky install && npx yalc --version"
|
|
23
|
+
"prepare": "npx husky install && npx yalc --version",
|
|
24
|
+
"test": "jest"
|
|
24
25
|
},
|
|
25
26
|
"repository": {
|
|
26
27
|
"type": "git",
|
|
27
28
|
"url": "git+https://github.com/blateral/b.kit.git"
|
|
28
29
|
},
|
|
29
30
|
"keywords": [],
|
|
30
|
-
"author": "Lukas Wochner <lukas.wochner@blateral.com>",
|
|
31
|
+
"author": "Lukas Wochner <lukas.wochner@blateral.com>, Maja Merk <maja.merk@blateral.com>",
|
|
31
32
|
"license": "ISC",
|
|
32
33
|
"bugs": {
|
|
33
34
|
"url": "https://github.com/blateral/b.kit/issues"
|
|
@@ -38,16 +39,16 @@
|
|
|
38
39
|
"@rollup/plugin-babel": "5.3.1",
|
|
39
40
|
"@rollup/plugin-commonjs": "22.0.0",
|
|
40
41
|
"@rollup/plugin-node-resolve": "13.2.1",
|
|
41
|
-
"@storybook/addon-a11y": "
|
|
42
|
-
"@storybook/addon-essentials": "
|
|
43
|
-
"@storybook/react": "6.
|
|
42
|
+
"@storybook/addon-a11y": "6.5.12",
|
|
43
|
+
"@storybook/addon-essentials": "6.5.12",
|
|
44
|
+
"@storybook/react": "6.5.12",
|
|
44
45
|
"@storybook/storybook-deployer": "^2.8.11",
|
|
45
|
-
"@storybook/theming": "
|
|
46
|
+
"@storybook/theming": "6.5.12",
|
|
47
|
+
"@types/jest": "^27.5.1",
|
|
46
48
|
"@types/react": "^18.0.8",
|
|
47
49
|
"@types/react-datepicker": "4.3.4",
|
|
48
50
|
"@types/react-dom": "^18.0.0",
|
|
49
51
|
"@types/react-leaflet": "2.5.0",
|
|
50
|
-
"@types/react-slick": "0.23.4",
|
|
51
52
|
"@types/styled-components": "5.1.25",
|
|
52
53
|
"@types/yup": "^0.29.11",
|
|
53
54
|
"@typescript-eslint/eslint-plugin": "5.21.0",
|
|
@@ -59,20 +60,20 @@
|
|
|
59
60
|
"eslint-plugin-react-hooks": "4.5.0",
|
|
60
61
|
"formik": "^2.2.9",
|
|
61
62
|
"husky": "^7.0.0",
|
|
62
|
-
"
|
|
63
|
+
"jest": "^28.1.0",
|
|
64
|
+
"leaflet": "1.9.1",
|
|
63
65
|
"react": "^18.1.0",
|
|
64
66
|
"react-datepicker": "4.6.0",
|
|
65
67
|
"react-dom": "^18.1.0",
|
|
66
68
|
"react-schemaorg": "^2.0.0",
|
|
67
|
-
"react-slick": "0.27.1",
|
|
68
69
|
"rollup": "2.70.2",
|
|
69
70
|
"rollup-plugin-delete": "^2.0.0",
|
|
70
71
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
71
72
|
"rollup-plugin-terser": "^7.0.2",
|
|
72
73
|
"rollup-plugin-typescript2": "0.31.2",
|
|
73
74
|
"schema-dts": "^1.0.0",
|
|
74
|
-
"slick-carousel": "1.8.1",
|
|
75
75
|
"styled-components": "5.3.5",
|
|
76
|
+
"ts-jest": "^28.0.3",
|
|
76
77
|
"ttypescript": "1.5.13",
|
|
77
78
|
"typescript": "^4.6.3"
|
|
78
79
|
},
|
|
@@ -85,12 +86,9 @@
|
|
|
85
86
|
"react-datepicker": "4.6.0",
|
|
86
87
|
"react-dom": "^18.1.0",
|
|
87
88
|
"react-schemaorg": "^2.0.0",
|
|
88
|
-
"react-slick": "0.27.1",
|
|
89
89
|
"schema-dts": "^1.0.0",
|
|
90
|
-
"slick-carousel": "1.8.1",
|
|
91
90
|
"styled-components": "5.3.5"
|
|
92
91
|
},
|
|
93
|
-
"dependencies": {},
|
|
94
92
|
"resolutions": {
|
|
95
93
|
"@types/react": "^18",
|
|
96
94
|
"@types/react-dom": "^18",
|