@phillips/seldon 1.157.0 → 1.158.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.
@@ -0,0 +1,48 @@
1
+ import { ComponentProps } from 'react';
2
+ import { SaleCardVariants } from './types';
3
+ /** * Props for the SaleCard component. */
4
+ export interface SaleCardProps extends ComponentProps<'div'> {
5
+ /** * The source URL of the image to be displayed. */
6
+ imageSrc: string;
7
+ /** * The alt text for the image. Defaults to "Auction Image" if not provided. */
8
+ imageAlt?: string;
9
+ /** * The auctionType of sale (e.g. "Live Auction", "Online Only", etc.). */
10
+ auctionType: string;
11
+ /** * The titleText of the sale. */
12
+ titleText: string;
13
+ /** * The date of the sale. */
14
+ date: string;
15
+ /** * The location of the sale. */
16
+ location: string;
17
+ /** * The text to be displayed on the primary button. If not provided, the button will not be rendered. */
18
+ primaryButtonText?: string;
19
+ /** * The callback function to be executed when the primary button is clicked. Required if primaryButtonText is provided. */
20
+ primaryButtonOnClick?: () => void;
21
+ /** * The text to be displayed on the secondary button. If not provided, the button will not be rendered. */
22
+ secondaryButtonText?: string;
23
+ /** * The URL or callback function for the secondary button. Required if secondaryButtonText is provided. */
24
+ secondaryButtonHref?: string;
25
+ secondaryButtonOnClick?: () => void;
26
+ /** * The text to be displayed as a badge. */
27
+ badgeText?: string;
28
+ /** * The text to be displayed for the modal link. */
29
+ modalButtonText?: string;
30
+ /** * The callback function to be executed when the modal link is clicked. */
31
+ modalButtonOnClick?: () => void;
32
+ /** * The variant of the SaleCard component.
33
+ * - 'default': The default style of the SaleCard component.
34
+ * - 'relatedSaleTile': A variant with a smaller image size and horizontal layout on mobile devices.
35
+ */
36
+ variant?: SaleCardVariants;
37
+ }
38
+ /**
39
+ * ## Overview
40
+ *
41
+ * Overview of this widget
42
+ *
43
+ * [Figma Link](https://www.figma.com/design/hMu9IWH5N3KamJy8tLFdyV/Design-System--Responsive-Web?node-id=25028-2188&m=dev)
44
+ *
45
+ * [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-salecard--overview)
46
+ */
47
+ declare const SaleCard: import('react').ForwardRefExoticComponent<Omit<SaleCardProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
48
+ export default SaleCard;
@@ -0,0 +1,85 @@
1
+ import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as E } from "react";
3
+ import { getCommonProps as I } from "../../utils/index.js";
4
+ import N from "../../node_modules/classnames/index.js";
5
+ import { TextVariants as i } from "../Text/types.js";
6
+ import e from "../Text/Text.js";
7
+ import M from "../SeldonImage/SeldonImage.js";
8
+ import n from "../Button/Button.js";
9
+ import { ButtonVariants as m } from "../Button/types.js";
10
+ import { SSRMediaQuery as R } from "../../providers/SeldonProvider/utils.js";
11
+ import { SaleCardVariants as q } from "./types.js";
12
+ const w = E(
13
+ ({
14
+ className: $,
15
+ imageSrc: t,
16
+ imageAlt: g = "Auction Image",
17
+ auctionType: b,
18
+ titleText: C,
19
+ date: S,
20
+ location: k,
21
+ primaryButtonText: o,
22
+ primaryButtonOnClick: c,
23
+ secondaryButtonText: d,
24
+ secondaryButtonHref: l,
25
+ secondaryButtonOnClick: u,
26
+ badgeText: _,
27
+ modalButtonOnClick: h,
28
+ modalButtonText: p,
29
+ variant: f = q.DEFAULT,
30
+ ...v
31
+ }, P) => {
32
+ const { className: a, ...V } = I(v, "SaleCard"), j = N(a, $, {
33
+ [`${a}--${f}`]: f
34
+ }), A = { ...V, ...v };
35
+ return /* @__PURE__ */ s("div", { ...A, className: j, ref: P, children: [
36
+ t ? /* @__PURE__ */ r(M, { src: t, alt: g, className: `${a}__image` }) : null,
37
+ /* @__PURE__ */ s("div", { className: `${a}__details`, children: [
38
+ /* @__PURE__ */ r(e, { variant: i.badge, children: b }),
39
+ /* @__PURE__ */ r(e, { variant: i.title2, children: C }),
40
+ _ && /* @__PURE__ */ r(e, { variant: i.badge, className: `${a}__badge`, children: _ }),
41
+ /* @__PURE__ */ s("div", { className: `${a}__info`, children: [
42
+ /* @__PURE__ */ r(e, { variant: i.string2, children: k }),
43
+ /* @__PURE__ */ r(e, { variant: i.string2, children: S }),
44
+ p && h && /* @__PURE__ */ r("div", { className: `${a}__modal-link`, children: /* @__PURE__ */ r(
45
+ n,
46
+ {
47
+ onClick: h,
48
+ variant: m.tertiary,
49
+ className: `${a}__modal-link-button`,
50
+ children: p
51
+ }
52
+ ) })
53
+ ] })
54
+ ] }),
55
+ /* @__PURE__ */ r(R.Media, { greaterThanOrEqual: "md", children: /* @__PURE__ */ s("div", { className: `${a}__cta`, children: [
56
+ o && c && /* @__PURE__ */ r(
57
+ n,
58
+ {
59
+ variant: m.primary,
60
+ onClick: c,
61
+ className: `${a}__cta-button`,
62
+ children: o
63
+ }
64
+ ),
65
+ d && /* @__PURE__ */ r(
66
+ n,
67
+ {
68
+ variant: l ? m.tertiary : m.secondary,
69
+ href: l,
70
+ target: l ? "_blank" : void 0,
71
+ onClick: u,
72
+ className: N(`${a}__cta-button`, {
73
+ [`${a}__pdf-link`]: l
74
+ }),
75
+ children: d
76
+ }
77
+ )
78
+ ] }) })
79
+ ] });
80
+ }
81
+ );
82
+ w.displayName = "SaleCard";
83
+ export {
84
+ w as default
85
+ };
@@ -0,0 +1,23 @@
1
+ import { SaleCardProps } from './SaleCard';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').ForwardRefExoticComponent<Omit<SaleCardProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
5
+ };
6
+ export default meta;
7
+ export declare const Playground: {
8
+ (props: SaleCardProps): import("react/jsx-runtime").JSX.Element;
9
+ args: {
10
+ imageSrc: string;
11
+ auctionType: string;
12
+ titleText: string;
13
+ date: string;
14
+ location: string;
15
+ };
16
+ argTypes: {};
17
+ };
18
+ export declare const RelatedSaleTile: () => import("react/jsx-runtime").JSX.Element;
19
+ export declare const WithBothCTAButtons: () => import("react/jsx-runtime").JSX.Element;
20
+ export declare const WithOnlyPrimaryCTAButton: () => import("react/jsx-runtime").JSX.Element;
21
+ export declare const WithOnlySecondaryCTAButton: () => import("react/jsx-runtime").JSX.Element;
22
+ export declare const WithDownloadPdfLink: () => import("react/jsx-runtime").JSX.Element;
23
+ export declare const WithoutCTAButtons: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { default as SaleCard, type SaleCardProps } from './SaleCard';
@@ -0,0 +1,4 @@
1
+ export declare enum SaleCardVariants {
2
+ DEFAULT = "default",
3
+ RELATED_SALE_TILE = "relatedSaleTile"
4
+ }
@@ -0,0 +1,4 @@
1
+ var E = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.RELATED_SALE_TILE = "relatedSaleTile", e))(E || {});
2
+ export {
3
+ E as SaleCardVariants
4
+ };
package/dist/index.d.ts CHANGED
@@ -70,7 +70,7 @@ export { default as Header, type HeaderProps } from './site-furniture/Header/Hea
70
70
  export * from './types/commonTypes';
71
71
  export * from './components/AddToCalendar';
72
72
  export * from './components/Article';
73
- export * from './components/AuctionTile';
73
+ export * from './components/SaleCard';
74
74
  export * from './components/Countdown';
75
75
  export * from './components/Countdown/types';
76
76
  export * from './components/Divider';
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import { PaddingTokens as a, SpacingTokens as f, defaultYear as s, emailValidation as l, encodeURLSearchParams as d, findChildrenExcludingTypes as m, findChildrenOfType as p, focusElementById as u, generatePaddingClassName as i, getCommonProps as x, noOp as n, px as g, useNormalizedInputProps as c } from "./utils/index.js";
1
+ import { PaddingTokens as a, SpacingTokens as f, defaultYear as s, emailValidation as l, encodeURLSearchParams as d, findChildrenExcludingTypes as m, findChildrenOfType as p, focusElementById as u, generatePaddingClassName as x, getCommonProps as i, noOp as n, px as g, useNormalizedInputProps as c } from "./utils/index.js";
2
2
  import { default as C } from "./pages/Page.js";
3
- import { SSRMediaQuery as P, ssrMediaQueryStyle as A } from "./providers/SeldonProvider/utils.js";
4
- import { usePendingState as L } from "./utils/hooks.js";
3
+ import { SSRMediaQuery as P, ssrMediaQueryStyle as B } from "./providers/SeldonProvider/utils.js";
4
+ import { usePendingState as A } from "./utils/hooks.js";
5
5
  import { AuctionStatus as I, LotStatus as V, SupportedLanguages as h } from "./types/commonTypes.js";
6
6
  import { default as v } from "./components/Button/Button.js";
7
7
  import { ButtonVariants as y } from "./components/Button/types.js";
@@ -23,12 +23,12 @@ import { default as ae } from "./components/Collapsible/CollapsibleContent.js";
23
23
  import { default as se } from "./components/Collapsible/CollapsibleTrigger.js";
24
24
  import { default as de } from "./components/ContentPeek/ContentPeek.js";
25
25
  import { HeightUnits as pe } from "./components/ContentPeek/utils.js";
26
- import { default as ie } from "./components/Detail/Detail.js";
26
+ import { default as xe } from "./components/Detail/Detail.js";
27
27
  import { default as ne } from "./components/Drawer/Drawer.js";
28
28
  import { default as ce } from "./components/Dropdown/Dropdown.js";
29
29
  import { default as Ce } from "./components/ErrorBoundary/ErrorBoundary.js";
30
30
  import { Grid as Pe } from "./components/Grid/Grid.js";
31
- import { default as Be } from "./components/GridItem/GridItem.js";
31
+ import { default as Le } from "./components/GridItem/GridItem.js";
32
32
  import { GridItemAlign as be } from "./components/GridItem/types.js";
33
33
  import { default as Ve } from "./components/Input/Input.js";
34
34
  import { default as ke } from "./components/Link/Link.js";
@@ -50,11 +50,11 @@ import { SelectVariants as at } from "./components/Select/types.js";
50
50
  import { default as st } from "./components/SplitPanel/SplitPanel.js";
51
51
  import { default as dt } from "./components/Tabs/TabsContainer.js";
52
52
  import { default as pt } from "./components/Tabs/TabsContent.js";
53
- import { Tag as it, default as xt } from "./components/Tags/Tags.js";
53
+ import { Tag as xt, default as it } from "./components/Tags/Tags.js";
54
54
  import { TextAlignments as gt, TextVariants as ct } from "./components/Text/types.js";
55
55
  import { default as Ct } from "./components/Text/Text.js";
56
56
  import { TextSymbolVariants as Pt } from "./components/TextSymbol/types.js";
57
- import { default as Bt } from "./components/TextSymbol/TextSymbol.js";
57
+ import { default as Lt } from "./components/TextSymbol/TextSymbol.js";
58
58
  import { default as bt } from "./components/Video/Video.js";
59
59
  import { default as Vt } from "./patterns/DetailList/DetailList.js";
60
60
  import { DetailListAlignment as kt } from "./patterns/DetailList/types.js";
@@ -76,12 +76,12 @@ import { default as ao } from "./components/PhoneNumberPicker/PhoneNumberPicker.
76
76
  import { default as so } from "./components/Loader/Loader.js";
77
77
  import { default as mo } from "./components/PageContentWrapper/PageContentWrapper.js";
78
78
  import { default as uo } from "./site-furniture/Footer/Footer.js";
79
- import { default as xo } from "./site-furniture/Header/Header.js";
79
+ import { default as io } from "./site-furniture/Header/Header.js";
80
80
  import { default as go } from "./components/AddToCalendar/AddToCalendar.js";
81
81
  import { default as So } from "./components/Article/Article.js";
82
- import { default as To } from "./components/AuctionTile/AuctionTile.js";
83
- import { default as Ao } from "./components/Countdown/Countdown.js";
84
- import { CountdownVariants as Lo } from "./components/Countdown/types.js";
82
+ import { default as To } from "./components/SaleCard/SaleCard.js";
83
+ import { default as Bo } from "./components/Countdown/Countdown.js";
84
+ import { CountdownVariants as Ao } from "./components/Countdown/types.js";
85
85
  import { default as Io } from "./components/Divider/Divider.js";
86
86
  import { default as ho } from "./components/FavoritingTileButton/FavoritingTileButton.js";
87
87
  import { default as vo } from "./components/Filter/Filter.js";
@@ -107,7 +107,6 @@ export {
107
107
  go as AddToCalendar,
108
108
  So as Article,
109
109
  I as AuctionStatus,
110
- To as AuctionTile,
111
110
  Yt as AuthState,
112
111
  Jo as BidMessage,
113
112
  Xo as BidMessageVariants,
@@ -127,9 +126,9 @@ export {
127
126
  oo as ComboBox,
128
127
  de as ContentPeek,
129
128
  pe as ContentPeekHeightUnits,
130
- Ao as Countdown,
131
- Lo as CountdownVariants,
132
- ie as Detail,
129
+ Bo as Countdown,
130
+ Ao as CountdownVariants,
131
+ xe as Detail,
133
132
  Vt as DetailList,
134
133
  kt as DetailListAlignment,
135
134
  Io as Divider,
@@ -144,9 +143,9 @@ export {
144
143
  er as FilterMenu,
145
144
  uo as Footer,
146
145
  Pe as Grid,
147
- Be as GridItem,
146
+ Le as GridItem,
148
147
  be as GridItemAlign,
149
- xo as Header,
148
+ io as Header,
150
149
  Ht as HeroBanner,
151
150
  z as Icon,
152
151
  D as IconButton,
@@ -173,6 +172,7 @@ export {
173
172
  qe as PinchZoom,
174
173
  Ke as Row,
175
174
  P as SSRMediaQuery,
175
+ To as SaleCard,
176
176
  Nt as SaleHeaderBanner,
177
177
  Ut as SaleHeaderBrowseAuctions,
178
178
  _e as Search,
@@ -189,13 +189,13 @@ export {
189
189
  h as SupportedLanguages,
190
190
  dt as TabsContainer,
191
191
  pt as TabsContent,
192
- it as Tag,
193
- xt as TagsList,
192
+ xt as Tag,
193
+ it as TagsList,
194
194
  Ct as Text,
195
195
  gt as TextAlignments,
196
196
  Eo as TextArea,
197
197
  Pt as TextSymbolVariants,
198
- Bt as TextSymbols,
198
+ Lt as TextSymbols,
199
199
  ct as TextVariants,
200
200
  Go as Toast,
201
201
  Ro as ToastProvider,
@@ -208,12 +208,12 @@ export {
208
208
  m as findChildrenExcludingTypes,
209
209
  p as findChildrenOfType,
210
210
  u as focusElementById,
211
- i as generatePaddingClassName,
212
- x as getCommonProps,
211
+ x as generatePaddingClassName,
212
+ i as getCommonProps,
213
213
  n as noOp,
214
214
  g as px,
215
- A as ssrMediaQueryStyle,
215
+ B as ssrMediaQueryStyle,
216
216
  c as useNormalizedInputProps,
217
- L as usePendingState,
217
+ A as usePendingState,
218
218
  jo as useToast
219
219
  };
@@ -29,6 +29,7 @@ $error-pink: rgba(255, 229, 229, 90%);
29
29
  $warn-yellow: #d6d141;
30
30
  $post-sale-pink: #ff0086;
31
31
  $cta-blue: #4a90e2;
32
+ $badge-blue: #0065fc;
32
33
 
33
34
  // AM color palette
34
35
  $widget-blue: #4a90e2;
@@ -29,6 +29,7 @@ $error-pink: rgba(255, 229, 229, 90%);
29
29
  $warn-yellow: #d6d141;
30
30
  $post-sale-pink: #ff0086;
31
31
  $cta-blue: #4a90e2;
32
+ $badge-blue: #0065fc;
32
33
 
33
34
  // AM color palette
34
35
  $widget-blue: #4a90e2;
@@ -73,4 +73,4 @@
73
73
  @use 'components/Divider/divider';
74
74
  @use 'components/TextArea/textArea';
75
75
  @use 'components/AddToCalendar/addToCalendar';
76
- @use 'components/AuctionTile/auctionTile';
76
+ @use 'components/SaleCard/saleCard';
@@ -0,0 +1,120 @@
1
+ @use '../../allPartials' as *;
2
+
3
+ .#{$px}-sale-card {
4
+ align-items: center;
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: $spacing-sm;
8
+
9
+ @include media($breakpoint-md) {
10
+ flex-direction: row;
11
+ gap: $spacing-md;
12
+ }
13
+
14
+ &__image {
15
+ aspect-ratio: 91/51;
16
+ border-radius: 4px;
17
+ min-width: 100%;
18
+
19
+ @include media($breakpoint-md) {
20
+ aspect-ratio: 107/60;
21
+ min-width: 428px;
22
+ }
23
+
24
+ img {
25
+ height: auto;
26
+ object-fit: cover;
27
+ width: 100%;
28
+ }
29
+ }
30
+
31
+ &__details {
32
+ align-items: flex-start;
33
+ display: flex;
34
+ flex-direction: column;
35
+ flex-grow: 1;
36
+ gap: $spacing-micro;
37
+
38
+ @include media($size-md, 'max') {
39
+ align-self: flex-start;
40
+ }
41
+ }
42
+
43
+ &__date_info {
44
+ display: flex;
45
+ flex-direction: row;
46
+ }
47
+
48
+ &__separator {
49
+ margin: 0 8px;
50
+ }
51
+
52
+ &__cta {
53
+ align-items: flex-start;
54
+ display: flex;
55
+ flex-direction: column;
56
+ gap: $spacing-sm;
57
+ justify-content: center;
58
+ min-width: 200px;
59
+ }
60
+
61
+ &__info {
62
+ display: flex;
63
+ flex-direction: column;
64
+ gap: $spacing-micro;
65
+ }
66
+
67
+ &__badge {
68
+ border: 1px solid $badge-blue;
69
+ color: $badge-blue;
70
+ padding: $spacing-micro 8px;
71
+ }
72
+
73
+ &__cta-button {
74
+ padding: $spacing-sm $spacing-lg;
75
+ white-space: nowrap;
76
+ width: 100%;
77
+ }
78
+
79
+ &__modal-link {
80
+ cursor: pointer;
81
+
82
+ @include underline;
83
+ }
84
+
85
+ &__modal-link-button {
86
+ padding: 0;
87
+
88
+ @include underline;
89
+ }
90
+
91
+ &__pdf-link {
92
+ align-items: center;
93
+ align-self: stretch;
94
+ display: flex;
95
+ gap: $spacing-micro;
96
+ justify-content: center;
97
+
98
+ a {
99
+ text-decoration: none;
100
+ }
101
+ }
102
+
103
+ &--relatedSaleTile {
104
+ align-items: flex-start;
105
+ gap: $spacing-sm;
106
+
107
+ @include media($size-md, 'max') {
108
+ flex-direction: row;
109
+ }
110
+
111
+ .#{$px}-sale-card__image {
112
+ max-width: $spacing-xxxl;
113
+ min-width: 94px;
114
+
115
+ @include media($size-xl) {
116
+ max-width: calc($spacing-xxxl * 1.25);
117
+ }
118
+ }
119
+ }
120
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.157.0",
3
+ "version": "1.158.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"
@@ -1,20 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- export type AuctionTileProps = ComponentProps<'div'> & {
3
- imageSrc: string;
4
- imageAlt?: string;
5
- type: string;
6
- title: string;
7
- date: string;
8
- location: string;
9
- };
10
- /**
11
- * ## Overview
12
- *
13
- * Overview of this widget
14
- *
15
- * [Figma Link](https://www.figma.com/design/hMu9IWH5N3KamJy8tLFdyV/RW-Design-System?node-id=22259-4172&m=dev)
16
- *
17
- * [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-auctiontile--overview)
18
- */
19
- declare const AuctionTile: import('react').ForwardRefExoticComponent<Omit<AuctionTileProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
20
- export default AuctionTile;
@@ -1,27 +0,0 @@
1
- import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
- import { forwardRef as v } from "react";
3
- import { getCommonProps as N } from "../../utils/index.js";
4
- import g from "../../node_modules/classnames/index.js";
5
- import { TextVariants as r } from "../Text/types.js";
6
- import e from "../Text/Text.js";
7
- const u = v(
8
- ({ className: o, imageSrc: n, imageAlt: m = "Auction Image", type: c, title: l, date: d, location: p, ...t }, f) => {
9
- const { className: i, ...h } = N(t, "AuctionTile"), _ = { ...h, ...t };
10
- return /* @__PURE__ */ s("div", { ..._, className: g(i, o), ref: f, children: [
11
- /* @__PURE__ */ a("div", { className: `${i}__image`, children: /* @__PURE__ */ a("img", { src: n, alt: m }) }),
12
- /* @__PURE__ */ s("div", { className: `${i}__details`, children: [
13
- /* @__PURE__ */ a(e, { variant: r.badge, children: c }),
14
- /* @__PURE__ */ a(e, { variant: r.title4, children: l }),
15
- /* @__PURE__ */ s("div", { className: `${i}__date_location`, children: [
16
- /* @__PURE__ */ a(e, { variant: r.string2, children: d }),
17
- /* @__PURE__ */ a("span", { className: `${i}__separator`, children: "•" }),
18
- /* @__PURE__ */ a(e, { variant: r.string2, children: p })
19
- ] })
20
- ] })
21
- ] });
22
- }
23
- );
24
- u.displayName = "AuctionTile";
25
- export {
26
- u as default
27
- };
@@ -1,18 +0,0 @@
1
- import { AuctionTileProps } from './AuctionTile';
2
- declare const meta: {
3
- title: string;
4
- component: import('react').ForwardRefExoticComponent<Omit<AuctionTileProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
5
- };
6
- export default meta;
7
- export declare const Playground: {
8
- (props: AuctionTileProps): import("react/jsx-runtime").JSX.Element;
9
- args: {
10
- imageSrc: string;
11
- type: string;
12
- title: string;
13
- date: string;
14
- location: string;
15
- };
16
- argTypes: {};
17
- };
18
- export declare const MultipleAuctions: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export { default as AuctionTile, type AuctionTileProps } from './AuctionTile';
@@ -1,38 +0,0 @@
1
- @use '../../allPartials' as *;
2
-
3
- .#{$px}-auction-tile {
4
- display: flex;
5
- flex-direction: row;
6
- gap: $spacing-sm;
7
-
8
- &__image {
9
- aspect-ratio: 16/9;
10
- max-width: $spacing-xxxl;
11
- min-width: 90px;
12
-
13
- @include media($size-xl) {
14
- max-width: calc($spacing-xxxl * 1.25);
15
- }
16
-
17
- img {
18
- object-fit: cover;
19
- }
20
- }
21
-
22
- &__details {
23
- align-items: flex-start;
24
- display: flex;
25
- flex-direction: column;
26
- flex-grow: 1;
27
- gap: $spacing-micro;
28
- }
29
-
30
- &__date_info {
31
- display: flex;
32
- flex-direction: row;
33
- }
34
-
35
- &__separator {
36
- margin: 0 8px;
37
- }
38
- }