@phillips/seldon 1.94.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.
@@ -19,15 +19,15 @@ const E = ({
19
19
  selectLabel: C = "Select",
20
20
  ...s
21
21
  }) => {
22
- const N = "pagination", { className: u, ..._ } = w(s, "Pagination"), { id: c } = s, { pendingState: y, setPendingState: I } = k(o(g)), m = y || g, d = (t, e) => {
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
- I(a), P(a, e);
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 P, jsx as l } from "react/jsx-runtime";
2
- import * as R from "react";
3
- import n from "../../node_modules/classnames/index.js";
4
- import { px as t, useNormalizedInputProps as S } from "../../utils/index.js";
5
- const z = R.forwardRef(
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: r,
9
+ children: d,
8
10
  className: a,
9
- defaultValue: d,
10
- disabled: o,
11
- hideLabel: u,
12
- id: i,
13
- inline: m,
14
- invalid: $,
15
- invalidText: c,
16
- labelText: _,
17
- onChange: b,
18
- onClick: f,
19
- readOnly: p,
20
- size: w = "md",
21
- value: h,
22
- warn: v,
23
- warnText: x,
24
- ...N
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 s = "select", e = S({ disabled: o, id: i, invalid: $, invalidText: c, readOnly: p, type: s, warn: v, warnText: x }), y = n(`${t}-${s}-input`, `${t}-input`, `${t}-input--${w}`, {
27
- [`${t}-input--inline`]: m,
28
- [`${t}-input--readonly`]: p,
29
- [`${t}-input--disabled`]: e.disabled,
30
- [`${t}-input--invalid`]: e.invalid,
31
- [`${t}-input--warn`]: e.warn,
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__ */ P("div", { className: y, children: [
35
- /* @__PURE__ */ l("label", { htmlFor: i, className: n(`${t}-input__label`, { [`${t}-input__label--hidden`]: u }), children: _ }),
36
- /* @__PURE__ */ l(
37
- "select",
38
- {
39
- className: n(`${t}-input__input`, { className: a }),
40
- "data-testid": i,
41
- defaultValue: d,
42
- disabled: e.disabled,
43
- id: i,
44
- onChange: b,
45
- onClick: f,
46
- ref: j,
47
- value: h,
48
- ...N,
49
- children: r
50
- }
51
- ),
52
- e.validation
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
- z.displayName = "Select";
67
+ F.displayName = "Select";
57
68
  export {
58
- z as default
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
+ };
@@ -0,0 +1,4 @@
1
+ export declare enum SelectVariants {
2
+ default = "default",
3
+ tertiary = "tertiary"
4
+ }
@@ -0,0 +1,4 @@
1
+ var t = /* @__PURE__ */ ((r) => (r.default = "default", r.tertiary = "tertiary", r))(t || {});
2
+ export {
3
+ t as SelectVariants
4
+ };
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
@@ -4,7 +4,7 @@ import { default as L } from "./assets/arrowPrev.svg.js";
4
4
  import { default as b } from "./assets/calendar.svg.js";
5
5
  import { default as T } from "./assets/calendarAlt.svg.js";
6
6
  import { default as k } from "./assets/chevronDown.svg.js";
7
- import { default as B } from "./assets/chevronNext.svg.js";
7
+ import { default as v } from "./assets/chevronNext.svg.js";
8
8
  import { default as w } from "./assets/chevronRight.svg.js";
9
9
  import { default as D } from "./assets/close.svg.js";
10
10
  import { default as F } from "./assets/favorite.svg.js";
@@ -31,7 +31,7 @@ import { SSRMediaQuery as Se, ssrMediaQueryStyle as he } from "./providers/Seldo
31
31
  import { AuctionStatus as Pe, SupportedLanguages as be } from "./types/commonTypes.js";
32
32
  import { default as Te } from "./components/Button/Button.js";
33
33
  import { ButtonVariants as ke } from "./components/Button/types.js";
34
- import { default as Be } from "./components/IconButton/IconButton.js";
34
+ import { default as ve } from "./components/IconButton/IconButton.js";
35
35
  import { default as we } from "./components/ErrorBoundary/ErrorBoundary.js";
36
36
  import { default as De } from "./site-furniture/Footer/Footer.js";
37
37
  import { Grid as Fe } from "./components/Grid/Grid.js";
@@ -51,94 +51,95 @@ import { default as so } from "./components/GridItem/GridItem.js";
51
51
  import { GridItemAlign as mo } from "./components/GridItem/types.js";
52
52
  import { default as uo } from "./components/Search/Search.js";
53
53
  import { default as no } from "./components/Select/Select.js";
54
- import { default as go } from "./components/SplitPanel/SplitPanel.js";
55
- import { default as Co } from "./patterns/Subscribe/Subscribe.js";
56
- import { SubscriptionState as ho } from "./patterns/Subscribe/types.js";
57
- import { default as Po } from "./patterns/Social/Social.js";
58
- import { default as Io } from "./patterns/ViewingsList/ViewingsList.js";
59
- import { default as Ao } from "./components/Modal/Modal.js";
60
- import { default as vo } from "./components/Drawer/Drawer.js";
61
- import { default as Vo } from "./components/Pagination/Pagination.js";
62
- import { default as yo } from "./components/Tags/Tags.js";
63
- import { default as No } from "./patterns/ViewingsList/StatefulViewingsList.js";
64
- import { TextVariants as Ho } from "./components/Text/types.js";
65
- import { default as Ro } from "./components/Text/Text.js";
66
- import { TextSymbolVariants as Uo } from "./components/TextSymbol/types.js";
67
- import { default as Wo } from "./components/TextSymbol/TextSymbol.js";
68
- import { default as Qo } from "./components/Accordion/Accordion.js";
69
- import { default as jo } from "./components/Accordion/AccordionItem.js";
70
- import { AccordionItemVariant as Zo, AccordionVariants as qo } from "./components/Accordion/types.js";
71
- import { default as Ko } from "./patterns/UserManagement/UserManagement.js";
72
- import { AuthState as _o } from "./patterns/UserManagement/types.js";
73
- import { default as et } from "./components/Breadcrumb/Breadcrumb.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";
74
75
  import "react/jsx-runtime";
75
76
  import "./node_modules/classnames/index.js";
76
- import { default as tt } from "./components/Dropdown/Dropdown.js";
77
- import { default as at } from "./components/Video/Video.js";
78
- import { default as st } from "./patterns/LanguageSelector/LanguageSelector.js";
79
- import { default as dt } from "./components/ContentPeek/ContentPeek.js";
80
- import { HeightUnits as pt } from "./components/ContentPeek/utils.js";
81
- import { default as xt } from "./components/Collapsible/Collapsible.js";
82
- import { default as it } from "./components/Collapsible/CollapsibleContent.js";
83
- import { default as ct } from "./components/Collapsible/CollapsibleTrigger.js";
84
- import { SeldonProvider as St } from "./providers/SeldonProvider/SeldonProvider.js";
85
- import { default as Lt } from "./components/PageContentWrapper/PageContentWrapper.js";
86
- import { default as bt } from "./components/Carousel/Carousel.js";
87
- import { default as Tt } from "./components/Carousel/CarouselContent.js";
88
- import { default as kt } from "./components/Carousel/CarouselItem.js";
89
- import { default as Bt } from "./components/Carousel/CarouselDots.js";
90
- import { default as wt } from "./components/Detail/Detail.js";
91
- import { default as Dt } from "./patterns/DetailList/DetailList.js";
92
- import { DetailListAlignment as Ft } from "./patterns/DetailList/types.js";
93
- import { default as Mt } from "./components/PinchZoom/PinchZoom.js";
94
- import { default as Ot } from "./components/Tabs/TabsContainer.js";
95
- import { default as Gt } from "./components/Tabs/TabsContent.js";
96
- import { default as Et } from "./components/SeldonImage/SeldonImage.js";
97
- import { default as Yt } from "./patterns/SaleHeaderBanner/SaleHeaderBanner.js";
98
- import { default as zt } from "./patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js";
99
- import { AuctionState as qt } from "./patterns/SaleHeaderBanner/types.js";
100
- import { default as Kt } from "./components/Countdown/Countdown.js";
101
- import { CountdownVariants as _t } from "./components/Countdown/types.js";
102
- import { default as er } from "./patterns/ObjectTile/ObjectTile.js";
103
- import { default as tr } from "./patterns/BidSnapshot/BidSnapshot.js";
104
- import { default as ar } from "./patterns/BidSnapshot/BidMessage.js";
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";
105
106
  export {
106
- Qo as Accordion,
107
- jo as AccordionItem,
108
- Zo as AccordionItemVariant,
109
- qo as AccordionVariants,
107
+ jo as Accordion,
108
+ Zo as AccordionItem,
109
+ Jo as AccordionItemVariant,
110
+ Ko as AccordionVariants,
110
111
  S as AccountCircle,
111
112
  L as ArrowPrev,
112
- qt as AuctionState,
113
+ Kt as AuctionState,
113
114
  Pe as AuctionStatus,
114
- _o as AuthState,
115
- ar as BidMessage,
116
- tr as BidSnapshot,
117
- et as Breadcrumb,
115
+ et as AuthState,
116
+ sr as BidMessage,
117
+ ar as BidSnapshot,
118
+ tt as Breadcrumb,
118
119
  Te as Button,
119
120
  ke as ButtonVariants,
120
121
  b as Calendar,
121
122
  T as CalendarAlt,
122
- bt as Carousel,
123
- Tt as CarouselContent,
124
- Bt as CarouselDots,
125
- kt as CarouselItem,
123
+ Tt as Carousel,
124
+ kt as CarouselContent,
125
+ wt as CarouselDots,
126
+ vt as CarouselItem,
126
127
  k as ChevronDown,
127
- B as ChevronNext,
128
+ v as ChevronNext,
128
129
  w as ChevronRight,
129
130
  D as Close,
130
- xt as Collapsible,
131
- it as CollapsibleContent,
132
- ct as CollapsibleTrigger,
133
- dt as ContentPeek,
134
- pt as ContentPeekHeightUnits,
135
- Kt as Countdown,
136
- _t as CountdownVariants,
137
- wt as Detail,
138
- Dt as DetailList,
139
- Ft as DetailListAlignment,
140
- vo as Drawer,
141
- tt as Dropdown,
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,
142
143
  we as ErrorBoundary,
143
144
  O as Facebook,
144
145
  F as Favorite,
@@ -151,10 +152,10 @@ export {
151
152
  mo as GridItemAlign,
152
153
  Me as Header,
153
154
  ze as HeroBanner,
154
- Be as IconButton,
155
+ ve as IconButton,
155
156
  qe as Input,
156
157
  q as Instagram,
157
- st as LanguageSelector,
158
+ dt as LanguageSelector,
158
159
  Ke as Link,
159
160
  eo as LinkBlock,
160
161
  to as LinkList,
@@ -162,48 +163,49 @@ export {
162
163
  E as LinkedIn,
163
164
  K as Lock,
164
165
  _ as Minus,
165
- Ao as Modal,
166
+ Vo as Modal,
166
167
  Oe as Navigation,
167
168
  Ge as NavigationItem,
168
169
  Ee as NavigationItemTrigger,
169
170
  Ye as NavigationList,
170
- er as ObjectTile,
171
+ tr as ObjectTile,
171
172
  f as PaddingTokens,
172
173
  ie as Page,
173
- Lt as PageContentWrapper,
174
- Vo as Pagination,
174
+ bt as PageContentWrapper,
175
+ yo as Pagination,
175
176
  ee as PhillipsLogo,
176
- Mt as PinchZoom,
177
+ Ot as PinchZoom,
177
178
  te as Plus,
178
179
  ae as React,
179
180
  Y as Reddit,
180
181
  ao as Row,
181
182
  Se as SSRMediaQuery,
182
- Yt as SaleHeaderBanner,
183
- zt as SaleHeaderBrowseAuctions,
183
+ zt as SaleHeaderBanner,
184
+ qt as SaleHeaderBrowseAuctions,
184
185
  uo as Search,
185
- Et as SeldonImage,
186
- St as SeldonProvider,
186
+ Yt as SeldonImage,
187
+ Lt as SeldonProvider,
187
188
  no as Select,
189
+ go as SelectVariants,
188
190
  se as Share,
189
- Po as Social,
191
+ Io as Social,
190
192
  s as SpacingTokens,
191
- go as SplitPanel,
193
+ Co as SplitPanel,
192
194
  de as Spotify,
193
- No as StatefulViewingsList,
194
- Co as Subscribe,
195
- ho as SubscriptionState,
195
+ Ho as StatefulViewingsList,
196
+ ho as Subscribe,
197
+ Po as SubscriptionState,
196
198
  be as SupportedLanguages,
197
- Ot as TabsContainer,
198
- Gt as TabsContent,
199
- yo as TagsList,
200
- Ro as Text,
201
- Uo as TextSymbolVariants,
202
- Wo as TextSymbols,
203
- Ho as TextVariants,
204
- Ko as UserManagement,
205
- at as Video,
206
- Io as ViewingsList,
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,
207
209
  pe as WeChat,
208
210
  xe as Youtube,
209
211
  l as defaultYear,
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.94.0",
3
+ "version": "1.95.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"