@up42/up-components 1.8.4 → 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
  */
@@ -82,7 +82,7 @@ export { default as Balance } from './balance-scale.svg';
82
82
  export { default as Brightness1 } from './brightness-dot-circle-filled.svg';
83
83
  export { default as CampaignOutlined } from './megaphone-campaign-announcement.svg';
84
84
  export { default as ContactSupportOutlined } from './question-contact-support-bubble.svg';
85
- export { default as ContentCopy } from './copy.svg';
85
+ export { default as ContentCopy } from '@mui/icons-material/ContentCopy';
86
86
  export { default as ContentCut } from './scissors-cut.svg';
87
87
  export { default as ContentPaste } from './copy-paste.svg';
88
88
  export { default as InfoOutlined } from './information-circle.svg';
package/dist/index.d.ts CHANGED
@@ -13,6 +13,7 @@ import { TypographyProps as TypographyProps$1 } from '@mui/material/Typography';
13
13
  import * as _mui_system from '@mui/system';
14
14
  import { DatePickerProps } from '@mui/x-date-pickers';
15
15
  import dayjs, { Dayjs } from 'dayjs';
16
+ import ContentCopy from '@mui/icons-material/ContentCopy';
16
17
  import { TableProps as TableProps$1 } from '@mui/material/Table';
17
18
  import { TableBodyProps as TableBodyProps$1 } from '@mui/material/TableBody';
18
19
  import { TableCellProps as TableCellProps$1 } from '@mui/material/TableCell';
@@ -435,8 +436,9 @@ declare type InfoCardProps = {
435
436
  headerAction?: React__default.ReactNode;
436
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
440
  */
439
- titleVariant?: 'h2' | 'h3' | 'overline';
441
+ titleVariant?: 'h2' | 'h3' | 'overline' | 'headingSmall' | 'headingXSmall' | 'note';
440
442
  /**
441
443
  * Choose whether to hide divider or not.
442
444
  */
@@ -458,8 +460,9 @@ declare const InfoCard: React__default.ForwardRefExoticComponent<Pick<{
458
460
  headerAction?: React__default.ReactNode;
459
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
464
  */
462
- titleVariant?: "h2" | "h3" | "overline" | undefined;
465
+ titleVariant?: "h2" | "h3" | "note" | "overline" | "headingSmall" | "headingXSmall" | undefined;
463
466
  /**
464
467
  * Choose whether to hide divider or not.
465
468
  */
@@ -2413,6 +2416,7 @@ var SvgOpenEyeVisibility = function SvgOpenEyeVisibility(props) {
2413
2416
 
2414
2417
  // Custom SVG
2415
2418
 
2419
+ declare const icons_ContentCopy: typeof ContentCopy;
2416
2420
  declare namespace icons {
2417
2421
  export {
2418
2422
  SvgAccessTimeClock as AccessTime,
@@ -2446,7 +2450,7 @@ declare namespace icons {
2446
2450
  SvgCloud as Cloud,
2447
2451
  SvgCoin as Coin,
2448
2452
  SvgQuestionContactSupportBubble as ContactSupportOutlined,
2449
- SvgCopy as ContentCopy,
2453
+ icons_ContentCopy as ContentCopy,
2450
2454
  SvgScissorsCut as ContentCut,
2451
2455
  SvgCopyPaste as ContentPaste,
2452
2456
  SvgCopy as Copy,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "1.8.4",
3
+ "version": "1.9.0",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",