@prezly/theme-kit-nextjs 4.1.1-alpha.0 → 4.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/build/cjs/adapter-nextjs/api-handlers/fetchGalleries.js.map +1 -0
  2. package/build/cjs/adapter-nextjs/api-handlers/fetchStories.js.map +1 -0
  3. package/build/cjs/adapter-nextjs/api-handlers/index.js.map +1 -0
  4. package/build/cjs/adapter-nextjs/getNewsroomServerSideProps.js.map +1 -0
  5. package/build/cjs/adapter-nextjs/getNewsroomStaticProps.js.map +1 -0
  6. package/build/cjs/adapter-nextjs/index.js.map +1 -0
  7. package/build/cjs/adapter-nextjs/page-props/category.js.map +1 -0
  8. package/build/cjs/adapter-nextjs/page-props/gallery.js.map +1 -0
  9. package/build/cjs/adapter-nextjs/page-props/galleryAlbum.js.map +1 -0
  10. package/build/cjs/adapter-nextjs/page-props/home.js.map +1 -0
  11. package/build/cjs/adapter-nextjs/page-props/index.js.map +1 -0
  12. package/build/cjs/adapter-nextjs/page-props/lib/types.js.map +1 -0
  13. package/build/cjs/adapter-nextjs/page-props/search.js.map +1 -0
  14. package/build/cjs/adapter-nextjs/page-props/sitemap/SitemapBuilder.js.map +1 -0
  15. package/build/cjs/adapter-nextjs/page-props/sitemap/createPaths.js.map +1 -0
  16. package/build/cjs/adapter-nextjs/page-props/sitemap/getServerSideProps.js.map +1 -0
  17. package/build/cjs/adapter-nextjs/page-props/sitemap/index.js.map +1 -0
  18. package/build/cjs/adapter-nextjs/page-props/sitemap/types.js.map +1 -0
  19. package/build/cjs/adapter-nextjs/page-props/story.js.map +1 -0
  20. package/build/cjs/adapter-nextjs/page-props/storyPreview.js.map +1 -0
  21. package/build/cjs/adapter-nextjs/processRequest.js.map +1 -0
  22. package/build/cjs/adapter-nextjs/processStaticRequest.js.map +1 -0
  23. package/build/{components-nextjs → cjs/components-nextjs}/PageSeo/PageSeo.js +0 -1
  24. package/build/cjs/components-nextjs/PageSeo/PageSeo.js.map +1 -0
  25. package/build/cjs/components-nextjs/PageSeo/index.js.map +1 -0
  26. package/build/cjs/components-nextjs/PageSeo/lib/getAbsoluteUrl.js.map +1 -0
  27. package/build/cjs/components-nextjs/PageSeo/lib/index.js.map +1 -0
  28. package/build/cjs/components-nextjs/StorySeo/StorySeo.js.map +1 -0
  29. package/build/cjs/components-nextjs/StorySeo/index.js.map +1 -0
  30. package/build/cjs/components-nextjs/document.js.map +1 -0
  31. package/build/cjs/components-nextjs/index.js.map +1 -0
  32. package/build/cjs/data-fetching/NextPrezlyApi.js.map +1 -0
  33. package/build/cjs/data-fetching/getNextPrezlyApi.js.map +1 -0
  34. package/build/cjs/data-fetching/index.js.map +1 -0
  35. package/build/cjs/index.js.map +1 -0
  36. package/build/cjs/infinite-loading/index.js.map +1 -0
  37. package/build/cjs/infinite-loading/types.js.map +1 -0
  38. package/build/cjs/infinite-loading/useInfiniteGalleriesLoading.js.map +1 -0
  39. package/build/cjs/infinite-loading/useInfiniteLoading.js.map +1 -0
  40. package/build/cjs/infinite-loading/useInfiniteStoriesLoading.js.map +1 -0
  41. package/build/cjs/intl/index.js.map +1 -0
  42. package/build/cjs/intl/languages.js.map +1 -0
  43. package/build/cjs/intl/locale.js.map +1 -0
  44. package/build/{newsroom-context → cjs/newsroom-context}/context.js +0 -1
  45. package/build/cjs/newsroom-context/context.js.map +1 -0
  46. package/build/cjs/newsroom-context/hooks/index.js.map +1 -0
  47. package/build/cjs/newsroom-context/hooks/useAlgoliaSettings.js.map +1 -0
  48. package/build/cjs/newsroom-context/hooks/useCategories.js.map +1 -0
  49. package/build/cjs/newsroom-context/hooks/useCompanyInformation.js.map +1 -0
  50. package/build/cjs/newsroom-context/hooks/useCurrentCategory.js.map +1 -0
  51. package/build/cjs/newsroom-context/hooks/useCurrentLocale.js.map +1 -0
  52. package/build/cjs/newsroom-context/hooks/useCurrentStory.js.map +1 -0
  53. package/build/cjs/newsroom-context/hooks/useGetLinkLocaleSlug.js.map +1 -0
  54. package/build/cjs/newsroom-context/hooks/useGetTranslationUrl.js.map +1 -0
  55. package/build/cjs/newsroom-context/hooks/useLanguages.js.map +1 -0
  56. package/build/cjs/newsroom-context/hooks/useNewsroom.js.map +1 -0
  57. package/build/cjs/newsroom-context/hooks/useNewsroomContext.js.map +1 -0
  58. package/build/cjs/newsroom-context/index.js.map +1 -0
  59. package/build/cjs/sentry/client.js.map +1 -0
  60. package/build/cjs/sentry/common.js.map +1 -0
  61. package/build/cjs/sentry/index.js.map +1 -0
  62. package/build/cjs/sentry/server.js.map +1 -0
  63. package/build/{infinite-loading → cjs}/types.js.map +1 -1
  64. package/build/esm/adapter-nextjs/api-handlers/fetchGalleries.js +19 -0
  65. package/build/esm/adapter-nextjs/api-handlers/fetchGalleries.js.map +1 -0
  66. package/build/esm/adapter-nextjs/api-handlers/fetchStories.js +29 -0
  67. package/build/esm/adapter-nextjs/api-handlers/fetchStories.js.map +1 -0
  68. package/build/esm/adapter-nextjs/api-handlers/index.js +3 -0
  69. package/build/esm/adapter-nextjs/api-handlers/index.js.map +1 -0
  70. package/build/esm/adapter-nextjs/getNewsroomServerSideProps.js +15 -0
  71. package/build/esm/adapter-nextjs/getNewsroomServerSideProps.js.map +1 -0
  72. package/build/esm/adapter-nextjs/getNewsroomStaticProps.js +15 -0
  73. package/build/esm/adapter-nextjs/getNewsroomStaticProps.js.map +1 -0
  74. package/build/esm/adapter-nextjs/index.js +7 -0
  75. package/build/esm/adapter-nextjs/index.js.map +1 -0
  76. package/build/esm/adapter-nextjs/page-props/category.js +97 -0
  77. package/build/esm/adapter-nextjs/page-props/category.js.map +1 -0
  78. package/build/esm/adapter-nextjs/page-props/gallery.js +66 -0
  79. package/build/esm/adapter-nextjs/page-props/gallery.js.map +1 -0
  80. package/build/esm/adapter-nextjs/page-props/galleryAlbum.js +49 -0
  81. package/build/esm/adapter-nextjs/page-props/galleryAlbum.js.map +1 -0
  82. package/build/esm/adapter-nextjs/page-props/home.js +70 -0
  83. package/build/esm/adapter-nextjs/page-props/home.js.map +1 -0
  84. package/build/esm/adapter-nextjs/page-props/index.js +9 -0
  85. package/build/esm/adapter-nextjs/page-props/index.js.map +1 -0
  86. package/build/esm/adapter-nextjs/page-props/lib/types.js +2 -0
  87. package/build/esm/adapter-nextjs/page-props/lib/types.js.map +1 -0
  88. package/build/esm/adapter-nextjs/page-props/search.js +27 -0
  89. package/build/esm/adapter-nextjs/page-props/search.js.map +1 -0
  90. package/build/esm/adapter-nextjs/page-props/sitemap/SitemapBuilder.js +47 -0
  91. package/build/esm/adapter-nextjs/page-props/sitemap/SitemapBuilder.js.map +1 -0
  92. package/build/esm/adapter-nextjs/page-props/sitemap/createPaths.js +15 -0
  93. package/build/esm/adapter-nextjs/page-props/sitemap/createPaths.js.map +1 -0
  94. package/build/esm/adapter-nextjs/page-props/sitemap/getServerSideProps.js +32 -0
  95. package/build/esm/adapter-nextjs/page-props/sitemap/getServerSideProps.js.map +1 -0
  96. package/build/esm/adapter-nextjs/page-props/sitemap/index.js +5 -0
  97. package/build/esm/adapter-nextjs/page-props/sitemap/index.js.map +1 -0
  98. package/build/esm/adapter-nextjs/page-props/sitemap/types.js +2 -0
  99. package/build/esm/adapter-nextjs/page-props/sitemap/types.js.map +1 -0
  100. package/build/esm/adapter-nextjs/page-props/story.js +63 -0
  101. package/build/esm/adapter-nextjs/page-props/story.js.map +1 -0
  102. package/build/esm/adapter-nextjs/page-props/storyPreview.js +22 -0
  103. package/build/esm/adapter-nextjs/page-props/storyPreview.js.map +1 -0
  104. package/build/esm/adapter-nextjs/processRequest.js +33 -0
  105. package/build/esm/adapter-nextjs/processRequest.js.map +1 -0
  106. package/build/esm/adapter-nextjs/processStaticRequest.js +22 -0
  107. package/build/esm/adapter-nextjs/processStaticRequest.js.map +1 -0
  108. package/build/esm/components-nextjs/PageSeo/PageSeo.js +77 -0
  109. package/build/esm/components-nextjs/PageSeo/PageSeo.js.map +1 -0
  110. package/build/esm/components-nextjs/PageSeo/index.js +2 -0
  111. package/build/esm/components-nextjs/PageSeo/index.js.map +1 -0
  112. package/build/esm/components-nextjs/PageSeo/lib/getAbsoluteUrl.js +7 -0
  113. package/build/esm/components-nextjs/PageSeo/lib/getAbsoluteUrl.js.map +1 -0
  114. package/build/esm/components-nextjs/PageSeo/lib/index.js +2 -0
  115. package/build/esm/components-nextjs/PageSeo/lib/index.js.map +1 -0
  116. package/build/esm/components-nextjs/StorySeo/StorySeo.js +52 -0
  117. package/build/esm/components-nextjs/StorySeo/StorySeo.js.map +1 -0
  118. package/build/esm/components-nextjs/StorySeo/index.js +2 -0
  119. package/build/esm/components-nextjs/StorySeo/index.js.map +1 -0
  120. package/build/esm/components-nextjs/document.js +21 -0
  121. package/build/esm/components-nextjs/document.js.map +1 -0
  122. package/build/esm/components-nextjs/index.js +4 -0
  123. package/build/esm/components-nextjs/index.js.map +1 -0
  124. package/build/esm/data-fetching/NextPrezlyApi.js +36 -0
  125. package/build/esm/data-fetching/NextPrezlyApi.js.map +1 -0
  126. package/build/esm/data-fetching/getNextPrezlyApi.js +17 -0
  127. package/build/esm/data-fetching/getNextPrezlyApi.js.map +1 -0
  128. package/build/esm/data-fetching/index.js +2 -0
  129. package/build/esm/data-fetching/index.js.map +1 -0
  130. package/build/esm/index.js +9 -0
  131. package/build/esm/index.js.map +1 -0
  132. package/build/esm/infinite-loading/index.js +5 -0
  133. package/build/esm/infinite-loading/index.js.map +1 -0
  134. package/build/esm/infinite-loading/types.js +2 -0
  135. package/build/esm/infinite-loading/types.js.map +1 -0
  136. package/build/esm/infinite-loading/useInfiniteGalleriesLoading.js +41 -0
  137. package/build/esm/infinite-loading/useInfiniteGalleriesLoading.js.map +1 -0
  138. package/build/esm/infinite-loading/useInfiniteLoading.js +40 -0
  139. package/build/esm/infinite-loading/useInfiniteLoading.js.map +1 -0
  140. package/build/esm/infinite-loading/useInfiniteStoriesLoading.js +58 -0
  141. package/build/esm/infinite-loading/useInfiniteStoriesLoading.js.map +1 -0
  142. package/build/esm/intl/index.js +3 -0
  143. package/build/esm/intl/index.js.map +1 -0
  144. package/build/esm/intl/languages.js +26 -0
  145. package/build/esm/intl/languages.js.map +1 -0
  146. package/build/esm/intl/locale.js +25 -0
  147. package/build/esm/intl/locale.js.map +1 -0
  148. package/build/esm/newsroom-context/context.js +25 -0
  149. package/build/esm/newsroom-context/context.js.map +1 -0
  150. package/build/esm/newsroom-context/hooks/index.js +12 -0
  151. package/build/esm/newsroom-context/hooks/index.js.map +1 -0
  152. package/build/esm/newsroom-context/hooks/useAlgoliaSettings.js +6 -0
  153. package/build/esm/newsroom-context/hooks/useAlgoliaSettings.js.map +1 -0
  154. package/build/esm/newsroom-context/hooks/useCategories.js +6 -0
  155. package/build/esm/newsroom-context/hooks/useCategories.js.map +1 -0
  156. package/build/esm/newsroom-context/hooks/useCompanyInformation.js +6 -0
  157. package/build/esm/newsroom-context/hooks/useCompanyInformation.js.map +1 -0
  158. package/build/esm/newsroom-context/hooks/useCurrentCategory.js +6 -0
  159. package/build/esm/newsroom-context/hooks/useCurrentCategory.js.map +1 -0
  160. package/build/esm/newsroom-context/hooks/useCurrentLocale.js +6 -0
  161. package/build/esm/newsroom-context/hooks/useCurrentLocale.js.map +1 -0
  162. package/build/esm/newsroom-context/hooks/useCurrentStory.js +6 -0
  163. package/build/esm/newsroom-context/hooks/useCurrentStory.js.map +1 -0
  164. package/build/esm/newsroom-context/hooks/useGetLinkLocaleSlug.js +25 -0
  165. package/build/esm/newsroom-context/hooks/useGetLinkLocaleSlug.js.map +1 -0
  166. package/build/esm/newsroom-context/hooks/useGetTranslationUrl.js +71 -0
  167. package/build/esm/newsroom-context/hooks/useGetTranslationUrl.js.map +1 -0
  168. package/build/esm/newsroom-context/hooks/useLanguages.js +6 -0
  169. package/build/esm/newsroom-context/hooks/useLanguages.js.map +1 -0
  170. package/build/esm/newsroom-context/hooks/useNewsroom.js +6 -0
  171. package/build/esm/newsroom-context/hooks/useNewsroom.js.map +1 -0
  172. package/build/esm/newsroom-context/hooks/useNewsroomContext.js +12 -0
  173. package/build/esm/newsroom-context/hooks/useNewsroomContext.js.map +1 -0
  174. package/build/esm/newsroom-context/index.js +3 -0
  175. package/build/esm/newsroom-context/index.js.map +1 -0
  176. package/build/esm/sentry/client.js +5 -0
  177. package/build/esm/sentry/client.js.map +1 -0
  178. package/build/esm/sentry/common.js +62 -0
  179. package/build/{sentry → esm/sentry}/common.js.map +1 -1
  180. package/build/esm/sentry/index.js +3 -0
  181. package/build/esm/sentry/index.js.map +1 -0
  182. package/build/esm/sentry/server.js +5 -0
  183. package/build/esm/sentry/server.js.map +1 -0
  184. package/build/esm/types.js +2 -0
  185. package/build/esm/types.js.map +1 -0
  186. package/build/tsconfig.cjs.tsbuildinfo +1 -0
  187. package/build/tsconfig.esm.tsbuildinfo +1 -0
  188. package/build/types/adapter-nextjs/api-handlers/fetchGalleries.d.ts +2 -0
  189. package/build/types/adapter-nextjs/api-handlers/fetchStories.d.ts +2 -0
  190. package/build/types/adapter-nextjs/api-handlers/index.d.ts +2 -0
  191. package/build/types/adapter-nextjs/getNewsroomServerSideProps.d.ts +15 -0
  192. package/build/types/adapter-nextjs/getNewsroomStaticProps.d.ts +15 -0
  193. package/build/types/adapter-nextjs/index.d.ts +6 -0
  194. package/build/types/adapter-nextjs/page-props/category.d.ts +16 -0
  195. package/build/types/adapter-nextjs/page-props/gallery.d.ts +14 -0
  196. package/build/types/adapter-nextjs/page-props/galleryAlbum.d.ts +9 -0
  197. package/build/types/adapter-nextjs/page-props/home.d.ts +22 -0
  198. package/build/types/adapter-nextjs/page-props/index.d.ts +8 -0
  199. package/build/types/adapter-nextjs/page-props/lib/types.d.ts +3 -0
  200. package/build/types/adapter-nextjs/page-props/search.d.ts +4 -0
  201. package/build/types/adapter-nextjs/page-props/sitemap/SitemapBuilder.d.ts +11 -0
  202. package/build/types/adapter-nextjs/page-props/sitemap/createPaths.d.ts +2 -0
  203. package/build/types/adapter-nextjs/page-props/sitemap/getServerSideProps.d.ts +7 -0
  204. package/build/types/adapter-nextjs/page-props/sitemap/index.d.ts +4 -0
  205. package/build/types/adapter-nextjs/page-props/sitemap/types.d.ts +5 -0
  206. package/build/types/adapter-nextjs/page-props/story.d.ts +14 -0
  207. package/build/types/adapter-nextjs/page-props/storyPreview.d.ts +3 -0
  208. package/build/types/adapter-nextjs/processRequest.d.ts +12 -0
  209. package/build/types/adapter-nextjs/processStaticRequest.d.ts +11 -0
  210. package/build/types/components-nextjs/PageSeo/PageSeo.d.ts +12 -0
  211. package/build/types/components-nextjs/PageSeo/index.d.ts +1 -0
  212. package/build/types/components-nextjs/PageSeo/lib/getAbsoluteUrl.d.ts +1 -0
  213. package/build/types/components-nextjs/PageSeo/lib/index.d.ts +1 -0
  214. package/build/types/components-nextjs/StorySeo/StorySeo.d.ts +12 -0
  215. package/build/types/components-nextjs/StorySeo/index.d.ts +1 -0
  216. package/build/types/components-nextjs/document.d.ts +6 -0
  217. package/build/types/components-nextjs/index.d.ts +3 -0
  218. package/build/types/data-fetching/NextPrezlyApi.d.ts +8 -0
  219. package/build/types/data-fetching/getNextPrezlyApi.d.ts +4 -0
  220. package/build/types/data-fetching/index.d.ts +1 -0
  221. package/build/types/index.d.ts +8 -0
  222. package/build/types/infinite-loading/index.d.ts +4 -0
  223. package/build/types/infinite-loading/types.d.ts +9 -0
  224. package/build/types/infinite-loading/useInfiniteGalleriesLoading.d.ts +13 -0
  225. package/build/types/infinite-loading/useInfiniteLoading.d.ts +16 -0
  226. package/build/types/infinite-loading/useInfiniteStoriesLoading.d.ts +13 -0
  227. package/build/types/intl/index.d.ts +2 -0
  228. package/build/types/intl/languages.d.ts +6 -0
  229. package/build/types/intl/locale.d.ts +5 -0
  230. package/build/types/newsroom-context/context.d.ts +62 -0
  231. package/build/types/newsroom-context/hooks/index.d.ts +11 -0
  232. package/build/types/newsroom-context/hooks/useAlgoliaSettings.d.ts +1 -0
  233. package/build/types/newsroom-context/hooks/useCategories.d.ts +1 -0
  234. package/build/types/newsroom-context/hooks/useCompanyInformation.d.ts +1 -0
  235. package/build/types/newsroom-context/hooks/useCurrentCategory.d.ts +1 -0
  236. package/build/types/newsroom-context/hooks/useCurrentLocale.d.ts +1 -0
  237. package/build/types/newsroom-context/hooks/useCurrentStory.d.ts +1 -0
  238. package/build/types/newsroom-context/hooks/useGetLinkLocaleSlug.d.ts +2 -0
  239. package/build/types/newsroom-context/hooks/useGetTranslationUrl.d.ts +6 -0
  240. package/build/types/newsroom-context/hooks/useLanguages.d.ts +1 -0
  241. package/build/types/newsroom-context/hooks/useNewsroom.d.ts +1 -0
  242. package/build/types/newsroom-context/hooks/useNewsroomContext.d.ts +2 -0
  243. package/build/types/newsroom-context/index.d.ts +2 -0
  244. package/build/types/sentry/client.d.ts +2 -0
  245. package/build/types/sentry/common.d.ts +2 -0
  246. package/build/types/sentry/index.d.ts +2 -0
  247. package/build/types/sentry/server.d.ts +2 -0
  248. package/build/types/types.d.ts +14 -0
  249. package/package.json +13 -6
  250. package/src/components-nextjs/PageSeo/PageSeo.tsx +0 -2
  251. package/src/newsroom-context/context.tsx +0 -2
  252. package/build/adapter-nextjs/api-handlers/fetchGalleries.js.map +0 -1
  253. package/build/adapter-nextjs/api-handlers/fetchStories.js.map +0 -1
  254. package/build/adapter-nextjs/api-handlers/index.js.map +0 -1
  255. package/build/adapter-nextjs/getNewsroomServerSideProps.js.map +0 -1
  256. package/build/adapter-nextjs/getNewsroomStaticProps.js.map +0 -1
  257. package/build/adapter-nextjs/index.js.map +0 -1
  258. package/build/adapter-nextjs/page-props/category.js.map +0 -1
  259. package/build/adapter-nextjs/page-props/gallery.js.map +0 -1
  260. package/build/adapter-nextjs/page-props/galleryAlbum.js.map +0 -1
  261. package/build/adapter-nextjs/page-props/home.js.map +0 -1
  262. package/build/adapter-nextjs/page-props/index.js.map +0 -1
  263. package/build/adapter-nextjs/page-props/lib/types.js.map +0 -1
  264. package/build/adapter-nextjs/page-props/search.js.map +0 -1
  265. package/build/adapter-nextjs/page-props/sitemap/SitemapBuilder.js.map +0 -1
  266. package/build/adapter-nextjs/page-props/sitemap/createPaths.js.map +0 -1
  267. package/build/adapter-nextjs/page-props/sitemap/getServerSideProps.js.map +0 -1
  268. package/build/adapter-nextjs/page-props/sitemap/index.js.map +0 -1
  269. package/build/adapter-nextjs/page-props/sitemap/types.js.map +0 -1
  270. package/build/adapter-nextjs/page-props/story.js.map +0 -1
  271. package/build/adapter-nextjs/page-props/storyPreview.js.map +0 -1
  272. package/build/adapter-nextjs/processRequest.js.map +0 -1
  273. package/build/adapter-nextjs/processStaticRequest.js.map +0 -1
  274. package/build/components-nextjs/PageSeo/PageSeo.js.map +0 -1
  275. package/build/components-nextjs/PageSeo/index.js.map +0 -1
  276. package/build/components-nextjs/PageSeo/lib/getAbsoluteUrl.js.map +0 -1
  277. package/build/components-nextjs/PageSeo/lib/index.js.map +0 -1
  278. package/build/components-nextjs/StorySeo/StorySeo.js.map +0 -1
  279. package/build/components-nextjs/StorySeo/index.js.map +0 -1
  280. package/build/components-nextjs/document.js.map +0 -1
  281. package/build/components-nextjs/index.js.map +0 -1
  282. package/build/data-fetching/NextPrezlyApi.js.map +0 -1
  283. package/build/data-fetching/getNextPrezlyApi.js.map +0 -1
  284. package/build/data-fetching/index.js.map +0 -1
  285. package/build/index.js.map +0 -1
  286. package/build/infinite-loading/index.js.map +0 -1
  287. package/build/infinite-loading/useInfiniteGalleriesLoading.js.map +0 -1
  288. package/build/infinite-loading/useInfiniteLoading.js.map +0 -1
  289. package/build/infinite-loading/useInfiniteStoriesLoading.js.map +0 -1
  290. package/build/intl/index.js.map +0 -1
  291. package/build/intl/languages.js.map +0 -1
  292. package/build/intl/locale.js.map +0 -1
  293. package/build/newsroom-context/context.js.map +0 -1
  294. package/build/newsroom-context/hooks/index.js.map +0 -1
  295. package/build/newsroom-context/hooks/useAlgoliaSettings.js.map +0 -1
  296. package/build/newsroom-context/hooks/useCategories.js.map +0 -1
  297. package/build/newsroom-context/hooks/useCompanyInformation.js.map +0 -1
  298. package/build/newsroom-context/hooks/useCurrentCategory.js.map +0 -1
  299. package/build/newsroom-context/hooks/useCurrentLocale.js.map +0 -1
  300. package/build/newsroom-context/hooks/useCurrentStory.js.map +0 -1
  301. package/build/newsroom-context/hooks/useGetLinkLocaleSlug.js.map +0 -1
  302. package/build/newsroom-context/hooks/useGetTranslationUrl.js.map +0 -1
  303. package/build/newsroom-context/hooks/useLanguages.js.map +0 -1
  304. package/build/newsroom-context/hooks/useNewsroom.js.map +0 -1
  305. package/build/newsroom-context/hooks/useNewsroomContext.js.map +0 -1
  306. package/build/newsroom-context/index.js.map +0 -1
  307. package/build/sentry/client.js.map +0 -1
  308. package/build/sentry/index.js.map +0 -1
  309. package/build/sentry/server.js.map +0 -1
  310. package/build/types.js.map +0 -1
  311. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/api-handlers/fetchGalleries.d.ts +0 -0
  312. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/api-handlers/fetchGalleries.js +0 -0
  313. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/api-handlers/fetchStories.d.ts +0 -0
  314. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/api-handlers/fetchStories.js +0 -0
  315. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/api-handlers/index.d.ts +0 -0
  316. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/api-handlers/index.js +0 -0
  317. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/getNewsroomServerSideProps.d.ts +0 -0
  318. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/getNewsroomServerSideProps.js +0 -0
  319. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/getNewsroomStaticProps.d.ts +0 -0
  320. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/getNewsroomStaticProps.js +0 -0
  321. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/index.d.ts +0 -0
  322. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/index.js +0 -0
  323. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/category.d.ts +0 -0
  324. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/category.js +0 -0
  325. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/gallery.d.ts +0 -0
  326. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/gallery.js +0 -0
  327. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/galleryAlbum.d.ts +0 -0
  328. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/galleryAlbum.js +0 -0
  329. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/home.d.ts +0 -0
  330. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/home.js +0 -0
  331. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/index.d.ts +0 -0
  332. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/index.js +0 -0
  333. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/lib/types.d.ts +0 -0
  334. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/lib/types.js +0 -0
  335. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/search.d.ts +0 -0
  336. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/search.js +0 -0
  337. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/sitemap/SitemapBuilder.d.ts +0 -0
  338. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/sitemap/SitemapBuilder.js +0 -0
  339. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/sitemap/createPaths.d.ts +0 -0
  340. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/sitemap/createPaths.js +0 -0
  341. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/sitemap/getServerSideProps.d.ts +0 -0
  342. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/sitemap/getServerSideProps.js +0 -0
  343. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/sitemap/index.d.ts +0 -0
  344. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/sitemap/index.js +0 -0
  345. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/sitemap/types.d.ts +0 -0
  346. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/sitemap/types.js +0 -0
  347. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/story.d.ts +0 -0
  348. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/story.js +0 -0
  349. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/storyPreview.d.ts +0 -0
  350. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/page-props/storyPreview.js +0 -0
  351. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/processRequest.d.ts +0 -0
  352. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/processRequest.js +0 -0
  353. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/processStaticRequest.d.ts +0 -0
  354. /package/build/{adapter-nextjs → cjs/adapter-nextjs}/processStaticRequest.js +0 -0
  355. /package/build/{components-nextjs → cjs/components-nextjs}/PageSeo/PageSeo.d.ts +0 -0
  356. /package/build/{components-nextjs → cjs/components-nextjs}/PageSeo/index.d.ts +0 -0
  357. /package/build/{components-nextjs → cjs/components-nextjs}/PageSeo/index.js +0 -0
  358. /package/build/{components-nextjs → cjs/components-nextjs}/PageSeo/lib/getAbsoluteUrl.d.ts +0 -0
  359. /package/build/{components-nextjs → cjs/components-nextjs}/PageSeo/lib/getAbsoluteUrl.js +0 -0
  360. /package/build/{components-nextjs → cjs/components-nextjs}/PageSeo/lib/index.d.ts +0 -0
  361. /package/build/{components-nextjs → cjs/components-nextjs}/PageSeo/lib/index.js +0 -0
  362. /package/build/{components-nextjs → cjs/components-nextjs}/StorySeo/StorySeo.d.ts +0 -0
  363. /package/build/{components-nextjs → cjs/components-nextjs}/StorySeo/StorySeo.js +0 -0
  364. /package/build/{components-nextjs → cjs/components-nextjs}/StorySeo/index.d.ts +0 -0
  365. /package/build/{components-nextjs → cjs/components-nextjs}/StorySeo/index.js +0 -0
  366. /package/build/{components-nextjs → cjs/components-nextjs}/document.d.ts +0 -0
  367. /package/build/{components-nextjs → cjs/components-nextjs}/document.js +0 -0
  368. /package/build/{components-nextjs → cjs/components-nextjs}/index.d.ts +0 -0
  369. /package/build/{components-nextjs → cjs/components-nextjs}/index.js +0 -0
  370. /package/build/{data-fetching → cjs/data-fetching}/NextPrezlyApi.d.ts +0 -0
  371. /package/build/{data-fetching → cjs/data-fetching}/NextPrezlyApi.js +0 -0
  372. /package/build/{data-fetching → cjs/data-fetching}/getNextPrezlyApi.d.ts +0 -0
  373. /package/build/{data-fetching → cjs/data-fetching}/getNextPrezlyApi.js +0 -0
  374. /package/build/{data-fetching → cjs/data-fetching}/index.d.ts +0 -0
  375. /package/build/{data-fetching → cjs/data-fetching}/index.js +0 -0
  376. /package/build/{index.d.ts → cjs/index.d.ts} +0 -0
  377. /package/build/{index.js → cjs/index.js} +0 -0
  378. /package/build/{infinite-loading → cjs/infinite-loading}/index.d.ts +0 -0
  379. /package/build/{infinite-loading → cjs/infinite-loading}/index.js +0 -0
  380. /package/build/{infinite-loading → cjs/infinite-loading}/types.d.ts +0 -0
  381. /package/build/{infinite-loading → cjs/infinite-loading}/types.js +0 -0
  382. /package/build/{infinite-loading → cjs/infinite-loading}/useInfiniteGalleriesLoading.d.ts +0 -0
  383. /package/build/{infinite-loading → cjs/infinite-loading}/useInfiniteGalleriesLoading.js +0 -0
  384. /package/build/{infinite-loading → cjs/infinite-loading}/useInfiniteLoading.d.ts +0 -0
  385. /package/build/{infinite-loading → cjs/infinite-loading}/useInfiniteLoading.js +0 -0
  386. /package/build/{infinite-loading → cjs/infinite-loading}/useInfiniteStoriesLoading.d.ts +0 -0
  387. /package/build/{infinite-loading → cjs/infinite-loading}/useInfiniteStoriesLoading.js +0 -0
  388. /package/build/{intl → cjs/intl}/index.d.ts +0 -0
  389. /package/build/{intl → cjs/intl}/index.js +0 -0
  390. /package/build/{intl → cjs/intl}/languages.d.ts +0 -0
  391. /package/build/{intl → cjs/intl}/languages.js +0 -0
  392. /package/build/{intl → cjs/intl}/locale.d.ts +0 -0
  393. /package/build/{intl → cjs/intl}/locale.js +0 -0
  394. /package/build/{newsroom-context → cjs/newsroom-context}/context.d.ts +0 -0
  395. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/index.d.ts +0 -0
  396. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/index.js +0 -0
  397. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useAlgoliaSettings.d.ts +0 -0
  398. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useAlgoliaSettings.js +0 -0
  399. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useCategories.d.ts +0 -0
  400. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useCategories.js +0 -0
  401. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useCompanyInformation.d.ts +0 -0
  402. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useCompanyInformation.js +0 -0
  403. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useCurrentCategory.d.ts +0 -0
  404. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useCurrentCategory.js +0 -0
  405. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useCurrentLocale.d.ts +0 -0
  406. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useCurrentLocale.js +0 -0
  407. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useCurrentStory.d.ts +0 -0
  408. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useCurrentStory.js +0 -0
  409. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useGetLinkLocaleSlug.d.ts +0 -0
  410. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useGetLinkLocaleSlug.js +0 -0
  411. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useGetTranslationUrl.d.ts +0 -0
  412. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useGetTranslationUrl.js +0 -0
  413. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useLanguages.d.ts +0 -0
  414. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useLanguages.js +0 -0
  415. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useNewsroom.d.ts +0 -0
  416. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useNewsroom.js +0 -0
  417. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useNewsroomContext.d.ts +0 -0
  418. /package/build/{newsroom-context → cjs/newsroom-context}/hooks/useNewsroomContext.js +0 -0
  419. /package/build/{newsroom-context → cjs/newsroom-context}/index.d.ts +0 -0
  420. /package/build/{newsroom-context → cjs/newsroom-context}/index.js +0 -0
  421. /package/build/{sentry → cjs/sentry}/client.d.ts +0 -0
  422. /package/build/{sentry → cjs/sentry}/client.js +0 -0
  423. /package/build/{sentry → cjs/sentry}/common.d.ts +0 -0
  424. /package/build/{sentry → cjs/sentry}/common.js +0 -0
  425. /package/build/{sentry → cjs/sentry}/index.d.ts +0 -0
  426. /package/build/{sentry → cjs/sentry}/index.js +0 -0
  427. /package/build/{sentry → cjs/sentry}/server.d.ts +0 -0
  428. /package/build/{sentry → cjs/sentry}/server.js +0 -0
  429. /package/build/{types.d.ts → cjs/types.d.ts} +0 -0
  430. /package/build/{types.js → cjs/types.js} +0 -0
@@ -0,0 +1,2 @@
1
+ import type { Category, Story } from '@prezly/sdk';
2
+ export declare function createPaths(stories: Story[], categories: Category[]): string[];
@@ -0,0 +1,7 @@
1
+ import type { NextPageContext } from 'next';
2
+ export declare function getSitemapServerSideProps(options?: {
3
+ additionalPaths?: string[];
4
+ pinning?: boolean;
5
+ }): (ctx: NextPageContext) => Promise<{
6
+ props: {};
7
+ }>;
@@ -0,0 +1,4 @@
1
+ export { getSitemapServerSideProps } from './getServerSideProps';
2
+ export { SitemapBuilder } from './SitemapBuilder';
3
+ export { createPaths } from './createPaths';
4
+ export * from './types';
@@ -0,0 +1,5 @@
1
+ export type SitemapUrl = {
2
+ location: string;
3
+ changeFrequency?: string;
4
+ priority?: string;
5
+ };
@@ -0,0 +1,14 @@
1
+ import type { GetServerSidePropsContext, GetServerSidePropsResult, GetStaticPropsContext, GetStaticPropsResult } from 'next';
2
+ import type { PropsFunction } from './lib/types';
3
+ export declare function getStoryPageServerSideProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps>): (context: GetServerSidePropsContext) => Promise<GetServerSidePropsResult<CustomProps>>;
4
+ export declare function getStoryPageStaticProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps, GetStaticPropsContext>): (context: GetStaticPropsContext) => Promise<GetStaticPropsResult<CustomProps>>;
5
+ export declare function getStoryPageStaticPaths(options?: {
6
+ pinning?: boolean;
7
+ }): Promise<{
8
+ paths: {
9
+ params: {
10
+ slug: string;
11
+ };
12
+ }[];
13
+ fallback: string;
14
+ }>;
@@ -0,0 +1,3 @@
1
+ import type { GetServerSidePropsContext, GetServerSidePropsResult } from 'next';
2
+ import type { PropsFunction } from './lib/types';
3
+ export declare function getStoryPreviewPageServerSideProps<CustomProps extends Record<string, any>>(customProps: CustomProps | PropsFunction<CustomProps>): (context: GetServerSidePropsContext) => Promise<GetServerSidePropsResult<CustomProps>>;
@@ -0,0 +1,12 @@
1
+ import type { GetServerSidePropsContext, GetServerSidePropsResult } from 'next';
2
+ import type { PageProps, ServerSidePageProps } from '../types';
3
+ /**
4
+ * This function combines the props returned from `getNewsroomServerSideProps` and your optional custom props for the page.
5
+ * It also handles locale redirects, if `canonicalUrl` parameter is provided.
6
+ * See README for usage examples.
7
+ *
8
+ * @param context Next.js context passed to the `getServerSideProps` method of the page
9
+ * @param props Object containing the return of `getNewsroomServerSideProps` and your optional custom props.
10
+ * @param canonicalUrl Optional: a canonical URL for the current page without locale part. If provided, locale redirects will be handled by the function.
11
+ */
12
+ export declare function processRequest<Props>(context: GetServerSidePropsContext, props: Props & PageProps & ServerSidePageProps, canonicalUrl?: string): GetServerSidePropsResult<Props>;
@@ -0,0 +1,11 @@
1
+ import type { GetStaticPropsContext, GetStaticPropsResult } from 'next';
2
+ import type { PageProps, ServerSidePageProps } from '../types';
3
+ /**
4
+ * This function combines the props returned from `getNewsroomStaticProps` and your optional custom props for the page.
5
+ * See README for usage examples.
6
+ *
7
+ * @param context Next.js context passed to the `getStaticProps` method of the page
8
+ * @param props Object containing the return of `getNewsroomServerSideProps` and your optional custom props.
9
+ * @param revalidateTimeout Optional: timeout in seconds to use with Next ISR.
10
+ */
11
+ export declare function processStaticRequest<Props>(context: GetStaticPropsContext, props: Props & PageProps & ServerSidePageProps, revalidateTimeout?: number): GetStaticPropsResult<Props>;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import type { NextSeoProps } from 'next-seo';
3
+ type Props = NextSeoProps & {
4
+ imageUrl?: string;
5
+ };
6
+ /**
7
+ * This component provides base page attributes for every Newsroom page.
8
+ * It depends on information from NewsroomContext, so the component should be placed inside the `NewsroomContextProvider`.
9
+ * You can pass additional props expected by NextSeo component to override any info that is provided by the NewsroomContext.
10
+ */
11
+ export declare function PageSeo({ title, description, imageUrl, canonical, openGraph, twitter, ...nextSeoProps }: Props): JSX.Element;
12
+ export {};
@@ -0,0 +1 @@
1
+ export { PageSeo } from './PageSeo';
@@ -0,0 +1 @@
1
+ export declare function getAbsoluteUrl(path: string, origin: string, localeCode?: string | false): string;
@@ -0,0 +1 @@
1
+ export { getAbsoluteUrl } from './getAbsoluteUrl';
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import type { ExtendedStory } from '@prezly/sdk';
3
+ type Props = {
4
+ story: ExtendedStory;
5
+ noindex?: boolean;
6
+ };
7
+ /**
8
+ * This components provides additional page attributes for the Story page.
9
+ * It works in conjunction with `PageSeo` component, overidding some of its attributes.
10
+ */
11
+ export declare function StorySeo({ story, noindex }: Props): JSX.Element;
12
+ export {};
@@ -0,0 +1 @@
1
+ export { StorySeo } from './StorySeo';
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import Document from 'next/document';
3
+ export declare class PrezlyThemeDocument extends Document {
4
+ getLocaleCode(): string;
5
+ render(): JSX.Element;
6
+ }
@@ -0,0 +1,3 @@
1
+ export { PageSeo } from './PageSeo';
2
+ export { StorySeo } from './StorySeo';
3
+ export { PrezlyThemeDocument } from './document';
@@ -0,0 +1,8 @@
1
+ /// <reference types="node" />
2
+ import type { Story } from '@prezly/sdk';
3
+ import { PrezlyApi } from '@prezly/theme-kit-core';
4
+ import type { IncomingMessage } from 'http';
5
+ import type { PageProps, ServerSidePageProps } from '../types';
6
+ export declare class NextPrezlyApi extends PrezlyApi {
7
+ getNewsroomServerSideProps(request?: IncomingMessage, nextLocaleIsoCode?: string, story?: Story): Promise<PageProps & ServerSidePageProps>;
8
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="node" />
2
+ import type { IncomingMessage } from 'http';
3
+ import { NextPrezlyApi } from './NextPrezlyApi';
4
+ export declare function getNextPrezlyApi(req?: IncomingMessage): NextPrezlyApi;
@@ -0,0 +1 @@
1
+ export { getNextPrezlyApi } from './getNextPrezlyApi';
@@ -0,0 +1,8 @@
1
+ export * from './adapter-nextjs';
2
+ export * from './components-nextjs';
3
+ export * from './data-fetching';
4
+ export * from './infinite-loading';
5
+ export * from './intl';
6
+ export * from './newsroom-context';
7
+ export * from './sentry';
8
+ export * from './types';
@@ -0,0 +1,4 @@
1
+ export { useInfiniteLoading } from './useInfiniteLoading';
2
+ export { useInfiniteStoriesLoading } from './useInfiniteStoriesLoading';
3
+ export { useInfiniteGalleriesLoading } from './useInfiniteGalleriesLoading';
4
+ export * from './types';
@@ -0,0 +1,9 @@
1
+ export interface PaginationProps {
2
+ itemsTotal: number;
3
+ currentPage: number;
4
+ pageSize: number;
5
+ /**
6
+ * When set to `true`, the calculated offset will be increased by one to account for the highlighted story
7
+ */
8
+ withHighlightedStory?: boolean;
9
+ }
@@ -0,0 +1,13 @@
1
+ import type { NewsroomGallery } from '@prezly/sdk';
2
+ import type { PaginationProps } from './types';
3
+ /**
4
+ * NOTE: This hook depends on the presence of a Next API route (/api/fetch-galleries)!
5
+ * The handler for this route is exported from `apiHandlers/fetchGalleries.ts` file.
6
+ * See https://github.com/prezly/theme-nextjs-bea/blob/d381e9878187ca98815d240d3ffdf10a75993c14/pages/media/index.tsx#L23 for usage example
7
+ */
8
+ export declare function useInfiniteGalleriesLoading(initialGalleries: NewsroomGallery[], pagination: PaginationProps): {
9
+ canLoadMore: boolean;
10
+ galleries: NewsroomGallery[];
11
+ isLoading: boolean;
12
+ loadMoreGalleries: () => void;
13
+ };
@@ -0,0 +1,16 @@
1
+ import type { PaginationProps } from './types';
2
+ interface Parameters<T> {
3
+ fetchingFn: (page: number, pageSize: number) => Promise<T[]>;
4
+ initialData: T[];
5
+ pagination: PaginationProps;
6
+ }
7
+ interface State<T> {
8
+ canLoadMore: boolean;
9
+ currentPage: number;
10
+ data: T[];
11
+ isLoading: boolean;
12
+ loadMore: () => void;
13
+ resetData: () => void;
14
+ }
15
+ export declare function useInfiniteLoading<T>({ fetchingFn, initialData, pagination, }: Parameters<T>): State<T>;
16
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { Category, Story } from '@prezly/sdk';
2
+ import type { PaginationProps } from './types';
3
+ /**
4
+ * NOTE: This hook depends on the presence of a Next API route (/api/fetch-stories)!
5
+ * The handler for this route is exported from `apiHandlers/fetchStories.ts` file.
6
+ * See https://github.com/prezly/theme-nextjs-bea/blob/d381e9878187ca98815d240d3ffdf10a75993c14/pages/index.tsx#L24 for usage example
7
+ */
8
+ export declare function useInfiniteStoriesLoading<T extends Story = Story>(initialStories: T[], pagination: PaginationProps, category?: Category, include?: (keyof Story.ExtraFields)[], pinning?: boolean, filterQuery?: Object): {
9
+ canLoadMore: boolean;
10
+ isLoading: boolean;
11
+ loadMoreStories: () => void;
12
+ stories: T[];
13
+ };
@@ -0,0 +1,2 @@
1
+ export * from './languages';
2
+ export * from './locale';
@@ -0,0 +1,6 @@
1
+ import type { NewsroomLanguageSettings } from '@prezly/sdk';
2
+ /**
3
+ * Retrieve a culture with fallback to legacy codes support.
4
+ * Pulled from https://github.com/prezly/prezly/blob/de9900d9890a33502780494aa3fb85c9a732b3c3/lib/model/CulturePeer.php#L91-L114
5
+ */
6
+ export declare function getLanguageFromNextLocaleIsoCode(languages: NewsroomLanguageSettings[], nextLocaleIsoCode?: string): NewsroomLanguageSettings | undefined;
@@ -0,0 +1,5 @@
1
+ /// <reference types="node" />
2
+ import type { Redirect } from 'next';
3
+ import type { ParsedUrlQuery } from 'querystring';
4
+ export declare const DUMMY_DEFAULT_LOCALE = "qps-ploc";
5
+ export declare function getRedirectToCanonicalLocale(shortestLocaleCode: string | false, nextLocaleIsoCode: string | undefined, redirectPath: string, query?: ParsedUrlQuery): Redirect | undefined;
@@ -0,0 +1,62 @@
1
+ import type { Category, ExtendedStory, Newsroom, NewsroomCompanyInformation, NewsroomContact, NewsroomLanguageSettings, NewsroomThemePreset, Notification } from '@prezly/sdk';
2
+ import type { AlgoliaSettings } from '@prezly/theme-kit-core';
3
+ import { LocaleObject } from '@prezly/theme-kit-core';
4
+ import type { PropsWithChildren } from 'react';
5
+ export interface NewsroomContextType {
6
+ /**
7
+ * Basic newsroom information: newsroom logos, settings, etc.
8
+ */
9
+ newsroom: Newsroom;
10
+ /**
11
+ * Contact information of the newsroom in the default language, usually displayed in the "About" section
12
+ */
13
+ companyInformation: NewsroomCompanyInformation;
14
+ /**
15
+ * List of all categories enabled on the newsroom
16
+ */
17
+ categories: Category[];
18
+ /**
19
+ * Optional: Contacts set up to be displayed on the newsroom home page.
20
+ * Will only be loaded if `loadHomepageContacts` option of `getNewsroomServerSideProps` is set to `true`.
21
+ */
22
+ contacts?: NewsroomContact[];
23
+ /**
24
+ * Optional: Refers to a currently selected category when navigated to `/category/[slug]` page.
25
+ */
26
+ currentCategory?: Category;
27
+ /**
28
+ * Optional: Refers to a currently selected story when navigated to `/[slug]` page.
29
+ */
30
+ currentStory?: ExtendedStory;
31
+ /**
32
+ * List of currently enabled newsroom languages, as well as company information translated for each language
33
+ */
34
+ languages: NewsroomLanguageSettings[];
35
+ /**
36
+ * Currently chosen locale
37
+ */
38
+ locale: LocaleObject;
39
+ /**
40
+ * Newsroom user-facing notifications (usually displayed as top-edge banners)
41
+ */
42
+ notifications: Notification[];
43
+ /**
44
+ * Theme settings as set in the Prezly app.
45
+ * You need to provide `PREZLY_THEME_UUID` in environment variables in order for the preset to be loaded.
46
+ * Only applicable to themes hosted on the Prezly infrastructure.
47
+ */
48
+ themePreset: NewsroomThemePreset | null;
49
+ /**
50
+ * Environment variables required for Algolia search to work.
51
+ */
52
+ algoliaSettings: AlgoliaSettings;
53
+ }
54
+ export interface NewsroomContextProps extends Omit<NewsroomContextType, 'locale'> {
55
+ localeCode: string;
56
+ }
57
+ export declare const NewsroomContext: import("react").Context<NewsroomContextType | undefined>;
58
+ /**
59
+ * This context provides common Newsroom information retrieved by `getNewsroomServerSideProps` helper.
60
+ * Please refer to the `NewsroomContextType` definition for more info on what's exposed from the context.
61
+ */
62
+ export declare function NewsroomContextProvider({ categories, contacts, newsroom, currentCategory, currentStory, companyInformation, languages, localeCode, notifications, themePreset, algoliaSettings, children, }: PropsWithChildren<NewsroomContextProps>): JSX.Element;
@@ -0,0 +1,11 @@
1
+ export * from './useAlgoliaSettings';
2
+ export * from './useCategories';
3
+ export * from './useCompanyInformation';
4
+ export * from './useCurrentCategory';
5
+ export * from './useCurrentLocale';
6
+ export * from './useCurrentStory';
7
+ export * from './useGetLinkLocaleSlug';
8
+ export * from './useGetTranslationUrl';
9
+ export * from './useLanguages';
10
+ export * from './useNewsroom';
11
+ export * from './useNewsroomContext';
@@ -0,0 +1 @@
1
+ export declare function useAlgoliaSettings(): import("@prezly/theme-kit-core").AlgoliaSettings;
@@ -0,0 +1 @@
1
+ export declare function useCategories(): import("@prezly/sdk").Category[];
@@ -0,0 +1 @@
1
+ export declare function useCompanyInformation(): import("@prezly/sdk").NewsroomCompanyInformation;
@@ -0,0 +1 @@
1
+ export declare function useCurrentCategory(): import("@prezly/sdk").Category | undefined;
@@ -0,0 +1 @@
1
+ export declare function useCurrentLocale(): import("@prezly/theme-kit-core").LocaleObject;
@@ -0,0 +1 @@
1
+ export declare function useCurrentStory(): import("@prezly/sdk").ExtendedStory | undefined;
@@ -0,0 +1,2 @@
1
+ import { LocaleObject } from '@prezly/theme-kit-core';
2
+ export declare function useGetLinkLocaleSlug(): (locale?: LocaleObject) => string | false;
@@ -0,0 +1,6 @@
1
+ import type { LocaleObject } from '@prezly/theme-kit-core';
2
+ /**
3
+ * This hook returns a function that is meant to be used in language pickers and alternate locales list for the pages.
4
+ * `noFallback` parameter is useful for alternate language links in the `head` section of the document (so that there are no unwanted links to the homepage).
5
+ */
6
+ export declare function useGetTranslationUrl(): (locale: LocaleObject, noFallback?: boolean) => string;
@@ -0,0 +1 @@
1
+ export declare function useLanguages(): import("@prezly/sdk").NewsroomLanguageSettings[];
@@ -0,0 +1 @@
1
+ export declare function useNewsroom(): import("@prezly/sdk").Newsroom;
@@ -0,0 +1,2 @@
1
+ import type { NewsroomContextType } from '../context';
2
+ export declare function useNewsroomContext(): NewsroomContextType;
@@ -0,0 +1,2 @@
1
+ export { NewsroomContext, NewsroomContextProvider, type NewsroomContextProps } from './context';
2
+ export * from './hooks';
@@ -0,0 +1,2 @@
1
+ import type { init } from '@sentry/nextjs';
2
+ export declare function getSentryClientOptions(dsn: string, themeName: string | null): Parameters<typeof init>[0];
@@ -0,0 +1,2 @@
1
+ import type { init } from '@sentry/nextjs';
2
+ export declare function getCommonClientOptions(dsn: string, themeName: string | null): Parameters<typeof init>[0];
@@ -0,0 +1,2 @@
1
+ export { getSentryClientOptions } from './client';
2
+ export { getSentryServerOptions } from './server';
@@ -0,0 +1,2 @@
1
+ import type { init } from '@sentry/nextjs';
2
+ export declare function getSentryServerOptions(dsn: string, themeName: string | null): Parameters<typeof init>[0];
@@ -0,0 +1,14 @@
1
+ import type { NewsroomContextProps } from './newsroom-context';
2
+ export interface ServerSidePageProps {
3
+ /**
4
+ * Indicates whether the locale requested by the Next application was correctly resolved to an active newsroom locale.
5
+ * This is used by `processRequest` method to redirect to the default locale if the property is `false`.
6
+ */
7
+ localeResolved: boolean;
8
+ }
9
+ /**
10
+ * These are the props returned by the `processRequest` method that are meant to be passed to your `_app` to be injected into the `NewsroomContextProvider`.
11
+ */
12
+ export interface PageProps {
13
+ newsroomContextProps: NewsroomContextProps;
14
+ }
package/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "@prezly/theme-kit-nextjs",
3
- "version": "4.1.1-alpha.0",
3
+ "version": "4.2.0-alpha.0",
4
4
  "description": "Data layer and utility library for developing Prezly themes with NextJS",
5
- "main": "build/index.js",
6
- "types": "build/index.d.ts",
5
+ "main": "build/esm/index.js",
6
+ "types": "build/types/index.d.ts",
7
+ "exports": {
8
+ "import": "./build/esm/index.js",
9
+ "require": "./build/cjs/index.js",
10
+ "default": "./build/esm/index.js"
11
+ },
7
12
  "files": [
8
13
  "build",
9
14
  "src"
@@ -33,7 +38,9 @@
33
38
  "homepage": "https://github.com/prezly/theme-kit-js/tree/main/packages/nextjs#readme",
34
39
  "scripts": {
35
40
  "prebuild": "rimraf build/* *.tsbuildinfo",
36
- "build": "tsc --project .",
41
+ "build:esm": "tsc --project tsconfig.esm.json",
42
+ "build:cjs": "tsc --project tsconfig.cjs.json",
43
+ "build": "npm run build:esm && npm run build:cjs",
37
44
  "dev": "tsc --watch --preserveWatchOutput --project .",
38
45
  "typecheck": "tsc --noEmit --incremental --project .",
39
46
  "lint": "eslint src",
@@ -51,7 +58,7 @@
51
58
  "next-seo": "^5.4.0"
52
59
  },
53
60
  "devDependencies": {
54
- "@prezly/theme-kit-core": "^4.1.0",
61
+ "@prezly/theme-kit-core": "^4.2.0-alpha.0",
55
62
  "@sentry/nextjs": "7.48.0",
56
63
  "rimraf": "3.0.2"
57
64
  },
@@ -59,5 +66,5 @@
59
66
  "access": "public"
60
67
  },
61
68
  "sideEffects": false,
62
- "gitHead": "a5de263b227618f400f97213d1fa6d92d6e48ed6"
69
+ "gitHead": "5d394f156b130b602a177596dacb23e479156d01"
63
70
  }
@@ -1,5 +1,3 @@
1
- 'use client';
2
-
3
1
  import {
4
2
  getAlternateLanguageLinks,
5
3
  getNewsroomLogoUrl,
@@ -1,5 +1,3 @@
1
- 'use client';
2
-
3
1
  import type {
4
2
  Category,
5
3
  ExtendedStory,
@@ -1 +0,0 @@
1
- {"version":3,"file":"fetchGalleries.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/api-handlers/fetchGalleries.ts"],"names":[],"mappings":";;;AAEA,uDAAuD;AAEhD,KAAK,UAAU,cAAc,CAAC,GAAmB,EAAE,GAAoB;IAC1E,IAAI,GAAG,CAAC,MAAM,KAAK,MAAM,EAAE;QACvB,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAChB,OAAO;KACV;IAED,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC;IAEpC,IAAI;QACA,MAAM,GAAG,GAAG,IAAA,gCAAgB,EAAC,GAAG,CAAC,CAAC;QAElC,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,GAAG,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;QAEjE,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC;KACvC;IAAC,OAAO,KAAK,EAAE;QACZ,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;YACjB,OAAO,EAAG,KAAe,CAAC,OAAO;SACpC,CAAC,CAAC;KACN;AACL,CAAC;AAnBD,wCAmBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"fetchStories.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/api-handlers/fetchStories.ts"],"names":[],"mappings":";;;AAEA,uDAAuD;AAEhD,KAAK,UAAU,YAAY,CAAC,GAAmB,EAAE,GAAoB;IACxE,IAAI,GAAG,CAAC,MAAM,KAAK,MAAM,EAAE;QACvB,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAChB,OAAO;KACV;IAED,MAAM,EACF,IAAI,EACJ,QAAQ,EACR,oBAAoB,EACpB,QAAQ,EACR,OAAO,EACP,UAAU,EACV,OAAO,EACP,WAAW,GACd,GAAG,GAAG,CAAC,IAAI,CAAC;IAEb,IAAI;QACA,MAAM,GAAG,GAAG,IAAA,gCAAgB,EAAC,GAAG,CAAC,CAAC;QAElC,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,QAAQ;YAC/B,CAAC,CAAC,GAAG,CAAC,sBAAsB,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;YAC/E,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC;gBACX,IAAI;gBACJ,QAAQ;gBACR,OAAO;gBACP,UAAU;gBACV,oBAAoB;gBACpB,OAAO;gBACP,WAAW;aACd,CAAC,CAAC,CAAC;QAEV,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;KACrC;IAAC,OAAO,KAAK,EAAE;QACZ,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;YACjB,OAAO,EAAG,KAAe,CAAC,OAAO;SACpC,CAAC,CAAC;KACN;AACL,CAAC;AAtCD,oCAsCC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/api-handlers/index.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AACvB,+CAA8C;AAArC,4GAAA,YAAY,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getNewsroomServerSideProps.js","sourceRoot":"","sources":["../../src/adapter-nextjs/getNewsroomServerSideProps.ts"],"names":[],"mappings":";;;AAGA,oDAAoD;AAOpD;;;GAGG;AACI,KAAK,UAAU,0BAA0B,CAC5C,OAAkC,EAClC,UAAmB,EAAE;IAErB,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAEzC,MAAM,GAAG,GAAG,IAAA,gCAAgB,EAAC,OAAO,CAAC,CAAC;IACtC,MAAM,eAAe,GAAG,MAAM,GAAG,CAAC,0BAA0B,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IAE7F,IAAI,OAAO,CAAC,oBAAoB,EAAE;QAC9B,eAAe,CAAC,oBAAoB,CAAC,QAAQ,GAAG,MAAM,GAAG,CAAC,mBAAmB,EAAE,CAAC;KACnF;IAED,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,CAAC;AACpC,CAAC;AAdD,gEAcC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getNewsroomStaticProps.js","sourceRoot":"","sources":["../../src/adapter-nextjs/getNewsroomStaticProps.ts"],"names":[],"mappings":";;;AAGA,oDAAoD;AAOpD;;;GAGG;AACI,KAAK,UAAU,sBAAsB,CACxC,OAA8B,EAC9B,UAAmB,EAAE;IAErB,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAE3B,MAAM,GAAG,GAAG,IAAA,gCAAgB,GAAE,CAAC;IAC/B,MAAM,WAAW,GAAG,MAAM,GAAG,CAAC,0BAA0B,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IAE3F,IAAI,OAAO,CAAC,oBAAoB,EAAE;QAC9B,WAAW,CAAC,oBAAoB,CAAC,QAAQ,GAAG,MAAM,GAAG,CAAC,mBAAmB,EAAE,CAAC;KAC/E;IAED,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,CAAC;AAChC,CAAC;AAdD,wDAcC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/adapter-nextjs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,+DAA6C;AAC7C,2DAAyC;AACzC,+CAA6B;AAC7B,mDAAiC;AACjC,yDAAuC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"category.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/page-props/category.ts"],"names":[],"mappings":";;;AACA,2DAAmG;AASnG,uDAAuD;AAEvD,8EAA2E;AAC3E,sEAAmE;AACnE,sDAAmD;AACnD,kEAA+D;AAc/D,SAAgB,8BAA8B,CAG5C,WAAqD,EAAE,OAAiB;IACtE,MAAM,EAAE,QAAQ,GAAG,kCAAiB,EAAE,gBAAgB,EAAE,GAAG,OAAO,IAAI,EAAE,CAAC;IAEzE,OAAO,KAAK,UAAU,kBAAkB,CACpC,OAAkC;QAElC,MAAM,EAAE,GAAG,EAAE,eAAe,EAAE,GAAG,MAAM,IAAA,uDAA0B,EAAC,OAAO,CAAC,CAAC;QAE3E,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAA0B,CAAC;QACpD,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;QAEnD,IAAI,CAAC,QAAQ,EAAE;YACX,OAAO;gBACH,QAAQ,EAAE,IAAI;aACjB,CAAC;SACL;QAED,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;QAC1B,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAE3F,MAAM,EAAE,UAAU,EAAE,GAAG,eAAe,CAAC,oBAAoB,CAAC;QAE5D,MAAM,EAAE,OA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B,OAAA;AAAE,8GAAA,sBAAsB,OAAA;AAC3D,mCAAkF;AAAzE,sHAAA,4BAA4B,OAAA;AAAE,kHAAA,wBAAwB,OAAA;AAC/D,4CAA0B;AAC1B,iCAIiB;AAHb,oHAAA,2BAA2B,OAAA;AAC3B,gHAAA,uBAAuB,OAAA;AACvB,gHAAA,uBAAuB,OAAA;AAE3B,+CAAoE;AAA3D,kIAAA,kCAAkC,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/adapter-nextjs/page-props/lib/types.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"search.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/page-props/search.ts"],"names":[],"mappings":";;;AAMA,8EAA2E;AAC3E,sEAAmE;AACnE,sDAAmD;AACnD,kEAA+D;AAI/D,SAAgB,4BAA4B,CACxC,WAAqD;IAErD,OAAO,KAAK,UAAU,kBAAkB,CACpC,OAAkC;QAElC,MAAM,EAAE,eAAe,EAAE,GAAG,MAAM,IAAA,uDAA0B,EAAC,OAAO,CAAC,CAAC;QAEtE,OAAO,IAAA,+BAAc,EACjB,OAAO,EACP;YACI,GAAG,eAAe;YAClB,GAAG,CAAC,OAAO,WAAW,KAAK,UAAU;gBACjC,CAAC,CAAC,MAAO,WAA0C,CAAC,OAAO,EAAE,eAAe,CAAC;gBAC7E,CAAC,CAAC,WAAW,CAAC;SACrB,EACD,SAAS,CACZ,CAAC;IACN,CAAC,CAAC;AACN,CAAC;AAnBD,oEAmBC;AAED,SAAgB,wBAAwB,CACpC,WAA4E;IAE5E,OAAO,KAAK,UAAU,cAAc,CAChC,OAAkC;QAElC,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,IAAA,+CAAsB,EAAC,OAAO,CAAC,CAAC;QAE9D,OAAO,IAAA,2CAAoB,EAAC,OAAO,EAAE;YACjC,GAAG,WAAW;YACd,GAAG,CAAC,OAAO,WAAW,KAAK,UAAU;gBACjC,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AC,aAAa,IAAI,EAAE,CAAC,CAAC;IACvD,CAAC,CAAC;SACD,IAAI,EAAE,CAAC;IAEZ,OAAO,CAAC,GAAG,WAAW,EAAE,GAAG,cAAc,CAAC,CAAC;AAC/C,CAAC;AAlBD,kCAkBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getServerSideProps.js","sourceRoot":"","sources":["../../../../src/adapter-nextjs/page-props/sitemap/getServerSideProps.ts"],"names":[],"mappings":";;;AAEA,0DAA0D;AAE1D,+CAA4C;AAC5C,qDAAkD;AAElD,SAAgB,yBAAyB,CACrC,UAA6D,EAAE;IAE/D,OAAO,KAAK,UAAU,kBAAkB,CAAC,GAAoB;QACzD,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,CAAC;QAEzB,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,EAAE;YACd,cAAc;YACd,OAAO;gBACH,KAAK,EAAE,EAAE;aACZ,CAAC;SACL;QAED,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,GAAG,CAAC;QAExC,MAAM,GAAG,GAAG,IAAA,gCAAgB,EAAC,GAAG,CAAC,CAAC;QAClC,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,aAAa,CAAC;YACpC,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,KAAK;SACpC,CAAC,CAAC;QACH,MAAM,UAAU,GAAG,MAAM,GAAG,CAAC,aAAa,EAAE,CAAC;QAE7C,MAAM,KAAK,GAAG,IAAA,yBAAW,EAAC,OAAO,EAAE,UAAU,CAAC,CAAC;QAC/C,MAAM,cAAc,GAAG,IAAI,+BAAc,CAAC,OAAO,CAAC,CAAC;QAEnD,cAAc,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAC3B,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;QAErD,OAAO,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;QAExE,GAAG,CAAC,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;QAC1C,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,EAAE,CAAC,CAAC;QACtC,GAAG,CAAC,GAAG,EAAE,CAAC;QAEV,OAAO;YACH,KAAK,EAAE,EAAE;SACZ,CAAC;IACN,CAAC,CAAC;AACN,CAAC;AArCD,8DAqCC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/adapter-nextjs/page-props/sitemap/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2DAAiE;AAAxD,+HAAA,yBAAyB,OAAA;AAElC,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AACvB,6CAA4C;AAAnC,0GAAA,WAAW,OAAA;AACpB,0CAAwB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/adapter-nextjs/page-props/sitemap/types.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"story.js","sourceRoot":"","sources":["../../../src/adapter-nextjs/page-props/story.ts"],"names":[],"mappings":";;;AAOA,uDAAuD;AACvD,qCAAkD;AAClD,8EAA2E;AAC3E,sEAAmE;AACnE,sDAAmD;AACnD,kEAA+D;AAI/D,SAAgB,2BAA2B,CACvC,WAAqD;IAErD,OAAO,KAAK,UAAU,kBAAkB,CACpC,OAAkC;QAElC,MAAM,GAAG,GAAG,IAAA,gCAAgB,EAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAE1C,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAA2B,CAAC;QACrD,MAAM,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,C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MAAM,QAAQ,GAAG,IAAA,mCAA4B,EACzC,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,KAAK,CACR,CAAC;QACF,IAAI,QAAQ,EAAE;YACV,OAAO,EAAE,QAAQ,EAAE,CAAC;SACvB;KACJ;IAED,OAAO;QACH,KAAK,EAAE,SAA8B;KACxC,CAAC;AACN,CAAC;AAlCD,wCAkCC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"processStaticRequest.js","sourceRoot":"","sources":["../../src/adapter-nextjs/processStaticRequest.ts"],"names":[],"mappings":";;;AAIA;;;;;;;GAOG;AACH,SAAgB,oBAAoB,CAChC,OAA8B,EAC9B,KAA8C,EAC9C,iBAA0B;IAE1B,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC;IAEvC,MAAM,EAAE,cAAc,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAE/C,2GAA2G;IAC3G,uCAAuC;IACvC,IAAI,CAAC,cAAc,IAAI,UAAU,EAAE;QAC/B,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;KAC7B;IAED,OAAO;QACH,KAAK,EAAE,SAA8B;QACrC,UAAU,EAAE,iBAAiB;KAChC,CAAC;AACN,CAAC;AAnBD,oDAmBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PageSeo.js","sourceRoot":"","sources":["../../../src/components-nextjs/PageSeo/PageSeo.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;;AAEb,2DAIgC;AAEhC,wCAAwC;AACxC,uCAAmC;AAEnC,iCAAgC;AAEhC,6DAQgC;AAEhC,+BAAuC;AAMvC;;;;GAIG;AACH,SAAgB,OAAO,CAAC,EACpB,KAAK,EACL,WAAW,EACX,QAAQ,EACR,SAAS,EACT,SAAS,EACT,OAAO,EACP,GAAG,YAAY,EACX;IACJ,MAAM,kBAAkB,GAAG,IAAA,wCAAqB,GAAE,CAAC;IACnD,MAAM,IAAI,GAAG,IAAA,8BAAW,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I,GAAG,EAAE,WAAW;gBAChB,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,IAAA,oBAAc,EAAC,OAAO,EAAE,IAAI,CAAC,GAAG,CAAC;aAC1C;SACJ,EACD,kBAAkB,EAAE,sBAAsB,KACtC,YAAY,GAClB,CACL,CAAC;AACN,CAAC;AAnGD,0BAmGC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components-nextjs/PageSeo/index.ts"],"names":[],"mappings":";;;AAAA,qCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getAbsoluteUrl.js","sourceRoot":"","sources":["../../../../src/components-nextjs/PageSeo/lib/getAbsoluteUrl.ts"],"names":[],"mappings":";;;AAAA,0EAA0E;AAC1E,SAAgB,cAAc,CAAC,IAAY,EAAE,MAAc,EAAE,UAA2B;IACpF,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,IAAI,GAAG,EAAE,EAAE,MAAM,CAAC,CAAC;IACnF,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC;IAEhB,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC;AAC1B,CAAC;AALD,wCAKC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components-nextjs/PageSeo/lib/index.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AAAzC,gHAAA,cAAc,OAAA"}