@blateral/b.kit 2.0.0-beta.2.8 → 2.0.0-beta.20.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/README.md +13 -12
- package/lib/components/base/Grid.d.ts +6 -2
- package/lib/components/base/Grid.d.ts.map +1 -1
- package/lib/components/base/Section.d.ts +2 -1
- package/lib/components/base/Section.d.ts.map +1 -1
- package/lib/components/base/Wrapper.d.ts +1 -0
- package/lib/components/base/Wrapper.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/AngleRight.d.ts +1 -0
- package/lib/components/base/icons/AngleRight.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 +8 -0
- package/lib/components/base/icons/ArrowLeft.d.ts.map +1 -0
- 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 +8 -0
- package/lib/components/base/icons/ArrowUp.d.ts.map +1 -0
- package/lib/components/base/icons/BoxArrowUpRight.d.ts +8 -0
- package/lib/components/base/icons/BoxArrowUpRight.d.ts.map +1 -0
- package/lib/components/base/icons/CalendarToday.d.ts +8 -0
- package/lib/components/base/icons/CalendarToday.d.ts.map +1 -0
- 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 +8 -0
- package/lib/components/base/icons/Clock.d.ts.map +1 -0
- 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/Cross.d.ts +1 -0
- package/lib/components/base/icons/Cross.d.ts.map +1 -1
- 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 +8 -0
- package/lib/components/base/icons/DateRange.d.ts.map +1 -0
- package/lib/components/base/icons/DeleteForever.d.ts +8 -0
- package/lib/components/base/icons/DeleteForever.d.ts.map +1 -0
- 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/FlyTo.d.ts +1 -0
- package/lib/components/base/icons/FlyTo.d.ts.map +1 -1
- package/lib/components/base/icons/Icons.d.ts +61 -0
- package/lib/components/base/icons/Icons.d.ts.map +1 -0
- package/lib/components/base/icons/Info.d.ts +8 -0
- package/lib/components/base/icons/Info.d.ts.map +1 -0
- package/lib/components/base/icons/Language.d.ts +8 -0
- package/lib/components/base/icons/Language.d.ts.map +1 -0
- package/lib/components/base/icons/LocationPin.d.ts +8 -0
- package/lib/components/base/icons/LocationPin.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 +2 -1
- 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/MenuBurger.d.ts +1 -0
- package/lib/components/base/icons/MenuBurger.d.ts.map +1 -1
- 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/files/Excel.d.ts +2 -0
- package/lib/components/base/icons/files/Excel.d.ts.map +1 -1
- package/lib/components/base/icons/files/Image.d.ts +2 -0
- package/lib/components/base/icons/files/Image.d.ts.map +1 -1
- package/lib/components/base/icons/files/Pdf.d.ts +2 -0
- package/lib/components/base/icons/files/Pdf.d.ts.map +1 -1
- package/lib/components/base/icons/files/PowerPoint.d.ts +2 -0
- package/lib/components/base/icons/files/PowerPoint.d.ts.map +1 -1
- package/lib/components/base/icons/files/UploadFile.d.ts +8 -0
- package/lib/components/base/icons/files/UploadFile.d.ts.map +1 -0
- package/lib/components/base/icons/files/Word.d.ts +2 -0
- package/lib/components/base/icons/files/Word.d.ts.map +1 -1
- package/lib/components/base/icons/files/Zip.d.ts +2 -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/Bdot.d.ts.map +1 -1
- package/lib/components/blocks/CookieConsent.d.ts +2 -0
- package/lib/components/blocks/CookieConsent.d.ts.map +1 -1
- package/lib/components/blocks/EventBlock.d.ts +11 -3
- package/lib/components/blocks/EventBlock.d.ts.map +1 -1
- package/lib/components/blocks/Feature.d.ts.map +1 -1
- package/lib/components/blocks/Image.d.ts +3 -0
- 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 +3 -0
- package/lib/components/blocks/IntroBlock.d.ts.map +1 -1
- package/lib/components/blocks/JobCard.d.ts +42 -0
- package/lib/components/blocks/JobCard.d.ts.map +1 -0
- package/lib/components/blocks/LanguageSwitcher.d.ts +2 -1
- package/lib/components/blocks/LanguageSwitcher.d.ts.map +1 -1
- package/lib/components/blocks/NavBlock.d.ts.map +1 -1
- package/lib/components/blocks/NewsCard.d.ts +6 -3
- package/lib/components/blocks/NewsCard.d.ts.map +1 -1
- package/lib/components/blocks/POICard.d.ts +49 -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 +4 -0
- package/lib/components/blocks/PromotionCard.d.ts.map +1 -1
- package/lib/components/blocks/Slider.d.ts +9 -2
- package/lib/components/blocks/Slider.d.ts.map +1 -1
- package/lib/components/blocks/SocialList.d.ts +10 -4
- package/lib/components/blocks/SocialList.d.ts.map +1 -1
- package/lib/components/blocks/Tag.d.ts +9 -3
- package/lib/components/blocks/Tag.d.ts.map +1 -1
- package/lib/components/blocks/Title.d.ts.map +1 -1
- package/lib/components/blocks/VideoBlock.d.ts +2 -2
- package/lib/components/blocks/VideoBlock.d.ts.map +1 -1
- package/lib/components/blocks/VideoCard.d.ts.map +1 -1
- package/lib/components/buttons/Button.d.ts +1 -0
- package/lib/components/buttons/Button.d.ts.map +1 -1
- package/lib/components/buttons/ButtonGhost.d.ts +1 -0
- package/lib/components/buttons/ButtonGhost.d.ts.map +1 -1
- package/lib/components/buttons/Control.d.ts +11 -0
- package/lib/components/buttons/Control.d.ts.map +1 -0
- package/lib/components/buttons/Pointer.d.ts +1 -0
- package/lib/components/buttons/Pointer.d.ts.map +1 -1
- package/lib/components/buttons/QuicknavButton.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.map +1 -1
- package/lib/components/fields/CompactForm.d.ts.map +1 -1
- package/lib/components/fields/Datepicker.d.ts +8 -11
- package/lib/components/fields/Datepicker.d.ts.map +1 -1
- package/lib/components/fields/FileUpload.d.ts +3 -9
- 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 +33 -0
- package/lib/components/fields/FormField.d.ts.map +1 -0
- package/lib/components/fields/LocationField.d.ts +38 -0
- package/lib/components/fields/LocationField.d.ts.map +1 -0
- package/lib/components/fields/Radio.d.ts +0 -1
- 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 +2 -11
- package/lib/components/fields/SelectDropdown.d.ts.map +1 -1
- package/lib/components/fields/Textarea.d.ts +1 -3
- package/lib/components/fields/Textarea.d.ts.map +1 -1
- package/lib/components/fields/Textfield.d.ts +2 -7
- package/lib/components/fields/Textfield.d.ts.map +1 -1
- package/lib/components/sections/Accordion.d.ts +3 -6
- package/lib/components/sections/Accordion.d.ts.map +1 -1
- package/lib/components/sections/AlertList.d.ts +1 -1
- package/lib/components/sections/Article.d.ts +1 -10
- package/lib/components/sections/Article.d.ts.map +1 -1
- package/lib/components/sections/CallToAction.d.ts +1 -1
- package/lib/components/sections/CardList.d.ts +5 -5
- package/lib/components/sections/CardList.d.ts.map +1 -1
- package/lib/components/sections/ComparisonSlider.d.ts +1 -1
- package/lib/components/sections/ComparisonSlider.d.ts.map +1 -1
- package/lib/components/sections/CrossPromotion.d.ts +1 -1
- package/lib/components/sections/FactGrid.d.ts +1 -1
- package/lib/components/sections/FactList.d.ts +1 -1
- package/lib/components/sections/FactList.d.ts.map +1 -1
- package/lib/components/sections/FeatureList.d.ts +1 -1
- package/lib/components/sections/Gallery.d.ts +8 -6
- package/lib/components/sections/Gallery.d.ts.map +1 -1
- package/lib/components/sections/IconList.d.ts +2 -1
- package/lib/components/sections/IconList.d.ts.map +1 -1
- package/lib/components/sections/IndexList.d.ts +5 -1
- package/lib/components/sections/IndexList.d.ts.map +1 -1
- package/lib/components/sections/Intro.d.ts +8 -3
- package/lib/components/sections/Intro.d.ts.map +1 -1
- package/lib/components/sections/Map.d.ts +38 -33
- package/lib/components/sections/Map.d.ts.map +1 -1
- package/lib/components/sections/NavList.d.ts +2 -10
- 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/NumberList.d.ts +1 -1
- package/lib/components/sections/NumberList.d.ts.map +1 -1
- package/lib/components/sections/Poster.d.ts +1 -1
- package/lib/components/sections/PriceList.d.ts +1 -1
- package/lib/components/sections/PriceList.d.ts.map +1 -1
- package/lib/components/sections/PriceTable.d.ts +1 -1
- package/lib/components/sections/Quicknav.d.ts +1 -1
- package/lib/components/sections/Quote.d.ts +1 -1
- package/lib/components/sections/SocialNav.d.ts +6 -5
- package/lib/components/sections/SocialNav.d.ts.map +1 -1
- package/lib/components/sections/SocialWall.d.ts +1 -1
- package/lib/components/sections/SocialWall.d.ts.map +1 -1
- package/lib/components/sections/Table.d.ts +1 -1
- package/lib/components/sections/Table.d.ts.map +1 -1
- package/lib/components/sections/Teaser.d.ts +1 -1
- package/lib/components/sections/TeaserWide.d.ts +1 -1
- package/lib/components/sections/TeaserWide.d.ts.map +1 -1
- package/lib/components/sections/Timeline.d.ts +1 -1
- package/lib/components/sections/Timeline.d.ts.map +1 -1
- package/lib/components/sections/Video.d.ts +1 -1
- package/lib/components/sections/carousel/CarouselBase.d.ts +1 -0
- package/lib/components/sections/carousel/CarouselBase.d.ts.map +1 -1
- package/lib/components/sections/carousel/FeatureCarousel.d.ts +1 -1
- package/lib/components/sections/carousel/ImageCarousel.d.ts +1 -1
- package/lib/components/sections/carousel/PromotionCarousel.d.ts +1 -1
- package/lib/components/sections/carousel/PromotionCarousel.d.ts.map +1 -1
- package/lib/components/sections/carousel/VideoCarousel.d.ts +1 -1
- package/lib/components/sections/carousel/VideoCarousel.d.ts.map +1 -1
- package/lib/components/sections/events/EventDetail.d.ts +58 -0
- package/lib/components/sections/events/EventDetail.d.ts.map +1 -0
- package/lib/components/sections/events/EventList.d.ts +39 -0
- package/lib/components/sections/events/EventList.d.ts.map +1 -0
- package/lib/components/sections/events/EventOverview.d.ts +62 -0
- package/lib/components/sections/events/EventOverview.d.ts.map +1 -0
- package/lib/components/sections/footer/Footer.d.ts +65 -0
- package/lib/components/sections/footer/Footer.d.ts.map +1 -0
- package/lib/components/sections/footer/partials/FooterBottomBar.d.ts +14 -0
- package/lib/components/sections/footer/partials/FooterBottomBar.d.ts.map +1 -0
- package/lib/components/sections/footer/partials/FooterColumn.d.ts +14 -0
- package/lib/components/sections/footer/partials/FooterColumn.d.ts.map +1 -0
- package/lib/components/sections/footer/partials/index.d.ts +3 -0
- package/lib/components/sections/footer/partials/index.d.ts.map +1 -0
- package/lib/components/sections/footer/skeletons/FooterArticle.d.ts +12 -0
- package/lib/components/sections/footer/skeletons/FooterArticle.d.ts.map +1 -0
- package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts +16 -0
- package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +1 -0
- package/lib/components/sections/footer/skeletons/index.d.ts +3 -0
- package/lib/components/sections/footer/skeletons/index.d.ts.map +1 -0
- package/lib/components/sections/{DynamicForm.d.ts → form/DynamicForm.d.ts} +51 -20
- 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 +67 -47
- package/lib/components/sections/header/Header.d.ts.map +1 -1
- package/lib/components/sections/header/HeaderKenBurns.d.ts +4 -14
- package/lib/components/sections/header/HeaderKenBurns.d.ts.map +1 -1
- package/lib/components/sections/header/HeaderPoster.d.ts +7 -16
- package/lib/components/sections/header/HeaderPoster.d.ts.map +1 -1
- package/lib/components/sections/header/HeaderVideo.d.ts +6 -16
- package/lib/components/sections/header/HeaderVideo.d.ts.map +1 -1
- package/lib/components/sections/jobs/JobArticle.d.ts +52 -0
- package/lib/components/sections/jobs/JobArticle.d.ts.map +1 -0
- package/lib/components/sections/jobs/JobList.d.ts +39 -0
- package/lib/components/sections/jobs/JobList.d.ts.map +1 -0
- package/lib/components/sections/navigation/{remastered/NavBar.d.ts → NavBar.d.ts} +6 -1
- package/lib/components/sections/navigation/NavBar.d.ts.map +1 -0
- package/lib/components/sections/navigation/Navigation.d.ts +76 -56
- package/lib/components/sections/navigation/Navigation.d.ts.map +1 -1
- package/lib/components/sections/navigation/menu/Menu.d.ts +38 -30
- package/lib/components/sections/navigation/menu/Menu.d.ts.map +1 -1
- package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts +16 -0
- package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -0
- package/lib/components/sections/navigation/{remastered/menu → menu}/variations/MenuLarge.d.ts +0 -0
- package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -0
- package/lib/components/sections/navigation/partials/MenuFooter.d.ts +12 -0
- package/lib/components/sections/navigation/partials/MenuFooter.d.ts.map +1 -0
- package/lib/components/sections/navigation/partials/MenuHeader.d.ts +16 -0
- package/lib/components/sections/navigation/partials/MenuHeader.d.ts.map +1 -0
- package/lib/components/sections/navigation/{remastered/partials → partials}/NavBarBottom.d.ts +1 -1
- package/lib/components/sections/navigation/partials/NavBarBottom.d.ts.map +1 -0
- package/lib/components/sections/navigation/{remastered/partials → partials}/NavBarMain.d.ts +4 -0
- package/lib/components/sections/navigation/partials/NavBarMain.d.ts.map +1 -0
- package/lib/components/sections/navigation/{remastered/partials → partials}/NavBarTop.d.ts +1 -1
- package/lib/components/sections/navigation/partials/NavBarTop.d.ts.map +1 -0
- package/lib/components/sections/navigation/partials/index.d.ts +6 -0
- package/lib/components/sections/navigation/partials/index.d.ts.map +1 -0
- package/lib/components/sections/navigation/{remastered/skeletons → skeletons}/BarBreadCrumbs.d.ts +3 -3
- package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +1 -0
- package/lib/components/sections/navigation/{remastered/skeletons → skeletons}/BarColumn.d.ts +0 -0
- package/lib/components/sections/navigation/skeletons/BarColumn.d.ts.map +1 -0
- package/lib/components/sections/navigation/{remastered/skeletons → skeletons}/BarLogo.d.ts +2 -2
- package/lib/components/sections/navigation/skeletons/BarLogo.d.ts.map +1 -0
- package/lib/components/sections/navigation/{remastered/skeletons → skeletons}/BarMenuToggle.d.ts +1 -0
- package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +1 -0
- package/lib/components/sections/navigation/{remastered/skeletons → skeletons}/BarNavList.d.ts +0 -0
- package/lib/components/sections/navigation/skeletons/BarNavList.d.ts.map +1 -0
- package/lib/components/sections/navigation/skeletons/index.d.ts +6 -0
- package/lib/components/sections/navigation/skeletons/index.d.ts.map +1 -0
- package/lib/components/sections/news/NewsAuthorCard.d.ts +2 -2
- package/lib/components/sections/news/NewsAuthorCard.d.ts.map +1 -1
- package/lib/components/sections/news/NewsFooter.d.ts +30 -8
- package/lib/components/sections/news/NewsFooter.d.ts.map +1 -1
- package/lib/components/sections/news/NewsImages.d.ts +5 -1
- package/lib/components/sections/news/NewsImages.d.ts.map +1 -1
- package/lib/components/sections/news/NewsIntro.d.ts +39 -7
- package/lib/components/sections/news/NewsIntro.d.ts.map +1 -1
- package/lib/components/sections/news/NewsList.d.ts +8 -13
- package/lib/components/sections/news/NewsList.d.ts.map +1 -1
- package/lib/components/sections/news/NewsOverview.d.ts +8 -5
- package/lib/components/sections/news/NewsOverview.d.ts.map +1 -1
- package/lib/components/sections/news/NewsTable.d.ts +6 -2
- package/lib/components/sections/news/NewsTable.d.ts.map +1 -1
- package/lib/components/sections/news/NewsText.d.ts +6 -2
- package/lib/components/sections/news/NewsText.d.ts.map +1 -1
- package/lib/components/sections/news/NewsVideo.d.ts +5 -1
- 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 +121 -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 +1 -0
- package/lib/components/typography/Callout.d.ts.map +1 -1
- package/lib/components/typography/Copy.d.ts +3 -1
- package/lib/components/typography/Copy.d.ts.map +1 -1
- package/lib/components/typography/Heading.d.ts +2 -1
- package/lib/components/typography/Heading.d.ts.map +1 -1
- package/lib/components/typography/Link.d.ts +2 -0
- package/lib/components/typography/Link.d.ts.map +1 -1
- package/lib/index.d.ts +48 -36
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +1 -15
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/LibThemeProvider.d.ts +2 -3
- package/lib/utils/LibThemeProvider.d.ts.map +1 -1
- package/lib/utils/arrays.d.ts +3 -0
- package/lib/utils/arrays.d.ts.map +1 -0
- package/lib/utils/concat.d.ts +8 -0
- package/lib/utils/concat.d.ts.map +1 -0
- package/lib/utils/dataURI.d.ts +3 -0
- package/lib/utils/dataURI.d.ts.map +1 -0
- 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/getLinkIcon.d.ts +3 -0
- package/lib/utils/getLinkIcon.d.ts.map +1 -0
- package/lib/utils/hexRgbConverter.d.ts.map +1 -1
- package/lib/utils/menuHooks.d.ts +18 -0
- package/lib/utils/menuHooks.d.ts.map +1 -0
- package/lib/utils/navigation.d.ts +20 -0
- package/lib/utils/navigation.d.ts.map +1 -0
- package/lib/utils/statusFormatter.d.ts +7 -0
- package/lib/utils/statusFormatter.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 +54 -32
- package/lib/utils/styles.d.ts.map +1 -1
- package/lib/utils/types.d.ts +8 -0
- package/lib/utils/types.d.ts.map +1 -0
- 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/useGeolocation.d.ts +8 -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 +55 -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/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/useScrollIntoView.d.ts +5 -3
- package/lib/utils/useScrollIntoView.d.ts.map +1 -1
- 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 +46 -35
- package/lib/components/base/icons/ExclamationMark.d.ts +0 -7
- package/lib/components/base/icons/ExclamationMark.d.ts.map +0 -1
- package/lib/components/base/icons/StarGhost.d.ts +0 -7
- package/lib/components/base/icons/StarGhost.d.ts.map +0 -1
- package/lib/components/base/icons/files/Document.d.ts +0 -6
- package/lib/components/base/icons/files/Document.d.ts.map +0 -1
- package/lib/components/blocks/LeafletMap.d.ts +0 -42
- package/lib/components/blocks/LeafletMap.d.ts.map +0 -1
- package/lib/components/blocks/LinkList.d.ts +0 -11
- package/lib/components/blocks/LinkList.d.ts.map +0 -1
- package/lib/components/sections/DynamicForm.d.ts.map +0 -1
- package/lib/components/sections/EventList.d.ts +0 -23
- package/lib/components/sections/EventList.d.ts.map +0 -1
- package/lib/components/sections/Footer.d.ts +0 -58
- package/lib/components/sections/Footer.d.ts.map +0 -1
- package/lib/components/sections/Form.d.ts +0 -76
- package/lib/components/sections/Form.d.ts.map +0 -1
- package/lib/components/sections/navigation/TopBar.d.ts +0 -39
- package/lib/components/sections/navigation/TopBar.d.ts.map +0 -1
- package/lib/components/sections/navigation/menu/Flyout.d.ts +0 -53
- package/lib/components/sections/navigation/menu/Flyout.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/NavBar.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/Navigation.d.ts +0 -50
- package/lib/components/sections/navigation/remastered/Navigation.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/menu/Menu.d.ts +0 -39
- package/lib/components/sections/navigation/remastered/menu/Menu.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/menu/variations/MenuFlyout.d.ts +0 -8
- package/lib/components/sections/navigation/remastered/menu/variations/MenuFlyout.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/menu/variations/MenuLarge.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/partials/NavBarBottom.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/partials/NavBarMain.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/partials/NavBarTop.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/skeletons/BarBreadCrumbs.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/skeletons/BarColumn.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/skeletons/BarLogo.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/skeletons/BarMenuToggle.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/skeletons/BarNavList.d.ts.map +0 -1
- package/lib/components/sections/navigation/remastered/skeletons/Skeletons.d.ts +0 -39
- package/lib/components/sections/navigation/remastered/skeletons/Skeletons.d.ts.map +0 -1
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
import { DefaultTheme } from 'styled-components';
|
|
3
|
-
|
|
4
|
-
[P in keyof T]?: RecursivePartial<T[P]>;
|
|
5
|
-
};
|
|
3
|
+
import { RecursivePartial } from './types';
|
|
6
4
|
export declare type ThemeMods = RecursivePartial<DefaultTheme>;
|
|
7
5
|
/**
|
|
8
6
|
* Combining Theme objects
|
|
@@ -12,6 +10,7 @@ export declare type ThemeMods = RecursivePartial<DefaultTheme>;
|
|
|
12
10
|
export declare const assignTo: <T extends DefaultTheme | RecursivePartial<DefaultTheme>>(target: T, source?: RecursivePartial<DefaultTheme> | undefined) => T;
|
|
13
11
|
export declare const LibThemeProvider: FC<{
|
|
14
12
|
theme?: ThemeMods;
|
|
13
|
+
children?: React.ReactNode;
|
|
15
14
|
}>;
|
|
16
15
|
export declare const modifyTheme: (activeTheme?: DefaultTheme | undefined, modifications?: RecursivePartial<DefaultTheme> | undefined) => DefaultTheme;
|
|
17
16
|
export declare const useLibTheme: () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LibThemeProvider.d.ts","sourceRoot":"","sources":["../../src/utils/LibThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"LibThemeProvider.d.ts","sourceRoot":"","sources":["../../src/utils/LibThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,YAAY,EAA2B,MAAM,mBAAmB,CAAC;AAS1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,oBAAY,SAAS,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAsCvD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,gIA4BpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAUA,CAAC;AAMF,eAAO,MAAM,WAAW,sHAuBvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;CASvB,CAAC;AAEF,eAAO,MAAM,YAAY;IAKb,+EAA+E;;EAatF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrays.d.ts","sourceRoot":"","sources":["../../src/utils/arrays.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,qDAIxB,CAAC;AAEF,eAAO,MAAM,YAAY,oEAOxB,CAAC"}
|
|
@@ -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"}
|
|
@@ -0,0 +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,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLinkIcon.d.ts","sourceRoot":"","sources":["../../src/utils/getLinkIcon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,eAAO,MAAM,WAAW,UACb,YAAY,QACb,MAAM,uCAEb,MASF,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":"AAGA,eAAO,MAAM,SAAS,QAAS,MAAM,uCAQpC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Settings {
|
|
3
|
+
openMenuIdent: string;
|
|
4
|
+
closeMenuIdent: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Hooks in to menu state to control it with keyboard inputs
|
|
8
|
+
* @param initialMenuState
|
|
9
|
+
* @param settings
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare const useMenuKeyboard: (initialMenuState: boolean, settings: Partial<Settings>) => {
|
|
13
|
+
setRoot: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
14
|
+
isMenuOpen: boolean;
|
|
15
|
+
setIsMenuOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=menuHooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menuHooks.d.ts","sourceRoot":"","sources":["../../src/utils/menuHooks.ts"],"names":[],"mappings":";AAEA,UAAU,QAAQ;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;GAKG;AACH,eAAO,MAAM,eAAe,qBACN,OAAO,YACf,QAAQ,QAAQ,CAAC;;;;CAgE9B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NavItem } from "../components/sections/navigation/menu/Menu";
|
|
2
|
+
/**
|
|
3
|
+
* Get current navigation item
|
|
4
|
+
* @param items Array of navItems
|
|
5
|
+
* @param includeHidden Include items that are hidden for menu
|
|
6
|
+
* @returns The current navItem
|
|
7
|
+
*/
|
|
8
|
+
export declare const getCurrentNavItem: (items?: NavItem[] | undefined, includeHidden?: boolean | undefined) => {
|
|
9
|
+
current: NavItem;
|
|
10
|
+
root: NavItem;
|
|
11
|
+
rootIndex: number;
|
|
12
|
+
} | null;
|
|
13
|
+
/**
|
|
14
|
+
* Get naviation item path to current navItem
|
|
15
|
+
* @param items Navigation array with navItems
|
|
16
|
+
* @param exludeHrefs navItems with specific hrefs that should be excluded
|
|
17
|
+
* @returns Array of NavItems
|
|
18
|
+
*/
|
|
19
|
+
export declare const getCurrentNavPath: (items?: NavItem[] | undefined, exludeHrefs?: string[] | undefined) => NavItem[];
|
|
20
|
+
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/utils/navigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,oDAAiD;AAEnE;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;;;QA+B7B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,kFA6B7B,CAAC"}
|
|
@@ -13,6 +13,13 @@ export default class StatusFormatter {
|
|
|
13
13
|
getFormattedStatus(): string;
|
|
14
14
|
getFormattedDate(): string;
|
|
15
15
|
getFormattedTime(): string;
|
|
16
|
+
areOnSameDay(first: Date, second: Date): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Get formatted string of timespan from current date + duration in seconds
|
|
19
|
+
* @param duration Duration in seconds. Added to current date
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
getFormattedTimespan(format?: string, duration?: number, seperator?: string): string;
|
|
16
23
|
private getDoubleDigitString;
|
|
17
24
|
private getDay;
|
|
18
25
|
private getMonth;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statusFormatter.d.ts","sourceRoot":"","sources":["../../src/utils/statusFormatter.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,OAAO,eAAe;IAChC,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,UAAU,CAAS;IAE3B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,IAAI,CAAO;gBAGf,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,SAAS,CAAC,EAAE,MAAM;IAWtB,OAAO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
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,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DefaultTheme } from 'styled-components';
|
|
2
|
+
import { XOR } from './types';
|
|
3
3
|
export declare type MediaQueryType = 'small' | 'medium' | 'semilarge' | 'large' | 'xlarge' | 'xxlarge';
|
|
4
4
|
export declare const mq: {
|
|
5
5
|
[key in Exclude<MediaQueryType, 'small'>]: string;
|
|
@@ -13,30 +13,33 @@ export declare const spacings: {
|
|
|
13
13
|
};
|
|
14
14
|
/***** Range Helper *****/
|
|
15
15
|
export declare const getSizeByRange: (range: [number, number]) => string;
|
|
16
|
-
export declare const withRange: (range: [number, number?], property: string) =>
|
|
16
|
+
export declare const withRange: (range: [number, number?], property: string) => string;
|
|
17
17
|
/**
|
|
18
18
|
* Generate css attributes to style text color with plain color or gradient
|
|
19
19
|
* @param fallbackColor
|
|
20
20
|
* @param gradient
|
|
21
21
|
*/
|
|
22
22
|
export declare const styleTextColor: (fallbackColor?: string | undefined, gradient?: string | undefined) => import("styled-components").FlattenSimpleInterpolation;
|
|
23
|
-
/*****
|
|
24
|
-
interface
|
|
23
|
+
/***** Color Types *****/
|
|
24
|
+
interface ColorOptions {
|
|
25
25
|
default: string;
|
|
26
26
|
inverted: string;
|
|
27
27
|
hover: string;
|
|
28
28
|
invertedHover: string;
|
|
29
29
|
}
|
|
30
|
-
export declare type
|
|
31
|
-
export interface
|
|
30
|
+
export declare type ColorOptionsType = keyof ColorOptions;
|
|
31
|
+
export interface Colors {
|
|
32
32
|
text: {
|
|
33
33
|
default: string;
|
|
34
34
|
inverted: string;
|
|
35
35
|
error: string;
|
|
36
|
+
errorInverted: string;
|
|
36
37
|
heading: string;
|
|
37
38
|
headingInverted: string;
|
|
38
39
|
copy: string;
|
|
39
40
|
copyInverted: string;
|
|
41
|
+
subtile: string;
|
|
42
|
+
subtileInverted: string;
|
|
40
43
|
};
|
|
41
44
|
sectionBg: {
|
|
42
45
|
light: string;
|
|
@@ -51,26 +54,10 @@ export interface NewColors {
|
|
|
51
54
|
dark: string;
|
|
52
55
|
darkHover: string;
|
|
53
56
|
};
|
|
54
|
-
primary: NewColorOptions;
|
|
55
|
-
secondary: NewColorOptions;
|
|
56
|
-
error: string;
|
|
57
|
-
}
|
|
58
|
-
export declare type NewColorType = keyof NewColors;
|
|
59
|
-
/***** Color Types *****/
|
|
60
|
-
interface ColorOptions {
|
|
61
|
-
light: string;
|
|
62
|
-
medium: string;
|
|
63
|
-
dark: string;
|
|
64
|
-
}
|
|
65
|
-
export declare type ColorOptionsType = keyof ColorOptions;
|
|
66
|
-
export interface Colors {
|
|
67
|
-
dark: string;
|
|
68
|
-
light: string;
|
|
69
|
-
mono: ColorOptions;
|
|
70
57
|
primary: ColorOptions;
|
|
71
58
|
secondary: ColorOptions;
|
|
72
59
|
error: string;
|
|
73
|
-
|
|
60
|
+
errorInverted: string;
|
|
74
61
|
}
|
|
75
62
|
export declare type ColorType = keyof Colors;
|
|
76
63
|
/***** Font Types *****/
|
|
@@ -82,6 +69,7 @@ export interface FontProps {
|
|
|
82
69
|
letterSpacing?: string;
|
|
83
70
|
size: [number, number?];
|
|
84
71
|
textTransform?: string;
|
|
72
|
+
textDecoration?: string;
|
|
85
73
|
color?: string;
|
|
86
74
|
colorInverted?: string;
|
|
87
75
|
colorGradient?: string;
|
|
@@ -112,6 +100,12 @@ export interface Fonts {
|
|
|
112
100
|
textTransform?: string;
|
|
113
101
|
textDecoration?: string;
|
|
114
102
|
};
|
|
103
|
+
navigation: {
|
|
104
|
+
featured: FontProps;
|
|
105
|
+
main: FontProps;
|
|
106
|
+
sub: FontProps;
|
|
107
|
+
secondary: FontProps;
|
|
108
|
+
};
|
|
115
109
|
}
|
|
116
110
|
export declare type FontType = keyof Fonts;
|
|
117
111
|
/**
|
|
@@ -123,10 +117,26 @@ export declare type NavBarHeights = {
|
|
|
123
117
|
small: number;
|
|
124
118
|
large: number;
|
|
125
119
|
};
|
|
126
|
-
|
|
127
|
-
|
|
120
|
+
interface LinkIcon {
|
|
121
|
+
isExternal?: boolean;
|
|
128
122
|
/** Patterns of Href value to show this icon (e.g. .svg, .png) */
|
|
129
|
-
patterns
|
|
123
|
+
patterns: string[];
|
|
124
|
+
/** Icon scale factor. 1 is default */
|
|
125
|
+
scale?: (props: {
|
|
126
|
+
type?: keyof Fonts;
|
|
127
|
+
size?: FontOptionType;
|
|
128
|
+
}) => number;
|
|
129
|
+
/** Set vertical alignment of icon in text */
|
|
130
|
+
vAlign?: 'bottom' | 'baseline' | 'middle' | 'top' | 'text-top' | 'text-bottom' | 'super' | 'sub';
|
|
131
|
+
}
|
|
132
|
+
export interface LinkUrlIcon extends LinkIcon {
|
|
133
|
+
iconUrl: (isInverted?: boolean) => string;
|
|
134
|
+
}
|
|
135
|
+
export interface LinkFontIcon extends LinkIcon {
|
|
136
|
+
/** Define font family for icon font */
|
|
137
|
+
iconFont: string;
|
|
138
|
+
/** Define icon font character */
|
|
139
|
+
iconChar: string;
|
|
130
140
|
}
|
|
131
141
|
export interface GlobalSettings {
|
|
132
142
|
sections: {
|
|
@@ -152,12 +162,13 @@ export interface GlobalSettings {
|
|
|
152
162
|
inverted: string;
|
|
153
163
|
};
|
|
154
164
|
/** Date and Time Formats for all news sections */
|
|
155
|
-
newsDateFormat: string;
|
|
156
|
-
newsTimeFormat: string;
|
|
165
|
+
newsDateFormat: (date: Date) => string;
|
|
166
|
+
newsTimeFormat: (date: Date) => string;
|
|
157
167
|
newsLocaleKey: 'de' | 'en';
|
|
158
168
|
/** Date and Time Formats for all event sections */
|
|
159
|
-
eventDateFormat: string;
|
|
160
|
-
eventTimeFormat: string;
|
|
169
|
+
eventDateFormat: (date: Date) => string;
|
|
170
|
+
eventTimeFormat: (date: Date) => string;
|
|
171
|
+
eventTimespanFormat: (start: Date, duration?: number) => string;
|
|
161
172
|
eventLocaleKey: 'de' | 'en';
|
|
162
173
|
/** Date and Time Formats for Datepickers */
|
|
163
174
|
datepickerLocaleKey: 'de' | 'en';
|
|
@@ -192,15 +203,26 @@ export interface GlobalSettings {
|
|
|
192
203
|
large: [number, number?];
|
|
193
204
|
};
|
|
194
205
|
};
|
|
206
|
+
menu: {
|
|
207
|
+
/**
|
|
208
|
+
* Heights of menu header.
|
|
209
|
+
* Array values are like: [mobile, desktop]
|
|
210
|
+
* Menu header is hidden if value equal 0
|
|
211
|
+
*/
|
|
212
|
+
headerHeight: {
|
|
213
|
+
small: [number, number?];
|
|
214
|
+
large: [number, number?];
|
|
215
|
+
};
|
|
216
|
+
};
|
|
195
217
|
};
|
|
196
218
|
icons: {
|
|
197
219
|
/** Icon setup for link/download lists */
|
|
198
|
-
linkIcons: Array<
|
|
220
|
+
linkIcons: Array<XOR<LinkUrlIcon, LinkFontIcon>>;
|
|
199
221
|
};
|
|
200
222
|
}
|
|
201
223
|
/***** Theme Helper *****/
|
|
202
224
|
export declare const baseTheme: DefaultTheme;
|
|
203
|
-
export declare const getTheme: (theme?: DefaultTheme | undefined) =>
|
|
225
|
+
export declare const getTheme: (theme?: DefaultTheme | undefined) => DefaultTheme;
|
|
204
226
|
export declare const getColors: (theme?: DefaultTheme | undefined) => Colors;
|
|
205
227
|
export declare const getFonts: (theme?: DefaultTheme | undefined) => Fonts;
|
|
206
228
|
export declare const getGlobals: (theme?: DefaultTheme | undefined) => GlobalSettings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/utils/styles.tsx"],"names":[],"mappings":"
|
|
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,cAAc,UAAW,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,MACiD,CAAC;AAE3G,eAAO,MAAM,SAAS,UAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,YAAY,MAAM,WAmBnE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,+HAkB1B,CAAC;AAEF,yBAAyB;AACzB,UAAU,YAAY;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,oBAAY,gBAAgB,GAAG,MAAM,YAAY,CAAC;AAElD,MAAM,WAAW,MAAM;IACnB,IAAI,EAAE;QACF,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,aAAa,EAAE,MAAM,CAAC;QACtB,OAAO,EAAE,MAAM,CAAC;QAChB,eAAe,EAAE,MAAM,CAAC;QACxB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAA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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,8 @@
|
|
|
1
|
+
export declare type RecursivePartial<T> = {
|
|
2
|
+
[P in keyof T]?: T[P] extends Array<infer I> ? Array<RecursivePartial<I>> : RecursivePartial<T[P]>;
|
|
3
|
+
};
|
|
4
|
+
export declare type Without<T, U> = {
|
|
5
|
+
[P in Exclude<keyof T, keyof U>]?: never;
|
|
6
|
+
};
|
|
7
|
+
export declare type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
|
|
8
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/utils/types.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB,CAAC,CAAC,IAAI;KAC7B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,KAAK,CAAC,MAAM,CAAC,CAAC,GACtC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,GAC1B,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC/B,CAAC;AAEF,oBAAY,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK;CAAE,CAAC;AAEzE,oBAAY,GAAG,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,MAAM,GACtC,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GACzC,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"urlParams.d.ts","sourceRoot":"","sources":["../../src/utils/urlParams.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,8BAiBxB,CAAC;AAEF,eAAO,MAAM,WAAW,QAAS,MAAM,SAAS,MAAM,SAgBrD,CAAC;AAEF,eAAO,MAAM,cAAc,QAAS,MAAM,SAUzC,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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const useGeolocation: (enableHighAccuracy?: boolean, autostart?: boolean) => {
|
|
2
|
+
isSupported: boolean | undefined;
|
|
3
|
+
location: GeolocationPosition | undefined;
|
|
4
|
+
error: GeolocationPositionError | undefined;
|
|
5
|
+
reset: () => void;
|
|
6
|
+
};
|
|
7
|
+
export default useGeolocation;
|
|
8
|
+
//# 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;;;;;CAgDnB,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,55 @@
|
|
|
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
|
+
maxBoundsViscosity?: number;
|
|
18
|
+
markerAreaBufferRatio?: number;
|
|
19
|
+
showZoomControls?: boolean;
|
|
20
|
+
zoomControlPosition?: 'bottomleft' | 'bottomright' | 'topleft' | 'topright';
|
|
21
|
+
onMarkerClick?: (markerId: string) => void;
|
|
22
|
+
onActiveMarkerChanged?: (props: {
|
|
23
|
+
markerId: string;
|
|
24
|
+
}) => void;
|
|
25
|
+
onReady?: () => void;
|
|
26
|
+
onClick?: (ev: LeafletMouseEvent, currentZoom: number) => void;
|
|
27
|
+
}
|
|
28
|
+
export interface LeafletMapMarker {
|
|
29
|
+
id: string;
|
|
30
|
+
position: [number, number];
|
|
31
|
+
isInteractive?: boolean;
|
|
32
|
+
icon?: {
|
|
33
|
+
url: string;
|
|
34
|
+
size: [number, number];
|
|
35
|
+
anchor: [number, number];
|
|
36
|
+
sizeActive: [number, number];
|
|
37
|
+
anchorActive: [number, number];
|
|
38
|
+
};
|
|
39
|
+
popup?: {
|
|
40
|
+
text: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
declare const useLeafletMap: (settings: Partial<LeafletMapSettings>) => {
|
|
44
|
+
setContainer: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
|
|
45
|
+
flyToActive: (zoom?: number | undefined) => void;
|
|
46
|
+
flyToPosition: (position?: [number, number] | undefined, zoom?: number | undefined) => void;
|
|
47
|
+
panToPosition: (position?: [number, number] | undefined) => void;
|
|
48
|
+
showAllMarkers: () => void;
|
|
49
|
+
restrictMapToMarkers: (bufferRatio?: number | undefined) => void;
|
|
50
|
+
recalculateMapSize: () => void;
|
|
51
|
+
getCurrentZoom: () => number;
|
|
52
|
+
isLoaded: boolean;
|
|
53
|
+
};
|
|
54
|
+
export default useLeafletMap;
|
|
55
|
+
//# 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,EAEH,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,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACjC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gBAAgB,CAAC,EAAE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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"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const useScrollIntoView: (props: {
|
|
2
|
+
duration: number;
|
|
3
|
+
delay?: number;
|
|
4
|
+
}) => {
|
|
5
|
+
setTarget: (el: HTMLElement) => void;
|
|
4
6
|
};
|
|
5
7
|
//# sourceMappingURL=useScrollIntoView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollIntoView.d.ts","sourceRoot":"","sources":["../../src/utils/useScrollIntoView.
|
|
1
|
+
{"version":3,"file":"useScrollIntoView.d.ts","sourceRoot":"","sources":["../../src/utils/useScrollIntoView.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,UAAW;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;oBAc0B,WAAW;CA2ErC,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"}
|