@phillips/seldon 1.93.0 → 1.95.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.
- package/dist/assets/calendarAlt.svg.js +5 -0
- package/dist/assets/icons.d.ts +1 -0
- package/dist/components/Button/Button.js +39 -33
- package/dist/components/Pagination/Pagination.js +4 -3
- package/dist/components/Select/Select.d.ts +9 -0
- package/dist/components/Select/Select.js +60 -49
- package/dist/components/Select/Select.stories.d.ts +30 -0
- package/dist/components/Select/types.d.ts +4 -0
- package/dist/components/Select/types.js +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +199 -195
- package/dist/scss/componentStyles.scss +1 -0
- package/dist/scss/components/Select/_select.scss +74 -0
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const t = (l) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 28, height: 28, viewBox: "0 0 28 28", fill: "none", ...l }, /* @__PURE__ */ e.createElement("path", { d: "M7 12.2505C6.51675 12.2505 6.125 12.6422 6.125 13.1255C6.125 13.6087 6.51675 14.0005 7 14.0005H8.75C9.23325 14.0005 9.625 13.6087 9.625 13.1255C9.625 12.6422 9.23325 12.2505 8.75 12.2505H7Z", fill: "black" }), /* @__PURE__ */ e.createElement("path", { d: "M13.125 12.2505C12.6418 12.2505 12.25 12.6422 12.25 13.1255C12.25 13.6087 12.6418 14.0005 13.125 14.0005H14.875C15.3582 14.0005 15.75 13.6087 15.75 13.1255C15.75 12.6422 15.3582 12.2505 14.875 12.2505H13.125Z", fill: "black" }), /* @__PURE__ */ e.createElement("path", { d: "M19.25 12.2505C18.7668 12.2505 18.375 12.6422 18.375 13.1255C18.375 13.6087 18.7668 14.0005 19.25 14.0005H21C21.4832 14.0005 21.875 13.6087 21.875 13.1255C21.875 12.6422 21.4832 12.2505 21 12.2505H19.25Z", fill: "black" }), /* @__PURE__ */ e.createElement("path", { d: "M7 17.5005C6.51675 17.5005 6.125 17.8922 6.125 18.3755C6.125 18.8587 6.51675 19.2505 7 19.2505H8.75C9.23325 19.2505 9.625 18.8587 9.625 18.3755C9.625 17.8922 9.23325 17.5005 8.75 17.5005H7Z", fill: "black" }), /* @__PURE__ */ e.createElement("path", { d: "M13.125 17.5005C12.6418 17.5005 12.25 17.8922 12.25 18.3755C12.25 18.8587 12.6418 19.2505 13.125 19.2505H14.875C15.3582 19.2505 15.75 18.8587 15.75 18.3755C15.75 17.8922 15.3582 17.5005 14.875 17.5005H13.125Z", fill: "black" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.75 7.00049C1.75 5.06749 3.317 3.50049 5.25 3.50049H22.75C24.683 3.50049 26.25 5.06749 26.25 7.00049V21.0005C26.25 22.9335 24.683 24.5005 22.75 24.5005H5.25C3.317 24.5005 1.75 22.9335 1.75 21.0005V7.00049ZM24.5 9.62549V21.0005C24.5 21.967 23.7165 22.7505 22.75 22.7505H5.25C4.2835 22.7505 3.5 21.967 3.5 21.0005V9.62549H24.5ZM24.5 7.87549V7.00049C24.5 6.03399 23.7165 5.25049 22.75 5.25049H5.25C4.2835 5.25049 3.5 6.03399 3.5 7.00049V7.87549H24.5Z", fill: "black" }));
|
|
3
|
+
export {
|
|
4
|
+
t as default
|
|
5
|
+
};
|
package/dist/assets/icons.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as AccountCircle } from './account_circle.svg?react';
|
|
2
2
|
export { default as ArrowPrev } from './arrowPrev.svg?react';
|
|
3
3
|
export { default as Calendar } from './calendar.svg?react';
|
|
4
|
+
export { default as CalendarAlt } from './calendarAlt.svg?react';
|
|
4
5
|
export { default as ChevronDown } from './chevronDown.svg?react';
|
|
5
6
|
export { default as ChevronNext } from './chevronNext.svg?react';
|
|
6
7
|
export { default as ChevronRight } from './chevronRight.svg?react';
|
|
@@ -1,58 +1,64 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import p from "../../node_modules/classnames/index.js";
|
|
3
3
|
import { getCommonProps as d } from "../../utils/index.js";
|
|
4
4
|
import { ButtonVariants as b } from "./types.js";
|
|
5
|
-
import { forwardRef as
|
|
6
|
-
const
|
|
5
|
+
import { forwardRef as B } from "react";
|
|
6
|
+
const N = B(
|
|
7
7
|
({
|
|
8
|
-
variant:
|
|
9
|
-
size:
|
|
10
|
-
children:
|
|
11
|
-
className:
|
|
8
|
+
variant: t = b.primary,
|
|
9
|
+
size: s = "md",
|
|
10
|
+
children: r,
|
|
11
|
+
className: a,
|
|
12
12
|
isIconLast: m = !1,
|
|
13
13
|
type: u = "button",
|
|
14
14
|
isDisabled: c = !1,
|
|
15
|
-
href:
|
|
16
|
-
target:
|
|
17
|
-
...
|
|
18
|
-
},
|
|
19
|
-
const { className: o,
|
|
20
|
-
return
|
|
15
|
+
href: e,
|
|
16
|
+
target: n,
|
|
17
|
+
...l
|
|
18
|
+
}, $) => {
|
|
19
|
+
const { className: o, ...f } = d(l, "Button");
|
|
20
|
+
return e ? /* @__PURE__ */ i(
|
|
21
21
|
"a",
|
|
22
22
|
{
|
|
23
|
-
|
|
24
|
-
ref:
|
|
25
|
-
href:
|
|
26
|
-
className:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
...f,
|
|
24
|
+
ref: $,
|
|
25
|
+
href: e,
|
|
26
|
+
className: p(
|
|
27
|
+
`${o}`,
|
|
28
|
+
`${o}--${s}`,
|
|
29
|
+
`${o}--${t}`,
|
|
30
|
+
{
|
|
31
|
+
[`${o}--icon-last`]: m
|
|
32
|
+
},
|
|
33
|
+
a
|
|
34
|
+
),
|
|
35
|
+
target: n,
|
|
36
|
+
rel: n === "_blank" ? "noopener noreferrer" : void 0,
|
|
37
|
+
children: r
|
|
32
38
|
}
|
|
33
|
-
) : /* @__PURE__ */
|
|
39
|
+
) : /* @__PURE__ */ i(
|
|
34
40
|
"button",
|
|
35
41
|
{
|
|
36
|
-
|
|
37
|
-
ref:
|
|
42
|
+
...f,
|
|
43
|
+
ref: $,
|
|
38
44
|
type: u,
|
|
39
|
-
className:
|
|
45
|
+
className: p(
|
|
40
46
|
`${o}`,
|
|
41
|
-
`${o}--${t}`,
|
|
42
47
|
`${o}--${s}`,
|
|
48
|
+
`${o}--${t}`,
|
|
43
49
|
{
|
|
44
50
|
[`${o}--icon-last`]: m
|
|
45
51
|
},
|
|
46
|
-
|
|
52
|
+
a
|
|
47
53
|
),
|
|
48
54
|
disabled: c,
|
|
49
|
-
...
|
|
50
|
-
children:
|
|
55
|
+
...l,
|
|
56
|
+
children: r
|
|
51
57
|
}
|
|
52
58
|
);
|
|
53
59
|
}
|
|
54
60
|
);
|
|
55
|
-
|
|
61
|
+
N.displayName = "Button";
|
|
56
62
|
export {
|
|
57
|
-
|
|
63
|
+
N as default
|
|
58
64
|
};
|
|
@@ -19,15 +19,15 @@ const E = ({
|
|
|
19
19
|
selectLabel: C = "Select",
|
|
20
20
|
...s
|
|
21
21
|
}) => {
|
|
22
|
-
const N = "pagination", { className: u, ...
|
|
22
|
+
const N = "pagination", { className: u, ...I } = w(s, "Pagination"), { id: c } = s, { pendingState: _, setPendingState: y } = k(o(g)), m = _ || g, d = (t, e) => {
|
|
23
23
|
const a = o(t);
|
|
24
|
-
|
|
24
|
+
y(a), P(a, e);
|
|
25
25
|
};
|
|
26
26
|
return /* @__PURE__ */ O(
|
|
27
27
|
"div",
|
|
28
28
|
{
|
|
29
29
|
className: p(`${r}-${N}`, { [`${u}__wrapper`]: u }, b),
|
|
30
|
-
...
|
|
30
|
+
...I,
|
|
31
31
|
...s,
|
|
32
32
|
children: [
|
|
33
33
|
/* @__PURE__ */ i(
|
|
@@ -58,6 +58,7 @@ const E = ({
|
|
|
58
58
|
"data-testid": `${c}-select-button`,
|
|
59
59
|
hideLabel: !0,
|
|
60
60
|
disabled: l,
|
|
61
|
+
showIcon: !1,
|
|
61
62
|
children: n.map((t) => {
|
|
62
63
|
const e = o(t);
|
|
63
64
|
return /* @__PURE__ */ i("option", { value: e, children: typeof t == "string" || typeof t == "number" ? t : t.label }, e);
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { InputProps } from '../Input/Input';
|
|
2
|
+
import { SelectVariants } from './types';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
export interface SelectProps extends InputProps {
|
|
4
5
|
/**
|
|
5
6
|
* Option elements that are selectable
|
|
6
7
|
*/
|
|
7
8
|
children: React.ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Determines if you want to show the icon
|
|
11
|
+
*/
|
|
12
|
+
showIcon?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Determines the variant of the select
|
|
15
|
+
*/
|
|
16
|
+
variant: SelectVariants;
|
|
8
17
|
}
|
|
9
18
|
/**
|
|
10
19
|
* ## Overview
|
|
@@ -1,59 +1,70 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import { px as
|
|
5
|
-
|
|
1
|
+
import { jsxs as p, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import * as k from "react";
|
|
3
|
+
import i from "../../node_modules/classnames/index.js";
|
|
4
|
+
import { px as e, useNormalizedInputProps as z } from "../../utils/index.js";
|
|
5
|
+
import { SelectVariants as c } from "./types.js";
|
|
6
|
+
import D from "../../assets/chevronDown.svg.js";
|
|
7
|
+
const F = k.forwardRef(
|
|
6
8
|
({
|
|
7
|
-
children:
|
|
9
|
+
children: d,
|
|
8
10
|
className: a,
|
|
9
|
-
defaultValue:
|
|
10
|
-
disabled:
|
|
11
|
-
hideLabel:
|
|
12
|
-
id:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
11
|
+
defaultValue: m,
|
|
12
|
+
disabled: u,
|
|
13
|
+
hideLabel: $,
|
|
14
|
+
id: n,
|
|
15
|
+
showIcon: l = !0,
|
|
16
|
+
variant: _ = c.default,
|
|
17
|
+
inline: f,
|
|
18
|
+
invalid: b,
|
|
19
|
+
invalidText: v,
|
|
20
|
+
labelText: h,
|
|
21
|
+
onChange: w,
|
|
22
|
+
onClick: V,
|
|
23
|
+
readOnly: r,
|
|
24
|
+
size: C = "md",
|
|
25
|
+
value: x,
|
|
26
|
+
warn: y,
|
|
27
|
+
warnText: N,
|
|
28
|
+
...S
|
|
25
29
|
}, j) => {
|
|
26
|
-
const
|
|
27
|
-
[`${
|
|
28
|
-
[`${
|
|
29
|
-
[`${
|
|
30
|
-
[`${
|
|
31
|
-
[`${
|
|
30
|
+
const o = "select", t = z({ disabled: u, id: n, invalid: b, invalidText: v, readOnly: r, type: o, warn: y, warnText: N }), P = i(`${e}-${o}-input`, `${e}-input`, `${e}-input--${C}`, {
|
|
31
|
+
[`${e}-input--inline`]: f,
|
|
32
|
+
[`${e}-input--readonly`]: r,
|
|
33
|
+
[`${e}-input--disabled`]: t.disabled,
|
|
34
|
+
[`${e}-input--invalid`]: t.invalid,
|
|
35
|
+
[`${e}-input--warn`]: t.warn,
|
|
32
36
|
[`${a}__wrapper`]: a
|
|
37
|
+
}), R = i(`${e}-input__input`, {
|
|
38
|
+
className: a,
|
|
39
|
+
[`${e}-input__select--tertiary`]: _ === c.tertiary
|
|
40
|
+
}), g = i(`${e}-select-container`, {
|
|
41
|
+
[`${e}-select-container--show__icon`]: l
|
|
33
42
|
});
|
|
34
|
-
return /* @__PURE__ */
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
43
|
+
return /* @__PURE__ */ p("div", { className: P, children: [
|
|
44
|
+
/* @__PURE__ */ s("label", { htmlFor: n, className: i(`${e}-input__label`, { [`${e}-input__label--hidden`]: $ }), children: h }),
|
|
45
|
+
/* @__PURE__ */ p("div", { className: g, children: [
|
|
46
|
+
/* @__PURE__ */ s(
|
|
47
|
+
"select",
|
|
48
|
+
{
|
|
49
|
+
className: R,
|
|
50
|
+
"data-testid": n,
|
|
51
|
+
defaultValue: m,
|
|
52
|
+
disabled: t.disabled,
|
|
53
|
+
id: n,
|
|
54
|
+
onChange: w,
|
|
55
|
+
ref: j,
|
|
56
|
+
value: x,
|
|
57
|
+
...S,
|
|
58
|
+
children: d
|
|
59
|
+
}
|
|
60
|
+
),
|
|
61
|
+
l ? /* @__PURE__ */ s(D, {}) : null
|
|
62
|
+
] }),
|
|
63
|
+
t.validation
|
|
53
64
|
] });
|
|
54
65
|
}
|
|
55
66
|
);
|
|
56
|
-
|
|
67
|
+
F.displayName = "Select";
|
|
57
68
|
export {
|
|
58
|
-
|
|
69
|
+
F as default
|
|
59
70
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SelectProps } from './Select';
|
|
2
|
+
import { SelectVariants } from './types';
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
5
|
component: import('react').ForwardRefExoticComponent<Omit<SelectProps, "ref"> & import('react').RefAttributes<HTMLSelectElement>>;
|
|
@@ -13,12 +14,14 @@ export declare const Playground: {
|
|
|
13
14
|
playgroundWidth: number;
|
|
14
15
|
className: string;
|
|
15
16
|
defaultValue: string;
|
|
17
|
+
showIcon: boolean;
|
|
16
18
|
disabled: boolean;
|
|
17
19
|
invalid: boolean;
|
|
18
20
|
invalidText: string;
|
|
19
21
|
labelText: string;
|
|
20
22
|
readOnly: boolean;
|
|
21
23
|
size: string;
|
|
24
|
+
variant: SelectVariants;
|
|
22
25
|
warn: boolean;
|
|
23
26
|
warnText: string;
|
|
24
27
|
};
|
|
@@ -33,6 +36,11 @@ export declare const Playground: {
|
|
|
33
36
|
type: string;
|
|
34
37
|
};
|
|
35
38
|
};
|
|
39
|
+
showIcon: {
|
|
40
|
+
control: {
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
36
44
|
invalid: {
|
|
37
45
|
control: {
|
|
38
46
|
type: string;
|
|
@@ -68,6 +76,12 @@ export declare const Playground: {
|
|
|
68
76
|
type: string;
|
|
69
77
|
};
|
|
70
78
|
};
|
|
79
|
+
variant: {
|
|
80
|
+
options: SelectVariants[];
|
|
81
|
+
control: {
|
|
82
|
+
type: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
71
85
|
value: {
|
|
72
86
|
control: {
|
|
73
87
|
type: string;
|
|
@@ -90,3 +104,19 @@ export declare const Playground: {
|
|
|
90
104
|
};
|
|
91
105
|
};
|
|
92
106
|
};
|
|
107
|
+
export declare const Tertiary: {
|
|
108
|
+
({ playgroundWidth, ...args }: StoryProps): import("react/jsx-runtime").JSX.Element;
|
|
109
|
+
args: {
|
|
110
|
+
showIcon: boolean;
|
|
111
|
+
variant: SelectVariants;
|
|
112
|
+
};
|
|
113
|
+
argTypes: {
|
|
114
|
+
variant: {
|
|
115
|
+
options: SelectVariants[];
|
|
116
|
+
control: {
|
|
117
|
+
type: string;
|
|
118
|
+
};
|
|
119
|
+
defaultValue: SelectVariants;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export { default as GridItem, type GridItemProps } from './components/GridItem/G
|
|
|
26
26
|
export { GridItemAlign } from './components/GridItem/types';
|
|
27
27
|
export { default as Search, type SearchProps } from './components/Search/Search';
|
|
28
28
|
export { default as Select, type SelectProps } from './components/Select/Select';
|
|
29
|
+
export { SelectVariants } from './components/Select/types';
|
|
29
30
|
export { default as SplitPanel, type SplitPanelProps } from './components/SplitPanel/SplitPanel';
|
|
30
31
|
export { default as Subscribe, type SubscribeProps } from './patterns/Subscribe/Subscribe';
|
|
31
32
|
export { SubscriptionState } from './patterns/Subscribe/types';
|
package/dist/index.js
CHANGED
|
@@ -2,208 +2,212 @@ import { PaddingTokens as f, SpacingTokens as s, defaultYear as l, emailValidati
|
|
|
2
2
|
import { default as S } from "./assets/account_circle.svg.js";
|
|
3
3
|
import { default as L } from "./assets/arrowPrev.svg.js";
|
|
4
4
|
import { default as b } from "./assets/calendar.svg.js";
|
|
5
|
-
import { default as T } from "./assets/
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as w } from "./assets/
|
|
9
|
-
import { default as D } from "./assets/
|
|
10
|
-
import { default as F } from "./assets/
|
|
11
|
-
import { default as M } from "./assets/
|
|
12
|
-
import { default as O } from "./assets/icon-footer-
|
|
13
|
-
import { default as G } from "./assets/icon-footer-
|
|
14
|
-
import { default as E } from "./assets/icon-footer-
|
|
15
|
-
import { default as Y } from "./assets/icon-footer-
|
|
16
|
-
import { default as z } from "./assets/
|
|
17
|
-
import { default as q } from "./assets/
|
|
18
|
-
import { default as K } from "./assets/
|
|
19
|
-
import { default as _ } from "./assets/
|
|
20
|
-
import { default as ee } from "./assets/
|
|
21
|
-
import { default as te } from "./assets/
|
|
5
|
+
import { default as T } from "./assets/calendarAlt.svg.js";
|
|
6
|
+
import { default as k } from "./assets/chevronDown.svg.js";
|
|
7
|
+
import { default as v } from "./assets/chevronNext.svg.js";
|
|
8
|
+
import { default as w } from "./assets/chevronRight.svg.js";
|
|
9
|
+
import { default as D } from "./assets/close.svg.js";
|
|
10
|
+
import { default as F } from "./assets/favorite.svg.js";
|
|
11
|
+
import { default as M } from "./assets/favoriteOutline.svg.js";
|
|
12
|
+
import { default as O } from "./assets/icon-footer-facebook.svg.js";
|
|
13
|
+
import { default as G } from "./assets/icon-footer-instagram.svg.js";
|
|
14
|
+
import { default as E } from "./assets/icon-footer-linkedin.svg.js";
|
|
15
|
+
import { default as Y } from "./assets/icon-footer-red.svg.js";
|
|
16
|
+
import { default as z } from "./assets/icon-footer-wechat.svg.js";
|
|
17
|
+
import { default as q } from "./assets/instagram.svg.js";
|
|
18
|
+
import { default as K } from "./assets/lock.svg.js";
|
|
19
|
+
import { default as _ } from "./assets/minus.svg.js";
|
|
20
|
+
import { default as ee } from "./assets/PhillipsLogo.svg.js";
|
|
21
|
+
import { default as te } from "./assets/plus.svg.js";
|
|
22
|
+
import { default as ae } from "./assets/react.svg.js";
|
|
22
23
|
import "react";
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { usePendingState as
|
|
29
|
-
import { SSRMediaQuery as
|
|
30
|
-
import { AuctionStatus as
|
|
31
|
-
import { default as
|
|
32
|
-
import { ButtonVariants as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { Grid as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { LinkVariants as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { GridItemAlign as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import {
|
|
54
|
-
import { default as
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
24
|
+
import { default as se } from "./assets/share.svg.js";
|
|
25
|
+
import { default as de } from "./assets/spotify.svg.js";
|
|
26
|
+
import { default as pe } from "./assets/wechat.svg.js";
|
|
27
|
+
import { default as xe } from "./assets/youtube.svg.js";
|
|
28
|
+
import { default as ie } from "./pages/Page.js";
|
|
29
|
+
import { usePendingState as ce } from "./utils/hooks.js";
|
|
30
|
+
import { SSRMediaQuery as Se, ssrMediaQueryStyle as he } from "./providers/SeldonProvider/utils.js";
|
|
31
|
+
import { AuctionStatus as Pe, SupportedLanguages as be } from "./types/commonTypes.js";
|
|
32
|
+
import { default as Te } from "./components/Button/Button.js";
|
|
33
|
+
import { ButtonVariants as ke } from "./components/Button/types.js";
|
|
34
|
+
import { default as ve } from "./components/IconButton/IconButton.js";
|
|
35
|
+
import { default as we } from "./components/ErrorBoundary/ErrorBoundary.js";
|
|
36
|
+
import { default as De } from "./site-furniture/Footer/Footer.js";
|
|
37
|
+
import { Grid as Fe } from "./components/Grid/Grid.js";
|
|
38
|
+
import { default as Me } from "./site-furniture/Header/Header.js";
|
|
39
|
+
import { default as Oe } from "./components/Navigation/Navigation.js";
|
|
40
|
+
import { default as Ge } from "./components/Navigation/NavigationItem/NavigationItem.js";
|
|
41
|
+
import { default as Ee } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
|
|
42
|
+
import { default as Ye } from "./components/Navigation/NavigationList/NavigationList.js";
|
|
43
|
+
import { default as ze } from "./patterns/HeroBanner/HeroBanner.js";
|
|
44
|
+
import { default as qe } from "./components/Input/Input.js";
|
|
45
|
+
import { default as Ke } from "./components/Link/Link.js";
|
|
46
|
+
import { LinkVariants as _e } from "./components/Link/types.js";
|
|
47
|
+
import { default as eo } from "./components/LinkBlock/LinkBlock.js";
|
|
48
|
+
import { default as to } from "./components/LinkList/LinkList.js";
|
|
49
|
+
import { default as ao } from "./components/Row/Row.js";
|
|
50
|
+
import { default as so } from "./components/GridItem/GridItem.js";
|
|
51
|
+
import { GridItemAlign as mo } from "./components/GridItem/types.js";
|
|
52
|
+
import { default as uo } from "./components/Search/Search.js";
|
|
53
|
+
import { default as no } from "./components/Select/Select.js";
|
|
54
|
+
import { SelectVariants as go } from "./components/Select/types.js";
|
|
55
|
+
import { default as Co } from "./components/SplitPanel/SplitPanel.js";
|
|
56
|
+
import { default as ho } from "./patterns/Subscribe/Subscribe.js";
|
|
57
|
+
import { SubscriptionState as Po } from "./patterns/Subscribe/types.js";
|
|
58
|
+
import { default as Io } from "./patterns/Social/Social.js";
|
|
59
|
+
import { default as Ao } from "./patterns/ViewingsList/ViewingsList.js";
|
|
60
|
+
import { default as Vo } from "./components/Modal/Modal.js";
|
|
61
|
+
import { default as Bo } from "./components/Drawer/Drawer.js";
|
|
62
|
+
import { default as yo } from "./components/Pagination/Pagination.js";
|
|
63
|
+
import { default as No } from "./components/Tags/Tags.js";
|
|
64
|
+
import { default as Ho } from "./patterns/ViewingsList/StatefulViewingsList.js";
|
|
65
|
+
import { TextVariants as Ro } from "./components/Text/types.js";
|
|
66
|
+
import { default as Uo } from "./components/Text/Text.js";
|
|
67
|
+
import { TextSymbolVariants as Wo } from "./components/TextSymbol/types.js";
|
|
68
|
+
import { default as Qo } from "./components/TextSymbol/TextSymbol.js";
|
|
69
|
+
import { default as jo } from "./components/Accordion/Accordion.js";
|
|
70
|
+
import { default as Zo } from "./components/Accordion/AccordionItem.js";
|
|
71
|
+
import { AccordionItemVariant as Jo, AccordionVariants as Ko } from "./components/Accordion/types.js";
|
|
72
|
+
import { default as _o } from "./patterns/UserManagement/UserManagement.js";
|
|
73
|
+
import { AuthState as et } from "./patterns/UserManagement/types.js";
|
|
74
|
+
import { default as tt } from "./components/Breadcrumb/Breadcrumb.js";
|
|
73
75
|
import "react/jsx-runtime";
|
|
74
76
|
import "./node_modules/classnames/index.js";
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { HeightUnits as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { SeldonProvider as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { DetailListAlignment as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { AuctionState as
|
|
99
|
-
import { default as
|
|
100
|
-
import { CountdownVariants as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
103
|
-
import { default as
|
|
77
|
+
import { default as at } from "./components/Dropdown/Dropdown.js";
|
|
78
|
+
import { default as st } from "./components/Video/Video.js";
|
|
79
|
+
import { default as dt } from "./patterns/LanguageSelector/LanguageSelector.js";
|
|
80
|
+
import { default as pt } from "./components/ContentPeek/ContentPeek.js";
|
|
81
|
+
import { HeightUnits as xt } from "./components/ContentPeek/utils.js";
|
|
82
|
+
import { default as it } from "./components/Collapsible/Collapsible.js";
|
|
83
|
+
import { default as ct } from "./components/Collapsible/CollapsibleContent.js";
|
|
84
|
+
import { default as St } from "./components/Collapsible/CollapsibleTrigger.js";
|
|
85
|
+
import { SeldonProvider as Lt } from "./providers/SeldonProvider/SeldonProvider.js";
|
|
86
|
+
import { default as bt } from "./components/PageContentWrapper/PageContentWrapper.js";
|
|
87
|
+
import { default as Tt } from "./components/Carousel/Carousel.js";
|
|
88
|
+
import { default as kt } from "./components/Carousel/CarouselContent.js";
|
|
89
|
+
import { default as vt } from "./components/Carousel/CarouselItem.js";
|
|
90
|
+
import { default as wt } from "./components/Carousel/CarouselDots.js";
|
|
91
|
+
import { default as Dt } from "./components/Detail/Detail.js";
|
|
92
|
+
import { default as Ft } from "./patterns/DetailList/DetailList.js";
|
|
93
|
+
import { DetailListAlignment as Mt } from "./patterns/DetailList/types.js";
|
|
94
|
+
import { default as Ot } from "./components/PinchZoom/PinchZoom.js";
|
|
95
|
+
import { default as Gt } from "./components/Tabs/TabsContainer.js";
|
|
96
|
+
import { default as Et } from "./components/Tabs/TabsContent.js";
|
|
97
|
+
import { default as Yt } from "./components/SeldonImage/SeldonImage.js";
|
|
98
|
+
import { default as zt } from "./patterns/SaleHeaderBanner/SaleHeaderBanner.js";
|
|
99
|
+
import { default as qt } from "./patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js";
|
|
100
|
+
import { AuctionState as Kt } from "./patterns/SaleHeaderBanner/types.js";
|
|
101
|
+
import { default as _t } from "./components/Countdown/Countdown.js";
|
|
102
|
+
import { CountdownVariants as er } from "./components/Countdown/types.js";
|
|
103
|
+
import { default as tr } from "./patterns/ObjectTile/ObjectTile.js";
|
|
104
|
+
import { default as ar } from "./patterns/BidSnapshot/BidSnapshot.js";
|
|
105
|
+
import { default as sr } from "./patterns/BidSnapshot/BidMessage.js";
|
|
104
106
|
export {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
jo as Accordion,
|
|
108
|
+
Zo as AccordionItem,
|
|
109
|
+
Jo as AccordionItemVariant,
|
|
110
|
+
Ko as AccordionVariants,
|
|
109
111
|
S as AccountCircle,
|
|
110
112
|
L as ArrowPrev,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
113
|
+
Kt as AuctionState,
|
|
114
|
+
Pe as AuctionStatus,
|
|
115
|
+
et as AuthState,
|
|
116
|
+
sr as BidMessage,
|
|
117
|
+
ar as BidSnapshot,
|
|
118
|
+
tt as Breadcrumb,
|
|
119
|
+
Te as Button,
|
|
120
|
+
ke as ButtonVariants,
|
|
119
121
|
b as Calendar,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
w as
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
F as
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
so as
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
eo as
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
K as
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
Oe as
|
|
166
|
-
Ge as
|
|
167
|
-
Ee as
|
|
168
|
-
|
|
122
|
+
T as CalendarAlt,
|
|
123
|
+
Tt as Carousel,
|
|
124
|
+
kt as CarouselContent,
|
|
125
|
+
wt as CarouselDots,
|
|
126
|
+
vt as CarouselItem,
|
|
127
|
+
k as ChevronDown,
|
|
128
|
+
v as ChevronNext,
|
|
129
|
+
w as ChevronRight,
|
|
130
|
+
D as Close,
|
|
131
|
+
it as Collapsible,
|
|
132
|
+
ct as CollapsibleContent,
|
|
133
|
+
St as CollapsibleTrigger,
|
|
134
|
+
pt as ContentPeek,
|
|
135
|
+
xt as ContentPeekHeightUnits,
|
|
136
|
+
_t as Countdown,
|
|
137
|
+
er as CountdownVariants,
|
|
138
|
+
Dt as Detail,
|
|
139
|
+
Ft as DetailList,
|
|
140
|
+
Mt as DetailListAlignment,
|
|
141
|
+
Bo as Drawer,
|
|
142
|
+
at as Dropdown,
|
|
143
|
+
we as ErrorBoundary,
|
|
144
|
+
O as Facebook,
|
|
145
|
+
F as Favorite,
|
|
146
|
+
M as FavoriteOutline,
|
|
147
|
+
De as Footer,
|
|
148
|
+
G as FooterInstagram,
|
|
149
|
+
z as FooterWeChat,
|
|
150
|
+
Fe as Grid,
|
|
151
|
+
so as GridItem,
|
|
152
|
+
mo as GridItemAlign,
|
|
153
|
+
Me as Header,
|
|
154
|
+
ze as HeroBanner,
|
|
155
|
+
ve as IconButton,
|
|
156
|
+
qe as Input,
|
|
157
|
+
q as Instagram,
|
|
158
|
+
dt as LanguageSelector,
|
|
159
|
+
Ke as Link,
|
|
160
|
+
eo as LinkBlock,
|
|
161
|
+
to as LinkList,
|
|
162
|
+
_e as LinkVariants,
|
|
163
|
+
E as LinkedIn,
|
|
164
|
+
K as Lock,
|
|
165
|
+
_ as Minus,
|
|
166
|
+
Vo as Modal,
|
|
167
|
+
Oe as Navigation,
|
|
168
|
+
Ge as NavigationItem,
|
|
169
|
+
Ee as NavigationItemTrigger,
|
|
170
|
+
Ye as NavigationList,
|
|
171
|
+
tr as ObjectTile,
|
|
169
172
|
f as PaddingTokens,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
173
|
+
ie as Page,
|
|
174
|
+
bt as PageContentWrapper,
|
|
175
|
+
yo as Pagination,
|
|
176
|
+
ee as PhillipsLogo,
|
|
177
|
+
Ot as PinchZoom,
|
|
178
|
+
te as Plus,
|
|
179
|
+
ae as React,
|
|
180
|
+
Y as Reddit,
|
|
181
|
+
ao as Row,
|
|
182
|
+
Se as SSRMediaQuery,
|
|
183
|
+
zt as SaleHeaderBanner,
|
|
184
|
+
qt as SaleHeaderBrowseAuctions,
|
|
185
|
+
uo as Search,
|
|
186
|
+
Yt as SeldonImage,
|
|
187
|
+
Lt as SeldonProvider,
|
|
188
|
+
no as Select,
|
|
189
|
+
go as SelectVariants,
|
|
190
|
+
se as Share,
|
|
191
|
+
Io as Social,
|
|
188
192
|
s as SpacingTokens,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
193
|
+
Co as SplitPanel,
|
|
194
|
+
de as Spotify,
|
|
195
|
+
Ho as StatefulViewingsList,
|
|
196
|
+
ho as Subscribe,
|
|
197
|
+
Po as SubscriptionState,
|
|
198
|
+
be as SupportedLanguages,
|
|
199
|
+
Gt as TabsContainer,
|
|
200
|
+
Et as TabsContent,
|
|
201
|
+
No as TagsList,
|
|
202
|
+
Uo as Text,
|
|
203
|
+
Wo as TextSymbolVariants,
|
|
204
|
+
Qo as TextSymbols,
|
|
205
|
+
Ro as TextVariants,
|
|
206
|
+
_o as UserManagement,
|
|
207
|
+
st as Video,
|
|
208
|
+
Ao as ViewingsList,
|
|
209
|
+
pe as WeChat,
|
|
210
|
+
xe as Youtube,
|
|
207
211
|
l as defaultYear,
|
|
208
212
|
d as emailValidation,
|
|
209
213
|
m as encodeURLSearchParams,
|
|
@@ -213,7 +217,7 @@ export {
|
|
|
213
217
|
n as getCommonProps,
|
|
214
218
|
i as noOp,
|
|
215
219
|
g as px,
|
|
216
|
-
|
|
220
|
+
he as ssrMediaQueryStyle,
|
|
217
221
|
c as useNormalizedInputProps,
|
|
218
|
-
|
|
222
|
+
ce as usePendingState
|
|
219
223
|
};
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
@use 'components/Drawer/drawer';
|
|
33
33
|
@use 'components/Dropdown/dropdown';
|
|
34
34
|
@use 'components/Video/video';
|
|
35
|
+
@use 'components/Select/select';
|
|
35
36
|
@use 'components/Pagination/pagination';
|
|
36
37
|
@use 'components/ContentPeek/contentPeek';
|
|
37
38
|
@use 'components/PageContentWrapper/pageContentWrapper';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
@use '../../allPartials' as *;
|
|
2
|
+
|
|
3
|
+
.#{$px}-select-input {
|
|
4
|
+
position: relative;
|
|
5
|
+
|
|
6
|
+
.#{$px}-select-container {
|
|
7
|
+
position: relative;
|
|
8
|
+
|
|
9
|
+
&--show__icon {
|
|
10
|
+
select {
|
|
11
|
+
appearance: none;
|
|
12
|
+
padding-right: 1.55rem;
|
|
13
|
+
|
|
14
|
+
@media (min-width: $breakpoint-md) {
|
|
15
|
+
padding-right: 1.95rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (min-width: $breakpoint-xl) {
|
|
19
|
+
padding-right: 2.25rem;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
svg {
|
|
26
|
+
height: 1rem;
|
|
27
|
+
pointer-events: none;
|
|
28
|
+
position: absolute;
|
|
29
|
+
right: 0.35rem;
|
|
30
|
+
top: 45%;
|
|
31
|
+
transform: translateY(-45%);
|
|
32
|
+
width: 1rem;
|
|
33
|
+
|
|
34
|
+
@media (min-width: $breakpoint-md) {
|
|
35
|
+
height: 1.25rem;
|
|
36
|
+
right: 0.5rem;
|
|
37
|
+
width: 1.25rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@media (min-width: $breakpoint-xl) {
|
|
41
|
+
height: 1.5rem;
|
|
42
|
+
right: 0.55rem;
|
|
43
|
+
width: 1.5rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
path {
|
|
47
|
+
fill: $pure-black;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
select.#{$px}-input {
|
|
52
|
+
&__select {
|
|
53
|
+
&--tertiary {
|
|
54
|
+
border: 0;
|
|
55
|
+
color: inherit;
|
|
56
|
+
|
|
57
|
+
&:hover {
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:focus-visible {
|
|
62
|
+
background-color: $pure-white;
|
|
63
|
+
border-radius: 0;
|
|
64
|
+
outline-color: $soft-black;
|
|
65
|
+
outline-offset: 4.5px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
svg {
|
|
69
|
+
top: 0.625rem;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|