@devopness/ui-react 2.158.0 → 2.159.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.
@@ -1,5 +1,6 @@
1
1
  import { Color } from '../../../colors';
2
2
  import { IconProps } from '../../Primitives/Icon';
3
+ import { LinkProps } from '../../Primitives/Link';
3
4
  import { TooltipProps } from '../../Primitives/Tooltip';
4
5
  type CardProps = React.PropsWithChildren<{
5
6
  /**
@@ -30,7 +31,7 @@ type CardProps = React.PropsWithChildren<{
30
31
  /**
31
32
  * URL to navigate to when footer item is clicked
32
33
  */
33
- url?: string;
34
+ url?: LinkProps['to'] | Omit<LinkProps, 'style'>;
34
35
  }[];
35
36
  /**
36
37
  * Props for the header
@@ -66,7 +67,7 @@ type CardProps = React.PropsWithChildren<{
66
67
  /**
67
68
  * URL to navigate to when card is clicked
68
69
  */
69
- url?: string;
70
+ url?: LinkProps['to'] | Omit<LinkProps, 'style'>;
70
71
  }>;
71
72
  /**
72
73
  * A flexible and customizable card component for displaying content