@phillips/seldon 1.214.0-beta.2 → 1.214.0-beta.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.
- package/dist/components/Detail/Detail.js +16 -16
- package/dist/components/Detail/Detail.stories.d.ts +17 -0
- package/dist/components/Detail/index.d.ts +1 -1
- package/dist/components/Detail/types.d.ts +1 -0
- package/dist/components/Detail/types.js +2 -2
- package/dist/index.js +19 -19
- package/dist/patterns/BidSnapshot/BidSnapshot.d.ts +2 -2
- package/dist/patterns/BidSnapshot/BidSnapshot.js +62 -60
- package/dist/patterns/BidSnapshot/BidSnapshot.stories.d.ts +27 -0
- package/dist/scss/components/Accordion/_accordion.scss +2 -1
- package/dist/scss/components/TextSymbol/_textSymbol.scss +1 -0
- package/dist/scss/patterns/BidSnapshot/_bidSnapshot.scss +4 -7
- package/dist/scss/patterns/DetailList/_detailList.scss +3 -3
- package/dist/scss/site-furniture/Header/_header.scss +5 -1
- package/package.json +1 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsxs as n, jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { getCommonProps as
|
|
4
|
-
import
|
|
5
|
-
import { TextVariants as
|
|
6
|
-
import
|
|
7
|
-
const x =
|
|
8
|
-
({ className: c = "", hasWrap: d = !0, label:
|
|
9
|
-
const { className:
|
|
10
|
-
return /* @__PURE__ */ n("div", { ...p, className:
|
|
1
|
+
import { jsxs as n, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as N } from "react";
|
|
3
|
+
import { getCommonProps as h } from "../../utils/index.js";
|
|
4
|
+
import r from "../../node_modules/classnames/index.js";
|
|
5
|
+
import { TextVariants as a } from "../Text/types.js";
|
|
6
|
+
import o from "../Text/Text.js";
|
|
7
|
+
const x = N(
|
|
8
|
+
({ className: c = "", hasWrap: d = !0, label: b, subLabel: m, value: _, variant: e = "md", ...t }, f) => {
|
|
9
|
+
const { className: l, ...p } = h(t, "Detail"), i = e === "sm" ? a.labelSmall : e === "lg" ? a.labelLarge : a.labelMedium, u = e === "sm" ? a.bodySmall : e === "lg" ? a.bodyLarge : a.labelMedium;
|
|
10
|
+
return /* @__PURE__ */ n("div", { ...p, className: r(l, c), ...t, ref: f, children: [
|
|
11
11
|
/* @__PURE__ */ n(
|
|
12
12
|
"dt",
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
15
|
-
[`${
|
|
16
|
-
[`${
|
|
14
|
+
className: r(`${l}__label-section`, {
|
|
15
|
+
[`${l}__label--no-wrap`]: !d,
|
|
16
|
+
[`${l}__label-section--has-sub-label`]: m
|
|
17
17
|
}),
|
|
18
18
|
children: [
|
|
19
|
-
/* @__PURE__ */
|
|
19
|
+
/* @__PURE__ */ s(o, { variant: i, className: r(`${l}__label-section--label`), children: b }),
|
|
20
20
|
" ",
|
|
21
|
-
|
|
21
|
+
m ? /* @__PURE__ */ s(o, { className: `${l}__sub-label`, variant: i, children: m }) : null
|
|
22
22
|
]
|
|
23
23
|
}
|
|
24
24
|
),
|
|
25
|
-
/* @__PURE__ */
|
|
25
|
+
/* @__PURE__ */ s("dd", { className: `${l}__value`, children: /* @__PURE__ */ s(o, { variant: u, children: _ }) })
|
|
26
26
|
] });
|
|
27
27
|
}
|
|
28
28
|
);
|
|
@@ -21,6 +21,23 @@ export declare const Small: {
|
|
|
21
21
|
value: string;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
+
export declare const Medium: {
|
|
25
|
+
(props: DetailProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
args: {
|
|
27
|
+
variant: DetailVariants;
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export declare const Large: {
|
|
33
|
+
(props: DetailProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
args: {
|
|
35
|
+
variant: DetailVariants;
|
|
36
|
+
label: string;
|
|
37
|
+
value: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export declare const Variants: () => import("react/jsx-runtime").JSX.Element;
|
|
24
41
|
export declare const WithSubLabel: {
|
|
25
42
|
(props: DetailProps): import("react/jsx-runtime").JSX.Element;
|
|
26
43
|
args: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Detail, type DetailProps, type DetailComponent } from './Detail';
|
|
2
|
-
export { DetailVariants
|
|
2
|
+
export { DetailVariants } from './types';
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { PaddingTokens as a, SpacingTokens as f, defaultYear as s, emailValidati
|
|
|
2
2
|
import { default as C } from "./pages/Page.js";
|
|
3
3
|
import { SSRMediaQuery as P, ssrMediaQueryStyle as B } from "./providers/SeldonProvider/utils.js";
|
|
4
4
|
import { usePendingState as L } from "./utils/hooks.js";
|
|
5
|
-
import { AuctionStatus as
|
|
5
|
+
import { AuctionStatus as A, LotStatus as V, SupportedLanguages as y } from "./types/commonTypes.js";
|
|
6
6
|
import { default as h } from "./components/Button/Button.js";
|
|
7
7
|
import { ButtonVariants as v } from "./components/Button/types.js";
|
|
8
8
|
import { default as w } from "./components/IconButton/IconButton.js";
|
|
@@ -29,8 +29,8 @@ import { default as ce } from "./components/Drawer/Drawer.js";
|
|
|
29
29
|
import { default as Ce } from "./components/Dropdown/Dropdown.js";
|
|
30
30
|
import { default as Pe } from "./components/ErrorBoundary/ErrorBoundary.js";
|
|
31
31
|
import { default as Ie } from "./components/Grid/Grid.js";
|
|
32
|
-
import { default as
|
|
33
|
-
import { GridItemAlign as
|
|
32
|
+
import { default as be } from "./components/GridItem/GridItem.js";
|
|
33
|
+
import { GridItemAlign as Ve } from "./components/GridItem/types.js";
|
|
34
34
|
import { default as De } from "./components/Input/Input.js";
|
|
35
35
|
import { default as ke } from "./components/Link/Link.js";
|
|
36
36
|
import { LinkVariants as Fe } from "./components/Link/types.js";
|
|
@@ -55,8 +55,8 @@ import { Tag as nt, default as gt } from "./components/Tags/Tags.js";
|
|
|
55
55
|
import { TextAlignments as St, TextVariants as Ct } from "./components/Text/types.js";
|
|
56
56
|
import { default as Pt } from "./components/Text/Text.js";
|
|
57
57
|
import { TextSymbolVariants as It } from "./components/TextSymbol/types.js";
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
58
|
+
import { default as bt } from "./components/TextSymbol/TextSymbol.js";
|
|
59
|
+
import { default as Vt } from "./components/Video/Video.js";
|
|
60
60
|
import { default as Dt } from "./patterns/DetailList/DetailList.js";
|
|
61
61
|
import { DetailListAlignment as kt } from "./patterns/DetailList/types.js";
|
|
62
62
|
import { default as Ft } from "./patterns/FavoritesCollectionTile/FavoritesCollectionTile.js";
|
|
@@ -81,8 +81,8 @@ import { default as go } from "./components/PageContentWrapper/PageContentWrappe
|
|
|
81
81
|
import { default as So } from "./components/PhoneNumberPicker/PhoneNumberPicker.js";
|
|
82
82
|
import { default as To } from "./patterns/FiltersInline/FiltersInline.js";
|
|
83
83
|
import { FilterButtonIconType as Bo, FilterButtonType as Io } from "./patterns/FiltersInline/types.js";
|
|
84
|
-
import { default as
|
|
85
|
-
import { SaleCardActions as
|
|
84
|
+
import { default as bo } from "./patterns/SaleCard/SaleCard.js";
|
|
85
|
+
import { SaleCardActions as Vo } from "./patterns/SaleCard/SaleCardActions.js";
|
|
86
86
|
import { SaleCardImageDisplay as Do, SaleCardVariants as ho } from "./patterns/SaleCard/types.js";
|
|
87
87
|
import { default as vo } from "./patterns/ViewingDetails/ViewingDetails.js";
|
|
88
88
|
import { default as wo } from "./components/ProgressIndicator/ProgressIndicator.js";
|
|
@@ -108,7 +108,7 @@ import { useToast as Sr } from "./components/Toast/useToast.js";
|
|
|
108
108
|
import { default as Tr } from "./patterns/AccountPageHeader/AccountPageHeader.js";
|
|
109
109
|
import { default as Br } from "./patterns/BidSnapshot/BidSnapshot.js";
|
|
110
110
|
import { default as Lr } from "./patterns/BidSnapshot/BidMessage.js";
|
|
111
|
-
import { BidMessageVariants as
|
|
111
|
+
import { BidMessageVariants as Ar, BidStatusEnum as Vr } from "./patterns/BidSnapshot/types.js";
|
|
112
112
|
import { default as Dr } from "./patterns/FilterMenu/FilterMenu.js";
|
|
113
113
|
import { default as kr } from "./patterns/ObjectTile/ObjectTile.js";
|
|
114
114
|
import { default as Fr } from "./patterns/CountryPicker/CountryPicker.js";
|
|
@@ -125,12 +125,12 @@ export {
|
|
|
125
125
|
Tr as AccountPageHeader,
|
|
126
126
|
Ro as AddToCalendar,
|
|
127
127
|
zo as Article,
|
|
128
|
-
|
|
128
|
+
A as AuctionStatus,
|
|
129
129
|
Kt as AuthState,
|
|
130
130
|
Lr as BidMessage,
|
|
131
|
-
|
|
131
|
+
Ar as BidMessageVariants,
|
|
132
132
|
Br as BidSnapshot,
|
|
133
|
-
|
|
133
|
+
Vr as BidStatusEnum,
|
|
134
134
|
O as Breadcrumb,
|
|
135
135
|
h as Button,
|
|
136
136
|
v as ButtonVariants,
|
|
@@ -155,7 +155,7 @@ export {
|
|
|
155
155
|
ie as Detail,
|
|
156
156
|
Dt as DetailList,
|
|
157
157
|
kt as DetailListAlignment,
|
|
158
|
-
ne as
|
|
158
|
+
ne as DetailVariants,
|
|
159
159
|
Xo as Divider,
|
|
160
160
|
ce as Drawer,
|
|
161
161
|
Ce as Dropdown,
|
|
@@ -172,8 +172,8 @@ export {
|
|
|
172
172
|
To as FiltersInline,
|
|
173
173
|
Mo as Footer,
|
|
174
174
|
Ie as Grid,
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
be as GridItem,
|
|
176
|
+
Ve as GridItemAlign,
|
|
177
177
|
Eo as Header,
|
|
178
178
|
Ht as HeroBanner,
|
|
179
179
|
Q as Icon,
|
|
@@ -186,7 +186,7 @@ export {
|
|
|
186
186
|
Fe as LinkVariants,
|
|
187
187
|
xo as Loader,
|
|
188
188
|
zr as LoadingState,
|
|
189
|
-
|
|
189
|
+
V as LotStatus,
|
|
190
190
|
Ge as Modal,
|
|
191
191
|
Ue as Navigation,
|
|
192
192
|
Oe as NavigationItem,
|
|
@@ -207,8 +207,8 @@ export {
|
|
|
207
207
|
Nr as ProgressWizardFooter,
|
|
208
208
|
_e as Row,
|
|
209
209
|
P as SSRMediaQuery,
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
bo as SaleCard,
|
|
211
|
+
Vo as SaleCardActions,
|
|
212
212
|
Do as SaleCardImageDisplay,
|
|
213
213
|
ho as SaleCardVariants,
|
|
214
214
|
Ut as SaleHeaderBanner,
|
|
@@ -234,12 +234,12 @@ export {
|
|
|
234
234
|
ur as TextArea,
|
|
235
235
|
Nt as TextBanner,
|
|
236
236
|
It as TextSymbolVariants,
|
|
237
|
-
|
|
237
|
+
bt as TextSymbols,
|
|
238
238
|
Ct as TextVariants,
|
|
239
239
|
xr as Toast,
|
|
240
240
|
gr as ToastProvider,
|
|
241
241
|
_t as UserManagement,
|
|
242
|
-
|
|
242
|
+
Vt as Video,
|
|
243
243
|
vo as ViewingDetails,
|
|
244
244
|
oo as ViewingsList,
|
|
245
245
|
s as defaultYear,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { DetailListProps } from '../DetailList/index';
|
|
3
|
-
import {
|
|
3
|
+
import { DetailVariants } from '../../components/Detail/index';
|
|
4
4
|
import { LotStatus, SupportedLanguages } from '../../types/commonTypes';
|
|
5
5
|
import { BidStatusEnum } from './types';
|
|
6
6
|
export interface BidSnapshotProps extends ComponentProps<'div'>, Pick<DetailListProps, 'hasSeparators'> {
|
|
@@ -15,7 +15,7 @@ export interface BidSnapshotProps extends ComponentProps<'div'>, Pick<DetailList
|
|
|
15
15
|
/**
|
|
16
16
|
* Variant of the bid snapshot - 'sm' uses labelSmall for text
|
|
17
17
|
*/
|
|
18
|
-
variant?:
|
|
18
|
+
variant?: DetailVariants;
|
|
19
19
|
/**
|
|
20
20
|
* Bids label text, a fucntion for label of bids amoutn (2 bids, 3 bids, etc) where the number is the length of the bids array.
|
|
21
21
|
*/
|
|
@@ -1,85 +1,87 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as M, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as Q, isValidElement as U, cloneElement as X } from "react";
|
|
3
3
|
import Y from "../../node_modules/classnames/index.js";
|
|
4
4
|
import { getCommonProps as Z, findChildrenOfType as O, findChildrenExcludingTypes as oo } from "../../utils/index.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { DetailVariants as
|
|
8
|
-
import { LotStatus as
|
|
9
|
-
import
|
|
10
|
-
import { CountdownVariants as
|
|
11
|
-
import { BidStatusEnum as
|
|
12
|
-
import
|
|
13
|
-
import { TextVariants as
|
|
5
|
+
import ao from "../DetailList/DetailList.js";
|
|
6
|
+
import f from "../../components/Detail/Detail.js";
|
|
7
|
+
import { DetailVariants as eo } from "../../components/Detail/types.js";
|
|
8
|
+
import { LotStatus as l, SupportedLanguages as so } from "../../types/commonTypes.js";
|
|
9
|
+
import to from "../../components/Countdown/Countdown.js";
|
|
10
|
+
import { CountdownVariants as _ } from "../../components/Countdown/types.js";
|
|
11
|
+
import { BidStatusEnum as no } from "./types.js";
|
|
12
|
+
import v from "./BidMessage.js";
|
|
13
|
+
import { TextVariants as e } from "../../components/Text/types.js";
|
|
14
14
|
import "../../components/Text/Text.js";
|
|
15
|
-
import { isAfter as
|
|
16
|
-
import { differenceInMinutes as
|
|
17
|
-
const ro = (
|
|
15
|
+
import { isAfter as T } from "../../node_modules/date-fns/isAfter.js";
|
|
16
|
+
import { differenceInMinutes as lo } from "../../node_modules/date-fns/differenceInMinutes.js";
|
|
17
|
+
const ro = (a) => a === 1 ? `${a} bid` : `${a} bids`, io = Q(
|
|
18
18
|
({
|
|
19
|
-
lotStatus:
|
|
20
|
-
bidStatus:
|
|
21
|
-
bidsLabelText:
|
|
22
|
-
children:
|
|
23
|
-
className:
|
|
24
|
-
closingText:
|
|
25
|
-
currency:
|
|
19
|
+
lotStatus: a = l.ready,
|
|
20
|
+
bidStatus: u,
|
|
21
|
+
bidsLabelText: W = ro,
|
|
22
|
+
children: b,
|
|
23
|
+
className: y,
|
|
24
|
+
closingText: E = "Closes in",
|
|
25
|
+
currency: r = "$",
|
|
26
26
|
currentBid: $,
|
|
27
|
-
currentBidText:
|
|
28
|
-
formatDurationStr:
|
|
29
|
-
lang:
|
|
27
|
+
currentBidText: B = "Current bid",
|
|
28
|
+
formatDurationStr: j = (o) => o.replace(/seconds?/, "sec").replace(/minutes?/, "min"),
|
|
29
|
+
lang: P = "en",
|
|
30
30
|
saleCloseDate: i,
|
|
31
|
-
lotCloseDate:
|
|
32
|
-
numberOfBids:
|
|
33
|
-
startingBid:
|
|
34
|
-
startingBidText:
|
|
35
|
-
soldPrice:
|
|
36
|
-
showSoldLabel:
|
|
37
|
-
soldForText:
|
|
38
|
-
wonForText:
|
|
31
|
+
lotCloseDate: m,
|
|
32
|
+
numberOfBids: h = 0,
|
|
33
|
+
startingBid: g,
|
|
34
|
+
startingBidText: R = "Starting bid",
|
|
35
|
+
soldPrice: L,
|
|
36
|
+
showSoldLabel: A = !0,
|
|
37
|
+
soldForText: D = "Sold for",
|
|
38
|
+
wonForText: I = "Won for",
|
|
39
39
|
getCurrentDateTime: w = () => /* @__PURE__ */ new Date(),
|
|
40
|
-
hasSeparators:
|
|
41
|
-
variant:
|
|
40
|
+
hasSeparators: k = !0,
|
|
41
|
+
variant: s = eo.md,
|
|
42
42
|
...S
|
|
43
|
-
},
|
|
44
|
-
const { className: o, ...
|
|
45
|
-
(
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
}, q) => {
|
|
44
|
+
const { className: o, ...z } = Z(S, "BidSnapshot"), x = s === "sm" ? e.labelSmall : s === "lg" ? e.labelLarge : e.labelMedium, F = s === "sm" ? _.sm : _.compact, d = $ !== null && h > 0, N = a === l.ready, t = a === l.live, V = a === l.past, p = w() || /* @__PURE__ */ new Date(), G = t && m && T(m, p) && i && (lo(i, p) < 60 || T(p, i)), C = O(b, v), H = oo(b, [v]), J = C ? C.map(
|
|
45
|
+
(c) => U(c) ? X(c, {
|
|
46
|
+
textVariant: x === e.labelLarge ? e.labelMedium : x
|
|
47
|
+
}) : c
|
|
48
|
+
) : null, K = Y(o, y, {
|
|
49
|
+
[`${o}--live`]: t,
|
|
50
|
+
[`${o}--has-bids`]: d || V
|
|
49
51
|
});
|
|
50
|
-
return /* @__PURE__ */
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
return /* @__PURE__ */ M("div", { ...z, ...S, ref: q, className: K, children: [
|
|
53
|
+
/* @__PURE__ */ M(ao, { hasSeparators: k, variant: s, className: `${o}__text`, children: [
|
|
54
|
+
A && V ? /* @__PURE__ */ n(
|
|
55
|
+
f,
|
|
54
56
|
{
|
|
55
|
-
label:
|
|
56
|
-
value:
|
|
57
|
+
label: u === no.Won ? I : D,
|
|
58
|
+
value: L ? `${r}${L?.toLocaleString()}` : "",
|
|
57
59
|
hasWrap: !1,
|
|
58
60
|
className: `${o}__sold`
|
|
59
61
|
}
|
|
60
62
|
) : null,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
t && d ? /* @__PURE__ */ n(
|
|
64
|
+
f,
|
|
63
65
|
{
|
|
64
|
-
label:
|
|
65
|
-
subLabel: `(${
|
|
66
|
-
value: `${
|
|
66
|
+
label: B,
|
|
67
|
+
subLabel: `(${W(h)})`,
|
|
68
|
+
value: `${r}${$?.toLocaleString()}`,
|
|
67
69
|
hasWrap: !1,
|
|
68
70
|
className: `${o}__current-bid`
|
|
69
71
|
}
|
|
70
72
|
) : null,
|
|
71
|
-
|
|
73
|
+
g && (N || t && !d) ? /* @__PURE__ */ n(f, { label: R, value: `${r}${g?.toLocaleString()}`, hasWrap: !1 }) : null
|
|
72
74
|
] }),
|
|
73
|
-
|
|
75
|
+
u && !N ? J : null,
|
|
74
76
|
H,
|
|
75
|
-
G ? /* @__PURE__ */
|
|
76
|
-
|
|
77
|
+
G ? /* @__PURE__ */ n(
|
|
78
|
+
to,
|
|
77
79
|
{
|
|
78
|
-
endDateTime:
|
|
79
|
-
label:
|
|
80
|
+
endDateTime: m,
|
|
81
|
+
label: E,
|
|
80
82
|
variant: F,
|
|
81
|
-
locale:
|
|
82
|
-
formatDurationStr:
|
|
83
|
+
locale: so[P],
|
|
84
|
+
formatDurationStr: j,
|
|
83
85
|
showBottomBorder: !1,
|
|
84
86
|
getCurrentDateTime: w
|
|
85
87
|
}
|
|
@@ -87,7 +89,7 @@ const ro = (s) => s === 1 ? `${s} bid` : `${s} bids`, lo = Q(
|
|
|
87
89
|
] });
|
|
88
90
|
}
|
|
89
91
|
);
|
|
90
|
-
|
|
92
|
+
io.displayName = "BidSnapshot";
|
|
91
93
|
export {
|
|
92
|
-
|
|
94
|
+
io as default
|
|
93
95
|
};
|
|
@@ -177,3 +177,30 @@ export declare const SmallVariantWithBidMessage: {
|
|
|
177
177
|
bidStatus: BidStatusEnum;
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
|
+
export declare const LargeVariant: {
|
|
181
|
+
(props: BidSnapshotProps): import("react/jsx-runtime").JSX.Element;
|
|
182
|
+
args: {
|
|
183
|
+
currency: string;
|
|
184
|
+
numberOfBids: number;
|
|
185
|
+
lotStatus: LotStatus;
|
|
186
|
+
currentBid: number;
|
|
187
|
+
lotCloseDate: Date;
|
|
188
|
+
saleCloseDate: Date;
|
|
189
|
+
lang: import('date-fns').Locale;
|
|
190
|
+
startingBid: number;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
export declare const LargeVariantWithBidMessage: {
|
|
194
|
+
(props: BidSnapshotProps): import("react/jsx-runtime").JSX.Element;
|
|
195
|
+
args: {
|
|
196
|
+
currency: string;
|
|
197
|
+
numberOfBids: number;
|
|
198
|
+
lotStatus: LotStatus;
|
|
199
|
+
currentBid: number;
|
|
200
|
+
lotCloseDate: Date;
|
|
201
|
+
saleCloseDate: Date;
|
|
202
|
+
lang: import('date-fns').Locale;
|
|
203
|
+
startingBid: number;
|
|
204
|
+
bidStatus: BidStatusEnum;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
@@ -8,20 +8,17 @@
|
|
|
8
8
|
gap: 0 $spacing-sm;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
&__current-bid
|
|
12
|
-
|
|
11
|
+
&__current-bid,
|
|
12
|
+
&__sold {
|
|
13
|
+
.#{$px}-detail__value .#{$px}-text.#{$px}-text {
|
|
13
14
|
font-variation-settings: 'wght' 600;
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
|
|
17
|
-
&:has(.#{$px}-bid-message) &__text .#{$px}-
|
|
18
|
+
&:has(.#{$px}-bid-message) &__text .#{$px}-detail {
|
|
18
19
|
padding-bottom: 0;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
|
-
&__sold .#{$px}-detail__value .#{$px}-text {
|
|
22
|
-
font-variation-settings: 'wght' 600;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
22
|
.#{$px}-countdown {
|
|
26
23
|
align-items: flex-start;
|
|
27
24
|
padding: 0;
|
|
@@ -172,9 +172,13 @@
|
|
|
172
172
|
height: 100vh;
|
|
173
173
|
left: 0;
|
|
174
174
|
position: absolute;
|
|
175
|
-
top: calc($header-height -
|
|
175
|
+
top: calc($header-height - 10px);
|
|
176
176
|
width: 100%;
|
|
177
177
|
|
|
178
|
+
@media (min-width: $breakpoint-xl) {
|
|
179
|
+
top: calc($header-height - 3px);
|
|
180
|
+
}
|
|
181
|
+
|
|
178
182
|
@include isHeaderMobile {
|
|
179
183
|
display: none;
|
|
180
184
|
}
|