@newskit-render/standalone-components 0.0.0-e16014a0

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 (500) hide show
  1. package/README.md +798 -0
  2. package/dist/cjs/article-recommendations/components/AdPlaceholder.d.ts +9 -0
  3. package/dist/cjs/article-recommendations/components/AdPlaceholder.js +23 -0
  4. package/dist/cjs/article-recommendations/components/AdPlaceholder.js.map +1 -0
  5. package/dist/cjs/article-recommendations/components/ArticleGrid.d.ts +4 -0
  6. package/dist/cjs/article-recommendations/components/ArticleGrid.js +36 -0
  7. package/dist/cjs/article-recommendations/components/ArticleGrid.js.map +1 -0
  8. package/dist/cjs/article-recommendations/components/ArticleRecommendation.d.ts +4 -0
  9. package/dist/cjs/article-recommendations/components/ArticleRecommendation.js +19 -0
  10. package/dist/cjs/article-recommendations/components/ArticleRecommendation.js.map +1 -0
  11. package/dist/cjs/article-recommendations/components/ArticleRecommendationLarge.d.ts +7 -0
  12. package/dist/cjs/article-recommendations/components/ArticleRecommendationLarge.js +59 -0
  13. package/dist/cjs/article-recommendations/components/ArticleRecommendationLarge.js.map +1 -0
  14. package/dist/cjs/article-recommendations/components/ArticleRecommendationSmall.d.ts +7 -0
  15. package/dist/cjs/article-recommendations/components/ArticleRecommendationSmall.js +43 -0
  16. package/dist/cjs/article-recommendations/components/ArticleRecommendationSmall.js.map +1 -0
  17. package/dist/cjs/article-recommendations/components/ArticleRecommendationsProvider.d.ts +4 -0
  18. package/dist/cjs/article-recommendations/components/ArticleRecommendationsProvider.js +83 -0
  19. package/dist/cjs/article-recommendations/components/ArticleRecommendationsProvider.js.map +1 -0
  20. package/dist/cjs/article-recommendations/components/RecommendedArticleList.d.ts +5 -0
  21. package/dist/cjs/article-recommendations/components/RecommendedArticleList.js +43 -0
  22. package/dist/cjs/article-recommendations/components/RecommendedArticleList.js.map +1 -0
  23. package/dist/cjs/article-recommendations/components/baseProps.d.ts +63 -0
  24. package/dist/cjs/article-recommendations/components/baseProps.js +67 -0
  25. package/dist/cjs/article-recommendations/components/baseProps.js.map +1 -0
  26. package/dist/cjs/article-recommendations/components/index.d.ts +7 -0
  27. package/dist/cjs/article-recommendations/components/index.js +32 -0
  28. package/dist/cjs/article-recommendations/components/index.js.map +1 -0
  29. package/dist/cjs/article-recommendations/context/index.d.ts +3 -0
  30. package/dist/cjs/article-recommendations/context/index.js +9 -0
  31. package/dist/cjs/article-recommendations/context/index.js.map +1 -0
  32. package/dist/cjs/article-recommendations/helpers/index.d.ts +2 -0
  33. package/dist/cjs/article-recommendations/helpers/index.js +24 -0
  34. package/dist/cjs/article-recommendations/helpers/index.js.map +1 -0
  35. package/dist/cjs/article-recommendations/index.d.ts +4 -0
  36. package/dist/cjs/article-recommendations/index.js +25 -0
  37. package/dist/cjs/article-recommendations/index.js.map +1 -0
  38. package/dist/cjs/article-recommendations/provider/index.d.ts +1 -0
  39. package/dist/cjs/article-recommendations/provider/index.js +18 -0
  40. package/dist/cjs/article-recommendations/provider/index.js.map +1 -0
  41. package/dist/cjs/article-recommendations/provider/queries/getRecommendationsQuery.d.ts +1 -0
  42. package/dist/cjs/article-recommendations/provider/queries/getRecommendationsQuery.js +11 -0
  43. package/dist/cjs/article-recommendations/provider/queries/getRecommendationsQuery.js.map +1 -0
  44. package/dist/cjs/article-recommendations/provider/queries/index.d.ts +1 -0
  45. package/dist/cjs/article-recommendations/provider/queries/index.js +18 -0
  46. package/dist/cjs/article-recommendations/provider/queries/index.js.map +1 -0
  47. package/dist/cjs/article-recommendations/provider/recommendationsProvider.d.ts +4 -0
  48. package/dist/cjs/article-recommendations/provider/recommendationsProvider.js +91 -0
  49. package/dist/cjs/article-recommendations/provider/recommendationsProvider.js.map +1 -0
  50. package/dist/cjs/article-recommendations/types/index.d.ts +108 -0
  51. package/dist/cjs/article-recommendations/types/index.js +8 -0
  52. package/dist/cjs/article-recommendations/types/index.js.map +1 -0
  53. package/dist/cjs/config/index.d.ts +2 -0
  54. package/dist/cjs/config/index.js +23 -0
  55. package/dist/cjs/config/index.js.map +1 -0
  56. package/dist/cjs/help-chat/Help.d.ts +5 -0
  57. package/dist/cjs/help-chat/Help.js +40 -0
  58. package/dist/cjs/help-chat/Help.js.map +1 -0
  59. package/dist/cjs/help-chat/chatHelpDefaultOverrides.d.ts +38 -0
  60. package/dist/cjs/help-chat/chatHelpDefaultOverrides.js +48 -0
  61. package/dist/cjs/help-chat/chatHelpDefaultOverrides.js.map +1 -0
  62. package/dist/cjs/help-chat/index.d.ts +2 -0
  63. package/dist/cjs/help-chat/index.js +19 -0
  64. package/dist/cjs/help-chat/index.js.map +1 -0
  65. package/dist/cjs/help-chat/tests/Chat.stories.d.ts +5 -0
  66. package/dist/cjs/help-chat/tests/Chat.stories.js +55 -0
  67. package/dist/cjs/help-chat/tests/Chat.stories.js.map +1 -0
  68. package/dist/cjs/help-chat/tests/mocks.d.ts +2 -0
  69. package/dist/cjs/help-chat/tests/mocks.js +47 -0
  70. package/dist/cjs/help-chat/tests/mocks.js.map +1 -0
  71. package/dist/cjs/help-chat/types.d.ts +31 -0
  72. package/dist/cjs/help-chat/types.js +3 -0
  73. package/dist/cjs/help-chat/types.js.map +1 -0
  74. package/dist/cjs/help-hub/components/SearchBar/SearchBar.d.ts +4 -0
  75. package/dist/cjs/help-hub/components/SearchBar/SearchBar.js +26 -0
  76. package/dist/cjs/help-hub/components/SearchBar/SearchBar.js.map +1 -0
  77. package/dist/cjs/help-hub/components/SearchBar/components/AlgoliaTheme.d.ts +3 -0
  78. package/dist/cjs/help-hub/components/SearchBar/components/AlgoliaTheme.js +16 -0
  79. package/dist/cjs/help-hub/components/SearchBar/components/AlgoliaTheme.js.map +1 -0
  80. package/dist/cjs/help-hub/components/SearchBar/components/Autocomplete.d.ts +6 -0
  81. package/dist/cjs/help-hub/components/SearchBar/components/Autocomplete.js +209 -0
  82. package/dist/cjs/help-hub/components/SearchBar/components/Autocomplete.js.map +1 -0
  83. package/dist/cjs/help-hub/components/SearchBar/components/Highlight.d.ts +23 -0
  84. package/dist/cjs/help-hub/components/SearchBar/components/Highlight.js +19 -0
  85. package/dist/cjs/help-hub/components/SearchBar/components/Highlight.js.map +1 -0
  86. package/dist/cjs/help-hub/components/SearchBar/defaults.d.ts +17 -0
  87. package/dist/cjs/help-hub/components/SearchBar/defaults.js +21 -0
  88. package/dist/cjs/help-hub/components/SearchBar/defaults.js.map +1 -0
  89. package/dist/cjs/help-hub/components/SearchBar/index.d.ts +1 -0
  90. package/dist/cjs/help-hub/components/SearchBar/index.js +18 -0
  91. package/dist/cjs/help-hub/components/SearchBar/index.js.map +1 -0
  92. package/dist/cjs/help-hub/components/SearchBar/types.d.ts +30 -0
  93. package/dist/cjs/help-hub/components/SearchBar/types.js +3 -0
  94. package/dist/cjs/help-hub/components/SearchBar/types.js.map +1 -0
  95. package/dist/cjs/help-hub/components/SearchBreadcrumb/SearchBreadcrumb.d.ts +4 -0
  96. package/dist/cjs/help-hub/components/SearchBreadcrumb/SearchBreadcrumb.js +36 -0
  97. package/dist/cjs/help-hub/components/SearchBreadcrumb/SearchBreadcrumb.js.map +1 -0
  98. package/dist/cjs/help-hub/components/SearchBreadcrumb/index.d.ts +2 -0
  99. package/dist/cjs/help-hub/components/SearchBreadcrumb/index.js +8 -0
  100. package/dist/cjs/help-hub/components/SearchBreadcrumb/index.js.map +1 -0
  101. package/dist/cjs/help-hub/components/Templates/LayoutTemplate.d.ts +12 -0
  102. package/dist/cjs/help-hub/components/Templates/LayoutTemplate.js +67 -0
  103. package/dist/cjs/help-hub/components/Templates/LayoutTemplate.js.map +1 -0
  104. package/dist/cjs/help-hub/components/Templates/index.d.ts +3 -0
  105. package/dist/cjs/help-hub/components/Templates/index.js +20 -0
  106. package/dist/cjs/help-hub/components/Templates/index.js.map +1 -0
  107. package/dist/cjs/help-hub/components/Templates/types.d.ts +13 -0
  108. package/dist/cjs/help-hub/components/Templates/types.js +3 -0
  109. package/dist/cjs/help-hub/components/Templates/types.js.map +1 -0
  110. package/dist/cjs/help-hub/context/CredentialsContextProvider.d.ts +7 -0
  111. package/dist/cjs/help-hub/context/CredentialsContextProvider.js +42 -0
  112. package/dist/cjs/help-hub/context/CredentialsContextProvider.js.map +1 -0
  113. package/dist/cjs/help-hub/context/HelpHubContextProvider.d.ts +7 -0
  114. package/dist/cjs/help-hub/context/HelpHubContextProvider.js +54 -0
  115. package/dist/cjs/help-hub/context/HelpHubContextProvider.js.map +1 -0
  116. package/dist/cjs/help-hub/context/baseContext.d.ts +3 -0
  117. package/dist/cjs/help-hub/context/baseContext.js +139 -0
  118. package/dist/cjs/help-hub/context/baseContext.js.map +1 -0
  119. package/dist/cjs/help-hub/context/index.d.ts +2 -0
  120. package/dist/cjs/help-hub/context/index.js +19 -0
  121. package/dist/cjs/help-hub/context/index.js.map +1 -0
  122. package/dist/cjs/help-hub/context/types.d.ts +74 -0
  123. package/dist/cjs/help-hub/context/types.js +11 -0
  124. package/dist/cjs/help-hub/context/types.js.map +1 -0
  125. package/dist/cjs/help-hub/helpers/cache-referers.d.ts +2 -0
  126. package/dist/cjs/help-hub/helpers/cache-referers.js +20 -0
  127. package/dist/cjs/help-hub/helpers/cache-referers.js.map +1 -0
  128. package/dist/cjs/help-hub/helpers/index.d.ts +2 -0
  129. package/dist/cjs/help-hub/helpers/index.js +19 -0
  130. package/dist/cjs/help-hub/helpers/index.js.map +1 -0
  131. package/dist/cjs/help-hub/helpers/transform-hits.d.ts +4 -0
  132. package/dist/cjs/help-hub/helpers/transform-hits.js +15 -0
  133. package/dist/cjs/help-hub/helpers/transform-hits.js.map +1 -0
  134. package/dist/cjs/help-hub/index.d.ts +6 -0
  135. package/dist/cjs/help-hub/index.js +23 -0
  136. package/dist/cjs/help-hub/index.js.map +1 -0
  137. package/dist/cjs/help-hub/mocks/articlePageContextOptionsMock.d.ts +2 -0
  138. package/dist/cjs/help-hub/mocks/articlePageContextOptionsMock.js +27 -0
  139. package/dist/cjs/help-hub/mocks/articlePageContextOptionsMock.js.map +1 -0
  140. package/dist/cjs/help-hub/mocks/index.d.ts +1 -0
  141. package/dist/cjs/help-hub/mocks/index.js +18 -0
  142. package/dist/cjs/help-hub/mocks/index.js.map +1 -0
  143. package/dist/cjs/help-hub/mocks/landingPageContextOptionsMock.d.ts +2 -0
  144. package/dist/cjs/help-hub/mocks/landingPageContextOptionsMock.js +20 -0
  145. package/dist/cjs/help-hub/mocks/landingPageContextOptionsMock.js.map +1 -0
  146. package/dist/cjs/help-hub/mocks/mocks.d.ts +5 -0
  147. package/dist/cjs/help-hub/mocks/mocks.js +14 -0
  148. package/dist/cjs/help-hub/mocks/mocks.js.map +1 -0
  149. package/dist/cjs/help-hub/mocks/resultsPageContextOptionsMock.d.ts +2 -0
  150. package/dist/cjs/help-hub/mocks/resultsPageContextOptionsMock.js +20 -0
  151. package/dist/cjs/help-hub/mocks/resultsPageContextOptionsMock.js.map +1 -0
  152. package/dist/cjs/help-hub/mocks/sharedMocks.d.ts +17 -0
  153. package/dist/cjs/help-hub/mocks/sharedMocks.js +154 -0
  154. package/dist/cjs/help-hub/mocks/sharedMocks.js.map +1 -0
  155. package/dist/cjs/help-hub/pages/ArticlePage.d.ts +7 -0
  156. package/dist/cjs/help-hub/pages/ArticlePage.js +149 -0
  157. package/dist/cjs/help-hub/pages/ArticlePage.js.map +1 -0
  158. package/dist/cjs/help-hub/pages/ErrorPage.d.ts +7 -0
  159. package/dist/cjs/help-hub/pages/ErrorPage.js +91 -0
  160. package/dist/cjs/help-hub/pages/ErrorPage.js.map +1 -0
  161. package/dist/cjs/help-hub/pages/LandingPage.d.ts +6 -0
  162. package/dist/cjs/help-hub/pages/LandingPage.js +94 -0
  163. package/dist/cjs/help-hub/pages/LandingPage.js.map +1 -0
  164. package/dist/cjs/help-hub/pages/ResultsPage.d.ts +6 -0
  165. package/dist/cjs/help-hub/pages/ResultsPage.js +205 -0
  166. package/dist/cjs/help-hub/pages/ResultsPage.js.map +1 -0
  167. package/dist/cjs/help-hub/pages/index.d.ts +5 -0
  168. package/dist/cjs/help-hub/pages/index.js +39 -0
  169. package/dist/cjs/help-hub/pages/index.js.map +1 -0
  170. package/dist/cjs/help-hub/pages/types.d.ts +19 -0
  171. package/dist/cjs/help-hub/pages/types.js +3 -0
  172. package/dist/cjs/help-hub/pages/types.js.map +1 -0
  173. package/dist/cjs/help-hub/provider/articleProvider.d.ts +22 -0
  174. package/dist/cjs/help-hub/provider/articleProvider.js +90 -0
  175. package/dist/cjs/help-hub/provider/articleProvider.js.map +1 -0
  176. package/dist/cjs/help-hub/provider/errorPageProvider.d.ts +10 -0
  177. package/dist/cjs/help-hub/provider/errorPageProvider.js +56 -0
  178. package/dist/cjs/help-hub/provider/errorPageProvider.js.map +1 -0
  179. package/dist/cjs/help-hub/provider/getHelpHubConfig.d.ts +2 -0
  180. package/dist/cjs/help-hub/provider/getHelpHubConfig.js +17 -0
  181. package/dist/cjs/help-hub/provider/getHelpHubConfig.js.map +1 -0
  182. package/dist/cjs/help-hub/provider/index.d.ts +7 -0
  183. package/dist/cjs/help-hub/provider/index.js +31 -0
  184. package/dist/cjs/help-hub/provider/index.js.map +1 -0
  185. package/dist/cjs/help-hub/provider/landingPageProvider.d.ts +10 -0
  186. package/dist/cjs/help-hub/provider/landingPageProvider.js +56 -0
  187. package/dist/cjs/help-hub/provider/landingPageProvider.js.map +1 -0
  188. package/dist/cjs/help-hub/provider/resultsProvider.d.ts +27 -0
  189. package/dist/cjs/help-hub/provider/resultsProvider.js +120 -0
  190. package/dist/cjs/help-hub/provider/resultsProvider.js.map +1 -0
  191. package/dist/cjs/help-hub/provider/types.d.ts +43 -0
  192. package/dist/cjs/help-hub/provider/types.js +13 -0
  193. package/dist/cjs/help-hub/provider/types.js.map +1 -0
  194. package/dist/cjs/help-hub/types/index.d.ts +11 -0
  195. package/dist/cjs/help-hub/types/index.js +3 -0
  196. package/dist/cjs/help-hub/types/index.js.map +1 -0
  197. package/dist/cjs/index.d.ts +4 -0
  198. package/dist/cjs/index.js +21 -0
  199. package/dist/cjs/index.js.map +1 -0
  200. package/dist/cjs/rss-console/client/index.d.ts +13 -0
  201. package/dist/cjs/rss-console/client/index.js +88 -0
  202. package/dist/cjs/rss-console/client/index.js.map +1 -0
  203. package/dist/cjs/rss-console/components/Templates/LayoutTemplate.d.ts +12 -0
  204. package/dist/cjs/rss-console/components/Templates/LayoutTemplate.js +81 -0
  205. package/dist/cjs/rss-console/components/Templates/LayoutTemplate.js.map +1 -0
  206. package/dist/cjs/rss-console/components/Templates/index.d.ts +3 -0
  207. package/dist/cjs/rss-console/components/Templates/index.js +20 -0
  208. package/dist/cjs/rss-console/components/Templates/index.js.map +1 -0
  209. package/dist/cjs/rss-console/components/Templates/types.d.ts +13 -0
  210. package/dist/cjs/rss-console/components/Templates/types.js +3 -0
  211. package/dist/cjs/rss-console/components/Templates/types.js.map +1 -0
  212. package/dist/cjs/rss-console/context/RSSConsoleContextProvider.d.ts +7 -0
  213. package/dist/cjs/rss-console/context/RSSConsoleContextProvider.js +53 -0
  214. package/dist/cjs/rss-console/context/RSSConsoleContextProvider.js.map +1 -0
  215. package/dist/cjs/rss-console/context/baseContext.d.ts +2 -0
  216. package/dist/cjs/rss-console/context/baseContext.js +85 -0
  217. package/dist/cjs/rss-console/context/baseContext.js.map +1 -0
  218. package/dist/cjs/rss-console/context/index.d.ts +1 -0
  219. package/dist/cjs/rss-console/context/index.js +18 -0
  220. package/dist/cjs/rss-console/context/index.js.map +1 -0
  221. package/dist/cjs/rss-console/context/types.d.ts +27 -0
  222. package/dist/cjs/rss-console/context/types.js +10 -0
  223. package/dist/cjs/rss-console/context/types.js.map +1 -0
  224. package/dist/cjs/rss-console/hooks/useFeed.d.ts +4 -0
  225. package/dist/cjs/rss-console/hooks/useFeed.js +53 -0
  226. package/dist/cjs/rss-console/hooks/useFeed.js.map +1 -0
  227. package/dist/cjs/rss-console/hooks/useFeedCreation.d.ts +4 -0
  228. package/dist/cjs/rss-console/hooks/useFeedCreation.js +61 -0
  229. package/dist/cjs/rss-console/hooks/useFeedCreation.js.map +1 -0
  230. package/dist/cjs/rss-console/hooks/useFeedList.d.ts +4 -0
  231. package/dist/cjs/rss-console/hooks/useFeedList.js +55 -0
  232. package/dist/cjs/rss-console/hooks/useFeedList.js.map +1 -0
  233. package/dist/cjs/rss-console/index.d.ts +1 -0
  234. package/dist/cjs/rss-console/index.js +18 -0
  235. package/dist/cjs/rss-console/index.js.map +1 -0
  236. package/dist/cjs/rss-console/pages/CreateFeedPage.d.ts +4 -0
  237. package/dist/cjs/rss-console/pages/CreateFeedPage.js +127 -0
  238. package/dist/cjs/rss-console/pages/CreateFeedPage.js.map +1 -0
  239. package/dist/cjs/rss-console/pages/FeedDetailsPage.d.ts +4 -0
  240. package/dist/cjs/rss-console/pages/FeedDetailsPage.js +84 -0
  241. package/dist/cjs/rss-console/pages/FeedDetailsPage.js.map +1 -0
  242. package/dist/cjs/rss-console/pages/FeedsListPage.d.ts +4 -0
  243. package/dist/cjs/rss-console/pages/FeedsListPage.js +72 -0
  244. package/dist/cjs/rss-console/pages/FeedsListPage.js.map +1 -0
  245. package/dist/cjs/rss-console/pages/index.d.ts +6 -0
  246. package/dist/cjs/rss-console/pages/index.js +13 -0
  247. package/dist/cjs/rss-console/pages/index.js.map +1 -0
  248. package/dist/cjs/rss-console/pages/types.d.ts +11 -0
  249. package/dist/cjs/rss-console/pages/types.js +3 -0
  250. package/dist/cjs/rss-console/pages/types.js.map +1 -0
  251. package/dist/esm/article-recommendations/components/AdPlaceholder.d.ts +9 -0
  252. package/dist/esm/article-recommendations/components/AdPlaceholder.js +18 -0
  253. package/dist/esm/article-recommendations/components/AdPlaceholder.js.map +1 -0
  254. package/dist/esm/article-recommendations/components/ArticleGrid.d.ts +4 -0
  255. package/dist/esm/article-recommendations/components/ArticleGrid.js +31 -0
  256. package/dist/esm/article-recommendations/components/ArticleGrid.js.map +1 -0
  257. package/dist/esm/article-recommendations/components/ArticleRecommendation.d.ts +4 -0
  258. package/dist/esm/article-recommendations/components/ArticleRecommendation.js +14 -0
  259. package/dist/esm/article-recommendations/components/ArticleRecommendation.js.map +1 -0
  260. package/dist/esm/article-recommendations/components/ArticleRecommendationLarge.d.ts +7 -0
  261. package/dist/esm/article-recommendations/components/ArticleRecommendationLarge.js +31 -0
  262. package/dist/esm/article-recommendations/components/ArticleRecommendationLarge.js.map +1 -0
  263. package/dist/esm/article-recommendations/components/ArticleRecommendationSmall.d.ts +7 -0
  264. package/dist/esm/article-recommendations/components/ArticleRecommendationSmall.js +15 -0
  265. package/dist/esm/article-recommendations/components/ArticleRecommendationSmall.js.map +1 -0
  266. package/dist/esm/article-recommendations/components/ArticleRecommendationsProvider.d.ts +4 -0
  267. package/dist/esm/article-recommendations/components/ArticleRecommendationsProvider.js +78 -0
  268. package/dist/esm/article-recommendations/components/ArticleRecommendationsProvider.js.map +1 -0
  269. package/dist/esm/article-recommendations/components/RecommendedArticleList.d.ts +5 -0
  270. package/dist/esm/article-recommendations/components/RecommendedArticleList.js +15 -0
  271. package/dist/esm/article-recommendations/components/RecommendedArticleList.js.map +1 -0
  272. package/dist/esm/article-recommendations/components/baseProps.d.ts +63 -0
  273. package/dist/esm/article-recommendations/components/baseProps.js +64 -0
  274. package/dist/esm/article-recommendations/components/baseProps.js.map +1 -0
  275. package/dist/esm/article-recommendations/components/index.d.ts +7 -0
  276. package/dist/esm/article-recommendations/components/index.js +8 -0
  277. package/dist/esm/article-recommendations/components/index.js.map +1 -0
  278. package/dist/esm/article-recommendations/context/index.d.ts +3 -0
  279. package/dist/esm/article-recommendations/context/index.js +3 -0
  280. package/dist/esm/article-recommendations/context/index.js.map +1 -0
  281. package/dist/esm/article-recommendations/helpers/index.d.ts +2 -0
  282. package/dist/esm/article-recommendations/helpers/index.js +20 -0
  283. package/dist/esm/article-recommendations/helpers/index.js.map +1 -0
  284. package/dist/esm/article-recommendations/index.d.ts +4 -0
  285. package/dist/esm/article-recommendations/index.js +5 -0
  286. package/dist/esm/article-recommendations/index.js.map +1 -0
  287. package/dist/esm/article-recommendations/provider/index.d.ts +1 -0
  288. package/dist/esm/article-recommendations/provider/index.js +2 -0
  289. package/dist/esm/article-recommendations/provider/index.js.map +1 -0
  290. package/dist/esm/article-recommendations/provider/queries/getRecommendationsQuery.d.ts +1 -0
  291. package/dist/esm/article-recommendations/provider/queries/getRecommendationsQuery.js +8 -0
  292. package/dist/esm/article-recommendations/provider/queries/getRecommendationsQuery.js.map +1 -0
  293. package/dist/esm/article-recommendations/provider/queries/index.d.ts +1 -0
  294. package/dist/esm/article-recommendations/provider/queries/index.js +2 -0
  295. package/dist/esm/article-recommendations/provider/queries/index.js.map +1 -0
  296. package/dist/esm/article-recommendations/provider/recommendationsProvider.d.ts +4 -0
  297. package/dist/esm/article-recommendations/provider/recommendationsProvider.js +86 -0
  298. package/dist/esm/article-recommendations/provider/recommendationsProvider.js.map +1 -0
  299. package/dist/esm/article-recommendations/types/index.d.ts +108 -0
  300. package/dist/esm/article-recommendations/types/index.js +5 -0
  301. package/dist/esm/article-recommendations/types/index.js.map +1 -0
  302. package/dist/esm/config/index.d.ts +2 -0
  303. package/dist/esm/config/index.js +20 -0
  304. package/dist/esm/config/index.js.map +1 -0
  305. package/dist/esm/help-chat/Help.d.ts +5 -0
  306. package/dist/esm/help-chat/Help.js +33 -0
  307. package/dist/esm/help-chat/Help.js.map +1 -0
  308. package/dist/esm/help-chat/chatHelpDefaultOverrides.d.ts +38 -0
  309. package/dist/esm/help-chat/chatHelpDefaultOverrides.js +42 -0
  310. package/dist/esm/help-chat/chatHelpDefaultOverrides.js.map +1 -0
  311. package/dist/esm/help-chat/index.d.ts +2 -0
  312. package/dist/esm/help-chat/index.js +3 -0
  313. package/dist/esm/help-chat/index.js.map +1 -0
  314. package/dist/esm/help-chat/tests/Chat.stories.d.ts +5 -0
  315. package/dist/esm/help-chat/tests/Chat.stories.js +47 -0
  316. package/dist/esm/help-chat/tests/Chat.stories.js.map +1 -0
  317. package/dist/esm/help-chat/tests/mocks.d.ts +2 -0
  318. package/dist/esm/help-chat/tests/mocks.js +41 -0
  319. package/dist/esm/help-chat/tests/mocks.js.map +1 -0
  320. package/dist/esm/help-chat/types.d.ts +31 -0
  321. package/dist/esm/help-chat/types.js +2 -0
  322. package/dist/esm/help-chat/types.js.map +1 -0
  323. package/dist/esm/help-hub/components/SearchBar/SearchBar.d.ts +4 -0
  324. package/dist/esm/help-hub/components/SearchBar/SearchBar.js +19 -0
  325. package/dist/esm/help-hub/components/SearchBar/SearchBar.js.map +1 -0
  326. package/dist/esm/help-hub/components/SearchBar/components/AlgoliaTheme.d.ts +3 -0
  327. package/dist/esm/help-hub/components/SearchBar/components/AlgoliaTheme.js +12 -0
  328. package/dist/esm/help-hub/components/SearchBar/components/AlgoliaTheme.js.map +1 -0
  329. package/dist/esm/help-hub/components/SearchBar/components/Autocomplete.d.ts +6 -0
  330. package/dist/esm/help-hub/components/SearchBar/components/Autocomplete.js +179 -0
  331. package/dist/esm/help-hub/components/SearchBar/components/Autocomplete.js.map +1 -0
  332. package/dist/esm/help-hub/components/SearchBar/components/Highlight.d.ts +23 -0
  333. package/dist/esm/help-hub/components/SearchBar/components/Highlight.js +15 -0
  334. package/dist/esm/help-hub/components/SearchBar/components/Highlight.js.map +1 -0
  335. package/dist/esm/help-hub/components/SearchBar/defaults.d.ts +17 -0
  336. package/dist/esm/help-hub/components/SearchBar/defaults.js +18 -0
  337. package/dist/esm/help-hub/components/SearchBar/defaults.js.map +1 -0
  338. package/dist/esm/help-hub/components/SearchBar/index.d.ts +1 -0
  339. package/dist/esm/help-hub/components/SearchBar/index.js +2 -0
  340. package/dist/esm/help-hub/components/SearchBar/index.js.map +1 -0
  341. package/dist/esm/help-hub/components/SearchBar/types.d.ts +30 -0
  342. package/dist/esm/help-hub/components/SearchBar/types.js +2 -0
  343. package/dist/esm/help-hub/components/SearchBar/types.js.map +1 -0
  344. package/dist/esm/help-hub/components/SearchBreadcrumb/SearchBreadcrumb.d.ts +4 -0
  345. package/dist/esm/help-hub/components/SearchBreadcrumb/SearchBreadcrumb.js +31 -0
  346. package/dist/esm/help-hub/components/SearchBreadcrumb/SearchBreadcrumb.js.map +1 -0
  347. package/dist/esm/help-hub/components/SearchBreadcrumb/index.d.ts +2 -0
  348. package/dist/esm/help-hub/components/SearchBreadcrumb/index.js +3 -0
  349. package/dist/esm/help-hub/components/SearchBreadcrumb/index.js.map +1 -0
  350. package/dist/esm/help-hub/components/Templates/LayoutTemplate.d.ts +12 -0
  351. package/dist/esm/help-hub/components/Templates/LayoutTemplate.js +59 -0
  352. package/dist/esm/help-hub/components/Templates/LayoutTemplate.js.map +1 -0
  353. package/dist/esm/help-hub/components/Templates/index.d.ts +3 -0
  354. package/dist/esm/help-hub/components/Templates/index.js +4 -0
  355. package/dist/esm/help-hub/components/Templates/index.js.map +1 -0
  356. package/dist/esm/help-hub/components/Templates/types.d.ts +13 -0
  357. package/dist/esm/help-hub/components/Templates/types.js +2 -0
  358. package/dist/esm/help-hub/components/Templates/types.js.map +1 -0
  359. package/dist/esm/help-hub/context/CredentialsContextProvider.d.ts +7 -0
  360. package/dist/esm/help-hub/context/CredentialsContextProvider.js +14 -0
  361. package/dist/esm/help-hub/context/CredentialsContextProvider.js.map +1 -0
  362. package/dist/esm/help-hub/context/HelpHubContextProvider.d.ts +7 -0
  363. package/dist/esm/help-hub/context/HelpHubContextProvider.js +22 -0
  364. package/dist/esm/help-hub/context/HelpHubContextProvider.js.map +1 -0
  365. package/dist/esm/help-hub/context/baseContext.d.ts +3 -0
  366. package/dist/esm/help-hub/context/baseContext.js +136 -0
  367. package/dist/esm/help-hub/context/baseContext.js.map +1 -0
  368. package/dist/esm/help-hub/context/index.d.ts +2 -0
  369. package/dist/esm/help-hub/context/index.js +3 -0
  370. package/dist/esm/help-hub/context/index.js.map +1 -0
  371. package/dist/esm/help-hub/context/types.d.ts +74 -0
  372. package/dist/esm/help-hub/context/types.js +8 -0
  373. package/dist/esm/help-hub/context/types.js.map +1 -0
  374. package/dist/esm/help-hub/helpers/cache-referers.d.ts +2 -0
  375. package/dist/esm/help-hub/helpers/cache-referers.js +15 -0
  376. package/dist/esm/help-hub/helpers/cache-referers.js.map +1 -0
  377. package/dist/esm/help-hub/helpers/index.d.ts +2 -0
  378. package/dist/esm/help-hub/helpers/index.js +3 -0
  379. package/dist/esm/help-hub/helpers/index.js.map +1 -0
  380. package/dist/esm/help-hub/helpers/transform-hits.d.ts +4 -0
  381. package/dist/esm/help-hub/helpers/transform-hits.js +11 -0
  382. package/dist/esm/help-hub/helpers/transform-hits.js.map +1 -0
  383. package/dist/esm/help-hub/index.d.ts +6 -0
  384. package/dist/esm/help-hub/index.js +5 -0
  385. package/dist/esm/help-hub/index.js.map +1 -0
  386. package/dist/esm/help-hub/mocks/articlePageContextOptionsMock.d.ts +2 -0
  387. package/dist/esm/help-hub/mocks/articlePageContextOptionsMock.js +24 -0
  388. package/dist/esm/help-hub/mocks/articlePageContextOptionsMock.js.map +1 -0
  389. package/dist/esm/help-hub/mocks/index.d.ts +1 -0
  390. package/dist/esm/help-hub/mocks/index.js +2 -0
  391. package/dist/esm/help-hub/mocks/index.js.map +1 -0
  392. package/dist/esm/help-hub/mocks/landingPageContextOptionsMock.d.ts +2 -0
  393. package/dist/esm/help-hub/mocks/landingPageContextOptionsMock.js +17 -0
  394. package/dist/esm/help-hub/mocks/landingPageContextOptionsMock.js.map +1 -0
  395. package/dist/esm/help-hub/mocks/mocks.d.ts +5 -0
  396. package/dist/esm/help-hub/mocks/mocks.js +11 -0
  397. package/dist/esm/help-hub/mocks/mocks.js.map +1 -0
  398. package/dist/esm/help-hub/mocks/resultsPageContextOptionsMock.d.ts +2 -0
  399. package/dist/esm/help-hub/mocks/resultsPageContextOptionsMock.js +17 -0
  400. package/dist/esm/help-hub/mocks/resultsPageContextOptionsMock.js.map +1 -0
  401. package/dist/esm/help-hub/mocks/sharedMocks.d.ts +17 -0
  402. package/dist/esm/help-hub/mocks/sharedMocks.js +151 -0
  403. package/dist/esm/help-hub/mocks/sharedMocks.js.map +1 -0
  404. package/dist/esm/help-hub/pages/ArticlePage.d.ts +7 -0
  405. package/dist/esm/help-hub/pages/ArticlePage.js +118 -0
  406. package/dist/esm/help-hub/pages/ArticlePage.js.map +1 -0
  407. package/dist/esm/help-hub/pages/ErrorPage.d.ts +7 -0
  408. package/dist/esm/help-hub/pages/ErrorPage.js +83 -0
  409. package/dist/esm/help-hub/pages/ErrorPage.js.map +1 -0
  410. package/dist/esm/help-hub/pages/LandingPage.d.ts +6 -0
  411. package/dist/esm/help-hub/pages/LandingPage.js +87 -0
  412. package/dist/esm/help-hub/pages/LandingPage.js.map +1 -0
  413. package/dist/esm/help-hub/pages/ResultsPage.d.ts +6 -0
  414. package/dist/esm/help-hub/pages/ResultsPage.js +175 -0
  415. package/dist/esm/help-hub/pages/ResultsPage.js.map +1 -0
  416. package/dist/esm/help-hub/pages/index.d.ts +5 -0
  417. package/dist/esm/help-hub/pages/index.js +6 -0
  418. package/dist/esm/help-hub/pages/index.js.map +1 -0
  419. package/dist/esm/help-hub/pages/types.d.ts +19 -0
  420. package/dist/esm/help-hub/pages/types.js +2 -0
  421. package/dist/esm/help-hub/pages/types.js.map +1 -0
  422. package/dist/esm/help-hub/provider/articleProvider.d.ts +22 -0
  423. package/dist/esm/help-hub/provider/articleProvider.js +85 -0
  424. package/dist/esm/help-hub/provider/articleProvider.js.map +1 -0
  425. package/dist/esm/help-hub/provider/errorPageProvider.d.ts +10 -0
  426. package/dist/esm/help-hub/provider/errorPageProvider.js +54 -0
  427. package/dist/esm/help-hub/provider/errorPageProvider.js.map +1 -0
  428. package/dist/esm/help-hub/provider/getHelpHubConfig.d.ts +2 -0
  429. package/dist/esm/help-hub/provider/getHelpHubConfig.js +13 -0
  430. package/dist/esm/help-hub/provider/getHelpHubConfig.js.map +1 -0
  431. package/dist/esm/help-hub/provider/index.d.ts +7 -0
  432. package/dist/esm/help-hub/provider/index.js +8 -0
  433. package/dist/esm/help-hub/provider/index.js.map +1 -0
  434. package/dist/esm/help-hub/provider/landingPageProvider.d.ts +10 -0
  435. package/dist/esm/help-hub/provider/landingPageProvider.js +54 -0
  436. package/dist/esm/help-hub/provider/landingPageProvider.js.map +1 -0
  437. package/dist/esm/help-hub/provider/resultsProvider.d.ts +27 -0
  438. package/dist/esm/help-hub/provider/resultsProvider.js +113 -0
  439. package/dist/esm/help-hub/provider/resultsProvider.js.map +1 -0
  440. package/dist/esm/help-hub/provider/types.d.ts +43 -0
  441. package/dist/esm/help-hub/provider/types.js +10 -0
  442. package/dist/esm/help-hub/provider/types.js.map +1 -0
  443. package/dist/esm/help-hub/types/index.d.ts +11 -0
  444. package/dist/esm/help-hub/types/index.js +2 -0
  445. package/dist/esm/help-hub/types/index.js.map +1 -0
  446. package/dist/esm/index.d.ts +4 -0
  447. package/dist/esm/index.js +5 -0
  448. package/dist/esm/index.js.map +1 -0
  449. package/dist/esm/rss-console/client/index.d.ts +13 -0
  450. package/dist/esm/rss-console/client/index.js +85 -0
  451. package/dist/esm/rss-console/client/index.js.map +1 -0
  452. package/dist/esm/rss-console/components/Templates/LayoutTemplate.d.ts +12 -0
  453. package/dist/esm/rss-console/components/Templates/LayoutTemplate.js +73 -0
  454. package/dist/esm/rss-console/components/Templates/LayoutTemplate.js.map +1 -0
  455. package/dist/esm/rss-console/components/Templates/index.d.ts +3 -0
  456. package/dist/esm/rss-console/components/Templates/index.js +4 -0
  457. package/dist/esm/rss-console/components/Templates/index.js.map +1 -0
  458. package/dist/esm/rss-console/components/Templates/types.d.ts +13 -0
  459. package/dist/esm/rss-console/components/Templates/types.js +2 -0
  460. package/dist/esm/rss-console/components/Templates/types.js.map +1 -0
  461. package/dist/esm/rss-console/context/RSSConsoleContextProvider.d.ts +7 -0
  462. package/dist/esm/rss-console/context/RSSConsoleContextProvider.js +21 -0
  463. package/dist/esm/rss-console/context/RSSConsoleContextProvider.js.map +1 -0
  464. package/dist/esm/rss-console/context/baseContext.d.ts +2 -0
  465. package/dist/esm/rss-console/context/baseContext.js +82 -0
  466. package/dist/esm/rss-console/context/baseContext.js.map +1 -0
  467. package/dist/esm/rss-console/context/index.d.ts +1 -0
  468. package/dist/esm/rss-console/context/index.js +2 -0
  469. package/dist/esm/rss-console/context/index.js.map +1 -0
  470. package/dist/esm/rss-console/context/types.d.ts +27 -0
  471. package/dist/esm/rss-console/context/types.js +7 -0
  472. package/dist/esm/rss-console/context/types.js.map +1 -0
  473. package/dist/esm/rss-console/hooks/useFeed.d.ts +4 -0
  474. package/dist/esm/rss-console/hooks/useFeed.js +47 -0
  475. package/dist/esm/rss-console/hooks/useFeed.js.map +1 -0
  476. package/dist/esm/rss-console/hooks/useFeedCreation.d.ts +4 -0
  477. package/dist/esm/rss-console/hooks/useFeedCreation.js +55 -0
  478. package/dist/esm/rss-console/hooks/useFeedCreation.js.map +1 -0
  479. package/dist/esm/rss-console/hooks/useFeedList.d.ts +4 -0
  480. package/dist/esm/rss-console/hooks/useFeedList.js +49 -0
  481. package/dist/esm/rss-console/hooks/useFeedList.js.map +1 -0
  482. package/dist/esm/rss-console/index.d.ts +1 -0
  483. package/dist/esm/rss-console/index.js +2 -0
  484. package/dist/esm/rss-console/index.js.map +1 -0
  485. package/dist/esm/rss-console/pages/CreateFeedPage.d.ts +4 -0
  486. package/dist/esm/rss-console/pages/CreateFeedPage.js +120 -0
  487. package/dist/esm/rss-console/pages/CreateFeedPage.js.map +1 -0
  488. package/dist/esm/rss-console/pages/FeedDetailsPage.d.ts +4 -0
  489. package/dist/esm/rss-console/pages/FeedDetailsPage.js +77 -0
  490. package/dist/esm/rss-console/pages/FeedDetailsPage.js.map +1 -0
  491. package/dist/esm/rss-console/pages/FeedsListPage.d.ts +4 -0
  492. package/dist/esm/rss-console/pages/FeedsListPage.js +65 -0
  493. package/dist/esm/rss-console/pages/FeedsListPage.js.map +1 -0
  494. package/dist/esm/rss-console/pages/index.d.ts +6 -0
  495. package/dist/esm/rss-console/pages/index.js +7 -0
  496. package/dist/esm/rss-console/pages/index.js.map +1 -0
  497. package/dist/esm/rss-console/pages/types.d.ts +11 -0
  498. package/dist/esm/rss-console/pages/types.js +2 -0
  499. package/dist/esm/rss-console/pages/types.js.map +1 -0
  500. package/package.json +106 -0
@@ -0,0 +1,151 @@
1
+ export var mostReadArticlesMock = [
2
+ {
3
+ id: 'ka06M00000090SNQAY',
4
+ title: 'My voucher booklet has not arrived, what do I do?',
5
+ content: '<b>When will the final issue be published?</b><br>The final November issue will be published on 1st October 2020 and is available in all good newsagents and travel stores.<br><br><b>Will this affect my subscription to The Times & The Sunday Times?</b>',
6
+ publishedTimeStamp: '2020-09-16T10:28:19.000+0000',
7
+ objectID: 'the-sunday-times-travel-magazine-closure-faqs',
8
+ },
9
+ {
10
+ id: 'ka06M00000090SNQAY',
11
+ title: "Why hasn't my newspaper been delivered?",
12
+ content: '<b>When will the final issue be published?</b><br>The final November issue will be published on 1st October 2020 and is available in all good newsagents and travel stores.<br><br><b>Will this affect my subscription to The Times & The Sunday Times?</b>',
13
+ publishedTimeStamp: '2020-09-16T10:28:19.000+0000',
14
+ objectID: 'the-sunday-times-travel-magazine-closure-faqs',
15
+ },
16
+ ];
17
+ export var algoliaDataMock = [
18
+ {
19
+ title: "What's in the smartphone app and how do I access it?",
20
+ content: '<ul><li>Enjoy The Times and The Sunday Times journalism wherever you are with one app, 7 days a week.</li><li>Get the latest global, business, politics, sport and finance headline news articles on the go as well as trusted analysis and opinion from our award-winning columnists and global correspondents.</li><li>On top of that, enjoy stunning picture galleries, interactive crossword puzzles and exclusive video dispatches from Great Britain and across the world. Now with a seamless link to The Times and Sunday Times Sport app.</li><li>Keep updated on all your Times+ membership offers and experience a selection of the best Times+ Talks right from within the app. </li><li>You can save your favourite articles for reading later and share your favourite stories from our Times &amp; Sunday Times columnists from across all sections including headline news reports, UK and global business, finance, world, sport reports, politics and opinion.</li></ul>\n<br>The app is available from the <a href="https://play.google.com/store/apps/details?id=uk.co.thetimes" target="_blank">Google Play Store</a> and <a href="https://itunes.apple.com/gb/app/the-times-the-sunday-times/id436792321?mt=8" target="_blank">iTunes</a><br>Please ensure that you are using the latest Android or IOS software when downloading the app.',
21
+ objectID: 'what-s-in-the-smartphone-app-and-how-do-i-access-it',
22
+ },
23
+ {
24
+ title: 'Sign-in with Google',
25
+ content: '<p>To use Google Sign In with The Times and Sunday Times, you must have a Google account. If you don’t have a Google account but would like to use this feature, you can easily create one at google.com<br><br><b>I see an error telling me I don’t have an account with The Times when login in to My Times account with Google Sign in?</b></p>\n\n<ul><li>\n\t<p>On first use of Google Sign In, your Times username must match the email address on your Google account, otherwise we cannot match them. If you would like to use Google Sign In but your email address does not match, you can log in using your Times email address and password and update your email address in My Account.</p>\n\t</li></ul>\n\n<p><b>Can I change my Times email address after I use Google Sign In?</b></p>\n\n<ul><li>\n\t<p>First time you sign into your Times account your login email address needs to be the same as your Google account email address. Once logged in you can update this via My Account.</p>\n\t</li></ul>\n\n<p><b>Can I still login with my own Times username and password after I use Google Sign In?</b></p>\n\n<ul><li>\n\t<p>As an existing Times user, you continue to have the ability to login using your Times username and password. You will as such retain the ability to change your password at any time.</p>\n\t</li></ul>',
26
+ objectID: 'sign-with-google',
27
+ },
28
+ {
29
+ title: 'I am trying to share an article via Google+ but an error message keeps appearing',
30
+ content: 'This may be happening because there&#39;s an authentication issue with your Google+ account. To fix this, delete The Times and The Sunday Times app and then reinstall it. ',
31
+ objectID: 'i-am-trying-to-share-an-article-via-google-but-an-error-message-keeps-appearing',
32
+ },
33
+ {
34
+ title: 'How will I find out if I have won a competition?',
35
+ content: 'Our competitions team contact the winners of our competitions via the phone number on your Times account.<br><br>If you don’t answer they will endeavor to contact you via email, giving you plenty of time to respond before finding a new winner.',
36
+ objectID: 'how-will-i-find-out-if-i-have-won-a-competition',
37
+ },
38
+ {
39
+ title: 'How many articles can I read with my registered access?',
40
+ content: 'You can read up to two articles a week, Monday to Sunday. Every Monday your allocation will be reset to two articles. An article is a whole photo gallery, story or a piece of video content.',
41
+ objectID: 'how-many-articles-can-i-read-with-my-registered-access',
42
+ },
43
+ ];
44
+ export var algoliaDataLargeMock = [
45
+ {
46
+ title: "What's in the smartphone app and how do I access it?",
47
+ content: '<ul><li>Enjoy The Times and The Sunday Times journalism wherever you are with one app, 7 days a week.</li><li>Get the latest global, business, politics, sport and finance headline news articles on the go as well as trusted analysis and opinion from our award-winning columnists and global correspondents.</li><li>On top of that, enjoy stunning picture galleries, interactive crossword puzzles and exclusive video dispatches from Great Britain and across the world. Now with a seamless link to The Times and Sunday Times Sport app.</li><li>Keep updated on all your Times+ membership offers and experience a selection of the best Times+ Talks right from within the app. </li><li>You can save your favourite articles for reading later and share your favourite stories from our Times &amp; Sunday Times columnists from across all sections including headline news reports, UK and global business, finance, world, sport reports, politics and opinion.</li></ul>\n<br>The app is available from the <a href="https://play.google.com/store/apps/details?id=uk.co.thetimes" target="_blank">Google Play Store</a> and <a href="https://itunes.apple.com/gb/app/the-times-the-sunday-times/id436792321?mt=8" target="_blank">iTunes</a><br>Please ensure that you are using the latest Android or IOS software when downloading the app.',
48
+ objectID: 'what-s-in-the-smartphone-app-and-how-do-i-access-it',
49
+ },
50
+ {
51
+ title: 'Sign-in with Google',
52
+ content: '<p>To use Google Sign In with The Times and Sunday Times, you must have a Google account. If you don’t have a Google account but would like to use this feature, you can easily create one at google.com<br><br><b>I see an error telling me I don’t have an account with The Times when login in to My Times account with Google Sign in?</b></p>\n\n<ul><li>\n\t<p>On first use of Google Sign In, your Times username must match the email address on your Google account, otherwise we cannot match them. If you would like to use Google Sign In but your email address does not match, you can log in using your Times email address and password and update your email address in My Account.</p>\n\t</li></ul>\n\n<p><b>Can I change my Times email address after I use Google Sign In?</b></p>\n\n<ul><li>\n\t<p>First time you sign into your Times account your login email address needs to be the same as your Google account email address. Once logged in you can update this via My Account.</p>\n\t</li></ul>\n\n<p><b>Can I still login with my own Times username and password after I use Google Sign In?</b></p>\n\n<ul><li>\n\t<p>As an existing Times user, you continue to have the ability to login using your Times username and password. You will as such retain the ability to change your password at any time.</p>\n\t</li></ul>',
53
+ objectID: 'sign-with-google',
54
+ },
55
+ {
56
+ title: 'I am trying to share an article via Google+ but an error message keeps appearing',
57
+ content: 'This may be happening because there&#39;s an authentication issue with your Google+ account. To fix this, delete The Times and The Sunday Times app and then reinstall it. ',
58
+ objectID: 'i-am-trying-to-share-an-article-via-google-but-an-error-message-keeps-appearing',
59
+ },
60
+ {
61
+ title: 'How will I find out if I have won a competition?',
62
+ content: 'Our competitions team contact the winners of our competitions via the phone number on your Times account.<br><br>If you don’t answer they will endeavor to contact you via email, giving you plenty of time to respond before finding a new winner.',
63
+ objectID: 'how-will-i-find-out-if-i-have-won-a-competition',
64
+ },
65
+ {
66
+ title: 'How many articles can I read with my registered access?',
67
+ content: 'You can read up to two articles a week, Monday to Sunday. Every Monday your allocation will be reset to two articles. An article is a whole photo gallery, story or a piece of video content.',
68
+ objectID: 'how-many-articles-can-i-read-with-my-registered-access',
69
+ },
70
+ {
71
+ title: "What's in the smartphone app and how do I access it?",
72
+ content: '<ul><li>Enjoy The Times and The Sunday Times journalism wherever you are with one app, 7 days a week.</li><li>Get the latest global, business, politics, sport and finance headline news articles on the go as well as trusted analysis and opinion from our award-winning columnists and global correspondents.</li><li>On top of that, enjoy stunning picture galleries, interactive crossword puzzles and exclusive video dispatches from Great Britain and across the world. Now with a seamless link to The Times and Sunday Times Sport app.</li><li>Keep updated on all your Times+ membership offers and experience a selection of the best Times+ Talks right from within the app. </li><li>You can save your favourite articles for reading later and share your favourite stories from our Times &amp; Sunday Times columnists from across all sections including headline news reports, UK and global business, finance, world, sport reports, politics and opinion.</li></ul>\n<br>The app is available from the <a href="https://play.google.com/store/apps/details?id=uk.co.thetimes" target="_blank">Google Play Store</a> and <a href="https://itunes.apple.com/gb/app/the-times-the-sunday-times/id436792321?mt=8" target="_blank">iTunes</a><br>Please ensure that you are using the latest Android or IOS software when downloading the app.',
73
+ objectID: 'what-s-in-the-smartphone-app-and-how-do-i-access-it-2',
74
+ },
75
+ {
76
+ title: 'Sign-in with Google',
77
+ content: '<p>To use Google Sign In with The Times and Sunday Times, you must have a Google account. If you don’t have a Google account but would like to use this feature, you can easily create one at google.com<br><br><b>I see an error telling me I don’t have an account with The Times when login in to My Times account with Google Sign in?</b></p>\n\n<ul><li>\n\t<p>On first use of Google Sign In, your Times username must match the email address on your Google account, otherwise we cannot match them. If you would like to use Google Sign In but your email address does not match, you can log in using your Times email address and password and update your email address in My Account.</p>\n\t</li></ul>\n\n<p><b>Can I change my Times email address after I use Google Sign In?</b></p>\n\n<ul><li>\n\t<p>First time you sign into your Times account your login email address needs to be the same as your Google account email address. Once logged in you can update this via My Account.</p>\n\t</li></ul>\n\n<p><b>Can I still login with my own Times username and password after I use Google Sign In?</b></p>\n\n<ul><li>\n\t<p>As an existing Times user, you continue to have the ability to login using your Times username and password. You will as such retain the ability to change your password at any time.</p>\n\t</li></ul>',
78
+ objectID: 'sign-with-google-2',
79
+ },
80
+ {
81
+ title: 'I am trying to share an article via Google+ but an error message keeps appearing',
82
+ content: 'This may be happening because there&#39;s an authentication issue with your Google+ account. To fix this, delete The Times and The Sunday Times app and then reinstall it. ',
83
+ objectID: 'i-am-trying-to-share-an-article-via-google-but-an-error-message-keeps-appearing-2',
84
+ },
85
+ {
86
+ title: 'How will I find out if I have won a competition?',
87
+ content: 'Our competitions team contact the winners of our competitions via the phone number on your Times account.<br><br>If you don’t answer they will endeavor to contact you via email, giving you plenty of time to respond before finding a new winner.',
88
+ objectID: 'how-will-i-find-out-if-i-have-won-a-competition-2',
89
+ },
90
+ {
91
+ title: 'How many articles can I read with my registered access?',
92
+ content: 'You can read up to two articles a week, Monday to Sunday. Every Monday your allocation will be reset to two articles. An article is a whole photo gallery, story or a piece of video content.',
93
+ objectID: 'how-many-articles-can-i-read-with-my-registered-access-2',
94
+ },
95
+ {
96
+ title: "What's in the smartphone app and how do I access it?",
97
+ content: '<ul><li>Enjoy The Times and The Sunday Times journalism wherever you are with one app, 7 days a week.</li><li>Get the latest global, business, politics, sport and finance headline news articles on the go as well as trusted analysis and opinion from our award-winning columnists and global correspondents.</li><li>On top of that, enjoy stunning picture galleries, interactive crossword puzzles and exclusive video dispatches from Great Britain and across the world. Now with a seamless link to The Times and Sunday Times Sport app.</li><li>Keep updated on all your Times+ membership offers and experience a selection of the best Times+ Talks right from within the app. </li><li>You can save your favourite articles for reading later and share your favourite stories from our Times &amp; Sunday Times columnists from across all sections including headline news reports, UK and global business, finance, world, sport reports, politics and opinion.</li></ul>\n<br>The app is available from the <a href="https://play.google.com/store/apps/details?id=uk.co.thetimes" target="_blank">Google Play Store</a> and <a href="https://itunes.apple.com/gb/app/the-times-the-sunday-times/id436792321?mt=8" target="_blank">iTunes</a><br>Please ensure that you are using the latest Android or IOS software when downloading the app.',
98
+ objectID: 'what-s-in-the-smartphone-app-and-how-do-i-access-it-3',
99
+ },
100
+ {
101
+ title: 'Sign-in with Google',
102
+ content: '<p>To use Google Sign In with The Times and Sunday Times, you must have a Google account. If you don’t have a Google account but would like to use this feature, you can easily create one at google.com<br><br><b>I see an error telling me I don’t have an account with The Times when login in to My Times account with Google Sign in?</b></p>\n\n<ul><li>\n\t<p>On first use of Google Sign In, your Times username must match the email address on your Google account, otherwise we cannot match them. If you would like to use Google Sign In but your email address does not match, you can log in using your Times email address and password and update your email address in My Account.</p>\n\t</li></ul>\n\n<p><b>Can I change my Times email address after I use Google Sign In?</b></p>\n\n<ul><li>\n\t<p>First time you sign into your Times account your login email address needs to be the same as your Google account email address. Once logged in you can update this via My Account.</p>\n\t</li></ul>\n\n<p><b>Can I still login with my own Times username and password after I use Google Sign In?</b></p>\n\n<ul><li>\n\t<p>As an existing Times user, you continue to have the ability to login using your Times username and password. You will as such retain the ability to change your password at any time.</p>\n\t</li></ul>',
103
+ objectID: 'sign-with-google-3',
104
+ },
105
+ {
106
+ title: 'I am trying to share an article via Google+ but an error message keeps appearing',
107
+ content: 'This may be happening because there&#39;s an authentication issue with your Google+ account. To fix this, delete The Times and The Sunday Times app and then reinstall it. ',
108
+ objectID: 'i-am-trying-to-share-an-article-via-google-but-an-error-message-keeps-appearing-3',
109
+ },
110
+ {
111
+ title: 'How will I find out if I have won a competition?',
112
+ content: 'Our competitions team contact the winners of our competitions via the phone number on your Times account.<br><br>If you don’t answer they will endeavor to contact you via email, giving you plenty of time to respond before finding a new winner.',
113
+ objectID: 'how-will-i-find-out-if-i-have-won-a-competition-3',
114
+ },
115
+ {
116
+ title: 'How many articles can I read with my registered access?',
117
+ content: 'You can read up to two articles a week, Monday to Sunday. Every Monday your allocation will be reset to two articles. An article is a whole photo gallery, story or a piece of video content.',
118
+ objectID: 'how-many-articles-can-i-read-with-my-registered-access-3',
119
+ },
120
+ {
121
+ title: "What's in the smartphone app and how do I access it?",
122
+ content: '<ul><li>Enjoy The Times and The Sunday Times journalism wherever you are with one app, 7 days a week.</li><li>Get the latest global, business, politics, sport and finance headline news articles on the go as well as trusted analysis and opinion from our award-winning columnists and global correspondents.</li><li>On top of that, enjoy stunning picture galleries, interactive crossword puzzles and exclusive video dispatches from Great Britain and across the world. Now with a seamless link to The Times and Sunday Times Sport app.</li><li>Keep updated on all your Times+ membership offers and experience a selection of the best Times+ Talks right from within the app. </li><li>You can save your favourite articles for reading later and share your favourite stories from our Times &amp; Sunday Times columnists from across all sections including headline news reports, UK and global business, finance, world, sport reports, politics and opinion.</li></ul>\n<br>The app is available from the <a href="https://play.google.com/store/apps/details?id=uk.co.thetimes" target="_blank">Google Play Store</a> and <a href="https://itunes.apple.com/gb/app/the-times-the-sunday-times/id436792321?mt=8" target="_blank">iTunes</a><br>Please ensure that you are using the latest Android or IOS software when downloading the app.',
123
+ objectID: 'what-s-in-the-smartphone-app-and-how-do-i-access-it-4',
124
+ },
125
+ {
126
+ title: 'Sign-in with Google',
127
+ content: '<p>To use Google Sign In with The Times and Sunday Times, you must have a Google account. If you don’t have a Google account but would like to use this feature, you can easily create one at google.com<br><br><b>I see an error telling me I don’t have an account with The Times when login in to My Times account with Google Sign in?</b></p>\n\n<ul><li>\n\t<p>On first use of Google Sign In, your Times username must match the email address on your Google account, otherwise we cannot match them. If you would like to use Google Sign In but your email address does not match, you can log in using your Times email address and password and update your email address in My Account.</p>\n\t</li></ul>\n\n<p><b>Can I change my Times email address after I use Google Sign In?</b></p>\n\n<ul><li>\n\t<p>First time you sign into your Times account your login email address needs to be the same as your Google account email address. Once logged in you can update this via My Account.</p>\n\t</li></ul>\n\n<p><b>Can I still login with my own Times username and password after I use Google Sign In?</b></p>\n\n<ul><li>\n\t<p>As an existing Times user, you continue to have the ability to login using your Times username and password. You will as such retain the ability to change your password at any time.</p>\n\t</li></ul>',
128
+ objectID: 'sign-with-google-4',
129
+ },
130
+ {
131
+ title: 'I am trying to share an article via Google+ but an error message keeps appearing',
132
+ content: 'This may be happening because there&#39;s an authentication issue with your Google+ account. To fix this, delete The Times and The Sunday Times app and then reinstall it. ',
133
+ objectID: 'i-am-trying-to-share-an-article-via-google-but-an-error-message-keeps-appearing-4',
134
+ },
135
+ {
136
+ title: 'How will I find out if I have won a competition?',
137
+ content: 'Our competitions team contact the winners of our competitions via the phone number on your Times account.<br><br>If you don’t answer they will endeavor to contact you via email, giving you plenty of time to respond before finding a new winner.',
138
+ objectID: 'how-will-i-find-out-if-i-have-won-a-competition-4',
139
+ },
140
+ {
141
+ title: 'How many articles can I read with my registered access?',
142
+ content: 'You can read up to two articles a week, Monday to Sunday. Every Monday your allocation will be reset to two articles. An article is a whole photo gallery, story or a piece of video content.',
143
+ objectID: 'how-many-articles-can-i-read-with-my-registered-access-4',
144
+ },
145
+ {
146
+ title: 'How many articles can I read with my registered access?',
147
+ content: 'You can read up to two articles a week, Monday to Sunday. Every Monday your allocation will be reset to two articles. An article is a whole photo gallery, story or a piece of video content.',
148
+ objectID: 'how-many-articles-can-i-read-with-my-registered-access-5',
149
+ },
150
+ ];
151
+ //# sourceMappingURL=sharedMocks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sharedMocks.js","sourceRoot":"","sources":["../../../../src/help-hub/mocks/sharedMocks.tsx"],"names":[],"mappings":"AAAA,MAA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QACpF,OAAO,EACL,6KAA6K;QAC/K,QAAQ,EACN,mFAAmF;KACtF;IACD;QACE,KAAK,EAAE,kDAAkD;QACzD,OAAO,EACL,qPAAqP;QACvP,QAAQ,EAAE,mDAAmD;KAC9D;IACD;QACE,KAAK,EAAE,yDAAyD;QAChE,OAAO,EACL,+LAA+L;QACjM,QAAQ,EAAE,0DAA0D;KACrE;IACD;QACE,KAAK,EAAE,yDAAyD;QAChE,OAAO,EACL,+LAA+L;QACjM,QAAQ,EAAE,0DAA0D;KACrE;CACF,CAAA"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ArticlePageProps } from './types';
3
+ import { ArticlePageContextOptions } from '../context/types';
4
+ export declare const articlePageContext: Partial<ArticlePageContextOptions>;
5
+ export declare const PageContent: React.FC;
6
+ export declare const ArticlePage: React.FC<ArticlePageProps>;
7
+ export default ArticlePage;
@@ -0,0 +1,118 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import React, { useEffect, useState } from 'react';
13
+ import assign from 'lodash.assign';
14
+ import xss from 'xss';
15
+ import { Block, GridLayout } from 'newskit';
16
+ import { Introduction } from '@newskit-render/shared-components';
17
+ import Layout from '../components/Templates';
18
+ import { SearchBar } from '../components/SearchBar';
19
+ import SearchBreadcrumb from '../components/SearchBreadcrumb';
20
+ import { PagesNameMap } from '../context/types';
21
+ import { useHelpHubContext } from '../context';
22
+ import { CredentialsContextProvider } from '../context';
23
+ import { cacheReferer, getCachedReferer } from '../helpers';
24
+ export var articlePageContext = {
25
+ introductionProps: {
26
+ titleOverrides: {
27
+ typographyPreset: {
28
+ xs: 'editorialHeadline040',
29
+ sm: 'editorialHeadline050',
30
+ },
31
+ stylePreset: 'inkContrast',
32
+ marginBlockEnd: { xs: 'space050', md: 'space060' },
33
+ as: 'h1',
34
+ },
35
+ },
36
+ searchBreadcrumbContext: {
37
+ searchBreadcrumbProps: {
38
+ size: 'medium',
39
+ overrides: {
40
+ marginBlockEnd: 'space045',
41
+ separator: {
42
+ size: 'iconSize010',
43
+ stylePreset: 'inkBrand010',
44
+ },
45
+ },
46
+ showTrailingSeparator: true,
47
+ },
48
+ notFoundBreadcrumbProps: {
49
+ size: 'medium',
50
+ overrides: {
51
+ marginBlockEnd: 'space000',
52
+ separator: {
53
+ size: 'iconSize010',
54
+ stylePreset: 'inkBrand010',
55
+ },
56
+ },
57
+ showTrailingSeparator: true,
58
+ },
59
+ searchBreadcrumbItemOne: 'Help Hub',
60
+ searchBreadcrumbItemTwo: 'Search results',
61
+ ariaLabel: 'article page breadcrumbs',
62
+ },
63
+ };
64
+ export var PageContent = function () {
65
+ var _a = useHelpHubContext(PagesNameMap.articlePage), title = _a.title, introductionProps = _a.introductionProps, content = _a.content, inputPlaceholder = _a.inputPlaceholder, articleNotFound = _a.articleNotFound, baseUrl = _a.baseUrl, searchBar = _a.searchBar, referer = _a.referer, searchBreadcrumbContext = _a.searchBreadcrumbContext;
66
+ var _b = useState(referer), cachedReferer = _b[0], setCachedReferer = _b[1];
67
+ useEffect(function () {
68
+ /* istanbul ignore next */
69
+ if (typeof window === 'undefined')
70
+ return;
71
+ var url = window.location.href;
72
+ if (referer)
73
+ cacheReferer(url, referer);
74
+ setCachedReferer(getCachedReferer(url) || referer);
75
+ }, []);
76
+ var xssOptions = {
77
+ whiteList: {
78
+ p: [],
79
+ a: ['href', 'target'],
80
+ br: [],
81
+ img: [],
82
+ b: [],
83
+ strong: [],
84
+ ul: [],
85
+ li: [],
86
+ },
87
+ stripIgnoreTag: true,
88
+ stripIgnoreTagBody: ['script'],
89
+ };
90
+ var sanitizedArticleContent = xss(content, xssOptions);
91
+ var hasContent = sanitizedArticleContent.replace(/\s/g, '').length;
92
+ return hasContent ? (React.createElement(React.Fragment, null,
93
+ React.createElement(SearchBar, { placeholder: inputPlaceholder, baseUrl: baseUrl, overrides: searchBar }),
94
+ React.createElement(Block, { marginBlockEnd: { xs: 'space060' } }),
95
+ React.createElement(SearchBreadcrumb, __assign({ baseUrl: baseUrl, referer: cachedReferer }, searchBreadcrumbContext)),
96
+ React.createElement(Introduction, __assign({ title: title }, introductionProps, { innerHTML: {
97
+ html: sanitizedArticleContent,
98
+ typographyPreset: {
99
+ xs: 'editorialParagraph020',
100
+ },
101
+ } })),
102
+ React.createElement(Block, { marginBlockEnd: { xs: 'space070' } }))) : (React.createElement(GridLayout, { rowGap: 'space060', alignContent: "center", overrides: {
103
+ marginBlockStart: 'space060',
104
+ marginBlockEnd: 'space070',
105
+ } },
106
+ React.createElement(SearchBreadcrumb, __assign({ baseUrl: baseUrl, referer: cachedReferer }, searchBreadcrumbContext, { searchBreadcrumbProps: searchBreadcrumbContext === null || searchBreadcrumbContext === void 0 ? void 0 : searchBreadcrumbContext.notFoundBreadcrumbProps })),
107
+ React.createElement(Introduction, { title: articleNotFound, titleOverrides: introductionProps.titleOverrides }),
108
+ React.createElement(SearchBar, { placeholder: inputPlaceholder, overrides: searchBar })));
109
+ };
110
+ export var ArticlePage = function (_a) {
111
+ var context = _a.context, customTheme = _a.customTheme, themeDropdownObject = _a.themeDropdownObject, credentials = _a.credentials, title = _a.title, content = _a.content, referer = _a.referer;
112
+ var enhancedContext = __assign({}, assign({}, __assign({ content: content, title: title, referer: referer }, articlePageContext), context));
113
+ return (React.createElement(CredentialsContextProvider, { credentials: credentials },
114
+ React.createElement(Layout, { context: enhancedContext, contextName: PagesNameMap.articlePage, customTheme: customTheme, themeDropdownObject: themeDropdownObject, topMarginBlockEnd: { xs: 'space045', md: 'space070' } },
115
+ React.createElement(PageContent, null))));
116
+ };
117
+ export default ArticlePage;
118
+ //# sourceMappingURL=ArticlePage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArticlePage.js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,GAAI,CACvD,CACd,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,IAAM,WAAW,GAA+B,UAAC,EAQvD;QAPC,OAAO,aAAA,EACP,WAAW,iBAAA,EACX,mBAAmB,yBAAA,EACnB,WAAW,iBAAA,EACX,KAAK,WAAA,EACL,OAAO,aAAA,EACP,OAAO,aAAA;IAEP,IAAM,eAAe,gBAChB,MAAM,CAAC,EAAE,aAAI,OAAO,SAAA,EAAE,KAAK,OAAA,EAAE,OAAO,SAAA,IAAK,kBAAkB,GAAI,OAAO,CAAC,CAC3E,CAAA;IACD,OAAO,CACL,oBAAC,0BAA0B,IAAC,WAAW,EAAE,WAAW;QAClD,oBAAC,MAAM,IACL,OAAO,EAAE,eAAe,EACxB,WAAW,EAAE,YAAY,CAAC,WAAW,EACrC,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,mBAAmB,EACxC,iBAAiB,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE;YAErD,oBAAC,WAAW,OAAG,CACR,CACkB,CAC9B,CAAA;AACH,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ErrorPageContextOptions } from '../context/types';
3
+ import { BasePageProps } from './types';
4
+ export declare const errorPageContext: Partial<ErrorPageContextOptions>;
5
+ export declare const PageContent: React.FC;
6
+ export declare const ErrorPage: React.FC<BasePageProps>;
7
+ export default ErrorPage;
@@ -0,0 +1,83 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import React from 'react';
13
+ import assign from 'lodash.assign';
14
+ import { Block, LinkInline } from 'newskit';
15
+ import { Introduction, theSunTheme } from '@newskit-render/shared-components';
16
+ import { SearchBar } from '../components/SearchBar';
17
+ import { useHelpHubContext } from '../context';
18
+ import Layout from '../components/Templates';
19
+ import { PagesNameMap } from '../context/types';
20
+ import { CredentialsContextProvider } from '../context';
21
+ export var errorPageContext = {
22
+ navigationPrimary: {
23
+ logoSrc: '/assets/navigationPrimary-brandMark-sun.svg',
24
+ logoWidth: '140',
25
+ logoHeight: '48',
26
+ },
27
+ introductionProps: {
28
+ title: 'Whoops',
29
+ descriptionAsElement: (React.createElement(React.Fragment, null,
30
+ "We can't seem to find what you're looking for. Try our search below or return to our",
31
+ ' ',
32
+ React.createElement(LinkInline, { "data-testid": "back-to-homepage-link", href: "https://help.thesun.co.uk/", external: false }, "helphub homepage."))),
33
+ titleOverrides: {
34
+ typographyPreset: { xs: 'utilityHeading040', sm: 'utilityHeading050' },
35
+ stylePreset: 'inkContrast',
36
+ marginBlockEnd: 'space040',
37
+ as: 'h1',
38
+ },
39
+ marginBlockEnd: 'space060',
40
+ },
41
+ searchBar: {
42
+ marginBlockEnd: { xs: 'space060', md: 'space070' },
43
+ color: 'inkBase',
44
+ placeholder: {
45
+ color: 'inkSubtle',
46
+ typographyPreset: 'utilityBody030',
47
+ },
48
+ outline: {
49
+ style: 'outlineStyleDefault',
50
+ color: 'outlineColorDefault',
51
+ width: 'outlineWidthDefault',
52
+ },
53
+ icon: {
54
+ color: 'inkBrand010',
55
+ position: 'right',
56
+ },
57
+ autocomplete: {
58
+ color: 'interactivePrimary030',
59
+ },
60
+ border: {
61
+ color: 'interactiveInput020',
62
+ style: '1px solid',
63
+ },
64
+ },
65
+ marginBlockEnd: { xs: 'space060', sm: 'space070', md: 'space090' },
66
+ };
67
+ export var PageContent = function () {
68
+ var _a = useHelpHubContext(PagesNameMap.errorPage), baseUrl = _a.baseUrl, inputPlaceholder = _a.inputPlaceholder, searchBar = _a.searchBar, introductionProps = _a.introductionProps;
69
+ return (React.createElement(React.Fragment, null,
70
+ React.createElement(Block, { marginBlockEnd: searchBar.marginBlockEnd }),
71
+ React.createElement(Introduction, __assign({}, introductionProps)),
72
+ React.createElement(SearchBar, { placeholder: inputPlaceholder, baseUrl: baseUrl, overrides: searchBar }),
73
+ React.createElement(Block, { marginBlock: 'space070' })));
74
+ };
75
+ export var ErrorPage = function (_a) {
76
+ var context = _a.context, customTheme = _a.customTheme, themeDropdownObject = _a.themeDropdownObject, credentials = _a.credentials;
77
+ var enhancedContext = __assign({}, assign({}, errorPageContext, context));
78
+ return (React.createElement(CredentialsContextProvider, { credentials: credentials },
79
+ React.createElement(Layout, { context: enhancedContext, contextName: PagesNameMap.errorPage, customTheme: customTheme || theSunTheme, themeDropdownObject: themeDropdownObject },
80
+ React.createElement(PageContent, null))));
81
+ };
82
+ export default ErrorPage;
83
+ //# sourceMappingURL=ErrorPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorPage.js","sourceRoot":"","sources":["../../../../src/help-hub/pages/ErrorPage.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,MAAM,MAAM,eAAe,CAAA;AAClC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAA;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,MAAM,MAAM,yBAAyB,CAAA;AAC5C,OAAO,EAA2B,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAGxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAA;AAEvD,MAAM,CAAC,IAAM,gBAAgB,GAAqC;IAChE,iBAAiB,EAAE;QACjB,OAAO,EAAE,6CAA6C;QACtD,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE,IAAI;KACjB;IACD,iBAAiB,EAAE;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I;QACnD,oBAAC,YAAY,eAAK,iBAAiB,EAAI;QACvC,oBAAC,SAAS,IACR,WAAW,EAAE,gBAAgB,EAC7B,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,GACpB;QACF,oBAAC,KAAK,IAAC,WAAW,EAAE,UAAU,GAAI,CACjC,CACJ,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,IAAM,SAAS,GAA4B,UAAC,EAKlD;QAJC,OAAO,aAAA,EACP,WAAW,iBAAA,EACX,mBAAmB,yBAAA,EACnB,WAAW,iBAAA;IAEX,IAAM,eAAe,gBAChB,MAAM,CAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,CACzC,CAAA;IAED,OAAO,CACL,oBAAC,0BAA0B,IAAC,WAAW,EAAE,WAAiC;QACxE,oBAAC,MAAM,IACL,OAAO,EAAE,eAAe,EACxB,WAAW,EAAE,YAAY,CAAC,SAAS,EACnC,WAAW,EAAE,WAAW,IAAI,WAAW,EACvC,mBAAmB,EAAE,mBAAmB;YAExC,oBAAC,WAAW,OAAG,CACR,CACkB,CAC9B,CAAA;AACH,CAAC,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { BasePageProps } from './types';
3
+ import { LandingPageContextOptions } from '../context/types';
4
+ export declare const landingPageContext: Partial<LandingPageContextOptions>;
5
+ export declare const HelpHubLandingPage: React.FC<BasePageProps>;
6
+ export default HelpHubLandingPage;
@@ -0,0 +1,87 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import React from 'react';
13
+ import assign from 'lodash.assign';
14
+ import { Block, useInstrumentation } from 'newskit';
15
+ import { Header, ContentListView, ListItem, createClickEvent, } from '@newskit-render/shared-components';
16
+ import Layout from '../components/Templates';
17
+ import { SearchBar } from '../components/SearchBar';
18
+ import { PagesNameMap } from '../context/types';
19
+ import { useHelpHubContext } from '../context';
20
+ import { transformHits } from '../helpers';
21
+ import { CredentialsContextProvider } from '../context';
22
+ export var landingPageContext = {
23
+ header: {
24
+ title: 'How can we help?',
25
+ titleOverrides: {
26
+ typographyPreset: {
27
+ xs: 'editorialHeadline030',
28
+ sm: 'editorialHeadline050',
29
+ },
30
+ },
31
+ },
32
+ contentListView: {
33
+ marginBlockEnd: 'space010',
34
+ introduction: { marginBlockEnd: { xs: 'space050', md: 'space060' } },
35
+ introductionProps: {
36
+ title: 'Our most read articles',
37
+ extendTitleOverrides: {
38
+ typographyPreset: {
39
+ xs: 'editorialHeadline030',
40
+ sm: 'editorialHeadline040',
41
+ },
42
+ stylePreset: 'inkContrast',
43
+ marginBlockEnd: { xs: 'space050', md: 'space060' },
44
+ as: 'h1',
45
+ },
46
+ extendDescriptionOverrides: {},
47
+ },
48
+ },
49
+ };
50
+ var PageContent = function () {
51
+ var _a = useHelpHubContext(PagesNameMap.landingPage), baseUrl = _a.baseUrl, header = _a.header, inputPlaceholder = _a.inputPlaceholder, mostReadArticles = _a.mostReadArticles, searchBar = _a.searchBar, marginBlockEnd = _a.marginBlockEnd, contentListView = _a.contentListView;
52
+ var fireEvent = useInstrumentation().fireEvent;
53
+ return (React.createElement(React.Fragment, null,
54
+ React.createElement(Header, __assign({}, header)),
55
+ React.createElement(SearchBar, { placeholder: inputPlaceholder, baseUrl: baseUrl, overrides: searchBar }),
56
+ React.createElement(Block, { marginBlockEnd: searchBar.marginBlockEnd }),
57
+ React.createElement(ContentListView, __assign({}, contentListView), transformHits(mostReadArticles, baseUrl).map(function (item, i) {
58
+ return (React.createElement(ListItem, { key: i, item: item, listItemProps: {
59
+ hideIcon: true,
60
+ 'data-testid': "content-list-item-".concat(i),
61
+ overrides: {
62
+ paddingInline: 'spaceInset040',
63
+ paddingBlock: 'spaceInset040',
64
+ minHeight: 'sizing090',
65
+ },
66
+ onClick: function () {
67
+ fireEvent(createClickEvent('most-read-articles-link', 'our most read articles:article click', "".concat(item.label), "".concat(item.label)));
68
+ },
69
+ }, listCellProps: {
70
+ align: 'center',
71
+ labelOverrides: {
72
+ stylePreset: 'helpHubMenuItems',
73
+ typographyPreset: 'utilityBody030',
74
+ },
75
+ } }));
76
+ })),
77
+ React.createElement(Block, { marginBlockEnd: marginBlockEnd })));
78
+ };
79
+ export var HelpHubLandingPage = function (_a) {
80
+ var context = _a.context, customTheme = _a.customTheme, themeDropdownObject = _a.themeDropdownObject, credentials = _a.credentials;
81
+ var enhancedContext = __assign({}, assign({}, landingPageContext, context));
82
+ return (React.createElement(CredentialsContextProvider, { credentials: credentials },
83
+ React.createElement(Layout, { context: enhancedContext, contextName: PagesNameMap.landingPage, customTheme: customTheme, themeDropdownObject: themeDropdownObject },
84
+ React.createElement(PageContent, null))));
85
+ };
86
+ export default HelpHubLandingPage;
87
+ //# sourceMappingURL=LandingPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LandingPage.js","sourceRoot":"","sources":["../../../../src/help-hub/pages/LandingPage.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,MAAM,MAAM,eAAe,CAAA;AAClC,OAAO,EAAE,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AACnD,OAAO,EACL,MAAM,EACN,eAAe,EACf,QAAQ,EACR,gBAAgB,GACjB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,MAAM,MAAM,yBAAyB,CAAA;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAEnD,OAAO,EAA6B,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,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CAC9B,CAAA;AACH,CAAC,CAAA;AAED,eAAe,kBAAkB,CAAA"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { ResultsPageProps } from './types';
3
+ import { ResultsPageContextOptions } from '../context/types';
4
+ export declare const resultsPageContext: Partial<ResultsPageContextOptions>;
5
+ export declare const ResultsPage: React.FC<ResultsPageProps>;
6
+ export default ResultsPage;