@blateral/b.kit 2.0.0-beta.0 → 2.0.0-beta.10.2

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 (336) hide show
  1. package/lib/components/base/Grid.d.ts +6 -2
  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 +1 -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/blocks/Actions.d.ts +2 -0
  64. package/lib/components/blocks/Actions.d.ts.map +1 -1
  65. package/lib/components/blocks/Alert.d.ts +23 -0
  66. package/lib/components/blocks/Alert.d.ts.map +1 -0
  67. package/lib/components/blocks/Bdot.d.ts.map +1 -1
  68. package/lib/components/blocks/CookieConsent.d.ts +3 -0
  69. package/lib/components/blocks/CookieConsent.d.ts.map +1 -1
  70. package/lib/components/blocks/EventBlock.d.ts +42 -0
  71. package/lib/components/blocks/EventBlock.d.ts.map +1 -0
  72. package/lib/components/blocks/Feature.d.ts.map +1 -1
  73. package/lib/components/blocks/Image.d.ts +3 -0
  74. package/lib/components/blocks/Image.d.ts.map +1 -1
  75. package/lib/components/blocks/IntroBlock.d.ts +9 -0
  76. package/lib/components/blocks/IntroBlock.d.ts.map +1 -1
  77. package/lib/components/blocks/JobCard.d.ts +25 -0
  78. package/lib/components/blocks/JobCard.d.ts.map +1 -0
  79. package/lib/components/blocks/LanguageSwitcher.d.ts +14 -0
  80. package/lib/components/blocks/LanguageSwitcher.d.ts.map +1 -0
  81. package/lib/components/blocks/NavBlock.d.ts +24 -0
  82. package/lib/components/blocks/NavBlock.d.ts.map +1 -0
  83. package/lib/components/blocks/NewsCard.d.ts +25 -7
  84. package/lib/components/blocks/NewsCard.d.ts.map +1 -1
  85. package/lib/components/blocks/PromotionCard.d.ts +4 -0
  86. package/lib/components/blocks/PromotionCard.d.ts.map +1 -1
  87. package/lib/components/blocks/Slider.d.ts +9 -2
  88. package/lib/components/blocks/Slider.d.ts.map +1 -1
  89. package/lib/components/blocks/SocialList.d.ts +10 -4
  90. package/lib/components/blocks/SocialList.d.ts.map +1 -1
  91. package/lib/components/blocks/Tag.d.ts +12 -3
  92. package/lib/components/blocks/Tag.d.ts.map +1 -1
  93. package/lib/components/blocks/Title.d.ts +11 -0
  94. package/lib/components/blocks/Title.d.ts.map +1 -1
  95. package/lib/components/blocks/VideoCard.d.ts.map +1 -1
  96. package/lib/components/buttons/Button.d.ts +1 -0
  97. package/lib/components/buttons/Button.d.ts.map +1 -1
  98. package/lib/components/buttons/ButtonGhost.d.ts +1 -0
  99. package/lib/components/buttons/ButtonGhost.d.ts.map +1 -1
  100. package/lib/components/buttons/Control.d.ts +11 -0
  101. package/lib/components/buttons/Control.d.ts.map +1 -0
  102. package/lib/components/buttons/Pointer.d.ts +1 -0
  103. package/lib/components/buttons/Pointer.d.ts.map +1 -1
  104. package/lib/components/buttons/QuicknavButton.d.ts.map +1 -1
  105. package/lib/components/fields/Checkbox.d.ts.map +1 -1
  106. package/lib/components/fields/CompactForm.d.ts.map +1 -1
  107. package/lib/components/fields/Datepicker.d.ts +8 -11
  108. package/lib/components/fields/Datepicker.d.ts.map +1 -1
  109. package/lib/components/fields/FileUpload.d.ts +3 -9
  110. package/lib/components/fields/FileUpload.d.ts.map +1 -1
  111. package/lib/components/fields/FormField.d.ts +33 -0
  112. package/lib/components/fields/FormField.d.ts.map +1 -0
  113. package/lib/components/fields/Radio.d.ts +0 -1
  114. package/lib/components/fields/Radio.d.ts.map +1 -1
  115. package/lib/components/fields/SearchInput.d.ts.map +1 -1
  116. package/lib/components/fields/SelectDropdown.d.ts +2 -7
  117. package/lib/components/fields/SelectDropdown.d.ts.map +1 -1
  118. package/lib/components/fields/Textarea.d.ts +1 -3
  119. package/lib/components/fields/Textarea.d.ts.map +1 -1
  120. package/lib/components/fields/Textfield.d.ts +2 -7
  121. package/lib/components/fields/Textfield.d.ts.map +1 -1
  122. package/lib/components/sections/Accordion.d.ts +5 -327
  123. package/lib/components/sections/Accordion.d.ts.map +1 -1
  124. package/lib/components/sections/AlertList.d.ts +30 -0
  125. package/lib/components/sections/AlertList.d.ts.map +1 -0
  126. package/lib/components/sections/Article.d.ts +5 -327
  127. package/lib/components/sections/Article.d.ts.map +1 -1
  128. package/lib/components/sections/CallToAction.d.ts +7 -327
  129. package/lib/components/sections/CallToAction.d.ts.map +1 -1
  130. package/lib/components/sections/CardList.d.ts +45 -0
  131. package/lib/components/sections/CardList.d.ts.map +1 -0
  132. package/lib/components/sections/ComparisonSlider.d.ts +5 -327
  133. package/lib/components/sections/ComparisonSlider.d.ts.map +1 -1
  134. package/lib/components/sections/CrossPromotion.d.ts +5 -327
  135. package/lib/components/sections/CrossPromotion.d.ts.map +1 -1
  136. package/lib/components/sections/DynamicForm.d.ts +15 -328
  137. package/lib/components/sections/DynamicForm.d.ts.map +1 -1
  138. package/lib/components/sections/FactGrid.d.ts +5 -327
  139. package/lib/components/sections/FactGrid.d.ts.map +1 -1
  140. package/lib/components/sections/FactList.d.ts +5 -327
  141. package/lib/components/sections/FactList.d.ts.map +1 -1
  142. package/lib/components/sections/FeatureList.d.ts +5 -327
  143. package/lib/components/sections/FeatureList.d.ts.map +1 -1
  144. package/lib/components/sections/Gallery.d.ts +5 -327
  145. package/lib/components/sections/Gallery.d.ts.map +1 -1
  146. package/lib/components/sections/IconList.d.ts +5 -327
  147. package/lib/components/sections/IconList.d.ts.map +1 -1
  148. package/lib/components/sections/IndexList.d.ts +38 -0
  149. package/lib/components/sections/IndexList.d.ts.map +1 -0
  150. package/lib/components/sections/Intro.d.ts +10 -327
  151. package/lib/components/sections/Intro.d.ts.map +1 -1
  152. package/lib/components/sections/JobList.d.ts +31 -0
  153. package/lib/components/sections/JobList.d.ts.map +1 -0
  154. package/lib/components/sections/Map.d.ts +42 -359
  155. package/lib/components/sections/Map.d.ts.map +1 -1
  156. package/lib/components/sections/NavList.d.ts +31 -0
  157. package/lib/components/sections/NavList.d.ts.map +1 -0
  158. package/lib/components/sections/NumberList.d.ts +22 -335
  159. package/lib/components/sections/NumberList.d.ts.map +1 -1
  160. package/lib/components/sections/Poster.d.ts +27 -331
  161. package/lib/components/sections/Poster.d.ts.map +1 -1
  162. package/lib/components/sections/PriceList.d.ts +13 -329
  163. package/lib/components/sections/PriceList.d.ts.map +1 -1
  164. package/lib/components/sections/PriceTable.d.ts +5 -327
  165. package/lib/components/sections/PriceTable.d.ts.map +1 -1
  166. package/lib/components/sections/Quicknav.d.ts +5 -327
  167. package/lib/components/sections/Quicknav.d.ts.map +1 -1
  168. package/lib/components/sections/Quote.d.ts +5 -327
  169. package/lib/components/sections/Quote.d.ts.map +1 -1
  170. package/lib/components/sections/SimpleImage.d.ts +2 -0
  171. package/lib/components/sections/SimpleImage.d.ts.map +1 -1
  172. package/lib/components/sections/SocialNav.d.ts +10 -331
  173. package/lib/components/sections/SocialNav.d.ts.map +1 -1
  174. package/lib/components/sections/SocialWall.d.ts +5 -327
  175. package/lib/components/sections/SocialWall.d.ts.map +1 -1
  176. package/lib/components/sections/Table.d.ts +5 -327
  177. package/lib/components/sections/Table.d.ts.map +1 -1
  178. package/lib/components/sections/Teaser.d.ts +5 -327
  179. package/lib/components/sections/Teaser.d.ts.map +1 -1
  180. package/lib/components/sections/TeaserWide.d.ts +5 -327
  181. package/lib/components/sections/TeaserWide.d.ts.map +1 -1
  182. package/lib/components/sections/Timeline.d.ts +5 -327
  183. package/lib/components/sections/Timeline.d.ts.map +1 -1
  184. package/lib/components/sections/Video.d.ts +7 -329
  185. package/lib/components/sections/Video.d.ts.map +1 -1
  186. package/lib/components/sections/carousel/CarouselBase.d.ts +1 -0
  187. package/lib/components/sections/carousel/CarouselBase.d.ts.map +1 -1
  188. package/lib/components/sections/carousel/FeatureCarousel.d.ts +3 -327
  189. package/lib/components/sections/carousel/FeatureCarousel.d.ts.map +1 -1
  190. package/lib/components/sections/carousel/ImageCarousel.d.ts +3 -327
  191. package/lib/components/sections/carousel/ImageCarousel.d.ts.map +1 -1
  192. package/lib/components/sections/carousel/PromotionCarousel.d.ts +3 -327
  193. package/lib/components/sections/carousel/PromotionCarousel.d.ts.map +1 -1
  194. package/lib/components/sections/carousel/VideoCarousel.d.ts +3 -327
  195. package/lib/components/sections/carousel/VideoCarousel.d.ts.map +1 -1
  196. package/lib/components/sections/events/EventDetail.d.ts +58 -0
  197. package/lib/components/sections/events/EventDetail.d.ts.map +1 -0
  198. package/lib/components/sections/events/EventList.d.ts +39 -0
  199. package/lib/components/sections/events/EventList.d.ts.map +1 -0
  200. package/lib/components/sections/events/EventOverview.d.ts +62 -0
  201. package/lib/components/sections/events/EventOverview.d.ts.map +1 -0
  202. package/lib/components/sections/footer/Footer.d.ts +65 -0
  203. package/lib/components/sections/footer/Footer.d.ts.map +1 -0
  204. package/lib/components/sections/footer/partials/FooterBottomBar.d.ts +14 -0
  205. package/lib/components/sections/footer/partials/FooterBottomBar.d.ts.map +1 -0
  206. package/lib/components/sections/footer/partials/FooterColumn.d.ts +14 -0
  207. package/lib/components/sections/footer/partials/FooterColumn.d.ts.map +1 -0
  208. package/lib/components/sections/footer/partials/index.d.ts +3 -0
  209. package/lib/components/sections/footer/partials/index.d.ts.map +1 -0
  210. package/lib/components/sections/footer/skeletons/FooterArticle.d.ts +12 -0
  211. package/lib/components/sections/footer/skeletons/FooterArticle.d.ts.map +1 -0
  212. package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts +16 -0
  213. package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +1 -0
  214. package/lib/components/sections/footer/skeletons/index.d.ts +3 -0
  215. package/lib/components/sections/footer/skeletons/index.d.ts.map +1 -0
  216. package/lib/components/sections/header/Header.d.ts +67 -373
  217. package/lib/components/sections/header/Header.d.ts.map +1 -1
  218. package/lib/components/sections/header/HeaderKenBurns.d.ts +4 -14
  219. package/lib/components/sections/header/HeaderKenBurns.d.ts.map +1 -1
  220. package/lib/components/sections/header/HeaderPoster.d.ts +7 -16
  221. package/lib/components/sections/header/HeaderPoster.d.ts.map +1 -1
  222. package/lib/components/sections/header/HeaderVideo.d.ts +6 -16
  223. package/lib/components/sections/header/HeaderVideo.d.ts.map +1 -1
  224. package/lib/components/sections/navigation/NavBar.d.ts +45 -0
  225. package/lib/components/sections/navigation/NavBar.d.ts.map +1 -0
  226. package/lib/components/sections/navigation/Navigation.d.ts +75 -56
  227. package/lib/components/sections/navigation/Navigation.d.ts.map +1 -1
  228. package/lib/components/sections/navigation/menu/Menu.d.ts +37 -30
  229. package/lib/components/sections/navigation/menu/Menu.d.ts.map +1 -1
  230. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts +16 -0
  231. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -0
  232. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts +9 -0
  233. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -0
  234. package/lib/components/sections/navigation/partials/MenuFooter.d.ts +12 -0
  235. package/lib/components/sections/navigation/partials/MenuFooter.d.ts.map +1 -0
  236. package/lib/components/sections/navigation/partials/MenuHeader.d.ts +14 -0
  237. package/lib/components/sections/navigation/partials/MenuHeader.d.ts.map +1 -0
  238. package/lib/components/sections/navigation/partials/NavBarBottom.d.ts +10 -0
  239. package/lib/components/sections/navigation/partials/NavBarBottom.d.ts.map +1 -0
  240. package/lib/components/sections/navigation/partials/NavBarMain.d.ts +37 -0
  241. package/lib/components/sections/navigation/partials/NavBarMain.d.ts.map +1 -0
  242. package/lib/components/sections/navigation/partials/NavBarTop.d.ts +11 -0
  243. package/lib/components/sections/navigation/partials/NavBarTop.d.ts.map +1 -0
  244. package/lib/components/sections/navigation/partials/index.d.ts +6 -0
  245. package/lib/components/sections/navigation/partials/index.d.ts.map +1 -0
  246. package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts +18 -0
  247. package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +1 -0
  248. package/lib/components/sections/navigation/skeletons/BarColumn.d.ts +7 -0
  249. package/lib/components/sections/navigation/skeletons/BarColumn.d.ts.map +1 -0
  250. package/lib/components/sections/navigation/skeletons/BarLogo.d.ts +14 -0
  251. package/lib/components/sections/navigation/skeletons/BarLogo.d.ts.map +1 -0
  252. package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts +10 -0
  253. package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +1 -0
  254. package/lib/components/sections/navigation/skeletons/BarNavList.d.ts +9 -0
  255. package/lib/components/sections/navigation/skeletons/BarNavList.d.ts.map +1 -0
  256. package/lib/components/sections/navigation/skeletons/index.d.ts +6 -0
  257. package/lib/components/sections/navigation/skeletons/index.d.ts.map +1 -0
  258. package/lib/components/sections/news/NewsAuthorCard.d.ts +2 -328
  259. package/lib/components/sections/news/NewsAuthorCard.d.ts.map +1 -1
  260. package/lib/components/sections/news/NewsFooter.d.ts +30 -334
  261. package/lib/components/sections/news/NewsFooter.d.ts.map +1 -1
  262. package/lib/components/sections/news/NewsImages.d.ts +5 -327
  263. package/lib/components/sections/news/NewsImages.d.ts.map +1 -1
  264. package/lib/components/sections/news/NewsIntro.d.ts +39 -333
  265. package/lib/components/sections/news/NewsIntro.d.ts.map +1 -1
  266. package/lib/components/sections/news/NewsList.d.ts +34 -334
  267. package/lib/components/sections/news/NewsList.d.ts.map +1 -1
  268. package/lib/components/sections/news/NewsOverview.d.ts +47 -335
  269. package/lib/components/sections/news/NewsOverview.d.ts.map +1 -1
  270. package/lib/components/sections/news/NewsTable.d.ts +6 -328
  271. package/lib/components/sections/news/NewsTable.d.ts.map +1 -1
  272. package/lib/components/sections/news/NewsText.d.ts +6 -328
  273. package/lib/components/sections/news/NewsText.d.ts.map +1 -1
  274. package/lib/components/sections/news/NewsVideo.d.ts +5 -327
  275. package/lib/components/sections/news/NewsVideo.d.ts.map +1 -1
  276. package/lib/components/typography/Callout.d.ts +1 -0
  277. package/lib/components/typography/Callout.d.ts.map +1 -1
  278. package/lib/components/typography/Copy.d.ts +2 -1
  279. package/lib/components/typography/Copy.d.ts.map +1 -1
  280. package/lib/components/typography/Heading.d.ts +1 -0
  281. package/lib/components/typography/Heading.d.ts.map +1 -1
  282. package/lib/components/typography/Link.d.ts +5 -0
  283. package/lib/components/typography/Link.d.ts.map +1 -1
  284. package/lib/index.d.ts +57 -54
  285. package/lib/index.d.ts.map +1 -1
  286. package/lib/index.es.js +1 -15
  287. package/lib/index.es.js.map +1 -1
  288. package/lib/index.js +1 -1
  289. package/lib/index.js.map +1 -1
  290. package/lib/utils/LibThemeProvider.d.ts +3 -4
  291. package/lib/utils/LibThemeProvider.d.ts.map +1 -1
  292. package/lib/utils/arrays.d.ts +3 -0
  293. package/lib/utils/arrays.d.ts.map +1 -0
  294. package/lib/utils/dataURI.d.ts +3 -0
  295. package/lib/utils/dataURI.d.ts.map +1 -0
  296. package/lib/utils/fontLoading.d.ts +14 -0
  297. package/lib/utils/fontLoading.d.ts.map +1 -0
  298. package/lib/utils/formFieldText.d.ts +3 -0
  299. package/lib/utils/formFieldText.d.ts.map +1 -0
  300. package/lib/utils/getLinkIcon.d.ts +3 -0
  301. package/lib/utils/getLinkIcon.d.ts.map +1 -0
  302. package/lib/utils/hexRgbConverter.d.ts.map +1 -1
  303. package/lib/utils/menuHooks.d.ts +18 -0
  304. package/lib/utils/menuHooks.d.ts.map +1 -0
  305. package/lib/utils/navigation.d.ts +20 -0
  306. package/lib/utils/navigation.d.ts.map +1 -0
  307. package/lib/utils/statusFormatter.d.ts +7 -0
  308. package/lib/utils/statusFormatter.d.ts.map +1 -1
  309. package/lib/utils/styles.d.ts +101 -29
  310. package/lib/utils/styles.d.ts.map +1 -1
  311. package/lib/utils/types.d.ts +8 -0
  312. package/lib/utils/types.d.ts.map +1 -0
  313. package/lib/utils/useEqualSheetHeight.d.ts +2 -2
  314. package/lib/utils/useEqualSheetHeight.d.ts.map +1 -1
  315. package/lib/utils/useLeafletMap.d.ts +41 -0
  316. package/lib/utils/useLeafletMap.d.ts.map +1 -0
  317. package/lib/utils/useMediaQuery.d.ts +16 -0
  318. package/lib/utils/useMediaQuery.d.ts.map +1 -1
  319. package/lib/utils/useScrollIntoView.d.ts +5 -3
  320. package/lib/utils/useScrollIntoView.d.ts.map +1 -1
  321. package/package.json +47 -35
  322. package/lib/components/base/icons/StarGhost.d.ts +0 -7
  323. package/lib/components/blocks/LeafletMap.d.ts +0 -42
  324. package/lib/components/blocks/LeafletMap.d.ts.map +0 -1
  325. package/lib/components/sections/Footer.d.ts +0 -384
  326. package/lib/components/sections/Footer.d.ts.map +0 -1
  327. package/lib/components/sections/Form.d.ts +0 -402
  328. package/lib/components/sections/Form.d.ts.map +0 -1
  329. package/lib/components/sections/navigation/TopBar.d.ts +0 -39
  330. package/lib/components/sections/navigation/TopBar.d.ts.map +0 -1
  331. package/lib/components/sections/navigation/menu/Flyout.d.ts +0 -53
  332. package/lib/components/sections/navigation/menu/Flyout.d.ts.map +0 -1
  333. package/lib/components/sections/navigation/remastered/NavBar.d.ts +0 -14
  334. package/lib/components/sections/navigation/remastered/NavBar.d.ts.map +0 -1
  335. package/lib/components/sections/navigation/remastered/Navigation.d.ts +0 -15
  336. package/lib/components/sections/navigation/remastered/Navigation.d.ts.map +0 -1
@@ -1,8 +1,6 @@
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
- };
3
+ import { RecursivePartial } from './types';
6
4
  export declare type ThemeMods = RecursivePartial<DefaultTheme>;
7
5
  /**
8
6
  * Combining Theme objects
@@ -12,16 +10,17 @@ 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: () => {
18
17
  colors: import("./styles").Colors;
19
18
  fonts: import("./styles").Fonts;
20
19
  globals: import("./styles").GlobalSettings;
20
+ theme: DefaultTheme;
21
21
  };
22
22
  export declare const withLibTheme: <P extends Record<string, unknown>>(Component: React.ComponentType<P>) => React.FC<P & {
23
23
  /** Component specific theme properties that overrides global theme settings */
24
24
  theme?: RecursivePartial<DefaultTheme> | undefined;
25
25
  }>;
26
- export {};
27
26
  //# sourceMappingURL=LibThemeProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LibThemeProvider.d.ts","sourceRoot":"","sources":["../../src/utils/LibThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,YAAY,EAA+B,MAAM,mBAAmB,CAAC;AAU9E,aAAK,gBAAgB,CAAC,CAAC,IAAI;KACtB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC1C,CAAC;AAEF,oBAAY,SAAS,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAsCvD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,gIA8BpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC;CACrB,CAUA,CAAC;AAMF,eAAO,MAAM,WAAW,sHAuBvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;CAQvB,CAAC;AAEF,eAAO,MAAM,YAAY;IAKb,+EAA+E;;EAatF,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;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,CAAC,gBAAgB,CAiDtB;IAEF,OAAO,CAAC,gBAAgB,CAiCtB;IAEK,OAAO,CAAC,SAAS,EAAE,MAAM;IAIzB,SAAS,CAAC,SAAS,EAAE,MAAM;IAI3B,kBAA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"}
@@ -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
  };
@@ -19,21 +20,26 @@ export declare const withRange: (range: [number, number?], property: string) =>
19
20
  * @param gradient
20
21
  */
21
22
  export declare const styleTextColor: (fallbackColor?: string | undefined, gradient?: string | undefined) => import("styled-components").FlattenSimpleInterpolation;
22
- /***** New Color Types *****/
23
- interface NewColorOptions {
23
+ /***** Color Types *****/
24
+ interface ColorOptions {
24
25
  default: string;
25
26
  inverted: string;
27
+ hover: string;
28
+ invertedHover: string;
26
29
  }
27
- export declare type NewColorOptionsType = keyof NewColorOptions;
28
- export interface NewColors {
30
+ export declare type ColorOptionsType = keyof ColorOptions;
31
+ export interface Colors {
29
32
  text: {
30
33
  default: string;
31
34
  inverted: string;
32
35
  error: string;
36
+ errorInverted: string;
33
37
  heading: string;
34
38
  headingInverted: string;
35
39
  copy: string;
36
40
  copyInverted: string;
41
+ subtile: string;
42
+ subtileInverted: string;
37
43
  };
38
44
  sectionBg: {
39
45
  light: string;
@@ -48,26 +54,10 @@ export interface NewColors {
48
54
  dark: string;
49
55
  darkHover: string;
50
56
  };
51
- primary: NewColorOptions;
52
- secondary: NewColorOptions;
53
- error: string;
54
- }
55
- export declare type NewColorType = keyof NewColors;
56
- /***** Color Types *****/
57
- interface ColorOptions {
58
- light: string;
59
- medium: string;
60
- dark: string;
61
- }
62
- export declare type ColorOptionsType = keyof ColorOptions;
63
- export interface Colors {
64
- dark: string;
65
- light: string;
66
- mono: ColorOptions;
67
57
  primary: ColorOptions;
68
58
  secondary: ColorOptions;
69
59
  error: string;
70
- new: NewColors;
60
+ errorInverted: string;
71
61
  }
72
62
  export declare type ColorType = keyof Colors;
73
63
  /***** Font Types *****/
@@ -101,6 +91,14 @@ export interface Fonts {
101
91
  'heading-3': FontProps;
102
92
  'heading-4': FontProps;
103
93
  callout: FontOptions;
94
+ link: {
95
+ color: string;
96
+ colorInverted: string;
97
+ colorHover: string;
98
+ colorHoverInverted: string;
99
+ textTransform?: string;
100
+ textDecoration?: string;
101
+ };
104
102
  }
105
103
  export declare type FontType = keyof Fonts;
106
104
  /**
@@ -108,18 +106,42 @@ export declare type FontType = keyof Fonts;
108
106
  */
109
107
  export declare type FontBase = FontProps;
110
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
+ }
111
133
  export interface GlobalSettings {
112
134
  sections: {
113
135
  /** Paddings and Margins for seperating each section */
114
136
  seperation: {
115
137
  forcePadding: boolean;
116
138
  padding: {
117
- default: [number, number];
118
- stackable: [number, number];
139
+ default: [number, number?];
140
+ stackable: [number, number?];
119
141
  };
120
142
  margin: {
121
- default: [number, number];
122
- stackable: [number, number];
143
+ default: [number, number?];
144
+ stackable: [number, number?];
123
145
  };
124
146
  };
125
147
  /** Radius of image and card edges */
@@ -132,17 +154,67 @@ export interface GlobalSettings {
132
154
  inverted: string;
133
155
  };
134
156
  /** Date and Time Formats for all news sections */
135
- newsDateFormat: string;
136
- newsTimeFormat: string;
157
+ newsDateFormat: (date: Date) => string;
158
+ newsTimeFormat: (date: Date) => string;
137
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';
138
165
  /** Date and Time Formats for Datepickers */
139
166
  datepickerLocaleKey: 'de' | 'en';
140
167
  datepickerDateFormat: string;
141
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
+ };
142
214
  }
143
215
  /***** Theme Helper *****/
144
216
  export declare const baseTheme: DefaultTheme;
145
- export declare const getTheme: (theme?: DefaultTheme | undefined) => GlobalSettings | DefaultTheme;
217
+ export declare const getTheme: (theme?: DefaultTheme | undefined) => DefaultTheme;
146
218
  export declare const getColors: (theme?: DefaultTheme | undefined) => Colors;
147
219
  export declare const getFonts: (theme?: DefaultTheme | undefined) => Fonts;
148
220
  export declare const getGlobals: (theme?: DefaultTheme | undefined) => GlobalSettings;
@@ -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,EAAE,OAAO,CAAC,GAAG,MAAM;CAOnE,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,gEAmBnE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,+HAkB1B,CAAC;AAEF,6BAA6B;AAC7B,UAAU,eAAe;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,oBAAY,mBAAmB,GAAG,MAAM,eAAe,CAAC;AAExD,MAAM,WAAW,SAAS;IACtB,IAAI,EAAE;QACF,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,eAAe,EAAE,MAAM,CAAC;QACxB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,SAAS,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,IAAI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C;KACL,CAAC;IACF,KAAK,EAAE;QACH,yCAAyC;QAKzC,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC,CAAC;KACpD,CAAC;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,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QueryType[]) => 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"}
@@ -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"}