@phillips/seldon 1.185.1 → 1.187.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.
|
@@ -4,7 +4,7 @@ import { SaleCardVariants } from './types';
|
|
|
4
4
|
/** * Props for the SaleCard component. */
|
|
5
5
|
export interface SaleCardProps extends ComponentProps<'div'> {
|
|
6
6
|
/** * The source URL of the image to be displayed. */
|
|
7
|
-
imageSrc
|
|
7
|
+
imageSrc?: string;
|
|
8
8
|
/** * The alt text for the image. Defaults to "Auction Image" if not provided. */
|
|
9
9
|
imageAlt?: string;
|
|
10
10
|
/** * The auctionType of sale (e.g. "Live Auction", "Online Only", etc.). */
|
|
@@ -22,3 +22,4 @@ export declare const SaleCardWithSecondaryCTA: () => import("react/jsx-runtime")
|
|
|
22
22
|
export declare const SaleCardWithDownloadLink: () => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export declare const SaleCardNoCTA: () => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export declare const SaleCardWithLink: () => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare const SaleCardNoImage: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,13 +11,17 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
&__image {
|
|
14
|
+
align-items: center;
|
|
14
15
|
aspect-ratio: 91/51;
|
|
15
16
|
border-radius: 4px;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex: 0 0 30%;
|
|
19
|
+
justify-content: center;
|
|
16
20
|
min-width: 100%;
|
|
17
21
|
|
|
18
22
|
@include media($breakpoint-md) {
|
|
19
23
|
aspect-ratio: 107/60;
|
|
20
|
-
min-width:
|
|
24
|
+
min-width: auto;
|
|
21
25
|
}
|
|
22
26
|
|
|
23
27
|
img {
|