@phillips/seldon 1.274.0 → 1.276.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 (45) hide show
  1. package/dist/_virtual/index12.js +2 -2
  2. package/dist/_virtual/index13.js +2 -2
  3. package/dist/components/Article/Article.cjs +1 -1
  4. package/dist/components/Article/Article.js +17 -16
  5. package/dist/components/Card/Card.cjs +1 -1
  6. package/dist/components/Card/Card.js +14 -11
  7. package/dist/components/ExitGateCard/ExitGateCard.cjs +1 -1
  8. package/dist/components/ExitGateCard/ExitGateCard.js +18 -17
  9. package/dist/components/SeldonImage/SeldonImage.cjs +1 -1
  10. package/dist/components/SeldonImage/SeldonImage.d.ts +1 -1
  11. package/dist/components/SeldonImage/SeldonImage.js +45 -44
  12. package/dist/components/SeldonImage/SeldonImage.stories.d.ts +73 -6
  13. package/dist/components/SeldonImage/index.d.ts +1 -0
  14. package/dist/components/SeldonImage/types.cjs +1 -0
  15. package/dist/components/SeldonImage/types.d.ts +6 -0
  16. package/dist/components/SeldonImage/types.js +4 -0
  17. package/dist/index.cjs +1 -1
  18. package/dist/index.js +55 -53
  19. package/dist/node_modules/ics/dist/schema/index.cjs +1 -1
  20. package/dist/node_modules/ics/dist/schema/index.js +1 -1
  21. package/dist/node_modules/ics/dist/utils/index.cjs +1 -1
  22. package/dist/node_modules/ics/dist/utils/index.js +1 -1
  23. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.cjs +1 -1
  24. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +35 -34
  25. package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.cjs +1 -1
  26. package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +45 -53
  27. package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.cjs +1 -1
  28. package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +49 -68
  29. package/dist/patterns/FiltersInline/FiltersInline.cjs +1 -1
  30. package/dist/patterns/FiltersInline/FiltersInline.js +59 -55
  31. package/dist/patterns/FiltersInline/FiltersInline.stories.d.ts +1 -0
  32. package/dist/patterns/FiltersInline/MainFilterDropdown.cjs +1 -1
  33. package/dist/patterns/FiltersInline/MainFilterDropdown.js +39 -40
  34. package/dist/patterns/FiltersInline/types.d.ts +2 -2
  35. package/dist/patterns/FiltersInline/utils.d.ts +2 -2
  36. package/dist/patterns/ObjectTile/ObjectTile.cjs +1 -1
  37. package/dist/patterns/ObjectTile/ObjectTile.js +31 -30
  38. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.cjs +1 -1
  39. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +32 -31
  40. package/dist/scss/components/SeldonImage/_seldonImage.scss +21 -0
  41. package/dist/scss/patterns/FiltersInline/_filterDropdownMenu.scss +21 -20
  42. package/dist/scss/patterns/FiltersInline/_filtersInline.scss +3 -1
  43. package/dist/static/test-image-1200x1600.jpg +0 -0
  44. package/dist/static/test-image-1600x1600.jpg +0 -0
  45. package/package.json +1 -1
@@ -1,26 +1,27 @@
1
- import { jsxs as m, jsx as e, Fragment as k } from "react/jsx-runtime";
2
- import { memo as z, forwardRef as F } from "react";
3
- import I from "../../_virtual/index2.js";
4
- import { getCommonProps as L } from "../../utils/index.js";
5
- import { DetailVariants as R } from "../../components/Detail/types.js";
6
- import W from "../../components/SeldonImage/SeldonImage.js";
1
+ import { jsxs as m, jsx as e, Fragment as V } from "react/jsx-runtime";
2
+ import { memo as k, forwardRef as z } from "react";
3
+ import A from "../../_virtual/index2.js";
4
+ import { getCommonProps as F } from "../../utils/index.js";
5
+ import { DetailVariants as I } from "../../components/Detail/types.js";
6
+ import L from "../../components/SeldonImage/SeldonImage.js";
7
+ import { AspectRatio as W } from "../../components/SeldonImage/types.js";
7
8
  import l from "../../components/Text/Text.js";
8
9
  import { TextVariants as s } from "../../components/Text/types.js";
9
- import w from "../../components/DetailList/DetailList.js";
10
- import A from "../../components/Detail/Detail.js";
11
- const B = z(
12
- F(
10
+ import q from "../../components/DetailList/DetailList.js";
11
+ import w from "../../components/Detail/Detail.js";
12
+ const B = k(
13
+ z(
13
14
  ({
14
- badgeText: N,
15
- className: f,
15
+ badgeText: f,
16
+ className: N,
16
17
  children: g,
17
- element: $,
18
- estimate: n,
19
- estimateLabelText: b = "Estimate",
18
+ element: u,
19
+ estimate: i,
20
+ estimateLabelText: $ = "Estimate",
20
21
  estimateOnRequestText: t,
21
22
  badgeElement: r,
22
23
  favoriteElement: o,
23
- imageAlt: u = "Brought to you by Phillips",
24
+ imageAlt: b = "Brought to you by Phillips",
24
25
  imageUrl: v = "",
25
26
  imageSrcSet: S,
26
27
  imageSizes: j,
@@ -32,16 +33,16 @@ const B = z(
32
33
  modelText: _,
33
34
  referenceNumber: d,
34
35
  titleText: h,
35
- withdrawnText: i,
36
+ withdrawnText: n,
36
37
  ...p
37
38
  }, D) => {
38
- const { className: a, ...x } = L(p, "ObjectTile"), O = $ ?? "a", V = n || t;
39
- return /* @__PURE__ */ m(O, { ...x, className: I(a, f), ...p, ref: D, children: [
39
+ const { className: a, ...x } = F(p, "ObjectTile"), O = u ?? "a", R = i || t;
40
+ return /* @__PURE__ */ m(O, { ...x, className: A(a, N), ...p, ref: D, children: [
40
41
  /* @__PURE__ */ e(
41
- W,
42
+ L,
42
43
  {
43
- alt: u,
44
- aspectRatio: "1/1",
44
+ alt: b,
45
+ aspectRatio: W.Square,
45
46
  className: `${a}__img`,
46
47
  objectFit: "contain",
47
48
  src: v,
@@ -52,13 +53,13 @@ const B = z(
52
53
  imageBlocked: P
53
54
  }
54
55
  ),
55
- i ? null : /* @__PURE__ */ e(l, { element: "span", className: `${a}__badge`, variant: s.badgeSmall, children: N }),
56
+ n ? null : /* @__PURE__ */ e(l, { element: "span", className: `${a}__badge`, variant: s.badgeSmall, children: f }),
56
57
  /* @__PURE__ */ m("div", { className: `${a}__lot-number-like`, children: [
57
58
  /* @__PURE__ */ e(l, { element: "span", className: `${a}__lot-number`, variant: s.headingSmall, children: C }),
58
59
  r && /* @__PURE__ */ e("div", { className: `${a}__lot-badge`, children: /* @__PURE__ */ e(r, {}) }),
59
60
  o && /* @__PURE__ */ e(o, {})
60
61
  ] }),
61
- i ? /* @__PURE__ */ e(l, { element: "span", className: `${a}__withdrawn`, variant: s.headingSmall, children: i }) : /* @__PURE__ */ m(k, { children: [
62
+ n ? /* @__PURE__ */ e(l, { element: "span", className: `${a}__withdrawn`, variant: s.headingSmall, children: n }) : /* @__PURE__ */ m(V, { children: [
62
63
  /* @__PURE__ */ m("div", { className: `${a}__meta`, children: [
63
64
  c ? /* @__PURE__ */ e(l, { element: "span", className: `${a}__maker`, variant: s.headingSmall, children: c }) : null,
64
65
  h ? /* @__PURE__ */ e(l, { element: "cite", className: `${a}__title`, variant: s.headingExtraSmall, children: h }) : null,
@@ -73,18 +74,18 @@ const B = z(
73
74
  ) : null,
74
75
  _ ? /* @__PURE__ */ e(l, { className: `${a}__model`, variant: s.headingExtraSmall, element: "span", children: _ }) : null
75
76
  ] }),
76
- V ? /* @__PURE__ */ e(
77
- w,
77
+ R ? /* @__PURE__ */ e(
78
+ q,
78
79
  {
79
80
  hasSeparators: !0,
80
81
  className: `${a}__estimate ${a}__section`,
81
- variant: R.sm,
82
+ variant: I.sm,
82
83
  children: /* @__PURE__ */ e(
83
- A,
84
+ w,
84
85
  {
85
86
  className: `${a}__estimate__label`,
86
- label: b,
87
- value: n || t,
87
+ label: $,
88
+ value: i || t,
88
89
  hasWrap: !1
89
90
  }
90
91
  )
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),z=require("react"),A=require("../../utils/index.cjs"),H=require("../../_virtual/index2.cjs"),O=require("../../types/commonTypes.cjs"),x=require("../../providers/SeldonProvider/utils.cjs"),s=require("../../components/Banner/Banner.cjs"),_=require("../../utils/constants.cjs"),h=require("../../components/Countdown/Countdown.cjs"),j=require("../../components/Banner/types.cjs"),D=require("../../components/PageContentWrapper/PageContentWrapper.cjs"),r=require("../../components/Text/types.cjs"),t=require("../../components/Text/Text.cjs"),F=require("../../components/SeldonImage/SeldonImage.cjs"),f=z.forwardRef(({auctionEndTime:n,auctionTitle:i,badgeText:l,imageSrcUrl:v,imageSrcSet:g,imageSizes:S,imageLoading:q,imageFetchPriority:N,location:p,countdownTimerLabel:$,countdownFormatDuration:b,auctionState:M,occurrenceInformation:B,onClick:Q,children:y,className:T,footerElement:V,headerLabel:k,showTimer:c,getCurrentDateTime:w,...d},C)=>{const{className:a,...P}=A.getCommonProps(d,"SaleHeaderBanner"),o=M===O.AuctionStatus.live,u={endDateTime:n,label:$,formatDurationStr:b,getCurrentDateTime:w};return e.jsxs("div",{...P,className:H.default(a,T),...d,ref:C,children:[o&&n&&c?e.jsx(x.SSRMediaQuery.Media,{lessThan:_.Breakpoints.md,children:e.jsx("div",{className:`${a}__stack__countdown`,children:e.jsx(h.default,{...u,showBottomBorder:!1,centerAlign:!0})})}):null,e.jsxs(s.default,{variant:j.BannerVariants.top,children:[e.jsx(s.default.Content,{children:e.jsx(D.default,{children:e.jsxs("div",{className:`${a}__stack`,children:[o&&n&&c?e.jsx(x.SSRMediaQuery.Media,{greaterThanOrEqual:_.Breakpoints.md,children:e.jsx("div",{className:`${a}__stack__countdown`,children:e.jsx(h.default,{...u,centerAlign:!0})})}):null,e.jsx(s.default.Eyebrow,{variant:r.TextVariants.labelMedium,className:`${a}__header-label`,children:k}),e.jsx(s.default.Title,{variant:r.TextVariants.headingLarge,element:"h1",className:`${a}__title`,children:i}),l&&e.jsx(t.default,{variant:r.TextVariants.badge,className:`${a}__badge`,children:l}),e.jsx(t.default,{variant:r.TextVariants.labelMedium,className:`${a}__location`,children:p}),e.jsxs("div",{className:`${a}__occurrence-details`,children:[B.map(({date:m,occurrenceLabel:R})=>e.jsxs("div",{className:`${a}__occurrence-details-text`,children:[e.jsx(t.default,{variant:r.TextVariants.labelMedium,children:R}),e.jsx(t.default,{variant:r.TextVariants.labelMedium,className:`${a}__date`,children:m})]},String(m))),y]}),V]})})}),e.jsx(s.default.Media,{size:j.BannerMediaSize.half,className:`${a}__image`,children:e.jsx(F.default,{aspectRatio:"16/9",src:v,alt:String(i),objectFit:"cover",srcSet:g,sizes:S,loading:q,fetchPriority:N})})]})]})});f.displayName="SaleHeaderBanner";exports.default=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),A=require("react"),z=require("../../utils/index.cjs"),H=require("../../_virtual/index2.cjs"),O=require("../../types/commonTypes.cjs"),x=require("../../providers/SeldonProvider/utils.cjs"),t=require("../../components/Banner/Banner.cjs"),_=require("../../utils/constants.cjs"),h=require("../../components/Countdown/Countdown.cjs"),j=require("../../components/Banner/types.cjs"),D=require("../../components/PageContentWrapper/PageContentWrapper.cjs"),s=require("../../components/Text/types.cjs"),r=require("../../components/Text/Text.cjs"),F=require("../../components/SeldonImage/SeldonImage.cjs"),L=require("../../components/SeldonImage/types.cjs"),f=A.forwardRef(({auctionEndTime:n,auctionTitle:i,badgeText:l,imageSrcUrl:p,imageSrcSet:v,imageSizes:g,imageLoading:q,imageFetchPriority:S,location:N,countdownTimerLabel:$,countdownFormatDuration:b,auctionState:M,occurrenceInformation:B,onClick:Q,children:y,className:T,footerElement:R,headerLabel:V,showTimer:c,getCurrentDateTime:k,...d},w)=>{const{className:a,...C}=z.getCommonProps(d,"SaleHeaderBanner"),o=M===O.AuctionStatus.live,u={endDateTime:n,label:$,formatDurationStr:b,getCurrentDateTime:k};return e.jsxs("div",{...C,className:H.default(a,T),...d,ref:w,children:[o&&n&&c?e.jsx(x.SSRMediaQuery.Media,{lessThan:_.Breakpoints.md,children:e.jsx("div",{className:`${a}__stack__countdown`,children:e.jsx(h.default,{...u,showBottomBorder:!1,centerAlign:!0})})}):null,e.jsxs(t.default,{variant:j.BannerVariants.top,children:[e.jsx(t.default.Content,{children:e.jsx(D.default,{children:e.jsxs("div",{className:`${a}__stack`,children:[o&&n&&c?e.jsx(x.SSRMediaQuery.Media,{greaterThanOrEqual:_.Breakpoints.md,children:e.jsx("div",{className:`${a}__stack__countdown`,children:e.jsx(h.default,{...u,centerAlign:!0})})}):null,e.jsx(t.default.Eyebrow,{variant:s.TextVariants.labelMedium,className:`${a}__header-label`,children:V}),e.jsx(t.default.Title,{variant:s.TextVariants.headingLarge,element:"h1",className:`${a}__title`,children:i}),l&&e.jsx(r.default,{variant:s.TextVariants.badge,className:`${a}__badge`,children:l}),e.jsx(r.default,{variant:s.TextVariants.labelMedium,className:`${a}__location`,children:N}),e.jsxs("div",{className:`${a}__occurrence-details`,children:[B.map(({date:m,occurrenceLabel:P})=>e.jsxs("div",{className:`${a}__occurrence-details-text`,children:[e.jsx(r.default,{variant:s.TextVariants.labelMedium,children:P}),e.jsx(r.default,{variant:s.TextVariants.labelMedium,className:`${a}__date`,children:m})]},String(m))),y]}),R]})})}),e.jsx(t.default.Media,{size:j.BannerMediaSize.half,className:`${a}__image`,children:e.jsx(F.default,{aspectRatio:L.AspectRatio.Landscape,src:p,alt:String(i),objectFit:"cover",srcSet:v,sizes:g,loading:q,fetchPriority:S})})]})]})});f.displayName="SaleHeaderBanner";exports.default=f;
@@ -1,21 +1,22 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as R } from "react";
2
+ import { forwardRef as H } from "react";
3
3
  import { getCommonProps as D } from "../../utils/index.js";
4
4
  import F from "../../_virtual/index2.js";
5
- import { AuctionStatus as O } from "../../types/commonTypes.js";
6
- import { SSRMediaQuery as p } from "../../providers/SeldonProvider/utils.js";
5
+ import { AuctionStatus as L } from "../../types/commonTypes.js";
6
+ import { SSRMediaQuery as h } from "../../providers/SeldonProvider/utils.js";
7
7
  import n from "../../components/Banner/Banner.js";
8
8
  import { Breakpoints as f } from "../../utils/constants.js";
9
9
  import u from "../../components/Countdown/Countdown.js";
10
- import { BannerVariants as V, BannerMediaSize as q } from "../../components/Banner/types.js";
11
- import I from "../../components/PageContentWrapper/PageContentWrapper.js";
10
+ import { BannerVariants as O, BannerMediaSize as V } from "../../components/Banner/types.js";
11
+ import q from "../../components/PageContentWrapper/PageContentWrapper.js";
12
12
  import { TextVariants as r } from "../../components/Text/types.js";
13
13
  import t from "../../components/Text/Text.js";
14
- import L from "../../components/SeldonImage/SeldonImage.js";
15
- const Q = R(
14
+ import I from "../../components/SeldonImage/SeldonImage.js";
15
+ import { AspectRatio as Q } from "../../components/SeldonImage/types.js";
16
+ const T = H(
16
17
  ({
17
- auctionEndTime: l,
18
- auctionTitle: o,
18
+ auctionEndTime: o,
19
+ auctionTitle: l,
19
20
  badgeText: s,
20
21
  imageSrcUrl: v,
21
22
  imageSrcSet: N,
@@ -27,45 +28,45 @@ const Q = R(
27
28
  countdownFormatDuration: M,
28
29
  auctionState: w,
29
30
  occurrenceInformation: C,
30
- onClick: T,
31
+ onClick: W,
31
32
  children: k,
32
33
  className: x,
33
34
  footerElement: P,
34
35
  headerLabel: y,
35
36
  showTimer: m,
36
- getCurrentDateTime: j,
37
+ getCurrentDateTime: A,
37
38
  ...c
38
- }, z) => {
39
- const { className: a, ...A } = D(c, "SaleHeaderBanner"), d = w === O.live, _ = {
40
- endDateTime: l,
39
+ }, R) => {
40
+ const { className: a, ...j } = D(c, "SaleHeaderBanner"), d = w === L.live, p = {
41
+ endDateTime: o,
41
42
  label: B,
42
43
  formatDurationStr: M,
43
- getCurrentDateTime: j
44
+ getCurrentDateTime: A
44
45
  };
45
- return /* @__PURE__ */ i("div", { ...A, className: F(a, x), ...c, ref: z, children: [
46
- d && l && m ? /* @__PURE__ */ e(p.Media, { lessThan: f.md, children: /* @__PURE__ */ e("div", { className: `${a}__stack__countdown`, children: /* @__PURE__ */ e(u, { ..._, showBottomBorder: !1, centerAlign: !0 }) }) }) : null,
47
- /* @__PURE__ */ i(n, { variant: V.top, children: [
48
- /* @__PURE__ */ e(n.Content, { children: /* @__PURE__ */ e(I, { children: /* @__PURE__ */ i("div", { className: `${a}__stack`, children: [
49
- d && l && m ? /* @__PURE__ */ e(p.Media, { greaterThanOrEqual: f.md, children: /* @__PURE__ */ e("div", { className: `${a}__stack__countdown`, children: /* @__PURE__ */ e(u, { ..._, centerAlign: !0 }) }) }) : null,
46
+ return /* @__PURE__ */ i("div", { ...j, className: F(a, x), ...c, ref: R, children: [
47
+ d && o && m ? /* @__PURE__ */ e(h.Media, { lessThan: f.md, children: /* @__PURE__ */ e("div", { className: `${a}__stack__countdown`, children: /* @__PURE__ */ e(u, { ...p, showBottomBorder: !1, centerAlign: !0 }) }) }) : null,
48
+ /* @__PURE__ */ i(n, { variant: O.top, children: [
49
+ /* @__PURE__ */ e(n.Content, { children: /* @__PURE__ */ e(q, { children: /* @__PURE__ */ i("div", { className: `${a}__stack`, children: [
50
+ d && o && m ? /* @__PURE__ */ e(h.Media, { greaterThanOrEqual: f.md, children: /* @__PURE__ */ e("div", { className: `${a}__stack__countdown`, children: /* @__PURE__ */ e(u, { ...p, centerAlign: !0 }) }) }) : null,
50
51
  /* @__PURE__ */ e(n.Eyebrow, { variant: r.labelMedium, className: `${a}__header-label`, children: y }),
51
- /* @__PURE__ */ e(n.Title, { variant: r.headingLarge, element: "h1", className: `${a}__title`, children: o }),
52
+ /* @__PURE__ */ e(n.Title, { variant: r.headingLarge, element: "h1", className: `${a}__title`, children: l }),
52
53
  s && /* @__PURE__ */ e(t, { variant: r.badge, className: `${a}__badge`, children: s }),
53
54
  /* @__PURE__ */ e(t, { variant: r.labelMedium, className: `${a}__location`, children: b }),
54
55
  /* @__PURE__ */ i("div", { className: `${a}__occurrence-details`, children: [
55
- C.map(({ date: h, occurrenceLabel: H }) => /* @__PURE__ */ i("div", { className: `${a}__occurrence-details-text`, children: [
56
- /* @__PURE__ */ e(t, { variant: r.labelMedium, children: H }),
57
- /* @__PURE__ */ e(t, { variant: r.labelMedium, className: `${a}__date`, children: h })
58
- ] }, String(h))),
56
+ C.map(({ date: _, occurrenceLabel: z }) => /* @__PURE__ */ i("div", { className: `${a}__occurrence-details-text`, children: [
57
+ /* @__PURE__ */ e(t, { variant: r.labelMedium, children: z }),
58
+ /* @__PURE__ */ e(t, { variant: r.labelMedium, className: `${a}__date`, children: _ })
59
+ ] }, String(_))),
59
60
  k
60
61
  ] }),
61
62
  P
62
63
  ] }) }) }),
63
- /* @__PURE__ */ e(n.Media, { size: q.half, className: `${a}__image`, children: /* @__PURE__ */ e(
64
- L,
64
+ /* @__PURE__ */ e(n.Media, { size: V.half, className: `${a}__image`, children: /* @__PURE__ */ e(
65
+ I,
65
66
  {
66
- aspectRatio: "16/9",
67
+ aspectRatio: Q.Landscape,
67
68
  src: v,
68
- alt: String(o),
69
+ alt: String(l),
69
70
  objectFit: "cover",
70
71
  srcSet: N,
71
72
  sizes: g,
@@ -77,7 +78,7 @@ const Q = R(
77
78
  ] });
78
79
  }
79
80
  );
80
- Q.displayName = "SaleHeaderBanner";
81
+ T.displayName = "SaleHeaderBanner";
81
82
  export {
82
- Q as default
83
+ T as default
83
84
  };
@@ -1,6 +1,8 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
3
  .#{$px}-seldon-image {
4
+ // Propagate an ancestor `max-height` down to the wrapper so the img can inherit it too (percentages resolve to `none` when parent height is auto; `inherit` doesn't).
5
+ max-height: inherit;
4
6
  overflow: hidden;
5
7
  position: relative;
6
8
 
@@ -14,9 +16,28 @@
14
16
  }
15
17
  }
16
18
 
19
+ // Portrait/square can overflow vertically; auto dims + max caps let the img respect parent max-height, not just width.
20
+ &--aspect-ratio-3-4 {
21
+ img {
22
+ aspect-ratio: 3 / 4;
23
+ height: auto;
24
+ max-height: inherit;
25
+ max-width: 100%;
26
+ width: auto;
27
+ }
28
+
29
+ &.#{$px}-seldon-image--error-image {
30
+ aspect-ratio: 3 / 4;
31
+ }
32
+ }
33
+
17
34
  &--aspect-ratio-1-1 {
18
35
  img {
19
36
  aspect-ratio: 1 / 1;
37
+ height: auto;
38
+ max-height: inherit;
39
+ max-width: 100%;
40
+ width: auto;
20
41
  }
21
42
 
22
43
  &.#{$px}-seldon-image--error-image {
@@ -26,11 +26,6 @@ $dropdown-width: 320px;
26
26
  }
27
27
  }
28
28
 
29
- &__button-wrap {
30
- display: flex;
31
- justify-content: flex-end;
32
- }
33
-
34
29
  &__buttons-wrap {
35
30
  border-top: 1px solid $bg-border;
36
31
  display: flex;
@@ -65,6 +60,12 @@ $dropdown-width: 320px;
65
60
  padding-bottom: calc(#{$spacing-sm} + env(safe-area-inset-bottom));
66
61
  }
67
62
 
63
+ // Sort dropdown has no footer buttons; this spacer preserves the safe-area
64
+ // inset so the last option stays clear of the iOS home indicator.
65
+ &__mobile-safe-area {
66
+ padding-bottom: calc(#{$spacing-sm} + env(safe-area-inset-bottom));
67
+ }
68
+
68
69
  &__header {
69
70
  margin-bottom: $spacing-sm;
70
71
  margin-top: 0;
@@ -74,21 +75,6 @@ $dropdown-width: 320px;
74
75
  }
75
76
  }
76
77
 
77
- &__button {
78
- align-self: flex-end;
79
- padding: $spacing-sm $spacing-md;
80
-
81
- &--text {
82
- text-wrap: nowrap;
83
- }
84
-
85
- &--mobile {
86
- display: block;
87
- margin: $spacing-sm auto $spacing-md auto;
88
- width: 80%;
89
- }
90
- }
91
-
92
78
  &__button-text {
93
79
  color: $white-100;
94
80
  }
@@ -119,6 +105,9 @@ $dropdown-width: 320px;
119
105
  align-self: center;
120
106
  margin-left: auto;
121
107
  }
108
+ .#{$px}-input__input[type='checkbox']:disabled {
109
+ border-color: $keyline-gray;
110
+ }
122
111
  .#{$px}-input__input[type='checkbox'] {
123
112
  align-self: center;
124
113
  appearance: none;
@@ -159,6 +148,14 @@ $dropdown-width: 320px;
159
148
  max-height: 2rem;
160
149
  }
161
150
 
151
+ // Filter option labels use the labels/label-small-bold type token.
152
+ .#{$px}-filter-dropdown-menu,
153
+ .#{$px}-filter-drawer-menu {
154
+ .#{$px}-input__label.#{$px}-text {
155
+ @include label-styles($font-size: $font-size-label-small, $font-weight: 600);
156
+ }
157
+ }
158
+
162
159
  .#{$px}-filter-drawer-mobile {
163
160
  height: min(70dvh, 640px);
164
161
  padding: 0;
@@ -186,6 +183,10 @@ $dropdown-width: 320px;
186
183
  flex: 0 0 auto;
187
184
  margin-top: 0;
188
185
  }
186
+
187
+ .#{$px}-filter-dropdown-menu__mobile-safe-area {
188
+ flex: 0 0 auto;
189
+ }
189
190
  }
190
191
 
191
192
  .#{$px}-filter-drawer {
@@ -5,7 +5,9 @@
5
5
  flex-wrap: wrap;
6
6
  gap: $spacing-sm;
7
7
 
8
- // Desktop: align the Sort filter (and anything following it) to the right of the filter row.
8
+ // Desktop: align the Sort filter to the right of the filter row. The Sort
9
+ // pill is already rendered last in the DOM (see FiltersInline.tsx) so visual
10
+ // and tab order match; this just pushes it to the right edge.
9
11
  @include media($breakpoint-md) {
10
12
  > .#{$px}-filters-inline__sort {
11
13
  margin-left: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.274.0",
3
+ "version": "1.276.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"