@uob-web-and-digital/component-library 0.0.25 → 0.0.27

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 (106) hide show
  1. package/dist/components/atoms/BreadcrumbLink/BreadcrumbLink.d.ts +10 -0
  2. package/dist/components/atoms/BreadcrumbLink/BreadcrumbLink.stories.d.ts +11 -0
  3. package/dist/components/{CampusSelectorLink → atoms/CampusSelectorLink}/CampusSelectorLink.d.ts +1 -1
  4. package/dist/components/{ExampleTheming → atoms/ExampleTheming}/ExampleTheming.d.ts +1 -1
  5. package/dist/components/{FormInput → atoms/FormInput}/FormInput.d.ts +1 -1
  6. package/dist/components/{FormSelect → atoms/FormSelect}/FormSelect.d.ts +1 -1
  7. package/dist/components/{IconButton → atoms/IconButton}/IconButton.d.ts +1 -1
  8. package/dist/components/{Icons → atoms/Icons}/Icons.d.ts +1 -1
  9. package/dist/components/{LinkStandard → atoms/LinkStandard}/LinkStandard.d.ts +1 -1
  10. package/dist/components/{LinkWithArrow → atoms/LinkWithArrow}/LinkWithArrow.d.ts +1 -1
  11. package/dist/components/{NavLink → atoms/NavLink}/NavLink.d.ts +1 -1
  12. package/dist/components/{PageLink → atoms/PageLink}/PageLink.d.ts +1 -1
  13. package/dist/components/{ParagraphLink → atoms/ParagraphLink}/ParagraphLink.d.ts +1 -1
  14. package/dist/components/{ReverseLinkWithArrow → atoms/ReverseLinkWithArrow}/ReverseLinkWithArrow.d.ts +1 -1
  15. package/dist/components/{TextButton → atoms/TextButton}/TextButton.d.ts +1 -1
  16. package/dist/components/{TextButtonWithIcon → atoms/TextButtonWithIcon}/TextButtonWithIcon.d.ts +1 -1
  17. package/dist/components/{Video → atoms/Video}/Video.d.ts +1 -1
  18. package/dist/components/{CampusSelector → molecules/CampusSelector}/CampusSelector.d.ts +1 -1
  19. package/dist/components/{CardFeatured → molecules/CardFeatured}/CardFeatured.d.ts +2 -2
  20. package/dist/components/{CardMenu → molecules/CardMenu}/CardMenu.d.ts +2 -2
  21. package/dist/components/{CardNews → molecules/CardNews}/CardNews.d.ts +2 -2
  22. package/dist/components/{CardVideo → molecules/CardVideo}/CardVideo.d.ts +2 -2
  23. package/dist/components/{CarouselNav → molecules/CarouselNav}/CarouselNav.d.ts +1 -1
  24. package/dist/components/{FullModal → molecules/FullModal}/FullModal.d.ts +1 -1
  25. package/dist/components/organisms/Breadcrumbs/Breadcrumbs.d.ts +18 -0
  26. package/dist/components/organisms/Breadcrumbs/Breadcrumbs.stories.d.ts +11 -0
  27. package/dist/components/organisms/Breadcrumbs/defaultProps.d.ts +2 -0
  28. package/dist/components/{Carousel → organisms/Carousel}/Carousel.d.ts +4 -4
  29. package/dist/components/{Carousel → organisms/Carousel}/defaultProps.d.ts +1 -1
  30. package/dist/components/{FeaturedContent → organisms/FeaturedContent}/FeaturedContent.d.ts +2 -2
  31. package/dist/components/{FeaturedSignpost → organisms/FeaturedSignpost}/FeaturedSignpost.d.ts +1 -1
  32. package/dist/components/{FeaturedVideo → organisms/FeaturedVideo}/FeaturedVideo.d.ts +2 -2
  33. package/dist/components/{FeaturedVideo → organisms/FeaturedVideo}/FeaturedVideo.stories.d.ts +2 -2
  34. package/dist/components/{Footer → organisms/Footer}/Footer.d.ts +2 -2
  35. package/dist/components/{Header → organisms/Header}/Header.d.ts +2 -2
  36. package/dist/components/{Header → organisms/Header}/components/MainMenu.d.ts +2 -2
  37. package/dist/components/{Header → organisms/Header}/components/NestedMenu.d.ts +1 -1
  38. package/dist/components/{Header → organisms/Header}/components/SearchMenu.d.ts +1 -1
  39. package/dist/components/{Header → organisms/Header}/defaultProps.d.ts +2 -2
  40. package/dist/components/{HeroCarousel → organisms/HeroCarousel}/HeroCarousel.d.ts +1 -1
  41. package/dist/components/{HeroCarousel → organisms/HeroCarousel}/components/HeroCardContent.d.ts +1 -1
  42. package/dist/components/{SearchCourses → organisms/SearchCourses}/SearchCourses.d.ts +2 -2
  43. package/dist/components/{SignPost → organisms/SignPost}/SignPost.d.ts +1 -1
  44. package/dist/components/{SkipToContent → organisms/SkipToContent}/SkipToContent.d.ts +1 -1
  45. package/dist/components/{VideoCardComponent → organisms/VideoCardComponent}/VideoCardComponent.d.ts +2 -2
  46. package/dist/components/{VideoCardComponent → organisms/VideoCardComponent}/VideoCardComponent.stories.d.ts +2 -2
  47. package/dist/index.d.ts +16 -1
  48. package/dist/main.css +1 -1
  49. package/dist/main.js +5 -5
  50. package/dist/module.js +5 -5
  51. package/package.json +1 -1
  52. package/dist/components/Button/Button.d.ts +0 -28
  53. package/dist/components/Button/Button.stories.d.ts +0 -21
  54. /package/dist/components/{CampusSelectorLink → atoms/CampusSelectorLink}/CampusSelectorLink.stories.d.ts +0 -0
  55. /package/dist/components/{ExampleTheming → atoms/ExampleTheming}/ExampleTheming.stories.d.ts +0 -0
  56. /package/dist/components/{FormInput → atoms/FormInput}/FormInput.stories.d.ts +0 -0
  57. /package/dist/components/{FormInput → atoms/FormInput}/defaultProps.d.ts +0 -0
  58. /package/dist/components/{FormSelect → atoms/FormSelect}/FormSelect.stories.d.ts +0 -0
  59. /package/dist/components/{FormSelect → atoms/FormSelect}/defaultProps.d.ts +0 -0
  60. /package/dist/components/{IconButton → atoms/IconButton}/IconButton.stories.d.ts +0 -0
  61. /package/dist/components/{IconButton → atoms/IconButton}/defaultProps.d.ts +0 -0
  62. /package/dist/components/{Image → atoms/Image}/Image.d.ts +0 -0
  63. /package/dist/components/{LinkStandard → atoms/LinkStandard}/LinkStandard.stories.d.ts +0 -0
  64. /package/dist/components/{LinkWithArrow → atoms/LinkWithArrow}/LinkWithArrow.stories.d.ts +0 -0
  65. /package/dist/components/{MainWrapper → atoms/MainWrapper}/MainWrapper.d.ts +0 -0
  66. /package/dist/components/{NavLink → atoms/NavLink}/NavLink.stories.d.ts +0 -0
  67. /package/dist/components/{PageLink → atoms/PageLink}/PageLink.stories.d.ts +0 -0
  68. /package/dist/components/{ParagraphLink → atoms/ParagraphLink}/ParagraphLink.stories.d.ts +0 -0
  69. /package/dist/components/{Parallax → atoms/Parallax}/Parallax.d.ts +0 -0
  70. /package/dist/components/{ReverseLinkWithArrow → atoms/ReverseLinkWithArrow}/ReverseLinkWithArrow.stories.d.ts +0 -0
  71. /package/dist/components/{TextButton → atoms/TextButton}/TextButton.stories.d.ts +0 -0
  72. /package/dist/components/{TextButtonWithIcon → atoms/TextButtonWithIcon}/TextButtonWithIcon.stories.d.ts +0 -0
  73. /package/dist/components/{Video → atoms/Video}/Video.stories.d.ts +0 -0
  74. /package/dist/components/{Video → atoms/Video}/defaultProps.d.ts +0 -0
  75. /package/dist/components/{CampusSelector → molecules/CampusSelector}/CampusSelector.stories.d.ts +0 -0
  76. /package/dist/components/{CardFeatured → molecules/CardFeatured}/CardFeatured.stories.d.ts +0 -0
  77. /package/dist/components/{CardFeatured → molecules/CardFeatured}/animationVariants.d.ts +0 -0
  78. /package/dist/components/{CardFeatured → molecules/CardFeatured}/defaultProps.d.ts +0 -0
  79. /package/dist/components/{CardMenu → molecules/CardMenu}/CardMenu.stories.d.ts +0 -0
  80. /package/dist/components/{CardNews → molecules/CardNews}/CardNews.stories.d.ts +0 -0
  81. /package/dist/components/{CardVideo → molecules/CardVideo}/CardVideo.stories.d.ts +0 -0
  82. /package/dist/components/{CarouselNav → molecules/CarouselNav}/CarouselNav.stories.d.ts +0 -0
  83. /package/dist/components/{Carousel → organisms/Carousel}/Carousel.stories.d.ts +0 -0
  84. /package/dist/components/{FeaturedContent → organisms/FeaturedContent}/FeaturedContent.stories.d.ts +0 -0
  85. /package/dist/components/{FeaturedContent → organisms/FeaturedContent}/defaultProps.d.ts +0 -0
  86. /package/dist/components/{FeaturedSignpost → organisms/FeaturedSignpost}/FeaturedSignpost.stories.d.ts +0 -0
  87. /package/dist/components/{FeaturedSignpost → organisms/FeaturedSignpost}/animationProperties.d.ts +0 -0
  88. /package/dist/components/{FeaturedSignpost → organisms/FeaturedSignpost}/components/LinesOfIntent.d.ts +0 -0
  89. /package/dist/components/{FeaturedSignpost → organisms/FeaturedSignpost}/components/SignpostImage.d.ts +0 -0
  90. /package/dist/components/{FeaturedSignpost → organisms/FeaturedSignpost}/defaultProps.d.ts +0 -0
  91. /package/dist/components/{FeaturedVideo → organisms/FeaturedVideo}/defaultProps.d.ts +0 -0
  92. /package/dist/components/{Footer → organisms/Footer}/Footer.stories.d.ts +0 -0
  93. /package/dist/components/{Footer → organisms/Footer}/defaultProps.d.ts +0 -0
  94. /package/dist/components/{Header → organisms/Header}/Header.stories.d.ts +0 -0
  95. /package/dist/components/{Header → organisms/Header}/types.d.ts +0 -0
  96. /package/dist/components/{HeroCarousel → organisms/HeroCarousel}/HeroCarousel.stories.d.ts +0 -0
  97. /package/dist/components/{HeroCarousel → organisms/HeroCarousel}/animationVariants.d.ts +0 -0
  98. /package/dist/components/{HeroCarousel → organisms/HeroCarousel}/components/HeroImage.d.ts +0 -0
  99. /package/dist/components/{HeroCarousel → organisms/HeroCarousel}/components/LinesOfIntent.d.ts +0 -0
  100. /package/dist/components/{HeroCarousel → organisms/HeroCarousel}/defaultProps.d.ts +0 -0
  101. /package/dist/components/{SearchCourses → organisms/SearchCourses}/SearchCourses.stories.d.ts +0 -0
  102. /package/dist/components/{SearchCourses → organisms/SearchCourses}/defaultProps.d.ts +0 -0
  103. /package/dist/components/{SignPost → organisms/SignPost}/SignPost.stories.d.ts +0 -0
  104. /package/dist/components/{SignPost → organisms/SignPost}/defaultProps.d.ts +0 -0
  105. /package/dist/components/{SkipToContent → organisms/SkipToContent}/SkipToContent.stories.d.ts +0 -0
  106. /package/dist/components/{VideoCardComponent → organisms/VideoCardComponent}/defaultProps.d.ts +0 -0
@@ -0,0 +1,10 @@
1
+ import { ReactElement } from 'react';
2
+ import { ThemeProps } from '../../../themeProps';
3
+ import './breadcrumbLink.scss';
4
+ export interface BreadcrumbLinkProps {
5
+ theme: ThemeProps;
6
+ inverse?: boolean;
7
+ url: string;
8
+ title: string;
9
+ }
10
+ export default function BreadcrumbLink({ theme, inverse, url, title }: BreadcrumbLinkProps): ReactElement;
@@ -0,0 +1,11 @@
1
+ import type { StoryObj } from '@storybook/react';
2
+ import BreadcrumbLink from './BreadcrumbLink';
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof BreadcrumbLink;
6
+ tags: string[];
7
+ };
8
+ export default meta;
9
+ type Story = StoryObj<typeof meta>;
10
+ export declare const Dark: Story;
11
+ export declare const Light: Story;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './campusSelectorLink.scss';
4
4
  export interface CampusSelectorLinkProps {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './exampleTheming.scss';
4
4
  export interface ExampleThemingProps {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import React, { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './formInput.scss';
4
4
  export interface FormInputProps {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import React, { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './formSelect.scss';
4
4
  export interface SelectOptionsProps {
5
5
  label: string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IconType } from '../Icons/Icons';
3
- import { ThemeProps } from '../../themeProps';
3
+ import { ThemeProps } from '../../../themeProps';
4
4
  import './iconButton.scss';
5
5
  export interface IconButtonProps {
6
6
  theme: ThemeProps;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './icons.scss';
4
4
  export type IconType = 'twitter' | 'facebook' | 'wechat' | 'weibo' | 'youtube' | 'instagram' | 'linkedin' | 'chevron-down' | 'chevron-right' | 'arrow-right' | 'arrow-right-large' | 'location' | 'hamburger' | 'cross' | 'arrow-left' | 'search' | 'arrow-down' | 'play';
5
5
  export type IconProps = {
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './linkStandard.scss';
4
4
  export interface LinkStandardProps {
5
5
  theme: ThemeProps;
@@ -1,5 +1,5 @@
1
1
  import React, { KeyboardEvent } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './linkWithArrow.scss';
4
4
  export interface LinkWithArrowProps {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './NavLink.scss';
4
4
  export interface NavLinkProps {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './PageLink.scss';
4
4
  export interface PageLinkProps {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './paragraphLink.scss';
4
4
  export interface ParagraphLinkProps {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './ReverseLinkWithArrow.scss';
4
4
  export interface ReverseLinkWithArrowProps {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './textButton.scss';
4
4
  interface TextButtonProps {
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  import { MouseEventHandler, ReactElement } from 'react';
2
2
  import { IconType } from '../Icons/Icons';
3
- import { ThemeProps } from '../../themeProps';
3
+ import { ThemeProps } from '../../../themeProps';
4
4
  import './textButtonWithIcon.scss';
5
5
  export interface TextButtonWithIconProps {
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './video.scss';
4
4
  export interface VideoProps {
5
5
  theme: ThemeProps;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './campusSelector.scss';
4
4
  interface CampusSelectorProps {
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  import React, { KeyboardEvent } from 'react';
2
- import { ImageProps } from '../Image/Image';
3
- import { ThemeProps } from '../../themeProps';
2
+ import { ImageProps } from '../../atoms/Image/Image';
3
+ import { ThemeProps } from '../../../themeProps';
4
4
  import './cardFeatured.scss';
5
5
  export interface CardFeaturedProps {
6
6
  theme: ThemeProps;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
- import { ImageProps } from '../Image/Image';
3
- import { ThemeProps } from '../../themeProps';
2
+ import { ImageProps } from '../../atoms/Image/Image';
3
+ import { ThemeProps } from '../../../themeProps';
4
4
  import './cardMenu.scss';
5
5
  export interface CardMenuProps {
6
6
  theme: ThemeProps;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
- import { ImageProps } from '../Image/Image';
3
- import { ThemeProps } from '../../themeProps';
2
+ import { ImageProps } from '../../atoms/Image/Image';
3
+ import { ThemeProps } from '../../../themeProps';
4
4
  import './cardNews.scss';
5
5
  export interface CardNewsProps {
6
6
  theme: ThemeProps;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
- import { ImageProps } from '../Image/Image';
3
- import { ThemeProps } from '../../themeProps';
2
+ import { ImageProps } from '../../atoms/Image/Image';
3
+ import { ThemeProps } from '../../../themeProps';
4
4
  import './cardVideo.scss';
5
5
  export interface CardVideoProps {
6
6
  theme: ThemeProps;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './carouselNav.scss';
4
4
  interface CarouselNavProps {
5
5
  theme: ThemeProps;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './fullModal.scss';
4
4
  export interface FullModalProps {
5
5
  /**
@@ -0,0 +1,18 @@
1
+ import { ReactElement } from 'react';
2
+ import { ThemeProps } from '../../../themeProps';
3
+ import './breadcrumbs.scss';
4
+ interface Link {
5
+ url: string;
6
+ title: string;
7
+ }
8
+ export interface BreadcrumbsProps {
9
+ theme: ThemeProps;
10
+ inverse?: boolean;
11
+ /**
12
+ * Links need to be provided in top down order, from parent to child
13
+ * E.g. Home, Level1, Level2, Level3
14
+ */
15
+ links: Link[];
16
+ }
17
+ export default function Breadcrumbs({ theme, inverse, links }: BreadcrumbsProps): ReactElement;
18
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { StoryObj } from '@storybook/react';
2
+ import Breadcrumbs from './Breadcrumbs';
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof Breadcrumbs;
6
+ tags: string[];
7
+ };
8
+ export default meta;
9
+ type Story = StoryObj<typeof meta>;
10
+ export declare const Dark: Story;
11
+ export declare const Light: Story;
@@ -0,0 +1,2 @@
1
+ import { BreadcrumbsProps } from './Breadcrumbs';
2
+ export declare const breadcrumbsProps: BreadcrumbsProps;
@@ -1,8 +1,8 @@
1
1
  import { ReactElement } from 'react';
2
- import { CardNewsProps } from '../CardNews/CardNews';
3
- import { CardFeaturedProps } from '../CardFeatured/CardFeatured';
4
- import { CardVideoProps } from '../CardVideo/CardVideo';
5
- import { ThemeProps } from '../../themeProps';
2
+ import { CardNewsProps } from '../../molecules/CardNews/CardNews';
3
+ import { CardFeaturedProps } from '../../molecules/CardFeatured/CardFeatured';
4
+ import { CardVideoProps } from '../../molecules/CardVideo/CardVideo';
5
+ import { ThemeProps } from '../../../themeProps';
6
6
  import './carousel.scss';
7
7
  export interface CarouselProps {
8
8
  theme: ThemeProps;
@@ -1,4 +1,4 @@
1
1
  import { CarouselProps } from './Carousel';
2
- import { CardNewsProps } from '../CardNews/CardNews';
2
+ import { CardNewsProps } from '../../molecules/CardNews/CardNews';
3
3
  export declare const newsCards: Omit<CardNewsProps, 'titleTag'>[];
4
4
  export declare const carouselProps: CarouselProps;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
3
- import { CardFeaturedProps } from '../CardFeatured/CardFeatured';
2
+ import { ThemeProps } from '../../../themeProps';
3
+ import { CardFeaturedProps } from '../../molecules/CardFeatured/CardFeatured';
4
4
  import './featuredContent.scss';
5
5
  export interface FeaturedContentProps {
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './featuredSignpost.scss';
4
4
  export interface FeaturedSignpostProps {
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './featuredVideo.scss';
4
- import { ImageProps } from '../Image/Image';
4
+ import { ImageProps } from '../../atoms/Image/Image';
5
5
  export interface FeaturedVideoProps {
6
6
  theme: ThemeProps;
7
7
  inverse?: boolean;
@@ -5,9 +5,9 @@ declare const meta: {
5
5
  title: string;
6
6
  component: typeof FeaturedVideo;
7
7
  decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
8
- theme: import("../../themeProps").ThemeProps;
8
+ theme: import("../../../themeProps").ThemeProps;
9
9
  inverse?: boolean | undefined;
10
- image: import("../Image/Image").ImageProps;
10
+ image: import("../../atoms/Image/Image").ImageProps;
11
11
  title: string;
12
12
  youtubeId: string;
13
13
  audioYoutubeId?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
3
- import { IconType } from '../Icons/Icons';
2
+ import { ThemeProps } from '../../../themeProps';
3
+ import { IconType } from '../../atoms/Icons/Icons';
4
4
  import './footer.scss';
5
5
  export interface FooterLinkProps {
6
6
  label: string;
@@ -1,8 +1,8 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import { HeaderLink } from './types';
4
4
  import { SearchMenuProps } from './components/SearchMenu';
5
- import { CardMenuProps } from '../CardMenu/CardMenu';
5
+ import { CardMenuProps } from '../../molecules/CardMenu/CardMenu';
6
6
  import './header.scss';
7
7
  export interface HeaderProps {
8
8
  /**
@@ -1,7 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { HeaderLink } from '../types';
3
- import { ThemeProps } from '../../../themeProps';
4
- import { CardMenuProps } from '../../CardMenu/CardMenu';
3
+ import { ThemeProps } from '../../../../themeProps';
4
+ import { CardMenuProps } from '../../../molecules/CardMenu/CardMenu';
5
5
  export interface MainMenuProps {
6
6
  primaryLinks: HeaderLink[];
7
7
  secondaryLinks: HeaderLink[];
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { HeaderLink } from '../types';
3
- import { ThemeProps } from '../../../themeProps';
3
+ import { ThemeProps } from '../../../../themeProps';
4
4
  export interface NestedMenuProps {
5
5
  headingLink: HeaderLink;
6
6
  onClickGoBack: () => void;
@@ -1,5 +1,5 @@
1
1
  import React, { ReactElement } from 'react';
2
- import { ThemeProps } from '../../../themeProps';
2
+ import { ThemeProps } from '../../../../themeProps';
3
3
  import { RecommendedLink } from '../types';
4
4
  export interface SearchMenuProps {
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  import { HeaderProps } from './Header';
2
2
  export declare const headerProps: HeaderProps;
3
- export declare const menuCards: [import("../CardMenu/CardMenu").CardMenuProps, import("../CardMenu/CardMenu").CardMenuProps, import("../CardMenu/CardMenu").CardMenuProps] | undefined, headerPropsDubai: {
4
- theme: import("../../themeProps").ThemeProps;
3
+ export declare const menuCards: [import("../../molecules/CardMenu/CardMenu").CardMenuProps, import("../../molecules/CardMenu/CardMenu").CardMenuProps, import("../../molecules/CardMenu/CardMenu").CardMenuProps] | undefined, headerPropsDubai: {
4
+ theme: import("../../../themeProps").ThemeProps;
5
5
  primaryLinks: import("./types").HeaderLink[];
6
6
  secondaryLinks: import("./types").HeaderLink[];
7
7
  homepageUrl: string;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './heroCarousel.scss';
4
4
  interface HeroCarouselCard {
5
5
  category: string;
@@ -1,5 +1,5 @@
1
1
  import React, { KeyboardEvent } from 'react';
2
- import { ThemeProps } from '../../../themeProps';
2
+ import { ThemeProps } from '../../../../themeProps';
3
3
  interface Props {
4
4
  /**
5
5
  * The theme to use
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
3
- import { SelectOptionsProps } from '../FormSelect/FormSelect';
2
+ import { ThemeProps } from '../../../themeProps';
3
+ import { SelectOptionsProps } from '../../atoms/FormSelect/FormSelect';
4
4
  import './searchCourses.scss';
5
5
  export interface FilterOptionsProps {
6
6
  label: string;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
2
+ import { ThemeProps } from '../../../themeProps';
3
3
  import './SignPost.scss';
4
4
  export interface SignPostProps {
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import './SkipToContent.scss';
3
- import { ThemeProps } from '../../themeProps';
3
+ import { ThemeProps } from '../../../themeProps';
4
4
  interface SkipToContentProps {
5
5
  theme: ThemeProps;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
- import { ThemeProps } from '../../themeProps';
3
- import { CardVideoProps } from '../CardVideo/CardVideo';
2
+ import { ThemeProps } from '../../../themeProps';
3
+ import { CardVideoProps } from '../../molecules/CardVideo/CardVideo';
4
4
  import './videoCardComponent.scss';
5
5
  export interface VideoCardComponentProps {
6
6
  /**
@@ -5,13 +5,13 @@ declare const meta: {
5
5
  title: string;
6
6
  component: typeof VideoCardComponent;
7
7
  decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
8
- theme: import("../../themeProps").ThemeProps;
8
+ theme: import("../../../themeProps").ThemeProps;
9
9
  title: string;
10
10
  linkUrl?: string | undefined;
11
11
  linkText?: string | undefined;
12
12
  externalLink?: boolean | undefined;
13
13
  tag?: string | undefined;
14
- cards: [import("../CardVideo/CardVideo").CardVideoProps, import("../CardVideo/CardVideo").CardVideoProps, import("../CardVideo/CardVideo").CardVideoProps];
14
+ cards: [import("../../molecules/CardVideo/CardVideo").CardVideoProps, import("../../molecules/CardVideo/CardVideo").CardVideoProps, import("../../molecules/CardVideo/CardVideo").CardVideoProps];
15
15
  }>) => JSX.Element)[];
16
16
  tags: string[];
17
17
  };
package/dist/index.d.ts CHANGED
@@ -358,4 +358,19 @@ interface VideoCardComponentProps {
358
358
  }
359
359
  declare function VideoCardComponent({ theme, tag, title, linkUrl, linkText, externalLink, cards }: VideoCardComponentProps): ReactElement | null;
360
360
 
361
- export { Carousel, FeaturedContent, FeaturedSignpost, FeaturedVideo, Footer, Header, HeroCarousel, MainWrapper, SearchCourses, SignPost, SkipToContent, VideoCardComponent };
361
+ interface Link {
362
+ url: string;
363
+ title: string;
364
+ }
365
+ interface BreadcrumbsProps {
366
+ theme: ThemeProps;
367
+ inverse?: boolean;
368
+ /**
369
+ * Links need to be provided in top down order, from parent to child
370
+ * E.g. Home, Level1, Level2, Level3
371
+ */
372
+ links: Link[];
373
+ }
374
+ declare function Breadcrumbs({ theme, inverse, links }: BreadcrumbsProps): ReactElement;
375
+
376
+ export { Breadcrumbs, Carousel, FeaturedContent, FeaturedSignpost, FeaturedVideo, Footer, Header, HeroCarousel, MainWrapper, SearchCourses, SignPost, SkipToContent, VideoCardComponent };