@phillips/seldon 1.49.0 → 1.51.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.
@@ -1,4 +1,5 @@
1
- const l = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2018C14.8954%2018%2014%2018.8954%2014%2020V21.6754C14%2021.8904%2014.0347%2022.104%2014.1026%2022.3079C14.7104%2024.1313%2017.2896%2024.1313%2017.8974%2022.3079C17.9653%2022.104%2018%2021.8904%2018%2021.6754V20C18%2018.8954%2017.1046%2018%2016%2018Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.00004%209.00002L9.00001%2013.126C7.27478%2013.5701%206%2015.1362%206%2017V25C6%2027.2091%207.79086%2029%2010%2029H22C24.2091%2029%2026%2027.2091%2026%2025V17C26%2015.1362%2024.7252%2013.5701%2023%2013.126V9C23%205.8561%2020.1684%203%2016%203C11.8317%203%209%205.85611%209.00004%209.00002ZM16%205C12.7436%205%2011%207.1439%2011%208.99998L11%2013H21V9C21%207.1439%2019.2564%205%2016%205ZM22%2015H10C8.89543%2015%208%2015.8954%208%2017V25C8%2026.1046%208.89543%2027%2010%2027H22C23.1046%2027%2024%2026.1046%2024%2025V17C24%2015.8954%2023.1046%2015%2022%2015Z'%20fill='black'/%3e%3c/svg%3e";
1
+ import * as e from "react";
2
+ const t = (l) => /* @__PURE__ */ e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ e.createElement("path", { d: "M16 18C14.8954 18 14 18.8954 14 20V21.6754C14 21.8904 14.0347 22.104 14.1026 22.3079C14.7104 24.1313 17.2896 24.1313 17.8974 22.3079C17.9653 22.104 18 21.8904 18 21.6754V20C18 18.8954 17.1046 18 16 18Z", fill: "black" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.00004 9.00002L9.00001 13.126C7.27478 13.5701 6 15.1362 6 17V25C6 27.2091 7.79086 29 10 29H22C24.2091 29 26 27.2091 26 25V17C26 15.1362 24.7252 13.5701 23 13.126V9C23 5.8561 20.1684 3 16 3C11.8317 3 9 5.85611 9.00004 9.00002ZM16 5C12.7436 5 11 7.1439 11 8.99998L11 13H21V9C21 7.1439 19.2564 5 16 5ZM22 15H10C8.89543 15 8 15.8954 8 17V25C8 26.1046 8.89543 27 10 27H22C23.1046 27 24 26.1046 24 25V17C24 15.8954 23.1046 15 22 15Z", fill: "black" }));
2
3
  export {
3
- l as default
4
+ t as default
4
5
  };
@@ -1,4 +1,5 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%2011.8929C4.5%2011.4195%204.83579%2011.0357%205.25%2011.0357L18.75%2011.0357C19.1642%2011.0357%2019.5%2011.4195%2019.5%2011.8929C19.5%2012.3662%2019.1642%2012.75%2018.75%2012.75L5.25%2012.75C4.83579%2012.75%204.5%2012.3662%204.5%2011.8929Z'%20fill='%23323232'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%2011.8929C4.5%2011.4195%204.83579%2011.0357%205.25%2011.0357L18.75%2011.0357C19.1642%2011.0357%2019.5%2011.4195%2019.5%2011.8929C19.5%2012.3662%2019.1642%2012.75%2018.75%2012.75L5.25%2012.75C4.83579%2012.75%204.5%2012.3662%204.5%2011.8929Z'%20fill='%23323232'/%3e%3c/svg%3e";
1
+ import * as e from "react";
2
+ const t = (l) => /* @__PURE__ */ e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.5 11.8929C4.5 11.4195 4.83579 11.0357 5.25 11.0357L18.75 11.0357C19.1642 11.0357 19.5 11.4195 19.5 11.8929C19.5 12.3662 19.1642 12.75 18.75 12.75L5.25 12.75C4.83579 12.75 4.5 12.3662 4.5 11.8929Z", fill: "#323232" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.5 11.8929C4.5 11.4195 4.83579 11.0357 5.25 11.0357L18.75 11.0357C19.1642 11.0357 19.5 11.4195 19.5 11.8929C19.5 12.3662 19.1642 12.75 18.75 12.75L5.25 12.75C4.83579 12.75 4.5 12.3662 4.5 11.8929Z", fill: "#323232" }));
2
3
  export {
3
- e as default
4
+ t as default
4
5
  };
@@ -1,4 +1,5 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%2011.8929C4.5%2011.4195%204.83579%2011.0357%205.25%2011.0357L18.75%2011.0357C19.1642%2011.0357%2019.5%2011.4195%2019.5%2011.8929C19.5%2012.3662%2019.1642%2012.75%2018.75%2012.75L5.25%2012.75C4.83579%2012.75%204.5%2012.3662%204.5%2011.8929Z'%20fill='%23323232'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.1071%204.5C12.5805%204.5%2012.9643%204.83579%2012.9643%205.25L12.9643%2018.75C12.9643%2019.1642%2012.5805%2019.5%2012.1071%2019.5C11.6338%2019.5%2011.25%2019.1642%2011.25%2018.75L11.25%205.25C11.25%204.83579%2011.6338%204.5%2012.1071%204.5Z'%20fill='%23323232'/%3e%3c/svg%3e";
1
+ import * as e from "react";
2
+ const t = (l) => /* @__PURE__ */ e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.5 11.8929C4.5 11.4195 4.83579 11.0357 5.25 11.0357L18.75 11.0357C19.1642 11.0357 19.5 11.4195 19.5 11.8929C19.5 12.3662 19.1642 12.75 18.75 12.75L5.25 12.75C4.83579 12.75 4.5 12.3662 4.5 11.8929Z", fill: "#323232" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.1071 4.5C12.5805 4.5 12.9643 4.83579 12.9643 5.25L12.9643 18.75C12.9643 19.1642 12.5805 19.5 12.1071 19.5C11.6338 19.5 11.25 19.1642 11.25 18.75L11.25 5.25C11.25 4.83579 11.6338 4.5 12.1071 4.5Z", fill: "#323232" }));
2
3
  export {
3
- e as default
4
+ t as default
4
5
  };
@@ -1,111 +1,108 @@
1
- import { jsxs as g, jsx as o, Fragment as I } from "react/jsx-runtime";
1
+ import { jsxs as g, jsx as t, Fragment as h } from "react/jsx-runtime";
2
2
  import { getCommonProps as $ } from "../../utils/index.js";
3
- import f from "../../assets/plus.svg.js";
4
- import h from "../../assets/minus.svg.js";
5
- import _ from "../../assets/lock.svg.js";
6
- import d from "../../node_modules/classnames/index.js";
7
- import { Item as p, Trigger as C, Content as v } from "../../node_modules/@radix-ui/react-accordion/dist/index.js";
3
+ import v from "../../assets/plus.svg.js";
4
+ import f from "../../assets/minus.svg.js";
5
+ import I from "../../assets/lock.svg.js";
6
+ import a from "../../node_modules/classnames/index.js";
7
+ import { Item as _, Trigger as C, Content as p } from "../../node_modules/@radix-ui/react-accordion/dist/index.js";
8
8
  import { getIconClasses as u } from "./utils.js";
9
9
  const x = ({
10
10
  children: n,
11
- className: m,
12
- baseClassName: t,
13
- disable: s,
14
- isLargeVariation: c,
15
- id: e
11
+ className: d,
12
+ baseClassName: o,
13
+ disable: i,
14
+ isLargeVariation: e,
15
+ id: c
16
16
  }) => {
17
- const r = s, l = /* @__PURE__ */ o(
18
- "img",
17
+ const r = i, l = /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
18
+ I,
19
19
  {
20
- className: u(t, c, "lock"),
21
- src: _,
22
- "data-testid": `${e}-lockedIcon`,
20
+ className: u(o, e, "lock"),
21
+ "data-testid": `${c}-lockedIcon`,
23
22
  "aria-hidden": !0
24
23
  }
25
- ), a = /* @__PURE__ */ o(
26
- "img",
24
+ ) }), m = /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
25
+ v,
27
26
  {
28
- className: u(t, c, "plus"),
29
- src: f,
30
- "data-testid": `${e}-plusIcon`,
27
+ className: u(o, e, "plus"),
28
+ "data-testid": `${c}-plusIcon`,
31
29
  "aria-hidden": !0
32
30
  }
33
- ), i = /* @__PURE__ */ o(
34
- "img",
31
+ ) }), s = /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
32
+ f,
35
33
  {
36
- className: u(t, c, "minus"),
37
- src: h,
38
- "data-testid": `${e}-minusIcon`,
34
+ className: u(o, e, "minus"),
35
+ "data-testid": `${c}-minusIcon`,
39
36
  "aria-hidden": !0
40
37
  }
41
- );
42
- return /* @__PURE__ */ o(
38
+ ) });
39
+ return /* @__PURE__ */ t(
43
40
  C,
44
41
  {
45
- "data-disabled": s,
42
+ "data-disabled": i,
46
43
  asChild: !0,
47
- className: d(t, { [`${t}--hoverable`]: !s }, m),
48
- children: /* @__PURE__ */ g("div", { "data-testid": `${e}-trigger`, children: [
49
- /* @__PURE__ */ o("div", { className: d(`${t}__text`, { [`${t}__text--lg`]: c }), children: n }),
44
+ className: a(o, { [`${o}--hoverable`]: !i }, d),
45
+ children: /* @__PURE__ */ g("div", { "data-testid": `${c}-trigger`, children: [
46
+ /* @__PURE__ */ t("div", { className: a(`${o}__text`, { [`${o}__text--lg`]: e }), children: n }),
50
47
  r && l,
51
- !r && a,
52
- !r && i
48
+ !r && m,
49
+ !r && s
53
50
  ] })
54
51
  }
55
52
  );
56
53
  }, N = ({
57
54
  children: n,
58
- baseClassName: m,
59
- disable: t,
60
- hasTransition: s,
61
- isLargeVariation: c,
62
- className: e
63
- }) => /* @__PURE__ */ o(I, { children: t && n ? /* @__PURE__ */ o("div", { children: n }) : /* @__PURE__ */ o(
64
- v,
55
+ baseClassName: d,
56
+ disable: o,
57
+ hasTransition: i,
58
+ isLargeVariation: e,
59
+ className: c
60
+ }) => /* @__PURE__ */ t(h, { children: o && n ? /* @__PURE__ */ t("div", { children: n }) : /* @__PURE__ */ t(
61
+ p,
65
62
  {
66
63
  asChild: !0,
67
- className: d(
68
- { [`${m}__content--lg`]: c },
69
- { [`${m}--transition`]: s },
70
- e
64
+ className: a(
65
+ { [`${d}__content--lg`]: e },
66
+ { [`${d}--transition`]: i },
67
+ c
71
68
  ),
72
69
  children: n
73
70
  }
74
- ) }), P = ({
71
+ ) }), F = ({
75
72
  isLocked: n,
76
- variation: m,
77
- label: t,
78
- isLastItem: s,
79
- hasTransition: c = !1,
80
- children: e,
73
+ variation: d,
74
+ label: o,
75
+ isLastItem: i,
76
+ hasTransition: e = !1,
77
+ children: c,
81
78
  ...r
82
79
  }) => {
83
- const { className: l } = $(r, "Accordion"), a = m === "lg", i = `${l}-item`;
80
+ const { className: l } = $(r, "Accordion"), m = d === "lg", s = `${l}-item`;
84
81
  return /* @__PURE__ */ g(
85
- p,
82
+ _,
86
83
  {
87
84
  disabled: n,
88
- value: t,
89
- className: d(i, { [`${i}__border-bottom`]: !s }),
85
+ value: o,
86
+ className: a(s, { [`${s}__border-bottom`]: !i }),
90
87
  children: [
91
- /* @__PURE__ */ o(
88
+ /* @__PURE__ */ t(
92
89
  x,
93
90
  {
94
91
  disable: n,
95
- isLargeVariation: a,
92
+ isLargeVariation: m,
96
93
  id: r == null ? void 0 : r.id,
97
- baseClassName: `${i}-label`,
98
- children: t
94
+ baseClassName: `${s}-label`,
95
+ children: o
99
96
  }
100
97
  ),
101
- /* @__PURE__ */ o(
98
+ /* @__PURE__ */ t(
102
99
  N,
103
100
  {
104
101
  disable: n,
105
- hasTransition: c,
106
- isLargeVariation: a,
107
- baseClassName: i,
108
- children: e
102
+ hasTransition: e,
103
+ isLargeVariation: m,
104
+ baseClassName: s,
105
+ children: c
109
106
  }
110
107
  )
111
108
  ]
@@ -113,5 +110,5 @@ const x = ({
113
110
  );
114
111
  };
115
112
  export {
116
- P as default
113
+ F as default
117
114
  };
@@ -348,6 +348,11 @@ $margin-xxl: var(--spacing-xxl);
348
348
  ///////////////////////
349
349
  $max-site-width: 1560px;
350
350
 
351
+ ////////////////////////
352
+ /// z-index TOKENS:
353
+ ///////////////////////
354
+ $modal-z-index: 30;
355
+
351
356
  ////////////////////////
352
357
  /// height Tokens
353
358
  ///////////////////////
@@ -10,6 +10,10 @@
10
10
  .#{$px}-accordion-item {
11
11
  padding: $spacing-sm;
12
12
 
13
+ svg {
14
+ max-width: unset;
15
+ }
16
+
13
17
  &__border-bottom {
14
18
  border-bottom: 1px solid $keyline-gray;
15
19
  }
@@ -18,6 +18,7 @@
18
18
  position: fixed;
19
19
  top: 0;
20
20
  width: 100%;
21
+ z-index: $modal-z-index;
21
22
  }
22
23
 
23
24
  &__close {
@@ -92,16 +92,3 @@
92
92
  }
93
93
  }
94
94
  }
95
-
96
- .#{$px}-text--heading3 {
97
- display: none;
98
-
99
- @include isHeaderMobile {
100
- align-items: center;
101
- display: flex;
102
- flex-wrap: wrap;
103
- height: $nav-height;
104
- margin: 0;
105
- padding: 0 $spacing-sm;
106
- }
107
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.49.0",
3
+ "version": "1.51.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"