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