@blateral/b.kit 2.0.0-beta.1 → 2.0.0-beta.10.3

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 (337) hide show
  1. package/README.md +1 -1
  2. package/lib/components/base/Grid.d.ts +6 -2
  3. package/lib/components/base/Grid.d.ts.map +1 -1
  4. package/lib/components/base/Section.d.ts +4 -1
  5. package/lib/components/base/Section.d.ts.map +1 -1
  6. package/lib/components/base/Wrapper.d.ts +1 -0
  7. package/lib/components/base/Wrapper.d.ts.map +1 -1
  8. package/lib/components/base/icons/AngleLeft.d.ts +7 -0
  9. package/lib/components/base/icons/{StarGhost.d.ts.map → AngleLeft.d.ts.map} +1 -1
  10. package/lib/components/base/icons/AngleRight.d.ts +1 -0
  11. package/lib/components/base/icons/AngleRight.d.ts.map +1 -1
  12. package/lib/components/base/icons/AngleUp.d.ts.map +1 -1
  13. package/lib/components/base/icons/ArrowDown.d.ts +7 -0
  14. package/lib/components/base/icons/ArrowDown.d.ts.map +1 -0
  15. package/lib/components/base/icons/ArrowLeft.d.ts +7 -0
  16. package/lib/components/base/icons/ArrowLeft.d.ts.map +1 -0
  17. package/lib/components/base/icons/ArrowLeftGhost.d.ts.map +1 -1
  18. package/lib/components/base/icons/ArrowLeftRight.d.ts.map +1 -1
  19. package/lib/components/base/icons/ArrowRight.d.ts.map +1 -1
  20. package/lib/components/base/icons/ArrowRightGhost.d.ts.map +1 -1
  21. package/lib/components/base/icons/ArrowUp.d.ts +7 -0
  22. package/lib/components/base/icons/ArrowUp.d.ts.map +1 -0
  23. package/lib/components/base/icons/BoxArrowUpRight.d.ts +7 -0
  24. package/lib/components/base/icons/BoxArrowUpRight.d.ts.map +1 -0
  25. package/lib/components/base/icons/CalendarToday.d.ts +7 -0
  26. package/lib/components/base/icons/CalendarToday.d.ts.map +1 -0
  27. package/lib/components/base/icons/Check.d.ts.map +1 -1
  28. package/lib/components/base/icons/Clock.d.ts +7 -0
  29. package/lib/components/base/icons/Clock.d.ts.map +1 -0
  30. package/lib/components/base/icons/Cross.d.ts +1 -0
  31. package/lib/components/base/icons/Cross.d.ts.map +1 -1
  32. package/lib/components/base/icons/DateRange.d.ts +7 -0
  33. package/lib/components/base/icons/DateRange.d.ts.map +1 -0
  34. package/lib/components/base/icons/DeleteForever.d.ts +8 -0
  35. package/lib/components/base/icons/DeleteForever.d.ts.map +1 -0
  36. package/lib/components/base/icons/External.d.ts.map +1 -1
  37. package/lib/components/base/icons/Icons.d.ts +53 -0
  38. package/lib/components/base/icons/Icons.d.ts.map +1 -0
  39. package/lib/components/base/icons/Info.d.ts +7 -0
  40. package/lib/components/base/icons/Info.d.ts.map +1 -0
  41. package/lib/components/base/icons/Language.d.ts +7 -0
  42. package/lib/components/base/icons/Language.d.ts.map +1 -0
  43. package/lib/components/base/icons/LocationPin.d.ts +7 -0
  44. package/lib/components/base/icons/LocationPin.d.ts.map +1 -0
  45. package/lib/components/base/icons/Mail.d.ts +1 -1
  46. package/lib/components/base/icons/Mail.d.ts.map +1 -1
  47. package/lib/components/base/icons/MenuBurger.d.ts +1 -0
  48. package/lib/components/base/icons/MenuBurger.d.ts.map +1 -1
  49. package/lib/components/base/icons/Phone.d.ts.map +1 -1
  50. package/lib/components/base/icons/Play.d.ts.map +1 -1
  51. package/lib/components/base/icons/files/Excel.d.ts +7 -0
  52. package/lib/components/base/icons/files/Excel.d.ts.map +1 -0
  53. package/lib/components/base/icons/files/Image.d.ts +7 -0
  54. package/lib/components/base/icons/files/Image.d.ts.map +1 -0
  55. package/lib/components/base/icons/files/Pdf.d.ts +7 -0
  56. package/lib/components/base/icons/files/Pdf.d.ts.map +1 -0
  57. package/lib/components/base/icons/files/PowerPoint.d.ts +7 -0
  58. package/lib/components/base/icons/files/PowerPoint.d.ts.map +1 -0
  59. package/lib/components/base/icons/files/UploadFile.d.ts +7 -0
  60. package/lib/components/base/icons/files/UploadFile.d.ts.map +1 -0
  61. package/lib/components/base/icons/files/Word.d.ts +7 -0
  62. package/lib/components/base/icons/files/Word.d.ts.map +1 -0
  63. package/lib/components/base/icons/files/Zip.d.ts +7 -0
  64. package/lib/components/base/icons/files/Zip.d.ts.map +1 -0
  65. package/lib/components/blocks/Actions.d.ts +2 -0
  66. package/lib/components/blocks/Actions.d.ts.map +1 -1
  67. package/lib/components/blocks/Alert.d.ts +17 -4
  68. package/lib/components/blocks/Alert.d.ts.map +1 -1
  69. package/lib/components/blocks/Bdot.d.ts.map +1 -1
  70. package/lib/components/blocks/CookieConsent.d.ts +3 -0
  71. package/lib/components/blocks/CookieConsent.d.ts.map +1 -1
  72. package/lib/components/blocks/EventBlock.d.ts +42 -0
  73. package/lib/components/blocks/EventBlock.d.ts.map +1 -0
  74. package/lib/components/blocks/Feature.d.ts.map +1 -1
  75. package/lib/components/blocks/Image.d.ts +3 -0
  76. package/lib/components/blocks/Image.d.ts.map +1 -1
  77. package/lib/components/blocks/IntroBlock.d.ts +3 -0
  78. package/lib/components/blocks/IntroBlock.d.ts.map +1 -1
  79. package/lib/components/blocks/JobCard.d.ts +25 -0
  80. package/lib/components/blocks/JobCard.d.ts.map +1 -0
  81. package/lib/components/blocks/LanguageSwitcher.d.ts +14 -0
  82. package/lib/components/blocks/LanguageSwitcher.d.ts.map +1 -0
  83. package/lib/components/blocks/NavBlock.d.ts +24 -0
  84. package/lib/components/blocks/NavBlock.d.ts.map +1 -0
  85. package/lib/components/blocks/NewsCard.d.ts +7 -6
  86. package/lib/components/blocks/NewsCard.d.ts.map +1 -1
  87. package/lib/components/blocks/PromotionCard.d.ts +4 -0
  88. package/lib/components/blocks/PromotionCard.d.ts.map +1 -1
  89. package/lib/components/blocks/Slider.d.ts +9 -2
  90. package/lib/components/blocks/Slider.d.ts.map +1 -1
  91. package/lib/components/blocks/SocialList.d.ts +10 -4
  92. package/lib/components/blocks/SocialList.d.ts.map +1 -1
  93. package/lib/components/blocks/Tag.d.ts +9 -3
  94. package/lib/components/blocks/Tag.d.ts.map +1 -1
  95. package/lib/components/blocks/Title.d.ts.map +1 -1
  96. package/lib/components/blocks/VideoCard.d.ts.map +1 -1
  97. package/lib/components/buttons/Button.d.ts +1 -0
  98. package/lib/components/buttons/Button.d.ts.map +1 -1
  99. package/lib/components/buttons/ButtonGhost.d.ts +1 -0
  100. package/lib/components/buttons/ButtonGhost.d.ts.map +1 -1
  101. package/lib/components/buttons/Control.d.ts +11 -0
  102. package/lib/components/buttons/Control.d.ts.map +1 -0
  103. package/lib/components/buttons/Pointer.d.ts +1 -0
  104. package/lib/components/buttons/Pointer.d.ts.map +1 -1
  105. package/lib/components/buttons/QuicknavButton.d.ts.map +1 -1
  106. package/lib/components/fields/Checkbox.d.ts.map +1 -1
  107. package/lib/components/fields/CompactForm.d.ts.map +1 -1
  108. package/lib/components/fields/Datepicker.d.ts +8 -11
  109. package/lib/components/fields/Datepicker.d.ts.map +1 -1
  110. package/lib/components/fields/FileUpload.d.ts +3 -9
  111. package/lib/components/fields/FileUpload.d.ts.map +1 -1
  112. package/lib/components/fields/FormField.d.ts +33 -0
  113. package/lib/components/fields/FormField.d.ts.map +1 -0
  114. package/lib/components/fields/Radio.d.ts +0 -1
  115. package/lib/components/fields/Radio.d.ts.map +1 -1
  116. package/lib/components/fields/SearchInput.d.ts.map +1 -1
  117. package/lib/components/fields/SelectDropdown.d.ts +2 -7
  118. package/lib/components/fields/SelectDropdown.d.ts.map +1 -1
  119. package/lib/components/fields/Textarea.d.ts +1 -3
  120. package/lib/components/fields/Textarea.d.ts.map +1 -1
  121. package/lib/components/fields/Textfield.d.ts +2 -7
  122. package/lib/components/fields/Textfield.d.ts.map +1 -1
  123. package/lib/components/sections/Accordion.d.ts +5 -356
  124. package/lib/components/sections/Accordion.d.ts.map +1 -1
  125. package/lib/components/sections/AlertList.d.ts +26 -4
  126. package/lib/components/sections/AlertList.d.ts.map +1 -1
  127. package/lib/components/sections/Article.d.ts +5 -356
  128. package/lib/components/sections/Article.d.ts.map +1 -1
  129. package/lib/components/sections/CallToAction.d.ts +7 -356
  130. package/lib/components/sections/CallToAction.d.ts.map +1 -1
  131. package/lib/components/sections/CardList.d.ts +45 -0
  132. package/lib/components/sections/CardList.d.ts.map +1 -0
  133. package/lib/components/sections/ComparisonSlider.d.ts +5 -356
  134. package/lib/components/sections/ComparisonSlider.d.ts.map +1 -1
  135. package/lib/components/sections/CrossPromotion.d.ts +5 -356
  136. package/lib/components/sections/CrossPromotion.d.ts.map +1 -1
  137. package/lib/components/sections/DynamicForm.d.ts +15 -357
  138. package/lib/components/sections/DynamicForm.d.ts.map +1 -1
  139. package/lib/components/sections/FactGrid.d.ts +5 -356
  140. package/lib/components/sections/FactGrid.d.ts.map +1 -1
  141. package/lib/components/sections/FactList.d.ts +5 -356
  142. package/lib/components/sections/FactList.d.ts.map +1 -1
  143. package/lib/components/sections/FeatureList.d.ts +5 -356
  144. package/lib/components/sections/FeatureList.d.ts.map +1 -1
  145. package/lib/components/sections/Gallery.d.ts +5 -356
  146. package/lib/components/sections/Gallery.d.ts.map +1 -1
  147. package/lib/components/sections/IconList.d.ts +5 -356
  148. package/lib/components/sections/IconList.d.ts.map +1 -1
  149. package/lib/components/sections/IndexList.d.ts +38 -0
  150. package/lib/components/sections/IndexList.d.ts.map +1 -0
  151. package/lib/components/sections/Intro.d.ts +10 -356
  152. package/lib/components/sections/Intro.d.ts.map +1 -1
  153. package/lib/components/sections/JobList.d.ts +31 -0
  154. package/lib/components/sections/JobList.d.ts.map +1 -0
  155. package/lib/components/sections/Map.d.ts +42 -388
  156. package/lib/components/sections/Map.d.ts.map +1 -1
  157. package/lib/components/sections/NavList.d.ts +31 -0
  158. package/lib/components/sections/NavList.d.ts.map +1 -0
  159. package/lib/components/sections/NumberList.d.ts +22 -364
  160. package/lib/components/sections/NumberList.d.ts.map +1 -1
  161. package/lib/components/sections/Poster.d.ts +5 -356
  162. package/lib/components/sections/Poster.d.ts.map +1 -1
  163. package/lib/components/sections/PriceList.d.ts +5 -356
  164. package/lib/components/sections/PriceList.d.ts.map +1 -1
  165. package/lib/components/sections/PriceTable.d.ts +5 -356
  166. package/lib/components/sections/PriceTable.d.ts.map +1 -1
  167. package/lib/components/sections/Quicknav.d.ts +5 -356
  168. package/lib/components/sections/Quicknav.d.ts.map +1 -1
  169. package/lib/components/sections/Quote.d.ts +5 -356
  170. package/lib/components/sections/Quote.d.ts.map +1 -1
  171. package/lib/components/sections/SimpleImage.d.ts +2 -0
  172. package/lib/components/sections/SimpleImage.d.ts.map +1 -1
  173. package/lib/components/sections/SocialNav.d.ts +10 -360
  174. package/lib/components/sections/SocialNav.d.ts.map +1 -1
  175. package/lib/components/sections/SocialWall.d.ts +5 -356
  176. package/lib/components/sections/SocialWall.d.ts.map +1 -1
  177. package/lib/components/sections/Table.d.ts +5 -356
  178. package/lib/components/sections/Table.d.ts.map +1 -1
  179. package/lib/components/sections/Teaser.d.ts +5 -356
  180. package/lib/components/sections/Teaser.d.ts.map +1 -1
  181. package/lib/components/sections/TeaserWide.d.ts +5 -356
  182. package/lib/components/sections/TeaserWide.d.ts.map +1 -1
  183. package/lib/components/sections/Timeline.d.ts +5 -356
  184. package/lib/components/sections/Timeline.d.ts.map +1 -1
  185. package/lib/components/sections/Video.d.ts +5 -356
  186. package/lib/components/sections/Video.d.ts.map +1 -1
  187. package/lib/components/sections/carousel/CarouselBase.d.ts +1 -0
  188. package/lib/components/sections/carousel/CarouselBase.d.ts.map +1 -1
  189. package/lib/components/sections/carousel/FeatureCarousel.d.ts +3 -356
  190. package/lib/components/sections/carousel/FeatureCarousel.d.ts.map +1 -1
  191. package/lib/components/sections/carousel/ImageCarousel.d.ts +3 -356
  192. package/lib/components/sections/carousel/ImageCarousel.d.ts.map +1 -1
  193. package/lib/components/sections/carousel/PromotionCarousel.d.ts +3 -356
  194. package/lib/components/sections/carousel/PromotionCarousel.d.ts.map +1 -1
  195. package/lib/components/sections/carousel/VideoCarousel.d.ts +3 -356
  196. package/lib/components/sections/carousel/VideoCarousel.d.ts.map +1 -1
  197. package/lib/components/sections/events/EventDetail.d.ts +58 -0
  198. package/lib/components/sections/events/EventDetail.d.ts.map +1 -0
  199. package/lib/components/sections/events/EventList.d.ts +39 -0
  200. package/lib/components/sections/events/EventList.d.ts.map +1 -0
  201. package/lib/components/sections/events/EventOverview.d.ts +62 -0
  202. package/lib/components/sections/events/EventOverview.d.ts.map +1 -0
  203. package/lib/components/sections/footer/Footer.d.ts +65 -0
  204. package/lib/components/sections/footer/Footer.d.ts.map +1 -0
  205. package/lib/components/sections/footer/partials/FooterBottomBar.d.ts +14 -0
  206. package/lib/components/sections/footer/partials/FooterBottomBar.d.ts.map +1 -0
  207. package/lib/components/sections/footer/partials/FooterColumn.d.ts +14 -0
  208. package/lib/components/sections/footer/partials/FooterColumn.d.ts.map +1 -0
  209. package/lib/components/sections/footer/partials/index.d.ts +3 -0
  210. package/lib/components/sections/footer/partials/index.d.ts.map +1 -0
  211. package/lib/components/sections/footer/skeletons/FooterArticle.d.ts +12 -0
  212. package/lib/components/sections/footer/skeletons/FooterArticle.d.ts.map +1 -0
  213. package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts +16 -0
  214. package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +1 -0
  215. package/lib/components/sections/footer/skeletons/index.d.ts +3 -0
  216. package/lib/components/sections/footer/skeletons/index.d.ts.map +1 -0
  217. package/lib/components/sections/header/Header.d.ts +67 -402
  218. package/lib/components/sections/header/Header.d.ts.map +1 -1
  219. package/lib/components/sections/header/HeaderKenBurns.d.ts +4 -14
  220. package/lib/components/sections/header/HeaderKenBurns.d.ts.map +1 -1
  221. package/lib/components/sections/header/HeaderPoster.d.ts +7 -16
  222. package/lib/components/sections/header/HeaderPoster.d.ts.map +1 -1
  223. package/lib/components/sections/header/HeaderVideo.d.ts +6 -16
  224. package/lib/components/sections/header/HeaderVideo.d.ts.map +1 -1
  225. package/lib/components/sections/navigation/NavBar.d.ts +45 -0
  226. package/lib/components/sections/navigation/NavBar.d.ts.map +1 -0
  227. package/lib/components/sections/navigation/Navigation.d.ts +75 -56
  228. package/lib/components/sections/navigation/Navigation.d.ts.map +1 -1
  229. package/lib/components/sections/navigation/menu/Menu.d.ts +37 -30
  230. package/lib/components/sections/navigation/menu/Menu.d.ts.map +1 -1
  231. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts +16 -0
  232. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -0
  233. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts +9 -0
  234. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -0
  235. package/lib/components/sections/navigation/partials/MenuFooter.d.ts +12 -0
  236. package/lib/components/sections/navigation/partials/MenuFooter.d.ts.map +1 -0
  237. package/lib/components/sections/navigation/partials/MenuHeader.d.ts +14 -0
  238. package/lib/components/sections/navigation/partials/MenuHeader.d.ts.map +1 -0
  239. package/lib/components/sections/navigation/partials/NavBarBottom.d.ts +10 -0
  240. package/lib/components/sections/navigation/partials/NavBarBottom.d.ts.map +1 -0
  241. package/lib/components/sections/navigation/partials/NavBarMain.d.ts +37 -0
  242. package/lib/components/sections/navigation/partials/NavBarMain.d.ts.map +1 -0
  243. package/lib/components/sections/navigation/partials/NavBarTop.d.ts +11 -0
  244. package/lib/components/sections/navigation/partials/NavBarTop.d.ts.map +1 -0
  245. package/lib/components/sections/navigation/partials/index.d.ts +6 -0
  246. package/lib/components/sections/navigation/partials/index.d.ts.map +1 -0
  247. package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts +18 -0
  248. package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +1 -0
  249. package/lib/components/sections/navigation/skeletons/BarColumn.d.ts +7 -0
  250. package/lib/components/sections/navigation/skeletons/BarColumn.d.ts.map +1 -0
  251. package/lib/components/sections/navigation/skeletons/BarLogo.d.ts +14 -0
  252. package/lib/components/sections/navigation/skeletons/BarLogo.d.ts.map +1 -0
  253. package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts +10 -0
  254. package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +1 -0
  255. package/lib/components/sections/navigation/skeletons/BarNavList.d.ts +9 -0
  256. package/lib/components/sections/navigation/skeletons/BarNavList.d.ts.map +1 -0
  257. package/lib/components/sections/navigation/skeletons/index.d.ts +6 -0
  258. package/lib/components/sections/navigation/skeletons/index.d.ts.map +1 -0
  259. package/lib/components/sections/news/NewsAuthorCard.d.ts +2 -357
  260. package/lib/components/sections/news/NewsAuthorCard.d.ts.map +1 -1
  261. package/lib/components/sections/news/NewsFooter.d.ts +30 -363
  262. package/lib/components/sections/news/NewsFooter.d.ts.map +1 -1
  263. package/lib/components/sections/news/NewsImages.d.ts +5 -356
  264. package/lib/components/sections/news/NewsImages.d.ts.map +1 -1
  265. package/lib/components/sections/news/NewsIntro.d.ts +39 -362
  266. package/lib/components/sections/news/NewsIntro.d.ts.map +1 -1
  267. package/lib/components/sections/news/NewsList.d.ts +34 -363
  268. package/lib/components/sections/news/NewsList.d.ts.map +1 -1
  269. package/lib/components/sections/news/NewsOverview.d.ts +17 -364
  270. package/lib/components/sections/news/NewsOverview.d.ts.map +1 -1
  271. package/lib/components/sections/news/NewsTable.d.ts +6 -357
  272. package/lib/components/sections/news/NewsTable.d.ts.map +1 -1
  273. package/lib/components/sections/news/NewsText.d.ts +6 -357
  274. package/lib/components/sections/news/NewsText.d.ts.map +1 -1
  275. package/lib/components/sections/news/NewsVideo.d.ts +5 -356
  276. package/lib/components/sections/news/NewsVideo.d.ts.map +1 -1
  277. package/lib/components/typography/Callout.d.ts +1 -0
  278. package/lib/components/typography/Callout.d.ts.map +1 -1
  279. package/lib/components/typography/Copy.d.ts +1 -0
  280. package/lib/components/typography/Copy.d.ts.map +1 -1
  281. package/lib/components/typography/Heading.d.ts +1 -0
  282. package/lib/components/typography/Heading.d.ts.map +1 -1
  283. package/lib/components/typography/Link.d.ts +5 -0
  284. package/lib/components/typography/Link.d.ts.map +1 -1
  285. package/lib/index.d.ts +56 -54
  286. package/lib/index.d.ts.map +1 -1
  287. package/lib/index.es.js +1 -15
  288. package/lib/index.es.js.map +1 -1
  289. package/lib/index.js +1 -1
  290. package/lib/index.js.map +1 -1
  291. package/lib/utils/LibThemeProvider.d.ts +3 -4
  292. package/lib/utils/LibThemeProvider.d.ts.map +1 -1
  293. package/lib/utils/arrays.d.ts +3 -0
  294. package/lib/utils/arrays.d.ts.map +1 -0
  295. package/lib/utils/dataURI.d.ts +3 -0
  296. package/lib/utils/dataURI.d.ts.map +1 -0
  297. package/lib/utils/formFieldText.d.ts +3 -0
  298. package/lib/utils/formFieldText.d.ts.map +1 -0
  299. package/lib/utils/getLinkIcon.d.ts +3 -0
  300. package/lib/utils/getLinkIcon.d.ts.map +1 -0
  301. package/lib/utils/hexRgbConverter.d.ts.map +1 -1
  302. package/lib/utils/menuHooks.d.ts +18 -0
  303. package/lib/utils/menuHooks.d.ts.map +1 -0
  304. package/lib/utils/navigation.d.ts +20 -0
  305. package/lib/utils/navigation.d.ts.map +1 -0
  306. package/lib/utils/statusFormatter.d.ts +7 -0
  307. package/lib/utils/statusFormatter.d.ts.map +1 -1
  308. package/lib/utils/styles.d.ts +83 -31
  309. package/lib/utils/styles.d.ts.map +1 -1
  310. package/lib/utils/types.d.ts +8 -0
  311. package/lib/utils/types.d.ts.map +1 -0
  312. package/lib/utils/useEqualSheetHeight.d.ts +2 -2
  313. package/lib/utils/useEqualSheetHeight.d.ts.map +1 -1
  314. package/lib/utils/useLeafletMap.d.ts +41 -0
  315. package/lib/utils/useLeafletMap.d.ts.map +1 -0
  316. package/lib/utils/useMediaQuery.d.ts +16 -0
  317. package/lib/utils/useMediaQuery.d.ts.map +1 -1
  318. package/lib/utils/useScrollIntoView.d.ts +5 -3
  319. package/lib/utils/useScrollIntoView.d.ts.map +1 -1
  320. package/package.json +47 -35
  321. package/lib/components/base/icons/ExclamationMark.d.ts +0 -7
  322. package/lib/components/base/icons/ExclamationMark.d.ts.map +0 -1
  323. package/lib/components/base/icons/StarGhost.d.ts +0 -7
  324. package/lib/components/blocks/LeafletMap.d.ts +0 -42
  325. package/lib/components/blocks/LeafletMap.d.ts.map +0 -1
  326. package/lib/components/sections/Footer.d.ts +0 -413
  327. package/lib/components/sections/Footer.d.ts.map +0 -1
  328. package/lib/components/sections/Form.d.ts +0 -431
  329. package/lib/components/sections/Form.d.ts.map +0 -1
  330. package/lib/components/sections/navigation/TopBar.d.ts +0 -39
  331. package/lib/components/sections/navigation/TopBar.d.ts.map +0 -1
  332. package/lib/components/sections/navigation/menu/Flyout.d.ts +0 -53
  333. package/lib/components/sections/navigation/menu/Flyout.d.ts.map +0 -1
  334. package/lib/components/sections/navigation/remastered/NavBar.d.ts +0 -19
  335. package/lib/components/sections/navigation/remastered/NavBar.d.ts.map +0 -1
  336. package/lib/components/sections/navigation/remastered/Navigation.d.ts +0 -16
  337. 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,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,kBAAkB;IAclB,gBAAgB;IAehB,gBAAgB;IAevB,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
+ {"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,kBAAkB;IAclB,gBAAgB;IAehB,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,4 +1,5 @@
1
1
  import { DefaultTheme } from 'styled-components';
2
+ import { XOR } from './types';
2
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;
@@ -19,23 +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;
26
27
  hover: string;
27
28
  invertedHover: string;
28
29
  }
29
- export declare type NewColorOptionsType = keyof NewColorOptions;
30
- export interface NewColors {
30
+ export declare type ColorOptionsType = keyof ColorOptions;
31
+ export interface Colors {
31
32
  text: {
32
33
  default: string;
33
34
  inverted: string;
34
35
  error: string;
36
+ errorInverted: string;
35
37
  heading: string;
36
38
  headingInverted: string;
37
39
  copy: string;
38
40
  copyInverted: string;
41
+ subtile: string;
42
+ subtileInverted: string;
39
43
  };
40
44
  sectionBg: {
41
45
  light: string;
@@ -50,26 +54,10 @@ export interface NewColors {
50
54
  dark: string;
51
55
  darkHover: string;
52
56
  };
53
- primary: NewColorOptions;
54
- secondary: NewColorOptions;
55
- error: string;
56
- }
57
- export declare type NewColorType = keyof NewColors;
58
- /***** Color Types *****/
59
- interface ColorOptions {
60
- light: string;
61
- medium: string;
62
- dark: string;
63
- }
64
- export declare type ColorOptionsType = keyof ColorOptions;
65
- export interface Colors {
66
- dark: string;
67
- light: string;
68
- mono: ColorOptions;
69
57
  primary: ColorOptions;
70
58
  secondary: ColorOptions;
71
59
  error: string;
72
- new: NewColors;
60
+ errorInverted: string;
73
61
  }
74
62
  export declare type ColorType = keyof Colors;
75
63
  /***** Font Types *****/
@@ -103,6 +91,14 @@ export interface Fonts {
103
91
  'heading-3': FontProps;
104
92
  'heading-4': FontProps;
105
93
  callout: FontOptions;
94
+ link: {
95
+ color: string;
96
+ colorInverted: string;
97
+ colorHover: string;
98
+ colorHoverInverted: string;
99
+ textTransform?: string;
100
+ textDecoration?: string;
101
+ };
106
102
  }
107
103
  export declare type FontType = keyof Fonts;
108
104
  /**
@@ -114,6 +110,26 @@ export declare type NavBarHeights = {
114
110
  small: number;
115
111
  large: number;
116
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
+ }
117
133
  export interface GlobalSettings {
118
134
  sections: {
119
135
  /** Paddings and Margins for seperating each section */
@@ -138,9 +154,14 @@ export interface GlobalSettings {
138
154
  inverted: string;
139
155
  };
140
156
  /** Date and Time Formats for all news sections */
141
- newsDateFormat: string;
142
- newsTimeFormat: string;
157
+ newsDateFormat: (date: Date) => string;
158
+ newsTimeFormat: (date: Date) => string;
143
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';
144
165
  /** Date and Time Formats for Datepickers */
145
166
  datepickerLocaleKey: 'de' | 'en';
146
167
  datepickerDateFormat: string;
@@ -148,21 +169,52 @@ export interface GlobalSettings {
148
169
  navigation: {
149
170
  /** Settings of top navigation bar */
150
171
  navBar: {
151
- isTopNavVisible: boolean;
152
- topNavHeight: {
153
- mobile: NavBarHeights;
154
- desktop: NavBarHeights;
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?];
155
180
  };
156
- height: {
157
- mobile: NavBarHeights;
158
- desktop: NavBarHeights;
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?];
159
207
  };
160
208
  };
161
209
  };
210
+ icons: {
211
+ /** Icon setup for link/download lists */
212
+ linkIcons: Array<XOR<LinkUrlIcon, LinkFontIcon>>;
213
+ };
162
214
  }
163
215
  /***** Theme Helper *****/
164
216
  export declare const baseTheme: DefaultTheme;
165
- export declare const getTheme: (theme?: DefaultTheme | undefined) => GlobalSettings | DefaultTheme;
217
+ export declare const getTheme: (theme?: DefaultTheme | undefined) => DefaultTheme;
166
218
  export declare const getColors: (theme?: DefaultTheme | undefined) => Colors;
167
219
  export declare const getFonts: (theme?: DefaultTheme | undefined) => Fonts;
168
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,CAAC;AAEhB,eAAO,MAAM,EAAE,EAAE;KAAG,GAAG,IAAI,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG,MAAM;CAMnE,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC;AAEF,0BAA0B;AAC1B,eAAO,MAAM,cAAc,UAAW,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,MACiD,CAAC;AAE3G,eAAO,MAAM,SAAS,UAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,YAAY,MAAM,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;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,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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,cAc1D,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blateral/b.kit",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.10.3",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",
@@ -9,7 +9,7 @@
9
9
  "lib"
10
10
  ],
11
11
  "scripts": {
12
- "build": "rollup -c",
12
+ "build": "yarn test && rollup -c",
13
13
  "watch": "rollup -c -w",
14
14
  "storybook": "start-storybook -s ./public -p 9000 -c .storybook --no-manager-cache",
15
15
  "deploy-storybook": "yarn storybook-to-ghpages",
@@ -19,7 +19,9 @@
19
19
  "check-publish": "yarn pack && tar -xvzf *.tgz && rm -rf package *.tgz",
20
20
  "deploy": "yarn tc && yarn build && yarn publish",
21
21
  "deploy-patch": "yarn tc && yarn build && yarn publish --tag patch",
22
- "prepare": "npx husky install && npx yalc --version"
22
+ "deploy-beta": "yarn tc && yarn build && yarn publish --tag beta",
23
+ "prepare": "npx husky install && npx yalc --version",
24
+ "test": "jest"
23
25
  },
24
26
  "repository": {
25
27
  "type": "git",
@@ -33,60 +35,70 @@
33
35
  },
34
36
  "homepage": "https://github.com/blateral/b.kit#readme",
35
37
  "devDependencies": {
36
- "@etchteam/storybook-addon-status": "^4.1.0",
37
- "@rollup/plugin-babel": "^5.3.0",
38
- "@rollup/plugin-commonjs": "^17.0.0",
39
- "@rollup/plugin-node-resolve": "^11.0.0",
40
- "@storybook/addon-a11y": "^6.4.19",
41
- "@storybook/addon-essentials": "^6.4.19",
42
- "@storybook/react": "6.4.19",
43
- "@storybook/storybook-deployer": "^2.8.7",
44
- "@storybook/theming": "^6.4.19",
45
- "@types/react": "^17.0.0",
38
+ "@etchteam/storybook-addon-status": "^4.2.1",
39
+ "@rollup/plugin-babel": "5.3.1",
40
+ "@rollup/plugin-commonjs": "22.0.0",
41
+ "@rollup/plugin-node-resolve": "13.2.1",
42
+ "@storybook/addon-a11y": "^6.4.22",
43
+ "@storybook/addon-essentials": "^6.4.22",
44
+ "@storybook/react": "6.4.22",
45
+ "@storybook/storybook-deployer": "^2.8.11",
46
+ "@storybook/theming": "^6.4.22",
47
+ "@types/jest": "^27.5.1",
48
+ "@types/react": "^18.0.8",
46
49
  "@types/react-datepicker": "4.3.4",
47
- "@types/react-dom": "^17.0.0",
50
+ "@types/react-dom": "^18.0.0",
48
51
  "@types/react-leaflet": "2.5.0",
49
52
  "@types/react-slick": "0.23.4",
50
- "@types/styled-components": "^5.1.4",
53
+ "@types/styled-components": "5.1.25",
51
54
  "@types/yup": "^0.29.11",
52
- "@typescript-eslint/eslint-plugin": "^4.8.2",
53
- "@typescript-eslint/parser": "^4.8.2",
54
- "@zerollup/ts-transform-paths": "^1.7.18",
55
- "babel-plugin-styled-components": "1.10.5",
56
- "eslint": "^7.14.0",
57
- "eslint-plugin-react": "^7.21.5",
58
- "eslint-plugin-react-hooks": "^4.2.0",
59
- "formik": "^2.2.8",
55
+ "@typescript-eslint/eslint-plugin": "5.21.0",
56
+ "@typescript-eslint/parser": "5.21.0",
57
+ "@zerollup/ts-transform-paths": "1.7.18",
58
+ "babel-plugin-styled-components": "2.0.7",
59
+ "eslint": "8.14.0",
60
+ "eslint-plugin-react": "7.29.4",
61
+ "eslint-plugin-react-hooks": "4.5.0",
62
+ "formik": "^2.2.9",
60
63
  "husky": "^7.0.0",
64
+ "jest": "^28.1.0",
61
65
  "leaflet": "1.7.1",
62
- "react": "^17.0.1",
66
+ "react": "^18.1.0",
63
67
  "react-datepicker": "4.6.0",
64
- "react-dom": "^17.0.1",
68
+ "react-dom": "^18.1.0",
65
69
  "react-schemaorg": "^2.0.0",
66
70
  "react-slick": "0.27.1",
67
- "rollup": "^2.34.1",
71
+ "rollup": "2.70.2",
72
+ "rollup-plugin-delete": "^2.0.0",
68
73
  "rollup-plugin-peer-deps-external": "^2.2.4",
69
74
  "rollup-plugin-terser": "^7.0.2",
70
- "rollup-plugin-typescript2": "^0.29.0",
75
+ "rollup-plugin-typescript2": "0.31.2",
71
76
  "schema-dts": "^1.0.0",
72
77
  "slick-carousel": "1.8.1",
73
- "styled-components": "^5.2.1",
74
- "ttypescript": "^1.5.12",
75
- "typescript": "^4.1.2"
78
+ "styled-components": "5.3.5",
79
+ "ts-jest": "^28.0.3",
80
+ "ttypescript": "1.5.13",
81
+ "typescript": "^4.6.3"
76
82
  },
77
83
  "peerDependencies": {
78
84
  "@types/react-datepicker": "4.3.4",
79
85
  "@types/yup": "^0.29.11",
80
- "formik": "^2.2.8",
86
+ "formik": "^2.2.9",
81
87
  "leaflet": "1.7.1",
82
- "react": "^17.0.1",
88
+ "react": "^18.1.0",
83
89
  "react-datepicker": "4.6.0",
84
- "react-dom": "^17.0.1",
90
+ "react-dom": "^18.1.0",
85
91
  "react-schemaorg": "^2.0.0",
86
92
  "react-slick": "0.27.1",
87
93
  "schema-dts": "^1.0.0",
88
94
  "slick-carousel": "1.8.1",
89
- "styled-components": "^5.2.1"
95
+ "styled-components": "5.3.5"
90
96
  },
91
- "dependencies": {}
97
+ "dependencies": {},
98
+ "resolutions": {
99
+ "@types/react": "^18",
100
+ "@types/react-dom": "^18",
101
+ "styled-components": "^5",
102
+ "typescript": "^4"
103
+ }
92
104
  }
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- declare const ExclamationMark: React.FC<{
3
- iconColor?: string;
4
- className?: string;
5
- }>;
6
- export default ExclamationMark;
7
- //# sourceMappingURL=ExclamationMark.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExclamationMark.d.ts","sourceRoot":"","sources":["../../../../src/components/base/icons/ExclamationMark.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAkBzE,CAAC;AAEF,eAAe,eAAe,CAAC"}