@blateral/b.kit 1.21.3 → 2.0.0-beta.10.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.
Files changed (347) hide show
  1. package/lib/components/base/Grid.d.ts +27 -3
  2. package/lib/components/base/Grid.d.ts.map +1 -1
  3. package/lib/components/base/Section.d.ts +4 -1
  4. package/lib/components/base/Section.d.ts.map +1 -1
  5. package/lib/components/base/Wrapper.d.ts +2 -0
  6. package/lib/components/base/Wrapper.d.ts.map +1 -1
  7. package/lib/components/base/icons/AngleLeft.d.ts +7 -0
  8. package/lib/components/base/icons/{StarGhost.d.ts.map → AngleLeft.d.ts.map} +1 -1
  9. package/lib/components/base/icons/AngleRight.d.ts +8 -0
  10. package/lib/components/base/icons/AngleRight.d.ts.map +1 -0
  11. package/lib/components/base/icons/AngleUp.d.ts.map +1 -1
  12. package/lib/components/base/icons/ArrowDown.d.ts +7 -0
  13. package/lib/components/base/icons/ArrowDown.d.ts.map +1 -0
  14. package/lib/components/base/icons/ArrowLeft.d.ts +7 -0
  15. package/lib/components/base/icons/ArrowLeft.d.ts.map +1 -0
  16. package/lib/components/base/icons/ArrowLeftGhost.d.ts.map +1 -1
  17. package/lib/components/base/icons/ArrowLeftRight.d.ts.map +1 -1
  18. package/lib/components/base/icons/ArrowRight.d.ts.map +1 -1
  19. package/lib/components/base/icons/ArrowRightGhost.d.ts.map +1 -1
  20. package/lib/components/base/icons/ArrowUp.d.ts +7 -0
  21. package/lib/components/base/icons/ArrowUp.d.ts.map +1 -0
  22. package/lib/components/base/icons/BoxArrowUpRight.d.ts +7 -0
  23. package/lib/components/base/icons/BoxArrowUpRight.d.ts.map +1 -0
  24. package/lib/components/base/icons/CalendarToday.d.ts +7 -0
  25. package/lib/components/base/icons/CalendarToday.d.ts.map +1 -0
  26. package/lib/components/base/icons/Check.d.ts.map +1 -1
  27. package/lib/components/base/icons/Clock.d.ts +7 -0
  28. package/lib/components/base/icons/Clock.d.ts.map +1 -0
  29. package/lib/components/base/icons/Cross.d.ts +1 -0
  30. package/lib/components/base/icons/Cross.d.ts.map +1 -1
  31. package/lib/components/base/icons/DateRange.d.ts +7 -0
  32. package/lib/components/base/icons/DateRange.d.ts.map +1 -0
  33. package/lib/components/base/icons/DeleteForever.d.ts +8 -0
  34. package/lib/components/base/icons/DeleteForever.d.ts.map +1 -0
  35. package/lib/components/base/icons/External.d.ts.map +1 -1
  36. package/lib/components/base/icons/Icons.d.ts +53 -0
  37. package/lib/components/base/icons/Icons.d.ts.map +1 -0
  38. package/lib/components/base/icons/Info.d.ts +7 -0
  39. package/lib/components/base/icons/Info.d.ts.map +1 -0
  40. package/lib/components/base/icons/Language.d.ts +7 -0
  41. package/lib/components/base/icons/Language.d.ts.map +1 -0
  42. package/lib/components/base/icons/LocationPin.d.ts +7 -0
  43. package/lib/components/base/icons/LocationPin.d.ts.map +1 -0
  44. package/lib/components/base/icons/Mail.d.ts +1 -1
  45. package/lib/components/base/icons/Mail.d.ts.map +1 -1
  46. package/lib/components/base/icons/MenuBurger.d.ts +1 -0
  47. package/lib/components/base/icons/MenuBurger.d.ts.map +1 -1
  48. package/lib/components/base/icons/Phone.d.ts.map +1 -1
  49. package/lib/components/base/icons/files/Excel.d.ts +7 -0
  50. package/lib/components/base/icons/files/Excel.d.ts.map +1 -0
  51. package/lib/components/base/icons/files/Image.d.ts +7 -0
  52. package/lib/components/base/icons/files/Image.d.ts.map +1 -0
  53. package/lib/components/base/icons/files/Pdf.d.ts +7 -0
  54. package/lib/components/base/icons/files/Pdf.d.ts.map +1 -0
  55. package/lib/components/base/icons/files/PowerPoint.d.ts +7 -0
  56. package/lib/components/base/icons/files/PowerPoint.d.ts.map +1 -0
  57. package/lib/components/base/icons/files/UploadFile.d.ts +7 -0
  58. package/lib/components/base/icons/files/UploadFile.d.ts.map +1 -0
  59. package/lib/components/base/icons/files/Word.d.ts +7 -0
  60. package/lib/components/base/icons/files/Word.d.ts.map +1 -0
  61. package/lib/components/base/icons/files/Zip.d.ts +7 -0
  62. package/lib/components/base/icons/files/Zip.d.ts.map +1 -0
  63. package/lib/components/base/icons/socials/Instagram.d.ts.map +1 -1
  64. package/lib/components/blocks/Actions.d.ts +8 -1
  65. package/lib/components/blocks/Actions.d.ts.map +1 -1
  66. package/lib/components/blocks/Alert.d.ts +23 -0
  67. package/lib/components/blocks/Alert.d.ts.map +1 -0
  68. package/lib/components/blocks/Bdot.d.ts.map +1 -1
  69. package/lib/components/blocks/CookieConsent.d.ts +6 -3
  70. package/lib/components/blocks/CookieConsent.d.ts.map +1 -1
  71. package/lib/components/blocks/EventBlock.d.ts +42 -0
  72. package/lib/components/blocks/EventBlock.d.ts.map +1 -0
  73. package/lib/components/blocks/Fact.d.ts +4 -4
  74. package/lib/components/blocks/Fact.d.ts.map +1 -1
  75. package/lib/components/blocks/Feature.d.ts +15 -7
  76. package/lib/components/blocks/Feature.d.ts.map +1 -1
  77. package/lib/components/blocks/Image.d.ts +40 -0
  78. package/lib/components/blocks/Image.d.ts.map +1 -1
  79. package/lib/components/blocks/IntroBlock.d.ts +22 -1
  80. package/lib/components/blocks/IntroBlock.d.ts.map +1 -1
  81. package/lib/components/blocks/JobCard.d.ts +25 -0
  82. package/lib/components/blocks/JobCard.d.ts.map +1 -0
  83. package/lib/components/blocks/LanguageSwitcher.d.ts +14 -0
  84. package/lib/components/blocks/LanguageSwitcher.d.ts.map +1 -0
  85. package/lib/components/blocks/NavBlock.d.ts +24 -0
  86. package/lib/components/blocks/NavBlock.d.ts.map +1 -0
  87. package/lib/components/blocks/NewsCard.d.ts +25 -7
  88. package/lib/components/blocks/NewsCard.d.ts.map +1 -1
  89. package/lib/components/blocks/PriceTag.d.ts +4 -3
  90. package/lib/components/blocks/PriceTag.d.ts.map +1 -1
  91. package/lib/components/blocks/PromotionCard.d.ts +21 -3
  92. package/lib/components/blocks/PromotionCard.d.ts.map +1 -1
  93. package/lib/components/blocks/Slider.d.ts +9 -2
  94. package/lib/components/blocks/Slider.d.ts.map +1 -1
  95. package/lib/components/blocks/SocialList.d.ts +10 -4
  96. package/lib/components/blocks/SocialList.d.ts.map +1 -1
  97. package/lib/components/blocks/Tag.d.ts +12 -3
  98. package/lib/components/blocks/Tag.d.ts.map +1 -1
  99. package/lib/components/blocks/Title.d.ts +11 -0
  100. package/lib/components/blocks/Title.d.ts.map +1 -1
  101. package/lib/components/blocks/VideoBlock.d.ts +23 -0
  102. package/lib/components/blocks/VideoBlock.d.ts.map +1 -0
  103. package/lib/components/blocks/VideoCard.d.ts.map +1 -1
  104. package/lib/components/buttons/Button.d.ts +2 -1
  105. package/lib/components/buttons/Button.d.ts.map +1 -1
  106. package/lib/components/buttons/ButtonGhost.d.ts +1 -0
  107. package/lib/components/buttons/ButtonGhost.d.ts.map +1 -1
  108. package/lib/components/buttons/Control.d.ts +11 -0
  109. package/lib/components/buttons/Control.d.ts.map +1 -0
  110. package/lib/components/buttons/Pointer.d.ts +1 -0
  111. package/lib/components/buttons/Pointer.d.ts.map +1 -1
  112. package/lib/components/buttons/QuicknavButton.d.ts.map +1 -1
  113. package/lib/components/debug/DebugLines.d.ts +4 -0
  114. package/lib/components/debug/DebugLines.d.ts.map +1 -0
  115. package/lib/components/fields/Checkbox.d.ts.map +1 -1
  116. package/lib/components/fields/CompactForm.d.ts +1 -2
  117. package/lib/components/fields/CompactForm.d.ts.map +1 -1
  118. package/lib/components/fields/Datepicker.d.ts +8 -11
  119. package/lib/components/fields/Datepicker.d.ts.map +1 -1
  120. package/lib/components/fields/FileUpload.d.ts +3 -9
  121. package/lib/components/fields/FileUpload.d.ts.map +1 -1
  122. package/lib/components/fields/FormField.d.ts +33 -0
  123. package/lib/components/fields/FormField.d.ts.map +1 -0
  124. package/lib/components/fields/Radio.d.ts +0 -1
  125. package/lib/components/fields/Radio.d.ts.map +1 -1
  126. package/lib/components/fields/SearchInput.d.ts.map +1 -1
  127. package/lib/components/fields/SelectDropdown.d.ts +2 -7
  128. package/lib/components/fields/SelectDropdown.d.ts.map +1 -1
  129. package/lib/components/fields/Textarea.d.ts +1 -3
  130. package/lib/components/fields/Textarea.d.ts.map +1 -1
  131. package/lib/components/fields/Textfield.d.ts +2 -7
  132. package/lib/components/fields/Textfield.d.ts.map +1 -1
  133. package/lib/components/sections/Accordion.d.ts +25 -349
  134. package/lib/components/sections/Accordion.d.ts.map +1 -1
  135. package/lib/components/sections/AlertList.d.ts +30 -0
  136. package/lib/components/sections/AlertList.d.ts.map +1 -0
  137. package/lib/components/sections/Article.d.ts +27 -336
  138. package/lib/components/sections/Article.d.ts.map +1 -1
  139. package/lib/components/sections/CallToAction.d.ts +46 -344
  140. package/lib/components/sections/CallToAction.d.ts.map +1 -1
  141. package/lib/components/sections/CardList.d.ts +45 -0
  142. package/lib/components/sections/CardList.d.ts.map +1 -0
  143. package/lib/components/sections/ComparisonSlider.d.ts +5 -336
  144. package/lib/components/sections/ComparisonSlider.d.ts.map +1 -1
  145. package/lib/components/sections/CrossPromotion.d.ts +19 -340
  146. package/lib/components/sections/CrossPromotion.d.ts.map +1 -1
  147. package/lib/components/sections/DynamicForm.d.ts +15 -337
  148. package/lib/components/sections/DynamicForm.d.ts.map +1 -1
  149. package/lib/components/sections/FactGrid.d.ts +13 -336
  150. package/lib/components/sections/FactGrid.d.ts.map +1 -1
  151. package/lib/components/sections/FactList.d.ts +20 -345
  152. package/lib/components/sections/FactList.d.ts.map +1 -1
  153. package/lib/components/sections/FeatureList.d.ts +12 -337
  154. package/lib/components/sections/FeatureList.d.ts.map +1 -1
  155. package/lib/components/sections/Gallery.d.ts +5 -336
  156. package/lib/components/sections/Gallery.d.ts.map +1 -1
  157. package/lib/components/sections/IconList.d.ts +51 -344
  158. package/lib/components/sections/IconList.d.ts.map +1 -1
  159. package/lib/components/sections/IndexList.d.ts +38 -0
  160. package/lib/components/sections/IndexList.d.ts.map +1 -0
  161. package/lib/components/sections/Intro.d.ts +33 -339
  162. package/lib/components/sections/Intro.d.ts.map +1 -1
  163. package/lib/components/sections/JobList.d.ts +31 -0
  164. package/lib/components/sections/JobList.d.ts.map +1 -0
  165. package/lib/components/sections/Map.d.ts +42 -368
  166. package/lib/components/sections/Map.d.ts.map +1 -1
  167. package/lib/components/sections/NavList.d.ts +31 -0
  168. package/lib/components/sections/NavList.d.ts.map +1 -0
  169. package/lib/components/sections/NumberList.d.ts +22 -344
  170. package/lib/components/sections/NumberList.d.ts.map +1 -1
  171. package/lib/components/sections/Poster.d.ts +27 -340
  172. package/lib/components/sections/Poster.d.ts.map +1 -1
  173. package/lib/components/sections/PriceList.d.ts +23 -345
  174. package/lib/components/sections/PriceList.d.ts.map +1 -1
  175. package/lib/components/sections/PriceTable.d.ts +14 -337
  176. package/lib/components/sections/PriceTable.d.ts.map +1 -1
  177. package/lib/components/sections/Quicknav.d.ts +5 -336
  178. package/lib/components/sections/Quicknav.d.ts.map +1 -1
  179. package/lib/components/sections/Quote.d.ts +13 -336
  180. package/lib/components/sections/Quote.d.ts.map +1 -1
  181. package/lib/components/sections/SimpleImage.d.ts +2 -0
  182. package/lib/components/sections/SimpleImage.d.ts.map +1 -1
  183. package/lib/components/sections/SocialNav.d.ts +10 -340
  184. package/lib/components/sections/SocialNav.d.ts.map +1 -1
  185. package/lib/components/sections/SocialWall.d.ts +21 -347
  186. package/lib/components/sections/SocialWall.d.ts.map +1 -1
  187. package/lib/components/sections/Table.d.ts +6 -337
  188. package/lib/components/sections/Table.d.ts.map +1 -1
  189. package/lib/components/sections/Teaser.d.ts +50 -348
  190. package/lib/components/sections/Teaser.d.ts.map +1 -1
  191. package/lib/components/sections/TeaserWide.d.ts +46 -348
  192. package/lib/components/sections/TeaserWide.d.ts.map +1 -1
  193. package/lib/components/sections/Timeline.d.ts +5 -336
  194. package/lib/components/sections/Timeline.d.ts.map +1 -1
  195. package/lib/components/sections/Video.d.ts +7 -338
  196. package/lib/components/sections/Video.d.ts.map +1 -1
  197. package/lib/components/sections/carousel/CarouselBase.d.ts +1 -0
  198. package/lib/components/sections/carousel/CarouselBase.d.ts.map +1 -1
  199. package/lib/components/sections/carousel/FeatureCarousel.d.ts +3 -336
  200. package/lib/components/sections/carousel/FeatureCarousel.d.ts.map +1 -1
  201. package/lib/components/sections/carousel/ImageCarousel.d.ts +3 -336
  202. package/lib/components/sections/carousel/ImageCarousel.d.ts.map +1 -1
  203. package/lib/components/sections/carousel/PromotionCarousel.d.ts +5 -338
  204. package/lib/components/sections/carousel/PromotionCarousel.d.ts.map +1 -1
  205. package/lib/components/sections/carousel/VideoCarousel.d.ts +3 -336
  206. package/lib/components/sections/carousel/VideoCarousel.d.ts.map +1 -1
  207. package/lib/components/sections/events/EventDetail.d.ts +58 -0
  208. package/lib/components/sections/events/EventDetail.d.ts.map +1 -0
  209. package/lib/components/sections/events/EventList.d.ts +39 -0
  210. package/lib/components/sections/events/EventList.d.ts.map +1 -0
  211. package/lib/components/sections/events/EventOverview.d.ts +62 -0
  212. package/lib/components/sections/events/EventOverview.d.ts.map +1 -0
  213. package/lib/components/sections/footer/Footer.d.ts +65 -0
  214. package/lib/components/sections/footer/Footer.d.ts.map +1 -0
  215. package/lib/components/sections/footer/partials/FooterBottomBar.d.ts +14 -0
  216. package/lib/components/sections/footer/partials/FooterBottomBar.d.ts.map +1 -0
  217. package/lib/components/sections/footer/partials/FooterColumn.d.ts +14 -0
  218. package/lib/components/sections/footer/partials/FooterColumn.d.ts.map +1 -0
  219. package/lib/components/sections/footer/partials/index.d.ts +3 -0
  220. package/lib/components/sections/footer/partials/index.d.ts.map +1 -0
  221. package/lib/components/sections/footer/skeletons/FooterArticle.d.ts +12 -0
  222. package/lib/components/sections/footer/skeletons/FooterArticle.d.ts.map +1 -0
  223. package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts +16 -0
  224. package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +1 -0
  225. package/lib/components/sections/footer/skeletons/index.d.ts +3 -0
  226. package/lib/components/sections/footer/skeletons/index.d.ts.map +1 -0
  227. package/lib/components/sections/header/Header.d.ts +67 -382
  228. package/lib/components/sections/header/Header.d.ts.map +1 -1
  229. package/lib/components/sections/header/HeaderKenBurns.d.ts +4 -14
  230. package/lib/components/sections/header/HeaderKenBurns.d.ts.map +1 -1
  231. package/lib/components/sections/header/HeaderPoster.d.ts +7 -16
  232. package/lib/components/sections/header/HeaderPoster.d.ts.map +1 -1
  233. package/lib/components/sections/header/HeaderVideo.d.ts +6 -16
  234. package/lib/components/sections/header/HeaderVideo.d.ts.map +1 -1
  235. package/lib/components/sections/navigation/NavBar.d.ts +45 -0
  236. package/lib/components/sections/navigation/NavBar.d.ts.map +1 -0
  237. package/lib/components/sections/navigation/Navigation.d.ts +77 -58
  238. package/lib/components/sections/navigation/Navigation.d.ts.map +1 -1
  239. package/lib/components/sections/navigation/menu/Menu.d.ts +37 -30
  240. package/lib/components/sections/navigation/menu/Menu.d.ts.map +1 -1
  241. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts +16 -0
  242. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -0
  243. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts +9 -0
  244. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -0
  245. package/lib/components/sections/navigation/partials/MenuFooter.d.ts +12 -0
  246. package/lib/components/sections/navigation/partials/MenuFooter.d.ts.map +1 -0
  247. package/lib/components/sections/navigation/partials/MenuHeader.d.ts +14 -0
  248. package/lib/components/sections/navigation/partials/MenuHeader.d.ts.map +1 -0
  249. package/lib/components/sections/navigation/partials/NavBarBottom.d.ts +10 -0
  250. package/lib/components/sections/navigation/partials/NavBarBottom.d.ts.map +1 -0
  251. package/lib/components/sections/navigation/partials/NavBarMain.d.ts +37 -0
  252. package/lib/components/sections/navigation/partials/NavBarMain.d.ts.map +1 -0
  253. package/lib/components/sections/navigation/partials/NavBarTop.d.ts +11 -0
  254. package/lib/components/sections/navigation/partials/NavBarTop.d.ts.map +1 -0
  255. package/lib/components/sections/navigation/partials/index.d.ts +6 -0
  256. package/lib/components/sections/navigation/partials/index.d.ts.map +1 -0
  257. package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts +18 -0
  258. package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +1 -0
  259. package/lib/components/sections/navigation/skeletons/BarColumn.d.ts +7 -0
  260. package/lib/components/sections/navigation/skeletons/BarColumn.d.ts.map +1 -0
  261. package/lib/components/sections/navigation/skeletons/BarLogo.d.ts +14 -0
  262. package/lib/components/sections/navigation/skeletons/BarLogo.d.ts.map +1 -0
  263. package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts +10 -0
  264. package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +1 -0
  265. package/lib/components/sections/navigation/skeletons/BarNavList.d.ts +9 -0
  266. package/lib/components/sections/navigation/skeletons/BarNavList.d.ts.map +1 -0
  267. package/lib/components/sections/navigation/skeletons/index.d.ts +6 -0
  268. package/lib/components/sections/navigation/skeletons/index.d.ts.map +1 -0
  269. package/lib/components/sections/news/NewsAuthorCard.d.ts +2 -337
  270. package/lib/components/sections/news/NewsAuthorCard.d.ts.map +1 -1
  271. package/lib/components/sections/news/NewsFooter.d.ts +30 -343
  272. package/lib/components/sections/news/NewsFooter.d.ts.map +1 -1
  273. package/lib/components/sections/news/NewsImages.d.ts +5 -336
  274. package/lib/components/sections/news/NewsImages.d.ts.map +1 -1
  275. package/lib/components/sections/news/NewsIntro.d.ts +39 -342
  276. package/lib/components/sections/news/NewsIntro.d.ts.map +1 -1
  277. package/lib/components/sections/news/NewsList.d.ts +34 -343
  278. package/lib/components/sections/news/NewsList.d.ts.map +1 -1
  279. package/lib/components/sections/news/NewsOverview.d.ts +47 -344
  280. package/lib/components/sections/news/NewsOverview.d.ts.map +1 -1
  281. package/lib/components/sections/news/NewsTable.d.ts +6 -337
  282. package/lib/components/sections/news/NewsTable.d.ts.map +1 -1
  283. package/lib/components/sections/news/NewsText.d.ts +6 -337
  284. package/lib/components/sections/news/NewsText.d.ts.map +1 -1
  285. package/lib/components/sections/news/NewsVideo.d.ts +5 -336
  286. package/lib/components/sections/news/NewsVideo.d.ts.map +1 -1
  287. package/lib/components/typography/Callout.d.ts +1 -0
  288. package/lib/components/typography/Callout.d.ts.map +1 -1
  289. package/lib/components/typography/Copy.d.ts +4 -2
  290. package/lib/components/typography/Copy.d.ts.map +1 -1
  291. package/lib/components/typography/Heading.d.ts +2 -1
  292. package/lib/components/typography/Heading.d.ts.map +1 -1
  293. package/lib/components/typography/Link.d.ts +11 -4
  294. package/lib/components/typography/Link.d.ts.map +1 -1
  295. package/lib/index.d.ts +60 -58
  296. package/lib/index.d.ts.map +1 -1
  297. package/lib/index.es.js +1 -15
  298. package/lib/index.es.js.map +1 -1
  299. package/lib/index.js +1 -1
  300. package/lib/index.js.map +1 -1
  301. package/lib/utils/LibThemeProvider.d.ts +11 -6
  302. package/lib/utils/LibThemeProvider.d.ts.map +1 -1
  303. package/lib/utils/arrays.d.ts +3 -0
  304. package/lib/utils/arrays.d.ts.map +1 -0
  305. package/lib/utils/dataURI.d.ts +3 -0
  306. package/lib/utils/dataURI.d.ts.map +1 -0
  307. package/lib/utils/fontLoading.d.ts +14 -0
  308. package/lib/utils/fontLoading.d.ts.map +1 -0
  309. package/lib/utils/formFieldText.d.ts +3 -0
  310. package/lib/utils/formFieldText.d.ts.map +1 -0
  311. package/lib/utils/getLinkIcon.d.ts +3 -0
  312. package/lib/utils/getLinkIcon.d.ts.map +1 -0
  313. package/lib/utils/hexRgbConverter.d.ts.map +1 -1
  314. package/lib/utils/menuHooks.d.ts +18 -0
  315. package/lib/utils/menuHooks.d.ts.map +1 -0
  316. package/lib/utils/navigation.d.ts +20 -0
  317. package/lib/utils/navigation.d.ts.map +1 -0
  318. package/lib/utils/statusFormatter.d.ts +7 -0
  319. package/lib/utils/statusFormatter.d.ts.map +1 -1
  320. package/lib/utils/styles.d.ts +130 -20
  321. package/lib/utils/styles.d.ts.map +1 -1
  322. package/lib/utils/types.d.ts +8 -0
  323. package/lib/utils/types.d.ts.map +1 -0
  324. package/lib/utils/useEqualSheetHeight.d.ts +2 -2
  325. package/lib/utils/useEqualSheetHeight.d.ts.map +1 -1
  326. package/lib/utils/useLeafletMap.d.ts +41 -0
  327. package/lib/utils/useLeafletMap.d.ts.map +1 -0
  328. package/lib/utils/useMediaQuery.d.ts +16 -0
  329. package/lib/utils/useMediaQuery.d.ts.map +1 -1
  330. package/lib/utils/usePageScroll.d.ts +23 -0
  331. package/lib/utils/usePageScroll.d.ts.map +1 -0
  332. package/lib/utils/useScrollIntoView.d.ts +5 -3
  333. package/lib/utils/useScrollIntoView.d.ts.map +1 -1
  334. package/package.json +47 -35
  335. package/lib/components/base/icons/StarGhost.d.ts +0 -7
  336. package/lib/components/blocks/LeafletMap.d.ts +0 -42
  337. package/lib/components/blocks/LeafletMap.d.ts.map +0 -1
  338. package/lib/components/sections/CallToActionDouble.d.ts +0 -396
  339. package/lib/components/sections/CallToActionDouble.d.ts.map +0 -1
  340. package/lib/components/sections/Footer.d.ts +0 -393
  341. package/lib/components/sections/Footer.d.ts.map +0 -1
  342. package/lib/components/sections/Form.d.ts +0 -411
  343. package/lib/components/sections/Form.d.ts.map +0 -1
  344. package/lib/components/sections/navigation/TopBar.d.ts +0 -39
  345. package/lib/components/sections/navigation/TopBar.d.ts.map +0 -1
  346. package/lib/components/sections/navigation/menu/Flyout.d.ts +0 -53
  347. package/lib/components/sections/navigation/menu/Flyout.d.ts.map +0 -1
@@ -1,9 +1,7 @@
1
1
  import React, { FC } from 'react';
2
2
  import { DefaultTheme } from 'styled-components';
3
- declare type RecursivePartial<T> = {
4
- [P in keyof T]?: RecursivePartial<T[P]>;
5
- };
6
- export declare type Theme = RecursivePartial<DefaultTheme>;
3
+ import { RecursivePartial } from './types';
4
+ export declare type ThemeMods = RecursivePartial<DefaultTheme>;
7
5
  /**
8
6
  * Combining Theme objects
9
7
  * @param target Result theme object
@@ -11,11 +9,18 @@ export declare type Theme = RecursivePartial<DefaultTheme>;
11
9
  */
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
- theme?: Theme;
12
+ theme?: ThemeMods;
13
+ children?: React.ReactNode;
15
14
  }>;
16
15
  export declare const modifyTheme: (activeTheme?: DefaultTheme | undefined, modifications?: RecursivePartial<DefaultTheme> | undefined) => DefaultTheme;
16
+ export declare const useLibTheme: () => {
17
+ colors: import("./styles").Colors;
18
+ fonts: import("./styles").Fonts;
19
+ globals: import("./styles").GlobalSettings;
20
+ theme: DefaultTheme;
21
+ };
17
22
  export declare const withLibTheme: <P extends Record<string, unknown>>(Component: React.ComponentType<P>) => React.FC<P & {
23
+ /** Component specific theme properties that overrides global theme settings */
18
24
  theme?: RecursivePartial<DefaultTheme> | undefined;
19
25
  }>;
20
- export {};
21
26
  //# sourceMappingURL=LibThemeProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LibThemeProvider.d.ts","sourceRoot":"","sources":["../../src/utils/LibThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,YAAY,EAA+B,MAAM,mBAAmB,CAAC;AAI9E,aAAK,gBAAgB,CAAC,CAAC,IAAI;KACtB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC1C,CAAC;AAEF,oBAAY,KAAK,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAsCnD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,gIA8BpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB,CAUA,CAAC;AAMF,eAAO,MAAM,WAAW,sHAuBvB,CAAC;AAEF,eAAO,MAAM,YAAY;;EAexB,CAAC"}
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,3 @@
1
+ export declare const isEmptyArray: <T>(array?: T[] | undefined) => boolean | undefined;
2
+ export declare const isValidArray: <T>(array?: T[] | undefined, allowEmpty?: boolean) => array is T[];
3
+ //# sourceMappingURL=arrays.d.ts.map
@@ -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,3 @@
1
+ import React from 'react';
2
+ export declare const getSVGDataImg: (svg: React.ReactElement, encode?: boolean) => string;
3
+ //# sourceMappingURL=dataURI.d.ts.map
@@ -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,MAaF,CAAC"}
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ interface FontFallback {
3
+ name: string;
4
+ altFont: string;
5
+ sizeAdjust: string;
6
+ }
7
+ export interface Font {
8
+ rootPath: string;
9
+ sourcePath: string;
10
+ fallbacks?: FontFallback[];
11
+ }
12
+ export declare const importFonts: (fonts: Font[]) => JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=fontLoading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fontLoading.d.ts","sourceRoot":"","sources":["../../src/utils/fontLoading.tsx"],"names":[],"mappings":";AAEA,UAAU,YAAY;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,IAAI;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC9B;AAED,eAAO,MAAM,WAAW,UAAW,IAAI,EAAE,gBAsDxC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DefaultTheme } from 'styled-components';
2
+ export declare const getFormFieldTextSize: (theme: DefaultTheme) => [number, number?];
3
+ //# sourceMappingURL=formFieldText.d.ts.map
@@ -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,3 @@
1
+ import { DefaultTheme } from 'styled-components';
2
+ export declare const getLinkIcon: (theme: DefaultTheme, href: string, isInverted?: boolean | undefined) => string;
3
+ //# sourceMappingURL=getLinkIcon.d.ts.map
@@ -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":"AACA,eAAO,MAAM,SAAS,QAAS,MAAM,uCAGpC,CAAC"}
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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gBAAgB;IAehB,YAAY,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI;IAQ7C;;;;OAIG;IACI,oBAAoB,CACvB,MAAM,SAAK,EACX,QAAQ,CAAC,EAAE,MAAM,EACjB,SAAS,SAAQ;IA0CrB,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,UAAU;CAGrB"}
@@ -1,5 +1,6 @@
1
1
  import { DefaultTheme } from 'styled-components';
2
- export declare type MediaQueryType = 'small' | 'medium' | 'semilarge' | 'large' | 'xlarge' | 'xxlarge' | 'xxxLarge';
2
+ import { XOR } from './types';
3
+ export declare type MediaQueryType = 'small' | 'medium' | 'semilarge' | 'large' | 'xlarge' | 'xxlarge';
3
4
  export declare const mq: {
4
5
  [key in Exclude<MediaQueryType, 'small'>]: string;
5
6
  };
@@ -12,7 +13,7 @@ export declare const spacings: {
12
13
  };
13
14
  /***** Range Helper *****/
14
15
  export declare const getSizeByRange: (range: [number, number]) => string;
15
- export declare const withRange: (range: [number, number], property: string) => string;
16
+ export declare const withRange: (range: [number, number?], property: string) => "" | import("styled-components").FlattenSimpleInterpolation;
16
17
  /**
17
18
  * Generate css attributes to style text color with plain color or gradient
18
19
  * @param fallbackColor
@@ -21,19 +22,42 @@ export declare const withRange: (range: [number, number], property: string) => s
21
22
  export declare const styleTextColor: (fallbackColor?: string | undefined, gradient?: string | undefined) => import("styled-components").FlattenSimpleInterpolation;
22
23
  /***** Color Types *****/
23
24
  interface ColorOptions {
24
- light: string;
25
- medium: string;
26
- dark: string;
25
+ default: string;
26
+ inverted: string;
27
+ hover: string;
28
+ invertedHover: string;
27
29
  }
28
30
  export declare type ColorOptionsType = keyof ColorOptions;
29
31
  export interface Colors {
30
- dark: string;
31
- light: string;
32
- mono: ColorOptions;
32
+ text: {
33
+ default: string;
34
+ inverted: string;
35
+ error: string;
36
+ errorInverted: string;
37
+ heading: string;
38
+ headingInverted: string;
39
+ copy: string;
40
+ copyInverted: string;
41
+ subtile: string;
42
+ subtileInverted: string;
43
+ };
44
+ sectionBg: {
45
+ light: string;
46
+ medium: string;
47
+ dark: string;
48
+ };
49
+ elementBg: {
50
+ light: string;
51
+ lightHover: string;
52
+ medium: string;
53
+ mediumHover: string;
54
+ dark: string;
55
+ darkHover: string;
56
+ };
33
57
  primary: ColorOptions;
34
58
  secondary: ColorOptions;
35
- tertiary: ColorOptions;
36
59
  error: string;
60
+ errorInverted: string;
37
61
  }
38
62
  export declare type ColorType = keyof Colors;
39
63
  /***** Font Types *****/
@@ -43,7 +67,7 @@ export interface FontProps {
43
67
  style?: string;
44
68
  lineHeight?: string;
45
69
  letterSpacing?: string;
46
- size: [number, number];
70
+ size: [number, number?];
47
71
  textTransform?: string;
48
72
  color?: string;
49
73
  colorInverted?: string;
@@ -66,8 +90,15 @@ export interface Fonts {
66
90
  'heading-2': FontProps;
67
91
  'heading-3': FontProps;
68
92
  'heading-4': FontProps;
69
- label: FontOptions;
70
93
  callout: FontOptions;
94
+ link: {
95
+ color: string;
96
+ colorInverted: string;
97
+ colorHover: string;
98
+ colorHoverInverted: string;
99
+ textTransform?: string;
100
+ textDecoration?: string;
101
+ };
71
102
  }
72
103
  export declare type FontType = keyof Fonts;
73
104
  /**
@@ -75,38 +106,117 @@ export declare type FontType = keyof Fonts;
75
106
  */
76
107
  export declare type FontBase = FontProps;
77
108
  /***** Global Settings *****/
109
+ export declare type NavBarHeights = {
110
+ small: number;
111
+ large: number;
112
+ };
113
+ interface LinkIcon {
114
+ /** Patterns of Href value to show this icon (e.g. .svg, .png) */
115
+ patterns: string[];
116
+ /** Icon scale factor. 1 is default */
117
+ scale?: (props: {
118
+ type?: keyof Fonts;
119
+ size?: FontOptionType;
120
+ }) => number;
121
+ /** Set vertical alignment of icon in text */
122
+ vAlign?: 'bottom' | 'baseline' | 'middle' | 'top' | 'text-top' | 'text-bottom' | 'super' | 'sub';
123
+ }
124
+ export interface LinkUrlIcon extends LinkIcon {
125
+ iconUrl: (isInverted?: boolean) => string;
126
+ }
127
+ export interface LinkFontIcon extends LinkIcon {
128
+ /** Define font family for icon font */
129
+ iconFont: string;
130
+ /** Define icon font character */
131
+ iconChar: string;
132
+ }
78
133
  export interface GlobalSettings {
79
134
  sections: {
80
135
  /** Paddings and Margins for seperating each section */
81
136
  seperation: {
82
137
  forcePadding: boolean;
83
138
  padding: {
84
- default: [number, number];
85
- stackable: [number, number];
139
+ default: [number, number?];
140
+ stackable: [number, number?];
86
141
  };
87
142
  margin: {
88
- default: [number, number];
89
- stackable: [number, number];
143
+ default: [number, number?];
144
+ stackable: [number, number?];
90
145
  };
91
146
  };
92
147
  /** Radius of image and card edges */
93
148
  edgeRadius: string | null;
94
149
  /** Customnize gradient for all text on image background gradients */
95
150
  imageTextGradient: string;
151
+ /** Show placeholder background unitl image has been loaded */
152
+ imagePlaceholderBg: {
153
+ default: string;
154
+ inverted: string;
155
+ };
96
156
  /** Date and Time Formats for all news sections */
97
- newsDateFormat: string;
98
- newsTimeFormat: string;
157
+ newsDateFormat: (date: Date) => string;
158
+ newsTimeFormat: (date: Date) => string;
99
159
  newsLocaleKey: 'de' | 'en';
160
+ /** Date and Time Formats for all event sections */
161
+ eventDateFormat: (date: Date) => string;
162
+ eventTimeFormat: (date: Date) => string;
163
+ eventTimespanFormat: (start: Date, duration?: number) => string;
164
+ eventLocaleKey: 'de' | 'en';
100
165
  /** Date and Time Formats for Datepickers */
101
166
  datepickerLocaleKey: 'de' | 'en';
102
167
  datepickerDateFormat: string;
103
168
  };
169
+ navigation: {
170
+ /** Settings of top navigation bar */
171
+ navBar: {
172
+ /**
173
+ * Heights of top bar.
174
+ * Array values are like: [mobile, desktop]
175
+ * Top navbar is hidden if value equal 0
176
+ */
177
+ topHeight: {
178
+ small: [number, number?];
179
+ large: [number, number?];
180
+ };
181
+ /**
182
+ * Heights of main bar.
183
+ * Array values are like: [mobile, desktop]
184
+ */
185
+ mainHeight: {
186
+ small: [number, number?];
187
+ large: [number, number?];
188
+ };
189
+ /**
190
+ * Heights of bottom bar.
191
+ * Array values are like: [mobile, desktop]
192
+ */
193
+ bottomHeight: {
194
+ small: [number, number?];
195
+ large: [number, number?];
196
+ };
197
+ };
198
+ menu: {
199
+ /**
200
+ * Heights of menu header.
201
+ * Array values are like: [mobile, desktop]
202
+ * Menu header is hidden if value equal 0
203
+ */
204
+ headerHeight: {
205
+ small: [number, number?];
206
+ large: [number, number?];
207
+ };
208
+ };
209
+ };
210
+ icons: {
211
+ /** Icon setup for link/download lists */
212
+ linkIcons: Array<XOR<LinkUrlIcon, LinkFontIcon>>;
213
+ };
104
214
  }
105
215
  /***** Theme Helper *****/
106
- export declare const getBaseTheme: () => DefaultTheme;
107
- export declare const getTheme: (theme?: DefaultTheme | undefined) => GlobalSettings | DefaultTheme;
216
+ export declare const baseTheme: DefaultTheme;
217
+ export declare const getTheme: (theme?: DefaultTheme | undefined) => DefaultTheme;
108
218
  export declare const getColors: (theme?: DefaultTheme | undefined) => Colors;
109
219
  export declare const getFonts: (theme?: DefaultTheme | undefined) => Fonts;
110
- export declare const getGlobalSettings: (theme?: DefaultTheme | undefined) => GlobalSettings;
220
+ export declare const getGlobals: (theme?: DefaultTheme | undefined) => GlobalSettings;
111
221
  export {};
112
222
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/utils/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,oBAAY,cAAc,GACpB,OAAO,GACP,QAAQ,GACR,WAAW,GACX,OAAO,GACP,QAAQ,GACR,SAAS,GACT,UAAU,CAAC;AAEjB,eAAO,MAAM,EAAE,EAAE;KAAG,GAAG,IAAI,OAAO,CAAC,cAAc,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CACL;AAiND,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,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"}
@@ -6,12 +6,12 @@ interface ItemsPerRow {
6
6
  large?: number;
7
7
  xlarge?: number;
8
8
  }
9
- export declare const useEqualSheetHeight: (props: {
9
+ export declare const useEqualSheetHeight: <T extends HTMLElement>(props: {
10
10
  listLength: number;
11
11
  identifiers: string[];
12
12
  responsive?: ItemsPerRow;
13
13
  }) => {
14
- sheetRefs: MutableRefObject<HTMLDivElement>[];
14
+ sheetRefs: MutableRefObject<T>[];
15
15
  triggerCalculation: () => void;
16
16
  };
17
17
  export {};
@@ -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;AAIf,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,UAAW;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;;;CAsIA,CAAC"}
1
+ {"version":3,"file":"useEqualSheetHeight.d.ts","sourceRoot":"","sources":["../../src/utils/useEqualSheetHeight.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,gBAAgB,EAGnB,MAAM,OAAO,CAAC;AAIf,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;CAC5B;;;CAoIA,CAAC"}
@@ -0,0 +1,41 @@
1
+ /// <reference types="react" />
2
+ export interface LeafletMapSettings {
3
+ center: [number, number];
4
+ zoom: number;
5
+ touchZoom: boolean;
6
+ scrollWheelZoom: boolean;
7
+ onlyScrollOnFocus: boolean;
8
+ url: string;
9
+ attribution: string;
10
+ markers: Array<LeafletMapMarker>;
11
+ activeMarkerId?: string;
12
+ fitBoundsPadding: [number, number];
13
+ onMarkerClick?: (markerId: string) => void;
14
+ onActiveMarkerChanged?: (props: {
15
+ markerId: string;
16
+ }) => void;
17
+ onReady?: () => void;
18
+ }
19
+ export interface LeafletMapMarker {
20
+ id: string;
21
+ position: [number, number];
22
+ icon?: {
23
+ url: string;
24
+ size: [number, number];
25
+ anchor: [number, number];
26
+ sizeActive: [number, number];
27
+ anchorActive: [number, number];
28
+ };
29
+ popup?: {
30
+ text: string;
31
+ };
32
+ }
33
+ declare const useLeafletMap: (settings: Partial<LeafletMapSettings>) => {
34
+ setContainer: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
35
+ flyToActive: (zoom?: number | undefined) => void;
36
+ flyToPosition: (position?: [number, number] | undefined, zoom?: number | undefined) => void;
37
+ showAllMarkers: () => void;
38
+ isLoaded: boolean;
39
+ };
40
+ export default useLeafletMap;
41
+ //# sourceMappingURL=useLeafletMap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLeafletMap.d.ts","sourceRoot":"","sources":["../../src/utils/useLeafletMap.tsx"],"names":[],"mappings":";AAGA,MAAM,WAAW,kBAAkB;IAC/B,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,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,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC9D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3B,IAAI,CAAC,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACvB,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAEzB,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC7B,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KAClC,CAAC;IACF,KAAK,CAAC,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC;CACL;AAED,QAAA,MAAM,aAAa,aAAc,QAAQ,kBAAkB,CAAC;;;;;;CAwM3D,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,5 +1,21 @@
1
1
  import { MediaQueryType } from './styles';
2
2
  export declare const isBrowser: boolean;
3
3
  export declare const getMediaQuery: (checkMqs: MediaQueryType[]) => MediaQueryType;
4
+ export declare const getMediaQueries: () => {
5
+ small: boolean;
6
+ medium: boolean;
7
+ semilarge: boolean;
8
+ large: boolean;
9
+ xlarge: boolean;
10
+ xxlarge: boolean;
11
+ };
12
+ export declare const useMediaQueries: () => {
13
+ small: boolean;
14
+ medium: boolean;
15
+ semilarge: boolean;
16
+ large: boolean;
17
+ xlarge: boolean;
18
+ xxlarge: boolean;
19
+ };
4
20
  export declare const useMediaQuery: (mqs?: MediaQueryType[] | undefined) => MediaQueryType | undefined;
5
21
  //# sourceMappingURL=useMediaQuery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../src/utils/useMediaQuery.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAM,MAAM,UAAU,CAAC;AAE9C,eAAO,MAAM,SAAS,SACqD,CAAC;AAa5E,eAAO,MAAM,aAAa,aAAc,cAAc,EAAE,KAAG,cAgB1D,CAAC;AAEF,eAAO,MAAM,aAAa,oEAoBzB,CAAC"}
1
+ {"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../src/utils/useMediaQuery.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAM,MAAM,UAAU,CAAC;AAE9C,eAAO,MAAM,SAAS,SACqD,CAAC;AAa5E,eAAO,MAAM,aAAa,aAAc,cAAc,EAAE,KAAG,cAc1D,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;CAS3B,CAAC;AAkBF,eAAO,MAAM,eAAe;;;;;;;CA6B3B,CAAC;AAEF,eAAO,MAAM,aAAa,oEAoBzB,CAAC"}
@@ -0,0 +1,23 @@
1
+ export declare enum PageScrollDirection {
2
+ UP = 0,
3
+ DOWN = 1
4
+ }
5
+ interface ScrollSettings {
6
+ /** Direction state change delay in pixels */
7
+ directionOffset?: {
8
+ up?: number;
9
+ down?: number;
10
+ };
11
+ /** Set top offset area */
12
+ offset?: number;
13
+ /** On leave top offset callback */
14
+ onLeftOffset?: (dir: PageScrollDirection) => void;
15
+ }
16
+ declare const usePageScroll: (settings?: ScrollSettings | undefined) => {
17
+ isTop: boolean;
18
+ scrollDirection: PageScrollDirection;
19
+ isInOffset: boolean;
20
+ leftOffsetFromTop: boolean;
21
+ };
22
+ export default usePageScroll;
23
+ //# sourceMappingURL=usePageScroll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePageScroll.d.ts","sourceRoot":"","sources":["../../src/utils/usePageScroll.ts"],"names":[],"mappings":"AAEA,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;CACrD;AAED,QAAA,MAAM,aAAa;;;;;CAgGlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,5 +1,7 @@
1
- /// <reference types="react" />
2
- export declare const useScrollIntoView: (duration: number, delay?: number | undefined) => {
3
- setActiveElement: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
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.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,iBAAiB,aAAc,MAAM;;CA8EjD,CAAC"}
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"}