@up42/up-components 3.0.2 → 3.0.3

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.
@@ -7,6 +7,10 @@ export type ButtonProps = MUIGlobalOmit<Omit<MUIButtonProps, 'size' | 'color'>,
7
7
  color?: 'critical' | MUIButtonProps['color'];
8
8
  component?: MUIButtonProps['LinkComponent'];
9
9
  to?: MUIButtonProps['href'];
10
+ /**
11
+ * Determines whether to open the link in the same tab for external links.
12
+ */
13
+ openInSameTab?: boolean;
10
14
  }>;
11
15
  /**
12
16
  * ### Routing Libraries
@@ -30,4 +34,8 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<{
30
34
  color?: 'critical' | MUIButtonProps['color'];
31
35
  component?: MUIButtonProps['LinkComponent'];
32
36
  to?: MUIButtonProps['href'];
37
+ /**
38
+ * Determines whether to open the link in the same tab for external links.
39
+ */
40
+ openInSameTab?: boolean | undefined;
33
41
  } & Omit<Omit<MUIButtonProps<"button", {}>, "color" | "size">, "classes" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple">, "ref"> & React.RefAttributes<unknown>>;