@uob-web-and-digital/component-library 1.0.1 → 1.0.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.
@@ -59,8 +59,12 @@ export interface PromoBlockProps {
59
59
  /**
60
60
  * Prop used to enable/disable filters
61
61
  */
62
+ fullWidthTitle?: boolean;
63
+ /**
64
+ * Prop used to enable full width title and description
65
+ */
62
66
  showFilters?: boolean;
63
67
  firstFilterSelect?: FormSelectProps;
64
68
  secondFilterSelect?: FormSelectProps;
65
69
  }
66
- export default function PromoBlock({ theme, inverse, type, title, description, link, cards, imageOrientation, titleTag, cardTitleTag, cardCopyIsRichText, fullWidth, showFilters, firstFilterSelect, secondFilterSelect }: PromoBlockProps): ReactElement | null;
70
+ export default function PromoBlock({ theme, inverse, type, title, description, link, cards, imageOrientation, titleTag, cardTitleTag, cardCopyIsRichText, fullWidth, fullWidthTitle, showFilters, firstFilterSelect, secondFilterSelect }: PromoBlockProps): ReactElement | null;
@@ -33,3 +33,4 @@ export declare const PromoBlockVideoThreeCardsOnly: Story;
33
33
  export declare const PromoBlockVideoFourCardsPlus: Story;
34
34
  export declare const PromoBlockFilters: Story;
35
35
  export declare const PromoBlockProfileThreeCards: Story;
36
+ export declare const PromoBlockStoryCoursePageCardOnly: Story;
package/dist/index.d.ts CHANGED
@@ -1229,11 +1229,15 @@ interface PromoBlockProps$1 {
1229
1229
  /**
1230
1230
  * Prop used to enable/disable filters
1231
1231
  */
1232
+ fullWidthTitle?: boolean;
1233
+ /**
1234
+ * Prop used to enable full width title and description
1235
+ */
1232
1236
  showFilters?: boolean;
1233
1237
  firstFilterSelect?: FormSelectProps;
1234
1238
  secondFilterSelect?: FormSelectProps;
1235
1239
  }
1236
- declare function PromoBlock({ theme, inverse, type, title, description, link, cards, imageOrientation, titleTag, cardTitleTag, cardCopyIsRichText, fullWidth, showFilters, firstFilterSelect, secondFilterSelect }: PromoBlockProps$1): ReactElement | null;
1240
+ declare function PromoBlock({ theme, inverse, type, title, description, link, cards, imageOrientation, titleTag, cardTitleTag, cardCopyIsRichText, fullWidth, fullWidthTitle, showFilters, firstFilterSelect, secondFilterSelect }: PromoBlockProps$1): ReactElement | null;
1237
1241
 
1238
1242
  interface PromoBlockProps {
1239
1243
  /**