@phillips/seldon 1.96.1 → 1.97.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.
Files changed (43) hide show
  1. package/dist/assets/icon-green-circle.svg.js +5 -0
  2. package/dist/assets/icon-red-circle.svg.js +5 -0
  3. package/dist/assets/icons.d.ts +2 -0
  4. package/dist/components/DatePicker/DatePicker.d.ts +1 -1
  5. package/dist/components/Filter/Filter.d.ts +25 -0
  6. package/dist/components/Filter/Filter.js +62 -0
  7. package/dist/components/Filter/Filter.stories.d.ts +29 -0
  8. package/dist/components/Filter/Filter.test.d.ts +1 -0
  9. package/dist/components/Filter/FilterHeader.d.ts +14 -0
  10. package/dist/components/Filter/FilterHeader.js +36 -0
  11. package/dist/components/Filter/FilterInput.d.ts +15 -0
  12. package/dist/components/Filter/FilterInput.js +27 -0
  13. package/dist/components/Filter/index.d.ts +3 -0
  14. package/dist/components/Input/Input.d.ts +5 -5
  15. package/dist/components/Input/Input.js +67 -53
  16. package/dist/components/Input/Input.stories.d.ts +0 -1
  17. package/dist/components/Pagination/Pagination.js +27 -26
  18. package/dist/components/Select/Select.d.ts +3 -2
  19. package/dist/components/Select/Select.js +53 -44
  20. package/dist/index.d.ts +3 -0
  21. package/dist/index.js +193 -180
  22. package/dist/patterns/BidSnapshot/BidMessage.js +20 -17
  23. package/dist/patterns/BidSnapshot/BidSnapshot.d.ts +3 -2
  24. package/dist/patterns/BidSnapshot/BidSnapshot.js +49 -46
  25. package/dist/patterns/BidSnapshot/BidSnapshot.stories.d.ts +9 -2
  26. package/dist/patterns/BidSnapshot/index.d.ts +1 -1
  27. package/dist/patterns/BidSnapshot/types.d.ts +6 -0
  28. package/dist/patterns/BidSnapshot/types.js +3 -2
  29. package/dist/patterns/FilterMenu/FilterMenu.d.ts +22 -0
  30. package/dist/patterns/FilterMenu/FilterMenu.js +23 -0
  31. package/dist/patterns/FilterMenu/FilterMenu.stories.d.ts +29 -0
  32. package/dist/patterns/FilterMenu/FilterMenu.test.d.ts +1 -0
  33. package/dist/patterns/FilterMenu/index.d.ts +1 -0
  34. package/dist/patterns/FilterMenu/utils.d.ts +10 -0
  35. package/dist/patterns/ViewingsList/ViewingsListCard.js +1 -1
  36. package/dist/patterns/ViewingsList/ViewingsListCardForm.js +30 -32
  37. package/dist/scss/componentStyles.scss +9 -7
  38. package/dist/scss/components/Filter/_filter.scss +112 -0
  39. package/dist/scss/components/Input/_input.scss +1 -1
  40. package/dist/scss/patterns/BidSnapshot/_bidSnapshot.scss +1 -1
  41. package/dist/scss/patterns/FilterMenu/_filterMenu.scss +15 -0
  42. package/dist/scss/patterns/Social/_social.scss +1 -0
  43. package/package.json +2 -1
@@ -1,65 +1,74 @@
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";
1
+ import { jsxs as p, jsx as i } from "react/jsx-runtime";
2
+ import * as c from "react";
3
+ import a from "../../node_modules/classnames/index.js";
4
4
  import { px as e, useNormalizedInputProps as z } from "../../utils/index.js";
5
- import { SelectVariants as c } from "./types.js";
5
+ import { SelectVariants as d } from "./types.js";
6
6
  import D from "../../assets/chevronDown.svg.js";
7
- const F = k.forwardRef(
7
+ const F = c.forwardRef(
8
8
  ({
9
- children: d,
10
- className: a,
11
- defaultValue: m,
12
- disabled: u,
13
- hideLabel: $,
14
- id: n,
9
+ children: m,
10
+ className: s,
11
+ defaultValue: u,
12
+ disabled: $,
13
+ hideLabel: _,
14
+ id: t,
15
15
  showIcon: l = !0,
16
- variant: _ = c.default,
17
- inline: f,
18
- invalid: b,
19
- invalidText: v,
20
- labelText: h,
21
- onChange: w,
16
+ variant: f = d.default,
17
+ inline: b,
18
+ invalid: v,
19
+ invalidText: h,
20
+ labelText: w,
21
+ onChange: C,
22
22
  onClick: V,
23
23
  readOnly: r,
24
- size: C = "md",
25
- value: x,
26
- warn: y,
27
- warnText: N,
28
- ...S
24
+ size: x = "md",
25
+ value: y,
26
+ warn: N,
27
+ warnText: S,
28
+ ...g
29
29
  }, j) => {
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,
30
+ const o = "select", I = c.useId(), n = z({
31
+ disabled: $,
32
+ id: t != null ? t : I,
33
+ invalid: v,
34
+ invalidText: h,
35
+ readOnly: r,
36
+ type: o,
37
+ warn: N,
38
+ warnText: S
39
+ }), P = a(`${e}-${o}-input`, `${e}-input`, `${e}-input--${x}`, {
40
+ [`${e}-input--inline`]: b,
32
41
  [`${e}-input--readonly`]: r,
33
- [`${e}-input--disabled`]: t.disabled,
34
- [`${e}-input--invalid`]: t.invalid,
35
- [`${e}-input--warn`]: t.warn,
36
- [`${a}__wrapper`]: a
37
- }), R = i(a, `${e}-input__input`, {
38
- [`${e}-input__select--tertiary`]: _ === c.tertiary
39
- }), g = i(`${e}-select-container`, {
42
+ [`${e}-input--disabled`]: n.disabled,
43
+ [`${e}-input--invalid`]: n.invalid,
44
+ [`${e}-input--warn`]: n.warn,
45
+ [`${s}__wrapper`]: s
46
+ }), R = a(s, `${e}-input__input`, {
47
+ [`${e}-input__select--tertiary`]: f === d.tertiary
48
+ }), k = a(`${e}-select-container`, {
40
49
  [`${e}-select-container--show__icon`]: l
41
50
  });
42
51
  return /* @__PURE__ */ p("div", { className: P, children: [
43
- /* @__PURE__ */ s("label", { htmlFor: n, className: i(`${e}-input__label`, { [`${e}-input__label--hidden`]: $ }), children: h }),
44
- /* @__PURE__ */ p("div", { className: g, children: [
45
- /* @__PURE__ */ s(
52
+ /* @__PURE__ */ i("label", { htmlFor: t, className: a(`${e}-input__label`, { [`${e}-input__label--hidden`]: _ }), children: w }),
53
+ /* @__PURE__ */ p("div", { className: k, children: [
54
+ /* @__PURE__ */ i(
46
55
  "select",
47
56
  {
48
57
  className: R,
49
- "data-testid": n,
50
- defaultValue: m,
51
- disabled: t.disabled,
52
- id: n,
53
- onChange: w,
58
+ "data-testid": t,
59
+ defaultValue: u,
60
+ disabled: n.disabled,
61
+ id: t,
62
+ onChange: C,
54
63
  ref: j,
55
- value: x,
56
- ...S,
57
- children: d
64
+ value: y,
65
+ ...g,
66
+ children: m
58
67
  }
59
68
  ),
60
- l ? /* @__PURE__ */ s(D, {}) : null
69
+ l ? /* @__PURE__ */ i(D, {}) : null
61
70
  ] }),
62
- t.validation
71
+ n.validation
63
72
  ] });
64
73
  }
65
74
  );
package/dist/index.d.ts CHANGED
@@ -58,6 +58,9 @@ export * from './components/PinchZoom';
58
58
  export * from './components/Tabs';
59
59
  export * from './components/SeldonImage';
60
60
  export * from './patterns/SaleHeaderBanner';
61
+ export * from './utils/hooks';
62
+ export * from './patterns/FilterMenu';
63
+ export * from './components/Filter';
61
64
  export * from './components/Countdown';
62
65
  export * from './components/Countdown/types';
63
66
  export * from './patterns/ObjectTile';
package/dist/index.js CHANGED
@@ -1,213 +1,226 @@
1
- import { PaddingTokens as f, SpacingTokens as s, defaultYear as l, emailValidation as d, encodeURLSearchParams as m, 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";
1
+ import { PaddingTokens as f, SpacingTokens as s, defaultYear as l, emailValidation as d, encodeURLSearchParams as m, findChildrenExcludingTypes as p, findChildrenOfType as u, generatePaddingClassName as x, getCommonProps as i, noOp as n, 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 L } from "./assets/arrowPrev.svg.js";
4
- import { default as b } from "./assets/calendar.svg.js";
4
+ import { default as I } from "./assets/calendar.svg.js";
5
5
  import { default as T } from "./assets/calendarAlt.svg.js";
6
- import { default as V } from "./assets/chevronDown.svg.js";
7
- import { default as B } from "./assets/chevronNext.svg.js";
6
+ import { default as B } from "./assets/chevronDown.svg.js";
7
+ import { default as k } from "./assets/chevronNext.svg.js";
8
8
  import { default as w } from "./assets/chevronRight.svg.js";
9
- import { default as D } from "./assets/close.svg.js";
10
- import { default as N } from "./assets/favorite.svg.js";
11
- import { default as H } 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";
9
+ import { default as y } from "./assets/close.svg.js";
10
+ import { default as D } from "./assets/favorite.svg.js";
11
+ import { default as N } from "./assets/favoriteOutline.svg.js";
12
+ import { default as G } from "./assets/icon-footer-facebook.svg.js";
13
+ import { default as U } from "./assets/icon-footer-instagram.svg.js";
14
+ import { default as W } from "./assets/icon-footer-linkedin.svg.js";
15
15
  import { default as Y } from "./assets/icon-footer-red.svg.js";
16
16
  import { default as z } from "./assets/icon-footer-wechat.svg.js";
17
17
  import { default as q } from "./assets/instagram.svg.js";
18
18
  import { default as K } from "./assets/lock.svg.js";
19
19
  import { default as _ } from "./assets/minus.svg.js";
20
20
  import { default as ee } from "./assets/PhillipsLogo.svg.js";
21
- import { default as te } from "./assets/plus.svg.js";
21
+ import { default as oe } from "./assets/plus.svg.js";
22
22
  import { default as ae } from "./assets/react.svg.js";
23
23
  import "react";
24
24
  import { default as se } from "./assets/share.svg.js";
25
25
  import { default as de } from "./assets/spotify.svg.js";
26
26
  import { default as pe } from "./assets/wechat.svg.js";
27
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 Ve } from "./components/Button/types.js";
34
- import { default as Be } 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 Ne } from "./components/Grid/Grid.js";
38
- import { default as He } 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 ko } from "./components/Modal/Modal.js";
61
- import { default as vo } from "./components/Drawer/Drawer.js";
62
- import { default as yo } from "./components/Pagination/Pagination.js";
63
- import { default as Mo } from "./components/Tags/Tags.js";
64
- import { default as Fo } 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";
28
+ import { default as ne } from "./assets/icon-green-circle.svg.js";
29
+ import { default as ce } from "./assets/icon-red-circle.svg.js";
30
+ import { default as Se } from "./pages/Page.js";
31
+ import { usePendingState as Le } from "./utils/hooks.js";
32
+ import { SSRMediaQuery as Ie, ssrMediaQueryStyle as be } from "./providers/SeldonProvider/utils.js";
33
+ import { AuctionStatus as Ae, SupportedLanguages as Be } from "./types/commonTypes.js";
34
+ import { default as ke } from "./components/Button/Button.js";
35
+ import { ButtonVariants as we } from "./components/Button/types.js";
36
+ import { default as ye } from "./components/IconButton/IconButton.js";
37
+ import { default as De } from "./components/ErrorBoundary/ErrorBoundary.js";
38
+ import { default as Ne } from "./site-furniture/Footer/Footer.js";
39
+ import { Grid as Ge } from "./components/Grid/Grid.js";
40
+ import { default as Ue } from "./site-furniture/Header/Header.js";
41
+ import { default as We } from "./components/Navigation/Navigation.js";
42
+ import { default as Ye } from "./components/Navigation/NavigationItem/NavigationItem.js";
43
+ import { default as ze } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
44
+ import { default as qe } from "./components/Navigation/NavigationList/NavigationList.js";
45
+ import { default as Ke } from "./patterns/HeroBanner/HeroBanner.js";
46
+ import { default as _e } from "./components/Input/Input.js";
47
+ import { default as et } from "./components/Link/Link.js";
48
+ import { LinkVariants as ot } from "./components/Link/types.js";
49
+ import { default as at } from "./components/LinkBlock/LinkBlock.js";
50
+ import { default as st } from "./components/LinkList/LinkList.js";
51
+ import { default as dt } from "./components/Row/Row.js";
52
+ import { default as pt } from "./components/GridItem/GridItem.js";
53
+ import { GridItemAlign as xt } from "./components/GridItem/types.js";
54
+ import { default as nt } from "./components/Search/Search.js";
55
+ import { default as ct } from "./components/Select/Select.js";
56
+ import { SelectVariants as St } from "./components/Select/types.js";
57
+ import { default as Lt } from "./components/SplitPanel/SplitPanel.js";
58
+ import { default as It } from "./patterns/Subscribe/Subscribe.js";
59
+ import { SubscriptionState as Tt } from "./patterns/Subscribe/types.js";
60
+ import { default as Bt } from "./patterns/Social/Social.js";
61
+ import { default as kt } from "./patterns/ViewingsList/ViewingsList.js";
62
+ import { default as wt } from "./components/Modal/Modal.js";
63
+ import { default as yt } from "./components/Drawer/Drawer.js";
64
+ import { default as Dt } from "./components/Pagination/Pagination.js";
65
+ import { default as Nt } from "./components/Tags/Tags.js";
66
+ import { default as Gt } from "./patterns/ViewingsList/StatefulViewingsList.js";
67
+ import { TextVariants as Ut } from "./components/Text/types.js";
68
+ import { default as Wt } from "./components/Text/Text.js";
69
+ import { TextSymbolVariants as Yt } from "./components/TextSymbol/types.js";
70
+ import { default as zt } from "./components/TextSymbol/TextSymbol.js";
71
+ import { default as qt } from "./components/Accordion/Accordion.js";
72
+ import { default as Kt } from "./components/Accordion/AccordionItem.js";
73
+ import { AccordionItemVariant as _t, AccordionVariants as $t } from "./components/Accordion/types.js";
74
+ import { default as to } from "./patterns/UserManagement/UserManagement.js";
75
+ import { AuthState as ro } from "./patterns/UserManagement/types.js";
76
+ import { default as fo } from "./components/Breadcrumb/Breadcrumb.js";
75
77
  import "react/jsx-runtime";
76
78
  import "./node_modules/classnames/index.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 Vt } from "./components/Carousel/CarouselContent.js";
89
- import { default as Bt } 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 Nt } from "./patterns/DetailList/DetailList.js";
93
- import { DetailListAlignment as Ht } 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";
106
- import { BidMessageVariants as dr } from "./patterns/BidSnapshot/types.js";
79
+ import { default as lo } from "./components/Dropdown/Dropdown.js";
80
+ import { default as po } from "./components/Video/Video.js";
81
+ import { default as xo } from "./patterns/LanguageSelector/LanguageSelector.js";
82
+ import { default as no } from "./components/ContentPeek/ContentPeek.js";
83
+ import { HeightUnits as co } from "./components/ContentPeek/utils.js";
84
+ import { default as So } from "./components/Collapsible/Collapsible.js";
85
+ import { default as Lo } from "./components/Collapsible/CollapsibleContent.js";
86
+ import { default as Io } from "./components/Collapsible/CollapsibleTrigger.js";
87
+ import { SeldonProvider as To } from "./providers/SeldonProvider/SeldonProvider.js";
88
+ import { default as Bo } from "./components/PageContentWrapper/PageContentWrapper.js";
89
+ import { default as ko } from "./components/Carousel/Carousel.js";
90
+ import { default as wo } from "./components/Carousel/CarouselContent.js";
91
+ import { default as yo } from "./components/Carousel/CarouselItem.js";
92
+ import { default as Do } from "./components/Carousel/CarouselDots.js";
93
+ import { default as No } from "./components/Detail/Detail.js";
94
+ import { default as Go } from "./patterns/DetailList/DetailList.js";
95
+ import { DetailListAlignment as Uo } from "./patterns/DetailList/types.js";
96
+ import { default as Wo } from "./components/PinchZoom/PinchZoom.js";
97
+ import { default as Yo } from "./components/Tabs/TabsContainer.js";
98
+ import { default as zo } from "./components/Tabs/TabsContent.js";
99
+ import { default as qo } from "./components/SeldonImage/SeldonImage.js";
100
+ import { default as Ko } from "./patterns/SaleHeaderBanner/SaleHeaderBanner.js";
101
+ import { default as _o } from "./patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js";
102
+ import { AuctionState as er } from "./patterns/SaleHeaderBanner/types.js";
103
+ import { default as or } from "./patterns/FilterMenu/FilterMenu.js";
104
+ import { default as ar } from "./components/Filter/Filter.js";
105
+ import { default as sr } from "./components/Filter/FilterInput.js";
106
+ import { default as dr } from "./components/Filter/FilterHeader.js";
107
+ import { default as pr } from "./components/Countdown/Countdown.js";
108
+ import { CountdownVariants as xr } from "./components/Countdown/types.js";
109
+ import { default as nr } from "./patterns/ObjectTile/ObjectTile.js";
110
+ import { default as cr } from "./patterns/BidSnapshot/BidSnapshot.js";
111
+ import { default as Sr } from "./patterns/BidSnapshot/BidMessage.js";
112
+ import { BidMessageVariants as Lr, BidStatusEnum as Pr } from "./patterns/BidSnapshot/types.js";
107
113
  export {
108
- jo as Accordion,
109
- Zo as AccordionItem,
110
- Jo as AccordionItemVariant,
111
- Ko as AccordionVariants,
114
+ qt as Accordion,
115
+ Kt as AccordionItem,
116
+ _t as AccordionItemVariant,
117
+ $t as AccordionVariants,
112
118
  S as AccountCircle,
113
119
  L as ArrowPrev,
114
- Kt as AuctionState,
115
- Pe as AuctionStatus,
116
- et as AuthState,
117
- sr as BidMessage,
118
- dr as BidMessageVariants,
119
- ar as BidSnapshot,
120
- tt as Breadcrumb,
121
- Te as Button,
122
- Ve as ButtonVariants,
123
- b as Calendar,
120
+ er as AuctionState,
121
+ Ae as AuctionStatus,
122
+ ro as AuthState,
123
+ Sr as BidMessage,
124
+ Lr as BidMessageVariants,
125
+ cr as BidSnapshot,
126
+ Pr as BidStatusEnum,
127
+ fo as Breadcrumb,
128
+ ke as Button,
129
+ we as ButtonVariants,
130
+ I as Calendar,
124
131
  T as CalendarAlt,
125
- Tt as Carousel,
126
- Vt as CarouselContent,
127
- wt as CarouselDots,
128
- Bt as CarouselItem,
129
- V as ChevronDown,
130
- B as ChevronNext,
132
+ ko as Carousel,
133
+ wo as CarouselContent,
134
+ Do as CarouselDots,
135
+ yo as CarouselItem,
136
+ B as ChevronDown,
137
+ k as ChevronNext,
131
138
  w as ChevronRight,
132
- D as Close,
133
- it as Collapsible,
134
- ct as CollapsibleContent,
135
- St as CollapsibleTrigger,
136
- pt as ContentPeek,
137
- xt as ContentPeekHeightUnits,
138
- _t as Countdown,
139
- er as CountdownVariants,
140
- Dt as Detail,
141
- Nt as DetailList,
142
- Ht as DetailListAlignment,
143
- vo as Drawer,
144
- at as Dropdown,
145
- we as ErrorBoundary,
146
- O as Facebook,
147
- N as Favorite,
148
- H as FavoriteOutline,
149
- De as Footer,
150
- G as FooterInstagram,
139
+ y as Close,
140
+ So as Collapsible,
141
+ Lo as CollapsibleContent,
142
+ Io as CollapsibleTrigger,
143
+ no as ContentPeek,
144
+ co as ContentPeekHeightUnits,
145
+ pr as Countdown,
146
+ xr as CountdownVariants,
147
+ No as Detail,
148
+ Go as DetailList,
149
+ Uo as DetailListAlignment,
150
+ yt as Drawer,
151
+ lo as Dropdown,
152
+ De as ErrorBoundary,
153
+ G as Facebook,
154
+ D as Favorite,
155
+ N as FavoriteOutline,
156
+ ar as Filter,
157
+ dr as FilterHeader,
158
+ sr as FilterInput,
159
+ or as FilterMenu,
160
+ Ne as Footer,
161
+ U as FooterInstagram,
151
162
  z as FooterWeChat,
152
- Ne as Grid,
153
- so as GridItem,
154
- mo as GridItemAlign,
155
- He as Header,
156
- ze as HeroBanner,
157
- Be as IconButton,
158
- qe as Input,
163
+ ne as GreenCircle,
164
+ Ge as Grid,
165
+ pt as GridItem,
166
+ xt as GridItemAlign,
167
+ Ue as Header,
168
+ Ke as HeroBanner,
169
+ ye as IconButton,
170
+ _e as Input,
159
171
  q as Instagram,
160
- dt as LanguageSelector,
161
- Ke as Link,
162
- eo as LinkBlock,
163
- to as LinkList,
164
- _e as LinkVariants,
165
- E as LinkedIn,
172
+ xo as LanguageSelector,
173
+ et as Link,
174
+ at as LinkBlock,
175
+ st as LinkList,
176
+ ot as LinkVariants,
177
+ W as LinkedIn,
166
178
  K as Lock,
167
179
  _ as Minus,
168
- ko as Modal,
169
- Oe as Navigation,
170
- Ge as NavigationItem,
171
- Ee as NavigationItemTrigger,
172
- Ye as NavigationList,
173
- tr as ObjectTile,
180
+ wt as Modal,
181
+ We as Navigation,
182
+ Ye as NavigationItem,
183
+ ze as NavigationItemTrigger,
184
+ qe as NavigationList,
185
+ nr as ObjectTile,
174
186
  f as PaddingTokens,
175
- ie as Page,
176
- bt as PageContentWrapper,
177
- yo as Pagination,
187
+ Se as Page,
188
+ Bo as PageContentWrapper,
189
+ Dt as Pagination,
178
190
  ee as PhillipsLogo,
179
- Ot as PinchZoom,
180
- te as Plus,
191
+ Wo as PinchZoom,
192
+ oe as Plus,
181
193
  ae as React,
194
+ ce as RedCircle,
182
195
  Y as Reddit,
183
- ao as Row,
184
- Se as SSRMediaQuery,
185
- zt as SaleHeaderBanner,
186
- qt as SaleHeaderBrowseAuctions,
187
- uo as Search,
188
- Yt as SeldonImage,
189
- Lt as SeldonProvider,
190
- no as Select,
191
- go as SelectVariants,
196
+ dt as Row,
197
+ Ie as SSRMediaQuery,
198
+ Ko as SaleHeaderBanner,
199
+ _o as SaleHeaderBrowseAuctions,
200
+ nt as Search,
201
+ qo as SeldonImage,
202
+ To as SeldonProvider,
203
+ ct as Select,
204
+ St as SelectVariants,
192
205
  se as Share,
193
- Io as Social,
206
+ Bt as Social,
194
207
  s as SpacingTokens,
195
- Co as SplitPanel,
208
+ Lt as SplitPanel,
196
209
  de as Spotify,
197
- Fo as StatefulViewingsList,
198
- ho as Subscribe,
199
- Po as SubscriptionState,
200
- be as SupportedLanguages,
201
- Gt as TabsContainer,
202
- Et as TabsContent,
203
- Mo as TagsList,
204
- Uo as Text,
205
- Wo as TextSymbolVariants,
206
- Qo as TextSymbols,
207
- Ro as TextVariants,
208
- _o as UserManagement,
209
- st as Video,
210
- Ao as ViewingsList,
210
+ Gt as StatefulViewingsList,
211
+ It as Subscribe,
212
+ Tt as SubscriptionState,
213
+ Be as SupportedLanguages,
214
+ Yo as TabsContainer,
215
+ zo as TabsContent,
216
+ Nt as TagsList,
217
+ Wt as Text,
218
+ Yt as TextSymbolVariants,
219
+ zt as TextSymbols,
220
+ Ut as TextVariants,
221
+ to as UserManagement,
222
+ po as Video,
223
+ kt as ViewingsList,
211
224
  pe as WeChat,
212
225
  xe as Youtube,
213
226
  l as defaultYear,
@@ -216,10 +229,10 @@ export {
216
229
  p as findChildrenExcludingTypes,
217
230
  u as findChildrenOfType,
218
231
  x as generatePaddingClassName,
219
- n as getCommonProps,
220
- i as noOp,
232
+ i as getCommonProps,
233
+ n as noOp,
221
234
  g as px,
222
- he as ssrMediaQueryStyle,
235
+ be as ssrMediaQueryStyle,
223
236
  c as useNormalizedInputProps,
224
- ce as usePendingState
237
+ Le as usePendingState
225
238
  };
@@ -1,22 +1,25 @@
1
- import { jsx as o, jsxs as l } from "react/jsx-runtime";
2
- import p from "../../node_modules/classnames/index.js";
3
- import { getCommonProps as d } from "../../utils/index.js";
4
- import { TextVariants as f } from "../../components/Text/types.js";
5
- import g from "../../components/Text/Text.js";
6
- import { BidMessageVariants as e } from "./types.js";
7
- const B = ({
8
- className: r,
9
- hasIcon: i = !0,
10
- message: m,
11
- variant: t = e.positive,
12
- ...a
1
+ import { jsx as r, jsxs as p } from "react/jsx-runtime";
2
+ import l from "../../node_modules/classnames/index.js";
3
+ import { getCommonProps as f } from "../../utils/index.js";
4
+ import { TextVariants as g } from "../../components/Text/types.js";
5
+ import d from "../../components/Text/Text.js";
6
+ import { BidMessageVariants as s } from "./types.js";
7
+ import "react";
8
+ import v from "../../assets/icon-green-circle.svg.js";
9
+ import x from "../../assets/icon-red-circle.svg.js";
10
+ const T = ({
11
+ className: e,
12
+ hasIcon: m = !0,
13
+ message: t,
14
+ variant: i = s.positive,
15
+ ...o
13
16
  }) => {
14
- const { className: s, ...n } = d(a, "BidMessage"), c = t === e.positive ? /* @__PURE__ */ o("span", { className: `${s}__icon`, children: "🟢" }) : /* @__PURE__ */ o("span", { className: `${s}__icon`, children: "🔴" });
15
- return /* @__PURE__ */ l(g, { ...n, className: p(s, r), ...a, variant: f.string2, children: [
16
- i ? c : null,
17
- m
17
+ const { className: a, ...n } = f(o, "BidMessage"), c = i === s.positive ? /* @__PURE__ */ r(v, {}) : /* @__PURE__ */ r(x, {});
18
+ return /* @__PURE__ */ p(d, { ...n, className: l(a, e), ...o, variant: g.string2, children: [
19
+ m ? c : null,
20
+ t
18
21
  ] });
19
22
  };
20
23
  export {
21
- B as default
24
+ T as default
22
25
  };
@@ -1,10 +1,11 @@
1
1
  import { ComponentProps } from 'react';
2
2
  import { AuctionStatus, SupportedLanguages } from '../../types/commonTypes';
3
+ import { BidStatusEnum } from './types';
3
4
  export interface BidSnapshotProps extends ComponentProps<'div'> {
4
5
  /**
5
- * Active bid of current signed in user. - '1000'
6
+ * The user's current bid state, winning or losing, etc.
6
7
  */
7
- activeBid?: number | null;
8
+ bidStatus?: BidStatusEnum;
8
9
  /**
9
10
  * State of the object
10
11
  */