@phillips/seldon 1.129.0 → 1.129.2

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.
@@ -1,25 +1,25 @@
1
- import { jsx as r, jsxs as p } from "react/jsx-runtime";
2
- import l from "../../node_modules/classnames/index.js";
1
+ import { jsx as o, jsxs as l } from "react/jsx-runtime";
2
+ import p from "../../node_modules/classnames/index.js";
3
3
  import { getCommonProps as f } from "../../utils/index.js";
4
- import { TextVariants as g } from "../../components/Text/types.js";
5
- import d from "../../components/Text/Text.js";
6
- import { BidMessageVariants as s } from "./types.js";
4
+ import { TextVariants as d } from "../../components/Text/types.js";
5
+ import g from "../../components/Text/Text.js";
6
+ import { BidMessageVariants as e } from "./types.js";
7
7
  import "react";
8
8
  import v from "../../assets/icon-green-circle.svg.js";
9
9
  import x from "../../assets/icon-red-circle.svg.js";
10
- const T = ({
11
- className: e,
12
- hasIcon: m = !0,
13
- message: t,
14
- variant: i = s.positive,
15
- ...o
10
+ const S = ({
11
+ className: t,
12
+ hasIcon: i = !0,
13
+ message: m,
14
+ variant: a = e.positive,
15
+ ...r
16
16
  }) => {
17
- const { className: a, ...n } = f(o, "BidMessage"), c = i === s.positive ? /* @__PURE__ */ r(v, {}) : /* @__PURE__ */ r(x, {});
18
- return /* @__PURE__ */ p(d, { ...n, className: l(a, e), ...o, variant: g.string2, children: [
19
- m ? c : null,
20
- t
17
+ const { className: s, ...n } = f(r, "BidMessage"), c = a === e.positive ? /* @__PURE__ */ o(v, {}) : /* @__PURE__ */ o(x, {});
18
+ return /* @__PURE__ */ l("div", { ...n, className: p(s, t), ...r, children: [
19
+ i ? c : null,
20
+ /* @__PURE__ */ o(g, { variant: d.string2, className: `${s}-text`, children: m })
21
21
  ] });
22
22
  };
23
23
  export {
24
- T as default
24
+ S as default
25
25
  };
@@ -51,13 +51,13 @@ const w = z(
51
51
  ),
52
52
  t ? null : /* @__PURE__ */ a(i, { className: `${e}__badge`, variant: l.badge, children: p }),
53
53
  /* @__PURE__ */ s("div", { className: `${e}__lot-number-like`, children: [
54
- /* @__PURE__ */ a(i, { className: `${e}__lot-number`, variant: l.heading3, element: "p", children: S }),
54
+ /* @__PURE__ */ a(i, { className: `${e}__lot-number`, variant: l.heading4, element: "p", children: S }),
55
55
  m && /* @__PURE__ */ a("div", { className: `${e}__lot-badge`, children: /* @__PURE__ */ a(m, {}) }),
56
56
  o && /* @__PURE__ */ a(o, {})
57
57
  ] }),
58
58
  t ? /* @__PURE__ */ a(i, { 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.heading3, children: c }) : null,
60
+ c ? /* @__PURE__ */ a(i, { className: `${e}__maker`, variant: l.heading4, children: c }) : null,
61
61
  h ? /* @__PURE__ */ a(
62
62
  i,
63
63
  {
@@ -44,7 +44,7 @@
44
44
  gap: $spacing-micro;
45
45
 
46
46
  // Override the default text style being too specific
47
- &.#{$px}-bid-message {
47
+ &-text {
48
48
  font-variation-settings: 'wght' 600;
49
49
  margin-bottom: 0;
50
50
  }
@@ -34,6 +34,9 @@
34
34
  }
35
35
 
36
36
  &__lot-number-like {
37
+ align-items: center;
38
+ display: flex;
39
+ margin-bottom: $spacing-xsm;
37
40
  position: relative;
38
41
 
39
42
  & > :not(.#{$px}-object-tile__lot-number):not(.#{$px}-object-tile__lot-badge) {
@@ -47,7 +50,6 @@
47
50
  display: inline-block;
48
51
  padding-left: $spacing-xsm;
49
52
  position: relative;
50
- transform: translateY(15%);
51
53
 
52
54
  svg {
53
55
  height: 100%;
@@ -62,7 +64,8 @@
62
64
 
63
65
  & .#{$px}-object-tile__lot-number {
64
66
  display: inline-block;
65
- margin-bottom: $spacing-xsm;
67
+ margin-bottom: 0;
68
+ padding-top: 2px;
66
69
  }
67
70
 
68
71
  & .#{$px}-object-tile__maker,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.129.0",
3
+ "version": "1.129.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"