@up42/up-components 1.8.5 → 1.9.0

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.
@@ -13,8 +13,9 @@ export declare type InfoCardProps = {
13
13
  headerAction?: React.ReactNode;
14
14
  /**
15
15
  * The Card's title typography variant.
16
+ * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
16
17
  */
17
- titleVariant?: 'h2' | 'h3' | 'overline';
18
+ titleVariant?: 'h2' | 'h3' | 'overline' | 'headingSmall' | 'headingXSmall' | 'note';
18
19
  /**
19
20
  * Choose whether to hide divider or not.
20
21
  */
@@ -36,8 +37,9 @@ export declare const InfoCardBase: ({ title, titleVariant, subtitle, children, a
36
37
  headerAction?: React.ReactNode;
37
38
  /**
38
39
  * The Card's title typography variant.
40
+ * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
39
41
  */
40
- titleVariant?: "h2" | "h3" | "overline" | undefined;
42
+ titleVariant?: "h2" | "h3" | "note" | "overline" | "headingSmall" | "headingXSmall" | undefined;
41
43
  /**
42
44
  * Choose whether to hide divider or not.
43
45
  */
@@ -61,8 +63,9 @@ export declare const InfoCard: React.ForwardRefExoticComponent<Pick<{
61
63
  headerAction?: React.ReactNode;
62
64
  /**
63
65
  * The Card's title typography variant.
66
+ * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
64
67
  */
65
- titleVariant?: "h2" | "h3" | "overline" | undefined;
68
+ titleVariant?: "h2" | "h3" | "note" | "overline" | "headingSmall" | "headingXSmall" | undefined;
66
69
  /**
67
70
  * Choose whether to hide divider or not.
68
71
  */
package/dist/index.d.ts CHANGED
@@ -436,8 +436,9 @@ declare type InfoCardProps = {
436
436
  headerAction?: React__default.ReactNode;
437
437
  /**
438
438
  * The Card's title typography variant.
439
+ * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
439
440
  */
440
- titleVariant?: 'h2' | 'h3' | 'overline';
441
+ titleVariant?: 'h2' | 'h3' | 'overline' | 'headingSmall' | 'headingXSmall' | 'note';
441
442
  /**
442
443
  * Choose whether to hide divider or not.
443
444
  */
@@ -459,8 +460,9 @@ declare const InfoCard: React__default.ForwardRefExoticComponent<Pick<{
459
460
  headerAction?: React__default.ReactNode;
460
461
  /**
461
462
  * The Card's title typography variant.
463
+ * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
462
464
  */
463
- titleVariant?: "h2" | "h3" | "overline" | undefined;
465
+ titleVariant?: "h2" | "h3" | "note" | "overline" | "headingSmall" | "headingXSmall" | undefined;
464
466
  /**
465
467
  * Choose whether to hide divider or not.
466
468
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "1.8.5",
3
+ "version": "1.9.0",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",