@phillips/seldon 1.213.0 → 1.214.0-beta.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.
Files changed (158) hide show
  1. package/dist/_virtual/index4.js +2 -2
  2. package/dist/_virtual/index5.js +2 -2
  3. package/dist/_virtual/index6.js +2 -2
  4. package/dist/assets/formatted/Clock.d.ts +9 -0
  5. package/dist/assets/formatted/Clock.js +35 -0
  6. package/dist/assets/formatted/index.d.ts +1 -0
  7. package/dist/assets/formatted/index.js +14 -12
  8. package/dist/components/AddToCalendar/AddToCalendar.js +24 -25
  9. package/dist/components/Article/Article.js +17 -17
  10. package/dist/components/Breadcrumb/BreadcrumbItem.js +13 -13
  11. package/dist/components/Button/Button.d.ts +4 -0
  12. package/dist/components/Button/Button.js +71 -53
  13. package/dist/components/Button/Button.stories.d.ts +7 -1
  14. package/dist/components/ComboBox/ComboBox.js +34 -29
  15. package/dist/components/ComposedModal/ComposedModal.js +33 -33
  16. package/dist/components/ComposedModal/ComposedModal.stories.d.ts +1 -0
  17. package/dist/components/Countdown/Countdown.js +90 -51
  18. package/dist/components/Countdown/Duration.d.ts +3 -1
  19. package/dist/components/Countdown/Duration.js +17 -9
  20. package/dist/components/Countdown/types.d.ts +2 -1
  21. package/dist/components/Countdown/types.js +1 -1
  22. package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.js +21 -21
  23. package/dist/components/Detail/Detail.d.ts +2 -0
  24. package/dist/components/Detail/Detail.js +26 -15
  25. package/dist/components/Detail/Detail.stories.d.ts +9 -2
  26. package/dist/components/Drawer/DrawerHeader.js +22 -20
  27. package/dist/components/ExitGateCard/ExitGateCard.js +29 -29
  28. package/dist/components/FavoritingTileButton/FavoritingTileButton.js +30 -31
  29. package/dist/components/Filter/Filter.js +36 -34
  30. package/dist/components/Filter/FilterHeader.d.ts +4 -0
  31. package/dist/components/Filter/FilterHeader.js +30 -22
  32. package/dist/components/Input/Input.js +43 -39
  33. package/dist/components/Input/Input.stories.d.ts +16 -0
  34. package/dist/components/Link/Link.js +11 -11
  35. package/dist/components/Link/Link.stories.d.ts +17 -1
  36. package/dist/components/Link/types.d.ts +9 -4
  37. package/dist/components/Link/types.js +3 -3
  38. package/dist/components/LinkBlock/LinkBlock.js +19 -11
  39. package/dist/components/Modal/Modal.d.ts +0 -4
  40. package/dist/components/Modal/Modal.js +6 -6
  41. package/dist/components/Navigation/NavigationItem/NavigationItem.js +31 -23
  42. package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js +29 -29
  43. package/dist/components/Navigation/NavigationList/NavigationList.js +5 -5
  44. package/dist/components/Pagination/Pagination.js +22 -21
  45. package/dist/components/ProgressIndicator/ProgressIndicator.js +22 -22
  46. package/dist/components/Search/Search.js +55 -53
  47. package/dist/components/Search/SearchResults/SearchResults.js +16 -16
  48. package/dist/components/Select/Select.d.ts +4 -0
  49. package/dist/components/Select/Select.js +51 -45
  50. package/dist/components/Select/Select.stories.d.ts +1 -0
  51. package/dist/components/Tabs/TabsContainer.js +1 -1
  52. package/dist/components/Tags/Tags.js +32 -30
  53. package/dist/components/Text/Text.js +17 -9
  54. package/dist/components/Text/types.d.ts +42 -1
  55. package/dist/components/Text/types.js +3 -3
  56. package/dist/components/Text/utils.js +40 -7
  57. package/dist/components/TextArea/TextArea.js +38 -34
  58. package/dist/components/Toast/Toast.js +4 -4
  59. package/dist/node_modules/ics/dist/index.js +2 -2
  60. package/dist/node_modules/ics/dist/pipeline/index.js +1 -1
  61. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  62. package/dist/patterns/AccountPageHeader/AccountPageHeader.js +45 -28
  63. package/dist/patterns/BidSnapshot/BidMessage.d.ts +6 -1
  64. package/dist/patterns/BidSnapshot/BidMessage.js +14 -13
  65. package/dist/patterns/BidSnapshot/BidSnapshot.d.ts +7 -1
  66. package/dist/patterns/BidSnapshot/BidSnapshot.js +84 -66
  67. package/dist/patterns/BidSnapshot/BidSnapshot.stories.d.ts +100 -0
  68. package/dist/patterns/CountryPicker/CountryPickerCountryList.js +5 -5
  69. package/dist/patterns/CountryPicker/CountryPickerModal.js +8 -8
  70. package/dist/patterns/CountryPicker/CountryPickerOption.js +22 -20
  71. package/dist/patterns/CountryPicker/CountryPickerTrigger.js +39 -38
  72. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +52 -52
  73. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.stories.d.ts +1 -0
  74. package/dist/patterns/FiltersInline/FilterButton.js +41 -25
  75. package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +50 -52
  76. package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +31 -31
  77. package/dist/patterns/HeroBanner/HeroBanner.js +21 -21
  78. package/dist/patterns/LanguageSelector/LanguageSelector.js +34 -34
  79. package/dist/patterns/ObjectTile/ObjectTile.js +51 -66
  80. package/dist/patterns/ObjectTile/ObjectTile.stories.d.ts +36 -0
  81. package/dist/patterns/PhoneNumberInput/PhoneNumberInput.js +7 -6
  82. package/dist/patterns/SaleCard/SaleCard.js +37 -45
  83. package/dist/patterns/SaleCard/SaleCard.stories.d.ts +1 -1
  84. package/dist/patterns/SaleCard/SaleCardActions.js +9 -8
  85. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +49 -49
  86. package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js +19 -12
  87. package/dist/patterns/Social/Social.js +20 -20
  88. package/dist/patterns/Subscribe/Subscribe.stories.d.ts +0 -1
  89. package/dist/patterns/TextBanner/TextBanner.js +12 -12
  90. package/dist/patterns/UserManagement/UserManagement.js +13 -13
  91. package/dist/patterns/ViewingDetails/ViewingDetails.d.ts +4 -0
  92. package/dist/patterns/ViewingDetails/ViewingDetails.js +36 -34
  93. package/dist/patterns/ViewingDetails/ViewingDetails.stories.d.ts +2 -0
  94. package/dist/patterns/ViewingDetails/ViewingDetailsMock.d.ts +2 -0
  95. package/dist/scss/_reset.scss +4 -0
  96. package/dist/scss/_type.scss +172 -65
  97. package/dist/scss/_vars.scss +92 -197
  98. package/dist/scss/_vars.scss.js +94 -199
  99. package/dist/scss/componentStyles.scss +178 -0
  100. package/dist/scss/components/Accordion/_accordion.scss +6 -4
  101. package/dist/scss/components/Breadcrumb/_breadcrumb.scss +8 -1
  102. package/dist/scss/components/Button/_button.scss +33 -7
  103. package/dist/scss/components/ComboBox/_combobox.scss +7 -5
  104. package/dist/scss/components/ComposedModal/_composedModal.scss +0 -4
  105. package/dist/scss/components/Countdown/_countdown.scss +8 -9
  106. package/dist/scss/components/Countdown/_duration.scss +0 -2
  107. package/dist/scss/components/DatePicker/_datePicker.scss +11 -10
  108. package/dist/scss/components/Detail/_detail.scss +15 -6
  109. package/dist/scss/components/Divider/_divider.scss +3 -3
  110. package/dist/scss/components/Drawer/_drawerHeader.scss +0 -7
  111. package/dist/scss/components/Dropdown/_dropdown.scss +2 -2
  112. package/dist/scss/components/FavoritingTileButton/_favoritingTileButton.scss +5 -0
  113. package/dist/scss/components/Filter/_filter.scss +23 -8
  114. package/dist/scss/components/Icon/_icon.stories.scss +1 -1
  115. package/dist/scss/components/IconButton/_iconButton.scss +3 -5
  116. package/dist/scss/components/Input/_input.scss +22 -14
  117. package/dist/scss/components/Link/_link.scss +13 -8
  118. package/dist/scss/components/LinkBlock/_linkBlock.scss +5 -1
  119. package/dist/scss/components/LinkList/_linkList.scss +8 -0
  120. package/dist/scss/components/Modal/_modal.scss +2 -2
  121. package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +33 -14
  122. package/dist/scss/components/Navigation/NavigationItemTrigger/_navigationItemTrigger.scss +1 -1
  123. package/dist/scss/components/Navigation/NavigationList/_navigationList.scss +2 -2
  124. package/dist/scss/components/NotificationBanner/_notificationBanner.scss +4 -10
  125. package/dist/scss/components/Pagination/_pagination.scss +17 -1
  126. package/dist/scss/components/ProgressIndicator/_progressIndicator.scss +5 -0
  127. package/dist/scss/components/Search/SearchResults/_searchResults.scss +5 -0
  128. package/dist/scss/components/Search/_search.scss +9 -10
  129. package/dist/scss/components/Search/_searchButton.scss +0 -1
  130. package/dist/scss/components/Select/_select.scss +8 -3
  131. package/dist/scss/components/Tabs/_tabs.scss +4 -5
  132. package/dist/scss/components/Tags/_tags.scss +0 -2
  133. package/dist/scss/components/TextArea/_textArea.scss +2 -4
  134. package/dist/scss/components/TextSymbol/_textSymbol.scss +2 -2
  135. package/dist/scss/patterns/AccountPageHeader/_accountPageHeader.scss +4 -0
  136. package/dist/scss/patterns/BidSnapshot/_bidSnapshot.scss +9 -10
  137. package/dist/scss/patterns/CountryPicker/_countryPickerModal.scss +4 -0
  138. package/dist/scss/patterns/CountryPicker/_countryPickerOption.scss +3 -0
  139. package/dist/scss/patterns/CountryPicker/_countryPickerTrigger.scss +4 -7
  140. package/dist/scss/patterns/DetailList/_detailList.scss +4 -0
  141. package/dist/scss/patterns/FavoritesCollectionTile/_favoritesCollectionTile.scss +6 -8
  142. package/dist/scss/patterns/FilterMenu/_filterMenu.scss +2 -1
  143. package/dist/scss/patterns/FiltersInline/_filterButton.scss +11 -2
  144. package/dist/scss/patterns/FiltersInline/_filterDropdownMenu.scss +1 -9
  145. package/dist/scss/patterns/FiltersInline/_filtersInline.scss +5 -0
  146. package/dist/scss/patterns/HeroBanner/_heroBanner.scss +13 -6
  147. package/dist/scss/patterns/ObjectTile/_objectTile.scss +13 -12
  148. package/dist/scss/patterns/PhoneNumberInput/_phoneNumberInput.scss +9 -2
  149. package/dist/scss/patterns/SaleCard/_saleCard.scss +13 -22
  150. package/dist/scss/patterns/SaleHeaderBanner/_saleHeaderBanner.scss +16 -3
  151. package/dist/scss/patterns/Social/_social.scss +4 -1
  152. package/dist/scss/patterns/Subscribe/_subscribe.scss +3 -3
  153. package/dist/scss/patterns/TextBanner/_textBanner.scss +9 -3
  154. package/dist/scss/patterns/ViewingDetails/_viewingDetails.scss +15 -3
  155. package/dist/scss/site-furniture/Footer/_footer.scss +8 -2
  156. package/dist/scss/site-furniture/Header/_header.scss +8 -4
  157. package/dist/site-furniture/Footer/Footer.js +4 -4
  158. package/package.json +4 -3
@@ -1,36 +1,52 @@
1
- import { jsxs as p, jsx as e } from "react/jsx-runtime";
2
- import u from "../../node_modules/classnames/index.js";
3
- import b from "react";
4
- import $ from "../../components/Button/Button.js";
5
- import { ButtonVariants as h } from "../../components/Button/types.js";
6
- import x from "../../components/Icon/Icon.js";
7
- import { TextVariants as v } from "../../components/Text/types.js";
8
- import F from "../../components/Text/Text.js";
1
+ import { jsxs as u, jsx as o } from "react/jsx-runtime";
2
+ import $ from "../../node_modules/classnames/index.js";
3
+ import h from "react";
4
+ import x from "../../components/Button/Button.js";
5
+ import { ButtonVariants as _ } from "../../components/Button/types.js";
6
+ import v from "../../components/Icon/Icon.js";
7
+ import { TextVariants as l } from "../../components/Text/types.js";
8
+ import m from "../../components/Text/Text.js";
9
9
  import { px as t } from "../../utils/index.js";
10
- import { getIcon as w } from "./utils.js";
11
- const B = b.forwardRef(
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
- $,
10
+ import { getIcon as F } from "./utils.js";
11
+ const N = h.forwardRef(
12
+ ({ className: n, label: s, onClick: f, isSelected: i, type: r = "ChevronDown", count: c, id: a, ariaLabel: d, isMobile: b, totalCount: e }, p) => /* @__PURE__ */ u(
13
+ x,
14
14
  {
15
- ref: d,
16
- className: u(`${t}-filter-button`, m, {
17
- [`${t}-filter-button--selected`]: a || s > 0 || r === "Filter" && o > 0,
15
+ ref: p,
16
+ className: $(`${t}-filter-button`, n, {
17
+ [`${t}-filter-button--selected`]: i || c > 0 || r === "Filter" && e > 0,
18
18
  [`${t}-filter-button--filter`]: r === "Filter"
19
19
  }),
20
- "aria-label": f,
21
- variant: h.secondary,
22
- "data-testid": `${i}-filter-button`,
23
- "data-viewport": c ? "mobile" : "desktop",
24
- onClick: l,
20
+ "aria-label": d,
21
+ variant: _.secondary,
22
+ "data-testid": `${a}-filter-button`,
23
+ "data-viewport": b ? "mobile" : "desktop",
24
+ onClick: f,
25
25
  children: [
26
- /* @__PURE__ */ e(F, { variant: v.string2, "data-testid": `${i}-filter-label`, children: n }),
27
- /* @__PURE__ */ e(x, { icon: w(r, a), height: 8, width: 8, className: `${t}__icon` }),
28
- o > 0 && r === "Filter" && /* @__PURE__ */ e("div", { className: `${t}-filter-button--count`, "data-testid": `${i}-filter-count`, children: o })
26
+ /* @__PURE__ */ o(
27
+ m,
28
+ {
29
+ className: `${t}-filter-button__label`,
30
+ variant: l.labelSmall,
31
+ "data-testid": `${a}-filter-label`,
32
+ children: s
33
+ }
34
+ ),
35
+ /* @__PURE__ */ o(v, { icon: F(r, i), height: 8, width: 8, className: `${t}__icon` }),
36
+ e > 0 && r === "Filter" && /* @__PURE__ */ o(
37
+ m,
38
+ {
39
+ variant: l.labelSmall,
40
+ className: `${t}-filter-button--count`,
41
+ "data-testid": `${a}-filter-count`,
42
+ children: e
43
+ }
44
+ )
29
45
  ]
30
46
  }
31
47
  )
32
48
  );
33
- B.displayName = "FilterButton";
49
+ N.displayName = "FilterButton";
34
50
  export {
35
- B as FilterButton
51
+ N as FilterButton
36
52
  };
@@ -1,73 +1,71 @@
1
- import { jsxs as p, jsx as r, Fragment as w } from "react/jsx-runtime";
2
- import e from "../../node_modules/classnames/index.js";
3
- import C from "react";
4
- import n from "../../components/Button/Button.js";
5
- import { ButtonVariants as l } from "../../components/Button/types.js";
6
- import g from "../../components/Filter/FilterInput.js";
7
- import m from "../../components/Text/Text.js";
8
- import { TextVariants as c } from "../../components/Text/types.js";
9
- import { px as v } from "../../utils/index.js";
10
- import { getFilterDimensions as D, handleInputChange as F } from "./utils.js";
11
- const B = C.forwardRef(
1
+ import { jsxs as c, jsx as e, Fragment as u } from "react/jsx-runtime";
2
+ import r from "../../node_modules/classnames/index.js";
3
+ import w from "react";
4
+ import l from "../../components/Button/Button.js";
5
+ import { ButtonVariants as n } from "../../components/Button/types.js";
6
+ import x from "../../components/Filter/FilterInput.js";
7
+ import { px as C } from "../../utils/index.js";
8
+ import { getFilterDimensions as D, handleInputChange as g } from "./utils.js";
9
+ const F = w.forwardRef(
12
10
  ({
13
- className: f,
14
- buttonType: i,
15
- filters: _,
16
- filterIndex: h,
17
- onSelectFilter: b,
18
- onClickClear: $,
19
- onApplyFilter: d,
20
- resultsCount: x,
21
- ariaLabels: N,
22
- dropdownMenuTranslation: o
23
- }, k) => {
24
- const s = i === "Sort", t = `${v}-filter-dropdown-menu`;
25
- return /* @__PURE__ */ p(
11
+ className: d,
12
+ buttonType: o,
13
+ filters: p,
14
+ filterIndex: f,
15
+ onSelectFilter: _,
16
+ onClickClear: h,
17
+ onApplyFilter: m,
18
+ resultsCount: b,
19
+ ariaLabels: $,
20
+ dropdownMenuTranslation: s
21
+ }, N) => {
22
+ const i = o === "Sort", t = `${C}-filter-dropdown-menu`;
23
+ return /* @__PURE__ */ c(
26
24
  "div",
27
25
  {
28
- className: e(t, f),
29
- ref: k,
26
+ className: r(t, d),
27
+ ref: N,
30
28
  "data-testid": "filter-dropdown-desktop",
31
- "aria-label": N || `${i} dropdown desktop`,
29
+ "aria-label": $ || `${o} dropdown desktop`,
32
30
  children: [
33
- /* @__PURE__ */ r("div", { className: e(`${t}__filters`), children: D(_, h).map((a) => /* @__PURE__ */ r(
34
- g,
31
+ /* @__PURE__ */ e("div", { className: r(`${t}__filters`), children: D(p, f).map((a) => /* @__PURE__ */ e(
32
+ x,
35
33
  {
36
34
  id: a.label,
37
35
  labelText: a.label,
38
36
  name: a.label,
39
- type: s ? "radio" : "checkbox",
37
+ type: i ? "radio" : "checkbox",
40
38
  checked: a.active,
41
39
  disabled: a?.disabled,
42
- onChange: (u) => F(u, i ?? "", b)
40
+ onChange: (k) => g(k, o ?? "", _)
43
41
  },
44
42
  a.label
45
43
  )) }),
46
- /* @__PURE__ */ r("div", { className: e(s ? `${t}__button-wrap` : `${t}__buttons-wrap`), children: s ? /* @__PURE__ */ r(
47
- n,
44
+ /* @__PURE__ */ e("div", { className: r(i ? `${t}__button-wrap` : `${t}__buttons-wrap`), children: i ? /* @__PURE__ */ e(
45
+ l,
48
46
  {
49
- className: e(`${t}__button`),
50
- variant: l.primary,
51
- onClick: () => d?.(!1),
52
- children: /* @__PURE__ */ r(m, { variant: c.string2, className: `${t}__button-text`, children: o?.confirm || "Confirm" })
47
+ className: r(`${t}__button`),
48
+ variant: n.primary,
49
+ onClick: () => m?.(!1),
50
+ children: /* @__PURE__ */ e("span", { className: `${t}__button-text`, children: s?.confirm || "Confirm" })
53
51
  }
54
- ) : /* @__PURE__ */ p(w, { children: [
55
- /* @__PURE__ */ r(
56
- n,
52
+ ) : /* @__PURE__ */ c(u, { children: [
53
+ /* @__PURE__ */ e(
54
+ l,
57
55
  {
58
- className: e(`${t}__buttons`),
59
- variant: l.secondary,
60
- onClick: () => $?.(i ?? ""),
61
- children: /* @__PURE__ */ r(m, { variant: c.string2, children: o?.clearAll || "Clear all" })
56
+ className: r(`${t}__buttons`),
57
+ variant: n.secondary,
58
+ onClick: () => h?.(o ?? ""),
59
+ children: s?.clearAll || "Clear all"
62
60
  }
63
61
  ),
64
- /* @__PURE__ */ r(
65
- n,
62
+ /* @__PURE__ */ e(
63
+ l,
66
64
  {
67
- className: e(`${t}__buttons`),
68
- variant: l.primary,
69
- onClick: () => d?.(!1),
70
- children: /* @__PURE__ */ r(m, { variant: c.string2, className: `${t}__button-text`, children: o?.showAuctions || `Show ${x} Auctions` })
65
+ className: r(`${t}__buttons`),
66
+ variant: n.primary,
67
+ onClick: () => m?.(!1),
68
+ children: /* @__PURE__ */ e("span", { className: `${t}__button-text`, children: s?.showAuctions || `Show ${b} Auctions` })
71
69
  }
72
70
  )
73
71
  ] }) })
@@ -76,7 +74,7 @@ const B = C.forwardRef(
76
74
  );
77
75
  }
78
76
  );
79
- B.displayName = "FilterDropdownMenuDesktop";
77
+ F.displayName = "FilterDropdownMenuDesktop";
80
78
  export {
81
- B as FilterDropdownMenuDesktop
79
+ F as FilterDropdownMenuDesktop
82
80
  };
@@ -1,20 +1,20 @@
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";
1
+ import { jsxs as _, jsx as e, Fragment as C } from "react/jsx-runtime";
2
+ import r from "../../node_modules/classnames/index.js";
3
+ import g from "react";
4
4
  import n from "../../components/Button/Button.js";
5
- import { ButtonVariants as s } from "../../components/Button/types.js";
5
+ import { ButtonVariants as m } from "../../components/Button/types.js";
6
6
  import k from "../../components/Filter/FilterInput.js";
7
- import m from "../../components/Text/Text.js";
7
+ import s 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 B } from "./utils.js";
11
- const D = C.forwardRef(
10
+ import { getFilterDimensions as S, handleInputChange as F } from "./utils.js";
11
+ const y = g.forwardRef(
12
12
  ({
13
13
  className: b,
14
14
  buttonType: o,
15
15
  filters: f,
16
16
  filterIndex: p,
17
- onApplyFilter: _,
17
+ onApplyFilter: d,
18
18
  onClickClear: $,
19
19
  onSelectFilter: h,
20
20
  resultsCount: u,
@@ -22,15 +22,15 @@ const D = C.forwardRef(
22
22
  dropdownMenuTranslation: a
23
23
  }, N) => {
24
24
  const l = o === "Sort", t = `${v}-filter-dropdown-menu`;
25
- return /* @__PURE__ */ d(
25
+ return /* @__PURE__ */ _(
26
26
  "div",
27
27
  {
28
- className: e(`${t}`, b, `${t}--mobile`),
28
+ className: r(`${t}`, b, `${t}--mobile`),
29
29
  ref: N,
30
30
  "data-testid": "filter-dropdown-mobile",
31
31
  "aria-label": x || `${o} dropdown mobile`,
32
32
  children: [
33
- /* @__PURE__ */ r("div", { className: e(`${t}__filters`, `${t}__filters--mobile`), children: F(f, p).map((i) => /* @__PURE__ */ r(
33
+ /* @__PURE__ */ e("div", { className: r(`${t}__filters`, `${t}__filters--mobile`), children: S(f, p).map((i) => /* @__PURE__ */ e(
34
34
  k,
35
35
  {
36
36
  id: i.label,
@@ -39,50 +39,50 @@ const D = C.forwardRef(
39
39
  type: l ? "radio" : "checkbox",
40
40
  checked: i.active,
41
41
  disabled: i?.disabled,
42
- onChange: (w) => B(w, o ?? "", h)
42
+ onChange: (w) => F(w, o ?? "", h)
43
43
  },
44
44
  i.label
45
45
  )) }),
46
- /* @__PURE__ */ r(
46
+ /* @__PURE__ */ e(
47
47
  "div",
48
48
  {
49
- className: e(
49
+ className: r(
50
50
  l ? `${t}__button-wrap` : `${t}__buttons-wrap`,
51
51
  `${t}__mobile-wrap`
52
52
  ),
53
- children: l ? /* @__PURE__ */ r(
53
+ children: l ? /* @__PURE__ */ e(
54
54
  n,
55
55
  {
56
- className: e(`${t}__button`, `${t}__button--mobile`),
57
- variant: s.primary,
58
- onClick: () => _?.(!1),
59
- children: /* @__PURE__ */ r(m, { variant: c.string1, className: `${t}__button-text`, children: a?.confirm || "Confirm" })
56
+ className: r(`${t}__button`, `${t}__button--mobile`),
57
+ variant: m.primary,
58
+ onClick: () => d?.(!1),
59
+ children: /* @__PURE__ */ e(s, { variant: c.headingMedium, className: `${t}__button-text`, children: a?.confirm || "Confirm" })
60
60
  }
61
- ) : /* @__PURE__ */ d(g, { children: [
62
- /* @__PURE__ */ r(
61
+ ) : /* @__PURE__ */ _(C, { children: [
62
+ /* @__PURE__ */ e(
63
63
  n,
64
64
  {
65
- className: e(
65
+ className: r(
66
66
  `${t}__buttons`,
67
67
  `${t}__buttons--mobile`,
68
68
  `${t}__buttons--left`
69
69
  ),
70
- variant: s.secondary,
70
+ variant: m.secondary,
71
71
  onClick: () => $?.(o ?? ""),
72
- children: /* @__PURE__ */ r(m, { variant: c.string2, children: a?.clearAll || "Clear all" })
72
+ children: /* @__PURE__ */ e(s, { variant: c.bodySmall, children: a?.clearAll || "Clear all" })
73
73
  }
74
74
  ),
75
- /* @__PURE__ */ r(
75
+ /* @__PURE__ */ e(
76
76
  n,
77
77
  {
78
- className: e(
78
+ className: r(
79
79
  `${t}__buttons`,
80
80
  `${t}__buttons--mobile`,
81
81
  `${t}__buttons--right`
82
82
  ),
83
- variant: s.primary,
84
- onClick: () => _?.(!1),
85
- children: /* @__PURE__ */ r(m, { variant: c.string2, className: `${t}__button-text`, children: a?.showAuctions || `Show ${u} Auctions` })
83
+ variant: m.primary,
84
+ onClick: () => d?.(!1),
85
+ children: /* @__PURE__ */ e(s, { variant: c.bodySmall, className: `${t}__button-text`, children: a?.showAuctions || `Show ${u} Auctions` })
86
86
  }
87
87
  )
88
88
  ] })
@@ -93,7 +93,7 @@ const D = C.forwardRef(
93
93
  );
94
94
  }
95
95
  );
96
- D.displayName = "FilterDropdownMenuMobile";
96
+ y.displayName = "FilterDropdownMenuMobile";
97
97
  export {
98
- D as FilterDropdownMenuMobile
98
+ y as FilterDropdownMenuMobile
99
99
  };
@@ -1,34 +1,34 @@
1
- import { jsx as r, jsxs as m } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as o } from "react/jsx-runtime";
2
2
  import { forwardRef as u } from "react";
3
- import { getCommonProps as H } from "../../utils/index.js";
3
+ import { getCommonProps as _ } from "../../utils/index.js";
4
4
  import N from "../../node_modules/classnames/index.js";
5
- import { TextVariants as c } from "../../components/Text/types.js";
6
- import i from "../../components/Text/Text.js";
7
- const _ = u(
8
- ({ prehead: e, date: a, headerText: t, subHeadText: l, association: s, background: p, className: d, ...o }, f) => {
9
- const { className: n, ...h } = H(o, "HeroBanner");
5
+ import { TextVariants as t } from "../../components/Text/types.js";
6
+ import c from "../../components/Text/Text.js";
7
+ const x = u(
8
+ ({ prehead: a, date: n, headerText: i, subHeadText: s, association: l, background: d, className: p, ...m }, h) => {
9
+ const { className: e, ...f } = _(m, "HeroBanner");
10
10
  return /* @__PURE__ */ r(
11
11
  "header",
12
12
  {
13
- ...h,
14
- className: N(n, d),
15
- style: { "--background": p },
16
- ref: f,
17
- ...o,
18
- children: /* @__PURE__ */ m("span", { className: `${n}__content-wrapper`, children: [
19
- e || a ? /* @__PURE__ */ m("p", { className: `${n}__pre-head`, children: [
20
- e ? /* @__PURE__ */ r("span", { children: e }) : null,
21
- a ? /* @__PURE__ */ r("span", { children: a }) : null
13
+ ...f,
14
+ className: N(e, p),
15
+ style: { "--background": d },
16
+ ref: h,
17
+ ...m,
18
+ children: /* @__PURE__ */ o("span", { className: `${e}__content-wrapper`, children: [
19
+ a || n ? /* @__PURE__ */ o("p", { className: `${e}__pre-head`, children: [
20
+ a ? /* @__PURE__ */ r("span", { children: a }) : null,
21
+ n ? /* @__PURE__ */ r("span", { children: n }) : null
22
22
  ] }) : null,
23
- /* @__PURE__ */ r(i, { variant: c.snwHeadingHero1, children: t }),
24
- l ? /* @__PURE__ */ r(i, { variant: c.snwHeadingHero2, children: l }) : null,
25
- s ? /* @__PURE__ */ r("p", { className: `${n}__after-head`, children: s }) : null
23
+ /* @__PURE__ */ r(c, { className: `${e}__header-text`, variant: t.displayMedium, children: i }),
24
+ s ? /* @__PURE__ */ r(c, { className: `${e}__sub-head-text`, variant: t.headingMedium, children: s }) : null,
25
+ l ? /* @__PURE__ */ r("p", { className: `${e}__after-head`, children: l }) : null
26
26
  ] })
27
27
  }
28
28
  );
29
29
  }
30
30
  );
31
- _.displayName = "HeroBanner";
31
+ x.displayName = "HeroBanner";
32
32
  export {
33
- _ as default
33
+ x as default
34
34
  };
@@ -1,4 +1,4 @@
1
- import { jsx as e, jsxs as b, Fragment as S } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as L, Fragment as S } from "react/jsx-runtime";
2
2
  import { forwardRef as u } from "react";
3
3
  import { getCommonProps as N, noOp as T } from "../../utils/index.js";
4
4
  import x from "../../node_modules/classnames/index.js";
@@ -7,36 +7,36 @@ import y from "../../components/Dropdown/Dropdown.js";
7
7
  import C from "../../components/Accordion/Accordion.js";
8
8
  import M from "../../components/Accordion/AccordionItem.js";
9
9
  import { AccordionItemVariant as k } from "../../components/Accordion/types.js";
10
- import w from "../../components/Navigation/NavigationItem/NavigationItem.js";
11
- import { LinkVariants as V } from "../../components/Link/types.js";
10
+ import V from "../../components/Navigation/NavigationItem/NavigationItem.js";
11
+ import { LinkVariants as A } from "../../components/Link/types.js";
12
12
  import "../../components/Link/Link.js";
13
- import { TextVariants as A } from "../../components/Text/types.js";
14
- import I from "../../components/Text/Text.js";
15
- import P from "../../components/Navigation/NavigationList/NavigationList.js";
13
+ import { TextVariants as I } from "../../components/Text/types.js";
14
+ import P from "../../components/Text/Text.js";
15
+ import j from "../../components/Navigation/NavigationList/NavigationList.js";
16
16
  import { SSRMediaQuery as g } from "../../providers/SeldonProvider/utils.js";
17
- import { getLanguageLabel as j } from "./utils.js";
17
+ import { getLanguageLabel as w } from "./utils.js";
18
18
  const f = u(
19
19
  ({
20
- id: o,
21
- value: l,
20
+ id: r,
21
+ value: i,
22
22
  // can't be passed to the accordion
23
- onValueChange: r,
24
- label: t,
25
- options: n,
26
- ...i
27
- }, m) => /* @__PURE__ */ e(C, { ...i, ref: m, children: /* @__PURE__ */ e(
23
+ onValueChange: o,
24
+ label: n,
25
+ options: l,
26
+ ...t
27
+ }, m) => /* @__PURE__ */ e(C, { ...t, ref: m, children: /* @__PURE__ */ e(
28
28
  M,
29
29
  {
30
30
  hasTransition: !0,
31
- id: o ?? "language-selector-accordion",
32
- label: /* @__PURE__ */ e(I, { variant: A.snwHeaderLink, children: t }),
31
+ id: r ?? "language-selector-accordion",
32
+ label: /* @__PURE__ */ e(P, { variant: I.linkStylised, children: n }),
33
33
  variant: k.lg,
34
- children: /* @__PURE__ */ e(P, { id: `${o}-navlist`, children: n.map((a) => /* @__PURE__ */ e(
35
- w,
34
+ children: /* @__PURE__ */ e(j, { id: `${r}-navlist`, children: l.map((a) => /* @__PURE__ */ e(
35
+ V,
36
36
  {
37
37
  label: a.label,
38
- onClick: () => r(a.value),
39
- navType: V.snwFlyoutLink
38
+ onClick: () => o(a.value),
39
+ navType: A.linkLarge
40
40
  },
41
41
  a.value
42
42
  )) })
@@ -46,31 +46,31 @@ const f = u(
46
46
  f.displayName = "MobileLanguageSelector";
47
47
  const E = u(
48
48
  ({
49
- className: o,
50
- currentLanguage: l = s.en,
51
- languageOptions: r = [
49
+ className: r,
50
+ currentLanguage: i = s.en,
51
+ languageOptions: o = [
52
52
  { label: "English", value: s.en },
53
53
  { label: "中文", value: s.zh }
54
54
  ],
55
- onLanguageChange: t = T,
56
- id: n,
57
- isHidden: i,
55
+ onLanguageChange: n = T,
56
+ id: l,
57
+ isHidden: t,
58
58
  disabled: m = !1,
59
59
  ...a
60
60
  }, c) => {
61
- const { className: p, ...h } = N({ id: n }, "LanguageSelector"), v = j({ languageOptions: r, currentLanguage: l }), d = {
61
+ const { className: p, ...h } = N({ id: l }, "LanguageSelector"), v = w({ languageOptions: o, currentLanguage: i }), d = {
62
62
  ...h,
63
63
  ...a,
64
- id: n,
65
- className: x(p, o, {
66
- [`${p}--hidden`]: i
64
+ id: l,
65
+ className: x(p, r, {
66
+ [`${p}--hidden`]: t
67
67
  }),
68
- options: r,
69
- value: l,
70
- onValueChange: (L) => t(L),
68
+ options: o,
69
+ value: i,
70
+ onValueChange: (b) => n(b),
71
71
  label: v
72
72
  };
73
- return /* @__PURE__ */ b(S, { children: [
73
+ return /* @__PURE__ */ L(S, { children: [
74
74
  /* @__PURE__ */ e(g.Media, { greaterThanOrEqual: "md", children: /* @__PURE__ */ e(y, { ...d, disabled: m, ref: c }) }),
75
75
  /* @__PURE__ */ e(g.Media, { lessThan: "md", children: /* @__PURE__ */ e(f, { ...d, ref: c }) })
76
76
  ] });