@phillips/seldon 1.81.0 → 1.82.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- var s = { exports: {} };
1
+ var r = {};
2
2
  export {
3
- s as __module
3
+ r as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var r = {};
1
+ var s = { exports: {} };
2
2
  export {
3
- r as __exports
3
+ s as __module
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import * as e from "react";
2
- const a = (t) => /* @__PURE__ */ e.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("g", { id: "Search" }, /* @__PURE__ */ e.createElement("path", { id: "Vector", d: "M12.0209 10.9563H11.4603L11.2616 10.7647C12.1131 9.77122 12.5531 8.41582 12.3118 6.97527C11.9783 5.00249 10.3319 3.4271 8.34498 3.18583C5.34323 2.81682 2.81694 5.34311 3.18595 8.34486C3.42723 10.3318 5.00261 11.9782 6.97539 12.3117C8.41594 12.553 9.77134 12.113 10.7648 11.2614L10.9564 11.4601V12.0208L13.9724 15.0367C14.2633 15.3276 14.7388 15.3276 15.0297 15.0367C15.3207 14.7457 15.3207 14.2703 15.0297 13.9793L12.0209 10.9563ZM7.76308 10.9563C5.99609 10.9563 4.56973 9.52994 4.56973 7.76296C4.56973 5.99597 5.99609 4.56961 7.76308 4.56961C9.53006 4.56961 10.9564 5.99597 10.9564 7.76296C10.9564 9.52994 9.53006 10.9563 7.76308 10.9563Z", fill: "black" })));
2
+ const t = (l) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", ...l }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.7601 17.618C22.5903 14.0843 22.3676 8.91176 19.0919 5.63604C15.5771 2.12132 9.87866 2.12132 6.36394 5.63604C2.84923 9.15076 2.84923 14.8492 6.36394 18.364C9.63965 21.6397 14.8122 21.8624 18.3459 19.0322L19.7989 20.4853C19.4085 20.8758 19.4085 21.509 19.799 21.8995L23.3345 25.435C24.1156 26.2161 25.3819 26.2161 26.1629 25.435C26.944 24.654 26.944 23.3876 26.1629 22.6066L22.6274 19.0711C22.2369 18.6805 21.6037 18.6805 21.2132 19.0711L19.7601 17.618ZM17.6777 16.9497C20.4113 14.2161 20.4113 9.78392 17.6777 7.05025C14.944 4.31658 10.5118 4.31658 7.77816 7.05025C5.04449 9.78392 5.04449 14.2161 7.77816 16.9497C10.5118 19.6834 14.944 19.6834 17.6777 16.9497Z", fill: "black" }));
3
3
  export {
4
- a as default
4
+ t as default
5
5
  };
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from './utils';
2
2
  export * from './assets/icons';
3
3
  export { default as Page } from './pages/Page';
4
4
  export * from './utils/hooks';
5
+ export * from './providers/SeldonProvider/utils';
5
6
  export { default as Button, type ButtonProps } from './components/Button/Button';
6
7
  export { ButtonVariants } from './components/Button/types';
7
8
  export { default as IconButton } from './components/IconButton/IconButton';
package/dist/index.js CHANGED
@@ -1,203 +1,206 @@
1
- import { PaddingTokens as f, SpacingTokens as l, defaultYear as s, emailValidation as m, encodeURLSearchParams as p, findChildrenExcludingTypes as d, findChildrenOfType as u, generatePaddingClassName as x, getCommonProps as n, noOp as i, px as g, useNormalizedInputProps as c } from "./utils/index.js";
1
+ import { PaddingTokens as f, SpacingTokens as s, defaultYear as l, emailValidation as m, encodeURLSearchParams as d, findChildrenExcludingTypes as p, findChildrenOfType as u, generatePaddingClassName as x, getCommonProps as n, noOp as i, px as g, useNormalizedInputProps as c } from "./utils/index.js";
2
2
  import { default as S } from "./assets/account_circle.svg.js";
3
3
  import { default as P } from "./assets/arrowPrev.svg.js";
4
4
  import { default as I } from "./assets/calendar.svg.js";
5
5
  import { default as T } from "./assets/chevronDown.svg.js";
6
6
  import { default as A } from "./assets/chevronNext.svg.js";
7
7
  import { default as v } from "./assets/chevronRight.svg.js";
8
- import { default as B } from "./assets/close.svg.js";
9
- import { default as N } from "./assets/favoriteOutline.svg.js";
10
- import { default as F } from "./assets/icon-footer-facebook.svg.js";
11
- import { default as H } from "./assets/icon-footer-instagram.svg.js";
12
- import { default as M } from "./assets/icon-footer-linkedin.svg.js";
8
+ import { default as y } from "./assets/close.svg.js";
9
+ import { default as D } from "./assets/favoriteOutline.svg.js";
10
+ import { default as R } from "./assets/icon-footer-facebook.svg.js";
11
+ import { default as M } from "./assets/icon-footer-instagram.svg.js";
12
+ import { default as G } from "./assets/icon-footer-linkedin.svg.js";
13
13
  import { default as W } from "./assets/icon-footer-red.svg.js";
14
- import { default as U } from "./assets/icon-footer-wechat.svg.js";
15
- import { default as z } from "./assets/instagram.svg.js";
16
- import { default as j } from "./assets/lock.svg.js";
17
- import { default as J } from "./assets/minus.svg.js";
18
- import { default as Q } from "./assets/PhillipsLogo.svg.js";
14
+ import { default as Q } from "./assets/icon-footer-wechat.svg.js";
15
+ import { default as Y } from "./assets/instagram.svg.js";
16
+ import { default as Z } from "./assets/lock.svg.js";
17
+ import { default as q } from "./assets/minus.svg.js";
18
+ import { default as K } from "./assets/PhillipsLogo.svg.js";
19
19
  import { default as _ } from "./assets/plus.svg.js";
20
20
  import { default as ee } from "./assets/react.svg.js";
21
21
  import "react";
22
22
  import { default as te } from "./assets/share.svg.js";
23
23
  import { default as ae } from "./assets/spotify.svg.js";
24
- import { default as le } from "./assets/wechat.svg.js";
24
+ import { default as se } from "./assets/wechat.svg.js";
25
25
  import { default as me } from "./assets/youtube.svg.js";
26
- import { default as de } from "./pages/Page.js";
26
+ import { default as pe } from "./pages/Page.js";
27
27
  import { usePendingState as xe } from "./utils/hooks.js";
28
- import { default as ie } from "./components/Button/Button.js";
29
- import { ButtonVariants as ce } from "./components/Button/types.js";
30
- import { default as Se } from "./components/IconButton/IconButton.js";
31
- import { default as Pe } from "./components/ErrorBoundary/ErrorBoundary.js";
32
- import { default as Ie } from "./site-furniture/Footer/Footer.js";
33
- import { Grid as Te } from "./components/Grid/Grid.js";
34
- import { default as Ae } from "./site-furniture/Header/Header.js";
35
- import { default as ve } from "./components/Navigation/Navigation.js";
36
- import { default as Be } from "./components/Navigation/NavigationItem/NavigationItem.js";
37
- import { default as Ne } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
38
- import { default as Fe } from "./components/Navigation/NavigationList/NavigationList.js";
39
- import { default as He } from "./patterns/HeroBanner/HeroBanner.js";
40
- import { default as Me } from "./components/Input/Input.js";
41
- import { default as We } from "./components/Link/Link.js";
42
- import { LinkVariants as Ue } from "./components/Link/types.js";
43
- import { default as ze } from "./components/LinkBlock/LinkBlock.js";
44
- import { default as je } from "./components/LinkList/LinkList.js";
45
- import { default as Je } from "./components/Row/Row.js";
46
- import { default as Qe } from "./components/GridItem/GridItem.js";
47
- import { GridItemAlign as _e } from "./components/GridItem/types.js";
48
- import { default as eo } from "./components/Search/Search.js";
49
- import { default as to } from "./components/Select/Select.js";
50
- import { default as ao } from "./components/SplitPanel/SplitPanel.js";
51
- import { default as lo } from "./patterns/Subscribe/Subscribe.js";
52
- import { SubscriptionState as mo } from "./patterns/Subscribe/types.js";
53
- import { default as uo } from "./patterns/Social/Social.js";
54
- import { default as no } from "./patterns/ViewingsList/ViewingsList.js";
55
- import { default as go } from "./components/Modal/Modal.js";
56
- import { default as Co } from "./components/Drawer/Drawer.js";
57
- import { default as Lo } from "./components/Pagination/Pagination.js";
58
- import { default as ho } from "./patterns/ViewingsList/StatefulViewingsList.js";
59
- import { TextVariants as bo } from "./components/Text/types.js";
60
- import { default as ko } from "./components/Text/Text.js";
61
- import { TextSymbolVariants as Vo } from "./components/TextSymbol/types.js";
62
- import { default as wo } from "./components/TextSymbol/TextSymbol.js";
63
- import { default as Do } from "./components/Accordion/Accordion.js";
64
- import { default as yo } from "./components/Accordion/AccordionItem.js";
65
- import { AccordionItemVariant as Ro, AccordionVariants as Ho } from "./components/Accordion/types.js";
66
- import { default as Mo } from "./patterns/UserManagement/UserManagement.js";
67
- import { AuthState as Wo } from "./patterns/UserManagement/types.js";
68
- import { SupportedLanguages as Uo } from "./types/commonTypes.js";
69
- import { default as zo } from "./components/Breadcrumb/Breadcrumb.js";
28
+ import { SSRMediaQuery as ie, ssrMediaQueryStyle as ge } from "./providers/SeldonProvider/utils.js";
29
+ import { default as Ce } from "./components/Button/Button.js";
30
+ import { ButtonVariants as Le } from "./components/Button/types.js";
31
+ import { default as he } from "./components/IconButton/IconButton.js";
32
+ import { default as be } from "./components/ErrorBoundary/ErrorBoundary.js";
33
+ import { default as ke } from "./site-furniture/Footer/Footer.js";
34
+ import { Grid as Ve } from "./components/Grid/Grid.js";
35
+ import { default as we } from "./site-furniture/Header/Header.js";
36
+ import { default as Be } from "./components/Navigation/Navigation.js";
37
+ import { default as Ne } from "./components/Navigation/NavigationItem/NavigationItem.js";
38
+ import { default as Fe } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
39
+ import { default as He } from "./components/Navigation/NavigationList/NavigationList.js";
40
+ import { default as Oe } from "./patterns/HeroBanner/HeroBanner.js";
41
+ import { default as Ee } from "./components/Input/Input.js";
42
+ import { default as Ue } from "./components/Link/Link.js";
43
+ import { LinkVariants as ze } from "./components/Link/types.js";
44
+ import { default as je } from "./components/LinkBlock/LinkBlock.js";
45
+ import { default as Je } from "./components/LinkList/LinkList.js";
46
+ import { default as Xe } from "./components/Row/Row.js";
47
+ import { default as $e } from "./components/GridItem/GridItem.js";
48
+ import { GridItemAlign as oo } from "./components/GridItem/types.js";
49
+ import { default as ro } from "./components/Search/Search.js";
50
+ import { default as fo } from "./components/Select/Select.js";
51
+ import { default as lo } from "./components/SplitPanel/SplitPanel.js";
52
+ import { default as po } from "./patterns/Subscribe/Subscribe.js";
53
+ import { SubscriptionState as xo } from "./patterns/Subscribe/types.js";
54
+ import { default as io } from "./patterns/Social/Social.js";
55
+ import { default as co } from "./patterns/ViewingsList/ViewingsList.js";
56
+ import { default as So } from "./components/Modal/Modal.js";
57
+ import { default as Po } from "./components/Drawer/Drawer.js";
58
+ import { default as Io } from "./components/Pagination/Pagination.js";
59
+ import { default as To } from "./patterns/ViewingsList/StatefulViewingsList.js";
60
+ import { TextVariants as Ao } from "./components/Text/types.js";
61
+ import { default as vo } from "./components/Text/Text.js";
62
+ import { TextSymbolVariants as yo } from "./components/TextSymbol/types.js";
63
+ import { default as Do } from "./components/TextSymbol/TextSymbol.js";
64
+ import { default as Ro } from "./components/Accordion/Accordion.js";
65
+ import { default as Mo } from "./components/Accordion/AccordionItem.js";
66
+ import { AccordionItemVariant as Go, AccordionVariants as Oo } from "./components/Accordion/types.js";
67
+ import { default as Eo } from "./patterns/UserManagement/UserManagement.js";
68
+ import { AuthState as Uo } from "./patterns/UserManagement/types.js";
69
+ import { SupportedLanguages as zo } from "./types/commonTypes.js";
70
+ import { default as jo } from "./components/Breadcrumb/Breadcrumb.js";
70
71
  import "react/jsx-runtime";
71
72
  import "./node_modules/classnames/index.js";
72
- import { default as jo } from "./components/Dropdown/Dropdown.js";
73
- import { default as Jo } from "./components/Video/Video.js";
74
- import { default as Qo } from "./patterns/LanguageSelector/LanguageSelector.js";
75
- import { default as _o } from "./components/ContentPeek/ContentPeek.js";
76
- import { default as et } from "./components/Collapsible/Collapsible.js";
77
- import { default as tt } from "./components/Collapsible/CollapsibleContent.js";
78
- import { default as at } from "./components/Collapsible/CollapsibleTrigger.js";
79
- import { SeldonProvider as lt } from "./providers/SeldonProvider/SeldonProvider.js";
80
- import { default as mt } from "./components/PageContentWrapper/PageContentWrapper.js";
81
- import { default as dt } from "./components/Carousel/Carousel.js";
82
- import { default as xt } from "./components/Carousel/CarouselContent.js";
83
- import { default as it } from "./components/Carousel/CarouselItem.js";
84
- import { default as ct } from "./components/Carousel/CarouselDots.js";
85
- import { default as St } from "./components/Detail/Detail.js";
86
- import { default as Pt } from "./patterns/DetailList/DetailList.js";
87
- import { DetailListAlignment as It } from "./patterns/DetailList/types.js";
88
- import { default as Tt } from "./components/PinchZoom/PinchZoom.js";
89
- import { default as At } from "./components/Tabs/TabsContainer.js";
90
- import { default as vt } from "./components/Tabs/TabsContent.js";
91
- import { default as Bt } from "./components/SeldonImage/SeldonImage.js";
92
- import { default as Nt } from "./patterns/SaleHeaderBanner/SaleHeaderBanner.js";
93
- import { default as Ft } from "./patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js";
94
- import { AuctionState as Ht } from "./patterns/SaleHeaderBanner/types.js";
95
- import { default as Mt } from "./components/Countdown/Countdown.js";
96
- import { CountdownVariants as Wt } from "./components/Countdown/types.js";
73
+ import { default as Jo } from "./components/Dropdown/Dropdown.js";
74
+ import { default as Xo } from "./components/Video/Video.js";
75
+ import { default as $o } from "./patterns/LanguageSelector/LanguageSelector.js";
76
+ import { default as ot } from "./components/ContentPeek/ContentPeek.js";
77
+ import { default as rt } from "./components/Collapsible/Collapsible.js";
78
+ import { default as ft } from "./components/Collapsible/CollapsibleContent.js";
79
+ import { default as lt } from "./components/Collapsible/CollapsibleTrigger.js";
80
+ import { SeldonProvider as dt } from "./providers/SeldonProvider/SeldonProvider.js";
81
+ import { default as ut } from "./components/PageContentWrapper/PageContentWrapper.js";
82
+ import { default as nt } from "./components/Carousel/Carousel.js";
83
+ import { default as gt } from "./components/Carousel/CarouselContent.js";
84
+ import { default as Ct } from "./components/Carousel/CarouselItem.js";
85
+ import { default as Lt } from "./components/Carousel/CarouselDots.js";
86
+ import { default as ht } from "./components/Detail/Detail.js";
87
+ import { default as bt } from "./patterns/DetailList/DetailList.js";
88
+ import { DetailListAlignment as kt } from "./patterns/DetailList/types.js";
89
+ import { default as Vt } from "./components/PinchZoom/PinchZoom.js";
90
+ import { default as wt } from "./components/Tabs/TabsContainer.js";
91
+ import { default as Bt } from "./components/Tabs/TabsContent.js";
92
+ import { default as Nt } from "./components/SeldonImage/SeldonImage.js";
93
+ import { default as Ft } from "./patterns/SaleHeaderBanner/SaleHeaderBanner.js";
94
+ import { default as Ht } from "./patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js";
95
+ import { AuctionState as Ot } from "./patterns/SaleHeaderBanner/types.js";
96
+ import { default as Et } from "./components/Countdown/Countdown.js";
97
+ import { CountdownVariants as Ut } from "./components/Countdown/types.js";
97
98
  export {
98
- Do as Accordion,
99
- yo as AccordionItem,
100
- Ro as AccordionItemVariant,
101
- Ho as AccordionVariants,
99
+ Ro as Accordion,
100
+ Mo as AccordionItem,
101
+ Go as AccordionItemVariant,
102
+ Oo as AccordionVariants,
102
103
  S as AccountCircle,
103
104
  P as ArrowPrev,
104
- Ht as AuctionState,
105
- Wo as AuthState,
106
- zo as Breadcrumb,
107
- ie as Button,
108
- ce as ButtonVariants,
105
+ Ot as AuctionState,
106
+ Uo as AuthState,
107
+ jo as Breadcrumb,
108
+ Ce as Button,
109
+ Le as ButtonVariants,
109
110
  I as Calendar,
110
- dt as Carousel,
111
- xt as CarouselContent,
112
- ct as CarouselDots,
113
- it as CarouselItem,
111
+ nt as Carousel,
112
+ gt as CarouselContent,
113
+ Lt as CarouselDots,
114
+ Ct as CarouselItem,
114
115
  T as ChevronDown,
115
116
  A as ChevronNext,
116
117
  v as ChevronRight,
117
- B as Close,
118
- et as Collapsible,
119
- tt as CollapsibleContent,
120
- at as CollapsibleTrigger,
121
- _o as ContentPeek,
122
- Mt as Countdown,
123
- Wt as CountdownVariants,
124
- St as Detail,
125
- Pt as DetailList,
126
- It as DetailListAlignment,
127
- Co as Drawer,
128
- jo as Dropdown,
129
- Pe as ErrorBoundary,
130
- F as Facebook,
131
- N as FavoriteOutline,
132
- Ie as Footer,
133
- H as FooterInstagram,
134
- U as FooterWeChat,
135
- Te as Grid,
136
- Qe as GridItem,
137
- _e as GridItemAlign,
138
- Ae as Header,
139
- He as HeroBanner,
140
- Se as IconButton,
141
- Me as Input,
142
- z as Instagram,
143
- Qo as LanguageSelector,
144
- We as Link,
145
- ze as LinkBlock,
146
- je as LinkList,
147
- Ue as LinkVariants,
148
- M as LinkedIn,
149
- j as Lock,
150
- J as Minus,
151
- go as Modal,
152
- ve as Navigation,
153
- Be as NavigationItem,
154
- Ne as NavigationItemTrigger,
155
- Fe as NavigationList,
118
+ y as Close,
119
+ rt as Collapsible,
120
+ ft as CollapsibleContent,
121
+ lt as CollapsibleTrigger,
122
+ ot as ContentPeek,
123
+ Et as Countdown,
124
+ Ut as CountdownVariants,
125
+ ht as Detail,
126
+ bt as DetailList,
127
+ kt as DetailListAlignment,
128
+ Po as Drawer,
129
+ Jo as Dropdown,
130
+ be as ErrorBoundary,
131
+ R as Facebook,
132
+ D as FavoriteOutline,
133
+ ke as Footer,
134
+ M as FooterInstagram,
135
+ Q as FooterWeChat,
136
+ Ve as Grid,
137
+ $e as GridItem,
138
+ oo as GridItemAlign,
139
+ we as Header,
140
+ Oe as HeroBanner,
141
+ he as IconButton,
142
+ Ee as Input,
143
+ Y as Instagram,
144
+ $o as LanguageSelector,
145
+ Ue as Link,
146
+ je as LinkBlock,
147
+ Je as LinkList,
148
+ ze as LinkVariants,
149
+ G as LinkedIn,
150
+ Z as Lock,
151
+ q as Minus,
152
+ So as Modal,
153
+ Be as Navigation,
154
+ Ne as NavigationItem,
155
+ Fe as NavigationItemTrigger,
156
+ He as NavigationList,
156
157
  f as PaddingTokens,
157
- de as Page,
158
- mt as PageContentWrapper,
159
- Lo as Pagination,
160
- Q as PhillipsLogo,
161
- Tt as PinchZoom,
158
+ pe as Page,
159
+ ut as PageContentWrapper,
160
+ Io as Pagination,
161
+ K as PhillipsLogo,
162
+ Vt as PinchZoom,
162
163
  _ as Plus,
163
164
  ee as React,
164
165
  W as Reddit,
165
- Je as Row,
166
- Nt as SaleHeaderBanner,
167
- Ft as SaleHeaderBrowseAuctions,
168
- eo as Search,
169
- Bt as SeldonImage,
170
- lt as SeldonProvider,
171
- to as Select,
166
+ Xe as Row,
167
+ ie as SSRMediaQuery,
168
+ Ft as SaleHeaderBanner,
169
+ Ht as SaleHeaderBrowseAuctions,
170
+ ro as Search,
171
+ Nt as SeldonImage,
172
+ dt as SeldonProvider,
173
+ fo as Select,
172
174
  te as Share,
173
- uo as Social,
174
- l as SpacingTokens,
175
- ao as SplitPanel,
175
+ io as Social,
176
+ s as SpacingTokens,
177
+ lo as SplitPanel,
176
178
  ae as Spotify,
177
- ho as StatefulViewingsList,
178
- lo as Subscribe,
179
- mo as SubscriptionState,
180
- Uo as SupportedLanguages,
181
- At as TabsContainer,
182
- vt as TabsContent,
183
- ko as Text,
184
- Vo as TextSymbolVariants,
185
- wo as TextSymbols,
186
- bo as TextVariants,
187
- Mo as UserManagement,
188
- Jo as Video,
189
- no as ViewingsList,
190
- le as WeChat,
179
+ To as StatefulViewingsList,
180
+ po as Subscribe,
181
+ xo as SubscriptionState,
182
+ zo as SupportedLanguages,
183
+ wt as TabsContainer,
184
+ Bt as TabsContent,
185
+ vo as Text,
186
+ yo as TextSymbolVariants,
187
+ Do as TextSymbols,
188
+ Ao as TextVariants,
189
+ Eo as UserManagement,
190
+ Xo as Video,
191
+ co as ViewingsList,
192
+ se as WeChat,
191
193
  me as Youtube,
192
- s as defaultYear,
194
+ l as defaultYear,
193
195
  m as emailValidation,
194
- p as encodeURLSearchParams,
195
- d as findChildrenExcludingTypes,
196
+ d as encodeURLSearchParams,
197
+ p as findChildrenExcludingTypes,
196
198
  u as findChildrenOfType,
197
199
  x as generatePaddingClassName,
198
200
  n as getCommonProps,
199
201
  i as noOp,
200
202
  g as px,
203
+ ge as ssrMediaQueryStyle,
201
204
  c as useNormalizedInputProps,
202
205
  xe as usePendingState
203
206
  };
@@ -1,4 +1,4 @@
1
- import { __exports as o } from "../../../../_virtual/index2.js";
1
+ import { __exports as o } from "../../../../_virtual/index.js";
2
2
  import "./Media.js";
3
3
  import "./Breakpoints.js";
4
4
  import { __exports as a } from "../../../../_virtual/Media.js";
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as u } from "../../_virtual/_commonjsHelpers.js";
2
- import { __module as i } from "../../_virtual/index.js";
2
+ import { __module as i } from "../../_virtual/index2.js";
3
3
  /*!
4
4
  Copyright (c) 2018 Jed Watson.
5
5
  Licensed under the MIT License (MIT), see
@@ -1,4 +1,4 @@
1
- import { __module as t } from "../../_virtual/index5.js";
1
+ import { __module as t } from "../../_virtual/index6.js";
2
2
  /*!
3
3
  Copyright (c) 2015 Jed Watson.
4
4
  Based on code that is Copyright 2013-2015, Facebook, Inc.
@@ -1,4 +1,4 @@
1
- import { __module as e } from "../../../../_virtual/index6.js";
1
+ import { __module as e } from "../../../../_virtual/index5.js";
2
2
  import { __require as o } from "./cjs/react-is.production.min.js";
3
3
  import { __require as t } from "./cjs/react-is.development.js";
4
4
  var r;
@@ -24,10 +24,6 @@ export interface HeroBannerProps extends HTMLAttributes<HTMLDivElement> {
24
24
  * What background image or color to use
25
25
  */
26
26
  background?: string;
27
- /**
28
- * What gradient to use
29
- */
30
- gradient?: string;
31
27
  /**
32
28
  * Unique id for component testing
33
29
  */
@@ -42,5 +38,5 @@ export interface HeroBannerProps extends HTMLAttributes<HTMLDivElement> {
42
38
  *
43
39
  * [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-herobanner--overview)
44
40
  */
45
- declare const HeroBanner: ({ prehead, date, headerText, subHeadText, association, background, gradient, className, ...props }: HeroBannerProps) => import("react/jsx-runtime").JSX.Element;
41
+ declare const HeroBanner: ({ prehead, date, headerText, subHeadText, association, background, className, ...props }: HeroBannerProps) => import("react/jsx-runtime").JSX.Element;
46
42
  export default HeroBanner;
@@ -1,35 +1,34 @@
1
- import { jsx as r, jsxs as m } from "react/jsx-runtime";
1
+ import { jsx as n, jsxs as m } from "react/jsx-runtime";
2
2
  import { getCommonProps as f } from "../../utils/index.js";
3
3
  import u from "../../node_modules/classnames/index.js";
4
- import { TextVariants as i } from "../../components/Text/types.js";
5
- import c from "../../components/Text/Text.js";
4
+ import { TextVariants as c } from "../../components/Text/types.js";
5
+ import i from "../../components/Text/Text.js";
6
6
  const w = ({
7
- prehead: a,
8
- date: e,
7
+ prehead: e,
8
+ date: a,
9
9
  headerText: t,
10
10
  subHeadText: l,
11
11
  association: s,
12
- background: d,
13
- gradient: p = "linear-gradient(rgba(0, 0, 0, 50%), rgba(0, 0, 0, 50%))",
14
- className: h,
12
+ background: p,
13
+ className: d,
15
14
  ...o
16
15
  }) => {
17
- const { className: n, ...g } = f(o, "HeroBanner");
18
- return /* @__PURE__ */ r(
16
+ const { className: r, ...h } = f(o, "HeroBanner");
17
+ return /* @__PURE__ */ n(
19
18
  "header",
20
19
  {
21
- ...g,
22
- className: u(n, h),
23
- style: { "--background": d, "--gradient": p },
20
+ ...h,
21
+ className: u(r, d),
22
+ style: { "--background": p },
24
23
  ...o,
25
- children: /* @__PURE__ */ m("span", { className: `${n}__content-wrapper`, children: [
26
- a || e ? /* @__PURE__ */ m("p", { className: `${n}__pre-head`, children: [
27
- a ? /* @__PURE__ */ r("span", { children: a }) : null,
28
- e ? /* @__PURE__ */ r("span", { children: e }) : null
24
+ children: /* @__PURE__ */ m("span", { className: `${r}__content-wrapper`, children: [
25
+ e || a ? /* @__PURE__ */ m("p", { className: `${r}__pre-head`, children: [
26
+ e ? /* @__PURE__ */ n("span", { children: e }) : null,
27
+ a ? /* @__PURE__ */ n("span", { children: a }) : null
29
28
  ] }) : null,
30
- /* @__PURE__ */ r(c, { variant: i.snwHeadingHero1, children: t }),
31
- l ? /* @__PURE__ */ r(c, { variant: i.snwHeadingHero2, children: l }) : null,
32
- s ? /* @__PURE__ */ r("p", { className: `${n}__after-head`, children: s }) : null
29
+ /* @__PURE__ */ n(i, { variant: c.snwHeadingHero1, children: t }),
30
+ l ? /* @__PURE__ */ n(i, { variant: c.snwHeadingHero2, children: l }) : null,
31
+ s ? /* @__PURE__ */ n("p", { className: `${r}__after-head`, children: s }) : null
33
32
  ] })
34
33
  }
35
34
  );
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
2
2
  import { HeroBannerProps } from './HeroBanner';
3
3
  declare const meta: {
4
4
  title: string;
5
- component: ({ prehead, date, headerText, subHeadText, association, background, gradient, className, ...props }: HeroBannerProps) => import("react/jsx-runtime").JSX.Element;
5
+ component: ({ prehead, date, headerText, subHeadText, association, background, className, ...props }: HeroBannerProps) => import("react/jsx-runtime").JSX.Element;
6
6
  };
7
7
  export default meta;
8
8
  type Story = StoryObj<typeof meta>;
@@ -1,6 +1,6 @@
1
1
  import "../../node_modules/@artsy/fresnel/dist/index.js";
2
2
  import { BREAKPOINTS as e } from "../../utils/constants.js";
3
- import { __exports as r } from "../../_virtual/index2.js";
3
+ import { __exports as r } from "../../_virtual/index.js";
4
4
  const t = r.createMedia({ breakpoints: e }), s = t.createMediaStyle();
5
5
  export {
6
6
  t as SSRMediaQuery,
@@ -196,12 +196,17 @@ $breakpoint-xl: 1801px;
196
196
  --badge-label-line-height: 1rem;
197
197
  --snw-header-link-size: 1rem;
198
198
  --snw-header-link-line-height: 1.5rem;
199
- --snw-flyout-link-size: 1rem;
200
- --snw-flyout-link-line-height: 1.875rem;
199
+ --snw-flyout-link-size: 0.875rem;
200
+ --snw-flyout-link-line-height: 1.75rem;
201
201
  --snw-heading-hero-size1: 2.375rem;
202
202
  --snw-heading-hero-line-height-size1: 2.875rem;
203
203
  }
204
204
 
205
+ @media (min-width: $breakpoint-lg) {
206
+ --snw-flyout-link-size: 0.875rem;
207
+ --snw-flyout-link-line-height: 1.75rem;
208
+ }
209
+
205
210
  @media (min-width: $breakpoint-xl) {
206
211
  --quote-size: 2rem;
207
212
  --quote-line-height: 2.5rem;
@@ -367,7 +372,7 @@ $margin-xxl: var(--spacing-xxl);
367
372
  ///////////////////////
368
373
  /* stylelint-disable-next-line no-duplicate-selectors */
369
374
  :root {
370
- --header-height: 73px; // ideally we would calculate the size from the current text size plus spacing components so that it scales with the text size and spacing
375
+ --header-height: 56px; // ideally we would calculate the size from the current text size plus spacing components so that it scales with the text size and spacing
371
376
  --search-size: 2.625rem; // This should be calculated from the scaling text and scaling spacing tokens instead of hardcoding in case they change
372
377
 
373
378
  @media (min-width: $breakpoint-md) {
@@ -29,13 +29,19 @@
29
29
  appearance: none;
30
30
  border: none;
31
31
  font-variation-settings: 'wght' 600;
32
- line-height: 2.5rem;
32
+ line-height: 1.75rem;
33
33
  margin-bottom: 0;
34
34
  outline: none;
35
+ padding: 0 $spacing-xsm;
35
36
  text-align: center;
36
37
  text-align-last: center;
37
38
  text-decoration: underline;
38
- text-underline-offset: 10px;
39
+ text-underline-offset: 6px;
40
+
41
+ @include isHeaderDesktop {
42
+ line-height: 2.5rem;
43
+ text-underline-offset: 10px;
44
+ }
39
45
 
40
46
  &:disabled {
41
47
  border: 1px solid $medium-gray;
@@ -1,8 +1,13 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
+ body:has(.seldon-header__toggle-btn--open) {
4
+ // targeting this button cause header itself has closed state only
5
+ overflow: hidden;
6
+ }
7
+
3
8
  .#{$px}-hero-banner {
4
9
  align-items: center;
5
- background: var(--gradient), var(--background);
10
+ background: var(--background);
6
11
  background-position: center center;
7
12
  background-repeat: no-repeat;
8
13
  background-size: cover;
@@ -25,7 +30,7 @@
25
30
  padding: 1.875rem 0.9375rem;
26
31
 
27
32
  &::before {
28
- background: var(--gradient), var(--background);
33
+ background: var(--background);
29
34
  background-position: center center;
30
35
  background-repeat: no-repeat;
31
36
  background-size: cover;
@@ -50,8 +50,8 @@
50
50
  }
51
51
 
52
52
  &__account-icon {
53
- height: 2rem;
54
- width: 2rem;
53
+ height: 1.5rem;
54
+ width: 1.5rem;
55
55
 
56
56
  a {
57
57
  align-items: center;
@@ -33,7 +33,7 @@
33
33
  height: 2px;
34
34
  position: relative;
35
35
  transition: background-color 0.25s ease 0.25s;
36
- width: 1.5rem;
36
+ width: 1rem;
37
37
 
38
38
  &::before,
39
39
  &::after {
@@ -45,15 +45,15 @@
45
45
  position: absolute;
46
46
  top: 0;
47
47
  transition: transform 0.25s ease;
48
- width: 1.5rem;
48
+ width: 1rem;
49
49
  }
50
50
 
51
51
  &::before {
52
- transform: translateY(-8px);
52
+ transform: translateY(-6px);
53
53
  }
54
54
 
55
55
  &::after {
56
- transform: translateY(8px);
56
+ transform: translateY(6px);
57
57
  }
58
58
  }
59
59
 
@@ -77,12 +77,17 @@
77
77
  padding-top: 6px; // small adjustment to center the logo
78
78
 
79
79
  svg {
80
- height: 25.73px; // 25.73px is the height of the logo's container to make logo 20px
80
+ height: 20.58px; // 20.58px is the height of the logo's container to make logo 16px
81
81
  width: 100%;
82
82
  }
83
83
 
84
84
  @include isHeaderDesktop {
85
85
  padding-top: 0;
86
+
87
+ svg {
88
+ height: 25.73px; // 25.73px is the height of the logo's container to make logo 20px
89
+ width: 100%;
90
+ }
86
91
  }
87
92
  }
88
93
 
@@ -90,8 +95,12 @@
90
95
  align-items: center;
91
96
  display: flex;
92
97
  justify-content: space-between;
93
- padding: $padding-sm $spacing-md;
98
+ padding: 3px $spacing-md;
94
99
  width: 100%;
100
+
101
+ @include isHeaderDesktop {
102
+ padding: $padding-sm $spacing-md;
103
+ }
95
104
  }
96
105
 
97
106
  &__nav {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.81.0",
3
+ "version": "1.82.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"