@uob-web-and-digital/component-library 0.0.93 → 0.0.95

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.
@@ -21,6 +21,8 @@ export interface TextButtonProps {
21
21
  * Whether the button has a background color or is hollow
22
22
  */
23
23
  hollow?: boolean;
24
+ /** Whether the button is max-width:fit-content or full-width */
25
+ buttonModifier?: boolean;
24
26
  /**
25
27
  * Whether the button is used as a submit button in a form
26
28
  */
@@ -2,3 +2,4 @@ import { AccordionProps } from './Accordion';
2
2
  export declare const accordionProps: AccordionProps;
3
3
  export declare const accordionPropsEditorNotes: AccordionProps;
4
4
  export declare const accordionPropsModules: AccordionProps;
5
+ export declare const accordionPropsScholarshipsAward: AccordionProps;
@@ -2,3 +2,4 @@ import { GenericDetailSectionProps } from './GenericDetailSection';
2
2
  export declare const genericDetailSectionPropsAccommodation: GenericDetailSectionProps;
3
3
  export declare const genericDetailSectionPropsEvents: GenericDetailSectionProps;
4
4
  export declare const genericDetailSectionPropsContact: GenericDetailSectionProps;
5
+ export declare const genericDetailSectionPropsScholarshipAward: GenericDetailSectionProps;
@@ -4,3 +4,4 @@ export declare const rectangleImageHeroProps: HeroProps;
4
4
  export declare const linesOfIntentImageHeroProps: HeroProps;
5
5
  export declare const newsHeroProps: HeroProps;
6
6
  export declare const accommodationHeroProps: HeroProps;
7
+ export declare const schorlarshipsAwardPage: HeroProps;
@@ -8,7 +8,9 @@ export interface ModalCTAProps {
8
8
  inverse?: boolean;
9
9
  description?: string;
10
10
  buttonLabel: string;
11
+ /** Whether the button is max-width:fit-content or full-width */
12
+ buttonModifier?: boolean;
11
13
  modalChildren: ReactNode;
12
14
  htmlTag?: HeadingProps['htmlTag'];
13
15
  }
14
- export default function ModalCTA({ theme, heading, inverse, description, buttonLabel, modalChildren, htmlTag }: ModalCTAProps): ReactElement;
16
+ export default function ModalCTA({ theme, heading, inverse, description, buttonLabel, buttonModifier, modalChildren, htmlTag }: ModalCTAProps): ReactElement;
@@ -9,3 +9,4 @@ export default meta;
9
9
  type Story = StoryObj<typeof meta>;
10
10
  export declare const Dark: Story;
11
11
  export declare const Light: Story;
12
+ export declare const ModifiedButton: Story;
@@ -4,3 +4,4 @@ export declare const promoBlockPropsAccommodation: PromoBlockProps;
4
4
  export declare const promoBlockSignpostProps: PromoBlockProps;
5
5
  export declare const promoBlockVideoProps: PromoBlockProps;
6
6
  export declare const promoBlockForCoursePage: PromoBlockProps;
7
+ export declare const promoBlockForScholarshipAward: PromoBlockProps;
@@ -3,3 +3,4 @@ export declare const quoteBlockProps: QuoteBlockProps;
3
3
  export declare const quoteWithCite: QuoteBlockProps;
4
4
  export declare const quoteOnly: QuoteBlockProps;
5
5
  export declare const quoteForCouresPage: QuoteBlockProps;
6
+ export declare const quoteWithCiteForScholarshipsAwardPage: QuoteBlockProps;
@@ -9,3 +9,5 @@ export declare const richTextCourseDeliveryAfterTopics: RichTextProps;
9
9
  export declare const richTextApplicationProcess: RichTextProps;
10
10
  export declare const richTextApplicationProcessAfter: RichTextProps;
11
11
  export declare const richTextResponsiveTableHorizontalScroll: RichTextProps;
12
+ export declare const richTextScholarshipsAward: RichTextProps;
13
+ export declare const richTextScholarshipsAwardApply: RichTextProps;
package/dist/index.d.ts CHANGED
@@ -229,6 +229,8 @@ interface TextButtonProps {
229
229
  * Whether the button has a background color or is hollow
230
230
  */
231
231
  hollow?: boolean;
232
+ /** Whether the button is max-width:fit-content or full-width */
233
+ buttonModifier?: boolean;
232
234
  /**
233
235
  * Whether the button is used as a submit button in a form
234
236
  */
@@ -1586,10 +1588,12 @@ interface ModalCTAProps {
1586
1588
  inverse?: boolean;
1587
1589
  description?: string;
1588
1590
  buttonLabel: string;
1591
+ /** Whether the button is max-width:fit-content or full-width */
1592
+ buttonModifier?: boolean;
1589
1593
  modalChildren: ReactNode;
1590
1594
  htmlTag?: HeadingProps$1['htmlTag'];
1591
1595
  }
1592
- declare function ModalCTA({ theme, heading, inverse, description, buttonLabel, modalChildren, htmlTag }: ModalCTAProps): ReactElement;
1596
+ declare function ModalCTA({ theme, heading, inverse, description, buttonLabel, buttonModifier, modalChildren, htmlTag }: ModalCTAProps): ReactElement;
1593
1597
 
1594
1598
  interface LocationSectionProps {
1595
1599
  theme: ThemeProps;