@phillips/seldon 1.147.0 → 1.149.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 (49) hide show
  1. package/dist/assets/pictograms/formatted/Chat.d.ts +9 -0
  2. package/dist/assets/pictograms/formatted/Chat.js +44 -0
  3. package/dist/assets/pictograms/formatted/CreditCard.d.ts +9 -0
  4. package/dist/assets/pictograms/formatted/CreditCard.js +31 -0
  5. package/dist/assets/pictograms/formatted/Form.d.ts +9 -0
  6. package/dist/assets/pictograms/formatted/Form.js +31 -0
  7. package/dist/assets/pictograms/formatted/Live.d.ts +9 -0
  8. package/dist/assets/pictograms/formatted/Live.js +35 -0
  9. package/dist/assets/pictograms/formatted/MobilePhone.d.ts +9 -0
  10. package/dist/assets/pictograms/formatted/MobilePhone.js +30 -0
  11. package/dist/assets/pictograms/formatted/Notification.d.ts +9 -0
  12. package/dist/assets/pictograms/formatted/Notification.js +45 -0
  13. package/dist/assets/pictograms/formatted/Phone.d.ts +9 -0
  14. package/dist/assets/pictograms/formatted/Phone.js +56 -0
  15. package/dist/assets/pictograms/formatted/Photos.d.ts +9 -0
  16. package/dist/assets/pictograms/formatted/Photos.js +39 -0
  17. package/dist/assets/pictograms/formatted/Search.d.ts +9 -0
  18. package/dist/assets/pictograms/formatted/Search.js +44 -0
  19. package/dist/assets/pictograms/formatted/Shipping.d.ts +9 -0
  20. package/dist/assets/pictograms/formatted/Shipping.js +37 -0
  21. package/dist/assets/pictograms/formatted/Sign.d.ts +9 -0
  22. package/dist/assets/pictograms/formatted/Sign.js +37 -0
  23. package/dist/assets/pictograms/formatted/Submit.d.ts +9 -0
  24. package/dist/assets/pictograms/formatted/Submit.js +38 -0
  25. package/dist/assets/pictograms/formatted/Timer.d.ts +9 -0
  26. package/dist/assets/pictograms/formatted/Timer.js +39 -0
  27. package/dist/assets/pictograms/formatted/Verification.d.ts +9 -0
  28. package/dist/assets/pictograms/formatted/Verification.js +39 -0
  29. package/dist/assets/pictograms/formatted/index.d.ts +14 -0
  30. package/dist/assets/pictograms/formatted/index.js +30 -0
  31. package/dist/components/AuctionTile/AuctionTile.d.ts +20 -0
  32. package/dist/components/AuctionTile/AuctionTile.js +27 -0
  33. package/dist/components/AuctionTile/AuctionTile.stories.d.ts +18 -0
  34. package/dist/components/AuctionTile/AuctionTile.test.d.ts +1 -0
  35. package/dist/components/AuctionTile/index.d.ts +1 -0
  36. package/dist/components/Icon/Icon.d.ts +7 -1
  37. package/dist/components/Icon/Icon.js +17 -16
  38. package/dist/components/Icon/index.d.ts +1 -1
  39. package/dist/components/Pictogram/Pictogram.d.ts +29 -0
  40. package/dist/components/Pictogram/Pictogram.js +25 -0
  41. package/dist/components/Pictogram/Pictogram.stories.d.ts +21 -0
  42. package/dist/components/Pictogram/Pictogram.test.d.ts +1 -0
  43. package/dist/components/Pictogram/index.d.ts +1 -0
  44. package/dist/design/icons/PictogramGrid.d.ts +2 -0
  45. package/dist/index.d.ts +2 -0
  46. package/dist/index.js +17 -13
  47. package/dist/scss/componentStyles.scss +1 -0
  48. package/dist/scss/components/AuctionTile/_auctionTile.scss +38 -0
  49. package/package.json +3 -2
@@ -0,0 +1,9 @@
1
+ interface ChatProps 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 Chat: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<ChatProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default Chat;
@@ -0,0 +1,44 @@
1
+ import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
+ import { memo as v, forwardRef as m } from "react";
3
+ import { kebabCase as s } from "../../../node_modules/change-case/dist/index.js";
4
+ const w = v(
5
+ m((t, o) => {
6
+ const { color: a, height: h, width: r, title: l, titleId: d } = t, i = d || s(l || "");
7
+ return /* @__PURE__ */ n(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: h,
14
+ width: r,
15
+ role: "img",
16
+ ref: o,
17
+ "aria-labelledby": i,
18
+ ...t,
19
+ children: [
20
+ l ? /* @__PURE__ */ e("title", { id: i, children: l }) : null,
21
+ /* @__PURE__ */ e(
22
+ "path",
23
+ {
24
+ fill: a,
25
+ d: "M17 30a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2zM29 30a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2zM41 30a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2z"
26
+ }
27
+ ),
28
+ /* @__PURE__ */ e(
29
+ "path",
30
+ {
31
+ fill: a,
32
+ fillRule: "evenodd",
33
+ d: "m21.667 50-11.334 8v-8H4V11h56v39zM13 52.853v-5.52H6.667V13.667h50.666v33.666H20.82z",
34
+ clipRule: "evenodd"
35
+ }
36
+ )
37
+ ]
38
+ }
39
+ );
40
+ })
41
+ );
42
+ export {
43
+ w as default
44
+ };
@@ -0,0 +1,9 @@
1
+ interface CreditCardProps 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 CreditCard: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<CreditCardProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default CreditCard;
@@ -0,0 +1,31 @@
1
+ import { jsxs as v, jsx as l } from "react/jsx-runtime";
2
+ import { memo as m, forwardRef as a } from "react";
3
+ import { kebabCase as f } from "../../../node_modules/change-case/dist/index.js";
4
+ const u = m(
5
+ a((i, o) => {
6
+ const { color: e, height: r, width: h, title: t, titleId: n } = i, d = n || f(t || "");
7
+ return /* @__PURE__ */ v(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: r,
14
+ width: h,
15
+ role: "img",
16
+ ref: o,
17
+ "aria-labelledby": d,
18
+ ...i,
19
+ children: [
20
+ t ? /* @__PURE__ */ l("title", { id: d, children: t }) : null,
21
+ /* @__PURE__ */ l("path", { fill: e, d: "M24 36H10v3h14zM17 42h-7v3h7z" }),
22
+ /* @__PURE__ */ l("path", { fill: e, fillRule: "evenodd", d: "M42 35h12v10H42zm9 3h-6v4h6z", clipRule: "evenodd" }),
23
+ /* @__PURE__ */ l("path", { fill: e, fillRule: "evenodd", d: "M4 14h56v36H4zm3 3h50v3H7zm0 6v24h50V23z", clipRule: "evenodd" })
24
+ ]
25
+ }
26
+ );
27
+ })
28
+ );
29
+ export {
30
+ u as default
31
+ };
@@ -0,0 +1,9 @@
1
+ interface FormProps 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 Form: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<FormProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default Form;
@@ -0,0 +1,31 @@
1
+ import { jsxs as n, jsx as l } from "react/jsx-runtime";
2
+ import { memo as m, forwardRef as f } from "react";
3
+ import { kebabCase as a } from "../../../node_modules/change-case/dist/index.js";
4
+ const z = m(
5
+ f((i, d) => {
6
+ const { color: e, height: h, width: r, title: t, titleId: v } = i, o = v || a(t || "");
7
+ return /* @__PURE__ */ n(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: h,
14
+ width: r,
15
+ role: "img",
16
+ ref: d,
17
+ "aria-labelledby": o,
18
+ ...i,
19
+ children: [
20
+ t ? /* @__PURE__ */ l("title", { id: o, children: t }) : null,
21
+ /* @__PURE__ */ l("path", { fill: e, fillRule: "evenodd", d: "M19 39v10h26V39zm23 3H22v4h20z", clipRule: "evenodd" }),
22
+ /* @__PURE__ */ l("path", { fill: e, d: "M19 16h26v3H19zM19 22h26v3H19zM39 28h6v3h-6zM19 28h16v3H19z" }),
23
+ /* @__PURE__ */ l("path", { fill: e, fillRule: "evenodd", d: "M10 4v56h44V4zm41 3H13v50h38z", clipRule: "evenodd" })
24
+ ]
25
+ }
26
+ );
27
+ })
28
+ );
29
+ export {
30
+ z as default
31
+ };
@@ -0,0 +1,9 @@
1
+ interface LiveProps 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 Live: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<LiveProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default Live;
@@ -0,0 +1,35 @@
1
+ import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
+ import { memo as h, forwardRef as m } from "react";
3
+ import { kebabCase as n } from "../../../node_modules/change-case/dist/index.js";
4
+ const p = h(
5
+ m((a, c) => {
6
+ const { color: i, height: o, width: r, title: l, titleId: s } = a, t = s || n(l || "");
7
+ return /* @__PURE__ */ d(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: o,
14
+ width: r,
15
+ role: "img",
16
+ ref: c,
17
+ "aria-labelledby": t,
18
+ ...a,
19
+ children: [
20
+ l ? /* @__PURE__ */ e("title", { id: t, children: l }) : null,
21
+ /* @__PURE__ */ e(
22
+ "path",
23
+ {
24
+ fill: i,
25
+ d: "M11.939 11.94 13 13l1.061 1.06-.012.012a9 9 0 0 0-.284.303c-.201.222-.495.556-.851.993a31.4 31.4 0 0 0-2.624 3.772C8.372 22.376 6.5 26.86 6.5 32s1.872 9.623 3.79 12.86a31.4 31.4 0 0 0 2.624 3.771 24 24 0 0 0 1.08 1.24l.037.038.018.019.012.011L13 51c-1.06 1.061-1.061 1.061-1.062 1.06l-.003-.003-.007-.007-.023-.023a12 12 0 0 1-.358-.382 27 27 0 0 1-.96-1.12A34.4 34.4 0 0 1 7.71 46.39C5.628 42.876 3.5 37.86 3.5 32s2.128-10.877 4.21-14.39a34.4 34.4 0 0 1 2.876-4.135 27 27 0 0 1 1.24-1.42l.079-.08.023-.024.007-.008.002-.002zM19.938 19.94 21 21l1.061 1.06.003-.002-.019.019q-.03.03-.096.105c-.088.1-.223.257-.388.47a13.7 13.7 0 0 0-1.238 1.929C19.415 26.285 18.5 28.794 18.5 32s.915 5.715 1.823 7.419c.455.853.907 1.5 1.238 1.928a9 9 0 0 0 .484.576l.019.02-.002-.002c0-.001-.001-.002-1.062 1.059-1.06 1.06-1.061 1.06-1.062 1.06l-.003-.004-.006-.006-.016-.016a5 5 0 0 1-.206-.223c-.13-.147-.308-.356-.518-.627a16.7 16.7 0 0 1-1.512-2.353C16.585 38.785 15.5 35.793 15.5 32c0-3.794 1.085-6.785 2.177-8.831a16.7 16.7 0 0 1 1.512-2.353 12 12 0 0 1 .676-.8l.048-.05.016-.017.006-.005.002-.003zM49.939 14.06 51 13l1.061-1.06.004.004.007.007.023.023.079.082q.1.105.279.3c.236.258.566.635.96 1.12a34.4 34.4 0 0 1 2.877 4.134c2.082 3.513 4.21 8.53 4.21 14.39s-2.128 10.877-4.21 14.39a34.4 34.4 0 0 1-2.876 4.135 27 27 0 0 1-1.24 1.419l-.079.082-.023.023-.007.007-.004.004L51 51l-1.061-1.06.012-.012.03-.032.025-.025q.076-.08.229-.246c.201-.222.495-.556.851-.994a31.4 31.4 0 0 0 2.624-3.77C55.628 41.622 57.5 37.14 57.5 32s-1.872-9.623-3.79-12.86a31.4 31.4 0 0 0-2.624-3.772 24 24 0 0 0-1.08-1.239l-.055-.057zM41.938 22.06 43 21c1.06-1.06 1.061-1.06 1.062-1.06v.001l.003.003.006.006.016.016a5 5 0 0 1 .206.223c.13.146.308.356.518.627.42.541.967 1.33 1.513 2.353 1.09 2.046 2.176 5.037 2.176 8.83 0 3.795-1.085 6.786-2.176 8.832a16.7 16.7 0 0 1-1.513 2.353 12 12 0 0 1-.676.8l-.048.05-.016.016-.006.006-.003.004L43 43c-1.06-1.06-1.061-1.06-1.062-1.06l.017-.017.096-.105c.088-.1.223-.257.388-.47.33-.428.783-1.076 1.237-1.929.91-1.704 1.824-4.213 1.824-7.42 0-3.205-.915-5.714-1.824-7.418-.454-.853-.906-1.501-1.237-1.928a9 9 0 0 0-.484-.576zM29 30h6v6h-1.5v21h-3V36H29z"
26
+ }
27
+ )
28
+ ]
29
+ }
30
+ );
31
+ })
32
+ );
33
+ export {
34
+ p as default
35
+ };
@@ -0,0 +1,9 @@
1
+ interface MobilePhoneProps 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 MobilePhone: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<MobilePhoneProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default MobilePhone;
@@ -0,0 +1,30 @@
1
+ import { jsxs as m, jsx as l } from "react/jsx-runtime";
2
+ import { memo as s, forwardRef as a } from "react";
3
+ import { kebabCase as f } from "../../../node_modules/change-case/dist/index.js";
4
+ const w = s(
5
+ a((t, r) => {
6
+ const { color: i, height: d, width: h, title: e, titleId: n } = t, o = n || f(e || "");
7
+ return /* @__PURE__ */ m(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: d,
14
+ width: h,
15
+ role: "img",
16
+ ref: r,
17
+ "aria-labelledby": o,
18
+ ...t,
19
+ children: [
20
+ e ? /* @__PURE__ */ l("title", { id: o, children: e }) : null,
21
+ /* @__PURE__ */ l("path", { fill: i, d: "M32 12h-6V9h6zM27 55v-3h10v3zM37 12h-3V9h3z" }),
22
+ /* @__PURE__ */ l("path", { fill: i, fillRule: "evenodd", d: "M16 4h32v56H16zm3 3h26v50H19z", clipRule: "evenodd" })
23
+ ]
24
+ }
25
+ );
26
+ })
27
+ );
28
+ export {
29
+ w as default
30
+ };
@@ -0,0 +1,9 @@
1
+ interface NotificationProps 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 Notification: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<NotificationProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default Notification;
@@ -0,0 +1,45 @@
1
+ import { jsxs as c, jsx as l } from "react/jsx-runtime";
2
+ import { memo as h, forwardRef as n } from "react";
3
+ import { kebabCase as m } from "../../../node_modules/change-case/dist/index.js";
4
+ const w = h(
5
+ n((i, a) => {
6
+ const { color: t, height: r, width: s, title: e, titleId: d } = i, o = d || m(e || "");
7
+ return /* @__PURE__ */ c(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: r,
14
+ width: s,
15
+ role: "img",
16
+ ref: a,
17
+ "aria-labelledby": o,
18
+ ...i,
19
+ children: [
20
+ e ? /* @__PURE__ */ l("title", { id: o, children: e }) : null,
21
+ /* @__PURE__ */ l("path", { fill: t, d: "M32 57.5c4.25 0 5-3 5-3H27s.75 3 5 3" }),
22
+ /* @__PURE__ */ l(
23
+ "path",
24
+ {
25
+ stroke: t,
26
+ strokeLinecap: "square",
27
+ strokeWidth: 3,
28
+ d: "M32 12.5c4.614 0 7.05 2.528 8.416 5.186.694 1.35 1.095 2.718 1.321 3.758a16 16 0 0 1 .258 1.569l.008.078v.016l.004.04.006.044v.01q.002.01.004.026l.013.103.052.383a125.507 125.507 0 0 0 .943 5.813c.317 1.686.7 3.5 1.136 5.115.425 1.574.937 3.104 1.553 4.13 1.119 1.866 2.755 3.488 4.054 4.613a29 29 0 0 0 1.68 1.351l.052.038V51.5h-39v-6.727l.052-.038c.43-.32 1.022-.78 1.68-1.351 1.299-1.125 2.935-2.747 4.054-4.612.616-1.027 1.128-2.557 1.553-4.131.436-1.616.82-3.429 1.136-5.115a126 126 0 0 0 .943-5.813l.052-.383.013-.102.003-.027.001-.007v-.003l.006-.043.002-.043h.001l.001-.014.008-.078q.01-.11.039-.331c.039-.294.106-.721.219-1.238.226-1.04.627-2.408 1.321-3.758C24.949 15.028 27.386 12.5 32 12.5Z"
29
+ }
30
+ ),
31
+ /* @__PURE__ */ l(
32
+ "path",
33
+ {
34
+ fill: t,
35
+ d: "m20.178 11.93-.305.385a18.5 18.5 0 0 0-3.845 9.237l-.069.675-.165 1.971-2.99-.25.166-1.972.08-.786a21.5 21.5 0 0 1 4.468-10.733l.304-.387zM46.482 10.457l.478.629a21.5 21.5 0 0 1 4.07 10.89l.166 1.971-2.99.251-.165-1.97a18.5 18.5 0 0 0-3.503-9.372l-.411-.54-.305-.386 2.356-1.86zM34 6v3h-4V6z"
36
+ }
37
+ )
38
+ ]
39
+ }
40
+ );
41
+ })
42
+ );
43
+ export {
44
+ w as default
45
+ };
@@ -0,0 +1,9 @@
1
+ interface PhoneProps 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 Phone: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<PhoneProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default Phone;
@@ -0,0 +1,56 @@
1
+ import { jsxs as v, jsx as l } from "react/jsx-runtime";
2
+ import { memo as a, forwardRef as f } from "react";
3
+ import { kebabCase as m } from "../../../node_modules/change-case/dist/index.js";
4
+ const u = a(
5
+ f((d, o) => {
6
+ const { color: e, height: h, width: n, title: i, titleId: r } = d, t = r || m(i || "");
7
+ return /* @__PURE__ */ v(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: h,
14
+ width: n,
15
+ role: "img",
16
+ ref: o,
17
+ "aria-labelledby": t,
18
+ ...d,
19
+ children: [
20
+ i ? /* @__PURE__ */ l("title", { id: t, children: i }) : null,
21
+ /* @__PURE__ */ l(
22
+ "path",
23
+ {
24
+ fill: e,
25
+ fillRule: "evenodd",
26
+ d: "M7 4v15h12.5v-5.684h25V19H57V4zm3 12V7h44v9h-6.5v-5.684h-31V16z",
27
+ clipRule: "evenodd"
28
+ }
29
+ ),
30
+ /* @__PURE__ */ l("path", { fill: e, d: "M32 39a3 3 0 1 0 0 6 3 3 0 0 0 0-6" }),
31
+ /* @__PURE__ */ l(
32
+ "path",
33
+ {
34
+ fill: e,
35
+ fillRule: "evenodd",
36
+ d: "M43 42c0 1.152-.177 2.263-.505 3.306l2.067 1.194-1.5 2.598-1.858-1.072A10.99 10.99 0 0 1 32 53c-6.075 0-11-4.925-11-11s4.925-11 11-11 11 4.925 11 11m-3 0a8 8 0 0 1-.193 1.755L38.5 43 37 45.598l1.6.924A8 8 0 1 1 40 42",
37
+ clipRule: "evenodd"
38
+ }
39
+ ),
40
+ /* @__PURE__ */ l(
41
+ "path",
42
+ {
43
+ fill: e,
44
+ fillRule: "evenodd",
45
+ d: "M25 18h3v6h8v-6h3v6h12.252L55 60H9l4.089-36H25zM12.36 57l3.407-30h32.781l3.123 30z",
46
+ clipRule: "evenodd"
47
+ }
48
+ )
49
+ ]
50
+ }
51
+ );
52
+ })
53
+ );
54
+ export {
55
+ u as default
56
+ };
@@ -0,0 +1,9 @@
1
+ interface PhotosProps 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 Photos: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<PhotosProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default Photos;
@@ -0,0 +1,39 @@
1
+ import { jsxs as n, jsx as l } from "react/jsx-runtime";
2
+ import { memo as s, forwardRef as f } from "react";
3
+ import { kebabCase as m } from "../../../node_modules/change-case/dist/index.js";
4
+ const w = s(
5
+ f((i, d) => {
6
+ const { color: e, height: r, width: a, title: t, titleId: h } = i, o = h || m(t || "");
7
+ return /* @__PURE__ */ n(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: r,
14
+ width: a,
15
+ role: "img",
16
+ ref: d,
17
+ "aria-labelledby": o,
18
+ ...i,
19
+ children: [
20
+ t ? /* @__PURE__ */ l("title", { id: o, children: t }) : null,
21
+ /* @__PURE__ */ l("path", { fill: e, d: "M40.667 20.333a2.667 2.667 0 1 0 0-5.333 2.667 2.667 0 0 0 0 5.333" }),
22
+ /* @__PURE__ */ l(
23
+ "path",
24
+ {
25
+ fill: e,
26
+ fillRule: "evenodd",
27
+ d: "M54 4H4v50h50zm-3 3H7v22.572l11.084-14.483L31.486 35.19l10.373-12.047L51 37.77zM7 51V34.508l10.916-14.263 11.682 17.523a2.167 2.167 0 0 0 3.445.212l8.431-9.791L51 43.43V51z",
28
+ clipRule: "evenodd"
29
+ }
30
+ ),
31
+ /* @__PURE__ */ l("path", { fill: e, d: "M55.5 13.5v3H57V57H14.5v-1.5h-3V60H60V13.5z" })
32
+ ]
33
+ }
34
+ );
35
+ })
36
+ );
37
+ export {
38
+ w as default
39
+ };
@@ -0,0 +1,9 @@
1
+ interface SearchProps 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 Search: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<SearchProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default Search;
@@ -0,0 +1,44 @@
1
+ import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
+ import { memo as n, forwardRef as c } from "react";
3
+ import { kebabCase as f } from "../../../node_modules/change-case/dist/index.js";
4
+ const g = n(
5
+ c((t, r) => {
6
+ const { color: i, height: d, width: s, title: l, titleId: a } = t, o = a || f(l || "");
7
+ return /* @__PURE__ */ m(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: d,
14
+ width: s,
15
+ role: "img",
16
+ ref: r,
17
+ "aria-labelledby": o,
18
+ ...t,
19
+ children: [
20
+ l ? /* @__PURE__ */ e("title", { id: o, children: l }) : null,
21
+ /* @__PURE__ */ e(
22
+ "path",
23
+ {
24
+ fill: i,
25
+ d: "M16.02 30.85a10.485 10.485 0 0 1 4.988-17.679l-.57-2.448a13 13 0 0 0-6.03 3.258 13 13 0 0 0-.153 18.658z"
26
+ }
27
+ ),
28
+ /* @__PURE__ */ e(
29
+ "path",
30
+ {
31
+ fill: i,
32
+ fillRule: "evenodd",
33
+ d: "M23 41c9.941 0 18-8.059 18-18S32.941 5 23 5 5 13.059 5 23s8.059 18 18 18m0-3c8.284 0 15-6.716 15-15S31.284 8 23 8 8 14.716 8 23s6.716 15 15 15M36.397 38.427s.568-.493 1.098-1.023 1.024-1.098 1.024-1.098l5.344 5.344 1.65-1.65L58.24 52.728l-5.657 5.657-12.728-12.728 1.885-1.886zm9.116 5.816-1.415 1.414 8.486 8.485 1.414-1.414z",
34
+ clipRule: "evenodd"
35
+ }
36
+ )
37
+ ]
38
+ }
39
+ );
40
+ })
41
+ );
42
+ export {
43
+ g as default
44
+ };
@@ -0,0 +1,9 @@
1
+ interface ShippingProps 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 Shipping: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<ShippingProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default Shipping;
@@ -0,0 +1,37 @@
1
+ import { jsxs as m, jsx as i } from "react/jsx-runtime";
2
+ import { memo as n, forwardRef as s } from "react";
3
+ import { kebabCase as v } from "../../../node_modules/change-case/dist/index.js";
4
+ const w = n(
5
+ s((e, o) => {
6
+ const { color: h, height: r, width: d, title: l, titleId: a } = e, t = a || v(l || "");
7
+ return /* @__PURE__ */ m(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: r,
14
+ width: d,
15
+ role: "img",
16
+ ref: o,
17
+ "aria-labelledby": t,
18
+ ...e,
19
+ children: [
20
+ l ? /* @__PURE__ */ i("title", { id: t, children: l }) : null,
21
+ /* @__PURE__ */ i(
22
+ "path",
23
+ {
24
+ fill: h,
25
+ fillRule: "evenodd",
26
+ d: "M6 11h38v13h12.097l3.776 12.578a3 3 0 0 1 .127.863V46H49.981q.02.248.019.5a6.5 6.5 0 1 1-12.981-.5H21.98q.02.248.019.5A6.5 6.5 0 1 1 9.019 46H4v-6h2zm4.022 32a6.5 6.5 0 0 1 5.478-3 6.5 6.5 0 0 1 5.478 3h17.044A6.52 6.52 0 0 1 41 40.498V14H9v29zM57 43h-8.022A6.5 6.5 0 0 0 44 40.019V27h4.5v10.5H57zm-5.5-8.5V27h2.403l2.597 7.5zM23 20H11v3h12zm-6 6h-6v3h6zm26.5 24a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7M19 46.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0",
27
+ clipRule: "evenodd"
28
+ }
29
+ )
30
+ ]
31
+ }
32
+ );
33
+ })
34
+ );
35
+ export {
36
+ w as default
37
+ };
@@ -0,0 +1,9 @@
1
+ interface SignProps 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 Sign: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<SignProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default Sign;
@@ -0,0 +1,37 @@
1
+ import { jsxs as m, jsx as i } from "react/jsx-runtime";
2
+ import { memo as s, forwardRef as c } from "react";
3
+ import { kebabCase as f } from "../../../node_modules/change-case/dist/index.js";
4
+ const g = s(
5
+ c((e, o) => {
6
+ const { color: r, height: a, width: d, title: l, titleId: n } = e, t = n || f(l || "");
7
+ return /* @__PURE__ */ m(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: a,
14
+ width: d,
15
+ role: "img",
16
+ ref: o,
17
+ "aria-labelledby": t,
18
+ ...e,
19
+ children: [
20
+ l ? /* @__PURE__ */ i("title", { id: t, children: l }) : null,
21
+ /* @__PURE__ */ i(
22
+ "path",
23
+ {
24
+ fill: r,
25
+ fillRule: "evenodd",
26
+ d: "m53.668 23.516 4.067-4.067a3.333 3.333 0 0 0 0-4.714l-9.428-9.428a3.333 3.333 0 0 0-4.714 0l-4.067 4.067a.5.5 0 0 0-.212.004L26.862 12.32a.5.5 0 0 0-.341.282L7.54 54.8a.5.5 0 0 0 .66.66l42.239-18.94a.5.5 0 0 0 .282-.342l2.943-12.452a.5.5 0 0 0 .004-.211M46.185 7.428l9.429 9.428c.13.13.13.341 0 .472l-3.772 3.77-9.9-9.899 3.772-3.77c.13-.131.341-.131.471 0m1.9 26.86-31.288 14.03 14.898-14.897-2.122-2.121-14.855 14.855L28.75 14.957l9.897-2.339 11.775 11.776z",
27
+ clipRule: "evenodd"
28
+ }
29
+ )
30
+ ]
31
+ }
32
+ );
33
+ })
34
+ );
35
+ export {
36
+ g as default
37
+ };
@@ -0,0 +1,9 @@
1
+ interface SubmitProps 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 Submit: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<SubmitProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default Submit;
@@ -0,0 +1,38 @@
1
+ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
+ import { memo as a, forwardRef as f } from "react";
3
+ import { kebabCase as c } from "../../../node_modules/change-case/dist/index.js";
4
+ const u = a(
5
+ f((t, r) => {
6
+ const { color: i, height: d, width: m, title: l, titleId: n } = t, o = n || c(l || "");
7
+ return /* @__PURE__ */ s(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: d,
14
+ width: m,
15
+ role: "img",
16
+ ref: r,
17
+ "aria-labelledby": o,
18
+ ...t,
19
+ children: [
20
+ l ? /* @__PURE__ */ e("title", { id: o, children: l }) : null,
21
+ /* @__PURE__ */ e("path", { fill: i, d: "m40.07 23 2.122 2.121-7.07 7.071L33 30.072z" }),
22
+ /* @__PURE__ */ e(
23
+ "path",
24
+ {
25
+ fill: i,
26
+ fillRule: "evenodd",
27
+ d: "M2.824 29.078 56.93 7.096l-8.964 52.662-11.069-11.99L27.5 57.792V38.051zM30.5 40.837v9.37l4.358-4.649zM11.176 28.922l18.184 6.613c.325.118.617.313.852.567l15.821 17.14 7.036-41.339z",
28
+ clipRule: "evenodd"
29
+ }
30
+ )
31
+ ]
32
+ }
33
+ );
34
+ })
35
+ );
36
+ export {
37
+ u as default
38
+ };
@@ -0,0 +1,9 @@
1
+ interface TimerProps 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 Timer: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<TimerProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default Timer;
@@ -0,0 +1,39 @@
1
+ import { jsxs as m, jsx as l } from "react/jsx-runtime";
2
+ import { memo as n, forwardRef as a } from "react";
3
+ import { kebabCase as f } from "../../../node_modules/change-case/dist/index.js";
4
+ const w = n(
5
+ a((i, r) => {
6
+ const { color: e, height: d, width: h, title: t, titleId: s } = i, o = s || f(t || "");
7
+ return /* @__PURE__ */ m(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: d,
14
+ width: h,
15
+ role: "img",
16
+ ref: r,
17
+ "aria-labelledby": o,
18
+ ...i,
19
+ children: [
20
+ t ? /* @__PURE__ */ l("title", { id: o, children: t }) : null,
21
+ /* @__PURE__ */ l("path", { fill: e, d: "M33.5 23h-3v9H29v6h6v-1.5h13v-3H35V32h-1.5z" }),
22
+ /* @__PURE__ */ l(
23
+ "path",
24
+ {
25
+ fill: e,
26
+ fillRule: "evenodd",
27
+ d: "M57 35c0 13.807-11.193 25-25 25S7 48.807 7 35s11.193-25 25-25 25 11.193 25 25m-3 0c0 12.15-9.85 22-22 22s-22-9.85-22-22 9.85-22 22-22 22 9.85 22 22",
28
+ clipRule: "evenodd"
29
+ }
30
+ ),
31
+ /* @__PURE__ */ l("path", { fill: e, d: "M25 4h14v3h-5.5v1.667h-3V7H25zM16.364 13.121 14.243 11 10 15.243l2.121 2.121z" })
32
+ ]
33
+ }
34
+ );
35
+ })
36
+ );
37
+ export {
38
+ w as default
39
+ };
@@ -0,0 +1,9 @@
1
+ interface VerificationProps 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 Verification: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<VerificationProps & import('react').RefAttributes<SVGSVGElement>>>;
9
+ export default Verification;
@@ -0,0 +1,39 @@
1
+ import { jsxs as a, jsx as l } from "react/jsx-runtime";
2
+ import { memo as f, forwardRef as v } from "react";
3
+ import { kebabCase as m } from "../../../node_modules/change-case/dist/index.js";
4
+ const u = f(
5
+ v((t, d) => {
6
+ const { color: e, height: r, width: h, title: i, titleId: n } = t, o = n || m(i || "");
7
+ return /* @__PURE__ */ a(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ fill: "none",
12
+ viewBox: "0 0 64 64",
13
+ height: r,
14
+ width: h,
15
+ role: "img",
16
+ ref: d,
17
+ "aria-labelledby": o,
18
+ ...t,
19
+ children: [
20
+ i ? /* @__PURE__ */ l("title", { id: o, children: i }) : null,
21
+ /* @__PURE__ */ l("path", { fill: e, fillRule: "evenodd", d: "M10 29V17h12v12zm3-9h6v6h-6z", clipRule: "evenodd" }),
22
+ /* @__PURE__ */ l("path", { fill: e, d: "M26 18h19v3H26zM26 24h19v3H26zM55.121 37.5 46 46.621 40.879 41.5 43 39.379l3 3 7-7z" }),
23
+ /* @__PURE__ */ l(
24
+ "path",
25
+ {
26
+ fill: e,
27
+ fillRule: "evenodd",
28
+ d: "M4 43h32.166c.952 5.675 5.888 10 11.834 10 6.627 0 12-5.373 12-12 0-4.843-2.869-9.016-7-10.912V11H4zm46-13.834V14H7v20h31.252c2.178-3.028 5.733-5 9.748-5q1.023.001 2 .166M36.683 37H7v3h29.041a12 12 0 0 1 .642-3M48 50a9 9 0 1 0 0-18 9 9 0 0 0 0 18",
29
+ clipRule: "evenodd"
30
+ }
31
+ )
32
+ ]
33
+ }
34
+ );
35
+ })
36
+ );
37
+ export {
38
+ u as default
39
+ };
@@ -0,0 +1,14 @@
1
+ export { default as Chat } from './Chat';
2
+ export { default as CreditCard } from './CreditCard';
3
+ export { default as Form } from './Form';
4
+ export { default as Live } from './Live';
5
+ export { default as MobilePhone } from './MobilePhone';
6
+ export { default as Notification } from './Notification';
7
+ export { default as Phone } from './Phone';
8
+ export { default as Photos } from './Photos';
9
+ export { default as Search } from './Search';
10
+ export { default as Shipping } from './Shipping';
11
+ export { default as Sign } from './Sign';
12
+ export { default as Submit } from './Submit';
13
+ export { default as Timer } from './Timer';
14
+ export { default as Verification } from './Verification';
@@ -0,0 +1,30 @@
1
+ import { default as t } from "./Chat.js";
2
+ import { default as a } from "./CreditCard.js";
3
+ import { default as m } from "./Form.js";
4
+ import { default as p } from "./Live.js";
5
+ import { default as s } from "./MobilePhone.js";
6
+ import { default as i } from "./Notification.js";
7
+ import { default as h } from "./Phone.js";
8
+ import { default as S } from "./Photos.js";
9
+ import { default as C } from "./Search.js";
10
+ import { default as b } from "./Shipping.js";
11
+ import { default as v } from "./Sign.js";
12
+ import { default as L } from "./Submit.js";
13
+ import { default as N } from "./Timer.js";
14
+ import { default as V } from "./Verification.js";
15
+ export {
16
+ t as Chat,
17
+ a as CreditCard,
18
+ m as Form,
19
+ p as Live,
20
+ s as MobilePhone,
21
+ i as Notification,
22
+ h as Phone,
23
+ S as Photos,
24
+ C as Search,
25
+ b as Shipping,
26
+ v as Sign,
27
+ L as Submit,
28
+ N as Timer,
29
+ V as Verification
30
+ };
@@ -0,0 +1,20 @@
1
+ import { ComponentProps } from 'react';
2
+ export type AuctionTileProps = ComponentProps<'div'> & {
3
+ imageSrc: string;
4
+ imageAlt?: string;
5
+ type: string;
6
+ title: string;
7
+ date: string;
8
+ location: string;
9
+ };
10
+ /**
11
+ * ## Overview
12
+ *
13
+ * Overview of this widget
14
+ *
15
+ * [Figma Link](https://www.figma.com/design/hMu9IWH5N3KamJy8tLFdyV/RW-Design-System?node-id=22259-4172&m=dev)
16
+ *
17
+ * [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-auctiontile--overview)
18
+ */
19
+ declare const AuctionTile: import('react').ForwardRefExoticComponent<Omit<AuctionTileProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
20
+ export default AuctionTile;
@@ -0,0 +1,27 @@
1
+ import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
+ import { forwardRef as v } from "react";
3
+ import { getCommonProps as N } from "../../utils/index.js";
4
+ import g from "../../node_modules/classnames/index.js";
5
+ import { TextVariants as r } from "../Text/types.js";
6
+ import e from "../Text/Text.js";
7
+ const u = v(
8
+ ({ className: o, imageSrc: n, imageAlt: m = "Auction Image", type: c, title: l, date: d, location: p, ...t }, f) => {
9
+ const { className: i, ...h } = N(t, "AuctionTile"), _ = { ...h, ...t };
10
+ return /* @__PURE__ */ s("div", { ..._, className: g(i, o), ref: f, children: [
11
+ /* @__PURE__ */ a("div", { className: `${i}__image`, children: /* @__PURE__ */ a("img", { src: n, alt: m }) }),
12
+ /* @__PURE__ */ s("div", { className: `${i}__details`, children: [
13
+ /* @__PURE__ */ a(e, { variant: r.badge, children: c }),
14
+ /* @__PURE__ */ a(e, { variant: r.title4, children: l }),
15
+ /* @__PURE__ */ s("div", { className: `${i}__date_location`, children: [
16
+ /* @__PURE__ */ a(e, { variant: r.string2, children: d }),
17
+ /* @__PURE__ */ a("span", { className: `${i}__separator`, children: "•" }),
18
+ /* @__PURE__ */ a(e, { variant: r.string2, children: p })
19
+ ] })
20
+ ] })
21
+ ] });
22
+ }
23
+ );
24
+ u.displayName = "AuctionTile";
25
+ export {
26
+ u as default
27
+ };
@@ -0,0 +1,18 @@
1
+ import { AuctionTileProps } from './AuctionTile';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').ForwardRefExoticComponent<Omit<AuctionTileProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
5
+ };
6
+ export default meta;
7
+ export declare const Playground: {
8
+ (props: AuctionTileProps): import("react/jsx-runtime").JSX.Element;
9
+ args: {
10
+ imageSrc: string;
11
+ type: string;
12
+ title: string;
13
+ date: string;
14
+ location: string;
15
+ };
16
+ argTypes: {};
17
+ };
18
+ export declare const MultipleAuctions: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { default as AuctionTile, type AuctionTileProps } from './AuctionTile';
@@ -1,6 +1,8 @@
1
1
  import { default as React } from 'react';
2
2
  import * as iconComponents from '../../assets/formatted';
3
+ import * as pictogramComponents from '../../assets/pictograms/formatted';
3
4
  export type IconName = keyof typeof iconComponents;
5
+ export type PictogramName = keyof typeof pictogramComponents;
4
6
  export interface IconProps extends React.HTMLAttributes<HTMLDivElement> {
5
7
  /**
6
8
  * Height of the icon in px (number) or as a string with units (e.g. '1em')
@@ -17,7 +19,11 @@ export interface IconProps extends React.HTMLAttributes<HTMLDivElement> {
17
19
  /**
18
20
  * Name of Icon to render
19
21
  */
20
- icon: IconName;
22
+ icon: IconName | PictogramName;
23
+ /**
24
+ * Tells the Icon component that the icon prop refers to the name of a pictogram. This is only needed when rendering a pictogram that has the same name of an existing icon.
25
+ */
26
+ isPictogram?: boolean;
21
27
  }
22
28
  /**
23
29
  * ## Overview
@@ -1,21 +1,22 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { forwardRef as i } from "react";
3
- import d from "../../node_modules/classnames/index.js";
4
- import { getCommonProps as u, px as x } from "../../utils/index.js";
5
- import { getScssVar as C } from "../../utils/scssUtils.js";
6
- import * as N from "../../assets/formatted/index.js";
7
- const I = i(
8
- ({ className: e, height: r, width: m, color: o, icon: s, ...t }, c) => {
9
- const { className: p, ...l } = u(t, `Icon-${s}`), n = N[s], f = {
10
- color: o === "currentColor" ? o : C(o ?? "", "$pure-black"),
11
- ...r ? { height: r } : {},
12
- ...m ? { width: m } : {},
13
- ...l
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { forwardRef as u } from "react";
3
+ import x from "../../node_modules/classnames/index.js";
4
+ import { getCommonProps as C, px as N } from "../../utils/index.js";
5
+ import { getScssVar as $ } from "../../utils/scssUtils.js";
6
+ import * as I from "../../assets/formatted/index.js";
7
+ import * as n from "../../assets/pictograms/formatted/index.js";
8
+ const P = u(
9
+ ({ className: t, height: m, width: s, color: r, icon: o, isPictogram: p, ...c }, f) => {
10
+ const { className: l, ...i } = C(c, `Icon-${o}`), a = p ? n[o] : I[o] || n[o], d = {
11
+ color: r === "currentColor" ? r : $(r ?? "", "$pure-black"),
12
+ ...m ? { height: m } : {},
13
+ ...s ? { width: s } : {},
14
+ ...i
14
15
  };
15
- return n ? /* @__PURE__ */ a("div", { className: d(`${x}-icon`, p, e), ref: c, children: /* @__PURE__ */ a(n, { ...f }) }) : null;
16
+ return a ? /* @__PURE__ */ e("div", { className: x(`${N}-icon`, l, t), ref: f, children: /* @__PURE__ */ e(a, { ...d }) }) : null;
16
17
  }
17
18
  );
18
- I.displayName = "Icon";
19
+ P.displayName = "Icon";
19
20
  export {
20
- I as default
21
+ P as default
21
22
  };
@@ -1 +1 @@
1
- export { default as Icon, type IconProps, type IconName } from './Icon';
1
+ export { default as Icon, type IconProps, type IconName, type PictogramName } from './Icon';
@@ -0,0 +1,29 @@
1
+ import { ComponentProps } from 'react';
2
+ import { PictogramName } from '../Icon';
3
+ export interface PictogramProps extends ComponentProps<'div'> {
4
+ /**
5
+ * Name of Pictogram to render
6
+ */
7
+ pictogram: PictogramName;
8
+ /**
9
+ * Size of the Pictogram
10
+ */
11
+ size: string;
12
+ /**
13
+ * Color of the Pictogram
14
+ */
15
+ color: string;
16
+ }
17
+ /**
18
+ * ## Overview
19
+ *
20
+ * Component for rendering pictograms. Accepts a pictogram name and renders the corresponding SVG icon at the size specified. Also accepts a color parameter to change the fill color of the pictogram.
21
+ *
22
+ * Overview of this widget
23
+ *
24
+ * [Figma Link](https://www.figma.com/design/hMu9IWH5N3KamJy8tLFdyV/RW-Design-System?node-id=22564-5919&m=dev)
25
+ *
26
+ * [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-pictogram--overview)
27
+ */
28
+ declare const Pictogram: import('react').ForwardRefExoticComponent<Omit<PictogramProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
29
+ export default Pictogram;
@@ -0,0 +1,25 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { forwardRef as p } from "react";
3
+ import { getCommonProps as f } from "../../utils/index.js";
4
+ import P from "../../node_modules/classnames/index.js";
5
+ import g from "../Icon/Icon.js";
6
+ const l = p(({ className: r, pictogram: t, size: o, color: a, ...m }, s) => {
7
+ const { className: c, ...e } = f(m, "Pictogram"), i = { ...e, ...m };
8
+ return /* @__PURE__ */ n(
9
+ g,
10
+ {
11
+ ...i,
12
+ className: P(c, r),
13
+ icon: t,
14
+ height: o,
15
+ width: o,
16
+ color: a,
17
+ isPictogram: !0,
18
+ ref: s
19
+ }
20
+ );
21
+ });
22
+ l.displayName = "Pictogram";
23
+ export {
24
+ l as default
25
+ };
@@ -0,0 +1,21 @@
1
+ import { PictogramProps } from './Pictogram';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').ForwardRefExoticComponent<Omit<PictogramProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
5
+ };
6
+ export default meta;
7
+ export declare const Playground: {
8
+ (props: PictogramProps): import("react/jsx-runtime").JSX.Element;
9
+ args: {
10
+ pictogram: string;
11
+ size: string;
12
+ color: string;
13
+ };
14
+ argTypes: {
15
+ pictogram: string[];
16
+ color: {
17
+ control: string;
18
+ options: string[];
19
+ };
20
+ };
21
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { default as Pictogram, type PictogramProps } from './Pictogram';
@@ -0,0 +1,2 @@
1
+ import { PictogramProps } from '../../components/Pictogram';
2
+ export declare const PictogramGrid: (props: PictogramProps) => import("react/jsx-runtime").JSX.Element;
package/dist/index.d.ts CHANGED
@@ -81,3 +81,5 @@ export * from './patterns/BidSnapshot';
81
81
  export * from './patterns/FilterMenu';
82
82
  export * from './patterns/ObjectTile';
83
83
  export * from './utils/hooks';
84
+ export * from './components/Pictogram';
85
+ export * from './components/AuctionTile';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { PaddingTokens as a, SpacingTokens as f, defaultYear as s, emailValidation as l, encodeURLSearchParams as d, findChildrenExcludingTypes as m, findChildrenOfType as p, focusElementById as u, generatePaddingClassName as i, getCommonProps as x, noOp as n, px as g, useNormalizedInputProps as c } from "./utils/index.js";
2
2
  import { default as C } from "./pages/Page.js";
3
- import { SSRMediaQuery as B, ssrMediaQueryStyle as P } from "./providers/SeldonProvider/utils.js";
3
+ import { SSRMediaQuery as P, ssrMediaQueryStyle as A } from "./providers/SeldonProvider/utils.js";
4
4
  import { usePendingState as L } from "./utils/hooks.js";
5
5
  import { AuctionStatus as b, LotStatus as V, SupportedLanguages as h } from "./types/commonTypes.js";
6
6
  import { default as v } from "./components/Button/Button.js";
@@ -27,8 +27,8 @@ import { default as ie } from "./components/Detail/Detail.js";
27
27
  import { default as ne } from "./components/Drawer/Drawer.js";
28
28
  import { default as ce } from "./components/Dropdown/Dropdown.js";
29
29
  import { default as Ce } from "./components/ErrorBoundary/ErrorBoundary.js";
30
- import { Grid as Be } from "./components/Grid/Grid.js";
31
- import { default as Ae } from "./components/GridItem/GridItem.js";
30
+ import { Grid as Pe } from "./components/Grid/Grid.js";
31
+ import { default as Be } from "./components/GridItem/GridItem.js";
32
32
  import { GridItemAlign as Ie } from "./components/GridItem/types.js";
33
33
  import { default as Ve } from "./components/Input/Input.js";
34
34
  import { default as ke } from "./components/Link/Link.js";
@@ -53,8 +53,8 @@ import { default as pt } from "./components/Tabs/TabsContent.js";
53
53
  import { Tag as it, default as xt } from "./components/Tags/Tags.js";
54
54
  import { TextAlignments as gt, TextVariants as ct } from "./components/Text/types.js";
55
55
  import { default as Ct } from "./components/Text/Text.js";
56
- import { TextSymbolVariants as Bt } from "./components/TextSymbol/types.js";
57
- import { default as At } from "./components/TextSymbol/TextSymbol.js";
56
+ import { TextSymbolVariants as Pt } from "./components/TextSymbol/types.js";
57
+ import { default as Bt } from "./components/TextSymbol/TextSymbol.js";
58
58
  import { default as It } from "./components/Video/Video.js";
59
59
  import { default as Vt } from "./patterns/DetailList/DetailList.js";
60
60
  import { DetailListAlignment as kt } from "./patterns/DetailList/types.js";
@@ -80,7 +80,7 @@ import { default as xo } from "./components/Countdown/Countdown.js";
80
80
  import { CountdownVariants as go } from "./components/Countdown/types.js";
81
81
  import { default as So } from "./components/Divider/Divider.js";
82
82
  import { default as To } from "./components/FavoritingTileButton/FavoritingTileButton.js";
83
- import { default as Po } from "./components/Filter/Filter.js";
83
+ import { default as Ao } from "./components/Filter/Filter.js";
84
84
  import { default as Lo } from "./components/Filter/FilterInput.js";
85
85
  import { default as bo } from "./components/Filter/FilterHeader.js";
86
86
  import { default as ho } from "./components/TextArea/TextArea.js";
@@ -94,6 +94,8 @@ import { default as Ro } from "./patterns/BidSnapshot/BidMessage.js";
94
94
  import { BidMessageVariants as jo, BidStatusEnum as zo } from "./patterns/BidSnapshot/types.js";
95
95
  import { default as Yo } from "./patterns/FilterMenu/FilterMenu.js";
96
96
  import { default as qo } from "./patterns/ObjectTile/ObjectTile.js";
97
+ import { default as Ko } from "./components/Pictogram/Pictogram.js";
98
+ import { default as _o } from "./components/AuctionTile/AuctionTile.js";
97
99
  export {
98
100
  M as Accordion,
99
101
  E as AccordionItem,
@@ -103,6 +105,7 @@ export {
103
105
  Mo as AddToCalendar,
104
106
  uo as Article,
105
107
  b as AuctionStatus,
108
+ _o as AuctionTile,
106
109
  Yt as AuthState,
107
110
  Ro as BidMessage,
108
111
  jo as BidMessageVariants,
@@ -133,13 +136,13 @@ export {
133
136
  Ce as ErrorBoundary,
134
137
  wt as FavoritesCollectionTile,
135
138
  To as FavoritingTileButton,
136
- Po as Filter,
139
+ Ao as Filter,
137
140
  bo as FilterHeader,
138
141
  Lo as FilterInput,
139
142
  Yo as FilterMenu,
140
143
  so as Footer,
141
- Be as Grid,
142
- Ae as GridItem,
144
+ Pe as Grid,
145
+ Be as GridItem,
143
146
  Ie as GridItemAlign,
144
147
  mo as Header,
145
148
  Ht as HeroBanner,
@@ -162,9 +165,10 @@ export {
162
165
  C as Page,
163
166
  ao as PageContentWrapper,
164
167
  Ye as Pagination,
168
+ Ko as Pictogram,
165
169
  qe as PinchZoom,
166
170
  Ke as Row,
167
- B as SSRMediaQuery,
171
+ P as SSRMediaQuery,
168
172
  Nt as SaleHeaderBanner,
169
173
  Ut as SaleHeaderBrowseAuctions,
170
174
  _e as Search,
@@ -186,8 +190,8 @@ export {
186
190
  Ct as Text,
187
191
  gt as TextAlignments,
188
192
  ho as TextArea,
189
- Bt as TextSymbolVariants,
190
- At as TextSymbols,
193
+ Pt as TextSymbolVariants,
194
+ Bt as TextSymbols,
191
195
  ct as TextVariants,
192
196
  vo as Toast,
193
197
  yo as ToastProvider,
@@ -204,7 +208,7 @@ export {
204
208
  x as getCommonProps,
205
209
  n as noOp,
206
210
  g as px,
207
- P as ssrMediaQueryStyle,
211
+ A as ssrMediaQueryStyle,
208
212
  c as useNormalizedInputProps,
209
213
  L as usePendingState,
210
214
  Do as useToast
@@ -73,3 +73,4 @@
73
73
  @use 'components/Divider/divider';
74
74
  @use 'components/TextArea/textArea';
75
75
  @use 'components/AddToCalendar/addToCalendar';
76
+ @use 'components/AuctionTile/auctionTile';
@@ -0,0 +1,38 @@
1
+ @use '../../allPartials' as *;
2
+
3
+ .#{$px}-auction-tile {
4
+ display: flex;
5
+ flex-direction: row;
6
+ gap: $spacing-sm;
7
+
8
+ &__image {
9
+ aspect-ratio: 16/9;
10
+ max-width: $spacing-xxxl;
11
+ min-width: 90px;
12
+
13
+ @include media($size-xl) {
14
+ max-width: calc($spacing-xxxl * 1.25);
15
+ }
16
+
17
+ img {
18
+ object-fit: cover;
19
+ }
20
+ }
21
+
22
+ &__details {
23
+ align-items: flex-start;
24
+ display: flex;
25
+ flex-direction: column;
26
+ flex-grow: 1;
27
+ gap: $spacing-micro;
28
+ }
29
+
30
+ &__date_info {
31
+ display: flex;
32
+ flex-direction: row;
33
+ }
34
+
35
+ &__separator {
36
+ margin: 0 8px;
37
+ }
38
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.147.0",
3
+ "version": "1.149.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"
@@ -38,7 +38,8 @@
38
38
  "lint:styles": "stylelint \"src/**/*.scss\" --fix",
39
39
  "lint:md": "markdownlint \"src/**/*.{md,mdx}\" --fix",
40
40
  "prepare": "husky install",
41
- "icons:format": "npx @svgr/cli --config-file svgr.config.cjs --out-dir src/assets/formatted --ignore-existing -- src/assets"
41
+ "icons:format": "npx @svgr/cli --config-file svgr.config.cjs --out-dir src/assets/formatted --ignore-existing -- src/assets",
42
+ "pictograms:format": "npx @svgr/cli --config-file svgr.config.cjs --out-dir src/assets/pictograms/formatted --ignore-existing -- src/assets/pictograms"
42
43
  },
43
44
  "dependencies": {
44
45
  "@artsy/fresnel": "^7.1.4",