@phillips/seldon 1.230.0 → 1.231.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.
@@ -0,0 +1,9 @@
1
+ interface IconOrangeCircleProps extends React.HTMLAttributes<SVGSVGElement> {
2
+ color?: string;
3
+ height?: number | string;
4
+ width?: number | string;
5
+ title?: string;
6
+ titleId?: string;
7
+ }
8
+ declare const IconOrangeCircle: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<IconOrangeCircleProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default IconOrangeCircle;
@@ -0,0 +1,29 @@
1
+ import { jsxs as s, jsx as i } from "react/jsx-runtime";
2
+ import { kebabCase as d } from "../../node_modules/change-case/dist/index.js";
3
+ import { memo as m, forwardRef as a } from "react";
4
+ const h = m(
5
+ a((t, r) => {
6
+ const { height: o, width: n, title: e, titleId: c } = t, l = c || d(e || "");
7
+ return /* @__PURE__ */ s(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 8 8",
13
+ height: o,
14
+ width: n,
15
+ role: "img",
16
+ ref: r,
17
+ "aria-labelledby": l,
18
+ ...t,
19
+ children: [
20
+ e ? /* @__PURE__ */ i("title", { id: l, children: e }) : null,
21
+ /* @__PURE__ */ i("circle", { cx: 4, cy: 4, r: 4, fill: "#FF7B00" })
22
+ ]
23
+ }
24
+ );
25
+ })
26
+ );
27
+ export {
28
+ h as default
29
+ };
@@ -50,6 +50,7 @@ export { default as Home } from './Home';
50
50
  export { default as IconGreenCircle } from './IconGreenCircle';
51
51
  export { default as IconBlueCircle } from './IconBlueCircle';
52
52
  export { default as IconRedCircle } from './IconRedCircle';
53
+ export { default as IconOrangeCircle } from './IconOrangeCircle';
53
54
  export { default as Icon } from './Icon';
54
55
  export { default as ImageUnavailable } from './ImageUnavailable';
55
56
  export { default as Instagram } from './Instagram';
@@ -7,9 +7,9 @@ import { default as x } from "./AdminPerson.js";
7
7
  import { default as n } from "./AdminTelephone.js";
8
8
  import { default as A } from "./AdminPlay.js";
9
9
  import { default as h } from "./AdminFullscreen.js";
10
- import { default as w } from "./AdminFullscreenExit.js";
11
- import { default as g } from "./AdminCheck.js";
12
- import { default as F } from "./AdminChevronLeft.js";
10
+ import { default as g } from "./AdminFullscreenExit.js";
11
+ import { default as L } from "./AdminCheck.js";
12
+ import { default as S } from "./AdminChevronLeft.js";
13
13
  import { default as P } from "./AdminChevronRight.js";
14
14
  import { default as k } from "./AdminChevronUp.js";
15
15
  import { default as M } from "./AdminClose.js";
@@ -17,8 +17,8 @@ import { default as U } from "./AdminHome.js";
17
17
  import { default as H } from "./AdminPencil.js";
18
18
  import { default as b } from "./AdminSearch.js";
19
19
  import { default as T } from "./AppleAppStoreBadge.js";
20
- import { default as X } from "./ArrowDown.js";
21
- import { default as O } from "./ArrowLeft.js";
20
+ import { default as O } from "./ArrowDown.js";
21
+ import { default as N } from "./ArrowLeft.js";
22
22
  import { default as j } from "./ArrowRight.js";
23
23
  import { default as z } from "./ArrowUp.js";
24
24
  import { default as K } from "./Bag.js";
@@ -34,9 +34,9 @@ import { default as xe } from "./Download.js";
34
34
  import { default as ne } from "./Edit.js";
35
35
  import { default as Ae } from "./Email.js";
36
36
  import { default as he } from "./Error.js";
37
- import { default as we } from "./ExternalLink.js";
38
- import { default as ge } from "./Facebook.js";
39
- import { default as Fe } from "./FavoriteActive.js";
37
+ import { default as ge } from "./ExternalLink.js";
38
+ import { default as Le } from "./Facebook.js";
39
+ import { default as Se } from "./FavoriteActive.js";
40
40
  import { default as Pe } from "./Favorite.js";
41
41
  import { default as ke } from "./Filters.js";
42
42
  import { default as Me } from "./Fullscreen.js";
@@ -44,54 +44,55 @@ import { default as Ue } from "./FullscreenExit.js";
44
44
  import { default as He } from "./GavelActive.js";
45
45
  import { default as be } from "./Gavel.js";
46
46
  import { default as Te } from "./Grid.js";
47
- import { default as Xe } from "./Hide.js";
48
- import { default as Oe } from "./HomeActive.js";
47
+ import { default as Oe } from "./Hide.js";
48
+ import { default as Ne } from "./HomeActive.js";
49
49
  import { default as je } from "./Home.js";
50
50
  import { default as ze } from "./IconGreenCircle.js";
51
51
  import { default as Ke } from "./IconBlueCircle.js";
52
52
  import { default as Ye } from "./IconRedCircle.js";
53
- import { default as _e } from "./Icon.js";
54
- import { default as eo } from "./ImageUnavailable.js";
55
- import { default as ro } from "./Instagram.js";
56
- import { default as ao } from "./LinkedIn.js";
57
- import { default as lo } from "./List.js";
58
- import { default as uo } from "./Lock.js";
59
- import { default as po } from "./MagnificentSeven.js";
60
- import { default as io } from "./Menu.js";
61
- import { default as co } from "./Mute.js";
62
- import { default as vo } from "./Pause.js";
63
- import { default as Co } from "./PhillipsAppIcon.js";
64
- import { default as Lo } from "./PhillipsLogo.js";
65
- import { default as So } from "./Play.js";
66
- import { default as Io } from "./Red.js";
67
- import { default as Ro } from "./Refresh.js";
68
- import { default as Eo } from "./Search.js";
69
- import { default as Go } from "./SellActive.js";
70
- import { default as Do } from "./Sell.js";
71
- import { default as Vo } from "./Share.js";
72
- import { default as Bo } from "./Subtract.js";
73
- import { default as yo } from "./Success.js";
74
- import { default as No } from "./Tooltip.js";
75
- import { default as Wo } from "./TwitterX.js";
76
- import { default as qo } from "./Upload.js";
77
- import { default as Jo } from "./View.js";
78
- import { default as Qo } from "./VolumeMaximum.js";
79
- import { default as Zo } from "./VolumeMid.js";
80
- import { default as $o } from "./VolumeMinimum.js";
81
- import { default as or } from "./WeChat.js";
82
- import { default as tr } from "./Clock.js";
83
- import { default as fr } from "./LiveNow.js";
53
+ import { default as _e } from "./IconOrangeCircle.js";
54
+ import { default as eo } from "./Icon.js";
55
+ import { default as ro } from "./ImageUnavailable.js";
56
+ import { default as ao } from "./Instagram.js";
57
+ import { default as lo } from "./LinkedIn.js";
58
+ import { default as uo } from "./List.js";
59
+ import { default as po } from "./Lock.js";
60
+ import { default as io } from "./MagnificentSeven.js";
61
+ import { default as co } from "./Menu.js";
62
+ import { default as vo } from "./Mute.js";
63
+ import { default as Co } from "./Pause.js";
64
+ import { default as wo } from "./PhillipsAppIcon.js";
65
+ import { default as Io } from "./PhillipsLogo.js";
66
+ import { default as Fo } from "./Play.js";
67
+ import { default as Ro } from "./Red.js";
68
+ import { default as Eo } from "./Refresh.js";
69
+ import { default as Go } from "./Search.js";
70
+ import { default as Do } from "./SellActive.js";
71
+ import { default as Vo } from "./Sell.js";
72
+ import { default as Bo } from "./Share.js";
73
+ import { default as yo } from "./Subtract.js";
74
+ import { default as Xo } from "./Success.js";
75
+ import { default as Wo } from "./Tooltip.js";
76
+ import { default as qo } from "./TwitterX.js";
77
+ import { default as Jo } from "./Upload.js";
78
+ import { default as Qo } from "./View.js";
79
+ import { default as Zo } from "./VolumeMaximum.js";
80
+ import { default as $o } from "./VolumeMid.js";
81
+ import { default as or } from "./VolumeMinimum.js";
82
+ import { default as tr } from "./WeChat.js";
83
+ import { default as fr } from "./Clock.js";
84
+ import { default as dr } from "./LiveNow.js";
84
85
  export {
85
86
  a as Account,
86
87
  r as AccountActive,
87
88
  l as Add,
88
- g as AdminCheck,
89
- F as AdminChevronLeft,
89
+ L as AdminCheck,
90
+ S as AdminChevronLeft,
90
91
  P as AdminChevronRight,
91
92
  k as AdminChevronUp,
92
93
  M as AdminClose,
93
94
  h as AdminFullscreen,
94
- w as AdminFullscreenExit,
95
+ g as AdminFullscreenExit,
95
96
  m as AdminGavel,
96
97
  U as AdminHome,
97
98
  s as AdminLiveOnline,
@@ -101,8 +102,8 @@ export {
101
102
  b as AdminSearch,
102
103
  n as AdminTelephone,
103
104
  T as AppleAppStoreBadge,
104
- X as ArrowDown,
105
- O as ArrowLeft,
105
+ O as ArrowDown,
106
+ N as ArrowLeft,
106
107
  j as ArrowRight,
107
108
  z as ArrowUp,
108
109
  K as Bag,
@@ -111,7 +112,7 @@ export {
111
112
  ee as ChevronLeft,
112
113
  re as ChevronRight,
113
114
  ae as ChevronUp,
114
- tr as Clock,
115
+ fr as Clock,
115
116
  le as CloseX,
116
117
  me as ConditionReport,
117
118
  se as Delete,
@@ -119,50 +120,51 @@ export {
119
120
  ne as Edit,
120
121
  Ae as Email,
121
122
  he as Error,
122
- we as ExternalLink,
123
- ge as Facebook,
123
+ ge as ExternalLink,
124
+ Le as Facebook,
124
125
  Pe as Favorite,
125
- Fe as FavoriteActive,
126
+ Se as FavoriteActive,
126
127
  ke as Filters,
127
128
  Me as Fullscreen,
128
129
  Ue as FullscreenExit,
129
130
  be as Gavel,
130
131
  He as GavelActive,
131
132
  Te as Grid,
132
- Xe as Hide,
133
+ Oe as Hide,
133
134
  je as Home,
134
- Oe as HomeActive,
135
- _e as Icon,
135
+ Ne as HomeActive,
136
+ eo as Icon,
136
137
  Ke as IconBlueCircle,
137
138
  ze as IconGreenCircle,
139
+ _e as IconOrangeCircle,
138
140
  Ye as IconRedCircle,
139
- eo as ImageUnavailable,
140
- ro as Instagram,
141
- ao as LinkedIn,
142
- lo as List,
143
- fr as LiveNow,
144
- uo as Lock,
145
- po as MagnificentSeven,
146
- io as Menu,
147
- co as Mute,
148
- vo as Pause,
149
- Co as PhillipsAppIcon,
150
- Lo as PhillipsLogo,
151
- So as Play,
152
- Io as Red,
153
- Ro as Refresh,
154
- Eo as Search,
155
- Do as Sell,
156
- Go as SellActive,
157
- Vo as Share,
158
- Bo as Subtract,
159
- yo as Success,
160
- No as Tooltip,
161
- Wo as TwitterX,
162
- qo as Upload,
163
- Jo as View,
164
- Qo as VolumeMaximum,
165
- Zo as VolumeMid,
166
- $o as VolumeMinimum,
167
- or as WeChat
141
+ ro as ImageUnavailable,
142
+ ao as Instagram,
143
+ lo as LinkedIn,
144
+ uo as List,
145
+ dr as LiveNow,
146
+ po as Lock,
147
+ io as MagnificentSeven,
148
+ co as Menu,
149
+ vo as Mute,
150
+ Co as Pause,
151
+ wo as PhillipsAppIcon,
152
+ Io as PhillipsLogo,
153
+ Fo as Play,
154
+ Ro as Red,
155
+ Eo as Refresh,
156
+ Go as Search,
157
+ Vo as Sell,
158
+ Do as SellActive,
159
+ Bo as Share,
160
+ yo as Subtract,
161
+ Xo as Success,
162
+ Wo as Tooltip,
163
+ qo as TwitterX,
164
+ Jo as Upload,
165
+ Qo as View,
166
+ Zo as VolumeMaximum,
167
+ $o as VolumeMid,
168
+ or as VolumeMinimum,
169
+ tr as WeChat
168
170
  };
@@ -56,6 +56,7 @@ import "../../assets/formatted/Home.js";
56
56
  import "../../assets/formatted/IconGreenCircle.js";
57
57
  import "../../assets/formatted/IconBlueCircle.js";
58
58
  import "../../assets/formatted/IconRedCircle.js";
59
+ import "../../assets/formatted/IconOrangeCircle.js";
59
60
  import "../../assets/formatted/Icon.js";
60
61
  import "../../assets/formatted/ImageUnavailable.js";
61
62
  import "../../assets/formatted/Instagram.js";
@@ -21,17 +21,17 @@ const A = z(
21
21
  label: d = "Lots Close in",
22
22
  intervalDescription: N,
23
23
  className: b,
24
- locale: $ = "en",
25
- showBottomBorder: g = !0,
26
- variant: i = c.default,
24
+ locale: g = "en",
25
+ showBottomBorder: $ = !0,
26
+ variant: a = c.default,
27
27
  getCurrentDateTime: e = () => /* @__PURE__ */ new Date(),
28
28
  ...p
29
29
  }, L) => {
30
- const { className: r, ...M } = E(p, "Countdown"), [n, V] = P(e() || /* @__PURE__ */ new Date()), a = $ === H.zh ? U : k, s = {
31
- days: y(o, n) > 0 ? y(o, n) : 0,
32
- hours: I(o, n) > 0 ? I(o, n) % 24 : 0,
33
- minutes: x(o, n) > 0 ? x(o, n) % 60 : 0,
34
- seconds: (C(o, n) > 0 ? C(o, n) % 60 : 0) % 60
30
+ const { className: n, ...M } = E(p, "Countdown"), [r, V] = P(e() || /* @__PURE__ */ new Date()), i = g === H.zh ? U : k, s = {
31
+ days: y(o, r) > 0 ? y(o, r) : 0,
32
+ hours: I(o, r) > 0 ? I(o, r) % 24 : 0,
33
+ minutes: x(o, r) > 0 ? x(o, r) % 60 : 0,
34
+ seconds: (C(o, r) > 0 ? C(o, r) % 60 : 0) % 60
35
35
  };
36
36
  S(() => {
37
37
  const u = setInterval(() => {
@@ -42,28 +42,29 @@ const A = z(
42
42
  const j = _(() => {
43
43
  const u = e();
44
44
  return !!u && new Date(o).getTime() > u.getTime();
45
- }, [o, e]), v = q(o, n) <= 3 * 60 * 1e3, l = i === c.sm ? w.labelSmall : w.labelMedium;
45
+ }, [o, e]), v = q(o, r) <= 3 * 60 * 1e3, l = a === c.sm ? w.labelSmall : w.labelMedium;
46
46
  return j ? /* @__PURE__ */ h(
47
47
  "div",
48
48
  {
49
+ "data-chromatic": "ignore",
49
50
  ...M,
50
- className: F(r, b, {
51
- [`${r}--compact`]: i === c.compact,
52
- [`${r}--sm`]: i === c.sm,
53
- [`${r}--show-bottom-border`]: g,
54
- [`${r}--closing-lot`]: v
51
+ className: F(n, b, {
52
+ [`${n}--compact`]: a === c.compact,
53
+ [`${n}--sm`]: a === c.sm,
54
+ [`${n}--show-bottom-border`]: $,
55
+ [`${n}--closing-lot`]: v
55
56
  }),
56
57
  ...p,
57
58
  ref: L,
58
59
  children: [
59
- /* @__PURE__ */ h("div", { className: `${r}__countdown-container`, role: "timer", "aria-label": d, children: [
60
+ /* @__PURE__ */ h("div", { className: `${n}__countdown-container`, role: "timer", "aria-label": d, children: [
60
61
  /* @__PURE__ */ t(R, { variant: l, children: d }),
61
62
  s.days > 0 ? /* @__PURE__ */ t(
62
63
  f,
63
64
  {
64
65
  duration: s,
65
66
  unit: "days",
66
- locale: a,
67
+ locale: i,
67
68
  formatDurationStr: m,
68
69
  textVariant: l
69
70
  }
@@ -73,7 +74,7 @@ const A = z(
73
74
  {
74
75
  duration: s,
75
76
  unit: "hours",
76
- locale: a,
77
+ locale: i,
77
78
  formatDurationStr: m,
78
79
  textVariant: l
79
80
  }
@@ -83,7 +84,7 @@ const A = z(
83
84
  {
84
85
  duration: s,
85
86
  unit: "minutes",
86
- locale: a,
87
+ locale: i,
87
88
  formatDurationStr: m,
88
89
  textVariant: l
89
90
  }
@@ -93,13 +94,13 @@ const A = z(
93
94
  {
94
95
  duration: s,
95
96
  unit: "seconds",
96
- locale: a,
97
+ locale: i,
97
98
  formatDurationStr: m,
98
99
  textVariant: l
99
100
  }
100
101
  ) : null
101
102
  ] }),
102
- i === c.default ? /* @__PURE__ */ t("span", { children: N }) : null
103
+ a === c.default ? /* @__PURE__ */ t("span", { children: N }) : null
103
104
  ]
104
105
  }
105
106
  ) : null;
@@ -9,12 +9,12 @@ const T = typeof window > "u", q = P(
9
9
  ({
10
10
  className: h,
11
11
  aspectRatio: g = "none",
12
- objectFit: f = "none",
12
+ objectFit: c = "none",
13
13
  hasBlurBackground: v = !1,
14
14
  imageClassName: y,
15
15
  imageStyle: N,
16
16
  src: a,
17
- alt: c,
17
+ alt: f,
18
18
  srcSet: o,
19
19
  sizes: r,
20
20
  loading: E,
@@ -45,13 +45,14 @@ const T = typeof window > "u", q = P(
45
45
  }, [b]), /* @__PURE__ */ C(
46
46
  "div",
47
47
  {
48
+ "data-chromatic": "ignore",
48
49
  ref: x,
49
50
  className: s(e, h, {
50
51
  [`${e}--aspect-ratio-${g.replace("/", "-")}`]: g !== "none",
51
52
  [`${e}--error-image`]: i === "error" || n
52
53
  }),
53
54
  role: "img",
54
- "aria-label": c,
55
+ "aria-label": f,
55
56
  ...u,
56
57
  ...$,
57
58
  children: [
@@ -70,14 +71,14 @@ const T = typeof window > "u", q = P(
70
71
  {
71
72
  className: s(`${e}-img`, y, {
72
73
  [`${e}-img--hidden`]: i === "error" || n,
73
- [`${e}-img--object-fit-${f}`]: f !== "none"
74
+ [`${e}-img--object-fit-${c}`]: c !== "none"
74
75
  }),
75
76
  id: a,
76
77
  style: N,
77
78
  src: a,
78
79
  srcSet: o,
79
80
  sizes: r,
80
- alt: c,
81
+ alt: f,
81
82
  "data-testid": `${$["data-testid"]}-img`,
82
83
  ref: p,
83
84
  loading: E,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.230.0",
3
+ "version": "1.231.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"