astrogators-shared-ui 0.3.1 → 0.4.1
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.
- package/dist/components/display/Card.d.ts +5 -2
- package/dist/index.js +425 -412
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -4,14 +4,17 @@ export interface CardProps {
|
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
variant?: 'default' | 'elevated' | 'outline';
|
|
6
6
|
chamfered?: boolean;
|
|
7
|
-
chamferSize?: 'sm' | 'md' | 'lg';
|
|
7
|
+
chamferSize?: 'sm' | 'md' | 'lg' | 'asymmetric';
|
|
8
8
|
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
9
9
|
hoverable?: boolean;
|
|
10
|
+
showDiagonalBorders?: boolean;
|
|
11
|
+
diagonalBorderColor?: string;
|
|
10
12
|
className?: string;
|
|
11
13
|
onClick?: () => void;
|
|
14
|
+
style?: React.CSSProperties;
|
|
12
15
|
}
|
|
13
16
|
/**
|
|
14
17
|
* Card component
|
|
15
|
-
* Container for content with optional chamfered corners
|
|
18
|
+
* Container for content with optional chamfered corners and diagonal borders
|
|
16
19
|
*/
|
|
17
20
|
export declare const Card: React.FC<CardProps>;
|