@blateral/b.kit 2.3.0-beta.1.3 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (753) hide show
  1. package/lib/components/base/icons/Icons.d.ts +66 -0
  2. package/lib/components/base/icons/Icons.d.ts.map +1 -0
  3. package/{types → lib}/components/fields/FilterField.d.ts.map +1 -1
  4. package/lib/components/sections/NumberList.d.ts +36 -0
  5. package/lib/components/sections/NumberList.d.ts.map +1 -0
  6. package/{types → lib}/components/sections/header/Header.d.ts +3 -3
  7. package/lib/components/sections/header/Header.d.ts.map +1 -0
  8. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -0
  9. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -0
  10. package/{types → lib}/components/typography/Callout.d.ts +2 -2
  11. package/lib/components/typography/Callout.d.ts.map +1 -0
  12. package/lib/index.d.ts +158 -0
  13. package/lib/index.d.ts.map +1 -0
  14. package/lib/index.es.js +2 -0
  15. package/lib/index.es.js.map +1 -0
  16. package/lib/index.js +2 -0
  17. package/lib/index.js.map +1 -0
  18. package/{types → lib}/utils/styles.d.ts +8 -1
  19. package/lib/utils/styles.d.ts.map +1 -0
  20. package/{types → lib}/utils/useEqualSheetHeight.d.ts +9 -2
  21. package/lib/utils/useEqualSheetHeight.d.ts.map +1 -0
  22. package/{types → lib}/utils/useMediaQuery.d.ts +4 -0
  23. package/{types → lib}/utils/useMediaQuery.d.ts.map +1 -1
  24. package/package.json +5 -19
  25. package/base/package.json +0 -7
  26. package/blocks/package.json +0 -7
  27. package/buttons/package.json +0 -7
  28. package/cjs/Actions-6dd616e0.js +0 -2
  29. package/cjs/Actions-6dd616e0.js.map +0 -1
  30. package/cjs/Bdot-d898ba3b.js +0 -2
  31. package/cjs/Bdot-d898ba3b.js.map +0 -1
  32. package/cjs/Button-72747f63.js +0 -2
  33. package/cjs/Button-72747f63.js.map +0 -1
  34. package/cjs/ButtonGhost-046437c5.js +0 -2
  35. package/cjs/ButtonGhost-046437c5.js.map +0 -1
  36. package/cjs/Callout-2713f870.js +0 -2
  37. package/cjs/Callout-2713f870.js.map +0 -1
  38. package/cjs/Checkbox-14000bf0.js +0 -2
  39. package/cjs/Checkbox-14000bf0.js.map +0 -1
  40. package/cjs/ClockFilled-2483aa4a.js +0 -2
  41. package/cjs/ClockFilled-2483aa4a.js.map +0 -1
  42. package/cjs/Control-eead1a4c.js +0 -2
  43. package/cjs/Control-eead1a4c.js.map +0 -1
  44. package/cjs/Copy-e860efe7.js +0 -2
  45. package/cjs/Copy-e860efe7.js.map +0 -1
  46. package/cjs/FilterField-497e998f.js +0 -2
  47. package/cjs/FilterField-497e998f.js.map +0 -1
  48. package/cjs/Image-d9681be0.js +0 -2
  49. package/cjs/Image-d9681be0.js.map +0 -1
  50. package/cjs/LanguageSwitcher-47e25e95.js +0 -2
  51. package/cjs/LanguageSwitcher-47e25e95.js.map +0 -1
  52. package/cjs/LibThemeProvider-fb99fd6d.js +0 -2
  53. package/cjs/LibThemeProvider-fb99fd6d.js.map +0 -1
  54. package/cjs/Link-70143bb7.js +0 -2
  55. package/cjs/Link-70143bb7.js.map +0 -1
  56. package/cjs/Navigation-3f5d6088.js +0 -2
  57. package/cjs/Navigation-3f5d6088.js.map +0 -1
  58. package/cjs/POICard-9911980e.js +0 -2
  59. package/cjs/POICard-9911980e.js.map +0 -1
  60. package/cjs/Pointer-3588eadf.js +0 -2
  61. package/cjs/Pointer-3588eadf.js.map +0 -1
  62. package/cjs/SocialList-da77e994.js +0 -2
  63. package/cjs/SocialList-da77e994.js.map +0 -1
  64. package/cjs/TableBlock-080c9c2e.js +0 -2
  65. package/cjs/TableBlock-080c9c2e.js.map +0 -1
  66. package/cjs/VideoCard-1fa209fc.js +0 -2
  67. package/cjs/VideoCard-1fa209fc.js.map +0 -1
  68. package/cjs/Wrapper-3b9c9e89.js +0 -2
  69. package/cjs/Wrapper-3b9c9e89.js.map +0 -1
  70. package/cjs/arrays-c272ed59.js +0 -2
  71. package/cjs/arrays-c272ed59.js.map +0 -1
  72. package/cjs/base.js +0 -2
  73. package/cjs/base.js.map +0 -1
  74. package/cjs/blocks.js +0 -2
  75. package/cjs/blocks.js.map +0 -1
  76. package/cjs/buttons.js +0 -2
  77. package/cjs/buttons.js.map +0 -1
  78. package/cjs/clamp-bd21d587.js +0 -2
  79. package/cjs/clamp-bd21d587.js.map +0 -1
  80. package/cjs/concat-f387d848.js +0 -2
  81. package/cjs/concat-f387d848.js.map +0 -1
  82. package/cjs/cookies.js +0 -2
  83. package/cjs/cookies.js.map +0 -1
  84. package/cjs/fields.js +0 -2
  85. package/cjs/fields.js.map +0 -1
  86. package/cjs/footer.js +0 -2
  87. package/cjs/footer.js.map +0 -1
  88. package/cjs/hexRgbConverter-91b28aea.js +0 -2
  89. package/cjs/hexRgbConverter-91b28aea.js.map +0 -1
  90. package/cjs/hooks.js +0 -2
  91. package/cjs/hooks.js.map +0 -1
  92. package/cjs/icons.js +0 -2
  93. package/cjs/icons.js.map +0 -1
  94. package/cjs/index.js +0 -2
  95. package/cjs/index.js.map +0 -1
  96. package/cjs/navigation-bf154e6e.js +0 -2
  97. package/cjs/navigation-bf154e6e.js.map +0 -1
  98. package/cjs/navigation.js +0 -2
  99. package/cjs/navigation.js.map +0 -1
  100. package/cjs/sections.js +0 -2
  101. package/cjs/sections.js.map +0 -1
  102. package/cjs/sections_news.js +0 -2
  103. package/cjs/sections_news.js.map +0 -1
  104. package/cjs/statusFormatter-0393122b.js +0 -2
  105. package/cjs/statusFormatter-0393122b.js.map +0 -1
  106. package/cjs/styles-0f1a0aea.js +0 -2
  107. package/cjs/styles-0f1a0aea.js.map +0 -1
  108. package/cjs/typography.js +0 -2
  109. package/cjs/typography.js.map +0 -1
  110. package/cjs/urlParams-1d03b5a6.js +0 -2
  111. package/cjs/urlParams-1d03b5a6.js.map +0 -1
  112. package/cjs/useCookieConsent-0bf94751.js +0 -2
  113. package/cjs/useCookieConsent-0bf94751.js.map +0 -1
  114. package/cjs/useGeolocation-4d38150b.js +0 -2
  115. package/cjs/useGeolocation-4d38150b.js.map +0 -1
  116. package/cjs/useIE-aef9decc.js +0 -2
  117. package/cjs/useIE-aef9decc.js.map +0 -1
  118. package/cjs/useMediaQuery-d4f81f88.js +0 -2
  119. package/cjs/useMediaQuery-d4f81f88.js.map +0 -1
  120. package/cjs/useMounted-0bba9869.js +0 -2
  121. package/cjs/useMounted-0bba9869.js.map +0 -1
  122. package/cjs/useObserverSupport-5ab320dd.js +0 -2
  123. package/cjs/useObserverSupport-5ab320dd.js.map +0 -1
  124. package/cjs/useUpdateEffect-4d233e2c.js +0 -2
  125. package/cjs/useUpdateEffect-4d233e2c.js.map +0 -1
  126. package/cookies/package.json +0 -7
  127. package/esm/Actions-73e13c48.js +0 -57
  128. package/esm/Actions-73e13c48.js.map +0 -1
  129. package/esm/Bdot-30b047cc.js +0 -24
  130. package/esm/Bdot-30b047cc.js.map +0 -1
  131. package/esm/Button-678be396.js +0 -115
  132. package/esm/Button-678be396.js.map +0 -1
  133. package/esm/ButtonGhost-6673a07e.js +0 -112
  134. package/esm/ButtonGhost-6673a07e.js.map +0 -1
  135. package/esm/Callout-439308f6.js +0 -99
  136. package/esm/Callout-439308f6.js.map +0 -1
  137. package/esm/Checkbox-a365d733.js +0 -135
  138. package/esm/Checkbox-a365d733.js.map +0 -1
  139. package/esm/ClockFilled-8784ddac.js +0 -1793
  140. package/esm/ClockFilled-8784ddac.js.map +0 -1
  141. package/esm/Control-e61c9395.js +0 -52
  142. package/esm/Control-e61c9395.js.map +0 -1
  143. package/esm/Copy-3444d005.js +0 -270
  144. package/esm/Copy-3444d005.js.map +0 -1
  145. package/esm/FilterField-f423b4d1.js +0 -4907
  146. package/esm/FilterField-f423b4d1.js.map +0 -1
  147. package/esm/Image-82417953.js +0 -193
  148. package/esm/Image-82417953.js.map +0 -1
  149. package/esm/LanguageSwitcher-a53094d3.js +0 -70
  150. package/esm/LanguageSwitcher-a53094d3.js.map +0 -1
  151. package/esm/LibThemeProvider-90a5375f.js +0 -115
  152. package/esm/LibThemeProvider-90a5375f.js.map +0 -1
  153. package/esm/Link-ee8a48ed.js +0 -60
  154. package/esm/Link-ee8a48ed.js.map +0 -1
  155. package/esm/Navigation-ece0ff0d.js +0 -1664
  156. package/esm/Navigation-ece0ff0d.js.map +0 -1
  157. package/esm/POICard-d8832988.js +0 -917
  158. package/esm/POICard-d8832988.js.map +0 -1
  159. package/esm/Pointer-da4d0977.js +0 -111
  160. package/esm/Pointer-da4d0977.js.map +0 -1
  161. package/esm/SocialList-7c00c70e.js +0 -61
  162. package/esm/SocialList-7c00c70e.js.map +0 -1
  163. package/esm/TableBlock-0bbde956.js +0 -218
  164. package/esm/TableBlock-0bbde956.js.map +0 -1
  165. package/esm/VideoCard-2557407b.js +0 -187
  166. package/esm/VideoCard-2557407b.js.map +0 -1
  167. package/esm/Wrapper-f4a70e30.js +0 -420
  168. package/esm/Wrapper-f4a70e30.js.map +0 -1
  169. package/esm/arrays-65b644ef.js +0 -17
  170. package/esm/arrays-65b644ef.js.map +0 -1
  171. package/esm/base.js +0 -10
  172. package/esm/base.js.map +0 -1
  173. package/esm/blocks.js +0 -22
  174. package/esm/blocks.js.map +0 -1
  175. package/esm/buttons.js +0 -12
  176. package/esm/buttons.js.map +0 -1
  177. package/esm/clamp-12d37b65.js +0 -10
  178. package/esm/clamp-12d37b65.js.map +0 -1
  179. package/esm/concat-ab3c66f2.js +0 -40
  180. package/esm/concat-ab3c66f2.js.map +0 -1
  181. package/esm/cookies.js +0 -270
  182. package/esm/cookies.js.map +0 -1
  183. package/esm/fields.js +0 -187
  184. package/esm/fields.js.map +0 -1
  185. package/esm/footer.js +0 -300
  186. package/esm/footer.js.map +0 -1
  187. package/esm/hexRgbConverter-edb91624.js +0 -36
  188. package/esm/hexRgbConverter-edb91624.js.map +0 -1
  189. package/esm/hooks.js +0 -527
  190. package/esm/hooks.js.map +0 -1
  191. package/esm/icons.js +0 -4
  192. package/esm/icons.js.map +0 -1
  193. package/esm/index.js +0 -7
  194. package/esm/index.js.map +0 -1
  195. package/esm/navigation-49280321.js +0 -132
  196. package/esm/navigation-49280321.js.map +0 -1
  197. package/esm/navigation.js +0 -159
  198. package/esm/navigation.js.map +0 -1
  199. package/esm/sections.js +0 -7126
  200. package/esm/sections.js.map +0 -1
  201. package/esm/sections_news.js +0 -1018
  202. package/esm/sections_news.js.map +0 -1
  203. package/esm/statusFormatter-9be0fbff.js +0 -255
  204. package/esm/statusFormatter-9be0fbff.js.map +0 -1
  205. package/esm/styles-5f78e59d.js +0 -462
  206. package/esm/styles-5f78e59d.js.map +0 -1
  207. package/esm/typography.js +0 -11
  208. package/esm/typography.js.map +0 -1
  209. package/esm/urlParams-882563ce.js +0 -297
  210. package/esm/urlParams-882563ce.js.map +0 -1
  211. package/esm/useCookieConsent-db86e5cb.js +0 -339
  212. package/esm/useCookieConsent-db86e5cb.js.map +0 -1
  213. package/esm/useGeolocation-c81e3efc.js +0 -471
  214. package/esm/useGeolocation-c81e3efc.js.map +0 -1
  215. package/esm/useIE-a9c56989.js +0 -15
  216. package/esm/useIE-a9c56989.js.map +0 -1
  217. package/esm/useMediaQuery-43629cbb.js +0 -109
  218. package/esm/useMediaQuery-43629cbb.js.map +0 -1
  219. package/esm/useMounted-1e4cc87b.js +0 -12
  220. package/esm/useMounted-1e4cc87b.js.map +0 -1
  221. package/esm/useObserverSupport-02bce7f5.js +0 -19
  222. package/esm/useObserverSupport-02bce7f5.js.map +0 -1
  223. package/esm/useUpdateEffect-824c0c84.js +0 -18
  224. package/esm/useUpdateEffect-824c0c84.js.map +0 -1
  225. package/fields/package.json +0 -7
  226. package/footer/package.json +0 -7
  227. package/hooks/package.json +0 -7
  228. package/icons/package.json +0 -7
  229. package/navigation/package.json +0 -7
  230. package/sections/news/package.json +0 -7
  231. package/sections/package.json +0 -7
  232. package/types/base.d.ts +0 -5
  233. package/types/base.d.ts.map +0 -1
  234. package/types/blocks.d.ts +0 -18
  235. package/types/blocks.d.ts.map +0 -1
  236. package/types/buttons.d.ts +0 -6
  237. package/types/buttons.d.ts.map +0 -1
  238. package/types/components/sections/NumberList.d.ts +0 -31
  239. package/types/components/sections/NumberList.d.ts.map +0 -1
  240. package/types/components/sections/header/Header.d.ts.map +0 -1
  241. package/types/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +0 -1
  242. package/types/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +0 -1
  243. package/types/components/typography/Callout.d.ts.map +0 -1
  244. package/types/cookies.d.ts +0 -3
  245. package/types/cookies.d.ts.map +0 -1
  246. package/types/fields.d.ts +0 -14
  247. package/types/fields.d.ts.map +0 -1
  248. package/types/footer.d.ts +0 -4
  249. package/types/footer.d.ts.map +0 -1
  250. package/types/hooks.d.ts +0 -35
  251. package/types/hooks.d.ts.map +0 -1
  252. package/types/icons.d.ts +0 -66
  253. package/types/icons.d.ts.map +0 -1
  254. package/types/index.d.ts +0 -18
  255. package/types/index.d.ts.map +0 -1
  256. package/types/navigation.d.ts +0 -10
  257. package/types/navigation.d.ts.map +0 -1
  258. package/types/sections.d.ts +0 -42
  259. package/types/sections.d.ts.map +0 -1
  260. package/types/sections_news.d.ts +0 -10
  261. package/types/sections_news.d.ts.map +0 -1
  262. package/types/typography.d.ts +0 -6
  263. package/types/typography.d.ts.map +0 -1
  264. package/types/utils/styles.d.ts.map +0 -1
  265. package/types/utils/useEqualSheetHeight.d.ts.map +0 -1
  266. package/typography/package.json +0 -7
  267. /package/{types → lib}/components/base/Grid.d.ts +0 -0
  268. /package/{types → lib}/components/base/Grid.d.ts.map +0 -0
  269. /package/{types → lib}/components/base/Section.d.ts +0 -0
  270. /package/{types → lib}/components/base/Section.d.ts.map +0 -0
  271. /package/{types → lib}/components/base/Wrapper.d.ts +0 -0
  272. /package/{types → lib}/components/base/Wrapper.d.ts.map +0 -0
  273. /package/{types → lib}/components/base/icons/AngleDown.d.ts +0 -0
  274. /package/{types → lib}/components/base/icons/AngleDown.d.ts.map +0 -0
  275. /package/{types → lib}/components/base/icons/AngleLeft.d.ts +0 -0
  276. /package/{types → lib}/components/base/icons/AngleLeft.d.ts.map +0 -0
  277. /package/{types → lib}/components/base/icons/AngleRight.d.ts +0 -0
  278. /package/{types → lib}/components/base/icons/AngleRight.d.ts.map +0 -0
  279. /package/{types → lib}/components/base/icons/AngleUp.d.ts +0 -0
  280. /package/{types → lib}/components/base/icons/AngleUp.d.ts.map +0 -0
  281. /package/{types → lib}/components/base/icons/ArrowDown.d.ts +0 -0
  282. /package/{types → lib}/components/base/icons/ArrowDown.d.ts.map +0 -0
  283. /package/{types → lib}/components/base/icons/ArrowLeft.d.ts +0 -0
  284. /package/{types → lib}/components/base/icons/ArrowLeft.d.ts.map +0 -0
  285. /package/{types → lib}/components/base/icons/ArrowLeftGhost.d.ts +0 -0
  286. /package/{types → lib}/components/base/icons/ArrowLeftGhost.d.ts.map +0 -0
  287. /package/{types → lib}/components/base/icons/ArrowLeftRight.d.ts +0 -0
  288. /package/{types → lib}/components/base/icons/ArrowLeftRight.d.ts.map +0 -0
  289. /package/{types → lib}/components/base/icons/ArrowRight.d.ts +0 -0
  290. /package/{types → lib}/components/base/icons/ArrowRight.d.ts.map +0 -0
  291. /package/{types → lib}/components/base/icons/ArrowRightGhost.d.ts +0 -0
  292. /package/{types → lib}/components/base/icons/ArrowRightGhost.d.ts.map +0 -0
  293. /package/{types → lib}/components/base/icons/ArrowUp.d.ts +0 -0
  294. /package/{types → lib}/components/base/icons/ArrowUp.d.ts.map +0 -0
  295. /package/{types → lib}/components/base/icons/BoxArrowUpRight.d.ts +0 -0
  296. /package/{types → lib}/components/base/icons/BoxArrowUpRight.d.ts.map +0 -0
  297. /package/{types → lib}/components/base/icons/CalendarToday.d.ts +0 -0
  298. /package/{types → lib}/components/base/icons/CalendarToday.d.ts.map +0 -0
  299. /package/{types → lib}/components/base/icons/Category.d.ts +0 -0
  300. /package/{types → lib}/components/base/icons/Category.d.ts.map +0 -0
  301. /package/{types → lib}/components/base/icons/Check.d.ts +0 -0
  302. /package/{types → lib}/components/base/icons/Check.d.ts.map +0 -0
  303. /package/{types → lib}/components/base/icons/Clock.d.ts +0 -0
  304. /package/{types → lib}/components/base/icons/Clock.d.ts.map +0 -0
  305. /package/{types → lib}/components/base/icons/ClockFilled.d.ts +0 -0
  306. /package/{types → lib}/components/base/icons/ClockFilled.d.ts.map +0 -0
  307. /package/{types → lib}/components/base/icons/Computer.d.ts +0 -0
  308. /package/{types → lib}/components/base/icons/Computer.d.ts.map +0 -0
  309. /package/{types → lib}/components/base/icons/Cross.d.ts +0 -0
  310. /package/{types → lib}/components/base/icons/Cross.d.ts.map +0 -0
  311. /package/{types → lib}/components/base/icons/CrossSmall.d.ts +0 -0
  312. /package/{types → lib}/components/base/icons/CrossSmall.d.ts.map +0 -0
  313. /package/{types → lib}/components/base/icons/CurrentLocation.d.ts +0 -0
  314. /package/{types → lib}/components/base/icons/CurrentLocation.d.ts.map +0 -0
  315. /package/{types → lib}/components/base/icons/DateRange.d.ts +0 -0
  316. /package/{types → lib}/components/base/icons/DateRange.d.ts.map +0 -0
  317. /package/{types → lib}/components/base/icons/DeleteForever.d.ts +0 -0
  318. /package/{types → lib}/components/base/icons/DeleteForever.d.ts.map +0 -0
  319. /package/{types → lib}/components/base/icons/External.d.ts +0 -0
  320. /package/{types → lib}/components/base/icons/External.d.ts.map +0 -0
  321. /package/{types → lib}/components/base/icons/Filter.d.ts +0 -0
  322. /package/{types → lib}/components/base/icons/Filter.d.ts.map +0 -0
  323. /package/{types → lib}/components/base/icons/FlyTo.d.ts +0 -0
  324. /package/{types → lib}/components/base/icons/FlyTo.d.ts.map +0 -0
  325. /package/{types → lib}/components/base/icons/Info.d.ts +0 -0
  326. /package/{types → lib}/components/base/icons/Info.d.ts.map +0 -0
  327. /package/{types → lib}/components/base/icons/Language.d.ts +0 -0
  328. /package/{types → lib}/components/base/icons/Language.d.ts.map +0 -0
  329. /package/{types → lib}/components/base/icons/LocationPin.d.ts +0 -0
  330. /package/{types → lib}/components/base/icons/LocationPin.d.ts.map +0 -0
  331. /package/{types → lib}/components/base/icons/LocationSearch.d.ts +0 -0
  332. /package/{types → lib}/components/base/icons/LocationSearch.d.ts.map +0 -0
  333. /package/{types → lib}/components/base/icons/Magnifier.d.ts +0 -0
  334. /package/{types → lib}/components/base/icons/Magnifier.d.ts.map +0 -0
  335. /package/{types → lib}/components/base/icons/Mail.d.ts +0 -0
  336. /package/{types → lib}/components/base/icons/Mail.d.ts.map +0 -0
  337. /package/{types → lib}/components/base/icons/Map.d.ts +0 -0
  338. /package/{types → lib}/components/base/icons/Map.d.ts.map +0 -0
  339. /package/{types → lib}/components/base/icons/MenuBurger.d.ts +0 -0
  340. /package/{types → lib}/components/base/icons/MenuBurger.d.ts.map +0 -0
  341. /package/{types → lib}/components/base/icons/Minus.d.ts +0 -0
  342. /package/{types → lib}/components/base/icons/Minus.d.ts.map +0 -0
  343. /package/{types → lib}/components/base/icons/Money.d.ts +0 -0
  344. /package/{types → lib}/components/base/icons/Money.d.ts.map +0 -0
  345. /package/{types → lib}/components/base/icons/MyLocation.d.ts +0 -0
  346. /package/{types → lib}/components/base/icons/MyLocation.d.ts.map +0 -0
  347. /package/{types → lib}/components/base/icons/Person.d.ts +0 -0
  348. /package/{types → lib}/components/base/icons/Person.d.ts.map +0 -0
  349. /package/{types → lib}/components/base/icons/Phone.d.ts +0 -0
  350. /package/{types → lib}/components/base/icons/Phone.d.ts.map +0 -0
  351. /package/{types → lib}/components/base/icons/Place.d.ts +0 -0
  352. /package/{types → lib}/components/base/icons/Place.d.ts.map +0 -0
  353. /package/{types → lib}/components/base/icons/Play.d.ts +0 -0
  354. /package/{types → lib}/components/base/icons/Play.d.ts.map +0 -0
  355. /package/{types → lib}/components/base/icons/Plus.d.ts +0 -0
  356. /package/{types → lib}/components/base/icons/Plus.d.ts.map +0 -0
  357. /package/{types → lib}/components/base/icons/Route.d.ts +0 -0
  358. /package/{types → lib}/components/base/icons/Route.d.ts.map +0 -0
  359. /package/{types → lib}/components/base/icons/Star.d.ts +0 -0
  360. /package/{types → lib}/components/base/icons/Star.d.ts.map +0 -0
  361. /package/{types → lib}/components/base/icons/ToggleOff.d.ts +0 -0
  362. /package/{types → lib}/components/base/icons/ToggleOff.d.ts.map +0 -0
  363. /package/{types → lib}/components/base/icons/ToggleOn.d.ts +0 -0
  364. /package/{types → lib}/components/base/icons/ToggleOn.d.ts.map +0 -0
  365. /package/{types → lib}/components/base/icons/UnfoldMore.d.ts +0 -0
  366. /package/{types → lib}/components/base/icons/UnfoldMore.d.ts.map +0 -0
  367. /package/{types → lib}/components/base/icons/files/Excel.d.ts +0 -0
  368. /package/{types → lib}/components/base/icons/files/Excel.d.ts.map +0 -0
  369. /package/{types → lib}/components/base/icons/files/Image.d.ts +0 -0
  370. /package/{types → lib}/components/base/icons/files/Image.d.ts.map +0 -0
  371. /package/{types → lib}/components/base/icons/files/Pdf.d.ts +0 -0
  372. /package/{types → lib}/components/base/icons/files/Pdf.d.ts.map +0 -0
  373. /package/{types → lib}/components/base/icons/files/PowerPoint.d.ts +0 -0
  374. /package/{types → lib}/components/base/icons/files/PowerPoint.d.ts.map +0 -0
  375. /package/{types → lib}/components/base/icons/files/UploadFile.d.ts +0 -0
  376. /package/{types → lib}/components/base/icons/files/UploadFile.d.ts.map +0 -0
  377. /package/{types → lib}/components/base/icons/files/Word.d.ts +0 -0
  378. /package/{types → lib}/components/base/icons/files/Word.d.ts.map +0 -0
  379. /package/{types → lib}/components/base/icons/files/Zip.d.ts +0 -0
  380. /package/{types → lib}/components/base/icons/files/Zip.d.ts.map +0 -0
  381. /package/{types → lib}/components/base/icons/socials/Facebook.d.ts +0 -0
  382. /package/{types → lib}/components/base/icons/socials/Facebook.d.ts.map +0 -0
  383. /package/{types → lib}/components/base/icons/socials/Instagram.d.ts +0 -0
  384. /package/{types → lib}/components/base/icons/socials/Instagram.d.ts.map +0 -0
  385. /package/{types → lib}/components/base/icons/socials/LinkedIn.d.ts +0 -0
  386. /package/{types → lib}/components/base/icons/socials/LinkedIn.d.ts.map +0 -0
  387. /package/{types → lib}/components/base/icons/socials/Twitter.d.ts +0 -0
  388. /package/{types → lib}/components/base/icons/socials/Twitter.d.ts.map +0 -0
  389. /package/{types → lib}/components/base/icons/socials/Xing.d.ts +0 -0
  390. /package/{types → lib}/components/base/icons/socials/Xing.d.ts.map +0 -0
  391. /package/{types → lib}/components/base/icons/socials/Youtube.d.ts +0 -0
  392. /package/{types → lib}/components/base/icons/socials/Youtube.d.ts.map +0 -0
  393. /package/{types → lib}/components/base/nl2br.d.ts +0 -0
  394. /package/{types → lib}/components/base/nl2br.d.ts.map +0 -0
  395. /package/{types → lib}/components/blocks/Actions.d.ts +0 -0
  396. /package/{types → lib}/components/blocks/Actions.d.ts.map +0 -0
  397. /package/{types → lib}/components/blocks/Alert.d.ts +0 -0
  398. /package/{types → lib}/components/blocks/Alert.d.ts.map +0 -0
  399. /package/{types → lib}/components/blocks/Bdot.d.ts +0 -0
  400. /package/{types → lib}/components/blocks/Bdot.d.ts.map +0 -0
  401. /package/{types → lib}/components/blocks/CookieConsent.d.ts +0 -0
  402. /package/{types → lib}/components/blocks/CookieConsent.d.ts.map +0 -0
  403. /package/{types → lib}/components/blocks/EventBlock.d.ts +0 -0
  404. /package/{types → lib}/components/blocks/EventBlock.d.ts.map +0 -0
  405. /package/{types → lib}/components/blocks/Fact.d.ts +0 -0
  406. /package/{types → lib}/components/blocks/Fact.d.ts.map +0 -0
  407. /package/{types → lib}/components/blocks/Feature.d.ts +0 -0
  408. /package/{types → lib}/components/blocks/Feature.d.ts.map +0 -0
  409. /package/{types → lib}/components/blocks/Image.d.ts +0 -0
  410. /package/{types → lib}/components/blocks/Image.d.ts.map +0 -0
  411. /package/{types → lib}/components/blocks/InfoList.d.ts +0 -0
  412. /package/{types → lib}/components/blocks/InfoList.d.ts.map +0 -0
  413. /package/{types → lib}/components/blocks/IntroBlock.d.ts +0 -0
  414. /package/{types → lib}/components/blocks/IntroBlock.d.ts.map +0 -0
  415. /package/{types → lib}/components/blocks/JobCard.d.ts +0 -0
  416. /package/{types → lib}/components/blocks/JobCard.d.ts.map +0 -0
  417. /package/{types → lib}/components/blocks/LanguageSwitcher.d.ts +0 -0
  418. /package/{types → lib}/components/blocks/LanguageSwitcher.d.ts.map +0 -0
  419. /package/{types → lib}/components/blocks/NavBlock.d.ts +0 -0
  420. /package/{types → lib}/components/blocks/NavBlock.d.ts.map +0 -0
  421. /package/{types → lib}/components/blocks/NewsCard.d.ts +0 -0
  422. /package/{types → lib}/components/blocks/NewsCard.d.ts.map +0 -0
  423. /package/{types → lib}/components/blocks/POICard.d.ts +0 -0
  424. /package/{types → lib}/components/blocks/POICard.d.ts.map +0 -0
  425. /package/{types → lib}/components/blocks/POIFacts.d.ts +0 -0
  426. /package/{types → lib}/components/blocks/POIFacts.d.ts.map +0 -0
  427. /package/{types → lib}/components/blocks/PriceTag.d.ts +0 -0
  428. /package/{types → lib}/components/blocks/PriceTag.d.ts.map +0 -0
  429. /package/{types → lib}/components/blocks/PromotionCard.d.ts +0 -0
  430. /package/{types → lib}/components/blocks/PromotionCard.d.ts.map +0 -0
  431. /package/{types → lib}/components/blocks/SocialList.d.ts +0 -0
  432. /package/{types → lib}/components/blocks/SocialList.d.ts.map +0 -0
  433. /package/{types → lib}/components/blocks/TableBlock.d.ts +0 -0
  434. /package/{types → lib}/components/blocks/TableBlock.d.ts.map +0 -0
  435. /package/{types → lib}/components/blocks/Tag.d.ts +0 -0
  436. /package/{types → lib}/components/blocks/Tag.d.ts.map +0 -0
  437. /package/{types → lib}/components/blocks/Title.d.ts +0 -0
  438. /package/{types → lib}/components/blocks/Title.d.ts.map +0 -0
  439. /package/{types → lib}/components/blocks/VideoBlock.d.ts +0 -0
  440. /package/{types → lib}/components/blocks/VideoBlock.d.ts.map +0 -0
  441. /package/{types → lib}/components/blocks/VideoCard.d.ts +0 -0
  442. /package/{types → lib}/components/blocks/VideoCard.d.ts.map +0 -0
  443. /package/{types → lib}/components/buttons/Button.d.ts +0 -0
  444. /package/{types → lib}/components/buttons/Button.d.ts.map +0 -0
  445. /package/{types → lib}/components/buttons/ButtonGhost.d.ts +0 -0
  446. /package/{types → lib}/components/buttons/ButtonGhost.d.ts.map +0 -0
  447. /package/{types → lib}/components/buttons/Control.d.ts +0 -0
  448. /package/{types → lib}/components/buttons/Control.d.ts.map +0 -0
  449. /package/{types → lib}/components/buttons/Pointer.d.ts +0 -0
  450. /package/{types → lib}/components/buttons/Pointer.d.ts.map +0 -0
  451. /package/{types → lib}/components/debug/DebugLines.d.ts +0 -0
  452. /package/{types → lib}/components/debug/DebugLines.d.ts.map +0 -0
  453. /package/{types → lib}/components/examples/hooks/ArrayHookExample.d.ts +0 -0
  454. /package/{types → lib}/components/examples/hooks/ArrayHookExample.d.ts.map +0 -0
  455. /package/{types → lib}/components/examples/hooks/IntervalHookExample.d.ts +0 -0
  456. /package/{types → lib}/components/examples/hooks/IntervalHookExample.d.ts.map +0 -0
  457. /package/{types → lib}/components/fields/Checkbox.d.ts +0 -0
  458. /package/{types → lib}/components/fields/Checkbox.d.ts.map +0 -0
  459. /package/{types → lib}/components/fields/CompactForm.d.ts +0 -0
  460. /package/{types → lib}/components/fields/CompactForm.d.ts.map +0 -0
  461. /package/{types → lib}/components/fields/Datepicker.d.ts +0 -0
  462. /package/{types → lib}/components/fields/Datepicker.d.ts.map +0 -0
  463. /package/{types → lib}/components/fields/FileUpload.d.ts +0 -0
  464. /package/{types → lib}/components/fields/FileUpload.d.ts.map +0 -0
  465. /package/{types → lib}/components/fields/FilterField.d.ts +0 -0
  466. /package/{types → lib}/components/fields/FormField.d.ts +0 -0
  467. /package/{types → lib}/components/fields/FormField.d.ts.map +0 -0
  468. /package/{types → lib}/components/fields/LocationField.d.ts +0 -0
  469. /package/{types → lib}/components/fields/LocationField.d.ts.map +0 -0
  470. /package/{types → lib}/components/fields/Radio.d.ts +0 -0
  471. /package/{types → lib}/components/fields/Radio.d.ts.map +0 -0
  472. /package/{types → lib}/components/fields/SearchInput.d.ts +0 -0
  473. /package/{types → lib}/components/fields/SearchInput.d.ts.map +0 -0
  474. /package/{types → lib}/components/fields/SelectDropdown.d.ts +0 -0
  475. /package/{types → lib}/components/fields/SelectDropdown.d.ts.map +0 -0
  476. /package/{types → lib}/components/fields/Textarea.d.ts +0 -0
  477. /package/{types → lib}/components/fields/Textarea.d.ts.map +0 -0
  478. /package/{types → lib}/components/fields/Textfield.d.ts +0 -0
  479. /package/{types → lib}/components/fields/Textfield.d.ts.map +0 -0
  480. /package/{types → lib}/components/sections/Accordion.d.ts +0 -0
  481. /package/{types → lib}/components/sections/Accordion.d.ts.map +0 -0
  482. /package/{types → lib}/components/sections/AlertList.d.ts +0 -0
  483. /package/{types → lib}/components/sections/AlertList.d.ts.map +0 -0
  484. /package/{types → lib}/components/sections/Article.d.ts +0 -0
  485. /package/{types → lib}/components/sections/Article.d.ts.map +0 -0
  486. /package/{types → lib}/components/sections/CallToAction.d.ts +0 -0
  487. /package/{types → lib}/components/sections/CallToAction.d.ts.map +0 -0
  488. /package/{types → lib}/components/sections/CardList.d.ts +0 -0
  489. /package/{types → lib}/components/sections/CardList.d.ts.map +0 -0
  490. /package/{types → lib}/components/sections/ComparisonSlider.d.ts +0 -0
  491. /package/{types → lib}/components/sections/ComparisonSlider.d.ts.map +0 -0
  492. /package/{types → lib}/components/sections/CrossPromotion.d.ts +0 -0
  493. /package/{types → lib}/components/sections/CrossPromotion.d.ts.map +0 -0
  494. /package/{types → lib}/components/sections/FactGrid.d.ts +0 -0
  495. /package/{types → lib}/components/sections/FactGrid.d.ts.map +0 -0
  496. /package/{types → lib}/components/sections/FactList.d.ts +0 -0
  497. /package/{types → lib}/components/sections/FactList.d.ts.map +0 -0
  498. /package/{types → lib}/components/sections/FeatureList.d.ts +0 -0
  499. /package/{types → lib}/components/sections/FeatureList.d.ts.map +0 -0
  500. /package/{types → lib}/components/sections/Gallery.d.ts +0 -0
  501. /package/{types → lib}/components/sections/Gallery.d.ts.map +0 -0
  502. /package/{types → lib}/components/sections/IconList.d.ts +0 -0
  503. /package/{types → lib}/components/sections/IconList.d.ts.map +0 -0
  504. /package/{types → lib}/components/sections/IndexList.d.ts +0 -0
  505. /package/{types → lib}/components/sections/IndexList.d.ts.map +0 -0
  506. /package/{types → lib}/components/sections/Intro.d.ts +0 -0
  507. /package/{types → lib}/components/sections/Intro.d.ts.map +0 -0
  508. /package/{types → lib}/components/sections/Map.d.ts +0 -0
  509. /package/{types → lib}/components/sections/Map.d.ts.map +0 -0
  510. /package/{types → lib}/components/sections/NavList.d.ts +0 -0
  511. /package/{types → lib}/components/sections/NavList.d.ts.map +0 -0
  512. /package/{types → lib}/components/sections/NewsletterForm.d.ts +0 -0
  513. /package/{types → lib}/components/sections/NewsletterForm.d.ts.map +0 -0
  514. /package/{types → lib}/components/sections/ParallaxBackground.d.ts +0 -0
  515. /package/{types → lib}/components/sections/ParallaxBackground.d.ts.map +0 -0
  516. /package/{types → lib}/components/sections/Poster.d.ts +0 -0
  517. /package/{types → lib}/components/sections/Poster.d.ts.map +0 -0
  518. /package/{types → lib}/components/sections/PriceList.d.ts +0 -0
  519. /package/{types → lib}/components/sections/PriceList.d.ts.map +0 -0
  520. /package/{types → lib}/components/sections/PriceTable.d.ts +0 -0
  521. /package/{types → lib}/components/sections/PriceTable.d.ts.map +0 -0
  522. /package/{types → lib}/components/sections/Quote.d.ts +0 -0
  523. /package/{types → lib}/components/sections/Quote.d.ts.map +0 -0
  524. /package/{types → lib}/components/sections/RawVideo.d.ts +0 -0
  525. /package/{types → lib}/components/sections/RawVideo.d.ts.map +0 -0
  526. /package/{types → lib}/components/sections/SimpleImage.d.ts +0 -0
  527. /package/{types → lib}/components/sections/SimpleImage.d.ts.map +0 -0
  528. /package/{types → lib}/components/sections/SocialWall.d.ts +0 -0
  529. /package/{types → lib}/components/sections/SocialWall.d.ts.map +0 -0
  530. /package/{types → lib}/components/sections/Table.d.ts +0 -0
  531. /package/{types → lib}/components/sections/Table.d.ts.map +0 -0
  532. /package/{types → lib}/components/sections/Teaser.d.ts +0 -0
  533. /package/{types → lib}/components/sections/Teaser.d.ts.map +0 -0
  534. /package/{types → lib}/components/sections/TeaserWide.d.ts +0 -0
  535. /package/{types → lib}/components/sections/TeaserWide.d.ts.map +0 -0
  536. /package/{types → lib}/components/sections/Timeline.d.ts +0 -0
  537. /package/{types → lib}/components/sections/Timeline.d.ts.map +0 -0
  538. /package/{types → lib}/components/sections/Video.d.ts +0 -0
  539. /package/{types → lib}/components/sections/Video.d.ts.map +0 -0
  540. /package/{types → lib}/components/sections/events/EventDetail.d.ts +0 -0
  541. /package/{types → lib}/components/sections/events/EventDetail.d.ts.map +0 -0
  542. /package/{types → lib}/components/sections/events/EventList.d.ts +0 -0
  543. /package/{types → lib}/components/sections/events/EventList.d.ts.map +0 -0
  544. /package/{types → lib}/components/sections/events/EventOverview.d.ts +0 -0
  545. /package/{types → lib}/components/sections/events/EventOverview.d.ts.map +0 -0
  546. /package/{types → lib}/components/sections/footer/Footer.d.ts +0 -0
  547. /package/{types → lib}/components/sections/footer/Footer.d.ts.map +0 -0
  548. /package/{types → lib}/components/sections/footer/partials/FooterBottomBar.d.ts +0 -0
  549. /package/{types → lib}/components/sections/footer/partials/FooterBottomBar.d.ts.map +0 -0
  550. /package/{types → lib}/components/sections/footer/partials/FooterColumn.d.ts +0 -0
  551. /package/{types → lib}/components/sections/footer/partials/FooterColumn.d.ts.map +0 -0
  552. /package/{types → lib}/components/sections/footer/partials/index.d.ts +0 -0
  553. /package/{types → lib}/components/sections/footer/partials/index.d.ts.map +0 -0
  554. /package/{types → lib}/components/sections/footer/skeletons/FooterArticle.d.ts +0 -0
  555. /package/{types → lib}/components/sections/footer/skeletons/FooterArticle.d.ts.map +0 -0
  556. /package/{types → lib}/components/sections/footer/skeletons/FooterBottomGrid.d.ts +0 -0
  557. /package/{types → lib}/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +0 -0
  558. /package/{types → lib}/components/sections/footer/skeletons/index.d.ts +0 -0
  559. /package/{types → lib}/components/sections/footer/skeletons/index.d.ts.map +0 -0
  560. /package/{types → lib}/components/sections/form/DynamicForm.d.ts +0 -0
  561. /package/{types → lib}/components/sections/form/DynamicForm.d.ts.map +0 -0
  562. /package/{types → lib}/components/sections/form/renderer/areaRenderer.d.ts +0 -0
  563. /package/{types → lib}/components/sections/form/renderer/areaRenderer.d.ts.map +0 -0
  564. /package/{types → lib}/components/sections/form/renderer/datepickerRenderer.d.ts +0 -0
  565. /package/{types → lib}/components/sections/form/renderer/datepickerRenderer.d.ts.map +0 -0
  566. /package/{types → lib}/components/sections/form/renderer/fieldGroupRenderer.d.ts +0 -0
  567. /package/{types → lib}/components/sections/form/renderer/fieldGroupRenderer.d.ts.map +0 -0
  568. /package/{types → lib}/components/sections/form/renderer/fieldRenderer.d.ts +0 -0
  569. /package/{types → lib}/components/sections/form/renderer/fieldRenderer.d.ts.map +0 -0
  570. /package/{types → lib}/components/sections/form/renderer/locationRenderer.d.ts +0 -0
  571. /package/{types → lib}/components/sections/form/renderer/locationRenderer.d.ts.map +0 -0
  572. /package/{types → lib}/components/sections/form/renderer/selectRenderer.d.ts +0 -0
  573. /package/{types → lib}/components/sections/form/renderer/selectRenderer.d.ts.map +0 -0
  574. /package/{types → lib}/components/sections/form/renderer/uploadRenderer.d.ts +0 -0
  575. /package/{types → lib}/components/sections/form/renderer/uploadRenderer.d.ts.map +0 -0
  576. /package/{types → lib}/components/sections/form/validators/areaValidator.d.ts +0 -0
  577. /package/{types → lib}/components/sections/form/validators/areaValidator.d.ts.map +0 -0
  578. /package/{types → lib}/components/sections/form/validators/datepickerValidator.d.ts +0 -0
  579. /package/{types → lib}/components/sections/form/validators/datepickerValidator.d.ts.map +0 -0
  580. /package/{types → lib}/components/sections/form/validators/fieldGroupValidator.d.ts +0 -0
  581. /package/{types → lib}/components/sections/form/validators/fieldGroupValidator.d.ts.map +0 -0
  582. /package/{types → lib}/components/sections/form/validators/fieldValidator.d.ts +0 -0
  583. /package/{types → lib}/components/sections/form/validators/fieldValidator.d.ts.map +0 -0
  584. /package/{types → lib}/components/sections/form/validators/locationValidator.d.ts +0 -0
  585. /package/{types → lib}/components/sections/form/validators/locationValidator.d.ts.map +0 -0
  586. /package/{types → lib}/components/sections/form/validators/selectValidator.d.ts +0 -0
  587. /package/{types → lib}/components/sections/form/validators/selectValidator.d.ts.map +0 -0
  588. /package/{types → lib}/components/sections/form/validators/uploadValidator.d.ts +0 -0
  589. /package/{types → lib}/components/sections/form/validators/uploadValidator.d.ts.map +0 -0
  590. /package/{types → lib}/components/sections/header/HeaderKenBurns.d.ts +0 -0
  591. /package/{types → lib}/components/sections/header/HeaderKenBurns.d.ts.map +0 -0
  592. /package/{types → lib}/components/sections/header/HeaderPoster.d.ts +0 -0
  593. /package/{types → lib}/components/sections/header/HeaderPoster.d.ts.map +0 -0
  594. /package/{types → lib}/components/sections/header/HeaderVideo.d.ts +0 -0
  595. /package/{types → lib}/components/sections/header/HeaderVideo.d.ts.map +0 -0
  596. /package/{types → lib}/components/sections/jobs/JobArticle.d.ts +0 -0
  597. /package/{types → lib}/components/sections/jobs/JobArticle.d.ts.map +0 -0
  598. /package/{types → lib}/components/sections/jobs/JobList.d.ts +0 -0
  599. /package/{types → lib}/components/sections/jobs/JobList.d.ts.map +0 -0
  600. /package/{types → lib}/components/sections/navigation/NavBar.d.ts +0 -0
  601. /package/{types → lib}/components/sections/navigation/NavBar.d.ts.map +0 -0
  602. /package/{types → lib}/components/sections/navigation/Navigation.d.ts +0 -0
  603. /package/{types → lib}/components/sections/navigation/Navigation.d.ts.map +0 -0
  604. /package/{types → lib}/components/sections/navigation/menu/Menu.d.ts +0 -0
  605. /package/{types → lib}/components/sections/navigation/menu/Menu.d.ts.map +0 -0
  606. /package/{types → lib}/components/sections/navigation/menu/variations/MenuFlyout.d.ts +0 -0
  607. /package/{types → lib}/components/sections/navigation/menu/variations/MenuLarge.d.ts +0 -0
  608. /package/{types → lib}/components/sections/navigation/partials/MenuFooter.d.ts +0 -0
  609. /package/{types → lib}/components/sections/navigation/partials/MenuFooter.d.ts.map +0 -0
  610. /package/{types → lib}/components/sections/navigation/partials/MenuHeader.d.ts +0 -0
  611. /package/{types → lib}/components/sections/navigation/partials/MenuHeader.d.ts.map +0 -0
  612. /package/{types → lib}/components/sections/navigation/partials/NavBarBottom.d.ts +0 -0
  613. /package/{types → lib}/components/sections/navigation/partials/NavBarBottom.d.ts.map +0 -0
  614. /package/{types → lib}/components/sections/navigation/partials/NavBarMain.d.ts +0 -0
  615. /package/{types → lib}/components/sections/navigation/partials/NavBarMain.d.ts.map +0 -0
  616. /package/{types → lib}/components/sections/navigation/partials/NavBarTop.d.ts +0 -0
  617. /package/{types → lib}/components/sections/navigation/partials/NavBarTop.d.ts.map +0 -0
  618. /package/{types → lib}/components/sections/navigation/partials/index.d.ts +0 -0
  619. /package/{types → lib}/components/sections/navigation/partials/index.d.ts.map +0 -0
  620. /package/{types → lib}/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts +0 -0
  621. /package/{types → lib}/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +0 -0
  622. /package/{types → lib}/components/sections/navigation/skeletons/BarColumn.d.ts +0 -0
  623. /package/{types → lib}/components/sections/navigation/skeletons/BarColumn.d.ts.map +0 -0
  624. /package/{types → lib}/components/sections/navigation/skeletons/BarLogo.d.ts +0 -0
  625. /package/{types → lib}/components/sections/navigation/skeletons/BarLogo.d.ts.map +0 -0
  626. /package/{types → lib}/components/sections/navigation/skeletons/BarMenuToggle.d.ts +0 -0
  627. /package/{types → lib}/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +0 -0
  628. /package/{types → lib}/components/sections/navigation/skeletons/BarNavList.d.ts +0 -0
  629. /package/{types → lib}/components/sections/navigation/skeletons/BarNavList.d.ts.map +0 -0
  630. /package/{types → lib}/components/sections/navigation/skeletons/index.d.ts +0 -0
  631. /package/{types → lib}/components/sections/navigation/skeletons/index.d.ts.map +0 -0
  632. /package/{types → lib}/components/sections/news/NewsAuthorCard.d.ts +0 -0
  633. /package/{types → lib}/components/sections/news/NewsAuthorCard.d.ts.map +0 -0
  634. /package/{types → lib}/components/sections/news/NewsFooter.d.ts +0 -0
  635. /package/{types → lib}/components/sections/news/NewsFooter.d.ts.map +0 -0
  636. /package/{types → lib}/components/sections/news/NewsImages.d.ts +0 -0
  637. /package/{types → lib}/components/sections/news/NewsImages.d.ts.map +0 -0
  638. /package/{types → lib}/components/sections/news/NewsIntro.d.ts +0 -0
  639. /package/{types → lib}/components/sections/news/NewsIntro.d.ts.map +0 -0
  640. /package/{types → lib}/components/sections/news/NewsList.d.ts +0 -0
  641. /package/{types → lib}/components/sections/news/NewsList.d.ts.map +0 -0
  642. /package/{types → lib}/components/sections/news/NewsOverview.d.ts +0 -0
  643. /package/{types → lib}/components/sections/news/NewsOverview.d.ts.map +0 -0
  644. /package/{types → lib}/components/sections/news/NewsTable.d.ts +0 -0
  645. /package/{types → lib}/components/sections/news/NewsTable.d.ts.map +0 -0
  646. /package/{types → lib}/components/sections/news/NewsText.d.ts +0 -0
  647. /package/{types → lib}/components/sections/news/NewsText.d.ts.map +0 -0
  648. /package/{types → lib}/components/sections/news/NewsVideo.d.ts +0 -0
  649. /package/{types → lib}/components/sections/news/NewsVideo.d.ts.map +0 -0
  650. /package/{types → lib}/components/sections/pois/PointOfInterestDetail.d.ts +0 -0
  651. /package/{types → lib}/components/sections/pois/PointOfInterestDetail.d.ts.map +0 -0
  652. /package/{types → lib}/components/sections/pois/PointOfInterestMap.d.ts +0 -0
  653. /package/{types → lib}/components/sections/pois/PointOfInterestMap.d.ts.map +0 -0
  654. /package/{types → lib}/components/sections/pois/PointOfInterestOverview.d.ts +0 -0
  655. /package/{types → lib}/components/sections/pois/PointOfInterestOverview.d.ts.map +0 -0
  656. /package/{types → lib}/components/typography/Copy.d.ts +0 -0
  657. /package/{types → lib}/components/typography/Copy.d.ts.map +0 -0
  658. /package/{types → lib}/components/typography/Heading.d.ts +0 -0
  659. /package/{types → lib}/components/typography/Heading.d.ts.map +0 -0
  660. /package/{types → lib}/components/typography/Link.d.ts +0 -0
  661. /package/{types → lib}/components/typography/Link.d.ts.map +0 -0
  662. /package/{types → lib}/utils/LibThemeProvider.d.ts +0 -0
  663. /package/{types → lib}/utils/LibThemeProvider.d.ts.map +0 -0
  664. /package/{types → lib}/utils/arrays.d.ts +0 -0
  665. /package/{types → lib}/utils/arrays.d.ts.map +0 -0
  666. /package/{types → lib}/utils/backgroundImage.d.ts +0 -0
  667. /package/{types → lib}/utils/backgroundImage.d.ts.map +0 -0
  668. /package/{types → lib}/utils/clamp.d.ts +0 -0
  669. /package/{types → lib}/utils/clamp.d.ts.map +0 -0
  670. /package/{types → lib}/utils/concat.d.ts +0 -0
  671. /package/{types → lib}/utils/concat.d.ts.map +0 -0
  672. /package/{types → lib}/utils/cookie-consent/cookie.d.ts +0 -0
  673. /package/{types → lib}/utils/cookie-consent/cookie.d.ts.map +0 -0
  674. /package/{types → lib}/utils/cookie-consent/mutations.d.ts +0 -0
  675. /package/{types → lib}/utils/cookie-consent/mutations.d.ts.map +0 -0
  676. /package/{types → lib}/utils/cookie-consent/useCookieConsent.d.ts +0 -0
  677. /package/{types → lib}/utils/cookie-consent/useCookieConsent.d.ts.map +0 -0
  678. /package/{types → lib}/utils/dataURI.d.ts +0 -0
  679. /package/{types → lib}/utils/dataURI.d.ts.map +0 -0
  680. /package/{types → lib}/utils/escape.d.ts +0 -0
  681. /package/{types → lib}/utils/escape.d.ts.map +0 -0
  682. /package/{types → lib}/utils/filters.d.ts +0 -0
  683. /package/{types → lib}/utils/filters.d.ts.map +0 -0
  684. /package/{types → lib}/utils/fontLoading.d.ts +0 -0
  685. /package/{types → lib}/utils/fontLoading.d.ts.map +0 -0
  686. /package/{types → lib}/utils/formFieldText.d.ts +0 -0
  687. /package/{types → lib}/utils/formFieldText.d.ts.map +0 -0
  688. /package/{types → lib}/utils/getLinkIcon.d.ts +0 -0
  689. /package/{types → lib}/utils/getLinkIcon.d.ts.map +0 -0
  690. /package/{types → lib}/utils/hexRgbConverter.d.ts +0 -0
  691. /package/{types → lib}/utils/hexRgbConverter.d.ts.map +0 -0
  692. /package/{types → lib}/utils/menuHooks.d.ts +0 -0
  693. /package/{types → lib}/utils/menuHooks.d.ts.map +0 -0
  694. /package/{types → lib}/utils/navigation.d.ts +0 -0
  695. /package/{types → lib}/utils/navigation.d.ts.map +0 -0
  696. /package/{types → lib}/utils/statusFormatter.d.ts +0 -0
  697. /package/{types → lib}/utils/statusFormatter.d.ts.map +0 -0
  698. /package/{types → lib}/utils/storyHelpers.d.ts +0 -0
  699. /package/{types → lib}/utils/storyHelpers.d.ts.map +0 -0
  700. /package/{types → lib}/utils/structuredData.d.ts +0 -0
  701. /package/{types → lib}/utils/structuredData.d.ts.map +0 -0
  702. /package/{types → lib}/utils/types.d.ts +0 -0
  703. /package/{types → lib}/utils/types.d.ts.map +0 -0
  704. /package/{types → lib}/utils/urlParams.d.ts +0 -0
  705. /package/{types → lib}/utils/urlParams.d.ts.map +0 -0
  706. /package/{types → lib}/utils/useArray.d.ts +0 -0
  707. /package/{types → lib}/utils/useArray.d.ts.map +0 -0
  708. /package/{types → lib}/utils/useDebounce.d.ts +0 -0
  709. /package/{types → lib}/utils/useDebounce.d.ts.map +0 -0
  710. /package/{types → lib}/utils/useFontsLoaded.d.ts +0 -0
  711. /package/{types → lib}/utils/useFontsLoaded.d.ts.map +0 -0
  712. /package/{types → lib}/utils/useGeolocation.d.ts +0 -0
  713. /package/{types → lib}/utils/useGeolocation.d.ts.map +0 -0
  714. /package/{types → lib}/utils/useIE.d.ts +0 -0
  715. /package/{types → lib}/utils/useIE.d.ts.map +0 -0
  716. /package/{types → lib}/utils/useImgPreload.d.ts +0 -0
  717. /package/{types → lib}/utils/useImgPreload.d.ts.map +0 -0
  718. /package/{types → lib}/utils/useInterval.d.ts +0 -0
  719. /package/{types → lib}/utils/useInterval.d.ts.map +0 -0
  720. /package/{types → lib}/utils/useItemHeight.d.ts +0 -0
  721. /package/{types → lib}/utils/useItemHeight.d.ts.map +0 -0
  722. /package/{types → lib}/utils/useLazyInput.d.ts +0 -0
  723. /package/{types → lib}/utils/useLazyInput.d.ts.map +0 -0
  724. /package/{types → lib}/utils/useLeafletMap.d.ts +0 -0
  725. /package/{types → lib}/utils/useLeafletMap.d.ts.map +0 -0
  726. /package/{types → lib}/utils/useMounted.d.ts +0 -0
  727. /package/{types → lib}/utils/useMounted.d.ts.map +0 -0
  728. /package/{types → lib}/utils/useObserverSupport.d.ts +0 -0
  729. /package/{types → lib}/utils/useObserverSupport.d.ts.map +0 -0
  730. /package/{types → lib}/utils/usePageScroll.d.ts +0 -0
  731. /package/{types → lib}/utils/usePageScroll.d.ts.map +0 -0
  732. /package/{types → lib}/utils/useParams.d.ts +0 -0
  733. /package/{types → lib}/utils/useParams.d.ts.map +0 -0
  734. /package/{types → lib}/utils/usePoster.d.ts +0 -0
  735. /package/{types → lib}/utils/usePoster.d.ts.map +0 -0
  736. /package/{types → lib}/utils/usePrevious.d.ts +0 -0
  737. /package/{types → lib}/utils/usePrevious.d.ts.map +0 -0
  738. /package/{types → lib}/utils/useResizeThrottle.d.ts +0 -0
  739. /package/{types → lib}/utils/useResizeThrottle.d.ts.map +0 -0
  740. /package/{types → lib}/utils/useScroll.d.ts +0 -0
  741. /package/{types → lib}/utils/useScroll.d.ts.map +0 -0
  742. /package/{types → lib}/utils/useScrollIntoView.d.ts +0 -0
  743. /package/{types → lib}/utils/useScrollIntoView.d.ts.map +0 -0
  744. /package/{types → lib}/utils/useScrollThrottle.d.ts +0 -0
  745. /package/{types → lib}/utils/useScrollThrottle.d.ts.map +0 -0
  746. /package/{types → lib}/utils/useScrollTo.d.ts +0 -0
  747. /package/{types → lib}/utils/useScrollTo.d.ts.map +0 -0
  748. /package/{types → lib}/utils/useTimeout.d.ts +0 -0
  749. /package/{types → lib}/utils/useTimeout.d.ts.map +0 -0
  750. /package/{types → lib}/utils/useTouch.d.ts +0 -0
  751. /package/{types → lib}/utils/useTouch.d.ts.map +0 -0
  752. /package/{types → lib}/utils/useUpdateEffect.d.ts +0 -0
  753. /package/{types → lib}/utils/useUpdateEffect.d.ts.map +0 -0
@@ -1,1018 +0,0 @@
1
- import { a as __makeTemplateObject, _ as __assign, e as __spreadArray } from './ClockFilled-8784ddac.js';
2
- import React__default, { forwardRef, useMemo, useState, useRef, useCallback, useEffect } from 'react';
3
- import styled from 'styled-components';
4
- import { S as Section, m as mapToBgMode, W as Wrapper, G as Grid } from './Wrapper-f4a70e30.js';
5
- import { C as Copy, H as Heading, c as copyStyle } from './Copy-3444d005.js';
6
- import { g as getColors, s as spacings, m as mq, c as getGlobals, a as getFonts } from './styles-5f78e59d.js';
7
- import { w as withLibTheme, u as useLibTheme } from './LibThemeProvider-90a5375f.js';
8
- import { I as Image } from './Image-82417953.js';
9
- import { a as Tag, T as Title, b as TableBlock } from './TableBlock-0bbde956.js';
10
- import { S as StatusFormatter } from './statusFormatter-9be0fbff.js';
11
- import { L as Link } from './Link-ee8a48ed.js';
12
- import { i as isValidArray } from './arrays-65b644ef.js';
13
- import { u as useMediaQuery } from './useMediaQuery-43629cbb.js';
14
- import { b as useScrollTo, u as useEqualSheetHeight, g as getUrlParams, s as setUrlParam, d as deleteUrlParam } from './urlParams-882563ce.js';
15
- import { u as useObserverSupport } from './useObserverSupport-02bce7f5.js';
16
- import { P as Pointer } from './Pointer-da4d0977.js';
17
- import { F as Filter, V as VideoCard } from './VideoCard-2557407b.js';
18
- import { u as useUpdateEffect } from './useUpdateEffect-824c0c84.js';
19
- import { u as useMounted } from './useMounted-1e4cc87b.js';
20
- import './clamp-12d37b65.js';
21
- import './concat-ab3c66f2.js';
22
- import 'react-dom/server';
23
- import './useCookieConsent-db86e5cb.js';
24
- import './ButtonGhost-6673a07e.js';
25
- import './hexRgbConverter-edb91624.js';
26
-
27
- var Seperator = styled.div.withConfig({
28
- displayName: "NewsAuthorCard__Seperator",
29
- componentId: "sc-17dx8qw-0"
30
- })(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n border-bottom: solid 1px\n ", ";\n\n margin-top: ", "px;\n margin-bottom: ", "px;\n"], ["\n border-bottom: solid 1px\n ", ";\n\n margin-top: ", "px;\n margin-bottom: ", "px;\n"])), function (_a) {
31
- var isInverted = _a.isInverted,
32
- theme = _a.theme;
33
- return isInverted ? getColors(theme).elementBg.light : getColors(theme).elementBg.dark;
34
- }, function (_a) {
35
- var isTop = _a.isTop;
36
- return !isTop && spacings.spacer;
37
- }, function (_a) {
38
- var isTop = _a.isTop;
39
- return isTop && spacings.spacer;
40
- });
41
- var AuthorContainer = styled.div.withConfig({
42
- displayName: "NewsAuthorCard__AuthorContainer",
43
- componentId: "sc-17dx8qw-1"
44
- })(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n flex-direction: row;\n justify-content: flex-start;\n text-align: left;\n\n & > * + * {\n margin-top: 0;\n margin-left: ", "px;\n }\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n flex-direction: row;\n justify-content: flex-start;\n text-align: left;\n\n & > * + * {\n margin-top: 0;\n margin-left: ", "px;\n }\n }\n"])), spacings.spacer, mq.medium, spacings.spacer);
45
- var Avatar = styled.img.withConfig({
46
- displayName: "NewsAuthorCard__Avatar",
47
- componentId: "sc-17dx8qw-2"
48
- })(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n border-radius: 50%; ;\n"], ["\n border-radius: 50%; ;\n"])));
49
- var Author = styled.div.withConfig({
50
- displayName: "NewsAuthorCard__Author",
51
- componentId: "sc-17dx8qw-3"
52
- })(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject([""], [""])));
53
- var StyledCopy = styled(Copy).withConfig({
54
- displayName: "NewsAuthorCard__StyledCopy",
55
- componentId: "sc-17dx8qw-4"
56
- })(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject(["\n text-transform: uppercase;\n margin-bottom: ", "px;\n"], ["\n text-transform: uppercase;\n margin-bottom: ", "px;\n"])), spacings.nudge * 3);
57
-
58
- var NewsAuthorCard = function (_a) {
59
- var label = _a.label,
60
- author = _a.author,
61
- avatar = _a.avatar,
62
- bgMode = _a.bgMode;
63
- var colors = useLibTheme().colors;
64
- var isInverted = bgMode === 'inverted';
65
- var hasBg = bgMode === 'full';
66
- return React__default.createElement(Section, {
67
- addSeperation: true,
68
- bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
69
- bgMode: mapToBgMode(bgMode, true)
70
- }, React__default.createElement(Wrapper, {
71
- clampWidth: "small",
72
- addWhitespace: true
73
- }, author && React__default.createElement(React__default.Fragment, null, React__default.createElement(Seperator, {
74
- isTop: true,
75
- isInverted: isInverted
76
- }), React__default.createElement(AuthorContainer, null, avatar && React__default.createElement(Avatar, {
77
- src: avatar.src,
78
- alt: avatar.alt
79
- }), React__default.createElement(Author, null, author && React__default.createElement(StyledCopy, {
80
- isInverted: isInverted,
81
- type: "copy-b"
82
- }, label || 'Written By'), React__default.createElement(Heading, {
83
- isInverted: isInverted,
84
- size: "heading-2"
85
- }, author)))), React__default.createElement(Seperator, {
86
- isInverted: isInverted
87
- })));
88
- };
89
- var NewsAuthorCard$1 = withLibTheme(NewsAuthorCard);
90
- var templateObject_1$7, templateObject_2$4, templateObject_3$3, templateObject_4$3, templateObject_5$3;
91
-
92
- var View = styled.div.withConfig({
93
- displayName: "NewsCard__View",
94
- componentId: "sc-ahox9b-0"
95
- })(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n position: relative;\n text-decoration: none;\n margin: 0;\n padding: 0;\n"], ["\n position: relative;\n text-decoration: none;\n margin: 0;\n padding: 0;\n"])));
96
- var ImageLink = styled(Link).withConfig({
97
- displayName: "NewsCard__ImageLink",
98
- componentId: "sc-ahox9b-1"
99
- })(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n display: block;\n width: 100%;\n"], ["\n display: block;\n width: 100%;\n"])));
100
- var StyledImage$1 = styled(Image).withConfig({
101
- displayName: "NewsCard__StyledImage",
102
- componentId: "sc-ahox9b-2"
103
- })(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["\n overflow: hidden;\n border-radius: ", ";\n"], ["\n overflow: hidden;\n border-radius: ", ";\n"])), function (_a) {
104
- var theme = _a.theme;
105
- return getGlobals(theme).sections.edgeRadius;
106
- });
107
- var BorderPlaceholder = styled.div.withConfig({
108
- displayName: "NewsCard__BorderPlaceholder",
109
- componentId: "sc-ahox9b-3"
110
- })(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n border-top: 1px solid\n ", ";\n"], ["\n border-top: 1px solid\n ", ";\n"])), function (_a) {
111
- var theme = _a.theme,
112
- hasBg = _a.hasBg;
113
- return hasBg ? getColors(theme).elementBg.light : getColors(theme).elementBg.medium;
114
- });
115
- var TitleLink = styled(Link).withConfig({
116
- displayName: "NewsCard__TitleLink",
117
- componentId: "sc-ahox9b-4"
118
- })(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n display: inline-block;\n ", "\n\n color: ", ";\n text-decoration: none;\n"], ["\n display: inline-block;\n ", "\n\n color: ", ";\n text-decoration: none;\n"])), copyStyle('copy-b', 'big'), function (_a) {
119
- var theme = _a.theme,
120
- isInverted = _a.isInverted;
121
- return isInverted ? getFonts(theme)['copy-b'].big.colorInverted : getFonts(theme)['copy-b'].big.color;
122
- });
123
- var Head = styled.div.withConfig({
124
- displayName: "NewsCard__Head",
125
- componentId: "sc-ahox9b-5"
126
- })(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n display: flex;\n\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n &:not(:first-child) {\n margin-top: ", "px;\n }\n\n &:not(:last-child) {\n margin-bottom: ", "px;\n }\n\n & > * + * {\n margin-left: ", "px;\n }\n"], ["\n display: flex;\n\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n &:not(:first-child) {\n margin-top: ", "px;\n }\n\n &:not(:last-child) {\n margin-bottom: ", "px;\n }\n\n & > * + * {\n margin-left: ", "px;\n }\n"])), spacings.nudge * 3, spacings.nudge * 3, spacings.nudge * 3);
127
- var Tags$1 = styled.div.withConfig({
128
- displayName: "NewsCard__Tags",
129
- componentId: "sc-ahox9b-6"
130
- })(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n display: flex;\n overflow: scroll;\n scrollbar-width: none;\n\n &::-webkit-scrollbar {\n width: 0;\n height: 0;\n display: none;\n }\n\n & > * + * {\n margin-left: ", "px;\n }\n"], ["\n display: flex;\n overflow: scroll;\n scrollbar-width: none;\n\n &::-webkit-scrollbar {\n width: 0;\n height: 0;\n display: none;\n }\n\n & > * + * {\n margin-left: ", "px;\n }\n"])), spacings.nudge);
131
- var PublishDate = styled(Copy).withConfig({
132
- displayName: "NewsCard__PublishDate",
133
- componentId: "sc-ahox9b-7"
134
- })(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n &:only-child {\n margin-left: auto;\n }\n"], ["\n &:only-child {\n margin-left: auto;\n }\n"])));
135
- var Main = styled.div.withConfig({
136
- displayName: "NewsCard__Main",
137
- componentId: "sc-ahox9b-8"
138
- })(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n max-width: 95%;\n\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n max-width: 95%;\n\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.nudge * 3);
139
- var Text = styled(Copy).withConfig({
140
- displayName: "NewsCard__Text",
141
- componentId: "sc-ahox9b-9"
142
- })(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 6; /* number of lines to show */\n line-clamp: 6;\n -webkit-box-orient: vertical;\n\n & > * {\n margin: 0 !important;\n }\n\n & > p:not(:first-of-type) {\n display: none;\n }\n\n & > ul,\n & > ol,\n & > table {\n display: none;\n }\n"], ["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 6; /* number of lines to show */\n line-clamp: 6;\n -webkit-box-orient: vertical;\n\n & > * {\n margin: 0 !important;\n }\n\n & > p:not(:first-of-type) {\n display: none;\n }\n\n & > ul,\n & > ol,\n & > table {\n display: none;\n }\n"])));
143
- var Action = styled.div.withConfig({
144
- displayName: "NewsCard__Action",
145
- componentId: "sc-ahox9b-10"
146
- })(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n margin-top: ", "px;\n"], ["\n margin-top: ", "px;\n"])), spacings.nudge * 3);
147
- var NewsCard = forwardRef(function (_a, ref) {
148
- var tags = _a.tags,
149
- onTagClick = _a.onTagClick,
150
- publishDate = _a.publishDate,
151
- title = _a.title,
152
- text = _a.text,
153
- image = _a.image,
154
- link = _a.link,
155
- isInverted = _a.isInverted,
156
- action = _a.action,
157
- customTag = _a.customTag,
158
- className = _a.className,
159
- hasBg = _a.hasBg;
160
- var globals = useLibTheme().globals;
161
- var publishedAt = '';
162
-
163
- if (publishDate) {
164
- var formatter = new StatusFormatter(publishDate.getTime(), '', globals.sections.newsDateFormat(publishDate), globals.sections.newsTimeFormat(publishDate), globals.sections.newsLocaleKey);
165
- publishedAt = formatter.getFormattedDate();
166
- }
167
-
168
- var handleTagClick = function (tag) {
169
- return onTagClick ? function (ev) {
170
- ev === null || ev === void 0 ? void 0 : ev.preventDefault();
171
- onTagClick(tag);
172
- } : undefined;
173
- };
174
-
175
- var filteredTags = useMemo(function () {
176
- return tags === null || tags === void 0 ? void 0 : tags.filter(function (tag) {
177
- return tag.name;
178
- });
179
- }, [tags]);
180
- return React__default.createElement(View, {
181
- ref: ref,
182
- className: className
183
- }, image ? React__default.createElement(ImageLink, __assign({}, link, {
184
- ariaLabel: title
185
- }), React__default.createElement(StyledImage$1, __assign({}, image, {
186
- coverSpace: true,
187
- isInverted: isInverted
188
- }))) : React__default.createElement(BorderPlaceholder, {
189
- hasBg: hasBg
190
- }), React__default.createElement(Head, {
191
- "data-sheet": "head"
192
- }, isValidArray(filteredTags, false) && React__default.createElement(Tags$1, null, filteredTags.map(function (tag, i) {
193
- if (customTag) {
194
- return customTag({
195
- key: i,
196
- name: tag.name || '',
197
- isInverted: isInverted,
198
- isActive: false,
199
- link: tag.link,
200
- clickHandler: handleTagClick(tag)
201
- });
202
- } else {
203
- return React__default.createElement(Tag, {
204
- key: i,
205
- isInverted: isInverted,
206
- name: tag.name,
207
- link: tag.link,
208
- onClick: handleTagClick(tag)
209
- });
210
- }
211
- })), publishedAt && React__default.createElement(PublishDate, {
212
- size: "small",
213
- renderAs: "div",
214
- isInverted: isInverted
215
- }, publishedAt)), React__default.createElement(Main, null, title && React__default.createElement(TitleLink, __assign({}, link, {
216
- ariaLabel: title,
217
- isInverted: isInverted,
218
- dataSheet: "title"
219
- }), title), text && React__default.createElement(Text, {
220
- isInverted: isInverted,
221
- type: "copy",
222
- innerHTML: text,
223
- "data-sheet": "text",
224
- size: "medium"
225
- })), action && React__default.createElement(Action, null, action(isInverted)));
226
- });
227
- NewsCard.displayName = 'NewsCard';
228
- var templateObject_1$6, templateObject_2$3, templateObject_3$2, templateObject_4$2, templateObject_5$2, templateObject_6$2, templateObject_7$2, templateObject_8, templateObject_9, templateObject_10, templateObject_11;
229
-
230
- var TagContainer = styled.div.withConfig({
231
- displayName: "NewsOverview__TagContainer",
232
- componentId: "sc-5r2c7-0"
233
- })(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n margin-top: -", "px;\n margin-left: -", "px;\n\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n &:not(:only-child) {\n margin-bottom: ", "px;\n }\n"], ["\n margin-top: -", "px;\n margin-left: -", "px;\n\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n &:not(:only-child) {\n margin-bottom: ", "px;\n }\n"])), spacings.nudge, spacings.nudge, spacings.nudge * 6);
234
- var TagWrapper$1 = styled.div.withConfig({
235
- displayName: "NewsOverview__TagWrapper",
236
- componentId: "sc-5r2c7-1"
237
- })(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n padding-top: ", "px;\n padding-left: ", "px;\n"], ["\n padding-top: ", "px;\n padding-left: ", "px;\n"])), spacings.nudge, spacings.nudge);
238
- var News$1 = styled.ul.withConfig({
239
- displayName: "NewsOverview__News",
240
- componentId: "sc-5r2c7-2"
241
- })(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n list-style: none;\n margin: 0;\n margin-top: -", "px;\n margin-left: -", "px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n"], ["\n list-style: none;\n margin: 0;\n margin-top: -", "px;\n margin-left: -", "px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n"])), spacings.nudge * 6, spacings.spacer);
242
- var NewsItem$1 = styled.li.withConfig({
243
- displayName: "NewsOverview__NewsItem",
244
- componentId: "sc-5r2c7-3"
245
- })(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n padding-top: ", "px;\n padding-left: ", "px;\n flex: 1 0 100%;\n\n @media ", " {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media ", " {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n"], ["\n padding-top: ", "px;\n padding-left: ", "px;\n flex: 1 0 100%;\n\n @media ", " {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media ", " {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n"])), spacings.nudge * 6, spacings.spacer, mq.medium, mq.large);
246
- var ListFooter = styled.div.withConfig({
247
- displayName: "NewsOverview__ListFooter",
248
- componentId: "sc-5r2c7-4"
249
- })(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n margin-top: ", "px;\n text-align: center;\n\n @media ", " {\n text-align: left;\n }\n"], ["\n margin-top: ", "px;\n text-align: center;\n\n @media ", " {\n text-align: left;\n }\n"])), spacings.nudge * 6, mq.medium);
250
- var ShowMore = styled.span.withConfig({
251
- displayName: "NewsOverview__ShowMore",
252
- componentId: "sc-5r2c7-5"
253
- })(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (_a) {
254
- var itemCount = _a.itemCount;
255
- return itemCount && itemCount > 2 ? 'block' : 'none';
256
- });
257
- var FilterIcon = styled(Copy).withConfig({
258
- displayName: "NewsOverview__FilterIcon",
259
- componentId: "sc-5r2c7-6"
260
- })(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: center;\n\n padding: ", "px ", "px 0 0;\n\n & > * + * {\n margin-left: ", "px;\n }\n"], ["\n display: flex;\n flex-direction: row;\n align-items: center;\n\n padding: ", "px ", "px 0 0;\n\n & > * + * {\n margin-left: ", "px;\n }\n"])), spacings.nudge / 2, spacings.nudge, spacings.nudge);
261
- var getNewsFilterParams = function (url, theme, tags) {
262
- if (tags === void 0) {
263
- tags = [];
264
- }
265
-
266
- if (!url) return '';
267
- if (!isValidArray(tags, false)) return url;
268
- var filterName = theme.globals.sections.newsFilterName;
269
- if (!filterName) return url;
270
-
271
- try {
272
- var validUrl = new URL(url);
273
- var newParams = new URLSearchParams(validUrl.search);
274
- newParams.set(filterName, encodeURIComponent(tags.join(',')));
275
- return "".concat(url, "?").concat(newParams.toString());
276
- } catch (err) {
277
- return "".concat(url, "?").concat(filterName, "=").concat(encodeURIComponent(tags.join(',')));
278
- }
279
- };
280
-
281
- var NewsOverview = function (_a) {
282
- var anchorId = _a.anchorId,
283
- news = _a.news,
284
- tags = _a.tags,
285
- initial = _a.initial,
286
- showMoreText = _a.showMoreText,
287
- bgMode = _a.bgMode,
288
- onTagClick = _a.onTagClick,
289
- customTag = _a.customTag;
290
-
291
- var _b = useLibTheme(),
292
- colors = _b.colors,
293
- globals = _b.globals;
294
-
295
- var filterName = globals.sections.newsFilterName;
296
- var isInverted = bgMode === 'inverted';
297
- var hasBg = bgMode === 'full';
298
-
299
- var _c = useState((initial === null || initial === void 0 ? void 0 : initial.activeTags) || []),
300
- selectedTags = _c[0],
301
- setSelectedTags = _c[1];
302
-
303
- var mqs = ['small', 'semilarge', 'large'];
304
- var currentMq = useMediaQuery(mqs);
305
-
306
- var _d = useState(3),
307
- itemsPerRow = _d[0],
308
- setItemsPerRow = _d[1];
309
-
310
- var _e = useState((initial === null || initial === void 0 ? void 0 : initial.visibleRows) || 3),
311
- visibleRows = _e[0],
312
- setVisibleRows = _e[1];
313
-
314
- var isMounted = useMounted();
315
- var targetRef = useRef(null);
316
- var observerSupported = useObserverSupport();
317
- var newsCount = (news === null || news === void 0 ? void 0 : news.length) || 0;
318
- var setNewPos = useScrollTo(800);
319
-
320
- var _f = useEqualSheetHeight({
321
- listLength: Math.min(visibleRows * itemsPerRow, newsCount),
322
- identifiers: ['[data-sheet="head"]', '[data-sheet="title"]', '[data-sheet="text"]'],
323
- responsive: {
324
- small: 1,
325
- medium: 1,
326
- semilarge: 2,
327
- large: 3,
328
- xlarge: 3
329
- }
330
- }),
331
- cardRefs = _f.sheetRefs,
332
- triggerCalculation = _f.triggerCalculation;
333
-
334
- var getFilters = useCallback(function () {
335
- var tags = [];
336
- var filters = getUrlParams()[filterName];
337
-
338
- if (filters) {
339
- var tagsFilter = filters === null || filters === void 0 ? void 0 : filters.split(',');
340
-
341
- if (isValidArray(tagsFilter, false)) {
342
- tags.push.apply(tags, tagsFilter);
343
- }
344
- }
345
-
346
- return tags;
347
- }, [filterName]);
348
- useEffect(function () {
349
- // if initial data is defined exit hook
350
- if (initial) return; // if no initial data provied try to find needed params in URL
351
-
352
- var paramTags = getFilters();
353
- var paramRows = parseInt(getUrlParams()['rows']);
354
- setVisibleRows(paramRows || 3);
355
-
356
- if (isValidArray(paramTags, false)) {
357
- setSelectedTags(paramTags);
358
- } // trigger equal sheet height recalculation
359
-
360
-
361
- triggerCalculation(); // eslint-disable-next-line react-hooks/exhaustive-deps
362
- }, [getFilters, initial]);
363
- useEffect(function () {
364
- var _a;
365
-
366
- if (!initial || isMounted) return; // set inital data into URL
367
-
368
- setUrlParam('rows', (initial === null || initial === void 0 ? void 0 : initial.visibleRows) || 3);
369
-
370
- if (isValidArray(initial === null || initial === void 0 ? void 0 : initial.activeTags, false)) {
371
- setUrlParam(filterName, (_a = initial === null || initial === void 0 ? void 0 : initial.activeTags) === null || _a === void 0 ? void 0 : _a.join(','));
372
- } else {
373
- deleteUrlParam(filterName);
374
- }
375
- }, [filterName, initial, isMounted]);
376
- useUpdateEffect(function () {
377
- setUrlParam('rows', visibleRows);
378
- }, [visibleRows]);
379
- useUpdateEffect(function () {
380
- if (onTagClick || !isValidArray(selectedTags)) return; // set filters to URL params
381
-
382
- if (selectedTags.length > 0) {
383
- setUrlParam(filterName, selectedTags.join(','));
384
- } else {
385
- deleteUrlParam(filterName);
386
- }
387
- }, [selectedTags]);
388
- useEffect(function () {
389
- switch (currentMq) {
390
- case 'large':
391
- setItemsPerRow(3);
392
- break;
393
-
394
- case 'semilarge':
395
- setItemsPerRow(2);
396
- break;
397
-
398
- case 'small':
399
- setItemsPerRow(1);
400
- if (visibleRows < 3) setVisibleRows(3);
401
- break;
402
-
403
- default:
404
- setItemsPerRow(1);
405
- }
406
- }, [currentMq, visibleRows]);
407
-
408
- var handleTagClick = function (tag, enableToggling) {
409
- if (enableToggling === void 0) {
410
- enableToggling = true;
411
- }
412
-
413
- setSelectedTags(function (prev) {
414
- var prevCopy = __spreadArray([], prev, true);
415
-
416
- var itemIndex = tag.name ? prev.indexOf(tag.name) : -1;
417
-
418
- if (itemIndex === -1 && tag.name) {
419
- return __spreadArray(__spreadArray([], prevCopy, true), [tag.name], false);
420
- }
421
-
422
- if (enableToggling) {
423
- prevCopy.splice(itemIndex, 1);
424
- return prevCopy;
425
- }
426
-
427
- return prev;
428
- }); // trigger equal sheet height recalculation
429
-
430
- triggerCalculation();
431
- setVisibleRows(3);
432
- };
433
-
434
- var filteredNews = useMemo(function () {
435
- var tagFilterFn = function (item) {
436
- if (!isValidArray(selectedTags, false)) return true;
437
- if (!item.tags) return false;
438
- var hasTags = false;
439
-
440
- for (var i = 0; i < item.tags.length; i++) {
441
- if (selectedTags.indexOf(item.tags[i].name || '') !== -1) {
442
- hasTags = true;
443
- break;
444
- }
445
- }
446
-
447
- return hasTags;
448
- };
449
-
450
- var filtered = isValidArray(news) ? __spreadArray([], news, true) : []; // adding filter
451
-
452
- filtered = filtered === null || filtered === void 0 ? void 0 : filtered.filter(tagFilterFn);
453
- return filtered;
454
- }, [news, selectedTags]);
455
- var visibleNews = useMemo(function () {
456
- return (filteredNews === null || filteredNews === void 0 ? void 0 : filteredNews.filter(function (_, i) {
457
- return i < visibleRows * itemsPerRow;
458
- })) || [];
459
- }, [filteredNews, itemsPerRow, visibleRows]);
460
- useEffect(function () {
461
- // cancel if intersection observers are not supported
462
- if (!observerSupported) return;
463
- var element = targetRef.current;
464
- var observer;
465
-
466
- if (element) {
467
- var options = {
468
- rootMargin: '0px 0px 100px 0px',
469
- threshold: 0
470
- };
471
- observer = new IntersectionObserver(function (entries) {
472
- var entry = entries[0];
473
-
474
- if (entry === null || entry === void 0 ? void 0 : entry.isIntersecting) {
475
- // on bottom of the wrapper load more news
476
- if (visibleRows < Math.ceil(filteredNews.length / itemsPerRow)) {
477
- setVisibleRows(function (prev) {
478
- return prev + 1;
479
- });
480
- }
481
- }
482
- }, options);
483
- observer.observe(element);
484
- }
485
-
486
- return function () {
487
- if (observer) observer.disconnect();
488
- };
489
- }, [itemsPerRow, newsCount, visibleRows, observerSupported, filteredNews.length]);
490
- var filteredTags = useMemo(function () {
491
- return tags === null || tags === void 0 ? void 0 : tags.filter(function (tag) {
492
- return tag;
493
- });
494
- }, [tags]);
495
- return React__default.createElement(Section, {
496
- addSeperation: true,
497
- anchorId: anchorId,
498
- bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
499
- bgMode: mapToBgMode(bgMode, true)
500
- }, React__default.createElement(Wrapper, {
501
- addWhitespace: true
502
- }, isValidArray(filteredTags, false) && React__default.createElement(TagContainer, null, React__default.createElement(FilterIcon, {
503
- size: "small",
504
- type: "copy",
505
- isInverted: isInverted
506
- }, React__default.createElement(Filter, null), React__default.createElement("span", null, "Filter")), filteredTags.map(function (tag, i) {
507
- return React__default.createElement(TagWrapper$1, {
508
- key: i
509
- }, customTag ? customTag({
510
- key: i,
511
- name: tag,
512
- isInverted: isInverted,
513
- isActive: selectedTags.indexOf(tag) !== -1,
514
- clickHandler: function (ev) {
515
- ev === null || ev === void 0 ? void 0 : ev.preventDefault();
516
-
517
- if (!onTagClick) {
518
- handleTagClick({
519
- name: tag
520
- });
521
- } else onTagClick({
522
- name: tag
523
- });
524
- }
525
- }) : React__default.createElement(Tag, {
526
- isInverted: isInverted,
527
- onClick: function (ev) {
528
- ev === null || ev === void 0 ? void 0 : ev.preventDefault();
529
-
530
- if (!onTagClick) {
531
- handleTagClick({
532
- name: tag
533
- });
534
- } else onTagClick({
535
- name: tag
536
- }, false);
537
- },
538
- isActive: selectedTags.indexOf(tag) !== -1
539
- }, tag));
540
- })), React__default.createElement(News$1, null, visibleNews.map(function (item, i) {
541
- var _a;
542
-
543
- return React__default.createElement(NewsItem$1, {
544
- key: "".concat(i, "_news_").concat(item.title)
545
- }, React__default.createElement(NewsCard, __assign({
546
- hasBg: hasBg || isInverted,
547
- ref: cardRefs[i]
548
- }, item, {
549
- tags: (_a = item.tags) === null || _a === void 0 ? void 0 : _a.map(function (tag) {
550
- return {
551
- name: tag.name
552
- };
553
- }),
554
- isInverted: isInverted,
555
- onTagClick: function (tag) {
556
- // scroll back to top
557
- setNewPos(0);
558
-
559
- if (!onTagClick) {
560
- // if no callback is defined handle filtering on client side inside the component
561
- handleTagClick({
562
- name: tag.name
563
- }, false);
564
- } else {
565
- onTagClick({
566
- name: tag.name
567
- }, true);
568
- }
569
- },
570
- customTag: customTag
571
- })));
572
- })), React__default.createElement("div", {
573
- ref: targetRef
574
- }), !observerSupported && React__default.createElement(ListFooter, null, news && news.length > 0 && React__default.createElement(Copy, {
575
- type: "copy",
576
- size: "medium",
577
- isInverted: isInverted
578
- }, React__default.createElement(ShowMore, {
579
- itemCount: news.length,
580
- onClick: function (ev) {
581
- ev.preventDefault();
582
-
583
- if (visibleRows < Math.ceil(filteredNews.length / itemsPerRow)) {
584
- setVisibleRows(function (prev) {
585
- return prev + 1;
586
- });
587
- }
588
- }
589
- }, visibleRows < filteredNews.length / itemsPerRow && React__default.createElement(Pointer.View, {
590
- as: "button",
591
- isInverted: isInverted
592
- }, React__default.createElement(Pointer.Label, null, showMoreText || 'mehr anzeigen')))))));
593
- };
594
- var NewsOverview$1 = withLibTheme(NewsOverview);
595
- var templateObject_1$5, templateObject_2$2, templateObject_3$1, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7$1;
596
-
597
- var NewsFooter = function (_a) {
598
- var anchorId = _a.anchorId,
599
- news = _a.news,
600
- bgMode = _a.bgMode,
601
- customTag = _a.customTag;
602
-
603
- var _b = useLibTheme(),
604
- colors = _b.colors,
605
- theme = _b.theme;
606
-
607
- var newsCount = (news === null || news === void 0 ? void 0 : news.length) || 0;
608
- var isInverted = bgMode === 'inverted';
609
- var hasBg = bgMode === 'full';
610
- var mqs = ['small', 'semilarge'];
611
- var currentMq = useMediaQuery(mqs);
612
-
613
- var _c = useState(2),
614
- itemsPerRow = _c[0],
615
- setItemsPerRow = _c[1];
616
-
617
- var _d = useState(1),
618
- visibleRows = _d[0],
619
- setVisibleRows = _d[1];
620
-
621
- var cardRefs = useEqualSheetHeight({
622
- listLength: Math.min(visibleRows * itemsPerRow, newsCount),
623
- identifiers: ['[data-sheet="head"]', '[data-sheet="title"]', '[data-sheet="text"]'],
624
- responsive: {
625
- small: 1,
626
- medium: 1,
627
- semilarge: 2,
628
- large: 2,
629
- xlarge: 2
630
- }
631
- }).sheetRefs;
632
- useEffect(function () {
633
- switch (currentMq) {
634
- case 'semilarge':
635
- setItemsPerRow(2);
636
- break;
637
-
638
- case 'small':
639
- setItemsPerRow(1);
640
- if (visibleRows < 3) setVisibleRows(3);
641
- break;
642
-
643
- default:
644
- setItemsPerRow(1);
645
- }
646
- }, [currentMq, visibleRows]);
647
- return React__default.createElement(Section, {
648
- addSeperation: true,
649
- anchorId: anchorId,
650
- bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
651
- bgMode: mapToBgMode(bgMode, true)
652
- }, React__default.createElement(Wrapper, {
653
- addWhitespace: true,
654
- clampWidth: "small"
655
- }, React__default.createElement(Grid.Row, null, news === null || news === void 0 ? void 0 : news.filter(function (_, i) {
656
- return i < visibleRows * itemsPerRow;
657
- }).map(function (item, i) {
658
- var _a;
659
-
660
- return React__default.createElement(Grid.Col, {
661
- medium: {
662
- span: 6 / 12
663
- },
664
- key: "".concat(i, "_news_").concat(item.title)
665
- }, React__default.createElement(NewsCard, __assign({
666
- key: i,
667
- ref: cardRefs[i]
668
- }, item, {
669
- tags: (_a = item.tags) === null || _a === void 0 ? void 0 : _a.map(function (tag) {
670
- var _a, _b;
671
-
672
- var tagHref = undefined;
673
-
674
- if (tag.name && ((_a = tag.link) === null || _a === void 0 ? void 0 : _a.href)) {
675
- tagHref = getNewsFilterParams(tag.link.href, theme, [tag.name]);
676
- }
677
-
678
- return {
679
- name: tag.name,
680
- link: ((_b = tag.link) === null || _b === void 0 ? void 0 : _b.href) ? __assign(__assign({}, tag.link), {
681
- href: tagHref
682
- }) : undefined
683
- };
684
- }),
685
- isInverted: isInverted,
686
- customTag: customTag
687
- })));
688
- }))));
689
- };
690
- var NewsFooter$1 = withLibTheme(NewsFooter);
691
-
692
- var StyledImage = styled(Image).withConfig({
693
- displayName: "NewsImages__StyledImage",
694
- componentId: "sc-1l72vc0-0"
695
- })(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n width: 100%;\n border-radius: ", ";\n overflow: hidden;\n\n picture > img {\n width: 100%;\n height: 100%;\n }\n"], ["\n width: 100%;\n border-radius: ", ";\n overflow: hidden;\n\n picture > img {\n width: 100%;\n height: 100%;\n }\n"])), function (_a) {
696
- var theme = _a.theme;
697
- return getGlobals(theme).sections.edgeRadius;
698
- });
699
-
700
- var NewsImages = function (_a) {
701
- var _b;
702
-
703
- var anchorId = _a.anchorId,
704
- images = _a.images,
705
- bgMode = _a.bgMode;
706
- var colors = useLibTheme().colors;
707
- var isInverted = bgMode === 'inverted';
708
- var hasBg = bgMode === 'full';
709
- return React__default.createElement(Section, {
710
- addSeperation: true,
711
- anchorId: anchorId,
712
- bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
713
- bgMode: mapToBgMode(bgMode, true)
714
- }, React__default.createElement(Wrapper, {
715
- clampWidth: "small",
716
- addWhitespace: true
717
- }, React__default.createElement(Grid.Row, null, (_b = images === null || images === void 0 ? void 0 : images.filter(function (img) {
718
- return img.small;
719
- })) === null || _b === void 0 ? void 0 : _b.map(function (img, i) {
720
- return React__default.createElement(Grid.Col, {
721
- key: i,
722
- semilarge: {
723
- span: img.isFull ? 12 / 12 : 6 / 12
724
- }
725
- }, React__default.createElement(StyledImage, __assign({}, img, {
726
- coverSpace: true,
727
- isInverted: isInverted
728
- })));
729
- }))));
730
- };
731
- var NewsImages$1 = withLibTheme(NewsImages);
732
- var templateObject_1$4;
733
-
734
- var Content = styled.div.withConfig({
735
- displayName: "NewsIntro__Content",
736
- componentId: "sc-zz6rn6-0"
737
- })(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.nudge * 3);
738
- var IntroHead = styled(Copy).withConfig({
739
- displayName: "NewsIntro__IntroHead",
740
- componentId: "sc-zz6rn6-1"
741
- })(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n display: flex;\n\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n flex-direction: row;\n align-items: center;\n\n & > * + * {\n margin-top: 0;\n margin-left: ", "px;\n }\n }\n"], ["\n display: flex;\n\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n flex-direction: row;\n align-items: center;\n\n & > * + * {\n margin-top: 0;\n margin-left: ", "px;\n }\n }\n"])), spacings.nudge * 2, mq.medium, spacings.nudge * 2);
742
- var Tags = styled.div.withConfig({
743
- displayName: "NewsIntro__Tags",
744
- componentId: "sc-zz6rn6-2"
745
- })(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n flex: 1 1 80%;\n\n display: flex;\n flex-wrap: wrap;\n margin-top: -", "px;\n margin-left: -", "px;\n"], ["\n flex: 1 1 80%;\n\n display: flex;\n flex-wrap: wrap;\n margin-top: -", "px;\n margin-left: -", "px;\n"])), spacings.nudge, spacings.nudge);
746
- var TagWrapper = styled.span.withConfig({
747
- displayName: "NewsIntro__TagWrapper",
748
- componentId: "sc-zz6rn6-3"
749
- })(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: inline-block;\n padding-top: ", "px;\n padding-left: ", "px;\n"], ["\n display: inline-block;\n padding-top: ", "px;\n padding-left: ", "px;\n"])), spacings.nudge, spacings.nudge);
750
- var MetaBlock = styled.div.withConfig({
751
- displayName: "NewsIntro__MetaBlock",
752
- componentId: "sc-zz6rn6-4"
753
- })(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n flex: 1 0 auto;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: center;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n & > * + * {\n margin-left: ", "px;\n }\n"], ["\n flex: 1 0 auto;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: center;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n & > * + * {\n margin-left: ", "px;\n }\n"])), spacings.nudge * 3);
754
- var StyledTitle = styled(Title).withConfig({
755
- displayName: "NewsIntro__StyledTitle",
756
- componentId: "sc-zz6rn6-5"
757
- })(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n max-width: ", ";\n"], ["\n max-width: ", ";\n"])), function (_a) {
758
- var clampTitle = _a.clampTitle;
759
- return clampTitle && 13 / 28 * spacings.wrapperSmall + 'px';
760
- });
761
- var ContentBlock$1 = styled(Copy).withConfig({
762
- displayName: "NewsIntro__ContentBlock",
763
- componentId: "sc-zz6rn6-6"
764
- })(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: block;\n margin: ", ";\n max-width: ", ";\n\n :not(:first-child) {\n padding-top: ", "px;\n }\n"], ["\n display: block;\n margin: ", ";\n max-width: ", ";\n\n :not(:first-child) {\n padding-top: ", "px;\n }\n"])), function (_a) {
765
- var isCentered = _a.isCentered;
766
- return isCentered && '0 auto';
767
- }, function (_a) {
768
- var clampText = _a.clampText;
769
- return clampText && 19 / 28 * spacings.wrapper + 'px';
770
- }, spacings.spacer);
771
-
772
- var NewsIntro = function (_a) {
773
- var anchorId = _a.anchorId,
774
- tags = _a.tags,
775
- meta = _a.meta,
776
- title = _a.title,
777
- text = _a.text,
778
- image = _a.image,
779
- bgMode = _a.bgMode,
780
- customTag = _a.customTag;
781
-
782
- var _b = useLibTheme(),
783
- globals = _b.globals,
784
- colors = _b.colors,
785
- theme = _b.theme;
786
-
787
- var isInverted = bgMode === 'inverted';
788
- var hasBg = bgMode === 'full';
789
- var publishedAt = '';
790
-
791
- if (meta === null || meta === void 0 ? void 0 : meta.date) {
792
- var formatter = new StatusFormatter(meta.date.getTime(), '', globals.sections.newsDateFormat(meta.date), globals.sections.newsTimeFormat(meta.date), globals.sections.newsLocaleKey);
793
- publishedAt = formatter.getFormattedDate();
794
- }
795
-
796
- return React__default.createElement(Section, {
797
- addSeperation: true,
798
- anchorId: anchorId,
799
- bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
800
- bgMode: mapToBgMode(bgMode, true)
801
- }, React__default.createElement(Wrapper, {
802
- clampWidth: "small",
803
- addWhitespace: true
804
- }, React__default.createElement(Content, null, React__default.createElement(IntroHead, {
805
- isInverted: isInverted
806
- }, React__default.createElement(Tags, null, tags === null || tags === void 0 ? void 0 : tags.map(function (tag, i) {
807
- var _a;
808
-
809
- var tagLink = undefined;
810
-
811
- if (tag.name && ((_a = tag.link) === null || _a === void 0 ? void 0 : _a.href)) {
812
- tagLink = __assign(__assign({}, tag.link), {
813
- href: getNewsFilterParams(tag.link.href, theme, [tag.name])
814
- });
815
- }
816
-
817
- return React__default.createElement(TagWrapper, {
818
- key: "headtag-".concat(i)
819
- }, customTag ? customTag({
820
- key: "headtag-".concat(i),
821
- name: tag.name || '',
822
- isInverted: isInverted,
823
- isActive: false,
824
- link: tagLink
825
- }) : React__default.createElement(Tag, {
826
- link: tagLink,
827
- isInverted: isInverted
828
- }, tag.name));
829
- })), (publishedAt || (meta === null || meta === void 0 ? void 0 : meta.author)) && React__default.createElement(MetaBlock, null, (meta === null || meta === void 0 ? void 0 : meta.author) && React__default.createElement("div", null, meta === null || meta === void 0 ? void 0 : meta.author), publishedAt && React__default.createElement("div", null, publishedAt))), React__default.createElement("div", null, React__default.createElement(StyledTitle, {
830
- colorMode: isInverted ? 'inverted' : 'default',
831
- title: title
832
- }), text && React__default.createElement(ContentBlock$1, {
833
- isInverted: isInverted,
834
- type: "copy-b",
835
- innerHTML: text
836
- })), (image === null || image === void 0 ? void 0 : image.small) && React__default.createElement(Image, __assign({}, image, {
837
- coverSpace: true,
838
- allowEdgeRadius: true,
839
- isInverted: isInverted
840
- })))));
841
- };
842
- var NewsIntro$1 = withLibTheme(NewsIntro);
843
- var templateObject_1$3, templateObject_2$1, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
844
-
845
- var News = styled.ul.withConfig({
846
- displayName: "NewsList__News",
847
- componentId: "sc-sew5jz-0"
848
- })(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n list-style: none;\n margin: 0;\n margin-top: -", "px;\n margin-left: -", "px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n"], ["\n list-style: none;\n margin: 0;\n margin-top: -", "px;\n margin-left: -", "px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n"])), spacings.nudge * 6, spacings.spacer);
849
- var NewsItem = styled.li.withConfig({
850
- displayName: "NewsList__NewsItem",
851
- componentId: "sc-sew5jz-1"
852
- })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding-top: ", "px;\n padding-left: ", "px;\n flex: 1 0 100%;\n max-width: 100%;\n\n @media ", " {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media ", " {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n"], ["\n padding-top: ", "px;\n padding-left: ", "px;\n flex: 1 0 100%;\n max-width: 100%;\n\n @media ", " {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media ", " {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n"])), spacings.nudge * 6, spacings.spacer, mq.medium, mq.large);
853
-
854
- var NewsList = function (_a) {
855
- var anchorId = _a.anchorId,
856
- _b = _a.mode,
857
- mode = _b === void 0 ? 'short' : _b,
858
- news = _a.news,
859
- bgMode = _a.bgMode,
860
- customTag = _a.customTag;
861
-
862
- var _c = useLibTheme(),
863
- colors = _c.colors,
864
- theme = _c.theme;
865
-
866
- var items = useMemo(function () {
867
- if (!news) return [];
868
- if (mode === 'expanded') return news.slice(0, 6);else return news.slice(0, 3);
869
- }, [news, mode]);
870
- var isInverted = bgMode === 'inverted';
871
- var hasBg = bgMode === 'full';
872
- var cardRefs = useEqualSheetHeight({
873
- listLength: items.length,
874
- identifiers: ['[data-sheet="head"]', '[data-sheet="title"]', '[data-sheet="text"]'],
875
- responsive: {
876
- small: 1,
877
- medium: 2,
878
- semilarge: 2,
879
- large: 3,
880
- xlarge: 3
881
- }
882
- }).sheetRefs;
883
- return React__default.createElement(Section, {
884
- addSeperation: true,
885
- anchorId: anchorId,
886
- bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
887
- bgMode: mapToBgMode(bgMode, true)
888
- }, React__default.createElement(Wrapper, {
889
- addWhitespace: true
890
- }, React__default.createElement(News, null, items === null || items === void 0 ? void 0 : items.map(function (item, i) {
891
- var _a;
892
-
893
- return React__default.createElement(NewsItem, {
894
- key: i
895
- }, React__default.createElement(NewsCard, __assign({
896
- key: i,
897
- ref: cardRefs[i]
898
- }, item, {
899
- isInverted: isInverted,
900
- tags: (_a = item.tags) === null || _a === void 0 ? void 0 : _a.map(function (tag) {
901
- var _a, _b;
902
-
903
- var tagHref = undefined;
904
-
905
- if (tag.name && ((_a = tag.link) === null || _a === void 0 ? void 0 : _a.href)) {
906
- tagHref = getNewsFilterParams(tag.link.href, theme, [tag.name]);
907
- }
908
-
909
- return {
910
- name: tag.name,
911
- link: ((_b = tag.link) === null || _b === void 0 ? void 0 : _b.href) ? __assign(__assign({}, tag.link), {
912
- href: tagHref
913
- }) : undefined
914
- };
915
- }),
916
- customTag: customTag
917
- })));
918
- }))));
919
- };
920
- var NewsList$1 = withLibTheme(NewsList);
921
- var templateObject_1$2, templateObject_2;
922
-
923
- var TableWrapper = styled(Wrapper).withConfig({
924
- displayName: "NewsTable__TableWrapper",
925
- componentId: "sc-ph099f-0"
926
- })(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n & > * + * {\n margin-top: ", "px;\n }\n"], ["\n & > * + * {\n margin-top: ", "px;\n }\n"])), spacings.spacer);
927
-
928
- var NewsTable = function (_a) {
929
- var anchorId = _a.anchorId,
930
- bgMode = _a.bgMode,
931
- tableItems = _a.tableItems;
932
- var colors = useLibTheme().colors;
933
- var isInverted = bgMode === 'inverted';
934
- var hasBg = bgMode === 'full' || isInverted;
935
- return React__default.createElement(Section, {
936
- addSeperation: true,
937
- anchorId: anchorId,
938
- bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
939
- bgMode: mapToBgMode(bgMode, true)
940
- }, React__default.createElement(TableWrapper, {
941
- clampWidth: "small"
942
- }, tableItems.map(function (item, i) {
943
- return React__default.createElement(TableBlock, __assign({}, item, {
944
- key: i,
945
- hasBack: hasBg,
946
- isInverted: isInverted
947
- }));
948
- })));
949
- };
950
- var NewsTable$1 = withLibTheme(NewsTable);
951
- var templateObject_1$1;
952
-
953
- var ContentBlock = styled(Copy).withConfig({
954
- displayName: "NewsText__ContentBlock",
955
- componentId: "sc-2vavtq-0"
956
- })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: block;\n margin: ", ";\n max-width: ", ";\n\n :not(:first-child) {\n padding-top: ", "px;\n }\n"], ["\n display: block;\n margin: ", ";\n max-width: ", ";\n\n :not(:first-child) {\n padding-top: ", "px;\n }\n"])), function (_a) {
957
- var isCentered = _a.isCentered;
958
- return isCentered && '0 auto';
959
- }, function (_a) {
960
- var clampText = _a.clampText;
961
- return clampText && 19 / 28 * spacings.wrapperSmall + 'px';
962
- }, spacings.nudge * 5);
963
-
964
- var NewsText = function (_a) {
965
- var anchorId = _a.anchorId,
966
- text = _a.text,
967
- bgMode = _a.bgMode;
968
- var colors = useLibTheme().colors;
969
- var isInverted = bgMode === 'inverted';
970
- var hasBg = bgMode === 'full';
971
- return React__default.createElement(Section, {
972
- addSeperation: true,
973
- anchorId: anchorId,
974
- bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
975
- bgMode: mapToBgMode(bgMode, true)
976
- }, React__default.createElement(Wrapper, {
977
- clampWidth: "small",
978
- addWhitespace: true
979
- }, text && React__default.createElement(ContentBlock, {
980
- isInverted: isInverted,
981
- type: "copy",
982
- innerHTML: text
983
- })));
984
- };
985
- var NewsText$1 = withLibTheme(NewsText);
986
- var templateObject_1;
987
-
988
- var NewsVideo = function (_a) {
989
- var anchorId = _a.anchorId,
990
- bgImage = _a.bgImage,
991
- embedId = _a.embedId,
992
- playIcon = _a.playIcon,
993
- consentText = _a.consentText,
994
- consentAction = _a.consentAction,
995
- bgMode = _a.bgMode;
996
- var colors = useLibTheme().colors;
997
- var isInverted = bgMode === 'inverted';
998
- var hasBg = bgMode === 'full';
999
- return React__default.createElement(Section, {
1000
- addSeperation: true,
1001
- anchorId: anchorId,
1002
- bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
1003
- bgMode: mapToBgMode(bgMode, true)
1004
- }, React__default.createElement(Wrapper, {
1005
- addWhitespace: true,
1006
- clampWidth: "small"
1007
- }, embedId && bgImage && React__default.createElement(VideoCard, {
1008
- bgImage: bgImage,
1009
- embedId: embedId,
1010
- playIcon: playIcon,
1011
- consentText: consentText,
1012
- consentAction: consentAction
1013
- })));
1014
- };
1015
- var NewsVideo$1 = withLibTheme(NewsVideo);
1016
-
1017
- export { NewsAuthorCard$1 as NewsAuthorCard, NewsFooter$1 as NewsFooter, NewsImages$1 as NewsImages, NewsIntro$1 as NewsIntro, NewsList$1 as NewsList, NewsOverview$1 as NewsOverview, NewsTable$1 as NewsTable, NewsText$1 as NewsText, NewsVideo$1 as NewsVideo };
1018
- //# sourceMappingURL=sections_news.js.map