@uob-web-and-digital/component-library 2.20.18 → 2.20.19

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.
@@ -22,3 +22,4 @@ export declare const Default: Story;
22
22
  export declare const DarkBackground: Story;
23
23
  export declare const WithoutComponentHeading: Story;
24
24
  export declare const FewPoints: Story;
25
+ export declare const OptionalLabelAndDescription: Story;
@@ -9,17 +9,17 @@ export interface TimelinePointLink {
9
9
  }
10
10
  export interface TimelinePoint {
11
11
  /**
12
- * Date or short label shown in the gold badge (required, max 20 characters)
12
+ * Optional date or short label shown in the gold badge (max 20 characters)
13
13
  */
14
- label: string;
14
+ label?: string;
15
15
  /**
16
16
  * Optional point heading (max 30 characters)
17
17
  */
18
18
  heading?: string;
19
19
  /**
20
- * Description text (required, max 100 characters)
20
+ * Optional description text (max 100 characters)
21
21
  */
22
- description: string;
22
+ description?: string;
23
23
  /**
24
24
  * Optional link rendered with a trailing arrow (max 25 characters)
25
25
  */