@phillips/seldon 1.181.0 → 1.182.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.
Files changed (56) hide show
  1. package/dist/components/AddToCalendar/AddToCalendar.js +1 -1
  2. package/dist/components/Article/Article.js +2 -2
  3. package/dist/components/ComboBox/ComboBox.js +115 -116
  4. package/dist/components/ComposedModal/ComposedModal.js +2 -2
  5. package/dist/components/ExitGateCard/ExitGateCard.js +2 -2
  6. package/dist/components/FavoritingTileButton/FavoritingTileButton.js +15 -15
  7. package/dist/components/Filter/FilterHeader.js +1 -1
  8. package/dist/components/Link/types.d.ts +1 -2
  9. package/dist/components/Link/types.js +1 -1
  10. package/dist/components/Text/Text.js +1 -1
  11. package/dist/components/Text/types.d.ts +0 -17
  12. package/dist/components/Text/types.js +3 -3
  13. package/dist/components/Text/utils.js +6 -6
  14. package/dist/patterns/AccountPageHeader/AccountPageHeader.js +21 -21
  15. package/dist/patterns/BidSnapshot/BidMessage.js +6 -6
  16. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +1 -1
  17. package/dist/patterns/FiltersInline/FilterButton.js +8 -8
  18. package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +41 -41
  19. package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +38 -38
  20. package/dist/patterns/SaleCard/SaleCard.js +25 -25
  21. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +45 -45
  22. package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js +7 -7
  23. package/dist/patterns/UserManagement/UserManagement.js +10 -10
  24. package/dist/patterns/ViewingDetails/ViewingDetails.js +12 -12
  25. package/dist/scss/_type.scss +63 -142
  26. package/dist/scss/_vars.scss +45 -74
  27. package/dist/scss/_vars.scss.js +47 -76
  28. package/dist/scss/components/Accordion/_accordion.scss +4 -4
  29. package/dist/scss/components/AddToCalendar/_addToCalendar.scss +2 -2
  30. package/dist/scss/components/Article/_article.scss +0 -5
  31. package/dist/scss/components/Breadcrumb/_breadcrumb.scss +1 -1
  32. package/dist/scss/components/Button/_button.scss +1 -1
  33. package/dist/scss/components/ComboBox/_combobox.scss +4 -4
  34. package/dist/scss/components/Countdown/_countdown.scss +2 -2
  35. package/dist/scss/components/Countdown/_duration.scss +1 -1
  36. package/dist/scss/components/Detail/_detail.scss +1 -1
  37. package/dist/scss/components/Drawer/_drawerHeader.scss +2 -2
  38. package/dist/scss/components/Dropdown/_dropdown.scss +2 -2
  39. package/dist/scss/components/Filter/_filter.scss +3 -3
  40. package/dist/scss/components/Icon/_icon.stories.scss +1 -1
  41. package/dist/scss/components/Input/_input.scss +3 -3
  42. package/dist/scss/components/Link/_link.scss +4 -4
  43. package/dist/scss/components/Navigation/_navigation.scss +4 -1
  44. package/dist/scss/components/Pagination/_pagination.scss +1 -1
  45. package/dist/scss/components/Search/_search.scss +5 -10
  46. package/dist/scss/components/Tabs/_tabs.scss +1 -1
  47. package/dist/scss/components/Tags/_tags.scss +1 -1
  48. package/dist/scss/components/TextArea/_textArea.scss +2 -2
  49. package/dist/scss/components/TextSymbol/_textSymbol.scss +2 -2
  50. package/dist/scss/patterns/SaleHeaderBanner/_saleHeaderBanner.scss +1 -1
  51. package/dist/scss/patterns/Social/_social.scss +1 -1
  52. package/dist/scss/patterns/Subscribe/_subscribe.scss +3 -3
  53. package/dist/scss/site-furniture/Footer/_footer.scss +2 -2
  54. package/dist/scss/site-furniture/Header/_header.scss +5 -1
  55. package/dist/site-furniture/Footer/Footer.js +1 -1
  56. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
- import { jsxs as l, jsx as a, Fragment as p } from "react/jsx-runtime";
2
- import { forwardRef as g } from "react";
1
+ import { jsxs as n, jsx as r, Fragment as p } from "react/jsx-runtime";
2
+ import { forwardRef as b } from "react";
3
3
  import { getCommonProps as P } from "../../utils/index.js";
4
4
  import k from "../../node_modules/classnames/index.js";
5
- import n from "../../components/Text/Text.js";
5
+ import l from "../../components/Text/Text.js";
6
6
  import { TextVariants as c } from "../../components/Text/types.js";
7
7
  import y from "../../components/Divider/Divider.js";
8
8
  import x from "../../components/Button/Button.js";
@@ -10,33 +10,33 @@ import { ButtonVariants as L } from "../../components/Button/types.js";
10
10
  import m from "../../components/Icon/Icon.js";
11
11
  import f from "../../components/IconButton/IconButton.js";
12
12
  import { SSRMediaQuery as h } from "../../providers/SeldonProvider/utils.js";
13
- const M = g(
14
- ({ className: _, title: N, subtitle: t, actionButtons: o, overline: s, showDivider: v = !0, ...b }, u) => {
15
- const { className: e, ...C } = P(b, "AccountPageHeader"), i = o?.find((r) => r.isPrimary), d = o?.filter((r) => !r.isPrimary), $ = () => /* @__PURE__ */ l("div", { className: `${e}__button-wrapper`, children: [
16
- d && /* @__PURE__ */ a(p, { children: d.map((r) => /* @__PURE__ */ a(f, { onClick: r.onClick, "aria-label": r.ariaLabel, children: /* @__PURE__ */ a(m, { icon: r.icon, "aria-label": r.ariaLabel, title: r.ariaLabel }) }, `icon-button-${r.icon}`)) }),
17
- i && /* @__PURE__ */ l(p, { children: [
18
- /* @__PURE__ */ a(h.Media, { greaterThanOrEqual: "md", children: /* @__PURE__ */ l(x, { variant: L.secondary, onClick: i.onClick, children: [
19
- /* @__PURE__ */ a(m, { icon: i.icon }),
13
+ const T = b(
14
+ ({ className: _, title: N, subtitle: t, actionButtons: o, overline: s, showDivider: v = !0, ...g }, u) => {
15
+ const { className: i, ...C } = P(g, "AccountPageHeader"), e = o?.find((a) => a.isPrimary), d = o?.filter((a) => !a.isPrimary), $ = () => /* @__PURE__ */ n("div", { className: `${i}__button-wrapper`, children: [
16
+ d && /* @__PURE__ */ r(p, { children: d.map((a) => /* @__PURE__ */ r(f, { onClick: a.onClick, "aria-label": a.ariaLabel, children: /* @__PURE__ */ r(m, { icon: a.icon, "aria-label": a.ariaLabel, title: a.ariaLabel }) }, `icon-button-${a.icon}`)) }),
17
+ e && /* @__PURE__ */ n(p, { children: [
18
+ /* @__PURE__ */ r(h.Media, { greaterThanOrEqual: "md", children: /* @__PURE__ */ n(x, { variant: L.secondary, onClick: e.onClick, children: [
19
+ /* @__PURE__ */ r(m, { icon: e.icon }),
20
20
  " ",
21
- i.label
21
+ e.label
22
22
  ] }) }),
23
- /* @__PURE__ */ a(h.Media, { lessThan: "md", children: /* @__PURE__ */ a(f, { onClick: i.onClick, "aria-label": i.ariaLabel, children: /* @__PURE__ */ a(m, { icon: i.icon, title: i.ariaLabel }) }) })
23
+ /* @__PURE__ */ r(h.Media, { lessThan: "md", children: /* @__PURE__ */ r(f, { onClick: e.onClick, "aria-label": e.ariaLabel, children: /* @__PURE__ */ r(m, { icon: e.icon, title: e.ariaLabel }) }) })
24
24
  ] })
25
25
  ] });
26
- return /* @__PURE__ */ l("div", { ...C, className: k(e, _), ref: u, children: [
27
- /* @__PURE__ */ l("div", { className: `${e}__container`, children: [
28
- s && /* @__PURE__ */ a(n, { variant: c.labelMd, className: `${e}__overline`, children: s }),
29
- /* @__PURE__ */ l("div", { className: `${e}__title-wrapper`, children: [
30
- /* @__PURE__ */ a(n, { variant: c.title1, className: `${e}__title`, children: N }),
26
+ return /* @__PURE__ */ n("div", { ...C, className: k(i, _), ref: u, children: [
27
+ /* @__PURE__ */ n("div", { className: `${i}__container`, children: [
28
+ s && /* @__PURE__ */ r(l, { variant: c.string2, className: `${i}__overline`, children: s }),
29
+ /* @__PURE__ */ n("div", { className: `${i}__title-wrapper`, children: [
30
+ /* @__PURE__ */ r(l, { variant: c.title1, className: `${i}__title`, children: N }),
31
31
  o && o.length > 0 && $()
32
32
  ] }),
33
- t && /* @__PURE__ */ a(n, { variant: c.labelMd, className: `${e}__subtitle`, children: t })
33
+ t && /* @__PURE__ */ r(l, { variant: c.string2, className: `${i}__subtitle`, children: t })
34
34
  ] }),
35
- v && /* @__PURE__ */ a(y, { className: `${e}__divider` })
35
+ v && /* @__PURE__ */ r(y, { className: `${i}__divider` })
36
36
  ] });
37
37
  }
38
38
  );
39
- M.displayName = "AccountPageHeader";
39
+ T.displayName = "AccountPageHeader";
40
40
  export {
41
- M as default
41
+ T as default
42
42
  };
@@ -5,19 +5,19 @@ import { TextVariants as h } from "../../components/Text/types.js";
5
5
  import g from "../../components/Text/Text.js";
6
6
  import { BidMessageVariants as i } from "./types.js";
7
7
  import t from "../../components/Icon/Icon.js";
8
- const I = ({
8
+ const M = ({
9
9
  className: r,
10
- hasIcon: a = !0,
11
- message: m,
10
+ hasIcon: m = !0,
11
+ message: a,
12
12
  variant: n = i.positive,
13
13
  ...o
14
14
  }) => {
15
15
  const { className: s, ...c } = f(o, "BidMessage"), l = n === i.positive ? /* @__PURE__ */ e(t, { icon: "IconGreenCircle", height: 8, width: 8 }) : /* @__PURE__ */ e(t, { icon: "IconRedCircle", height: 8, width: 8 });
16
16
  return /* @__PURE__ */ d("div", { ...c, className: p(s, r), ...o, children: [
17
- a ? l : null,
18
- /* @__PURE__ */ e(g, { variant: h.labelMd, className: `${s}-text`, children: m })
17
+ m ? l : null,
18
+ /* @__PURE__ */ e(g, { variant: h.string2, className: `${s}-text`, children: a })
19
19
  ] });
20
20
  };
21
21
  export {
22
- I as default
22
+ M as default
23
23
  };
@@ -156,7 +156,7 @@ const S = ({
156
156
  return /* @__PURE__ */ t("div", { ...p, className: l(i, o), ref: O, id: e, children: /* @__PURE__ */ c("div", { className: `${i}__content`, children: [
157
157
  /* @__PURE__ */ c("div", { className: `${i}__header`, children: [
158
158
  /* @__PURE__ */ c("div", { className: `${i}__info`, children: [
159
- m && /* @__PURE__ */ t(v, { element: "span", className: `${i}__count`, variant: g.bodySm, children: u && m && u(a) }),
159
+ m && /* @__PURE__ */ t(v, { element: "span", className: `${i}__count`, variant: g.body3, children: u && m && u(a) }),
160
160
  r && /* @__PURE__ */ t(v, { element: "h3", className: `${i}__title`, variant: g.heading5, children: r })
161
161
  ] }),
162
162
  m && f && /* @__PURE__ */ c(q, { children: [
@@ -9,23 +9,23 @@ import F from "../../components/Text/Text.js";
9
9
  import { px as t } from "../../utils/index.js";
10
10
  import { getIcon as w } from "./utils.js";
11
11
  const B = b.forwardRef(
12
- ({ className: l, label: m, onClick: n, isSelected: a, type: r = "ChevronDown", count: f, id: o, ariaLabel: s, isMobile: c, totalCount: i }, d) => /* @__PURE__ */ p(
12
+ ({ className: m, label: n, onClick: l, isSelected: a, type: r = "ChevronDown", count: s, id: i, ariaLabel: f, isMobile: c, totalCount: o }, d) => /* @__PURE__ */ p(
13
13
  $,
14
14
  {
15
15
  ref: d,
16
- className: u(`${t}-filter-button`, l, {
17
- [`${t}-filter-button--selected`]: a || f > 0 || r === "Filter" && i > 0,
16
+ className: u(`${t}-filter-button`, m, {
17
+ [`${t}-filter-button--selected`]: a || s > 0 || r === "Filter" && o > 0,
18
18
  [`${t}-filter-button--filter`]: r === "Filter"
19
19
  }),
20
- "aria-label": s,
20
+ "aria-label": f,
21
21
  variant: h.secondary,
22
- "data-testid": `${o}-filter-button`,
22
+ "data-testid": `${i}-filter-button`,
23
23
  "data-viewport": c ? "mobile" : "desktop",
24
- onClick: n,
24
+ onClick: l,
25
25
  children: [
26
- /* @__PURE__ */ e(F, { variant: v.labelMd, "data-testid": `${o}-filter-label`, children: m }),
26
+ /* @__PURE__ */ e(F, { variant: v.string2, "data-testid": `${i}-filter-label`, children: n }),
27
27
  /* @__PURE__ */ e(x, { icon: w(r, a), height: 8, width: 8, className: `${t}__icon` }),
28
- i > 0 && r === "Filter" && /* @__PURE__ */ e("div", { className: `${t}-filter-button--count`, "data-testid": `${o}-filter-count`, children: i })
28
+ o > 0 && r === "Filter" && /* @__PURE__ */ e("div", { className: `${t}-filter-button--count`, "data-testid": `${i}-filter-count`, children: o })
29
29
  ]
30
30
  }
31
31
  )
@@ -1,83 +1,83 @@
1
- import { jsxs as p, jsx as t, Fragment as g } from "react/jsx-runtime";
2
- import a from "../../node_modules/classnames/index.js";
1
+ import { jsxs as p, jsx as r, Fragment as C } from "react/jsx-runtime";
2
+ import e from "../../node_modules/classnames/index.js";
3
3
  import F from "react";
4
4
  import n from "../../components/Button/Button.js";
5
5
  import { ButtonVariants as s } from "../../components/Button/types.js";
6
6
  import v from "../../components/Filter/FilterHeader.js";
7
7
  import D from "../../components/Filter/FilterInput.js";
8
8
  import m from "../../components/Text/Text.js";
9
- import { TextVariants as d } from "../../components/Text/types.js";
9
+ import { TextVariants as c } from "../../components/Text/types.js";
10
10
  import { px as B } from "../../utils/index.js";
11
- import { getFilterButtonLabel as M, getFilterDimensions as S, handleInputChange as j } from "./utils.js";
12
- const A = F.forwardRef(
11
+ import { getFilterButtonLabel as S, getFilterDimensions as j, handleInputChange as A } from "./utils.js";
12
+ const I = F.forwardRef(
13
13
  ({
14
14
  className: f,
15
- buttonType: l,
15
+ buttonType: i,
16
16
  filters: _,
17
17
  filterIndex: h,
18
18
  onSelectFilter: b,
19
19
  onClickClear: u,
20
- onApplyFilter: c,
20
+ onApplyFilter: d,
21
21
  resultsCount: $,
22
22
  ariaLabels: N,
23
23
  filterButtonLabel: x,
24
- filterButtonLabelTranslated: k,
25
- dropdownMenuTranslation: i
26
- }, w) => {
27
- const o = l === "Sort", e = `${B}-filter-dropdown-menu`;
24
+ filterButtonLabelTranslated: g,
25
+ dropdownMenuTranslation: o
26
+ }, k) => {
27
+ const l = i === "Sort", t = `${B}-filter-dropdown-menu`;
28
28
  return /* @__PURE__ */ p(
29
29
  "div",
30
30
  {
31
- className: a(e, f),
32
- ref: w,
31
+ className: e(t, f),
32
+ ref: k,
33
33
  "data-testid": "filter-dropdown-desktop",
34
- "aria-label": N || `${l} dropdown desktop`,
34
+ "aria-label": N || `${i} dropdown desktop`,
35
35
  children: [
36
- /* @__PURE__ */ t(
36
+ /* @__PURE__ */ r(
37
37
  v,
38
38
  {
39
- heading: M(x, null, k || null),
40
- className: a(`${e}__header`)
39
+ heading: S(x, null, g || null),
40
+ className: e(`${t}__header`)
41
41
  }
42
42
  ),
43
- /* @__PURE__ */ t("div", { className: a(`${e}__filters`), children: S(_, h).map((r) => /* @__PURE__ */ t(
43
+ /* @__PURE__ */ r("div", { className: e(`${t}__filters`), children: j(_, h).map((a) => /* @__PURE__ */ r(
44
44
  D,
45
45
  {
46
- id: r.label,
47
- labelText: r.label,
48
- name: r.label,
49
- type: o ? "radio" : "checkbox",
50
- checked: r.active,
51
- disabled: r?.disabled,
52
- onChange: (C) => j(C, l ?? "", b)
46
+ id: a.label,
47
+ labelText: a.label,
48
+ name: a.label,
49
+ type: l ? "radio" : "checkbox",
50
+ checked: a.active,
51
+ disabled: a?.disabled,
52
+ onChange: (w) => A(w, i ?? "", b)
53
53
  },
54
- r.label
54
+ a.label
55
55
  )) }),
56
- /* @__PURE__ */ t("div", { className: a(o ? `${e}__button-wrap` : `${e}__buttons-wrap`), children: o ? /* @__PURE__ */ t(
56
+ /* @__PURE__ */ r("div", { className: e(l ? `${t}__button-wrap` : `${t}__buttons-wrap`), children: l ? /* @__PURE__ */ r(
57
57
  n,
58
58
  {
59
- className: a(`${e}__button`),
59
+ className: e(`${t}__button`),
60
60
  variant: s.primary,
61
- onClick: () => c?.(!1),
62
- children: /* @__PURE__ */ t(m, { variant: d.labelMd, className: `${e}__button-text`, children: i?.confirm || "Confirm" })
61
+ onClick: () => d?.(!1),
62
+ children: /* @__PURE__ */ r(m, { variant: c.string2, className: `${t}__button-text`, children: o?.confirm || "Confirm" })
63
63
  }
64
- ) : /* @__PURE__ */ p(g, { children: [
65
- /* @__PURE__ */ t(
64
+ ) : /* @__PURE__ */ p(C, { children: [
65
+ /* @__PURE__ */ r(
66
66
  n,
67
67
  {
68
- className: a(`${e}__buttons`),
68
+ className: e(`${t}__buttons`),
69
69
  variant: s.secondary,
70
- onClick: () => u?.(l ?? ""),
71
- children: /* @__PURE__ */ t(m, { variant: d.labelMd, children: i?.clearAll || "Clear all" })
70
+ onClick: () => u?.(i ?? ""),
71
+ children: /* @__PURE__ */ r(m, { variant: c.string2, children: o?.clearAll || "Clear all" })
72
72
  }
73
73
  ),
74
- /* @__PURE__ */ t(
74
+ /* @__PURE__ */ r(
75
75
  n,
76
76
  {
77
- className: a(`${e}__buttons`),
77
+ className: e(`${t}__buttons`),
78
78
  variant: s.primary,
79
- onClick: () => c?.(!1),
80
- children: /* @__PURE__ */ t(m, { variant: d.labelMd, className: `${e}__button-text`, children: i?.showAuctions || `Show ${$} Auctions` })
79
+ onClick: () => d?.(!1),
80
+ children: /* @__PURE__ */ r(m, { variant: c.string2, className: `${t}__button-text`, children: o?.showAuctions || `Show ${$} Auctions` })
81
81
  }
82
82
  )
83
83
  ] }) })
@@ -86,7 +86,7 @@ const A = F.forwardRef(
86
86
  );
87
87
  }
88
88
  );
89
- A.displayName = "FilterDropdownMenuDesktop";
89
+ I.displayName = "FilterDropdownMenuDesktop";
90
90
  export {
91
- A as FilterDropdownMenuDesktop
91
+ I as FilterDropdownMenuDesktop
92
92
  };
@@ -1,88 +1,88 @@
1
- import { jsxs as b, jsx as e, Fragment as C } from "react/jsx-runtime";
2
- import a from "../../node_modules/classnames/index.js";
3
- import g from "react";
1
+ import { jsxs as d, jsx as r, Fragment as g } from "react/jsx-runtime";
2
+ import e from "../../node_modules/classnames/index.js";
3
+ import C from "react";
4
4
  import n from "../../components/Button/Button.js";
5
5
  import { ButtonVariants as s } from "../../components/Button/types.js";
6
6
  import k from "../../components/Filter/FilterInput.js";
7
7
  import m from "../../components/Text/Text.js";
8
8
  import { TextVariants as c } from "../../components/Text/types.js";
9
9
  import { px as v } from "../../utils/index.js";
10
- import { getFilterDimensions as F, handleInputChange as M } from "./utils.js";
11
- const B = g.forwardRef(
10
+ import { getFilterDimensions as F, handleInputChange as B } from "./utils.js";
11
+ const D = C.forwardRef(
12
12
  ({
13
- className: _,
14
- buttonType: i,
13
+ className: b,
14
+ buttonType: o,
15
15
  filters: f,
16
16
  filterIndex: p,
17
- onApplyFilter: d,
17
+ onApplyFilter: _,
18
18
  onClickClear: $,
19
19
  onSelectFilter: h,
20
20
  resultsCount: u,
21
21
  ariaLabels: x,
22
- dropdownMenuTranslation: o
22
+ dropdownMenuTranslation: a
23
23
  }, N) => {
24
- const l = i === "Sort", t = `${v}-filter-dropdown-menu`;
25
- return /* @__PURE__ */ b(
24
+ const l = o === "Sort", t = `${v}-filter-dropdown-menu`;
25
+ return /* @__PURE__ */ d(
26
26
  "div",
27
27
  {
28
- className: a(`${t}`, _, `${t}--mobile`),
28
+ className: e(`${t}`, b, `${t}--mobile`),
29
29
  ref: N,
30
30
  "data-testid": "filter-dropdown-mobile",
31
- "aria-label": x || `${i} dropdown mobile`,
31
+ "aria-label": x || `${o} dropdown mobile`,
32
32
  children: [
33
- /* @__PURE__ */ e("div", { className: a(`${t}__filters`, `${t}__filters--mobile`), children: F(f, p).map((r) => /* @__PURE__ */ e(
33
+ /* @__PURE__ */ r("div", { className: e(`${t}__filters`, `${t}__filters--mobile`), children: F(f, p).map((i) => /* @__PURE__ */ r(
34
34
  k,
35
35
  {
36
- id: r.label,
37
- labelText: r.label,
38
- name: r.label,
36
+ id: i.label,
37
+ labelText: i.label,
38
+ name: i.label,
39
39
  type: l ? "radio" : "checkbox",
40
- checked: r.active,
41
- disabled: r?.disabled,
42
- onChange: (w) => M(w, i ?? "", h)
40
+ checked: i.active,
41
+ disabled: i?.disabled,
42
+ onChange: (w) => B(w, o ?? "", h)
43
43
  },
44
- r.label
44
+ i.label
45
45
  )) }),
46
- /* @__PURE__ */ e(
46
+ /* @__PURE__ */ r(
47
47
  "div",
48
48
  {
49
- className: a(
49
+ className: e(
50
50
  l ? `${t}__button-wrap` : `${t}__buttons-wrap`,
51
51
  `${t}__mobile-wrap`
52
52
  ),
53
- children: l ? /* @__PURE__ */ e(
53
+ children: l ? /* @__PURE__ */ r(
54
54
  n,
55
55
  {
56
- className: a(`${t}__button`, `${t}__button--mobile`),
56
+ className: e(`${t}__button`, `${t}__button--mobile`),
57
57
  variant: s.primary,
58
- onClick: () => d?.(!1),
59
- children: /* @__PURE__ */ e(m, { variant: c.labelLg, className: `${t}__button-text`, children: o?.confirm || "Confirm" })
58
+ onClick: () => _?.(!1),
59
+ children: /* @__PURE__ */ r(m, { variant: c.string1, className: `${t}__button-text`, children: a?.confirm || "Confirm" })
60
60
  }
61
- ) : /* @__PURE__ */ b(C, { children: [
62
- /* @__PURE__ */ e(
61
+ ) : /* @__PURE__ */ d(g, { children: [
62
+ /* @__PURE__ */ r(
63
63
  n,
64
64
  {
65
- className: a(
65
+ className: e(
66
66
  `${t}__buttons`,
67
67
  `${t}__buttons--mobile`,
68
68
  `${t}__buttons--left`
69
69
  ),
70
70
  variant: s.secondary,
71
- onClick: () => $?.(i ?? ""),
72
- children: /* @__PURE__ */ e(m, { variant: c.labelMd, children: o?.clearAll || "Clear all" })
71
+ onClick: () => $?.(o ?? ""),
72
+ children: /* @__PURE__ */ r(m, { variant: c.string2, children: a?.clearAll || "Clear all" })
73
73
  }
74
74
  ),
75
- /* @__PURE__ */ e(
75
+ /* @__PURE__ */ r(
76
76
  n,
77
77
  {
78
- className: a(
78
+ className: e(
79
79
  `${t}__buttons`,
80
80
  `${t}__buttons--mobile`,
81
81
  `${t}__buttons--right`
82
82
  ),
83
83
  variant: s.primary,
84
- onClick: () => d?.(!1),
85
- children: /* @__PURE__ */ e(m, { variant: c.labelMd, className: `${t}__button-text`, children: o?.showAuctions || `Show ${u} Auctions` })
84
+ onClick: () => _?.(!1),
85
+ children: /* @__PURE__ */ r(m, { variant: c.string2, className: `${t}__button-text`, children: a?.showAuctions || `Show ${u} Auctions` })
86
86
  }
87
87
  )
88
88
  ] })
@@ -93,7 +93,7 @@ const B = g.forwardRef(
93
93
  );
94
94
  }
95
95
  );
96
- B.displayName = "FilterDropdownMenuMobile";
96
+ D.displayName = "FilterDropdownMenuMobile";
97
97
  export {
98
- B as FilterDropdownMenuMobile
98
+ D as FilterDropdownMenuMobile
99
99
  };
@@ -1,46 +1,46 @@
1
- import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
- import C from "../../node_modules/classnames/index.js";
3
- import { forwardRef as E } from "react";
1
+ import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
+ import E from "../../node_modules/classnames/index.js";
3
+ import { forwardRef as b } from "react";
4
4
  import y from "../../components/Button/Button.js";
5
5
  import { ButtonVariants as A } from "../../components/Button/types.js";
6
6
  import L from "../../components/SeldonImage/SeldonImage.js";
7
7
  import { TextVariants as e } from "../../components/Text/types.js";
8
8
  import i from "../../components/Text/Text.js";
9
- import { SSRMediaQuery as M } from "../../providers/SeldonProvider/utils.js";
10
- import { getCommonProps as T } from "../../utils/index.js";
9
+ import { SSRMediaQuery as T } from "../../providers/SeldonProvider/utils.js";
10
+ import { getCommonProps as x } from "../../utils/index.js";
11
11
  import { SaleCardVariants as d } from "./types.js";
12
- const x = E(
12
+ const I = b(
13
13
  ({
14
14
  className: p,
15
- imageSrc: m,
15
+ imageSrc: o,
16
16
  imageAlt: _ = "Auction Image",
17
17
  auctionType: f,
18
18
  titleText: h,
19
19
  date: N,
20
20
  location: $,
21
- badgeText: o,
22
- modalButtonOnClick: t,
21
+ badgeText: t,
22
+ modalButtonOnClick: l,
23
23
  modalButtonText: n,
24
24
  variant: s = d.DEFAULT,
25
- children: u,
25
+ children: g,
26
26
  ...c
27
- }, v) => {
28
- const { className: a, ...S } = T(c, "SaleCard"), b = C(a, p, {
27
+ }, u) => {
28
+ const { className: a, ...v } = x(c, "SaleCard"), S = E(a, p, {
29
29
  [`${a}--${s}`]: s
30
- }), g = { ...S, ...c };
31
- return /* @__PURE__ */ l("article", { ...g, className: b, ref: v, children: [
32
- m ? /* @__PURE__ */ r(L, { src: m, alt: _, className: `${a}__image` }) : null,
33
- /* @__PURE__ */ l("div", { className: `${a}__details`, children: [
30
+ }), C = { ...v, ...c };
31
+ return /* @__PURE__ */ m("article", { ...C, className: S, ref: u, children: [
32
+ o ? /* @__PURE__ */ r(L, { src: o, alt: _, className: `${a}__image` }) : null,
33
+ /* @__PURE__ */ m("div", { className: `${a}__details`, children: [
34
34
  /* @__PURE__ */ r(i, { variant: e.badge, className: `${a}__auction-type`, children: f }),
35
35
  /* @__PURE__ */ r(i, { variant: e.title3, children: h }),
36
- o && /* @__PURE__ */ r(i, { variant: e.badge, className: `${a}__badge`, children: o }),
37
- /* @__PURE__ */ l("div", { className: `${a}__info`, children: [
38
- /* @__PURE__ */ r(i, { variant: e.labelMd, children: $ }),
39
- /* @__PURE__ */ r(i, { variant: e.labelMd, children: N }),
40
- n && t && /* @__PURE__ */ r("div", { className: `${a}__modal-link`, children: /* @__PURE__ */ r(
36
+ t && /* @__PURE__ */ r(i, { variant: e.badge, className: `${a}__badge`, children: t }),
37
+ /* @__PURE__ */ m("div", { className: `${a}__info`, children: [
38
+ /* @__PURE__ */ r(i, { variant: e.string2, children: $ }),
39
+ /* @__PURE__ */ r(i, { variant: e.string2, children: N }),
40
+ n && l && /* @__PURE__ */ r("div", { className: `${a}__modal-link`, children: /* @__PURE__ */ r(
41
41
  y,
42
42
  {
43
- onClick: t,
43
+ onClick: l,
44
44
  variant: A.tertiary,
45
45
  className: `${a}__modal-link-button`,
46
46
  children: n
@@ -48,11 +48,11 @@ const x = E(
48
48
  ) })
49
49
  ] })
50
50
  ] }),
51
- s !== d.RELATED_SALE_TILE && /* @__PURE__ */ r(M.Media, { greaterThanOrEqual: "md", children: u })
51
+ s !== d.RELATED_SALE_TILE && /* @__PURE__ */ r(T.Media, { greaterThanOrEqual: "md", children: g })
52
52
  ] });
53
53
  }
54
54
  );
55
- x.displayName = "SaleCard";
55
+ I.displayName = "SaleCard";
56
56
  export {
57
- x as default
57
+ I as default
58
58
  };
@@ -1,4 +1,4 @@
1
- import { jsxs as o, jsx as a } from "react/jsx-runtime";
1
+ import { jsxs as n, jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as R } from "react";
3
3
  import { getCommonProps as D } from "../../utils/index.js";
4
4
  import F from "../../node_modules/classnames/index.js";
@@ -8,67 +8,67 @@ import { AuctionStatus as q } from "../../types/commonTypes.js";
8
8
  import { TextVariants as r } from "../../components/Text/types.js";
9
9
  import t from "../../components/Text/Text.js";
10
10
  import z from "../../components/PageContentWrapper/PageContentWrapper.js";
11
- import { SSRMediaQuery as v } from "../../providers/SeldonProvider/utils.js";
11
+ import { SSRMediaQuery as g } from "../../providers/SeldonProvider/utils.js";
12
12
  const A = R(
13
13
  ({
14
- auctionEndTime: n,
15
- auctionTitle: l,
16
- badgeText: s,
17
- imageSrcUrl: N,
18
- imageSrcSet: S,
14
+ auctionEndTime: i,
15
+ auctionTitle: o,
16
+ badgeText: c,
17
+ imageSrcUrl: v,
18
+ imageSrcSet: N,
19
19
  imageSizes: u,
20
- imageLoading: $,
21
- imageFetchPriority: g,
22
- location: b,
23
- countdownTimerLabel: w,
24
- countdownFormatDuration: B,
25
- auctionState: M,
26
- occurrenceInformation: k,
20
+ imageLoading: S,
21
+ imageFetchPriority: $,
22
+ location: w,
23
+ countdownTimerLabel: B,
24
+ countdownFormatDuration: b,
25
+ auctionState: k,
26
+ occurrenceInformation: x,
27
27
  onClick: I,
28
- children: x,
29
- className: y,
30
- footerElement: C,
31
- headerLabel: P,
32
- showTimer: c,
33
- getCurrentDateTime: j,
34
- ...i
28
+ children: C,
29
+ className: P,
30
+ footerElement: j,
31
+ headerLabel: y,
32
+ showTimer: l,
33
+ getCurrentDateTime: H,
34
+ ...s
35
35
  }, m) => {
36
- const { className: e, ...d } = D(i, "SaleHeaderBanner"), _ = M === q.live, p = {
37
- endDateTime: n,
38
- label: w,
39
- formatDurationStr: B,
40
- getCurrentDateTime: j
36
+ const { className: e, ...d } = D(s, "SaleHeaderBanner"), _ = k === q.live, p = {
37
+ endDateTime: i,
38
+ label: B,
39
+ formatDurationStr: b,
40
+ getCurrentDateTime: H
41
41
  };
42
- return /* @__PURE__ */ o("div", { ...d, className: F(e, y), ...i, ref: m, children: [
43
- _ && n && c ? /* @__PURE__ */ a(v.Media, { lessThan: "md", children: /* @__PURE__ */ a("div", { className: `${e}__stack__countdown`, children: /* @__PURE__ */ a(f, { ...p, showBottomBorder: !1 }) }) }) : null,
42
+ return /* @__PURE__ */ n("div", { ...d, className: F(e, P), ...s, ref: m, children: [
43
+ _ && i && l ? /* @__PURE__ */ a(g.Media, { lessThan: "md", children: /* @__PURE__ */ a("div", { className: `${e}__stack__countdown`, children: /* @__PURE__ */ a(f, { ...p, showBottomBorder: !1 }) }) }) : null,
44
44
  /* @__PURE__ */ a(
45
45
  O,
46
46
  {
47
47
  aspectRatio: "16/9",
48
- src: N,
49
- alt: String(l),
48
+ src: v,
49
+ alt: String(o),
50
50
  objectFit: "cover",
51
51
  className: `${e}__image`,
52
- srcSet: S,
52
+ srcSet: N,
53
53
  sizes: u,
54
- loading: $,
55
- fetchPriority: g
54
+ loading: S,
55
+ fetchPriority: $
56
56
  }
57
57
  ),
58
- /* @__PURE__ */ a(z, { className: `${e}__stack-wrapper`, ...d, ...i, ref: m, children: /* @__PURE__ */ o("div", { className: `${e}__stack`, children: [
59
- _ && n && c ? /* @__PURE__ */ a(v.Media, { greaterThanOrEqual: "md", children: /* @__PURE__ */ a("div", { className: `${e}__stack__countdown`, children: /* @__PURE__ */ a(f, { ...p }) }) }) : null,
60
- /* @__PURE__ */ a(t, { variant: r.eyebrowSm, children: P }),
61
- /* @__PURE__ */ a(t, { variant: r.title1, children: l }),
62
- s && /* @__PURE__ */ a(t, { variant: r.eyebrowSm, className: `${e}__badge`, children: s }),
63
- /* @__PURE__ */ a(t, { variant: r.labelMd, className: `${e}__location`, children: b }),
64
- /* @__PURE__ */ o("div", { className: `${e}__occurrence-details`, children: [
65
- k.map(({ date: h, occurrenceLabel: H }) => /* @__PURE__ */ o("div", { className: `${e}__occurrence-details-text`, children: [
66
- /* @__PURE__ */ a(t, { variant: r.labelMd, children: H }),
67
- /* @__PURE__ */ a(t, { variant: r.labelMd, className: `${e}__date`, children: h })
58
+ /* @__PURE__ */ a(z, { className: `${e}__stack-wrapper`, ...d, ...s, ref: m, children: /* @__PURE__ */ n("div", { className: `${e}__stack`, children: [
59
+ _ && i && l ? /* @__PURE__ */ a(g.Media, { greaterThanOrEqual: "md", children: /* @__PURE__ */ a("div", { className: `${e}__stack__countdown`, children: /* @__PURE__ */ a(f, { ...p }) }) }) : null,
60
+ /* @__PURE__ */ a(t, { variant: r.badge, children: y }),
61
+ /* @__PURE__ */ a(t, { variant: r.title1, children: o }),
62
+ c && /* @__PURE__ */ a(t, { variant: r.badge, className: `${e}__badge`, children: c }),
63
+ /* @__PURE__ */ a(t, { variant: r.string2, className: `${e}__location`, children: w }),
64
+ /* @__PURE__ */ n("div", { className: `${e}__occurrence-details`, children: [
65
+ x.map(({ date: h, occurrenceLabel: M }) => /* @__PURE__ */ n("div", { className: `${e}__occurrence-details-text`, children: [
66
+ /* @__PURE__ */ a(t, { variant: r.string2, children: M }),
67
+ /* @__PURE__ */ a(t, { variant: r.string2, className: `${e}__date`, children: h })
68
68
  ] }, String(h))),
69
- x
69
+ C
70
70
  ] }),
71
- C
71
+ j
72
72
  ] }) })
73
73
  ] });
74
74
  }
@@ -1,15 +1,15 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as m } from "react";
3
- import { getCommonProps as i } from "../../utils/index.js";
4
- import { TextVariants as l } from "../../components/Text/types.js";
5
- import n from "../../components/Text/Text.js";
2
+ import { forwardRef as i } from "react";
3
+ import { getCommonProps as m } from "../../utils/index.js";
4
+ import { TextVariants as n } from "../../components/Text/types.js";
5
+ import l from "../../components/Text/Text.js";
6
6
  import "../../components/Link/types.js";
7
7
  import c from "../../components/Link/Link.js";
8
- const d = m(
8
+ const d = i(
9
9
  ({ ctaText: r = "View Calendar", ctaLabel: a = "Browse Upcoming Sale", className: f, ...o }, p) => {
10
- const { className: s } = i(o, "SaleHeaderBanner");
10
+ const { className: s } = m(o, "SaleHeaderBanner");
11
11
  return /* @__PURE__ */ t("div", { className: `${s}__occurrence-details-text`, children: [
12
- /* @__PURE__ */ e(n, { variant: l.labelMd, children: a }),
12
+ /* @__PURE__ */ e(l, { variant: n.string2, children: a }),
13
13
  /* @__PURE__ */ e(c, { href: "/calendar", children: r })
14
14
  ] });
15
15
  }