@uob-web-and-digital/component-library 0.0.64 → 0.0.66

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.
@@ -1,6 +1,6 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
2
  export interface HeadingProps {
3
- htmlTag: 'h2' | 'h3' | 'h4';
3
+ htmlTag: 'h1' | 'h2' | 'h3' | 'h4';
4
4
  classNames?: string;
5
5
  children?: ReactNode;
6
6
  }
@@ -1,6 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { ThemeProps } from '../../../themeProps';
3
3
  import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
4
+ import { HeadingProps as HeadingElementProps } from '../../atoms/Heading/Heading';
4
5
  import './heading.scss';
5
6
  type LinkProps = Omit<LinkWithArrowProps, 'theme' | 'inverse'>;
6
7
  export interface HeadingProps {
@@ -12,10 +13,11 @@ export interface HeadingProps {
12
13
  * Whether to inverse the colours
13
14
  */
14
15
  inverse?: boolean;
16
+ htmlTag?: HeadingElementProps['htmlTag'];
15
17
  title?: string;
16
18
  description?: string;
17
19
  linkProps?: LinkProps;
18
20
  fullWidth?: boolean;
19
21
  }
20
- export default function Heading({ title, description, linkProps, theme, inverse, fullWidth }: HeadingProps): ReactElement | null;
22
+ export default function Heading({ title, description, linkProps, theme, inverse, fullWidth, htmlTag }: HeadingProps): ReactElement | null;
21
23
  export {};
@@ -1,6 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { ThemeProps } from '../../../themeProps';
3
3
  import { ImageProps } from '../../atoms/Image/Image';
4
+ import { HeadingProps } from '../../atoms/Heading/Heading';
4
5
  import './accreditationPromotion.scss';
5
6
  interface Accreditation {
6
7
  text: string;
@@ -8,13 +9,14 @@ interface Accreditation {
8
9
  }
9
10
  export interface AccreditationPromotionProps {
10
11
  theme: ThemeProps;
11
- heading: string;
12
- intro: string;
12
+ heading?: string;
13
+ htmlTag: HeadingProps['htmlTag'];
14
+ intro?: string;
13
15
  accreditations: Accreditation[];
14
16
  /**
15
17
  * The fullWidth version of this component is used for in study pages
16
18
  */
17
19
  fullWidth?: boolean;
18
20
  }
19
- export default function AcreditationPromotion({ theme, heading, intro, accreditations, fullWidth }: AccreditationPromotionProps): ReactElement;
21
+ export default function AcreditationPromotion({ theme, heading, intro, accreditations, htmlTag, fullWidth }: AccreditationPromotionProps): ReactElement;
20
22
  export {};
@@ -8,3 +8,4 @@ declare const meta: {
8
8
  export default meta;
9
9
  type Story = StoryObj<typeof meta>;
10
10
  export declare const Example: Story;
11
+ export declare const ExampleNoHeading: Story;
@@ -3,6 +3,7 @@ import { ThemeProps } from '../../../themeProps';
3
3
  import { ImageProps } from '../../atoms/Image/Image';
4
4
  import { TextButtonProps } from '../../atoms/TextButton/TextButton';
5
5
  import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
6
+ import { HeadingProps } from '../../atoms/Heading/Heading';
6
7
  import './ctaComponent.scss';
7
8
  export interface CTAComponentProps {
8
9
  theme: ThemeProps;
@@ -14,9 +15,10 @@ export interface CTAComponentProps {
14
15
  primaryCTA?: TextButtonProps;
15
16
  secondaryCTA?: TextButtonProps;
16
17
  link?: LinkWithArrowProps;
18
+ htmlTag?: HeadingProps['htmlTag'];
17
19
  /**
18
20
  * The fullWidth version of this component is used for in study pages
19
21
  */
20
22
  fullWidth?: boolean;
21
23
  }
22
- export default function CTAComponent({ theme, inverse, highlight, image, heading, copy, primaryCTA, secondaryCTA, link, fullWidth }: CTAComponentProps): ReactElement;
24
+ export default function CTAComponent({ theme, inverse, highlight, image, heading, copy, primaryCTA, secondaryCTA, link, fullWidth, htmlTag }: CTAComponentProps): ReactElement;
@@ -6,4 +6,4 @@ export interface FactBoxesProps extends HeadingProps {
6
6
  fullWidth?: boolean;
7
7
  cards: CardFactProps[];
8
8
  }
9
- export default function FactBoxes({ theme, inverse, title, description, linkProps, cards, fullWidth }: FactBoxesProps): ReactElement;
9
+ export default function FactBoxes({ theme, inverse, title, description, linkProps, cards, fullWidth, htmlTag }: FactBoxesProps): ReactElement;
@@ -4,7 +4,7 @@ export declare const ranking: import("./components/CourseTileRanking").CourseTil
4
4
  theme: import("../../../themeProps").ThemeProps;
5
5
  inverse?: boolean | undefined;
6
6
  title: string;
7
- titleTag?: "h2" | "h3" | "h4" | undefined;
7
+ titleTag?: "h1" | "h2" | "h3" | "h4" | undefined;
8
8
  awardShort: string;
9
9
  links?: Omit<import("../../atoms/TextButton/TextButton").TextButtonProps, "theme">[] | undefined;
10
10
  heroType: "UG" | "UG Dubai" | "PGT Dubai" | "Other";
@@ -23,7 +23,7 @@ export declare const deliveryFormat: import("./components/CourseTile").CourseTil
23
23
  theme: import("../../../themeProps").ThemeProps;
24
24
  inverse?: boolean | undefined;
25
25
  title: string;
26
- titleTag?: "h2" | "h3" | "h4" | undefined;
26
+ titleTag?: "h1" | "h2" | "h3" | "h4" | undefined;
27
27
  awardShort: string;
28
28
  links?: Omit<import("../../atoms/TextButton/TextButton").TextButtonProps, "theme">[] | undefined;
29
29
  heroType: "UG" | "UG Dubai" | "PGT Dubai" | "Other";
@@ -7,4 +7,4 @@ export interface ImageBlockProps extends HeadingProps {
7
7
  makeHeadingFullWidth?: boolean;
8
8
  images?: Omit<CardImageProps, 'theme' | 'inverse'>[];
9
9
  }
10
- export default function ImageBlock({ theme, inverse, title, description, linkProps, fullWidth, makeHeadingFullWidth, images }: ImageBlockProps): ReactElement | null;
10
+ export default function ImageBlock({ theme, inverse, title, description, linkProps, fullWidth, makeHeadingFullWidth, images, htmlTag }: ImageBlockProps): ReactElement | null;
@@ -7,4 +7,4 @@ export interface ImageCarouselProps extends HeadingProps {
7
7
  widerImage: boolean;
8
8
  images: CardImageProps[];
9
9
  }
10
- export default function ImageCarousel({ theme, inverse, title, description, linkProps, fullWidth, widerImage, images }: ImageCarouselProps): ReactElement;
10
+ export default function ImageCarousel({ theme, inverse, title, description, linkProps, fullWidth, widerImage, images, htmlTag }: ImageCarouselProps): ReactElement;
@@ -12,5 +12,7 @@ export interface IntroTextProps {
12
12
  inverse?: boolean;
13
13
  fullWidth?: boolean;
14
14
  text: string;
15
+ removeBottomPadding?: boolean;
16
+ removeTopPadding?: boolean;
15
17
  }
16
- export default function IntroText({ text, theme, inverse, fullWidth }: IntroTextProps): ReactElement;
18
+ export default function IntroText({ text, theme, inverse, fullWidth, removeBottomPadding, removeTopPadding }: IntroTextProps): ReactElement;
@@ -16,5 +16,5 @@ export interface QuoteBlockProps extends HeadingProps {
16
16
  cta?: LinkProps;
17
17
  fullWidth?: boolean;
18
18
  }
19
- export default function QuoteBlock({ theme, inverse, title, description, cite, role, quote, quoteeProfileImage, quoteeProfileImageAltText, cta, fullWidth }: QuoteBlockProps): ReactElement;
19
+ export default function QuoteBlock({ theme, inverse, title, description, cite, role, quote, quoteeProfileImage, quoteeProfileImageAltText, cta, fullWidth, htmlTag }: QuoteBlockProps): ReactElement;
20
20
  export {};
@@ -15,5 +15,6 @@ export interface RichTextProps {
15
15
  * The fullWidth version of this component is used for in study pages
16
16
  */
17
17
  fullWidth?: boolean;
18
+ removeBottomPadding?: boolean;
18
19
  }
19
- export default function RichText({ text, theme, inverse, fullWidth }: RichTextProps): ReactElement;
20
+ export default function RichText({ text, theme, inverse, fullWidth, removeBottomPadding }: RichTextProps): ReactElement;
@@ -1,5 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { ThemeProps } from '../../../themeProps';
3
+ import { HeadingProps } from '../../atoms/Heading/Heading';
3
4
  import './SignPost.scss';
4
5
  export interface SignPostProps {
5
6
  /**
@@ -18,6 +19,7 @@ export interface SignPostProps {
18
19
  * The fullWidth version of this component is used for in study pages
19
20
  */
20
21
  fullWidth?: boolean;
22
+ htmlTag?: HeadingProps['htmlTag'];
21
23
  }
22
24
  type SignPostItem = {
23
25
  title: string;
@@ -29,5 +31,5 @@ type SignPostItem = {
29
31
  /**
30
32
  * Text promo block with a link
31
33
  */
32
- export default function SignPost({ theme, inverse, items, fullWidth }: SignPostProps): ReactElement;
34
+ export default function SignPost({ theme, inverse, items, fullWidth, htmlTag }: SignPostProps): ReactElement;
33
35
  export {};
@@ -1,6 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { ThemeProps } from '../../../themeProps';
3
3
  import { TabItemProps } from '../../molecules/Tab/TabItemProps';
4
+ import { HeadingProps } from '../../molecules/Heading/Heading';
4
5
  import './tabsBlock.scss';
5
6
  export interface TabsBlockProps {
6
7
  /**
@@ -27,5 +28,9 @@ export interface TabsBlockProps {
27
28
  * The fullWidth version of this component is used for in study pages
28
29
  */
29
30
  fullWidth?: boolean;
31
+ /**
32
+ * heading tag options
33
+ */
34
+ htmlTag?: HeadingProps['htmlTag'];
30
35
  }
31
- export default function TabsBlock({ theme, inverse, title, description, tabItems, fullWidth }: TabsBlockProps): ReactElement | null;
36
+ export default function TabsBlock({ theme, inverse, title, description, tabItems, fullWidth, htmlTag }: TabsBlockProps): ReactElement | null;
@@ -18,5 +18,6 @@ export interface TextWithBackgroundProps {
18
18
  externalLink?: boolean;
19
19
  linkStyle?: 'primary' | 'secondary' | 'paragraph-link';
20
20
  fullWidth?: boolean;
21
+ removeBottomPadding?: boolean;
21
22
  }
22
- export default function TextWithBackground({ text, theme, inverse, headingLevel, headingText, url, linkTitle, externalLink, linkStyle, fullWidth }: TextWithBackgroundProps): ReactElement;
23
+ export default function TextWithBackground({ text, theme, inverse, headingLevel, headingText, url, linkTitle, externalLink, linkStyle, fullWidth, removeBottomPadding }: TextWithBackgroundProps): ReactElement;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React, { KeyboardEvent, ReactElement, ReactNode, MouseEventHandler, ChangeEvent, PropsWithChildren } from 'react';
1
+ import React, { KeyboardEvent, ReactNode, ReactElement, MouseEventHandler, ChangeEvent, PropsWithChildren } from 'react';
2
2
 
3
3
  type ThemeProps = 'uobmain' | 'redexample';
4
4
 
@@ -36,8 +36,14 @@ interface LinkWithArrowProps {
36
36
  onKeyDown?: (e: KeyboardEvent) => void;
37
37
  }
38
38
 
39
- type LinkProps$1 = Omit<LinkWithArrowProps, 'theme' | 'inverse'>;
40
39
  interface HeadingProps$1 {
40
+ htmlTag: 'h1' | 'h2' | 'h3' | 'h4';
41
+ classNames?: string;
42
+ children?: ReactNode;
43
+ }
44
+
45
+ type LinkProps$1 = Omit<LinkWithArrowProps, 'theme' | 'inverse'>;
46
+ interface HeadingProps {
41
47
  /**
42
48
  * The theme to use
43
49
  */
@@ -46,6 +52,7 @@ interface HeadingProps$1 {
46
52
  * Whether to inverse the colours
47
53
  */
48
54
  inverse?: boolean;
55
+ htmlTag?: HeadingProps$1['htmlTag'];
49
56
  title?: string;
50
57
  description?: string;
51
58
  linkProps?: LinkProps$1;
@@ -55,7 +62,7 @@ interface HeadingProps$1 {
55
62
  interface AccordionProps {
56
63
  theme: ThemeProps;
57
64
  inverse?: boolean;
58
- heading?: Omit<HeadingProps$1, 'theme' | 'inverse'>;
65
+ heading?: Omit<HeadingProps, 'theme' | 'inverse'>;
59
66
  accordionItems: AccordionItemProps[];
60
67
  fullWidth?: boolean;
61
68
  }
@@ -80,15 +87,16 @@ interface Accreditation {
80
87
  }
81
88
  interface AccreditationPromotionProps {
82
89
  theme: ThemeProps;
83
- heading: string;
84
- intro: string;
90
+ heading?: string;
91
+ htmlTag: HeadingProps$1['htmlTag'];
92
+ intro?: string;
85
93
  accreditations: Accreditation[];
86
94
  /**
87
95
  * The fullWidth version of this component is used for in study pages
88
96
  */
89
97
  fullWidth?: boolean;
90
98
  }
91
- declare function AcreditationPromotion({ theme, heading, intro, accreditations, fullWidth }: AccreditationPromotionProps): ReactElement;
99
+ declare function AcreditationPromotion({ theme, heading, intro, accreditations, htmlTag, fullWidth }: AccreditationPromotionProps): ReactElement;
92
100
 
93
101
  interface RichTextProps {
94
102
  /**
@@ -104,8 +112,9 @@ interface RichTextProps {
104
112
  * The fullWidth version of this component is used for in study pages
105
113
  */
106
114
  fullWidth?: boolean;
115
+ removeBottomPadding?: boolean;
107
116
  }
108
- declare function RichText({ text, theme, inverse, fullWidth }: RichTextProps): ReactElement;
117
+ declare function RichText({ text, theme, inverse, fullWidth, removeBottomPadding }: RichTextProps): ReactElement;
109
118
 
110
119
  interface AlertBannerProps {
111
120
  theme: ThemeProps;
@@ -139,12 +148,6 @@ interface BreadcrumbsProps {
139
148
  }
140
149
  declare function Breadcrumbs({ theme, inverse, links }: BreadcrumbsProps): ReactElement;
141
150
 
142
- interface HeadingProps {
143
- htmlTag: 'h2' | 'h3' | 'h4';
144
- classNames?: string;
145
- children?: ReactNode;
146
- }
147
-
148
151
  interface CardNewsProps {
149
152
  theme: ThemeProps;
150
153
  inverse?: boolean;
@@ -153,7 +156,7 @@ interface CardNewsProps {
153
156
  title: string;
154
157
  href: string;
155
158
  publishDate: string;
156
- titleTag: HeadingProps['htmlTag'];
159
+ titleTag: HeadingProps$1['htmlTag'];
157
160
  }
158
161
 
159
162
  interface CardFeaturedProps {
@@ -186,7 +189,7 @@ interface CardVideoProps {
186
189
  title: string;
187
190
  youtubeId: string;
188
191
  buttonLabel: string;
189
- titleTag: HeadingProps['htmlTag'];
192
+ titleTag: HeadingProps$1['htmlTag'];
190
193
  }
191
194
 
192
195
  interface CardPromoProps {
@@ -202,7 +205,7 @@ interface CardPromoProps {
202
205
  location?: string;
203
206
  copy?: string;
204
207
  isSingle?: boolean;
205
- titleTag: HeadingProps['htmlTag'];
208
+ titleTag: HeadingProps$1['htmlTag'];
206
209
  cardCopyIsRichText?: boolean;
207
210
  }
208
211
 
@@ -249,7 +252,7 @@ interface CardPromoSignpostProps {
249
252
  buttonPrimary?: TextButtonProps;
250
253
  buttonSecondary?: TextButtonProps;
251
254
  link?: LinkWithArrowProps;
252
- titleTag: HeadingProps['htmlTag'];
255
+ titleTag: HeadingProps$1['htmlTag'];
253
256
  }
254
257
 
255
258
  interface CardPromoVideoProps {
@@ -318,7 +321,7 @@ interface CarouselProps {
318
321
  inverse?: boolean;
319
322
  type: string;
320
323
  title?: string;
321
- cardTitleTag?: HeadingProps['htmlTag'];
324
+ cardTitleTag?: HeadingProps$1['htmlTag'];
322
325
  setCardInverse?: 'dark' | 'light';
323
326
  cards: Omit<CardNewsProps, 'titleTag'>[] | CardFeaturedProps[] | CardVideoProps[] | CardPromoProps[] | CardPromoSignpostProps[] | CardPromoVideoProps[] | CardStaffProps[] | CardRelatedProps[] | CardImageProps[] | CardFeaturedNewsProps[];
324
327
  exploreMore?: string;
@@ -430,12 +433,13 @@ interface CTAComponentProps {
430
433
  primaryCTA?: TextButtonProps;
431
434
  secondaryCTA?: TextButtonProps;
432
435
  link?: LinkWithArrowProps;
436
+ htmlTag?: HeadingProps$1['htmlTag'];
433
437
  /**
434
438
  * The fullWidth version of this component is used for in study pages
435
439
  */
436
440
  fullWidth?: boolean;
437
441
  }
438
- declare function CTAComponent({ theme, inverse, highlight, image, heading, copy, primaryCTA, secondaryCTA, link, fullWidth }: CTAComponentProps): ReactElement;
442
+ declare function CTAComponent({ theme, inverse, highlight, image, heading, copy, primaryCTA, secondaryCTA, link, fullWidth, htmlTag }: CTAComponentProps): ReactElement;
439
443
 
440
444
  interface EmbedWrapperProps {
441
445
  /**
@@ -462,11 +466,11 @@ interface CardFactProps {
462
466
  link?: LinkWithArrowProps;
463
467
  }
464
468
 
465
- interface FactBoxesProps extends HeadingProps$1 {
469
+ interface FactBoxesProps extends HeadingProps {
466
470
  fullWidth?: boolean;
467
471
  cards: CardFactProps[];
468
472
  }
469
- declare function FactBoxes({ theme, inverse, title, description, linkProps, cards, fullWidth }: FactBoxesProps): ReactElement;
473
+ declare function FactBoxes({ theme, inverse, title, description, linkProps, cards, fullWidth, htmlTag }: FactBoxesProps): ReactElement;
470
474
 
471
475
  interface FeaturedContentProps {
472
476
  /**
@@ -823,7 +827,7 @@ interface HeroCoursesProps {
823
827
  theme: ThemeProps;
824
828
  inverse?: boolean;
825
829
  title: string;
826
- titleTag?: HeadingProps['htmlTag'];
830
+ titleTag?: HeadingProps$1['htmlTag'];
827
831
  awardShort: string;
828
832
  links?: Omit<TextButtonProps, 'theme'>[];
829
833
  heroType: 'UG' | 'UG Dubai' | 'PGT Dubai' | 'Other';
@@ -866,19 +870,19 @@ interface HeroCarouselProps {
866
870
  }
867
871
  declare function HeroCarousel({ theme, cards }: HeroCarouselProps): ReactElement | null;
868
872
 
869
- interface ImageBlockProps extends HeadingProps$1 {
873
+ interface ImageBlockProps extends HeadingProps {
870
874
  fullWidth: boolean;
871
875
  makeHeadingFullWidth?: boolean;
872
876
  images?: Omit<CardImageProps, 'theme' | 'inverse'>[];
873
877
  }
874
- declare function ImageBlock({ theme, inverse, title, description, linkProps, fullWidth, makeHeadingFullWidth, images }: ImageBlockProps): ReactElement | null;
878
+ declare function ImageBlock({ theme, inverse, title, description, linkProps, fullWidth, makeHeadingFullWidth, images, htmlTag }: ImageBlockProps): ReactElement | null;
875
879
 
876
- interface ImageCarouselProps extends HeadingProps$1 {
880
+ interface ImageCarouselProps extends HeadingProps {
877
881
  fullWidth?: boolean;
878
882
  widerImage: boolean;
879
883
  images: CardImageProps[];
880
884
  }
881
- declare function ImageCarousel({ theme, inverse, title, description, linkProps, fullWidth, widerImage, images }: ImageCarouselProps): ReactElement;
885
+ declare function ImageCarousel({ theme, inverse, title, description, linkProps, fullWidth, widerImage, images, htmlTag }: ImageCarouselProps): ReactElement;
882
886
 
883
887
  interface InPageNavLinkProps {
884
888
  url: string;
@@ -912,8 +916,10 @@ interface IntroTextProps {
912
916
  inverse?: boolean;
913
917
  fullWidth?: boolean;
914
918
  text: string;
919
+ removeBottomPadding?: boolean;
920
+ removeTopPadding?: boolean;
915
921
  }
916
- declare function IntroText({ text, theme, inverse, fullWidth }: IntroTextProps): ReactElement;
922
+ declare function IntroText({ text, theme, inverse, fullWidth, removeBottomPadding, removeTopPadding }: IntroTextProps): ReactElement;
917
923
 
918
924
  interface MostReadNewsProps {
919
925
  theme: ThemeProps;
@@ -1020,7 +1026,7 @@ interface ListingResultsProps {
1020
1026
  theme: ThemeProps;
1021
1027
  showCategory?: boolean;
1022
1028
  cards: CardProps[];
1023
- headingInfo?: HeadingProps$1;
1029
+ headingInfo?: HeadingProps;
1024
1030
  }
1025
1031
  declare function ListingResults({ theme, showCategory, cards, headingInfo }: ListingResultsProps): ReactElement;
1026
1032
 
@@ -1139,7 +1145,7 @@ interface PromoBlockProps {
1139
1145
  declare function PromoBlockGrid({ theme, inverse, type, title, description, link, cards, imageOrientation, fullWidth }: PromoBlockProps): ReactElement | null;
1140
1146
 
1141
1147
  type LinkProps = Omit<LinkWithArrowProps, 'theme' | 'inverse'>;
1142
- interface QuoteBlockProps extends HeadingProps$1 {
1148
+ interface QuoteBlockProps extends HeadingProps {
1143
1149
  theme: ThemeProps;
1144
1150
  inverse?: boolean;
1145
1151
  title?: string;
@@ -1151,7 +1157,7 @@ interface QuoteBlockProps extends HeadingProps$1 {
1151
1157
  cta?: LinkProps;
1152
1158
  fullWidth?: boolean;
1153
1159
  }
1154
- declare function QuoteBlock({ theme, inverse, title, description, cite, role, quote, quoteeProfileImage, quoteeProfileImageAltText, cta, fullWidth }: QuoteBlockProps): ReactElement;
1160
+ declare function QuoteBlock({ theme, inverse, title, description, cite, role, quote, quoteeProfileImage, quoteeProfileImageAltText, cta, fullWidth, htmlTag }: QuoteBlockProps): ReactElement;
1155
1161
 
1156
1162
  interface RelatedCoursesProps {
1157
1163
  theme: ThemeProps;
@@ -1273,6 +1279,7 @@ interface SignPostProps {
1273
1279
  * The fullWidth version of this component is used for in study pages
1274
1280
  */
1275
1281
  fullWidth?: boolean;
1282
+ htmlTag?: HeadingProps$1['htmlTag'];
1276
1283
  }
1277
1284
  type SignPostItem = {
1278
1285
  title: string;
@@ -1284,7 +1291,7 @@ type SignPostItem = {
1284
1291
  /**
1285
1292
  * Text promo block with a link
1286
1293
  */
1287
- declare function SignPost({ theme, inverse, items, fullWidth }: SignPostProps): ReactElement;
1294
+ declare function SignPost({ theme, inverse, items, fullWidth, htmlTag }: SignPostProps): ReactElement;
1288
1295
 
1289
1296
  interface SingleButtonProps {
1290
1297
  theme: ThemeProps;
@@ -1342,8 +1349,12 @@ interface TabsBlockProps {
1342
1349
  * The fullWidth version of this component is used for in study pages
1343
1350
  */
1344
1351
  fullWidth?: boolean;
1352
+ /**
1353
+ * heading tag options
1354
+ */
1355
+ htmlTag?: HeadingProps['htmlTag'];
1345
1356
  }
1346
- declare function TabsBlock({ theme, inverse, title, description, tabItems, fullWidth }: TabsBlockProps): ReactElement | null;
1357
+ declare function TabsBlock({ theme, inverse, title, description, tabItems, fullWidth, htmlTag }: TabsBlockProps): ReactElement | null;
1347
1358
 
1348
1359
  interface TextWithBackgroundProps {
1349
1360
  /**
@@ -1362,8 +1373,9 @@ interface TextWithBackgroundProps {
1362
1373
  externalLink?: boolean;
1363
1374
  linkStyle?: 'primary' | 'secondary' | 'paragraph-link';
1364
1375
  fullWidth?: boolean;
1376
+ removeBottomPadding?: boolean;
1365
1377
  }
1366
- declare function TextWithBackground({ text, theme, inverse, headingLevel, headingText, url, linkTitle, externalLink, linkStyle, fullWidth }: TextWithBackgroundProps): ReactElement;
1378
+ declare function TextWithBackground({ text, theme, inverse, headingLevel, headingText, url, linkTitle, externalLink, linkStyle, fullWidth, removeBottomPadding }: TextWithBackgroundProps): ReactElement;
1367
1379
 
1368
1380
  interface PillProps {
1369
1381
  /**
@@ -1474,7 +1486,7 @@ interface VideoEmbedProps {
1474
1486
  medium?: string;
1475
1487
  default: string;
1476
1488
  };
1477
- heading?: Omit<HeadingProps$1, 'theme' | 'inverse'>;
1489
+ heading?: Omit<HeadingProps, 'theme' | 'inverse'>;
1478
1490
  transcript?: string;
1479
1491
  fullWidth?: boolean;
1480
1492
  videoCaption?: string;