@uob-web-and-digital/component-library 2.7.1 → 2.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/README.md +111 -111
  2. package/package.json +121 -121
  3. package/dist/components/atoms/BreadcrumbLink/BreadcrumbLink.d.ts +0 -10
  4. package/dist/components/atoms/BreadcrumbLink/BreadcrumbLink.stories.d.ts +0 -11
  5. package/dist/components/atoms/CalendarGraphic/CalendarGraphic.d.ts +0 -10
  6. package/dist/components/atoms/CalendarGraphic/CalendarGraphic.stories.d.ts +0 -12
  7. package/dist/components/atoms/CampusSelectorLink/CampusSelectorLink.d.ts +0 -17
  8. package/dist/components/atoms/CampusSelectorLink/CampusSelectorLink.stories.d.ts +0 -11
  9. package/dist/components/atoms/Checkbox/Checkbox.d.ts +0 -13
  10. package/dist/components/atoms/Checkbox/Checkbox.stories.d.ts +0 -10
  11. package/dist/components/atoms/CourseDeliveryPill/CourseDeliveryPill.d.ts +0 -10
  12. package/dist/components/atoms/CourseDeliveryPill/CourseDeliveryPill.stories.d.ts +0 -11
  13. package/dist/components/atoms/CourseIcon/CourseIcon.d.ts +0 -11
  14. package/dist/components/atoms/CourseIcon/CourseIcon.stories.d.ts +0 -12
  15. package/dist/components/atoms/DateInput/DateInput.d.ts +0 -12
  16. package/dist/components/atoms/DateInput/DateInput.stories.d.ts +0 -6
  17. package/dist/components/atoms/ExampleTheming/ExampleTheming.d.ts +0 -17
  18. package/dist/components/atoms/ExampleTheming/ExampleTheming.stories.d.ts +0 -12
  19. package/dist/components/atoms/FormInput/FormInput.d.ts +0 -23
  20. package/dist/components/atoms/FormInput/FormInput.stories.d.ts +0 -11
  21. package/dist/components/atoms/FormInput/defaultProps.d.ts +0 -2
  22. package/dist/components/atoms/FormSelect/FormSelect.d.ts +0 -23
  23. package/dist/components/atoms/FormSelect/FormSelect.stories.d.ts +0 -12
  24. package/dist/components/atoms/FormSelect/defaultProps.d.ts +0 -2
  25. package/dist/components/atoms/Heading/Heading.d.ts +0 -7
  26. package/dist/components/atoms/Heading/Heading.stories.d.ts +0 -12
  27. package/dist/components/atoms/IconButton/IconButton.d.ts +0 -20
  28. package/dist/components/atoms/IconButton/IconButton.stories.d.ts +0 -29
  29. package/dist/components/atoms/IconButton/defaultProps.d.ts +0 -12
  30. package/dist/components/atoms/IconControl/IconControl.d.ts +0 -17
  31. package/dist/components/atoms/IconControl/IconControl.stories.d.ts +0 -13
  32. package/dist/components/atoms/IconControl/defaultProps.d.ts +0 -3
  33. package/dist/components/atoms/Icons/Icons.d.ts +0 -18
  34. package/dist/components/atoms/Icons/Icons.stories.d.ts +0 -12
  35. package/dist/components/atoms/Image/Image.d.ts +0 -16
  36. package/dist/components/atoms/LinkStandard/LinkStandard.d.ts +0 -11
  37. package/dist/components/atoms/LinkStandard/LinkStandard.stories.d.ts +0 -11
  38. package/dist/components/atoms/LinkWithArrow/LinkWithArrow.d.ts +0 -19
  39. package/dist/components/atoms/LinkWithArrow/LinkWithArrow.stories.d.ts +0 -13
  40. package/dist/components/atoms/LinkWithIcon/LinkWithIcon.d.ts +0 -16
  41. package/dist/components/atoms/LinkWithIcon/LinkWithIcon.stories.d.ts +0 -11
  42. package/dist/components/atoms/LogoLink/LogoLink.d.ts +0 -13
  43. package/dist/components/atoms/LogoLink/LogoLink.stories.d.ts +0 -13
  44. package/dist/components/atoms/LogoLink/defaultProps.d.ts +0 -2
  45. package/dist/components/atoms/MainWrapper/MainWrapper.d.ts +0 -4
  46. package/dist/components/atoms/NavLink/NavLink.d.ts +0 -14
  47. package/dist/components/atoms/NavLink/NavLink.stories.d.ts +0 -18
  48. package/dist/components/atoms/PageLink/PageLink.d.ts +0 -18
  49. package/dist/components/atoms/PageLink/PageLink.stories.d.ts +0 -18
  50. package/dist/components/atoms/ParagraphLink/ParagraphLink.d.ts +0 -17
  51. package/dist/components/atoms/ParagraphLink/ParagraphLink.stories.d.ts +0 -11
  52. package/dist/components/atoms/Parallax/Parallax.d.ts +0 -7
  53. package/dist/components/atoms/Pill/Pill.d.ts +0 -13
  54. package/dist/components/atoms/Pill/Pill.stories.d.ts +0 -11
  55. package/dist/components/atoms/RadioButton/RadioButton.d.ts +0 -13
  56. package/dist/components/atoms/RadioButton/RadioButton.stories.d.ts +0 -10
  57. package/dist/components/atoms/ReverseLinkWithArrow/ReverseLinkWithArrow.d.ts +0 -19
  58. package/dist/components/atoms/ReverseLinkWithArrow/ReverseLinkWithArrow.stories.d.ts +0 -13
  59. package/dist/components/atoms/SearchResultDetail/SearchResultDetail.d.ts +0 -12
  60. package/dist/components/atoms/SearchResultDetail/SearchResultDetail.stories.d.ts +0 -10
  61. package/dist/components/atoms/TextButton/TextButton.d.ts +0 -32
  62. package/dist/components/atoms/TextButton/TextButton.stories.d.ts +0 -14
  63. package/dist/components/atoms/TextButtonWithIcon/TextButtonWithIcon.d.ts +0 -42
  64. package/dist/components/atoms/TextButtonWithIcon/TextButtonWithIcon.stories.d.ts +0 -14
  65. package/dist/components/atoms/Video/Video.d.ts +0 -10
  66. package/dist/components/atoms/Video/Video.stories.d.ts +0 -15
  67. package/dist/components/atoms/Video/defaultProps.d.ts +0 -2
  68. package/dist/components/atoms/VideoPlaceholder/VideoPlaceholder.d.ts +0 -13
  69. package/dist/components/atoms/VideoPlaceholder/VideoPlaceholder.stories.d.ts +0 -6
  70. package/dist/components/atoms/VideoPlaceholder/defaultProps.d.ts +0 -2
  71. package/dist/components/molecules/AccordionItem/AccordionItem.d.ts +0 -27
  72. package/dist/components/molecules/AccordionItem/AccordionItem.stories.d.ts +0 -19
  73. package/dist/components/molecules/CampusSelector/CampusSelector.d.ts +0 -15
  74. package/dist/components/molecules/CampusSelector/CampusSelector.stories.d.ts +0 -11
  75. package/dist/components/molecules/CardFact/CardFact.d.ts +0 -16
  76. package/dist/components/molecules/CardFact/CardFact.stories.d.ts +0 -14
  77. package/dist/components/molecules/CardFeatured/CardFeatured.d.ts +0 -32
  78. package/dist/components/molecules/CardFeatured/CardFeatured.stories.d.ts +0 -11
  79. package/dist/components/molecules/CardFeatured/animationVariants.d.ts +0 -44
  80. package/dist/components/molecules/CardFeatured/defaultProps.d.ts +0 -2
  81. package/dist/components/molecules/CardFeaturedNews/CardFeaturedNews.d.ts +0 -23
  82. package/dist/components/molecules/CardFeaturedNews/CardFeaturedNews.stories.d.ts +0 -13
  83. package/dist/components/molecules/CardImage/CardImage.d.ts +0 -15
  84. package/dist/components/molecules/CardImage/CardImage.stories.d.ts +0 -18
  85. package/dist/components/molecules/CardImage/defaultProps.d.ts +0 -2
  86. package/dist/components/molecules/CardMenu/CardMenu.d.ts +0 -19
  87. package/dist/components/molecules/CardMenu/CardMenu.stories.d.ts +0 -14
  88. package/dist/components/molecules/CardModuleCard/CardModuleCard.d.ts +0 -14
  89. package/dist/components/molecules/CardModuleCard/CardModuleCard.stories.d.ts +0 -14
  90. package/dist/components/molecules/CardNews/CardNews.d.ts +0 -19
  91. package/dist/components/molecules/CardNews/CardNews.stories.d.ts +0 -15
  92. package/dist/components/molecules/CardNews/defaultProps.d.ts +0 -2
  93. package/dist/components/molecules/CardProfile/CardProfile.d.ts +0 -18
  94. package/dist/components/molecules/CardProfile/CardProfile.stories.d.ts +0 -13
  95. package/dist/components/molecules/CardPromo/CardPromo.d.ts +0 -34
  96. package/dist/components/molecules/CardPromo/CardPromo.stories.d.ts +0 -21
  97. package/dist/components/molecules/CardPromoProfile/CardPromoProfile.d.ts +0 -22
  98. package/dist/components/molecules/CardPromoProfile/CardPromoProfile.stories.d.ts +0 -15
  99. package/dist/components/molecules/CardPromoSignpost/CardPromoSignpost.d.ts +0 -30
  100. package/dist/components/molecules/CardPromoSignpost/CardPromoSignpost.stories.d.ts +0 -18
  101. package/dist/components/molecules/CardPromoVideo/CardPromoVideo.d.ts +0 -20
  102. package/dist/components/molecules/CardPromoVideo/CardPromoVideo.stories.d.ts +0 -16
  103. package/dist/components/molecules/CardRelatedCourse/CardRelatedCourse.d.ts +0 -15
  104. package/dist/components/molecules/CardRelatedCourse/CardRelatedCourse.stories.d.ts +0 -13
  105. package/dist/components/molecules/CardResearchStory/CardResearchStory.d.ts +0 -18
  106. package/dist/components/molecules/CardResearchStory/CardResearchStory.stories.d.ts +0 -13
  107. package/dist/components/molecules/CardScholarship/CardScholarship.d.ts +0 -21
  108. package/dist/components/molecules/CardScholarship/CardScholarship.stories.d.ts +0 -13
  109. package/dist/components/molecules/CardStaff/CardStaff.d.ts +0 -22
  110. package/dist/components/molecules/CardStaff/CardStaff.stories.d.ts +0 -14
  111. package/dist/components/molecules/CardVideo/CardVideo.d.ts +0 -18
  112. package/dist/components/molecules/CardVideo/CardVideo.stories.d.ts +0 -13
  113. package/dist/components/molecules/CarouselNav/CarouselNav.d.ts +0 -17
  114. package/dist/components/molecules/CarouselNav/CarouselNav.stories.d.ts +0 -11
  115. package/dist/components/molecules/FilterAccordion/FilterAccordion.d.ts +0 -32
  116. package/dist/components/molecules/FilterAccordion/FilterAccordion.stories.d.ts +0 -12
  117. package/dist/components/molecules/FilterAccordion/defaultProps.d.ts +0 -3
  118. package/dist/components/molecules/FilterAccordionSelect/FilterAccordionSelect.d.ts +0 -14
  119. package/dist/components/molecules/FilterAccordionSelect/FilterAccordionSelect.stories.d.ts +0 -10
  120. package/dist/components/molecules/FilterAccordionSelect/defaultProps.d.ts +0 -2
  121. package/dist/components/molecules/FullModal/FullModal.d.ts +0 -33
  122. package/dist/components/molecules/GenericDetail/GenericDetail.d.ts +0 -14
  123. package/dist/components/molecules/GenericDetail/GenericDetail.stories.d.ts +0 -12
  124. package/dist/components/molecules/Heading/Heading.d.ts +0 -23
  125. package/dist/components/molecules/Heading/Heading.stories.d.ts +0 -19
  126. package/dist/components/molecules/Heading/components/HeadingDescription.d.ts +0 -8
  127. package/dist/components/molecules/Heading/defaultProps.d.ts +0 -2
  128. package/dist/components/molecules/InPageNavigationLinks/InPageNavigationLinks.d.ts +0 -18
  129. package/dist/components/molecules/InPageNavigationLinks/InPageNavigationLinks.stories.d.ts +0 -14
  130. package/dist/components/molecules/InPageNavigationLinks/defaultProps.d.ts +0 -3
  131. package/dist/components/molecules/ListTable/ListTable.d.ts +0 -8
  132. package/dist/components/molecules/ListTable/ListTable.stories.d.ts +0 -10
  133. package/dist/components/molecules/ListingResultCard/Cards/AccomodationCard.d.ts +0 -15
  134. package/dist/components/molecules/ListingResultCard/Cards/CourseCard.d.ts +0 -18
  135. package/dist/components/molecules/ListingResultCard/Cards/EventCard.d.ts +0 -19
  136. package/dist/components/molecules/ListingResultCard/Cards/NewsCard.d.ts +0 -16
  137. package/dist/components/molecules/ListingResultCard/Cards/PageCard.d.ts +0 -13
  138. package/dist/components/molecules/ListingResultCard/Cards/ProfileCard.d.ts +0 -17
  139. package/dist/components/molecules/ListingResultCard/Cards/StaffCard.d.ts +0 -17
  140. package/dist/components/molecules/ListingResultCard/ListingResultCard.d.ts +0 -11
  141. package/dist/components/molecules/ListingResultCard/ListingResultCard.stories.d.ts +0 -20
  142. package/dist/components/molecules/ListingResultCard/defaultProps.d.ts +0 -15
  143. package/dist/components/molecules/LocationSelector/LocationSelector.d.ts +0 -14
  144. package/dist/components/molecules/LocationSelector/LocationSelector.stories.d.ts +0 -15
  145. package/dist/components/molecules/LocationSelector/defaultProps.d.ts +0 -2
  146. package/dist/components/molecules/ModalCTAButton/ModalCTAButton.d.ts +0 -11
  147. package/dist/components/molecules/ModalCTAButton/ModalCTAButton.stories.d.ts +0 -10
  148. package/dist/components/molecules/ModalCTAButton/defaultProps.d.ts +0 -2
  149. package/dist/components/molecules/MostReadNews/MostReadNews.d.ts +0 -12
  150. package/dist/components/molecules/MostReadNews/MostReadNews.stories.d.ts +0 -10
  151. package/dist/components/molecules/MostReadNews/defaultProps.d.ts +0 -2
  152. package/dist/components/molecules/PaginationNumbers/PaginationNumbers.d.ts +0 -9
  153. package/dist/components/molecules/PaginationNumbers/PaginationNumbers.stories.d.ts +0 -12
  154. package/dist/components/molecules/SearchResultDetailList/SearchResultDetailList.d.ts +0 -11
  155. package/dist/components/molecules/SearchResultDetailList/SearchResultDetailList.stories.d.ts +0 -10
  156. package/dist/components/molecules/SearchResultDetailList/defaultProps.d.ts +0 -2
  157. package/dist/components/molecules/ShareButtons/ShareButtons.d.ts +0 -11
  158. package/dist/components/molecules/ShareButtons/ShareButtons.stories.d.ts +0 -11
  159. package/dist/components/molecules/ShareButtons/defaultProps.d.ts +0 -2
  160. package/dist/components/molecules/Tab/Tab.d.ts +0 -53
  161. package/dist/components/molecules/Tab/TabItemProps.d.ts +0 -21
  162. package/dist/components/molecules/Tab/tabsUtils.d.ts +0 -1
  163. package/dist/components/molecules/TabList/TabsList.d.ts +0 -17
  164. package/dist/components/molecules/TabPanel/TabPanel.d.ts +0 -34
  165. package/dist/components/molecules/VideoWithPlaceholder/VideoWithPlaceholder.d.ts +0 -14
  166. package/dist/components/molecules/VideoWithPlaceholder/VideoWithPlaceholder.stories.d.ts +0 -6
  167. package/dist/components/molecules/VideoWithPlaceholder/defaultProps.d.ts +0 -2
  168. package/dist/components/molecules/Wysiwyg/Wysiwyg.d.ts +0 -9
  169. package/dist/components/molecules/Wysiwyg/Wysiwyg.stories.d.ts +0 -11
  170. package/dist/components/molecules/Wysiwyg/defaultProps.d.ts +0 -2
  171. package/dist/components/organisms/Accordion/Accordion.d.ts +0 -14
  172. package/dist/components/organisms/Accordion/accordion.stories.d.ts +0 -13
  173. package/dist/components/organisms/Accordion/defaultProps.d.ts +0 -5
  174. package/dist/components/organisms/AccreditationPromotion/AccreditationPromotion.d.ts +0 -22
  175. package/dist/components/organisms/AccreditationPromotion/AccreditationPromotion.stories.d.ts +0 -11
  176. package/dist/components/organisms/AccreditationPromotion/defaultProps.d.ts +0 -2
  177. package/dist/components/organisms/AlertBanner/AlertBanner.d.ts +0 -11
  178. package/dist/components/organisms/AlertBanner/AlertBanner.stories.d.ts +0 -15
  179. package/dist/components/organisms/AlertBanner/defaultProps.d.ts +0 -2
  180. package/dist/components/organisms/AnchorTarget/AnchorTarget.d.ts +0 -11
  181. package/dist/components/organisms/AnchorTarget/AnchorTarget.stories.d.ts +0 -15
  182. package/dist/components/organisms/Breadcrumbs/Breadcrumbs.d.ts +0 -18
  183. package/dist/components/organisms/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -11
  184. package/dist/components/organisms/Breadcrumbs/defaultProps.d.ts +0 -2
  185. package/dist/components/organisms/CTAComponent/CTAComponent.d.ts +0 -24
  186. package/dist/components/organisms/CTAComponent/CTAComponent.stories.d.ts +0 -14
  187. package/dist/components/organisms/CTAComponent/defaultProps.d.ts +0 -4
  188. package/dist/components/organisms/Carousel/Carousel.d.ts +0 -29
  189. package/dist/components/organisms/Carousel/Carousel.stories.d.ts +0 -12
  190. package/dist/components/organisms/Carousel/defaultProps.d.ts +0 -7
  191. package/dist/components/organisms/CentreWrapper/CentreWrapper.d.ts +0 -11
  192. package/dist/components/organisms/CentreWrapper/CentreWrapper.stories.d.ts +0 -15
  193. package/dist/components/organisms/ClearingBanner/ClearingBanner.d.ts +0 -13
  194. package/dist/components/organisms/ClearingBanner/ClearingBanner.stories.d.ts +0 -10
  195. package/dist/components/organisms/ClearingBanner/defaultProps.d.ts +0 -2
  196. package/dist/components/organisms/CourseDeliveryPills/CourseDeliveryPills.d.ts +0 -9
  197. package/dist/components/organisms/CourseDeliveryPills/CourseDeliveryPills.stories.d.ts +0 -10
  198. package/dist/components/organisms/CourseDeliveryPills/defaultProps.d.ts +0 -2
  199. package/dist/components/organisms/EmbedWrapper/EmbedWrapper.d.ts +0 -20
  200. package/dist/components/organisms/EmbedWrapper/EmbedWrapper.stories.d.ts +0 -11
  201. package/dist/components/organisms/FactBoxes/FactBoxes.d.ts +0 -10
  202. package/dist/components/organisms/FactBoxes/FactBoxes.stories.d.ts +0 -16
  203. package/dist/components/organisms/FactBoxes/defaultProps.d.ts +0 -4
  204. package/dist/components/organisms/FeaturedContent/FeaturedContent.d.ts +0 -15
  205. package/dist/components/organisms/FeaturedContent/FeaturedContent.stories.d.ts +0 -11
  206. package/dist/components/organisms/FeaturedContent/defaultProps.d.ts +0 -2
  207. package/dist/components/organisms/FeaturedSignpost/FeaturedSignpost.d.ts +0 -27
  208. package/dist/components/organisms/FeaturedSignpost/FeaturedSignpost.stories.d.ts +0 -13
  209. package/dist/components/organisms/FeaturedSignpost/animationProperties.d.ts +0 -104
  210. package/dist/components/organisms/FeaturedSignpost/components/LinesOfIntent.d.ts +0 -8
  211. package/dist/components/organisms/FeaturedSignpost/components/SignpostImage.d.ts +0 -14
  212. package/dist/components/organisms/FeaturedSignpost/defaultProps.d.ts +0 -3
  213. package/dist/components/organisms/FeaturedVideo/FeaturedVideo.d.ts +0 -18
  214. package/dist/components/organisms/FeaturedVideo/FeaturedVideo.stories.d.ts +0 -6
  215. package/dist/components/organisms/FeaturedVideo/defaultProps.d.ts +0 -2
  216. package/dist/components/organisms/FiveArticlesGrid/FiveArticlesGrid.d.ts +0 -11
  217. package/dist/components/organisms/FiveArticlesGrid/FiveArticlesGrid.stories.d.ts +0 -10
  218. package/dist/components/organisms/FiveArticlesGrid/defaultProps.d.ts +0 -2
  219. package/dist/components/organisms/Footer/Footer.d.ts +0 -28
  220. package/dist/components/organisms/Footer/Footer.stories.d.ts +0 -14
  221. package/dist/components/organisms/Footer/defaultProps.d.ts +0 -8
  222. package/dist/components/organisms/GeneralSearchFilter/GeneralSearchFilter.d.ts +0 -31
  223. package/dist/components/organisms/GeneralSearchFilter/GeneralSearchFilter.stories.d.ts +0 -7
  224. package/dist/components/organisms/GeneralSearchFilter/defaultProps.d.ts +0 -2
  225. package/dist/components/organisms/GenericDetailSection/GenericDetailSection.d.ts +0 -12
  226. package/dist/components/organisms/GenericDetailSection/GenericDetailSection.stories.d.ts +0 -13
  227. package/dist/components/organisms/GenericDetailSection/defaultProps.d.ts +0 -5
  228. package/dist/components/organisms/Header/Header.d.ts +0 -30
  229. package/dist/components/organisms/Header/Header.stories.d.ts +0 -12
  230. package/dist/components/organisms/Header/components/MainMenu.d.ts +0 -12
  231. package/dist/components/organisms/Header/components/NestedMenu.d.ts +0 -11
  232. package/dist/components/organisms/Header/components/SearchMenu.d.ts +0 -45
  233. package/dist/components/organisms/Header/defaultProps.d.ts +0 -12
  234. package/dist/components/organisms/Header/types.d.ts +0 -13
  235. package/dist/components/organisms/Hero/Hero.d.ts +0 -44
  236. package/dist/components/organisms/Hero/Hero.stories.d.ts +0 -17
  237. package/dist/components/organisms/Hero/components/LinesOfIntent.d.ts +0 -7
  238. package/dist/components/organisms/Hero/components/PolygonImage.d.ts +0 -16
  239. package/dist/components/organisms/Hero/defaultProps.d.ts +0 -7
  240. package/dist/components/organisms/HeroArticle/HeroArticle.d.ts +0 -22
  241. package/dist/components/organisms/HeroArticle/HeroArticle.stories.d.ts +0 -10
  242. package/dist/components/organisms/HeroArticle/defaultProps.d.ts +0 -2
  243. package/dist/components/organisms/HeroCarousel/HeroCarousel.d.ts +0 -28
  244. package/dist/components/organisms/HeroCarousel/HeroCarousel.stories.d.ts +0 -11
  245. package/dist/components/organisms/HeroCarousel/animationVariants.d.ts +0 -177
  246. package/dist/components/organisms/HeroCarousel/components/HeroCardContent.d.ts +0 -17
  247. package/dist/components/organisms/HeroCarousel/components/HeroImage.d.ts +0 -15
  248. package/dist/components/organisms/HeroCarousel/components/LinesOfIntent.d.ts +0 -8
  249. package/dist/components/organisms/HeroCarousel/defaultProps.d.ts +0 -2
  250. package/dist/components/organisms/HeroCourses/HeroCourses.d.ts +0 -35
  251. package/dist/components/organisms/HeroCourses/HeroCourses.stories.d.ts +0 -14
  252. package/dist/components/organisms/HeroCourses/components/CourseTile.d.ts +0 -8
  253. package/dist/components/organisms/HeroCourses/components/CourseTileRanking.d.ts +0 -9
  254. package/dist/components/organisms/HeroCourses/components/CourseTileSelect.d.ts +0 -7
  255. package/dist/components/organisms/HeroCourses/components/tileLinkClickHandler.d.ts +0 -3
  256. package/dist/components/organisms/HeroCourses/defaultProps.d.ts +0 -43
  257. package/dist/components/organisms/HeroProfile/HeroProfile.d.ts +0 -28
  258. package/dist/components/organisms/HeroProfile/HeroProfile.stories.d.ts +0 -13
  259. package/dist/components/organisms/HeroProfile/defaultProps.d.ts +0 -5
  260. package/dist/components/organisms/ImageBlock/ImageBlock.d.ts +0 -10
  261. package/dist/components/organisms/ImageBlock/ImageBlock.stories.d.ts +0 -24
  262. package/dist/components/organisms/ImageBlock/defaultProps.d.ts +0 -3
  263. package/dist/components/organisms/ImageCarousel/ImageCarousel.d.ts +0 -10
  264. package/dist/components/organisms/ImageCarousel/ImageCarousel.stories.d.ts +0 -13
  265. package/dist/components/organisms/ImageCarousel/defaultProps.d.ts +0 -3
  266. package/dist/components/organisms/InPageNavigation/InPageNavigation.d.ts +0 -11
  267. package/dist/components/organisms/InPageNavigation/InPageNavigation.stories.d.ts +0 -11
  268. package/dist/components/organisms/InPageNavigation/defaultProps.d.ts +0 -2
  269. package/dist/components/organisms/IntroText/IntroText.d.ts +0 -22
  270. package/dist/components/organisms/IntroText/IntroText.stories.d.ts +0 -17
  271. package/dist/components/organisms/IntroText/defaultProps.d.ts +0 -2
  272. package/dist/components/organisms/LeadNewsArticles/LeadNewsArticles.d.ts +0 -12
  273. package/dist/components/organisms/LeadNewsArticles/LeadNewsArticles.stories.d.ts +0 -10
  274. package/dist/components/organisms/LeadNewsArticles/defaultProps.d.ts +0 -2
  275. package/dist/components/organisms/ListingFilterWrapper/ListingFilterWrapper.d.ts +0 -10
  276. package/dist/components/organisms/ListingFilterWrapper/ListingFilterWrapper.stories.d.ts +0 -6
  277. package/dist/components/organisms/ListingResults/ListingResults.d.ts +0 -19
  278. package/dist/components/organisms/ListingResults/ListingResults.stories.d.ts +0 -15
  279. package/dist/components/organisms/ListingResults/defaultProps.d.ts +0 -8
  280. package/dist/components/organisms/ListingResultsCount/ListingResultsCount.d.ts +0 -8
  281. package/dist/components/organisms/ListingResultsCount/ListingResultsCount.stories.d.ts +0 -15
  282. package/dist/components/organisms/LocationSection/LocationSection.d.ts +0 -18
  283. package/dist/components/organisms/LocationSection/LocationSection.stories.d.ts +0 -13
  284. package/dist/components/organisms/LocationSection/defaultProps.d.ts +0 -2
  285. package/dist/components/organisms/ModalCTA/ModalCTA.d.ts +0 -16
  286. package/dist/components/organisms/ModalCTA/ModalCTA.stories.d.ts +0 -12
  287. package/dist/components/organisms/ModalCTA/defaultProps.d.ts +0 -2
  288. package/dist/components/organisms/ModuleCardGroup/ModuleCardGroup.d.ts +0 -10
  289. package/dist/components/organisms/ModuleCardGroup/ModuleCardGroup.stories.d.ts +0 -14
  290. package/dist/components/organisms/ModuleCardGroup/defaultProps.d.ts +0 -2
  291. package/dist/components/organisms/NewsArticlesPromoBlock/NewsArticlesPromoBlock.d.ts +0 -12
  292. package/dist/components/organisms/NewsArticlesPromoBlock/NewsArticlesPromoBlock.stories.d.ts +0 -11
  293. package/dist/components/organisms/NewsArticlesPromoBlock/defaultProps.d.ts +0 -3
  294. package/dist/components/organisms/Pagination/Pagination.d.ts +0 -10
  295. package/dist/components/organisms/Pagination/Pagination.stories.d.ts +0 -12
  296. package/dist/components/organisms/ProfileCarousel/ProfileCarousel.stories.d.ts +0 -13
  297. package/dist/components/organisms/PromoBlock/PromoBlock.d.ts +0 -70
  298. package/dist/components/organisms/PromoBlock/PromoBlock.stories.d.ts +0 -36
  299. package/dist/components/organisms/PromoBlock/defaultProps.d.ts +0 -17
  300. package/dist/components/organisms/PromoBlockGrid/PromoBlockGrid.d.ts +0 -46
  301. package/dist/components/organisms/PromoBlockGrid/PromoBlockGrid.stories.d.ts +0 -17
  302. package/dist/components/organisms/PromoBlockGrid/defaultProps.d.ts +0 -3
  303. package/dist/components/organisms/QuoteBlock/QuoteBlock.d.ts +0 -20
  304. package/dist/components/organisms/QuoteBlock/QuoteBlock.stories.d.ts +0 -19
  305. package/dist/components/organisms/QuoteBlock/defaultProps.d.ts +0 -6
  306. package/dist/components/organisms/RelatedCourses/RelatedCourses.d.ts +0 -18
  307. package/dist/components/organisms/RelatedCourses/RelatedCourses.stories.d.ts +0 -16
  308. package/dist/components/organisms/RelatedCourses/defaultProps.d.ts +0 -2
  309. package/dist/components/organisms/ResearchStoryCarousel/ResearchStoryCarousel.d.ts +0 -17
  310. package/dist/components/organisms/ResearchStoryCarousel/ResearchStoryCarousel.stories.d.ts +0 -10
  311. package/dist/components/organisms/ResearchStoryCarousel/defaultProps.d.ts +0 -2
  312. package/dist/components/organisms/RichText/RichText.d.ts +0 -20
  313. package/dist/components/organisms/RichText/RichText.stories.d.ts +0 -18
  314. package/dist/components/organisms/RichText/defaultProps.d.ts +0 -13
  315. package/dist/components/organisms/ScholarshipCarousel/ScholarshipCarousel.d.ts +0 -13
  316. package/dist/components/organisms/ScholarshipCarousel/ScholarshipCarousel.stories.d.ts +0 -12
  317. package/dist/components/organisms/ScholarshipCarousel/defaultProps.d.ts +0 -2
  318. package/dist/components/organisms/ScrollableTable/ScrollableTable.d.ts +0 -12
  319. package/dist/components/organisms/ScrollableTable/ScrollableTable.stories.d.ts +0 -24
  320. package/dist/components/organisms/ScrollableTable/defaultProps.d.ts +0 -6
  321. package/dist/components/organisms/SearchCourses/SearchCourses.d.ts +0 -79
  322. package/dist/components/organisms/SearchCourses/SearchCourses.stories.d.ts +0 -20
  323. package/dist/components/organisms/SearchCourses/defaultProps.d.ts +0 -4
  324. package/dist/components/organisms/SidebarWrapper/SidebarWrapper.d.ts +0 -12
  325. package/dist/components/organisms/SidebarWrapper/SidebarWrapper.stories.d.ts +0 -15
  326. package/dist/components/organisms/SignPost/SignPost.d.ts +0 -35
  327. package/dist/components/organisms/SignPost/SignPost.stories.d.ts +0 -19
  328. package/dist/components/organisms/SignPost/defaultProps.d.ts +0 -3
  329. package/dist/components/organisms/SingleButton/SingleButton.d.ts +0 -13
  330. package/dist/components/organisms/SingleButton/SingleButton.stories.d.ts +0 -13
  331. package/dist/components/organisms/SingleButton/defaultProps.d.ts +0 -2
  332. package/dist/components/organisms/SkipToContent/SkipToContent.d.ts +0 -7
  333. package/dist/components/organisms/SkipToContent/SkipToContent.stories.d.ts +0 -15
  334. package/dist/components/organisms/StaffListingCarousel/StaffListingCarousel.d.ts +0 -20
  335. package/dist/components/organisms/StaffListingCarousel/StaffListingCarousel.stories.d.ts +0 -16
  336. package/dist/components/organisms/StaffListingCarousel/defaultProps.d.ts +0 -7
  337. package/dist/components/organisms/StandardListingFilter/StandardListingFilter.d.ts +0 -53
  338. package/dist/components/organisms/StandardListingFilter/StandardListingFilter.stories.d.ts +0 -7
  339. package/dist/components/organisms/StandardListingFilter/defaultProps.d.ts +0 -3
  340. package/dist/components/organisms/TabsBlock/TabsBlock.d.ts +0 -52
  341. package/dist/components/organisms/TabsBlock/TabsBlock.stories.d.ts +0 -24
  342. package/dist/components/organisms/TabsBlock/defaultProps.d.ts +0 -4
  343. package/dist/components/organisms/TextWithBackground/TextWithBackground.d.ts +0 -23
  344. package/dist/components/organisms/TextWithBackground/TextWithBackground.stories.d.ts +0 -22
  345. package/dist/components/organisms/TextWithBackground/defaultProps.d.ts +0 -4
  346. package/dist/components/organisms/TopicSelector/TopicSelector.d.ts +0 -17
  347. package/dist/components/organisms/TopicSelector/TopicSelector.stories.d.ts +0 -10
  348. package/dist/components/organisms/TopicSelector/defaultProps.d.ts +0 -2
  349. package/dist/components/organisms/TwoColumnWrapper/TwoColumnWrapper.d.ts +0 -12
  350. package/dist/components/organisms/TwoColumnWrapper/TwoColumnWrapper.stories.d.ts +0 -16
  351. package/dist/components/organisms/VideoCardComponent/VideoCardComponent.d.ts +0 -17
  352. package/dist/components/organisms/VideoCardComponent/VideoCardComponent.stories.d.ts +0 -6
  353. package/dist/components/organisms/VideoCardComponent/defaultProps.d.ts +0 -2
  354. package/dist/components/organisms/VideoEmbed/VideoEmbed.d.ts +0 -23
  355. package/dist/components/organisms/VideoEmbed/VideoEmbed.stories.d.ts +0 -17
  356. package/dist/components/organisms/VideoEmbed/defaultProps.d.ts +0 -2
  357. package/dist/hooks/mediaHook.d.ts +0 -1
  358. package/dist/hooks/useFocusTrap.d.ts +0 -5
  359. package/dist/hooks/useOnClickOutside.d.ts +0 -2
  360. package/dist/hooks/useScrollDirection.d.ts +0 -3
  361. package/dist/index.d.ts +0 -70
  362. package/dist/main.css +0 -1
  363. package/dist/main.js +0 -23
  364. package/dist/module.js +0 -23
  365. package/dist/themeProps.d.ts +0 -1
  366. package/dist/utils/ariaCarousel.d.ts +0 -29
  367. package/dist/utils/getFocusableTreeWalker.d.ts +0 -32
  368. package/dist/utils/util.d.ts +0 -3
@@ -1,70 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
3
- import { ThemeProps } from '../../../themeProps';
4
- import { CardPromoProps } from '../../molecules/CardPromo/CardPromo';
5
- import { CardPromoSignpostProps } from '../../molecules/CardPromoSignpost/CardPromoSignpost';
6
- import { CardPromoVideoProps } from '../../molecules/CardPromoVideo/CardPromoVideo';
7
- import { CardPromoProfileProps } from '../../molecules/CardPromoProfile/CardPromoProfile';
8
- import './promoBlock.scss';
9
- import { FormSelectProps } from '../../atoms/FormSelect/FormSelect';
10
- export interface PromoBlockProps {
11
- /**
12
- * The theme to use
13
- */
14
- theme: ThemeProps;
15
- /**
16
- * Whether to inverse the colours
17
- */
18
- inverse?: boolean;
19
- /**
20
- * Optional title of the component
21
- */
22
- title?: string;
23
- /**
24
- * Optional titleTag of the component
25
- */
26
- titleTag?: 'h2' | 'h3';
27
- /**
28
- * Optional cardTitleTag of the component
29
- */
30
- cardTitleTag?: 'h2' | 'h3' | 'h4' | 'h5';
31
- /**
32
- * Optional description of the component
33
- */
34
- description?: string;
35
- /**
36
- * Optional link elements
37
- */
38
- link?: LinkWithArrowProps;
39
- /**
40
- * Promo block will work with three card types
41
- */
42
- type: 'promo' | 'promo-signpost' | 'promo-video' | 'promo-profile';
43
- /**
44
- * A Promo block component can have any number of items
45
- */
46
- cards: CardPromoProps[] | CardPromoSignpostProps[] | CardPromoVideoProps[] | CardPromoProfileProps[];
47
- /**
48
- * Only applies to the signpost card and if there is only one
49
- */
50
- imageOrientation: 'left' | 'right';
51
- /**
52
- * The copy prop of the card may need to be rendered as Rich Text
53
- */
54
- cardCopyIsRichText?: boolean;
55
- /**
56
- * Prop used to optimise layout in courses page
57
- */
58
- fullWidth?: boolean;
59
- /**
60
- * Prop used to enable/disable filters
61
- */
62
- fullWidthTitle?: boolean;
63
- /**
64
- * Prop used to enable full width title and description
65
- */
66
- showFilters?: boolean;
67
- firstFilterSelect?: FormSelectProps;
68
- secondFilterSelect?: FormSelectProps;
69
- }
70
- export default function PromoBlock({ theme, inverse, type, title, description, link, cards, imageOrientation, titleTag, cardTitleTag, cardCopyIsRichText, fullWidth, fullWidthTitle, showFilters, firstFilterSelect, secondFilterSelect }: PromoBlockProps): ReactElement | null;
@@ -1,36 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- import PromoBlock from './PromoBlock';
3
- import './promoBlock.scss';
4
- declare const meta: {
5
- title: string;
6
- component: typeof PromoBlock;
7
- tags: string[];
8
- parameters: {
9
- backgrounds: {
10
- default: string;
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof PromoBlock>;
16
- export declare const PromoBlockOneCardOnly: Story;
17
- export declare const PromoBlockTwoCardsOnly: Story;
18
- export declare const PromoBlockThreeCardsOnly: Story;
19
- export declare const PromoBlockFourCardsPlus: Story;
20
- export declare const PromoBlockThreeEventCardsOnly: Story;
21
- export declare const PromoBlockFourCardsPlusDark: Story;
22
- export declare const PromoBlockSignpostOneCardOnly: Story;
23
- export declare const PromoBlockSignpostOneCardOnlyDark: Story;
24
- export declare const PromoBlockSignpostTwoCardsOnly: Story;
25
- export declare const PromoBlockSignpostTwoCardsOnlyDark: Story;
26
- export declare const PromoBlockSignpostThreeCardsOnly: Story;
27
- export declare const PromoBlockSignpostThreeCardsOnlyDark: Story;
28
- export declare const PromoBlockSignpostFourCardsPlus: Story;
29
- export declare const PromoBlockSignpostFourCardsPlusDark: Story;
30
- export declare const PromoBlockVideoOneCardOnly: Story;
31
- export declare const PromoBlockVideoTwoCardsOnly: Story;
32
- export declare const PromoBlockVideoThreeCardsOnly: Story;
33
- export declare const PromoBlockVideoFourCardsPlus: Story;
34
- export declare const PromoBlockFilters: Story;
35
- export declare const PromoBlockProfileThreeCards: Story;
36
- export declare const PromoBlockStoryCoursePageCardOnly: Story;
@@ -1,17 +0,0 @@
1
- import { PromoBlockProps } from './PromoBlock';
2
- import { CardPromoProfileProps } from '../../molecules/CardPromoProfile/CardPromoProfile';
3
- import { FormSelectProps, SelectOptionsProps } from '../../atoms/FormSelect/FormSelect';
4
- export declare const promoBlockProps: PromoBlockProps;
5
- export declare const promoBlockPropsAccommodation: PromoBlockProps;
6
- export declare const promoBlockEventsProps: PromoBlockProps;
7
- export declare const promoBlockSignpostProps: PromoBlockProps;
8
- export declare const promoBlockVideoProps: PromoBlockProps;
9
- export declare const promoBlockForCoursePage: PromoBlockProps;
10
- export declare const promoBlockProfileCards: CardPromoProfileProps[];
11
- export declare const promoBlockForProfile: PromoBlockProps;
12
- export declare const promoBlockForScholarshipAward: PromoBlockProps;
13
- export declare const studyLevelSelectOptions: SelectOptionsProps[];
14
- export declare const studyLevelFilterSelect: FormSelectProps;
15
- export declare const topicSelectOptions: SelectOptionsProps[];
16
- export declare const topicFilterSelect: FormSelectProps;
17
- export declare const promoBlockFiltersData: PromoBlockProps;
@@ -1,46 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
3
- import { ThemeProps } from '../../../themeProps';
4
- import { CardPromoProps } from '../../molecules/CardPromo/CardPromo';
5
- import { CardPromoSignpostProps } from '../../molecules/CardPromoSignpost/CardPromoSignpost';
6
- import { CardPromoVideoProps } from '../../molecules/CardPromoVideo/CardPromoVideo';
7
- import './promoBlockGrid.scss';
8
- export interface PromoBlockProps {
9
- /**
10
- * The theme to use
11
- */
12
- theme: ThemeProps;
13
- /**
14
- * Whether to inverse the colours
15
- */
16
- inverse?: boolean;
17
- /**
18
- * Optional title of the component
19
- */
20
- title?: string;
21
- /**
22
- * Optional description of the component
23
- */
24
- description?: string;
25
- /**
26
- * Optional link elements
27
- */
28
- link?: LinkWithArrowProps;
29
- /**
30
- * Promo block will work with three card types
31
- */
32
- type: 'promo' | 'promo-signpost' | 'promo-video';
33
- /**
34
- * A Promo block component can have any number of items
35
- */
36
- cards: CardPromoProps[] | CardPromoSignpostProps[] | CardPromoVideoProps[];
37
- /**
38
- * Only applies to the signpost card and if there is only one
39
- */
40
- imageOrientation: 'left' | 'right';
41
- /**
42
- * The fullWidth version of this component is used for in study pages
43
- */
44
- fullWidth?: boolean;
45
- }
46
- export default function PromoBlockGrid({ theme, inverse, type, title, description, link, cards, imageOrientation, fullWidth }: PromoBlockProps): ReactElement | null;
@@ -1,17 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- import PromoBlockGrid from './PromoBlockGrid';
3
- import './promoBlockGrid.scss';
4
- declare const meta: {
5
- title: string;
6
- component: typeof PromoBlockGrid;
7
- tags: string[];
8
- parameters: {
9
- backgrounds: {
10
- default: string;
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof PromoBlockGrid>;
16
- export declare const PromoBlockFourCardsPlus: Story;
17
- export declare const PromoBlockFourCardsPlusDark: Story;
@@ -1,3 +0,0 @@
1
- import { PromoBlockProps } from './PromoBlockGrid';
2
- export declare const promoBlockGridProps: PromoBlockProps;
3
- export declare const promoBlockGridPropsCourse: PromoBlockProps;
@@ -1,20 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../../themeProps';
3
- import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
4
- import { HeadingProps } from '../../molecules/Heading/Heading';
5
- import './QuoteBlock.scss';
6
- type LinkProps = Omit<LinkWithArrowProps, 'theme' | 'inverse'>;
7
- export interface QuoteBlockProps extends HeadingProps {
8
- theme: ThemeProps;
9
- inverse?: boolean;
10
- title?: string;
11
- cite?: string;
12
- role?: string;
13
- quote: string;
14
- quoteeProfileImage?: string;
15
- quoteeProfileImageAltText?: string;
16
- cta?: LinkProps;
17
- fullWidth?: boolean;
18
- }
19
- export default function QuoteBlock({ theme, inverse, title, description, cite, role, quote, quoteeProfileImage, quoteeProfileImageAltText, cta, fullWidth, htmlTag }: QuoteBlockProps): ReactElement;
20
- export {};
@@ -1,19 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- import QuoteBlock from './QuoteBlock';
3
- declare const meta: {
4
- title: string;
5
- component: typeof QuoteBlock;
6
- tags: string[];
7
- parameters: {
8
- backgrounds: {
9
- default: string;
10
- };
11
- quoteBlockProps: import("./QuoteBlock").QuoteBlockProps;
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof QuoteBlock>;
16
- export declare const ExampleIncludingHeading: Story;
17
- export declare const ExampleIncludingHeadingLight: Story;
18
- export declare const ExampleQuoteOnly: Story;
19
- export declare const ExampleQuoteWithCite: Story;
@@ -1,6 +0,0 @@
1
- import { QuoteBlockProps } from './QuoteBlock';
2
- export declare const quoteBlockProps: QuoteBlockProps;
3
- export declare const quoteWithCite: QuoteBlockProps;
4
- export declare const quoteOnly: QuoteBlockProps;
5
- export declare const quoteForCouresPage: QuoteBlockProps;
6
- export declare const quoteWithCiteForScholarshipsAwardPage: QuoteBlockProps;
@@ -1,18 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../../themeProps';
3
- import { CardRelatedProps } from '../../molecules/CardRelatedCourse/CardRelatedCourse';
4
- import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
5
- import './relatedCourses.scss';
6
- type LinkProps = Omit<LinkWithArrowProps, 'theme' | 'inverse'>;
7
- export interface RelatedCoursesProps {
8
- theme: ThemeProps;
9
- inverse?: boolean;
10
- heading: string;
11
- description?: string;
12
- linkProps?: LinkProps;
13
- fullWidth?: boolean;
14
- headingStyle?: 'news' | null;
15
- cards: CardRelatedProps[];
16
- }
17
- export default function RelatedCourses({ theme, inverse, heading, description, linkProps, headingStyle, fullWidth, cards }: RelatedCoursesProps): ReactElement;
18
- export {};
@@ -1,16 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- import RelatedCourses from './RelatedCourses';
3
- declare const meta: {
4
- title: string;
5
- component: typeof RelatedCourses;
6
- tags: string[];
7
- };
8
- export default meta;
9
- type Story = StoryObj<typeof meta>;
10
- export declare const ExampleFourOrMoreCourses: Story;
11
- export declare const ExampleWihDescription: Story;
12
- export declare const ExampleWihLink: Story;
13
- export declare const ExampleWithNewsStyleHeading: Story;
14
- export declare const ExampleOneCourse: Story;
15
- export declare const ExampleTwoCourses: Story;
16
- export declare const ExampleThreeCourses: Story;
@@ -1,2 +0,0 @@
1
- import { RelatedCoursesProps } from './RelatedCourses';
2
- export declare const relatedCourseProps: RelatedCoursesProps;
@@ -1,17 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../../themeProps';
3
- import { CardResearchStoryProps } from '../../molecules/CardResearchStory/CardResearchStory';
4
- import { HeadingProps } from '../../molecules/Heading/Heading';
5
- import './researchStoryCarousel.scss';
6
- export interface ResearchStoryCarouselProps {
7
- theme: ThemeProps;
8
- inverse?: boolean;
9
- fullWidth?: boolean;
10
- heading?: HeadingProps['title'];
11
- description?: HeadingProps['description'];
12
- cardTitleTag?: 'h2' | 'h3';
13
- cards: CardResearchStoryProps[];
14
- singleLink: HeadingProps['linkProps'];
15
- titleTag?: HeadingProps['htmlTag'];
16
- }
17
- export default function ResearchStoryCarousel({ theme, inverse, fullWidth, heading, description, cards, singleLink, titleTag, cardTitleTag }: ResearchStoryCarouselProps): ReactElement;
@@ -1,10 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- import ResearchStoryCarousel from './ResearchStoryCarousel';
3
- declare const meta: {
4
- title: string;
5
- component: typeof ResearchStoryCarousel;
6
- tags: string[];
7
- };
8
- export default meta;
9
- type Story = StoryObj<typeof meta>;
10
- export declare const ExampleResearchStoryCarousel: Story;
@@ -1,2 +0,0 @@
1
- import { ResearchStoryCarouselProps } from './ResearchStoryCarousel';
2
- export declare const researchStoriesCarouselProps: ResearchStoryCarouselProps;
@@ -1,20 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../../themeProps';
3
- import './richText.scss';
4
- export interface RichTextProps {
5
- /**
6
- * The theme to use
7
- */
8
- theme: ThemeProps;
9
- /**
10
- * Whether to inverse the colours
11
- */
12
- inverse?: boolean;
13
- text: string;
14
- /**
15
- * The fullWidth version of this component is used for in study pages
16
- */
17
- fullWidth?: boolean;
18
- removeBottomPadding?: boolean;
19
- }
20
- export default function RichText({ text, theme, inverse, fullWidth, removeBottomPadding }: RichTextProps): ReactElement;
@@ -1,18 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- import RichText from './RichText';
3
- declare const meta: {
4
- title: string;
5
- component: typeof RichText;
6
- tags: string[];
7
- parameters: {
8
- backgrounds: {
9
- default: string;
10
- };
11
- };
12
- };
13
- export default meta;
14
- type Story = StoryObj<typeof RichText>;
15
- export declare const Dark: Story;
16
- export declare const Light: Story;
17
- export declare const ResponsiveTableHorizontalScroll: Story;
18
- export declare const ResponsiveTableHorizontalScrollLight: Story;
@@ -1,13 +0,0 @@
1
- import { RichTextProps } from './RichText';
2
- export declare const richTextProps: RichTextProps;
3
- export declare const newsArticleRichText: RichTextProps;
4
- export declare const newsArticleRichTextBullets: RichTextProps;
5
- export declare const richTextAccommodation: RichTextProps;
6
- export declare const richTextCourseOverview: RichTextProps;
7
- export declare const richTextCourseDeliveryBeforeTopics: RichTextProps;
8
- export declare const richTextCourseDeliveryAfterTopics: RichTextProps;
9
- export declare const richTextApplicationProcess: RichTextProps;
10
- export declare const richTextApplicationProcessAfter: RichTextProps;
11
- export declare const richTextResponsiveTableHorizontalScroll: RichTextProps;
12
- export declare const richTextScholarshipsAward: RichTextProps;
13
- export declare const richTextScholarshipsAwardApply: RichTextProps;
@@ -1,13 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../../themeProps';
3
- import { CardScholarshipProps } from '../../molecules/CardScholarship/CardScholarship';
4
- import { HeadingProps } from '../../molecules/Heading/Heading';
5
- import './scholarshipCarousel.scss';
6
- export interface ScholarshipCarouselProps {
7
- theme: ThemeProps;
8
- inverse?: boolean;
9
- fullWidth?: boolean;
10
- cards: CardScholarshipProps[];
11
- headingProps?: HeadingProps;
12
- }
13
- export default function ScholarshipCarousel({ theme, inverse, fullWidth, headingProps, cards }: ScholarshipCarouselProps): ReactElement;
@@ -1,12 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- import ScholarshipCarousel from './ScholarshipCarousel';
3
- declare const meta: {
4
- title: string;
5
- component: typeof ScholarshipCarousel;
6
- tags: string[];
7
- };
8
- export default meta;
9
- type Story = StoryObj<typeof meta>;
10
- export declare const ExampleThreeOrMoreScholarship: Story;
11
- export declare const ExampleOneScholarship: Story;
12
- export declare const ExampleTwoScholarship: Story;
@@ -1,2 +0,0 @@
1
- import { ScholarshipCarouselProps } from './ScholarshipCarousel';
2
- export declare const scholarshipCarouselProps: ScholarshipCarouselProps;
@@ -1,12 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { RichTextProps } from '../RichText/RichText';
3
- import './scrollableTable.scss';
4
- export declare enum ScrollableTableCategory {
5
- NotSpecified = "NotSpecified",
6
- ColumnAndRowHeadings = "ColumnAndRowHeadings",
7
- ColumnHeadingsOnly = "ColumnHeadingsOnly"
8
- }
9
- export interface ScrollableTableProps extends RichTextProps {
10
- tableCategory?: ScrollableTableCategory;
11
- }
12
- export default function ScrollableTable({ text, theme, inverse, fullWidth, removeBottomPadding, tableCategory }: ScrollableTableProps): ReactElement;
@@ -1,24 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- import ScrollableTable from './ScrollableTable';
3
- declare const meta: {
4
- title: string;
5
- component: typeof ScrollableTable;
6
- tags: string[];
7
- parameters: {
8
- backgrounds: {
9
- default: string;
10
- };
11
- };
12
- };
13
- export default meta;
14
- type Story = StoryObj<typeof ScrollableTable>;
15
- export declare const Dark: Story;
16
- export declare const Light: Story;
17
- export declare const NarrowTable: Story;
18
- export declare const ColumnAndRowTable: Story;
19
- export declare const ColumnAndRowTableFullWidth: Story;
20
- export declare const ColumnAndRowTableLight: Story;
21
- export declare const ColumnTable: Story;
22
- export declare const ColumnTableLight: Story;
23
- export declare const ColumnTableNoCaption: Story;
24
- export declare const ColumnTableNoCaptionLight: Story;
@@ -1,6 +0,0 @@
1
- import { ScrollableTableProps } from './ScrollableTable';
2
- export declare const scrollableTableExample: ScrollableTableProps;
3
- export declare const scrollableTableNarrow: ScrollableTableProps;
4
- export declare const scrollableTableRowAndColumnHeadings: ScrollableTableProps;
5
- export declare const scrollableColumnHeadings: ScrollableTableProps;
6
- export declare const scrollableColumnHeadingsNoCaption: ScrollableTableProps;
@@ -1,79 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../../themeProps';
3
- import { SelectOptionsProps } from '../../atoms/FormSelect/FormSelect';
4
- import './searchCourses.scss';
5
- export interface FilterOptionsProps {
6
- label: string;
7
- value: string;
8
- }
9
- export interface SearchCoursesProps {
10
- /**
11
- * The theme to use
12
- */
13
- theme: ThemeProps;
14
- /**
15
- * Whether to inverse the colours
16
- */
17
- inverse?: boolean;
18
- /**
19
- * Title for module
20
- */
21
- title?: string;
22
- /**
23
- * Optional description for module
24
- */
25
- description?: string;
26
- /**
27
- * Default value to use for the search term
28
- */
29
- defaultSearchTerm?: string;
30
- /**
31
- * Placeholder text
32
- */
33
- placeholder: string;
34
- /**
35
- * Display name of the filter
36
- */
37
- filterTitle?: string;
38
- /**
39
- * Field name of the filter (passed to the results page)
40
- */
41
- filterFieldName?: string;
42
- /**
43
- * Available options in the select filter
44
- */
45
- filterOptions?: SelectOptionsProps[];
46
- /**
47
- * Default value for filter
48
- */
49
- defaultFilter?: string;
50
- /**
51
- * The wrapped version of this component is used for Hero
52
- */
53
- wrapped?: boolean;
54
- /**
55
- * The fullWidth version of this component is used for in study pages
56
- */
57
- fullWidth?: boolean;
58
- /**
59
- * The onGrid version of this component is used for in study pages
60
- */
61
- onGrid?: boolean;
62
- titleTag?: 'h1' | 'h2';
63
- /**
64
- * Function to handle what happen whens when form is submitted
65
- */
66
- formSubmitHandler?: () => void | null;
67
- /**
68
- * Function to handle what happen whens when filters change
69
- */
70
- filterChangeHandler?: () => void | null;
71
- /**
72
- * Function to handle what happen whens when search term changes
73
- */
74
- searchTermChangeHandler?: () => void | null;
75
- }
76
- /**
77
- * Search component
78
- */
79
- export default function SearchCourses({ theme, inverse, title, description, defaultSearchTerm, placeholder, filterTitle, filterFieldName, filterOptions, defaultFilter, wrapped, fullWidth, onGrid, titleTag, formSubmitHandler, filterChangeHandler, searchTermChangeHandler }: SearchCoursesProps): ReactElement;
@@ -1,20 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- import SearchCourses from './SearchCourses';
3
- declare const meta: {
4
- title: string;
5
- component: typeof SearchCourses;
6
- tags: string[];
7
- parameters: {
8
- backgrounds: {
9
- default: string;
10
- };
11
- };
12
- };
13
- export default meta;
14
- type Story = StoryObj<typeof SearchCourses>;
15
- export declare const Dark: Story;
16
- export declare const DarkFunctionNotUrl: Story;
17
- export declare const Light: Story;
18
- export declare const WithDefaultValues: Story;
19
- export declare const Wrapped: Story;
20
- export declare const onGrid: Story;
@@ -1,4 +0,0 @@
1
- import { SearchCoursesProps } from './SearchCourses';
2
- export declare const searchCourseProps: SearchCoursesProps;
3
- export declare const searchCourseWithDefaultProps: SearchCoursesProps;
4
- export declare const searchNewsProps: SearchCoursesProps;
@@ -1,12 +0,0 @@
1
- import { ReactElement, ReactNode } from 'react';
2
- import { ThemeProps } from '../../../themeProps';
3
- import './sidebarWrapper.scss';
4
- export interface SidebarWrapperProps {
5
- /**
6
- * The theme to use
7
- */
8
- theme: ThemeProps;
9
- sidebarElement: ReactNode;
10
- children: ReactNode;
11
- }
12
- export default function SidebarWrapper({ theme, sidebarElement, children }: SidebarWrapperProps): ReactElement;
@@ -1,15 +0,0 @@
1
- import type { StoryObj } from '@storybook/react';
2
- import SidebarWrapper from './SidebarWrapper';
3
- declare const meta: {
4
- title: string;
5
- component: typeof SidebarWrapper;
6
- tags: string[];
7
- parameters: {
8
- backgrounds: {
9
- default: string;
10
- };
11
- };
12
- };
13
- export default meta;
14
- type Story = StoryObj<typeof SidebarWrapper>;
15
- export declare const Default: Story;
@@ -1,35 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../../themeProps';
3
- import { HeadingProps } from '../../atoms/Heading/Heading';
4
- import './SignPost.scss';
5
- export interface SignPostProps {
6
- /**
7
- * The theme to use
8
- */
9
- theme: ThemeProps;
10
- /**
11
- * Whether to inverse the colours
12
- */
13
- inverse?: boolean;
14
- /**
15
- * A SignPost can have 2 or 4 items
16
- */
17
- items: readonly [SignPostItem, SignPostItem];
18
- /**
19
- * The fullWidth version of this component is used for in study pages
20
- */
21
- fullWidth?: boolean;
22
- htmlTag?: HeadingProps['htmlTag'];
23
- }
24
- type SignPostItem = {
25
- title: string;
26
- tag?: string;
27
- linkLabel: string;
28
- linkUrl: string;
29
- external?: boolean;
30
- };
31
- /**
32
- * Text promo block with a link
33
- */
34
- export default function SignPost({ theme, inverse, items, fullWidth, htmlTag }: SignPostProps): ReactElement;
35
- export {};
@@ -1,19 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import type { StoryObj } from '@storybook/react';
3
- import SignPost from './SignPost';
4
- declare const meta: {
5
- title: string;
6
- component: typeof SignPost;
7
- tags: string[];
8
- parameters: {
9
- backgrounds: {
10
- default: string;
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof SignPost>;
16
- export declare const Dark: Story;
17
- export declare const Light: Story;
18
- export declare const Stacked: () => ReactElement;
19
- export declare const Long: Story;
@@ -1,3 +0,0 @@
1
- import { SignPostProps } from './SignPost';
2
- export declare const signPostProps: SignPostProps;
3
- export declare const newsArticleSignPostProps: SignPostProps;