@blateral/b.kit 1.13.0 → 1.13.1-patch.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/lib/components/base/icons/AngleLeft.d.ts +8 -0
  2. package/lib/components/base/icons/AngleLeft.d.ts.map +1 -0
  3. package/lib/components/base/icons/AngleRight.d.ts +8 -0
  4. package/lib/components/base/icons/AngleRight.d.ts.map +1 -0
  5. package/lib/components/base/icons/ArrowDown.d.ts +8 -0
  6. package/lib/components/base/icons/ArrowDown.d.ts.map +1 -0
  7. package/lib/components/base/icons/ArrowLeft.d.ts +8 -0
  8. package/lib/components/base/icons/ArrowLeft.d.ts.map +1 -0
  9. package/lib/components/base/icons/ArrowUp.d.ts +8 -0
  10. package/lib/components/base/icons/ArrowUp.d.ts.map +1 -0
  11. package/lib/components/base/icons/BoxArrowUpRight.d.ts +8 -0
  12. package/lib/components/base/icons/BoxArrowUpRight.d.ts.map +1 -0
  13. package/lib/components/base/icons/CalendarToday.d.ts +8 -0
  14. package/lib/components/base/icons/CalendarToday.d.ts.map +1 -0
  15. package/lib/components/base/icons/Category.d.ts +8 -0
  16. package/lib/components/base/icons/Category.d.ts.map +1 -0
  17. package/lib/components/base/icons/Clock.d.ts +8 -0
  18. package/lib/components/base/icons/Clock.d.ts.map +1 -0
  19. package/lib/components/base/icons/ClockFilled.d.ts +8 -0
  20. package/lib/components/base/icons/ClockFilled.d.ts.map +1 -0
  21. package/lib/components/base/icons/Computer.d.ts +8 -0
  22. package/lib/components/base/icons/Computer.d.ts.map +1 -0
  23. package/lib/components/base/icons/CurrentLocation.d.ts +8 -0
  24. package/lib/components/base/icons/CurrentLocation.d.ts.map +1 -0
  25. package/lib/components/base/icons/DateRange.d.ts +8 -0
  26. package/lib/components/base/icons/DateRange.d.ts.map +1 -0
  27. package/lib/components/base/icons/DeleteForever.d.ts +8 -0
  28. package/lib/components/base/icons/DeleteForever.d.ts.map +1 -0
  29. package/lib/components/base/icons/Filter.d.ts +8 -0
  30. package/lib/components/base/icons/Filter.d.ts.map +1 -0
  31. package/lib/components/base/icons/Icons.d.ts +64 -0
  32. package/lib/components/base/icons/Icons.d.ts.map +1 -0
  33. package/lib/components/base/icons/Info.d.ts +8 -0
  34. package/lib/components/base/icons/Info.d.ts.map +1 -0
  35. package/lib/components/base/icons/Language.d.ts +8 -0
  36. package/lib/components/base/icons/Language.d.ts.map +1 -0
  37. package/lib/components/base/icons/LocationPin.d.ts +8 -0
  38. package/lib/components/base/icons/LocationPin.d.ts.map +1 -0
  39. package/lib/components/base/icons/LocationSearch.d.ts +8 -0
  40. package/lib/components/base/icons/LocationSearch.d.ts.map +1 -0
  41. package/lib/components/base/icons/Map.d.ts +8 -0
  42. package/lib/components/base/icons/Map.d.ts.map +1 -0
  43. package/lib/components/base/icons/Money.d.ts +8 -0
  44. package/lib/components/base/icons/Money.d.ts.map +1 -0
  45. package/lib/components/base/icons/MyLocation.d.ts +8 -0
  46. package/lib/components/base/icons/MyLocation.d.ts.map +1 -0
  47. package/lib/components/base/icons/Person.d.ts +8 -0
  48. package/lib/components/base/icons/Person.d.ts.map +1 -0
  49. package/lib/components/base/icons/Place.d.ts +8 -0
  50. package/lib/components/base/icons/Place.d.ts.map +1 -0
  51. package/lib/components/base/icons/ToggleOff.d.ts +8 -0
  52. package/lib/components/base/icons/ToggleOff.d.ts.map +1 -0
  53. package/lib/components/base/icons/ToggleOn.d.ts +8 -0
  54. package/lib/components/base/icons/ToggleOn.d.ts.map +1 -0
  55. package/lib/components/base/icons/files/Excel.d.ts +8 -0
  56. package/lib/components/base/icons/files/Excel.d.ts.map +1 -0
  57. package/lib/components/base/icons/files/Image.d.ts +8 -0
  58. package/lib/components/base/icons/files/Image.d.ts.map +1 -0
  59. package/lib/components/base/icons/files/Pdf.d.ts +8 -0
  60. package/lib/components/base/icons/files/Pdf.d.ts.map +1 -0
  61. package/lib/components/base/icons/files/PowerPoint.d.ts +8 -0
  62. package/lib/components/base/icons/files/PowerPoint.d.ts.map +1 -0
  63. package/lib/components/base/icons/files/UploadFile.d.ts +8 -0
  64. package/lib/components/base/icons/files/UploadFile.d.ts.map +1 -0
  65. package/lib/components/base/icons/files/Word.d.ts +8 -0
  66. package/lib/components/base/icons/files/Word.d.ts.map +1 -0
  67. package/lib/components/base/icons/files/Zip.d.ts +8 -0
  68. package/lib/components/base/icons/files/Zip.d.ts.map +1 -0
  69. package/lib/components/blocks/Alert.d.ts +23 -0
  70. package/lib/components/blocks/Alert.d.ts.map +1 -0
  71. package/lib/components/blocks/EventBlock.d.ts +42 -0
  72. package/lib/components/blocks/EventBlock.d.ts.map +1 -0
  73. package/lib/components/blocks/InfoList.d.ts +20 -0
  74. package/lib/components/blocks/InfoList.d.ts.map +1 -0
  75. package/lib/components/blocks/JobCard.d.ts +42 -0
  76. package/lib/components/blocks/JobCard.d.ts.map +1 -0
  77. package/lib/components/blocks/LanguageSwitcher.d.ts +14 -0
  78. package/lib/components/blocks/LanguageSwitcher.d.ts.map +1 -0
  79. package/lib/components/blocks/NavBlock.d.ts +24 -0
  80. package/lib/components/blocks/NavBlock.d.ts.map +1 -0
  81. package/lib/components/blocks/POICard.d.ts +47 -0
  82. package/lib/components/blocks/POICard.d.ts.map +1 -0
  83. package/lib/components/blocks/POIFacts.d.ts +12 -0
  84. package/lib/components/blocks/POIFacts.d.ts.map +1 -0
  85. package/lib/components/blocks/PriceTag.d.ts +19 -0
  86. package/lib/components/blocks/PriceTag.d.ts.map +1 -0
  87. package/lib/components/blocks/VideoBlock.d.ts +24 -0
  88. package/lib/components/blocks/VideoBlock.d.ts.map +1 -0
  89. package/lib/components/buttons/Control.d.ts +11 -0
  90. package/lib/components/buttons/Control.d.ts.map +1 -0
  91. package/lib/components/debug/DebugLines.d.ts +4 -0
  92. package/lib/components/debug/DebugLines.d.ts.map +1 -0
  93. package/lib/components/examples/hooks/ArrayHookExample.d.ts +4 -0
  94. package/lib/components/examples/hooks/ArrayHookExample.d.ts.map +1 -0
  95. package/lib/components/examples/hooks/IntervalHookExample.d.ts +4 -0
  96. package/lib/components/examples/hooks/IntervalHookExample.d.ts.map +1 -0
  97. package/lib/components/fields/Datepicker.d.ts.map +1 -1
  98. package/lib/components/fields/FilterField.d.ts +12 -0
  99. package/lib/components/fields/FilterField.d.ts.map +1 -0
  100. package/lib/components/fields/FormField.d.ts +33 -0
  101. package/lib/components/fields/FormField.d.ts.map +1 -0
  102. package/lib/components/fields/LocationField.d.ts +49 -0
  103. package/lib/components/fields/LocationField.d.ts.map +1 -0
  104. package/lib/components/sections/AlertList.d.ts +30 -0
  105. package/lib/components/sections/AlertList.d.ts.map +1 -0
  106. package/lib/components/sections/CardList.d.ts +45 -0
  107. package/lib/components/sections/CardList.d.ts.map +1 -0
  108. package/lib/components/sections/DynamicForm.d.ts.map +1 -1
  109. package/lib/components/sections/IndexList.d.ts +38 -0
  110. package/lib/components/sections/IndexList.d.ts.map +1 -0
  111. package/lib/components/sections/NavList.d.ts +31 -0
  112. package/lib/components/sections/NavList.d.ts.map +1 -0
  113. package/lib/components/sections/NewsletterForm.d.ts +90 -0
  114. package/lib/components/sections/NewsletterForm.d.ts.map +1 -0
  115. package/lib/components/sections/PriceTable.d.ts +26 -0
  116. package/lib/components/sections/PriceTable.d.ts.map +1 -0
  117. package/lib/components/sections/Quote.d.ts +29 -0
  118. package/lib/components/sections/Quote.d.ts.map +1 -0
  119. package/lib/components/sections/RawVideo.d.ts +30 -0
  120. package/lib/components/sections/RawVideo.d.ts.map +1 -0
  121. package/lib/components/sections/SimpleImage.d.ts +11 -0
  122. package/lib/components/sections/SimpleImage.d.ts.map +1 -0
  123. package/lib/components/sections/events/EventDetail.d.ts +58 -0
  124. package/lib/components/sections/events/EventDetail.d.ts.map +1 -0
  125. package/lib/components/sections/events/EventList.d.ts +42 -0
  126. package/lib/components/sections/events/EventList.d.ts.map +1 -0
  127. package/lib/components/sections/events/EventOverview.d.ts +64 -0
  128. package/lib/components/sections/events/EventOverview.d.ts.map +1 -0
  129. package/lib/components/sections/footer/Footer.d.ts +65 -0
  130. package/lib/components/sections/footer/Footer.d.ts.map +1 -0
  131. package/lib/components/sections/footer/partials/FooterBottomBar.d.ts +14 -0
  132. package/lib/components/sections/footer/partials/FooterBottomBar.d.ts.map +1 -0
  133. package/lib/components/sections/footer/partials/FooterColumn.d.ts +14 -0
  134. package/lib/components/sections/footer/partials/FooterColumn.d.ts.map +1 -0
  135. package/lib/components/sections/footer/partials/index.d.ts +3 -0
  136. package/lib/components/sections/footer/partials/index.d.ts.map +1 -0
  137. package/lib/components/sections/footer/skeletons/FooterArticle.d.ts +12 -0
  138. package/lib/components/sections/footer/skeletons/FooterArticle.d.ts.map +1 -0
  139. package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts +16 -0
  140. package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +1 -0
  141. package/lib/components/sections/footer/skeletons/index.d.ts +3 -0
  142. package/lib/components/sections/footer/skeletons/index.d.ts.map +1 -0
  143. package/lib/components/sections/form/DynamicForm.d.ts +216 -0
  144. package/lib/components/sections/form/DynamicForm.d.ts.map +1 -0
  145. package/lib/components/sections/form/renderer/areaRenderer.d.ts +5 -0
  146. package/lib/components/sections/form/renderer/areaRenderer.d.ts.map +1 -0
  147. package/lib/components/sections/form/renderer/datepickerRenderer.d.ts +5 -0
  148. package/lib/components/sections/form/renderer/datepickerRenderer.d.ts.map +1 -0
  149. package/lib/components/sections/form/renderer/fieldGroupRenderer.d.ts +5 -0
  150. package/lib/components/sections/form/renderer/fieldGroupRenderer.d.ts.map +1 -0
  151. package/lib/components/sections/form/renderer/fieldRenderer.d.ts +5 -0
  152. package/lib/components/sections/form/renderer/fieldRenderer.d.ts.map +1 -0
  153. package/lib/components/sections/form/renderer/locationRenderer.d.ts +6 -0
  154. package/lib/components/sections/form/renderer/locationRenderer.d.ts.map +1 -0
  155. package/lib/components/sections/form/renderer/selectRenderer.d.ts +5 -0
  156. package/lib/components/sections/form/renderer/selectRenderer.d.ts.map +1 -0
  157. package/lib/components/sections/form/renderer/uploadRenderer.d.ts +5 -0
  158. package/lib/components/sections/form/renderer/uploadRenderer.d.ts.map +1 -0
  159. package/lib/components/sections/form/validators/areaValidator.d.ts +4 -0
  160. package/lib/components/sections/form/validators/areaValidator.d.ts.map +1 -0
  161. package/lib/components/sections/form/validators/datepickerValidator.d.ts +4 -0
  162. package/lib/components/sections/form/validators/datepickerValidator.d.ts.map +1 -0
  163. package/lib/components/sections/form/validators/fieldGroupValidator.d.ts +4 -0
  164. package/lib/components/sections/form/validators/fieldGroupValidator.d.ts.map +1 -0
  165. package/lib/components/sections/form/validators/fieldValidator.d.ts +4 -0
  166. package/lib/components/sections/form/validators/fieldValidator.d.ts.map +1 -0
  167. package/lib/components/sections/form/validators/locationValidator.d.ts +5 -0
  168. package/lib/components/sections/form/validators/locationValidator.d.ts.map +1 -0
  169. package/lib/components/sections/form/validators/selectValidator.d.ts +4 -0
  170. package/lib/components/sections/form/validators/selectValidator.d.ts.map +1 -0
  171. package/lib/components/sections/form/validators/uploadValidator.d.ts +4 -0
  172. package/lib/components/sections/form/validators/uploadValidator.d.ts.map +1 -0
  173. package/lib/components/sections/header/Header.d.ts.map +1 -1
  174. package/lib/components/sections/jobs/JobArticle.d.ts +52 -0
  175. package/lib/components/sections/jobs/JobArticle.d.ts.map +1 -0
  176. package/lib/components/sections/jobs/JobList.d.ts +39 -0
  177. package/lib/components/sections/jobs/JobList.d.ts.map +1 -0
  178. package/lib/components/sections/navigation/NavBar.d.ts +45 -0
  179. package/lib/components/sections/navigation/NavBar.d.ts.map +1 -0
  180. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts +16 -0
  181. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -0
  182. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts +9 -0
  183. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -0
  184. package/lib/components/sections/navigation/partials/MenuFooter.d.ts +12 -0
  185. package/lib/components/sections/navigation/partials/MenuFooter.d.ts.map +1 -0
  186. package/lib/components/sections/navigation/partials/MenuHeader.d.ts +16 -0
  187. package/lib/components/sections/navigation/partials/MenuHeader.d.ts.map +1 -0
  188. package/lib/components/sections/navigation/partials/NavBarBottom.d.ts +10 -0
  189. package/lib/components/sections/navigation/partials/NavBarBottom.d.ts.map +1 -0
  190. package/lib/components/sections/navigation/partials/NavBarMain.d.ts +39 -0
  191. package/lib/components/sections/navigation/partials/NavBarMain.d.ts.map +1 -0
  192. package/lib/components/sections/navigation/partials/NavBarTop.d.ts +11 -0
  193. package/lib/components/sections/navigation/partials/NavBarTop.d.ts.map +1 -0
  194. package/lib/components/sections/navigation/partials/index.d.ts +6 -0
  195. package/lib/components/sections/navigation/partials/index.d.ts.map +1 -0
  196. package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts +18 -0
  197. package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +1 -0
  198. package/lib/components/sections/navigation/skeletons/BarColumn.d.ts +7 -0
  199. package/lib/components/sections/navigation/skeletons/BarColumn.d.ts.map +1 -0
  200. package/lib/components/sections/navigation/skeletons/BarLogo.d.ts +14 -0
  201. package/lib/components/sections/navigation/skeletons/BarLogo.d.ts.map +1 -0
  202. package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts +10 -0
  203. package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +1 -0
  204. package/lib/components/sections/navigation/skeletons/BarNavList.d.ts +9 -0
  205. package/lib/components/sections/navigation/skeletons/BarNavList.d.ts.map +1 -0
  206. package/lib/components/sections/navigation/skeletons/index.d.ts +6 -0
  207. package/lib/components/sections/navigation/skeletons/index.d.ts.map +1 -0
  208. package/lib/components/sections/pois/PointOfInterestDetail.d.ts +55 -0
  209. package/lib/components/sections/pois/PointOfInterestDetail.d.ts.map +1 -0
  210. package/lib/components/sections/pois/PointOfInterestMap.d.ts +121 -0
  211. package/lib/components/sections/pois/PointOfInterestMap.d.ts.map +1 -0
  212. package/lib/components/sections/pois/PointOfInterestOverview.d.ts +38 -0
  213. package/lib/components/sections/pois/PointOfInterestOverview.d.ts.map +1 -0
  214. package/lib/index.d.ts +1 -1
  215. package/lib/index.es.js +1 -1
  216. package/lib/index.es.js.map +1 -1
  217. package/lib/index.js +1 -1
  218. package/lib/index.js.map +1 -1
  219. package/lib/utils/arrays.d.ts +3 -0
  220. package/lib/utils/arrays.d.ts.map +1 -0
  221. package/lib/utils/concat.d.ts +8 -0
  222. package/lib/utils/concat.d.ts.map +1 -0
  223. package/lib/utils/cookie-consent/useCookieConsent.d.ts +43 -0
  224. package/lib/utils/cookie-consent/useCookieConsent.d.ts.map +1 -0
  225. package/lib/utils/dataURI.d.ts +3 -0
  226. package/lib/utils/dataURI.d.ts.map +1 -0
  227. package/lib/utils/filters.d.ts +2 -0
  228. package/lib/utils/filters.d.ts.map +1 -0
  229. package/lib/utils/fontLoading.d.ts +14 -0
  230. package/lib/utils/fontLoading.d.ts.map +1 -0
  231. package/lib/utils/formFieldText.d.ts +3 -0
  232. package/lib/utils/formFieldText.d.ts.map +1 -0
  233. package/lib/utils/getLinkIcon.d.ts +3 -0
  234. package/lib/utils/getLinkIcon.d.ts.map +1 -0
  235. package/lib/utils/menuHooks.d.ts +18 -0
  236. package/lib/utils/menuHooks.d.ts.map +1 -0
  237. package/lib/utils/navigation.d.ts +20 -0
  238. package/lib/utils/navigation.d.ts.map +1 -0
  239. package/lib/utils/structuredData.d.ts +22 -0
  240. package/lib/utils/structuredData.d.ts.map +1 -0
  241. package/lib/utils/types.d.ts +8 -0
  242. package/lib/utils/types.d.ts.map +1 -0
  243. package/lib/utils/urlParams.d.ts +4 -0
  244. package/lib/utils/urlParams.d.ts.map +1 -0
  245. package/lib/utils/useArray.d.ts +13 -0
  246. package/lib/utils/useArray.d.ts.map +1 -0
  247. package/lib/utils/useDebounce.d.ts +6 -0
  248. package/lib/utils/useDebounce.d.ts.map +1 -0
  249. package/lib/utils/useFontsLoaded.d.ts +2 -0
  250. package/lib/utils/useFontsLoaded.d.ts.map +1 -0
  251. package/lib/utils/useGeolocation.d.ts +10 -0
  252. package/lib/utils/useGeolocation.d.ts.map +1 -0
  253. package/lib/utils/useLazyInput.d.ts +8 -0
  254. package/lib/utils/useLazyInput.d.ts.map +1 -0
  255. package/lib/utils/useLeafletMap.d.ts +55 -0
  256. package/lib/utils/useLeafletMap.d.ts.map +1 -0
  257. package/lib/utils/useMounted.d.ts +3 -0
  258. package/lib/utils/useMounted.d.ts.map +1 -0
  259. package/lib/utils/usePageScroll.d.ts +23 -0
  260. package/lib/utils/usePageScroll.d.ts.map +1 -0
  261. package/lib/utils/useParams.d.ts +6 -0
  262. package/lib/utils/useParams.d.ts.map +1 -0
  263. package/lib/utils/usePrevious.d.ts +3 -0
  264. package/lib/utils/usePrevious.d.ts.map +1 -0
  265. package/lib/utils/useTimeout.d.ts +6 -0
  266. package/lib/utils/useTimeout.d.ts.map +1 -0
  267. package/lib/utils/useUpdateEffect.d.ts +5 -0
  268. package/lib/utils/useUpdateEffect.d.ts.map +1 -0
  269. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ export declare const isEmptyArray: <T>(array?: T[] | undefined) => boolean | undefined;
2
+ export declare const isValidArray: <T>(array?: T[] | undefined, allowEmpty?: boolean) => array is T[];
3
+ //# sourceMappingURL=arrays.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrays.d.ts","sourceRoot":"","sources":["../../src/utils/arrays.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,qDAIxB,CAAC;AAEF,eAAO,MAAM,YAAY,oEAOxB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const concat: (values: Array<string | number | undefined>, delimeter?: string) => string;
2
+ export declare const printAnchorTag: (props: {
3
+ href: string;
4
+ label?: string;
5
+ isExternal?: boolean;
6
+ type?: 'mail' | 'phone';
7
+ }) => string;
8
+ //# sourceMappingURL=concat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../../src/utils/concat.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,WACP,MAAM,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,yBAE3C,MAqBF,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC3B,WASA,CAAC"}
@@ -0,0 +1,43 @@
1
+ import React from 'react';
2
+ import { Cookie } from './cookie';
3
+ export interface CookieType {
4
+ label: string;
5
+ isAccepted: boolean;
6
+ isEditable: boolean;
7
+ }
8
+ export interface CookieTypes {
9
+ [key: string]: CookieType;
10
+ }
11
+ export interface CookieConsentData {
12
+ types: Record<string, boolean>;
13
+ updatedAt: number;
14
+ }
15
+ export interface CookieConsentSettings {
16
+ cookieName?: string;
17
+ initialCookieTypes?: CookieTypes;
18
+ lifetime?: number;
19
+ }
20
+ export declare const selectors: {
21
+ buttons: {
22
+ class: string;
23
+ attribute: string;
24
+ };
25
+ status: {
26
+ class: string;
27
+ attribute: string;
28
+ };
29
+ script: (key: string) => string;
30
+ };
31
+ declare const useCookieConsent: (props: CookieConsentSettings, onSubmit?: (() => void) | undefined, statusRenderer?: ((props: {
32
+ updatedAt: number;
33
+ state: CookieTypes;
34
+ }) => React.ReactElement) | undefined) => {
35
+ cookieTypes: CookieTypes;
36
+ acceptAll: () => void;
37
+ acceptSelected: () => void;
38
+ declineAll: () => void;
39
+ setConsent: (type: keyof CookieTypes, isAccepted?: boolean | undefined) => void;
40
+ getCookieValue: () => Cookie<CookieConsentData> | undefined;
41
+ };
42
+ export default useCookieConsent;
43
+ //# sourceMappingURL=useCookieConsent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCookieConsent.d.ts","sourceRoot":"","sources":["../../../src/utils/cookie-consent/useCookieConsent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAGzE,OAAO,EAAE,MAAM,EAAwB,MAAM,UAAU,CAAC;AAGxD,MAAM,WAAW,UAAU;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC;CAC7B;AAED,MAAM,WAAW,iBAAiB;IAC9B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,WAAW,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,SAAS;;;;;;;;;kBASJ,MAAM;CACvB,CAAC;AAEF,QAAA,MAAM,gBAAgB,UACX,qBAAqB,oBACX,IAAI,yCACI;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,WAAW,CAAC;CACtB,KAAK,MAAM,YAAY;;;;;uBAyKE,MAAM,WAAW;0BAehB,OAAO,iBAAiB,CAAC,GAAG,SAAS;CAYnE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const getSVGDataImg: (svg: React.ReactElement, encode?: boolean) => string;
3
+ //# sourceMappingURL=dataURI.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataURI.d.ts","sourceRoot":"","sources":["../../src/utils/dataURI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,aAAa,QACjB,MAAM,YAAY,uBAExB,MAkBF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const distinct: <T>(value: T, index: number, array: T[]) => boolean;
2
+ //# sourceMappingURL=filters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/utils/filters.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,uBAAwB,MAAM,wBAElD,CAAC"}
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ interface FontFallback {
3
+ name: string;
4
+ altFont: string;
5
+ sizeAdjust: string;
6
+ }
7
+ export interface Font {
8
+ rootPath: string;
9
+ sourcePath: string;
10
+ fallbacks?: FontFallback[];
11
+ }
12
+ export declare const importFonts: (fonts: Font[]) => JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=fontLoading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fontLoading.d.ts","sourceRoot":"","sources":["../../src/utils/fontLoading.tsx"],"names":[],"mappings":";AAEA,UAAU,YAAY;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,IAAI;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC9B;AAED,eAAO,MAAM,WAAW,UAAW,IAAI,EAAE,gBAsDxC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DefaultTheme } from 'styled-components';
2
+ export declare const getFormFieldTextSize: (theme: DefaultTheme) => [number, number?];
3
+ //# sourceMappingURL=formFieldText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formFieldText.d.ts","sourceRoot":"","sources":["../../src/utils/formFieldText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKjD,eAAO,MAAM,oBAAoB,UACtB,YAAY,KACpB,CAAC,MAAM,EAAE,MAAM,CAAC,CAIlB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DefaultTheme } from 'styled-components';
2
+ export declare const getLinkIcon: (theme: DefaultTheme, href: string, isInverted?: boolean | undefined) => string;
3
+ //# sourceMappingURL=getLinkIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getLinkIcon.d.ts","sourceRoot":"","sources":["../../src/utils/getLinkIcon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,eAAO,MAAM,WAAW,UACb,YAAY,QACb,MAAM,uCAEb,MASF,CAAC"}
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ interface Settings {
3
+ openMenuIdent: string;
4
+ closeMenuIdent: string;
5
+ }
6
+ /**
7
+ * Hooks in to menu state to control it with keyboard inputs
8
+ * @param initialMenuState
9
+ * @param settings
10
+ * @returns
11
+ */
12
+ export declare const useMenuKeyboard: (initialMenuState: boolean, settings: Partial<Settings>) => {
13
+ setRoot: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
14
+ isMenuOpen: boolean;
15
+ setIsMenuOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
16
+ };
17
+ export {};
18
+ //# sourceMappingURL=menuHooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menuHooks.d.ts","sourceRoot":"","sources":["../../src/utils/menuHooks.ts"],"names":[],"mappings":";AAEA,UAAU,QAAQ;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;GAKG;AACH,eAAO,MAAM,eAAe,qBACN,OAAO,YACf,QAAQ,QAAQ,CAAC;;;;CAgE9B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { NavItem } from "../components/sections/navigation/menu/Menu";
2
+ /**
3
+ * Get current navigation item
4
+ * @param items Array of navItems
5
+ * @param includeHidden Include items that are hidden for menu
6
+ * @returns The current navItem
7
+ */
8
+ export declare const getCurrentNavItem: (items?: NavItem[] | undefined, includeHidden?: boolean | undefined) => {
9
+ current: NavItem;
10
+ root: NavItem;
11
+ rootIndex: number;
12
+ } | null;
13
+ /**
14
+ * Get naviation item path to current navItem
15
+ * @param items Navigation array with navItems
16
+ * @param exludeHrefs navItems with specific hrefs that should be excluded
17
+ * @returns Array of NavItems
18
+ */
19
+ export declare const getCurrentNavPath: (items?: NavItem[] | undefined, exludeHrefs?: string[] | undefined) => NavItem[];
20
+ //# sourceMappingURL=navigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/utils/navigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,oDAAiD;AAEnE;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;;;QA+B7B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,kFA6B7B,CAAC"}
@@ -0,0 +1,22 @@
1
+ /// <reference types="react" />
2
+ import { MapLocation } from "../components/sections/Map";
3
+ import { OrganizationData } from "../components/sections/jobs/JobArticle";
4
+ import { JobLocation } from "../components/blocks/JobCard";
5
+ export declare const generateLocalBusiness: (locations: MapLocation[]) => ("" | JSX.Element)[];
6
+ export declare const generateFAQ: (items: {
7
+ label?: string;
8
+ text?: string;
9
+ aside?: string;
10
+ hasColumns?: boolean;
11
+ }[]) => JSX.Element;
12
+ export declare type StructuredEmploymentType = 'FULL_TIME' | 'PART_TIME' | 'CONTRACTOR' | 'TEMPORARY' | 'INTERN' | 'VOLUNTEER' | 'PER_DIEM' | 'OTHER';
13
+ export declare const generateJob: ({ jobTitle, jobDesc, organization, directApply, locations, employmentTypes, datePosted, }: {
14
+ jobTitle: string;
15
+ jobDesc?: string | undefined;
16
+ organization?: OrganizationData | undefined;
17
+ directApply?: boolean | undefined;
18
+ locations?: JobLocation[] | undefined;
19
+ employmentTypes?: StructuredEmploymentType[] | undefined;
20
+ datePosted?: Date | undefined;
21
+ }) => JSX.Element;
22
+ //# sourceMappingURL=structuredData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structuredData.d.ts","sourceRoot":"","sources":["../../src/utils/structuredData.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,mCAAgC;AAEtD,OAAO,EAAE,gBAAgB,EAAE,+CAA4C;AAEvE,OAAO,EAAE,WAAW,EAAE,qCAAkC;AAExD,eAAO,MAAM,qBAAqB,cAAe,WAAW,EAAE,yBAsC7D,CAAC;AAEF,eAAO,MAAM,WAAW,UACb;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,EAAE,gBAoBN,CAAC;AAEF,oBAAY,wBAAwB,GAC9B,WAAW,GACX,WAAW,GACX,YAAY,GACZ,WAAW,GACX,QAAQ,GACR,WAAW,GACX,UAAU,GACV,OAAO,CAAC;AAEd,eAAO,MAAM,WAAW;cASV,MAAM;;;;;;;iBAsDnB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare type RecursivePartial<T> = {
2
+ [P in keyof T]?: T[P] extends Array<infer I> ? Array<RecursivePartial<I>> : RecursivePartial<T[P]>;
3
+ };
4
+ export declare type Without<T, U> = {
5
+ [P in Exclude<keyof T, keyof U>]?: never;
6
+ };
7
+ export declare type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
8
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/utils/types.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB,CAAC,CAAC,IAAI;KAC7B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,KAAK,CAAC,MAAM,CAAC,CAAC,GACtC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,GAC1B,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC/B,CAAC;AAEF,oBAAY,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK;CAAE,CAAC;AAEzE,oBAAY,GAAG,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,MAAM,GACtC,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GACzC,CAAC,GAAG,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const getUrlParams: () => Record<string, string>;
2
+ export declare const setUrlParam: (key: string, value: string) => void;
3
+ export declare const deleteUrlParam: (key: string) => void;
4
+ //# sourceMappingURL=urlParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"urlParams.d.ts","sourceRoot":"","sources":["../../src/utils/urlParams.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,8BAiBxB,CAAC;AAEF,eAAO,MAAM,WAAW,QAAS,MAAM,SAAS,MAAM,SAgBrD,CAAC;AAEF,eAAO,MAAM,cAAc,QAAS,MAAM,SAUzC,CAAC"}
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ declare const useArray: <T>(defaultValue?: T[] | undefined) => {
3
+ array: T[];
4
+ set: import("react").Dispatch<import("react").SetStateAction<T[]>>;
5
+ push: (element: T | T[]) => void;
6
+ filter: (callback: (value: T, index: number, array: T[]) => void) => void;
7
+ update: (index: number, newEl: T) => void;
8
+ remove: (index: number) => void;
9
+ clear: () => void;
10
+ pop: () => T | undefined;
11
+ };
12
+ export default useArray;
13
+ //# sourceMappingURL=useArray.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useArray.d.ts","sourceRoot":"","sources":["../../src/utils/useArray.ts"],"names":[],"mappings":";AAEA,QAAA,MAAM,QAAQ;;;;yCAuBsB,MAAM,iBAAiB,IAAI;oBAKpC,MAAM;oBAQN,MAAM;;;CAqBhC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { DependencyList } from 'react';
2
+ declare const useDebounce: (callback: () => void, delay: number, deps: DependencyList) => {
3
+ forceUpdate: () => void;
4
+ };
5
+ export default useDebounce;
6
+ //# sourceMappingURL=useDebounce.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDebounce.d.ts","sourceRoot":"","sources":["../../src/utils/useDebounce.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA0B,MAAM,OAAO,CAAC;AAG/D,QAAA,MAAM,WAAW,aACH,MAAM,IAAI,SACb,MAAM;;CAkBhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const useFontsLoaded: () => boolean | undefined;
2
+ //# sourceMappingURL=useFontsLoaded.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFontsLoaded.d.ts","sourceRoot":"","sources":["../../src/utils/useFontsLoaded.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,2BAiB1B,CAAC"}
@@ -0,0 +1,10 @@
1
+ declare const useGeolocation: (enableHighAccuracy?: boolean, autostart?: boolean) => {
2
+ isSupported: boolean | undefined;
3
+ isEnabled: boolean | undefined;
4
+ location: GeolocationPosition | undefined;
5
+ error: GeolocationPositionError | undefined;
6
+ reset: () => void;
7
+ cancel: () => void;
8
+ };
9
+ export default useGeolocation;
10
+ //# sourceMappingURL=useGeolocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGeolocation.d.ts","sourceRoot":"","sources":["../../src/utils/useGeolocation.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc;;;;;;;CA2DnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare const useLazyInput: (callback: (value: string) => void, initial: string, delay?: number) => {
3
+ setValue: import("react").Dispatch<import("react").SetStateAction<string>>;
4
+ value: string;
5
+ forceUpdate: () => void;
6
+ };
7
+ export default useLazyInput;
8
+ //# sourceMappingURL=useLazyInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLazyInput.d.ts","sourceRoot":"","sources":["../../src/utils/useLazyInput.ts"],"names":[],"mappings":";AAGA,QAAA,MAAM,YAAY,qBACI,MAAM,KAAK,IAAI,WACxB,MAAM;;;;CAalB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,55 @@
1
+ /// <reference types="react" />
2
+ import { LeafletMouseEvent } from 'leaflet';
3
+ export interface LeafletMapSettings {
4
+ center: [number, number];
5
+ zoom: number;
6
+ minZoom?: number;
7
+ maxZoom?: number;
8
+ touchZoom: boolean;
9
+ scrollWheelZoom: boolean;
10
+ onlyScrollOnFocus: boolean;
11
+ url: string;
12
+ attribution: string;
13
+ markers: Array<LeafletMapMarker>;
14
+ activeMarkerId?: string;
15
+ fitBoundsPadding: [number, number];
16
+ restrictToMarkersArea?: boolean;
17
+ maxBoundsViscosity?: number;
18
+ markerAreaBufferRatio?: number;
19
+ showZoomControls?: boolean;
20
+ zoomControlPosition?: 'bottomleft' | 'bottomright' | 'topleft' | 'topright';
21
+ onMarkerClick?: (markerId: string) => void;
22
+ onActiveMarkerChanged?: (props: {
23
+ markerId: string;
24
+ }) => void;
25
+ onReady?: () => void;
26
+ onClick?: (ev: LeafletMouseEvent, currentZoom: number) => void;
27
+ }
28
+ export interface LeafletMapMarker {
29
+ id: string;
30
+ position: [number, number];
31
+ isInteractive?: boolean;
32
+ icon?: {
33
+ url: string;
34
+ size: [number, number];
35
+ anchor: [number, number];
36
+ sizeActive: [number, number];
37
+ anchorActive: [number, number];
38
+ };
39
+ popup?: {
40
+ text: string;
41
+ };
42
+ }
43
+ declare const useLeafletMap: (settings: Partial<LeafletMapSettings>) => {
44
+ setContainer: import("react").Dispatch<import("react").SetStateAction<HTMLElement | null>>;
45
+ flyToActive: (zoom?: number | undefined) => void;
46
+ flyToPosition: (position?: [number, number] | undefined, zoom?: number | undefined) => void;
47
+ panToPosition: (position?: [number, number] | undefined) => void;
48
+ showAllMarkers: () => void;
49
+ restrictMapToMarkers: (bufferRatio?: number | undefined) => void;
50
+ recalculateMapSize: () => void;
51
+ getCurrentZoom: () => number;
52
+ isLoaded: boolean;
53
+ };
54
+ export default useLeafletMap;
55
+ //# sourceMappingURL=useLeafletMap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLeafletMap.d.ts","sourceRoot":"","sources":["../../src/utils/useLeafletMap.tsx"],"names":[],"mappings":";AACA,OAAO,EAEH,iBAAiB,EAIpB,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,kBAAkB;IAC/B,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACjC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,YAAY,GAAG,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;IAC5E,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC9D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAClE;AAED,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACvB,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAEzB,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC7B,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KAClC,CAAC;IACF,KAAK,CAAC,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC;CACL;AAED,QAAA,MAAM,aAAa,aAAc,QAAQ,kBAAkB,CAAC;;;;;;;;;;CAqS3D,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const useMounted: () => boolean;
2
+ export default useMounted;
3
+ //# sourceMappingURL=useMounted.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMounted.d.ts","sourceRoot":"","sources":["../../src/utils/useMounted.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,UAAU,eAQf,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,23 @@
1
+ export declare enum PageScrollDirection {
2
+ UP = 0,
3
+ DOWN = 1
4
+ }
5
+ interface ScrollSettings {
6
+ /** Direction state change delay in pixels */
7
+ directionOffset?: {
8
+ up?: number;
9
+ down?: number;
10
+ };
11
+ /** Set top offset area */
12
+ offset?: number;
13
+ /** On leave top offset callback */
14
+ onLeftOffset?: (dir: PageScrollDirection) => void;
15
+ }
16
+ declare const usePageScroll: (settings?: ScrollSettings | undefined) => {
17
+ isTop: boolean;
18
+ scrollDirection: PageScrollDirection;
19
+ isInOffset: boolean;
20
+ leftOffsetFromTop: boolean;
21
+ };
22
+ export default usePageScroll;
23
+ //# sourceMappingURL=usePageScroll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePageScroll.d.ts","sourceRoot":"","sources":["../../src/utils/usePageScroll.ts"],"names":[],"mappings":"AAEA,oBAAY,mBAAmB;IAC3B,EAAE,IAAA;IACF,IAAI,IAAA;CACP;AAED,UAAU,cAAc;IACpB,6CAA6C;IAC7C,eAAe,CAAC,EAAE;QACd,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,0BAA0B;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,mBAAmB,KAAK,IAAI,CAAC;CACrD;AAED,QAAA,MAAM,aAAa;;;;;CAgGlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,6 @@
1
+ declare const useParams: () => {
2
+ params: Record<string, string>;
3
+ update: (key: string, value: string) => void;
4
+ };
5
+ export default useParams;
6
+ //# sourceMappingURL=useParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useParams.d.ts","sourceRoot":"","sources":["../../src/utils/useParams.ts"],"names":[],"mappings":"AAuBA,QAAA,MAAM,SAAS;;kBAUD,MAAM,SAAS,MAAM;CAyBlC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const usePrevious: <T>(value: T) => T | undefined;
2
+ export default usePrevious;
3
+ //# sourceMappingURL=usePrevious.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePrevious.d.ts","sourceRoot":"","sources":["../../src/utils/usePrevious.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,gCAUhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,6 @@
1
+ declare const useTimeout: (callback: () => void, delay: number) => {
2
+ clear: () => void;
3
+ reset: () => void;
4
+ };
5
+ export default useTimeout;
6
+ //# sourceMappingURL=useTimeout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTimeout.d.ts","sourceRoot":"","sources":["../../src/utils/useTimeout.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,UAAU,aAAc,MAAM,IAAI,SAAS,MAAM;;;CA8BtD,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { DependencyList, EffectCallback } from 'react';
2
+ /** useEffect function that runs only on update (not on first render) */
3
+ declare const useUpdateEffect: (effect: EffectCallback, deps?: DependencyList | undefined) => void;
4
+ export default useUpdateEffect;
5
+ //# sourceMappingURL=useUpdateEffect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useUpdateEffect.d.ts","sourceRoot":"","sources":["../../src/utils/useUpdateEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAqB,MAAM,OAAO,CAAC;AAE1E,wEAAwE;AACxE,QAAA,MAAM,eAAe,WAAY,cAAc,4CAW9C,CAAC;AAEF,eAAe,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blateral/b.kit",
3
- "version": "1.13.0",
3
+ "version": "1.13.1-patch.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",