@blateral/b.kit 0.10.23 → 0.10.24-patch.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/lib/components/base/icons/AngleDown.d.ts +8 -0
  2. package/lib/components/base/icons/AngleDown.d.ts.map +1 -0
  3. package/lib/components/base/icons/AngleLeft.d.ts +8 -0
  4. package/lib/components/base/icons/AngleLeft.d.ts.map +1 -0
  5. package/lib/components/base/icons/AngleRight.d.ts +8 -0
  6. package/lib/components/base/icons/AngleRight.d.ts.map +1 -0
  7. package/lib/components/base/icons/AngleUp.d.ts +8 -0
  8. package/lib/components/base/icons/AngleUp.d.ts.map +1 -0
  9. package/lib/components/base/icons/ArrowDown.d.ts +8 -0
  10. package/lib/components/base/icons/ArrowDown.d.ts.map +1 -0
  11. package/lib/components/base/icons/ArrowLeft.d.ts +8 -0
  12. package/lib/components/base/icons/ArrowLeft.d.ts.map +1 -0
  13. package/lib/components/base/icons/ArrowUp.d.ts +8 -0
  14. package/lib/components/base/icons/ArrowUp.d.ts.map +1 -0
  15. package/lib/components/base/icons/BoxArrowUpRight.d.ts +8 -0
  16. package/lib/components/base/icons/BoxArrowUpRight.d.ts.map +1 -0
  17. package/lib/components/base/icons/CalendarToday.d.ts +8 -0
  18. package/lib/components/base/icons/CalendarToday.d.ts.map +1 -0
  19. package/lib/components/base/icons/Category.d.ts +8 -0
  20. package/lib/components/base/icons/Category.d.ts.map +1 -0
  21. package/lib/components/base/icons/Clock.d.ts +8 -0
  22. package/lib/components/base/icons/Clock.d.ts.map +1 -0
  23. package/lib/components/base/icons/ClockFilled.d.ts +8 -0
  24. package/lib/components/base/icons/ClockFilled.d.ts.map +1 -0
  25. package/lib/components/base/icons/Computer.d.ts +8 -0
  26. package/lib/components/base/icons/Computer.d.ts.map +1 -0
  27. package/lib/components/base/icons/CurrentLocation.d.ts +8 -0
  28. package/lib/components/base/icons/CurrentLocation.d.ts.map +1 -0
  29. package/lib/components/base/icons/DateRange.d.ts +8 -0
  30. package/lib/components/base/icons/DateRange.d.ts.map +1 -0
  31. package/lib/components/base/icons/DeleteForever.d.ts +8 -0
  32. package/lib/components/base/icons/DeleteForever.d.ts.map +1 -0
  33. package/lib/components/base/icons/External.d.ts +8 -0
  34. package/lib/components/base/icons/External.d.ts.map +1 -0
  35. package/lib/components/base/icons/Filter.d.ts +8 -0
  36. package/lib/components/base/icons/Filter.d.ts.map +1 -0
  37. package/lib/components/base/icons/Icons.d.ts +65 -0
  38. package/lib/components/base/icons/Icons.d.ts.map +1 -0
  39. package/lib/components/base/icons/Info.d.ts +8 -0
  40. package/lib/components/base/icons/Info.d.ts.map +1 -0
  41. package/lib/components/base/icons/Language.d.ts +8 -0
  42. package/lib/components/base/icons/Language.d.ts.map +1 -0
  43. package/lib/components/base/icons/LocationPin.d.ts +8 -0
  44. package/lib/components/base/icons/LocationPin.d.ts.map +1 -0
  45. package/lib/components/base/icons/LocationSearch.d.ts +8 -0
  46. package/lib/components/base/icons/LocationSearch.d.ts.map +1 -0
  47. package/lib/components/base/icons/Map.d.ts +8 -0
  48. package/lib/components/base/icons/Map.d.ts.map +1 -0
  49. package/lib/components/base/icons/Minus.d.ts +8 -0
  50. package/lib/components/base/icons/Minus.d.ts.map +1 -0
  51. package/lib/components/base/icons/Money.d.ts +8 -0
  52. package/lib/components/base/icons/Money.d.ts.map +1 -0
  53. package/lib/components/base/icons/MyLocation.d.ts +8 -0
  54. package/lib/components/base/icons/MyLocation.d.ts.map +1 -0
  55. package/lib/components/base/icons/Person.d.ts +8 -0
  56. package/lib/components/base/icons/Person.d.ts.map +1 -0
  57. package/lib/components/base/icons/Place.d.ts +8 -0
  58. package/lib/components/base/icons/Place.d.ts.map +1 -0
  59. package/lib/components/base/icons/Plus.d.ts +8 -0
  60. package/lib/components/base/icons/Plus.d.ts.map +1 -0
  61. package/lib/components/base/icons/ToggleOff.d.ts +8 -0
  62. package/lib/components/base/icons/ToggleOff.d.ts.map +1 -0
  63. package/lib/components/base/icons/ToggleOn.d.ts +8 -0
  64. package/lib/components/base/icons/ToggleOn.d.ts.map +1 -0
  65. package/lib/components/base/icons/UnfoldMore.d.ts +8 -0
  66. package/lib/components/base/icons/UnfoldMore.d.ts.map +1 -0
  67. package/lib/components/base/icons/files/Excel.d.ts +8 -0
  68. package/lib/components/base/icons/files/Excel.d.ts.map +1 -0
  69. package/lib/components/base/icons/files/Image.d.ts +8 -0
  70. package/lib/components/base/icons/files/Image.d.ts.map +1 -0
  71. package/lib/components/base/icons/files/Pdf.d.ts +8 -0
  72. package/lib/components/base/icons/files/Pdf.d.ts.map +1 -0
  73. package/lib/components/base/icons/files/PowerPoint.d.ts +8 -0
  74. package/lib/components/base/icons/files/PowerPoint.d.ts.map +1 -0
  75. package/lib/components/base/icons/files/UploadFile.d.ts +8 -0
  76. package/lib/components/base/icons/files/UploadFile.d.ts.map +1 -0
  77. package/lib/components/base/icons/files/Word.d.ts +8 -0
  78. package/lib/components/base/icons/files/Word.d.ts.map +1 -0
  79. package/lib/components/base/icons/files/Zip.d.ts +8 -0
  80. package/lib/components/base/icons/files/Zip.d.ts.map +1 -0
  81. package/lib/components/blocks/Alert.d.ts +23 -0
  82. package/lib/components/blocks/Alert.d.ts.map +1 -0
  83. package/lib/components/blocks/EventBlock.d.ts +42 -0
  84. package/lib/components/blocks/EventBlock.d.ts.map +1 -0
  85. package/lib/components/blocks/InfoList.d.ts +20 -0
  86. package/lib/components/blocks/InfoList.d.ts.map +1 -0
  87. package/lib/components/blocks/IntroBlock.d.ts +55 -0
  88. package/lib/components/blocks/IntroBlock.d.ts.map +1 -0
  89. package/lib/components/blocks/JobCard.d.ts +42 -0
  90. package/lib/components/blocks/JobCard.d.ts.map +1 -0
  91. package/lib/components/blocks/LanguageSwitcher.d.ts +16 -0
  92. package/lib/components/blocks/LanguageSwitcher.d.ts.map +1 -0
  93. package/lib/components/blocks/NavBlock.d.ts +24 -0
  94. package/lib/components/blocks/NavBlock.d.ts.map +1 -0
  95. package/lib/components/blocks/POICard.d.ts +47 -0
  96. package/lib/components/blocks/POICard.d.ts.map +1 -0
  97. package/lib/components/blocks/POIFacts.d.ts +12 -0
  98. package/lib/components/blocks/POIFacts.d.ts.map +1 -0
  99. package/lib/components/blocks/PriceTag.d.ts +19 -0
  100. package/lib/components/blocks/PriceTag.d.ts.map +1 -0
  101. package/lib/components/blocks/TableBlock.d.ts +14 -0
  102. package/lib/components/blocks/TableBlock.d.ts.map +1 -0
  103. package/lib/components/blocks/VideoBlock.d.ts +24 -0
  104. package/lib/components/blocks/VideoBlock.d.ts.map +1 -0
  105. package/lib/components/buttons/Control.d.ts +11 -0
  106. package/lib/components/buttons/Control.d.ts.map +1 -0
  107. package/lib/components/debug/DebugLines.d.ts +4 -0
  108. package/lib/components/debug/DebugLines.d.ts.map +1 -0
  109. package/lib/components/examples/hooks/ArrayHookExample.d.ts +4 -0
  110. package/lib/components/examples/hooks/ArrayHookExample.d.ts.map +1 -0
  111. package/lib/components/examples/hooks/IntervalHookExample.d.ts +4 -0
  112. package/lib/components/examples/hooks/IntervalHookExample.d.ts.map +1 -0
  113. package/lib/components/fields/Checkbox.d.ts.map +1 -1
  114. package/lib/components/fields/Datepicker.d.ts +31 -0
  115. package/lib/components/fields/Datepicker.d.ts.map +1 -0
  116. package/lib/components/fields/FileUpload.d.ts +13 -0
  117. package/lib/components/fields/FileUpload.d.ts.map +1 -0
  118. package/lib/components/fields/FilterField.d.ts +12 -0
  119. package/lib/components/fields/FilterField.d.ts.map +1 -0
  120. package/lib/components/fields/FormField.d.ts +33 -0
  121. package/lib/components/fields/FormField.d.ts.map +1 -0
  122. package/lib/components/fields/LocationField.d.ts +49 -0
  123. package/lib/components/fields/LocationField.d.ts.map +1 -0
  124. package/lib/components/fields/Radio.d.ts +15 -0
  125. package/lib/components/fields/Radio.d.ts.map +1 -0
  126. package/lib/components/fields/SelectDropdown.d.ts +22 -0
  127. package/lib/components/fields/SelectDropdown.d.ts.map +1 -0
  128. package/lib/components/fields/Textarea.d.ts.map +1 -1
  129. package/lib/components/fields/Textfield.d.ts.map +1 -1
  130. package/lib/components/sections/Accordion.d.ts +34 -0
  131. package/lib/components/sections/Accordion.d.ts.map +1 -0
  132. package/lib/components/sections/AlertList.d.ts +30 -0
  133. package/lib/components/sections/AlertList.d.ts.map +1 -0
  134. package/lib/components/sections/Article.d.ts.map +1 -1
  135. package/lib/components/sections/CardList.d.ts +47 -0
  136. package/lib/components/sections/CardList.d.ts.map +1 -0
  137. package/lib/components/sections/IndexList.d.ts +38 -0
  138. package/lib/components/sections/IndexList.d.ts.map +1 -0
  139. package/lib/components/sections/Intro.d.ts +74 -0
  140. package/lib/components/sections/Intro.d.ts.map +1 -0
  141. package/lib/components/sections/NavList.d.ts +31 -0
  142. package/lib/components/sections/NavList.d.ts.map +1 -0
  143. package/lib/components/sections/NewsletterForm.d.ts +90 -0
  144. package/lib/components/sections/NewsletterForm.d.ts.map +1 -0
  145. package/lib/components/sections/NumberList.d.ts +31 -0
  146. package/lib/components/sections/NumberList.d.ts.map +1 -0
  147. package/lib/components/sections/ParallaxBackground.d.ts +13 -0
  148. package/lib/components/sections/ParallaxBackground.d.ts.map +1 -0
  149. package/lib/components/sections/PriceList.d.ts +32 -0
  150. package/lib/components/sections/PriceList.d.ts.map +1 -0
  151. package/lib/components/sections/PriceTable.d.ts +26 -0
  152. package/lib/components/sections/PriceTable.d.ts.map +1 -0
  153. package/lib/components/sections/Quote.d.ts +29 -0
  154. package/lib/components/sections/Quote.d.ts.map +1 -0
  155. package/lib/components/sections/RawVideo.d.ts +38 -0
  156. package/lib/components/sections/RawVideo.d.ts.map +1 -0
  157. package/lib/components/sections/SimpleImage.d.ts +30 -0
  158. package/lib/components/sections/SimpleImage.d.ts.map +1 -0
  159. package/lib/components/sections/SocialWall.d.ts +41 -0
  160. package/lib/components/sections/SocialWall.d.ts.map +1 -0
  161. package/lib/components/sections/Timeline.d.ts +25 -0
  162. package/lib/components/sections/Timeline.d.ts.map +1 -0
  163. package/lib/components/sections/events/EventDetail.d.ts +60 -0
  164. package/lib/components/sections/events/EventDetail.d.ts.map +1 -0
  165. package/lib/components/sections/events/EventList.d.ts +42 -0
  166. package/lib/components/sections/events/EventList.d.ts.map +1 -0
  167. package/lib/components/sections/events/EventOverview.d.ts +72 -0
  168. package/lib/components/sections/events/EventOverview.d.ts.map +1 -0
  169. package/lib/components/sections/footer/Footer.d.ts +65 -0
  170. package/lib/components/sections/footer/Footer.d.ts.map +1 -0
  171. package/lib/components/sections/footer/partials/FooterBottomBar.d.ts +14 -0
  172. package/lib/components/sections/footer/partials/FooterBottomBar.d.ts.map +1 -0
  173. package/lib/components/sections/footer/partials/FooterColumn.d.ts +14 -0
  174. package/lib/components/sections/footer/partials/FooterColumn.d.ts.map +1 -0
  175. package/lib/components/sections/footer/partials/index.d.ts +3 -0
  176. package/lib/components/sections/footer/partials/index.d.ts.map +1 -0
  177. package/lib/components/sections/footer/skeletons/FooterArticle.d.ts +12 -0
  178. package/lib/components/sections/footer/skeletons/FooterArticle.d.ts.map +1 -0
  179. package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts +16 -0
  180. package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +1 -0
  181. package/lib/components/sections/footer/skeletons/index.d.ts +3 -0
  182. package/lib/components/sections/footer/skeletons/index.d.ts.map +1 -0
  183. package/lib/components/sections/form/DynamicForm.d.ts +216 -0
  184. package/lib/components/sections/form/DynamicForm.d.ts.map +1 -0
  185. package/lib/components/sections/form/renderer/areaRenderer.d.ts +5 -0
  186. package/lib/components/sections/form/renderer/areaRenderer.d.ts.map +1 -0
  187. package/lib/components/sections/form/renderer/datepickerRenderer.d.ts +5 -0
  188. package/lib/components/sections/form/renderer/datepickerRenderer.d.ts.map +1 -0
  189. package/lib/components/sections/form/renderer/fieldGroupRenderer.d.ts +5 -0
  190. package/lib/components/sections/form/renderer/fieldGroupRenderer.d.ts.map +1 -0
  191. package/lib/components/sections/form/renderer/fieldRenderer.d.ts +5 -0
  192. package/lib/components/sections/form/renderer/fieldRenderer.d.ts.map +1 -0
  193. package/lib/components/sections/form/renderer/locationRenderer.d.ts +6 -0
  194. package/lib/components/sections/form/renderer/locationRenderer.d.ts.map +1 -0
  195. package/lib/components/sections/form/renderer/selectRenderer.d.ts +5 -0
  196. package/lib/components/sections/form/renderer/selectRenderer.d.ts.map +1 -0
  197. package/lib/components/sections/form/renderer/uploadRenderer.d.ts +5 -0
  198. package/lib/components/sections/form/renderer/uploadRenderer.d.ts.map +1 -0
  199. package/lib/components/sections/form/validators/areaValidator.d.ts +4 -0
  200. package/lib/components/sections/form/validators/areaValidator.d.ts.map +1 -0
  201. package/lib/components/sections/form/validators/datepickerValidator.d.ts +4 -0
  202. package/lib/components/sections/form/validators/datepickerValidator.d.ts.map +1 -0
  203. package/lib/components/sections/form/validators/fieldGroupValidator.d.ts +4 -0
  204. package/lib/components/sections/form/validators/fieldGroupValidator.d.ts.map +1 -0
  205. package/lib/components/sections/form/validators/fieldValidator.d.ts +4 -0
  206. package/lib/components/sections/form/validators/fieldValidator.d.ts.map +1 -0
  207. package/lib/components/sections/form/validators/locationValidator.d.ts +5 -0
  208. package/lib/components/sections/form/validators/locationValidator.d.ts.map +1 -0
  209. package/lib/components/sections/form/validators/selectValidator.d.ts +4 -0
  210. package/lib/components/sections/form/validators/selectValidator.d.ts.map +1 -0
  211. package/lib/components/sections/form/validators/uploadValidator.d.ts +4 -0
  212. package/lib/components/sections/form/validators/uploadValidator.d.ts.map +1 -0
  213. package/lib/components/sections/header/Header.d.ts.map +1 -1
  214. package/lib/components/sections/jobs/JobArticle.d.ts +56 -0
  215. package/lib/components/sections/jobs/JobArticle.d.ts.map +1 -0
  216. package/lib/components/sections/jobs/JobList.d.ts +50 -0
  217. package/lib/components/sections/jobs/JobList.d.ts.map +1 -0
  218. package/lib/components/sections/navigation/NavBar.d.ts +45 -0
  219. package/lib/components/sections/navigation/NavBar.d.ts.map +1 -0
  220. package/lib/components/sections/navigation/Navigation.d.ts +8 -2
  221. package/lib/components/sections/navigation/Navigation.d.ts.map +1 -1
  222. package/lib/components/sections/navigation/TopBar.d.ts +4 -1
  223. package/lib/components/sections/navigation/TopBar.d.ts.map +1 -1
  224. package/lib/components/sections/navigation/menu/Flyout.d.ts +4 -1
  225. package/lib/components/sections/navigation/menu/Flyout.d.ts.map +1 -1
  226. package/lib/components/sections/navigation/menu/Menu.d.ts +4 -1
  227. package/lib/components/sections/navigation/menu/Menu.d.ts.map +1 -1
  228. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts +17 -0
  229. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -0
  230. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts +9 -0
  231. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -0
  232. package/lib/components/sections/navigation/partials/MenuFooter.d.ts +12 -0
  233. package/lib/components/sections/navigation/partials/MenuFooter.d.ts.map +1 -0
  234. package/lib/components/sections/navigation/partials/MenuHeader.d.ts +16 -0
  235. package/lib/components/sections/navigation/partials/MenuHeader.d.ts.map +1 -0
  236. package/lib/components/sections/navigation/partials/NavBarBottom.d.ts +10 -0
  237. package/lib/components/sections/navigation/partials/NavBarBottom.d.ts.map +1 -0
  238. package/lib/components/sections/navigation/partials/NavBarMain.d.ts +39 -0
  239. package/lib/components/sections/navigation/partials/NavBarMain.d.ts.map +1 -0
  240. package/lib/components/sections/navigation/partials/NavBarTop.d.ts +11 -0
  241. package/lib/components/sections/navigation/partials/NavBarTop.d.ts.map +1 -0
  242. package/lib/components/sections/navigation/partials/index.d.ts +6 -0
  243. package/lib/components/sections/navigation/partials/index.d.ts.map +1 -0
  244. package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts +18 -0
  245. package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +1 -0
  246. package/lib/components/sections/navigation/skeletons/BarColumn.d.ts +7 -0
  247. package/lib/components/sections/navigation/skeletons/BarColumn.d.ts.map +1 -0
  248. package/lib/components/sections/navigation/skeletons/BarLogo.d.ts +14 -0
  249. package/lib/components/sections/navigation/skeletons/BarLogo.d.ts.map +1 -0
  250. package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts +10 -0
  251. package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +1 -0
  252. package/lib/components/sections/navigation/skeletons/BarNavList.d.ts +9 -0
  253. package/lib/components/sections/navigation/skeletons/BarNavList.d.ts.map +1 -0
  254. package/lib/components/sections/navigation/skeletons/index.d.ts +6 -0
  255. package/lib/components/sections/navigation/skeletons/index.d.ts.map +1 -0
  256. package/lib/components/sections/pois/PointOfInterestDetail.d.ts +55 -0
  257. package/lib/components/sections/pois/PointOfInterestDetail.d.ts.map +1 -0
  258. package/lib/components/sections/pois/PointOfInterestMap.d.ts +117 -0
  259. package/lib/components/sections/pois/PointOfInterestMap.d.ts.map +1 -0
  260. package/lib/components/sections/pois/PointOfInterestOverview.d.ts +38 -0
  261. package/lib/components/sections/pois/PointOfInterestOverview.d.ts.map +1 -0
  262. package/lib/index.d.ts +1 -1
  263. package/lib/index.es.js +1 -1
  264. package/lib/index.es.js.map +1 -1
  265. package/lib/index.js +1 -1
  266. package/lib/index.js.map +1 -1
  267. package/lib/utils/arrays.d.ts +3 -0
  268. package/lib/utils/arrays.d.ts.map +1 -0
  269. package/lib/utils/clamp.d.ts +2 -0
  270. package/lib/utils/clamp.d.ts.map +1 -0
  271. package/lib/utils/concat.d.ts +8 -0
  272. package/lib/utils/concat.d.ts.map +1 -0
  273. package/lib/utils/cookie-consent/useCookieConsent.d.ts +43 -0
  274. package/lib/utils/cookie-consent/useCookieConsent.d.ts.map +1 -0
  275. package/lib/utils/dataURI.d.ts +3 -0
  276. package/lib/utils/dataURI.d.ts.map +1 -0
  277. package/lib/utils/escape.d.ts +2 -0
  278. package/lib/utils/escape.d.ts.map +1 -0
  279. package/lib/utils/filters.d.ts +2 -0
  280. package/lib/utils/filters.d.ts.map +1 -0
  281. package/lib/utils/fontLoading.d.ts +14 -0
  282. package/lib/utils/fontLoading.d.ts.map +1 -0
  283. package/lib/utils/formFieldText.d.ts +3 -0
  284. package/lib/utils/formFieldText.d.ts.map +1 -0
  285. package/lib/utils/getLinkIcon.d.ts +3 -0
  286. package/lib/utils/getLinkIcon.d.ts.map +1 -0
  287. package/lib/utils/menuHooks.d.ts +18 -0
  288. package/lib/utils/menuHooks.d.ts.map +1 -0
  289. package/lib/utils/navigation.d.ts +20 -0
  290. package/lib/utils/navigation.d.ts.map +1 -0
  291. package/lib/utils/structuredData.d.ts +22 -0
  292. package/lib/utils/structuredData.d.ts.map +1 -0
  293. package/lib/utils/types.d.ts +8 -0
  294. package/lib/utils/types.d.ts.map +1 -0
  295. package/lib/utils/urlParams.d.ts +4 -0
  296. package/lib/utils/urlParams.d.ts.map +1 -0
  297. package/lib/utils/useArray.d.ts +13 -0
  298. package/lib/utils/useArray.d.ts.map +1 -0
  299. package/lib/utils/useDebounce.d.ts +6 -0
  300. package/lib/utils/useDebounce.d.ts.map +1 -0
  301. package/lib/utils/useFontsLoaded.d.ts +2 -0
  302. package/lib/utils/useFontsLoaded.d.ts.map +1 -0
  303. package/lib/utils/useGeolocation.d.ts +10 -0
  304. package/lib/utils/useGeolocation.d.ts.map +1 -0
  305. package/lib/utils/useLazyInput.d.ts +8 -0
  306. package/lib/utils/useLazyInput.d.ts.map +1 -0
  307. package/lib/utils/useLeafletMap.d.ts +52 -0
  308. package/lib/utils/useLeafletMap.d.ts.map +1 -0
  309. package/lib/utils/useMounted.d.ts +3 -0
  310. package/lib/utils/useMounted.d.ts.map +1 -0
  311. package/lib/utils/usePageScroll.d.ts +25 -0
  312. package/lib/utils/usePageScroll.d.ts.map +1 -0
  313. package/lib/utils/useParams.d.ts +6 -0
  314. package/lib/utils/useParams.d.ts.map +1 -0
  315. package/lib/utils/usePrevious.d.ts +3 -0
  316. package/lib/utils/usePrevious.d.ts.map +1 -0
  317. package/lib/utils/useResizeThrottle.d.ts +9 -0
  318. package/lib/utils/useResizeThrottle.d.ts.map +1 -0
  319. package/lib/utils/useScrollThrottle.d.ts +7 -0
  320. package/lib/utils/useScrollThrottle.d.ts.map +1 -0
  321. package/lib/utils/useTimeout.d.ts +6 -0
  322. package/lib/utils/useTimeout.d.ts.map +1 -0
  323. package/lib/utils/useUpdateEffect.d.ts +5 -0
  324. package/lib/utils/useUpdateEffect.d.ts.map +1 -0
  325. package/package.json +4 -2
@@ -0,0 +1,216 @@
1
+ import React from 'react';
2
+ import { DefaultTheme } from 'styled-components';
3
+ import { Field, FormikErrors } from 'formik';
4
+ import { LocationData } from "../../fields/LocationField";
5
+ export interface FormStructure {
6
+ [key: string]: Field | Area | Select | Datepicker | Location | FieldGroup | FileUpload;
7
+ }
8
+ export interface FormField {
9
+ isRequired?: boolean;
10
+ }
11
+ export interface Field extends FormField {
12
+ type: 'Field';
13
+ inputType?: 'text' | 'number' | 'email' | 'password' | 'tel';
14
+ initialValue?: string;
15
+ placeholder?: string;
16
+ info?: string;
17
+ validate?: (key: string, value: string, config: Field) => Promise<string>;
18
+ errorMsg?: string;
19
+ }
20
+ export interface Area extends FormField {
21
+ type: 'Area';
22
+ initialValue?: string;
23
+ placeholder?: string;
24
+ info?: string;
25
+ validate?: (key: string, value: string, config: Area) => Promise<string>;
26
+ errorMsg?: string;
27
+ }
28
+ export interface Select extends FormField {
29
+ type: 'Select';
30
+ initialOption?: string;
31
+ placeholder?: string;
32
+ dropdownItems: {
33
+ label?: string;
34
+ value?: Record<string, string>;
35
+ }[];
36
+ info?: string;
37
+ validate?: (key: string, selectedItem: string, config: Select) => Promise<string>;
38
+ indicator?: (props: {
39
+ isOpen: boolean;
40
+ isDisabled?: boolean;
41
+ }) => React.ReactNode;
42
+ errorMsg?: string;
43
+ }
44
+ export interface Datepicker extends FormField {
45
+ type: 'Datepicker';
46
+ initialDates?: [Date, Date];
47
+ placeholder?: string;
48
+ minDate?: Date;
49
+ maxDate?: Date;
50
+ singleSelect?: boolean;
51
+ info?: string;
52
+ customIcon?: (props: {
53
+ isInverted?: boolean;
54
+ singleSelect?: boolean;
55
+ }) => React.ReactNode;
56
+ singleDateError?: string;
57
+ multiDateError?: string;
58
+ nextCtrlUrl?: React.ReactNode;
59
+ prevCtrlUrl?: React.ReactNode;
60
+ validate?: (key: string, value: [Date | null, Date | null], config: Datepicker) => Promise<string>;
61
+ deleteAction?: (handleClick?: (e: React.SyntheticEvent<HTMLButtonElement, Event>) => void) => React.ReactNode;
62
+ submitAction?: (handleClick?: (e: React.SyntheticEvent<HTMLButtonElement, Event>) => void) => React.ReactNode;
63
+ }
64
+ export interface Location extends FormField {
65
+ type: 'Location';
66
+ zoom?: number;
67
+ initialMapCenter?: [number, number];
68
+ placeholder?: string;
69
+ info?: string;
70
+ errorMsg?: string;
71
+ customToggle?: (props: {
72
+ isInverted?: boolean;
73
+ viewState?: 'desc' | 'map';
74
+ handleClick?: () => void;
75
+ }) => React.ReactNode;
76
+ customLocationControl?: (props: {
77
+ isInverted?: boolean;
78
+ handleClick?: () => void;
79
+ }) => React.ReactNode;
80
+ customResetControl?: (props: {
81
+ isInverted?: boolean;
82
+ handleClick?: () => void;
83
+ }) => React.ReactNode;
84
+ validate?: (key: string, value: LocationData, config: Location) => Promise<string>;
85
+ toggleLabel?: string;
86
+ trackLocationLabel?: string;
87
+ }
88
+ export interface FieldGroup extends FormField {
89
+ type: 'FieldGroup';
90
+ groupType: 'Radio' | 'Checkbox';
91
+ fields: Array<{
92
+ initialChecked?: boolean;
93
+ text?: string;
94
+ }>;
95
+ validate?: (key: string, value: Array<string> | string, config: FieldGroup) => Promise<string>;
96
+ errorMsg?: string;
97
+ infoMsg?: string;
98
+ }
99
+ export interface FileUpload extends FormField {
100
+ type: 'Upload';
101
+ addBtnLabel?: string;
102
+ removeBtnLabel?: string;
103
+ info?: string;
104
+ acceptedFormats?: string;
105
+ customUploadIcon?: (isInverted?: boolean) => React.ReactNode;
106
+ customDeleteIcon?: (isInverted?: boolean) => React.ReactNode;
107
+ validate?: (key: string, value: Array<File>, config: FileUpload) => Promise<string>;
108
+ errorMsg?: string;
109
+ }
110
+ export interface FormData {
111
+ [key: string]: FormDataTypes | string;
112
+ }
113
+ export declare type FormDataTypes = string | boolean | Record<string, string> | Array<string> | [Date | null, Date | null] | Array<File> | LocationData;
114
+ declare type FieldTypes = Field | Area | Select | Datepicker | Location | FieldGroup | FileUpload;
115
+ export interface FieldGenerationProps<T extends FieldTypes> {
116
+ field: T;
117
+ value: FormDataTypes;
118
+ error: string;
119
+ info?: string;
120
+ isTouched: boolean;
121
+ key: string;
122
+ isInverted: boolean;
123
+ hasBg: boolean;
124
+ theme: DefaultTheme;
125
+ setField: (props: {
126
+ key: string;
127
+ value: any;
128
+ shouldValidate?: boolean;
129
+ }) => Promise<void | FormikErrors<FormData>>;
130
+ validateField: (name: string) => Promise<string | undefined> | Promise<void>;
131
+ setTouched: (field: string, touched?: boolean | undefined, shouldValidate?: boolean | undefined) => Promise<void> | Promise<FormikErrors<FormData>>;
132
+ handleChange: {
133
+ (e: React.ChangeEvent<any>): void;
134
+ <T_1 = string | React.ChangeEvent<any>>(field: T_1): T_1 extends React.ChangeEvent<any> ? void : (e: string | React.ChangeEvent<any>) => void;
135
+ };
136
+ handleBlur: {
137
+ (e: React.FocusEvent<any>): void;
138
+ <T = any>(fieldOrEvent: T): T extends string ? (e: any) => void : void;
139
+ };
140
+ validateOnBlur?: boolean;
141
+ validateOnChange?: boolean;
142
+ }
143
+ export declare type FormValues = FormData & {
144
+ targetEmails: string[];
145
+ subjectLine: string;
146
+ };
147
+ export interface SubmitResponse {
148
+ message?: string;
149
+ isError?: boolean;
150
+ }
151
+ export declare const DynamicFormComponent: React.FC<{
152
+ /** ID value for targeting section with anchor hashes */
153
+ anchorId?: string | undefined;
154
+ /** Field definitions */
155
+ fields?: FormStructure | undefined;
156
+ /** Callback on form submit */
157
+ onSubmit?: ((values: FormValues) => Promise<SubmitResponse>) | undefined;
158
+ /** Function to inject custom submit button */
159
+ submitAction?: ((props: {
160
+ isInverted?: boolean;
161
+ handleSubmit?: () => Promise<any>;
162
+ isSubmitting?: boolean;
163
+ }) => React.ReactNode) | undefined;
164
+ /** List of target emails */
165
+ targetEmails?: string[] | undefined;
166
+ /** E-Mail subject */
167
+ subjectLine?: string | undefined;
168
+ /** Section background */
169
+ bgMode?: "full" | "inverted" | undefined;
170
+ /** Functions to inject custom field components (React nodes) */
171
+ definitions?: {
172
+ field?: ((props: FieldGenerationProps<Field>) => React.ReactNode) | undefined;
173
+ area?: ((props: FieldGenerationProps<Area>) => React.ReactNode) | undefined;
174
+ select?: ((props: FieldGenerationProps<Select>) => React.ReactNode) | undefined;
175
+ datepicker?: ((props: FieldGenerationProps<Datepicker>) => React.ReactNode) | undefined;
176
+ location?: ((props: FieldGenerationProps<Location>) => React.ReactNode) | undefined;
177
+ checkbox?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
178
+ radio?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
179
+ upload?: ((props: FieldGenerationProps<FileUpload>) => React.ReactNode) | undefined;
180
+ } | undefined;
181
+ }>;
182
+ declare const _default: React.FC<{
183
+ /** ID value for targeting section with anchor hashes */
184
+ anchorId?: string | undefined;
185
+ /** Field definitions */
186
+ fields?: FormStructure | undefined;
187
+ /** Callback on form submit */
188
+ onSubmit?: ((values: FormValues) => Promise<SubmitResponse>) | undefined;
189
+ /** Function to inject custom submit button */
190
+ submitAction?: ((props: {
191
+ isInverted?: boolean | undefined;
192
+ handleSubmit?: (() => Promise<any>) | undefined;
193
+ isSubmitting?: boolean | undefined;
194
+ }) => React.ReactNode) | undefined;
195
+ /** List of target emails */
196
+ targetEmails?: string[] | undefined;
197
+ /** E-Mail subject */
198
+ subjectLine?: string | undefined;
199
+ /** Section background */
200
+ bgMode?: "full" | "inverted" | undefined;
201
+ /** Functions to inject custom field components (React nodes) */
202
+ definitions?: {
203
+ field?: ((props: FieldGenerationProps<Field>) => React.ReactNode) | undefined;
204
+ area?: ((props: FieldGenerationProps<Area>) => React.ReactNode) | undefined;
205
+ select?: ((props: FieldGenerationProps<Select>) => React.ReactNode) | undefined;
206
+ datepicker?: ((props: FieldGenerationProps<Datepicker>) => React.ReactNode) | undefined;
207
+ location?: ((props: FieldGenerationProps<Location>) => React.ReactNode) | undefined;
208
+ checkbox?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
209
+ radio?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
210
+ upload?: ((props: FieldGenerationProps<FileUpload>) => React.ReactNode) | undefined;
211
+ } | undefined;
212
+ } & {
213
+ theme?: import("../../../utils/types").RecursivePartial<DefaultTheme> | undefined;
214
+ }>;
215
+ export default _default;
216
+ //# sourceMappingURL=DynamicForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DynamicForm.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/form/DynamicForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAC5E,OAAe,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKzD,OAAO,EAAE,KAAK,EAAE,YAAY,EAAa,MAAM,QAAQ,CAAC;AAKxD,OAAO,EAAE,YAAY,EAAE,mCAAwC;AA6E/D,MAAM,WAAW,aAAa;IAC1B,CAAC,GAAG,EAAE,MAAM,GACN,KAAK,GACL,IAAI,GACJ,MAAM,GACN,UAAU,GACV,QAAQ,GACR,UAAU,GACV,UAAU,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,KAAM,SAAQ,SAAS;IACpC,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,KAAK,CAAC;IAC7D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAA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A4B;;IAG5B,qBAAqB;;IAGrB,yBAAyB;;IAGzB,gEAAgE;;;;;;;;;;;;;;AAscpE,wBAAyC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { Area, FieldGenerationProps } from '../DynamicForm';
3
+ declare const renderAreaField: ({ field, key, value, error, isTouched, isInverted, handleChange, handleBlur, }: FieldGenerationProps<Area>) => JSX.Element;
4
+ export default renderAreaField;
5
+ //# sourceMappingURL=areaRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"areaRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/areaRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE5D,QAAA,MAAM,eAAe,mFASlB,qBAAqB,IAAI,CAAC,gBAc5B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { Datepicker, FieldGenerationProps } from '../DynamicForm';
3
+ declare const renderDatepickerField: ({ key, field, value, error, isTouched, isInverted, setField, setTouched, validateField, }: FieldGenerationProps<Datepicker>) => JSX.Element;
4
+ export default renderDatepickerField;
5
+ //# sourceMappingURL=datepickerRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datepickerRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/datepickerRenderer.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAIlE,QAAA,MAAM,qBAAqB,8FAUxB,qBAAqB,UAAU,CAAC,gBAiDlC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { FieldGenerationProps, FieldGroup } from '../DynamicForm';
3
+ export declare const renderRadioGroupField: ({ key, field, value, error, isTouched, isInverted, info, setField, }: FieldGenerationProps<FieldGroup>) => JSX.Element;
4
+ export declare const renderCheckboxGroupField: ({ field, key, isInverted, value, isTouched, error, info, setTouched, validateField, setField, }: FieldGenerationProps<FieldGroup>) => JSX.Element;
5
+ //# sourceMappingURL=fieldGroupRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fieldGroupRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/fieldGroupRenderer.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAsBlE,eAAO,MAAM,qBAAqB,yEAS/B,qBAAqB,UAAU,CAAC,gBA4ClC,CAAC;AAEF,eAAO,MAAM,wBAAwB,oGAWlC,qBAAqB,UAAU,CAAC,gBA2DlC,CAAC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { Field, FieldGenerationProps } from '../DynamicForm';
3
+ declare const renderField: ({ field, key, value, error, isTouched, handleChange, handleBlur, isInverted, }: FieldGenerationProps<Field>) => JSX.Element;
4
+ export default renderField;
5
+ //# sourceMappingURL=fieldRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fieldRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/fieldRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE7D,QAAA,MAAM,WAAW,mFASd,qBAAqB,KAAK,CAAC,gBAe7B,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { FieldGenerationProps } from '../DynamicForm';
3
+ import { Location } from '../DynamicForm';
4
+ declare const renderLocationField: ({ key, field, value, error, isTouched, isInverted, setField, }: FieldGenerationProps<Location>) => JSX.Element;
5
+ export default renderLocationField;
6
+ //# sourceMappingURL=locationRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locationRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/locationRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,QAAA,MAAM,mBAAmB,mEAQtB,qBAAqB,QAAQ,CAAC,gBAuChC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { Select, FieldGenerationProps } from '../DynamicForm';
3
+ declare const renderSelectField: ({ field, key, value, error, isTouched, isInverted, setField, setTouched, validateField, validateOnChange, validateOnBlur, }: FieldGenerationProps<Select>) => JSX.Element;
4
+ export default renderSelectField;
5
+ //# sourceMappingURL=selectRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/selectRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE9D,QAAA,MAAM,iBAAiB,gIAYpB,qBAAqB,MAAM,CAAC,gBA4B9B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { FileUpload, FieldGenerationProps } from '../DynamicForm';
3
+ declare const renderUploadField: ({ field, key, error, isTouched, isInverted, setField, }: FieldGenerationProps<FileUpload>) => JSX.Element;
4
+ export default renderUploadField;
5
+ //# sourceMappingURL=uploadRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploadRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/uploadRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAElE,QAAA,MAAM,iBAAiB,4DAOpB,qBAAqB,UAAU,CAAC,gBAiBlC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { Area } from '../DynamicForm';
2
+ declare const areaValidator: (key: string, value: string, config: Area) => Promise<string>;
3
+ export default areaValidator;
4
+ //# sourceMappingURL=areaValidator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"areaValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/areaValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,QAAA,MAAM,aAAa,QAAe,MAAM,SAAS,MAAM,UAAU,IAAI,oBAQpE,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { Datepicker } from '../DynamicForm';
2
+ declare const datepickerValidator: (key: string, value: [Date | null, Date | null], config: Datepicker) => Promise<string>;
3
+ export default datepickerValidator;
4
+ //# sourceMappingURL=datepickerValidator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datepickerValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/datepickerValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,mBAAmB,QAChB,MAAM,SACJ,CAAC,IAAI,GAAG,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC,UACzB,UAAU,oBAgBrB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FieldGroup } from '../DynamicForm';
2
+ declare const fieldGroupValidator: (key: string, value: Array<string> | string, config: FieldGroup) => Promise<string>;
3
+ export default fieldGroupValidator;
4
+ //# sourceMappingURL=fieldGroupValidator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fieldGroupValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/fieldGroupValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,mBAAmB,QAChB,MAAM,SACJ,MAAM,MAAM,CAAC,GAAG,MAAM,UACrB,UAAU,oBAgBrB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { Field } from '../DynamicForm';
2
+ declare const fieldValidator: (key: string, value: string, config: Field) => Promise<string>;
3
+ export default fieldValidator;
4
+ //# sourceMappingURL=fieldValidator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fieldValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/fieldValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,QAAA,MAAM,cAAc,QAAe,MAAM,SAAS,MAAM,UAAU,KAAK,oBA8BtE,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { LocationData } from "../../../fields/LocationField";
2
+ import { Location } from '../DynamicForm';
3
+ declare const locationValidator: (key: string, value: LocationData, config: Location) => Promise<string>;
4
+ export default locationValidator;
5
+ //# sourceMappingURL=locationValidator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locationValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/locationValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,sCAAwC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,QAAA,MAAM,iBAAiB,QACd,MAAM,SACJ,YAAY,UACX,QAAQ,oBAcnB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { Select } from '../DynamicForm';
2
+ declare const selectValidator: (key: string, selectedItem: string, config: Select) => Promise<string>;
3
+ export default selectValidator;
4
+ //# sourceMappingURL=selectValidator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/selectValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,QAAA,MAAM,eAAe,QACZ,MAAM,gBACG,MAAM,UACZ,MAAM,oBASjB,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FileUpload } from '../DynamicForm';
2
+ declare const uploadValidator: (key: string, files: Array<File>, config: FileUpload) => Promise<string>;
3
+ export default uploadValidator;
4
+ //# sourceMappingURL=uploadValidator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploadValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/uploadValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,eAAe,QACZ,MAAM,SACJ,MAAM,IAAI,CAAC,UACV,UAAU,oBASrB,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAG9C,OAAO,EAAE,UAAU,EAAE,iCAAsC;AAe3D,UAAU,gBAAgB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE;QACH,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACL;AA4JD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;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACL;AA4JD,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IACvD,YAAY,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,KAAK,CAAC,EAAE;QACJ,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,YAAY,CAAC,EAAE,OAAO,CAAC;KAC1B,CAAC;CACL,CAqGA,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,56 @@
1
+ import { JobCardProps } from "../../blocks/JobCard";
2
+ import React from 'react';
3
+ export interface OrganizationData {
4
+ name?: string;
5
+ url?: string;
6
+ logo?: string;
7
+ telephone?: string;
8
+ email?: string;
9
+ address?: {
10
+ streetAddress?: string;
11
+ addressLocality?: string;
12
+ postalCode?: string;
13
+ addressCountry?: string;
14
+ };
15
+ }
16
+ export declare type JobArticleProps = Omit<JobCardProps, 'isInverted' | 'hasBackground' | 'link'> & {
17
+ /** ID value for targeting section with anchor hashes */
18
+ anchorId?: string;
19
+ /** Abstract text which summarizes the job */
20
+ abstract?: string;
21
+ /** Text that describes the job (richtext) */
22
+ description?: string;
23
+ /** The hiring organization (important for structured data) */
24
+ organization?: OrganizationData;
25
+ /** The date of posting the job tender (important for structured data) */
26
+ datePosted?: Date;
27
+ /** Function to inject primary action */
28
+ primaryAction?: (isInverted?: boolean) => React.ReactNode;
29
+ /** Function to inject secondary action */
30
+ secondaryAction?: (isInverted?: boolean) => React.ReactNode;
31
+ /** Section background */
32
+ bgMode?: 'full' | 'inverted';
33
+ };
34
+ export declare const JobArticleComponent: React.FC<JobArticleProps>;
35
+ declare const _default: React.FC<Omit<JobCardProps, "link" | "isInverted" | "hasBackground"> & {
36
+ /** ID value for targeting section with anchor hashes */
37
+ anchorId?: string | undefined;
38
+ /** Abstract text which summarizes the job */
39
+ abstract?: string | undefined;
40
+ /** Text that describes the job (richtext) */
41
+ description?: string | undefined;
42
+ /** The hiring organization (important for structured data) */
43
+ organization?: OrganizationData | undefined;
44
+ /** The date of posting the job tender (important for structured data) */
45
+ datePosted?: Date | undefined;
46
+ /** Function to inject primary action */
47
+ primaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
48
+ /** Function to inject secondary action */
49
+ secondaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
50
+ /** Section background */
51
+ bgMode?: "full" | "inverted" | undefined;
52
+ } & {
53
+ theme?: import("../../../utils/types").RecursivePartial<import("styled-components").DefaultTheme> | undefined;
54
+ }>;
55
+ export default _default;
56
+ //# sourceMappingURL=JobArticle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JobArticle.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/jobs/JobArticle.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,6BAAkC;AAGzD,OAAO,KAAK,MAAM,OAAO,CAAC;AA+D1B,MAAM,WAAW,gBAAgB;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE;QACN,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,cAAc,CAAC,EAAE,MAAM,CAAC;KAC3B,CAAC;CACL;AAED,oBAAY,eAAe,GAAG,IAAI,CAC9B,YAAY,EACZ,YAAY,GAAG,eAAe,GAAG,MAAM,CAC1C,GAAG;IACA,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAEhC,yEAAyE;IACzE,UAAU,CAAC,EAAE,IAAI,CAAC;IAElB,wCAAwC;IACxC,aAAa,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAE1D,0CAA0C;IAC1C,eAAe,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAE5D,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;CAChC,CAAC;AAoIF,eAAO,MAAM,mBAAmB,2BAAa,CAAC;;IA3J1C,wDAAwD;;IAGxD,6CAA6C;;IAG7C,6CAA6C;;IAG7C,8DAA8D;;IAG9D,yEAAyE;;IAGzE,wCAAwC;;IAGxC,0CAA0C;;IAG1C,yBAAyB;;;;;AAuI7B,wBAAwC"}
@@ -0,0 +1,50 @@
1
+ import React from 'react';
2
+ import { JobCardProps } from "../../blocks/JobCard";
3
+ export interface CardProps extends JobCardProps {
4
+ id: string;
5
+ }
6
+ export declare type JobItem = Omit<CardProps, 'isInverted' | 'hasBackground' | 'modelIcon' | 'locationIcon' | 'totalLocations' | 'allLocationsLabel'>;
7
+ export declare const JobListComponent: React.FC<{
8
+ /** ID value for targeting section with anchor hashes */
9
+ anchorId?: string | undefined;
10
+ /** Array of job item settings */
11
+ jobs?: JobItem[] | undefined;
12
+ /** Total amount all locations */
13
+ totalJobLocations?: number | undefined;
14
+ /** Label to show if all location selected */
15
+ allJobLocationsLabel?: string | undefined;
16
+ /** Section background */
17
+ bgMode?: "full" | "inverted" | undefined;
18
+ /** Injection function for job time model icon */
19
+ modelIcon?: (() => React.ReactNode) | undefined;
20
+ /** Injection function for job location icon */
21
+ locationIcon?: (() => React.ReactNode) | undefined;
22
+ /** Filter placeholder */
23
+ filterPlaceholder?: string | undefined;
24
+ /** Show filter input field */
25
+ hasFilter?: boolean | undefined;
26
+ }>;
27
+ declare const _default: React.FC<{
28
+ /** ID value for targeting section with anchor hashes */
29
+ anchorId?: string | undefined;
30
+ /** Array of job item settings */
31
+ jobs?: JobItem[] | undefined;
32
+ /** Total amount all locations */
33
+ totalJobLocations?: number | undefined;
34
+ /** Label to show if all location selected */
35
+ allJobLocationsLabel?: string | undefined;
36
+ /** Section background */
37
+ bgMode?: "full" | "inverted" | undefined;
38
+ /** Injection function for job time model icon */
39
+ modelIcon?: (() => React.ReactNode) | undefined;
40
+ /** Injection function for job location icon */
41
+ locationIcon?: (() => React.ReactNode) | undefined;
42
+ /** Filter placeholder */
43
+ filterPlaceholder?: string | undefined;
44
+ /** Show filter input field */
45
+ hasFilter?: boolean | undefined;
46
+ } & {
47
+ theme?: import("../../../utils/types").RecursivePartial<import("styled-components").DefaultTheme> | undefined;
48
+ }>;
49
+ export default _default;
50
+ //# sourceMappingURL=JobList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JobList.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/jobs/JobList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAgB,EAAE,YAAY,EAAE,6BAAkC;AAuDlE,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC3C,EAAE,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,OAAO,GAAG,IAAI,CACtB,SAAS,EACP,YAAY,GACZ,eAAe,GACf,WAAW,GACX,cAAc,GACd,gBAAgB,GAChB,mBAAmB,CACxB,CAAC;AA8QF,eAAO,MAAM,gBAAgB;IAlJzB,wDAAwD;;IAGxD,iCAAiC;;IAGjC,iCAAiC;;IAGjC,6CAA6C;;IAG7C,yBAAyB;;IAGzB,iDAAiD;uBAC/B,MAAM,SAAS;IAEjC,+CAA+C;0BAC1B,MAAM,SAAS;IAEpC,yBAAyB;;IAGzB,8BAA8B;;EA0HK,CAAC;;IAlJpC,wDAAwD;;IAGxD,iCAAiC;;IAGjC,iCAAiC;;IAGjC,6CAA6C;;IAG7C,yBAAyB;;IAGzB,iDAAiD;;IAGjD,+CAA+C;;IAG/C,yBAAyB;;IAGzB,8BAA8B;;;;;AA2HlC,wBAAqC"}
@@ -0,0 +1,45 @@
1
+ import React, { FC } from 'react';
2
+ import { DefaultTheme } from 'styled-components';
3
+ export declare const getTopHeights: (theme: DefaultTheme, size?: NavBarSize | undefined) => [number, number];
4
+ export declare const hasTopBar: (theme: DefaultTheme) => boolean;
5
+ export declare const getMainHeights: (theme: DefaultTheme, size?: NavBarSize | undefined) => [number, number];
6
+ export declare const getBottomHeights: (theme: DefaultTheme, size?: NavBarSize | undefined) => [number, number];
7
+ export declare const hasBottomBar: (theme: DefaultTheme) => boolean;
8
+ export declare type ExcludeType = 'top' | 'main' | 'bottom';
9
+ /**
10
+ * Get full height of navigation bar
11
+ * @param theme Theme object
12
+ * @param size Navigation bar size
13
+ * @param exclude Exclude parts of the navbar for height calculation
14
+ * @returns [mobile, desktop]
15
+ */
16
+ export declare const getFullHeight: (theme: DefaultTheme, size?: NavBarSize | undefined, exclude?: ExcludeType[] | undefined) => [number, number];
17
+ export declare type NavBarSize = 'small' | 'large';
18
+ export interface BarStates {
19
+ size: NavBarSize;
20
+ isOpen?: boolean;
21
+ isSticky?: boolean;
22
+ pageFlow?: PageFlow;
23
+ }
24
+ export declare type PageFlow = 'overContent' | 'beforeContent';
25
+ export interface NavBarProps {
26
+ size?: NavBarSize;
27
+ isOpen?: boolean;
28
+ isSticky?: boolean;
29
+ isAnimated?: boolean;
30
+ clampWidth?: 'content' | 'full';
31
+ pageFlow?: PageFlow;
32
+ topBg?: string;
33
+ mainBg?: string;
34
+ bottomBg?: string;
35
+ /** Custom background value for NavBar with pageFlow === overContent and large size */
36
+ onContentBg?: string;
37
+ topBar?: ((props: BarStates) => React.ReactNode) | null;
38
+ mainBar?: ((props: BarStates) => React.ReactNode) | null;
39
+ bottomBar?: ((props: BarStates) => React.ReactNode) | null;
40
+ }
41
+ declare const NavBar: FC<NavBarProps & {
42
+ className?: string;
43
+ }>;
44
+ export default NavBar;
45
+ //# sourceMappingURL=NavBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/navigation/NavBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAC3C,OAAe,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAWzD,eAAO,MAAM,aAAa,UACf,YAAY,oCAEpB,CAAC,MAAM,EAAE,MAAM,CAWjB,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,YAAY,YAU5C,CAAC;AAEF,eAAO,MAAM,cAAc,UAChB,YAAY,oCAEpB,CAAC,MAAM,EAAE,MAAM,CAWjB,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAClB,YAAY,oCAEpB,CAAC,MAAM,EAAE,MAAM,CAWjB,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,YAAY,YAU/C,CAAC;AAEF,oBAAY,WAAW,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEpD;;;;;;GAMG;AACH,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@ export interface NavProps {
46
46
  name?: string;
47
47
  }) => React.ReactNode;
48
48
  search?: (isInverted?: boolean) => React.ReactNode;
49
- openMenuIcon?: (isInverted?: boolean) => React.ReactNode;
50
- closeMenuIcon?: (isInverted?: boolean) => React.ReactNode;
49
+ openMenuIcon?: (props: {
50
+ isInverted?: boolean;
51
+ clickHandler?: () => void;
52
+ }) => React.ReactNode;
53
+ closeMenuIcon?: (props: {
54
+ isInverted?: boolean;
55
+ clickHandler?: () => void;
56
+ }) => React.ReactNode;
51
57
  }
52
58
  declare const Navigation: FC<NavProps>;
53
59
  export default Navigation;
@@ -1 +1 @@
1
- {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/navigation/Navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAKzC,MAAM,WAAW,SAAS;IACtB,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE;QACX,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE;QAEX,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,4CAA4C;IAC5C,aAAa,CAAC,EAAE;QACZ,qBAAqB;QACrB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;CACL;AAED,MAAM,WAAW,QAAQ;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B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CAAC,KAAK,EAAE;QACjB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;QAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;QAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IACnD,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;KAC7B,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE;QACpB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;KAC7B,KAAK,KAAK,CAAC,SAAS,CAAC;CACzB;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,QAAQ,CAwD5B,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -7,7 +7,10 @@ declare const TopBar: FC<{
7
7
  allowTopOverlow?: boolean;
8
8
  isLargeOnPageTop?: boolean;
9
9
  onToggleClick?: () => void;
10
- toggleIcon?: (isInverted?: boolean) => React.ReactNode;
10
+ toggleIcon?: (props: {
11
+ isInverted?: boolean;
12
+ clickHandler?: () => void;
13
+ }) => React.ReactNode;
11
14
  logo?: LogoProps;
12
15
  primaryAction?: (props: {
13
16
  isInverted?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/navigation/TopBar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,EAA2C,MAAM,OAAO,CAAC;AAM3E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAmMzC,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IACvD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE;QACpB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE;QACtB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CA+LA,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/navigation/TopBar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,EAA2C,MAAM,OAAO,CAAC;AAM3E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAwMzC,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QACjB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;KAC7B,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE;QACpB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE;QACtB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAuMA,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -18,7 +18,10 @@ declare const _default: {
18
18
  isOpen?: boolean | undefined;
19
19
  isLarge?: boolean | undefined;
20
20
  isInverted?: boolean | undefined;
21
- toggleIcon?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
21
+ toggleIcon?: ((props: {
22
+ isInverted?: boolean | undefined;
23
+ clickHandler?: (() => void) | undefined;
24
+ }) => React.ReactNode) | undefined;
22
25
  logo?: LogoProps | undefined;
23
26
  primaryAction?: ((props: {
24
27
  isInverted?: boolean | undefined;