@phillips/seldon 1.133.4 → 1.133.5

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.
@@ -3,21 +3,21 @@ import { memo as z, forwardRef as F } from "react";
3
3
  import I from "../../node_modules/classnames/index.js";
4
4
  import { getCommonProps as L } from "../../utils/index.js";
5
5
  import { TextVariants as l } from "../../components/Text/types.js";
6
- import i from "../../components/Text/Text.js";
6
+ import n from "../../components/Text/Text.js";
7
7
  import R from "../DetailList/DetailList.js";
8
8
  import V from "../../components/Detail/Detail.js";
9
9
  import W from "../../components/SeldonImage/SeldonImage.js";
10
10
  const w = z(
11
11
  F(
12
12
  ({
13
- badgeText: p,
13
+ badgeText: f,
14
14
  className: $,
15
15
  children: N,
16
16
  element: g,
17
- estimate: n,
17
+ estimate: i,
18
18
  estimateLabelText: b = "Estimate",
19
- estimateOnRequestText: r,
20
- badgeElement: m,
19
+ estimateOnRequestText: m,
20
+ badgeElement: r,
21
21
  favoriteElement: o,
22
22
  imageAlt: u = "Brought to you by Phillips",
23
23
  imageUrl: v = "",
@@ -31,10 +31,10 @@ const w = z(
31
31
  referenceNumber: d,
32
32
  titleText: h,
33
33
  withdrawnText: t,
34
- ...f
34
+ ...p
35
35
  }, x) => {
36
- const { className: e, ...C } = L(f, "ObjectTile"), D = g ?? "a", E = n || r;
37
- return /* @__PURE__ */ s(D, { ...C, className: I(e, $), ...f, ref: x, children: [
36
+ const { className: e, ...C } = L(p, "ObjectTile"), D = g ?? "a", E = i || m;
37
+ return /* @__PURE__ */ s(D, { ...C, className: I(e, $), ...p, ref: x, children: [
38
38
  /* @__PURE__ */ a(
39
39
  W,
40
40
  {
@@ -49,17 +49,17 @@ const w = z(
49
49
  fetchPriority: P
50
50
  }
51
51
  ),
52
- t ? null : /* @__PURE__ */ a(i, { className: `${e}__badge`, variant: l.badge, children: p }),
52
+ t ? null : /* @__PURE__ */ a(n, { element: "span", className: `${e}__badge`, variant: l.badge, children: f }),
53
53
  /* @__PURE__ */ s("div", { className: `${e}__lot-number-like`, children: [
54
- /* @__PURE__ */ a(i, { className: `${e}__lot-number`, variant: l.heading4, element: "p", children: S }),
55
- m && /* @__PURE__ */ a("div", { className: `${e}__lot-badge`, children: /* @__PURE__ */ a(m, {}) }),
54
+ /* @__PURE__ */ a(n, { element: "span", className: `${e}__lot-number`, variant: l.heading4, children: S }),
55
+ r && /* @__PURE__ */ a("div", { className: `${e}__lot-badge`, children: /* @__PURE__ */ a(r, {}) }),
56
56
  o && /* @__PURE__ */ a(o, {})
57
57
  ] }),
58
- t ? /* @__PURE__ */ a(i, { className: `${e}__withdrawn`, variant: l.heading4, children: t }) : /* @__PURE__ */ s(O, { children: [
58
+ t ? /* @__PURE__ */ a(n, { element: "span", className: `${e}__withdrawn`, variant: l.heading4, children: t }) : /* @__PURE__ */ s(O, { children: [
59
59
  /* @__PURE__ */ s("div", { className: `${e}__meta`, children: [
60
- c ? /* @__PURE__ */ a(i, { className: `${e}__maker`, variant: l.heading4, children: c }) : null,
60
+ c ? /* @__PURE__ */ a(n, { element: "span", className: `${e}__maker`, variant: l.heading4, children: c }) : null,
61
61
  h ? /* @__PURE__ */ a(
62
- i,
62
+ n,
63
63
  {
64
64
  className: `${e}__title ${e}__token-fix ${e}__token-fix--no-transform`,
65
65
  variant: l.heading4,
@@ -68,20 +68,20 @@ const w = z(
68
68
  }
69
69
  ) : null,
70
70
  d ? /* @__PURE__ */ a(
71
- i,
71
+ n,
72
72
  {
73
73
  className: `${e}__reference-number ${e}__token-fix`,
74
74
  variant: l.heading4,
75
- element: "p",
75
+ element: "span",
76
76
  children: d
77
77
  }
78
78
  ) : null,
79
79
  _ ? /* @__PURE__ */ a(
80
- i,
80
+ n,
81
81
  {
82
82
  className: `${e}__model ${e}__token-fix`,
83
83
  variant: l.heading4,
84
- element: "p",
84
+ element: "span",
85
85
  children: _
86
86
  }
87
87
  ) : null
@@ -91,7 +91,7 @@ const w = z(
91
91
  {
92
92
  className: `${e}__estimate__label`,
93
93
  label: b,
94
- value: n || r,
94
+ value: i || m,
95
95
  hasWrap: !1
96
96
  }
97
97
  ) }) : null,
@@ -13,6 +13,7 @@
13
13
 
14
14
  &__badge {
15
15
  color: $widget-red;
16
+ display: block; // Ensures the badge can be sized correctly
16
17
  }
17
18
 
18
19
  &__badge:empty {
@@ -47,7 +48,7 @@
47
48
  }
48
49
 
49
50
  .#{$px}-object-tile__lot-badge {
50
- display: inline-block;
51
+ display: block;
51
52
  padding-left: $spacing-xsm;
52
53
  position: relative;
53
54
 
@@ -63,7 +64,7 @@
63
64
  }
64
65
 
65
66
  & .#{$px}-object-tile__lot-number {
66
- display: inline-block;
67
+ display: block;
67
68
  margin-bottom: 0;
68
69
  padding-top: 2px;
69
70
  }
@@ -71,6 +72,7 @@
71
72
  & .#{$px}-object-tile__maker,
72
73
  & .#{$px}-object-tile__model,
73
74
  & .#{$px}-object-tile__reference-number {
75
+ display: block;
74
76
  margin-bottom: 0;
75
77
  }
76
78
 
@@ -80,6 +82,7 @@
80
82
  }
81
83
 
82
84
  &__meta {
85
+ display: block;
83
86
  margin-bottom: $spacing-sm;
84
87
  }
85
88
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.133.4",
3
+ "version": "1.133.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"