@phillips/seldon 1.269.0 → 1.271.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/formatted/Card.cjs +1 -0
- package/dist/assets/formatted/Card.d.ts +9 -0
- package/dist/assets/formatted/Card.js +50 -0
- package/dist/assets/formatted/index.cjs +1 -1
- package/dist/assets/formatted/index.d.ts +1 -0
- package/dist/assets/formatted/index.js +124 -122
- package/dist/components/ComboBox/ComboBox.cjs +1 -1
- package/dist/components/ComboBox/ComboBox.js +1 -0
- package/dist/site-furniture/Footer/Footer.cjs +1 -1
- package/dist/site-furniture/Footer/Footer.d.ts +10 -1
- package/dist/site-furniture/Footer/Footer.js +24 -19
- package/dist/site-furniture/Footer/Footer.stories.d.ts +2 -1
- package/dist/site-furniture/Header/Header.cjs +1 -1
- package/dist/site-furniture/Header/Header.d.ts +5 -1
- package/dist/site-furniture/Header/Header.js +69 -68
- package/dist/site-furniture/Header/Header.stories.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),o=require("react"),u=require("../../node_modules/change-case/dist/index.cjs"),h=o.memo(o.forwardRef((e,s)=>{const{color:a,height:d,width:r,title:l,titleId:n}=e,i=n||u.kebabCase(l||""),c=!!(l||e["aria-label"])?e:{...e,"aria-hidden":!0,role:"presentation"};return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:d,width:r,role:"img",ref:s,"aria-labelledby":i,...c,children:[l?t.jsx("title",{id:i,children:l}):null,t.jsx("path",{fill:a,fillRule:"evenodd",d:"M21 17H3V4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1zm-2-2H5V5h14z",clipRule:"evenodd"}),t.jsx("path",{fill:a,fillRule:"evenodd",d:"M3 15h18v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm2 2h14v2H5z",clipRule:"evenodd"})]})}));exports.default=h;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface CardProps extends React.HTMLAttributes<SVGSVGElement> {
|
|
2
|
+
color?: string;
|
|
3
|
+
height?: number | string;
|
|
4
|
+
width?: number | string;
|
|
5
|
+
title?: string;
|
|
6
|
+
titleId?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const Card: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<SVGSVGElement>>>;
|
|
9
|
+
export default Card;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { memo as m, forwardRef as n } from "react";
|
|
3
|
+
import { kebabCase as f } from "../../node_modules/change-case/dist/index.js";
|
|
4
|
+
const w = m(
|
|
5
|
+
n((e, d) => {
|
|
6
|
+
const { color: o, height: i, width: r, title: l, titleId: s } = e, a = s || f(l || ""), h = !!(l || e["aria-label"]) ? e : {
|
|
7
|
+
...e,
|
|
8
|
+
"aria-hidden": !0,
|
|
9
|
+
role: "presentation"
|
|
10
|
+
};
|
|
11
|
+
return /* @__PURE__ */ c(
|
|
12
|
+
"svg",
|
|
13
|
+
{
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
fill: "none",
|
|
16
|
+
viewBox: "0 0 24 24",
|
|
17
|
+
height: i,
|
|
18
|
+
width: r,
|
|
19
|
+
role: "img",
|
|
20
|
+
ref: d,
|
|
21
|
+
"aria-labelledby": a,
|
|
22
|
+
...h,
|
|
23
|
+
children: [
|
|
24
|
+
l ? /* @__PURE__ */ t("title", { id: a, children: l }) : null,
|
|
25
|
+
/* @__PURE__ */ t(
|
|
26
|
+
"path",
|
|
27
|
+
{
|
|
28
|
+
fill: o,
|
|
29
|
+
fillRule: "evenodd",
|
|
30
|
+
d: "M21 17H3V4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1zm-2-2H5V5h14z",
|
|
31
|
+
clipRule: "evenodd"
|
|
32
|
+
}
|
|
33
|
+
),
|
|
34
|
+
/* @__PURE__ */ t(
|
|
35
|
+
"path",
|
|
36
|
+
{
|
|
37
|
+
fill: o,
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
d: "M3 15h18v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm2 2h14v2H5z",
|
|
40
|
+
clipRule: "evenodd"
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
})
|
|
47
|
+
);
|
|
48
|
+
export {
|
|
49
|
+
w as default
|
|
50
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Account.cjs"),r=require("./AccountActive.cjs"),t=require("./Add.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Account.cjs"),r=require("./AccountActive.cjs"),t=require("./Add.cjs"),u=require("./AdminCheck.cjs"),i=require("./AdminChevronLeft.cjs"),n=require("./AdminChevronRight.cjs"),o=require("./AdminChevronUp.cjs"),l=require("./AdminClose.cjs"),c=require("./AdminFullscreen.cjs"),a=require("./AdminFullscreenExit.cjs"),d=require("./AdminGavel.cjs"),s=require("./AdminHome.cjs"),f=require("./AdminLiveOnline.cjs"),q=require("./AdminPencil.cjs"),A=require("./AdminPerson.cjs"),m=require("./AdminPlay.cjs"),v=require("./AdminSearch.cjs"),h=require("./AdminTelephone.cjs"),C=require("./AppleAppStoreBadge.cjs"),p=require("./ArrowDown.cjs"),g=require("./ArrowLeft.cjs"),S=require("./ArrowRight.cjs"),w=require("./ArrowUp.cjs"),L=require("./Bag.cjs"),I=require("./Calendar.cjs"),P=require("./Card.cjs"),F=require("./ChevronDown.cjs"),R=require("./ChevronLeft.cjs"),M=require("./ChevronRight.cjs"),k=require("./ChevronUp.cjs"),E=require("./Clock.cjs"),G=require("./CloseX.cjs"),U=require("./ConditionReport.cjs"),b=require("./Delete.cjs"),x=require("./Download.cjs"),D=require("./Edit.cjs"),H=require("./Email.cjs"),V=require("./Error.cjs"),T=require("./ExternalLink.cjs"),y=require("./Facebook.cjs"),B=require("./Favorite.cjs"),O=require("./FavoriteActive.cjs"),X=require("./Filters.cjs"),N=require("./Fullscreen.cjs"),W=require("./FullscreenExit.cjs"),j=require("./Gavel.cjs"),z=require("./GavelActive.cjs"),J=require("./Grid.cjs"),K=require("./Hide.cjs"),Q=require("./Home.cjs"),Y=require("./HomeActive.cjs"),Z=require("./Icon.cjs"),_=require("./IconBlueCircle.cjs"),$=require("./IconGreenCircle.cjs"),ee=require("./IconOrangeCircle.cjs"),re=require("./IconRedCircle.cjs"),te=require("./ImageUnavailable.cjs"),ue=require("./Instagram.cjs"),ie=require("./LinkedIn.cjs"),ne=require("./List.cjs"),oe=require("./LiveNow.cjs"),le=require("./Lock.cjs"),ce=require("./MagnificentSeven.cjs"),ae=require("./Menu.cjs"),de=require("./Mute.cjs"),se=require("./Paddle.cjs"),fe=require("./Pause.cjs"),qe=require("./PhillipsAppIcon.cjs"),Ae=require("./PhillipsLogo.cjs"),me=require("./Play.cjs"),ve=require("./Red.cjs"),he=require("./Refresh.cjs"),Ce=require("./Search.cjs"),pe=require("./Sell.cjs"),ge=require("./SellActive.cjs"),Se=require("./Settings.cjs"),we=require("./Share.cjs"),Le=require("./Subtract.cjs"),Ie=require("./Success.cjs"),Pe=require("./Tooltip.cjs"),Fe=require("./TwitterX.cjs"),Re=require("./Upload.cjs"),Me=require("./View.cjs"),ke=require("./VolumeMaximum.cjs"),Ee=require("./VolumeMid.cjs"),Ge=require("./VolumeMinimum.cjs"),Ue=require("./WeChat.cjs");exports.Account=e.default;exports.AccountActive=r.default;exports.Add=t.default;exports.AdminCheck=u.default;exports.AdminChevronLeft=i.default;exports.AdminChevronRight=n.default;exports.AdminChevronUp=o.default;exports.AdminClose=l.default;exports.AdminFullscreen=c.default;exports.AdminFullscreenExit=a.default;exports.AdminGavel=d.default;exports.AdminHome=s.default;exports.AdminLiveOnline=f.default;exports.AdminPencil=q.default;exports.AdminPerson=A.default;exports.AdminPlay=m.default;exports.AdminSearch=v.default;exports.AdminTelephone=h.default;exports.AppleAppStoreBadge=C.default;exports.ArrowDown=p.default;exports.ArrowLeft=g.default;exports.ArrowRight=S.default;exports.ArrowUp=w.default;exports.Bag=L.default;exports.Calendar=I.default;exports.Card=P.default;exports.ChevronDown=F.default;exports.ChevronLeft=R.default;exports.ChevronRight=M.default;exports.ChevronUp=k.default;exports.Clock=E.default;exports.CloseX=G.default;exports.ConditionReport=U.default;exports.Delete=b.default;exports.Download=x.default;exports.Edit=D.default;exports.Email=H.default;exports.Error=V.default;exports.ExternalLink=T.default;exports.Facebook=y.default;exports.Favorite=B.default;exports.FavoriteActive=O.default;exports.Filters=X.default;exports.Fullscreen=N.default;exports.FullscreenExit=W.default;exports.Gavel=j.default;exports.GavelActive=z.default;exports.Grid=J.default;exports.Hide=K.default;exports.Home=Q.default;exports.HomeActive=Y.default;exports.Icon=Z.default;exports.IconBlueCircle=_.default;exports.IconGreenCircle=$.default;exports.IconOrangeCircle=ee.default;exports.IconRedCircle=re.default;exports.ImageUnavailable=te.default;exports.Instagram=ue.default;exports.LinkedIn=ie.default;exports.List=ne.default;exports.LiveNow=oe.default;exports.Lock=le.default;exports.MagnificentSeven=ce.default;exports.Menu=ae.default;exports.Mute=de.default;exports.Paddle=se.default;exports.Pause=fe.default;exports.PhillipsAppIcon=qe.default;exports.PhillipsLogo=Ae.default;exports.Play=me.default;exports.Red=ve.default;exports.Refresh=he.default;exports.Search=Ce.default;exports.Sell=pe.default;exports.SellActive=ge.default;exports.Settings=Se.default;exports.Share=we.default;exports.Subtract=Le.default;exports.Success=Ie.default;exports.Tooltip=Pe.default;exports.TwitterX=Fe.default;exports.Upload=Re.default;exports.View=Me.default;exports.VolumeMaximum=ke.default;exports.VolumeMid=Ee.default;exports.VolumeMinimum=Ge.default;exports.WeChat=Ue.default;
|
|
@@ -23,6 +23,7 @@ export { default as ArrowRight } from './ArrowRight';
|
|
|
23
23
|
export { default as ArrowUp } from './ArrowUp';
|
|
24
24
|
export { default as Bag } from './Bag';
|
|
25
25
|
export { default as Calendar } from './Calendar';
|
|
26
|
+
export { default as Card } from './Card';
|
|
26
27
|
export { default as ChevronDown } from './ChevronDown';
|
|
27
28
|
export { default as ChevronLeft } from './ChevronLeft';
|
|
28
29
|
export { default as ChevronRight } from './ChevronRight';
|
|
@@ -23,67 +23,68 @@ import { default as j } from "./ArrowRight.js";
|
|
|
23
23
|
import { default as z } from "./ArrowUp.js";
|
|
24
24
|
import { default as K } from "./Bag.js";
|
|
25
25
|
import { default as Y } from "./Calendar.js";
|
|
26
|
-
import { default as _ } from "./
|
|
27
|
-
import { default as ee } from "./
|
|
28
|
-
import { default as re } from "./
|
|
29
|
-
import { default as ae } from "./
|
|
30
|
-
import { default as le } from "./
|
|
31
|
-
import { default as me } from "./
|
|
32
|
-
import { default as ue } from "./
|
|
33
|
-
import { default as xe } from "./
|
|
34
|
-
import { default as ne } from "./
|
|
35
|
-
import { default as Ae } from "./
|
|
36
|
-
import { default as he } from "./
|
|
37
|
-
import { default as ge } from "./
|
|
38
|
-
import { default as Le } from "./
|
|
39
|
-
import { default as Ie } from "./
|
|
40
|
-
import { default as Pe } from "./
|
|
41
|
-
import { default as ke } from "./
|
|
42
|
-
import { default as Me } from "./
|
|
43
|
-
import { default as Ue } from "./
|
|
44
|
-
import { default as He } from "./
|
|
45
|
-
import { default as be } from "./
|
|
46
|
-
import { default as Te } from "./
|
|
47
|
-
import { default as Oe } from "./
|
|
48
|
-
import { default as Ne } from "./
|
|
49
|
-
import { default as je } from "./
|
|
50
|
-
import { default as ze } from "./
|
|
51
|
-
import { default as Ke } from "./
|
|
52
|
-
import { default as Ye } from "./
|
|
53
|
-
import { default as _e } from "./
|
|
54
|
-
import { default as eo } from "./
|
|
55
|
-
import { default as ro } from "./
|
|
56
|
-
import { default as ao } from "./
|
|
57
|
-
import { default as lo } from "./
|
|
58
|
-
import { default as so } from "./
|
|
59
|
-
import { default as po } from "./
|
|
60
|
-
import { default as io } from "./
|
|
61
|
-
import { default as co } from "./
|
|
62
|
-
import { default as vo } from "./
|
|
63
|
-
import { default as Co } from "./
|
|
64
|
-
import { default as wo } from "./
|
|
65
|
-
import { default as So } from "./
|
|
66
|
-
import { default as Fo } from "./
|
|
67
|
-
import { default as Ro } from "./
|
|
68
|
-
import { default as Eo } from "./
|
|
69
|
-
import { default as Go } from "./
|
|
70
|
-
import { default as Do } from "./
|
|
71
|
-
import { default as Vo } from "./
|
|
72
|
-
import { default as Bo } from "./
|
|
73
|
-
import { default as yo } from "./
|
|
74
|
-
import { default as Xo } from "./
|
|
75
|
-
import { default as Wo } from "./
|
|
76
|
-
import { default as qo } from "./
|
|
77
|
-
import { default as Jo } from "./
|
|
78
|
-
import { default as Qo } from "./
|
|
79
|
-
import { default as Zo } from "./
|
|
80
|
-
import { default as $o } from "./
|
|
81
|
-
import { default as or } from "./
|
|
82
|
-
import { default as tr } from "./
|
|
83
|
-
import { default as fr } from "./
|
|
84
|
-
import { default as dr } from "./
|
|
85
|
-
import { default as sr } from "./
|
|
86
|
-
import { default as pr } from "./
|
|
26
|
+
import { default as _ } from "./Card.js";
|
|
27
|
+
import { default as ee } from "./ChevronDown.js";
|
|
28
|
+
import { default as re } from "./ChevronLeft.js";
|
|
29
|
+
import { default as ae } from "./ChevronRight.js";
|
|
30
|
+
import { default as le } from "./ChevronUp.js";
|
|
31
|
+
import { default as me } from "./Clock.js";
|
|
32
|
+
import { default as ue } from "./CloseX.js";
|
|
33
|
+
import { default as xe } from "./ConditionReport.js";
|
|
34
|
+
import { default as ne } from "./Delete.js";
|
|
35
|
+
import { default as Ae } from "./Download.js";
|
|
36
|
+
import { default as he } from "./Edit.js";
|
|
37
|
+
import { default as ge } from "./Email.js";
|
|
38
|
+
import { default as Le } from "./Error.js";
|
|
39
|
+
import { default as Ie } from "./ExternalLink.js";
|
|
40
|
+
import { default as Pe } from "./Facebook.js";
|
|
41
|
+
import { default as ke } from "./Favorite.js";
|
|
42
|
+
import { default as Me } from "./FavoriteActive.js";
|
|
43
|
+
import { default as Ue } from "./Filters.js";
|
|
44
|
+
import { default as He } from "./Fullscreen.js";
|
|
45
|
+
import { default as be } from "./FullscreenExit.js";
|
|
46
|
+
import { default as Te } from "./Gavel.js";
|
|
47
|
+
import { default as Oe } from "./GavelActive.js";
|
|
48
|
+
import { default as Ne } from "./Grid.js";
|
|
49
|
+
import { default as je } from "./Hide.js";
|
|
50
|
+
import { default as ze } from "./Home.js";
|
|
51
|
+
import { default as Ke } from "./HomeActive.js";
|
|
52
|
+
import { default as Ye } from "./Icon.js";
|
|
53
|
+
import { default as _e } from "./IconBlueCircle.js";
|
|
54
|
+
import { default as eo } from "./IconGreenCircle.js";
|
|
55
|
+
import { default as ro } from "./IconOrangeCircle.js";
|
|
56
|
+
import { default as ao } from "./IconRedCircle.js";
|
|
57
|
+
import { default as lo } from "./ImageUnavailable.js";
|
|
58
|
+
import { default as so } from "./Instagram.js";
|
|
59
|
+
import { default as po } from "./LinkedIn.js";
|
|
60
|
+
import { default as io } from "./List.js";
|
|
61
|
+
import { default as co } from "./LiveNow.js";
|
|
62
|
+
import { default as vo } from "./Lock.js";
|
|
63
|
+
import { default as Co } from "./MagnificentSeven.js";
|
|
64
|
+
import { default as wo } from "./Menu.js";
|
|
65
|
+
import { default as So } from "./Mute.js";
|
|
66
|
+
import { default as Fo } from "./Paddle.js";
|
|
67
|
+
import { default as Ro } from "./Pause.js";
|
|
68
|
+
import { default as Eo } from "./PhillipsAppIcon.js";
|
|
69
|
+
import { default as Go } from "./PhillipsLogo.js";
|
|
70
|
+
import { default as Do } from "./Play.js";
|
|
71
|
+
import { default as Vo } from "./Red.js";
|
|
72
|
+
import { default as Bo } from "./Refresh.js";
|
|
73
|
+
import { default as yo } from "./Search.js";
|
|
74
|
+
import { default as Xo } from "./Sell.js";
|
|
75
|
+
import { default as Wo } from "./SellActive.js";
|
|
76
|
+
import { default as qo } from "./Settings.js";
|
|
77
|
+
import { default as Jo } from "./Share.js";
|
|
78
|
+
import { default as Qo } from "./Subtract.js";
|
|
79
|
+
import { default as Zo } from "./Success.js";
|
|
80
|
+
import { default as $o } from "./Tooltip.js";
|
|
81
|
+
import { default as or } from "./TwitterX.js";
|
|
82
|
+
import { default as tr } from "./Upload.js";
|
|
83
|
+
import { default as fr } from "./View.js";
|
|
84
|
+
import { default as dr } from "./VolumeMaximum.js";
|
|
85
|
+
import { default as sr } from "./VolumeMid.js";
|
|
86
|
+
import { default as pr } from "./VolumeMinimum.js";
|
|
87
|
+
import { default as ir } from "./WeChat.js";
|
|
87
88
|
export {
|
|
88
89
|
r as Account,
|
|
89
90
|
a as AccountActive,
|
|
@@ -110,65 +111,66 @@ export {
|
|
|
110
111
|
z as ArrowUp,
|
|
111
112
|
K as Bag,
|
|
112
113
|
Y as Calendar,
|
|
113
|
-
_ as
|
|
114
|
-
ee as
|
|
115
|
-
re as
|
|
116
|
-
ae as
|
|
117
|
-
le as
|
|
118
|
-
me as
|
|
119
|
-
ue as
|
|
120
|
-
xe as
|
|
121
|
-
ne as
|
|
122
|
-
Ae as
|
|
123
|
-
he as
|
|
124
|
-
ge as
|
|
125
|
-
Le as
|
|
126
|
-
Ie as
|
|
127
|
-
Pe as
|
|
128
|
-
ke as
|
|
129
|
-
Me as
|
|
130
|
-
Ue as
|
|
131
|
-
He as
|
|
132
|
-
be as
|
|
133
|
-
Te as
|
|
134
|
-
Oe as
|
|
135
|
-
Ne as
|
|
136
|
-
je as
|
|
137
|
-
ze as
|
|
138
|
-
Ke as
|
|
139
|
-
Ye as
|
|
140
|
-
_e as
|
|
141
|
-
eo as
|
|
142
|
-
ro as
|
|
143
|
-
ao as
|
|
144
|
-
lo as
|
|
145
|
-
so as
|
|
146
|
-
po as
|
|
147
|
-
io as
|
|
148
|
-
co as
|
|
149
|
-
vo as
|
|
150
|
-
Co as
|
|
151
|
-
wo as
|
|
152
|
-
So as
|
|
153
|
-
Fo as
|
|
154
|
-
Ro as
|
|
155
|
-
Eo as
|
|
156
|
-
Go as
|
|
157
|
-
Do as
|
|
158
|
-
Vo as
|
|
159
|
-
Bo as
|
|
160
|
-
yo as
|
|
161
|
-
Xo as
|
|
162
|
-
Wo as
|
|
163
|
-
qo as
|
|
164
|
-
Jo as
|
|
165
|
-
Qo as
|
|
166
|
-
Zo as
|
|
167
|
-
$o as
|
|
168
|
-
or as
|
|
169
|
-
tr as
|
|
170
|
-
fr as
|
|
171
|
-
dr as
|
|
172
|
-
sr as
|
|
173
|
-
pr as
|
|
114
|
+
_ as Card,
|
|
115
|
+
ee as ChevronDown,
|
|
116
|
+
re as ChevronLeft,
|
|
117
|
+
ae as ChevronRight,
|
|
118
|
+
le as ChevronUp,
|
|
119
|
+
me as Clock,
|
|
120
|
+
ue as CloseX,
|
|
121
|
+
xe as ConditionReport,
|
|
122
|
+
ne as Delete,
|
|
123
|
+
Ae as Download,
|
|
124
|
+
he as Edit,
|
|
125
|
+
ge as Email,
|
|
126
|
+
Le as Error,
|
|
127
|
+
Ie as ExternalLink,
|
|
128
|
+
Pe as Facebook,
|
|
129
|
+
ke as Favorite,
|
|
130
|
+
Me as FavoriteActive,
|
|
131
|
+
Ue as Filters,
|
|
132
|
+
He as Fullscreen,
|
|
133
|
+
be as FullscreenExit,
|
|
134
|
+
Te as Gavel,
|
|
135
|
+
Oe as GavelActive,
|
|
136
|
+
Ne as Grid,
|
|
137
|
+
je as Hide,
|
|
138
|
+
ze as Home,
|
|
139
|
+
Ke as HomeActive,
|
|
140
|
+
Ye as Icon,
|
|
141
|
+
_e as IconBlueCircle,
|
|
142
|
+
eo as IconGreenCircle,
|
|
143
|
+
ro as IconOrangeCircle,
|
|
144
|
+
ao as IconRedCircle,
|
|
145
|
+
lo as ImageUnavailable,
|
|
146
|
+
so as Instagram,
|
|
147
|
+
po as LinkedIn,
|
|
148
|
+
io as List,
|
|
149
|
+
co as LiveNow,
|
|
150
|
+
vo as Lock,
|
|
151
|
+
Co as MagnificentSeven,
|
|
152
|
+
wo as Menu,
|
|
153
|
+
So as Mute,
|
|
154
|
+
Fo as Paddle,
|
|
155
|
+
Ro as Pause,
|
|
156
|
+
Eo as PhillipsAppIcon,
|
|
157
|
+
Go as PhillipsLogo,
|
|
158
|
+
Do as Play,
|
|
159
|
+
Vo as Red,
|
|
160
|
+
Bo as Refresh,
|
|
161
|
+
yo as Search,
|
|
162
|
+
Xo as Sell,
|
|
163
|
+
Wo as SellActive,
|
|
164
|
+
qo as Settings,
|
|
165
|
+
Jo as Share,
|
|
166
|
+
Qo as Subtract,
|
|
167
|
+
Zo as Success,
|
|
168
|
+
$o as Tooltip,
|
|
169
|
+
or as TwitterX,
|
|
170
|
+
tr as Upload,
|
|
171
|
+
fr as View,
|
|
172
|
+
dr as VolumeMaximum,
|
|
173
|
+
sr as VolumeMid,
|
|
174
|
+
pr as VolumeMinimum,
|
|
175
|
+
ir as WeChat
|
|
174
176
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),N=require("../../node_modules/@radix-ui/react-popover/dist/index.cjs"),p=require("../../_virtual/index.cjs"),g=require("../../node_modules/cmdk/dist/index.cjs"),i=require("react"),pe=require("../../node_modules/usehooks-ts/dist/index.cjs");require("../../assets/formatted/Account.cjs");require("../../assets/formatted/AccountActive.cjs");require("../../assets/formatted/Add.cjs");require("../../assets/formatted/AdminCheck.cjs");require("../../assets/formatted/AdminChevronLeft.cjs");require("../../assets/formatted/AdminChevronRight.cjs");require("../../assets/formatted/AdminChevronUp.cjs");require("../../assets/formatted/AdminClose.cjs");require("../../assets/formatted/AdminFullscreen.cjs");require("../../assets/formatted/AdminFullscreenExit.cjs");require("../../assets/formatted/AdminGavel.cjs");require("../../assets/formatted/AdminHome.cjs");require("../../assets/formatted/AdminLiveOnline.cjs");require("../../assets/formatted/AdminPencil.cjs");require("../../assets/formatted/AdminPerson.cjs");require("../../assets/formatted/AdminPlay.cjs");require("../../assets/formatted/AdminSearch.cjs");require("../../assets/formatted/AdminTelephone.cjs");require("../../assets/formatted/AppleAppStoreBadge.cjs");require("../../assets/formatted/ArrowDown.cjs");require("../../assets/formatted/ArrowLeft.cjs");require("../../assets/formatted/ArrowRight.cjs");require("../../assets/formatted/ArrowUp.cjs");require("../../assets/formatted/Bag.cjs");require("../../assets/formatted/Calendar.cjs");const he=require("../../assets/formatted/ChevronDown.cjs");require("../../assets/formatted/ChevronLeft.cjs");require("../../assets/formatted/ChevronRight.cjs");require("../../assets/formatted/ChevronUp.cjs");require("../../assets/formatted/Clock.cjs");const _e=require("../../assets/formatted/CloseX.cjs");require("../../assets/formatted/ConditionReport.cjs");require("../../assets/formatted/Delete.cjs");require("../../assets/formatted/Download.cjs");require("../../assets/formatted/Edit.cjs");require("../../assets/formatted/Email.cjs");require("../../assets/formatted/Error.cjs");require("../../assets/formatted/ExternalLink.cjs");require("../../assets/formatted/Facebook.cjs");require("../../assets/formatted/Favorite.cjs");require("../../assets/formatted/FavoriteActive.cjs");require("../../assets/formatted/Filters.cjs");require("../../assets/formatted/Fullscreen.cjs");require("../../assets/formatted/FullscreenExit.cjs");require("../../assets/formatted/Gavel.cjs");require("../../assets/formatted/GavelActive.cjs");require("../../assets/formatted/Grid.cjs");require("../../assets/formatted/Hide.cjs");require("../../assets/formatted/Home.cjs");require("../../assets/formatted/HomeActive.cjs");require("../../assets/formatted/Icon.cjs");require("../../assets/formatted/IconBlueCircle.cjs");require("../../assets/formatted/IconGreenCircle.cjs");require("../../assets/formatted/IconOrangeCircle.cjs");require("../../assets/formatted/IconRedCircle.cjs");require("../../assets/formatted/ImageUnavailable.cjs");require("../../assets/formatted/Instagram.cjs");require("../../assets/formatted/LinkedIn.cjs");require("../../assets/formatted/List.cjs");require("../../assets/formatted/LiveNow.cjs");require("../../assets/formatted/Lock.cjs");require("../../assets/formatted/MagnificentSeven.cjs");require("../../assets/formatted/Menu.cjs");require("../../assets/formatted/Mute.cjs");require("../../assets/formatted/Paddle.cjs");require("../../assets/formatted/Pause.cjs");require("../../assets/formatted/PhillipsAppIcon.cjs");require("../../assets/formatted/PhillipsLogo.cjs");require("../../assets/formatted/Play.cjs");require("../../assets/formatted/Red.cjs");require("../../assets/formatted/Refresh.cjs");require("../../assets/formatted/Search.cjs");require("../../assets/formatted/Sell.cjs");require("../../assets/formatted/SellActive.cjs");require("../../assets/formatted/Settings.cjs");require("../../assets/formatted/Share.cjs");require("../../assets/formatted/Subtract.cjs");require("../../assets/formatted/Success.cjs");require("../../assets/formatted/Tooltip.cjs");require("../../assets/formatted/TwitterX.cjs");require("../../assets/formatted/Upload.cjs");require("../../assets/formatted/View.cjs");require("../../assets/formatted/VolumeMaximum.cjs");require("../../assets/formatted/VolumeMid.cjs");require("../../assets/formatted/VolumeMinimum.cjs");require("../../assets/formatted/WeChat.cjs");const K=require("../../utils/index.cjs"),U=require("../IconButton/IconButton.cjs"),W=require("../Button/types.cjs"),be=require("../../utils/usePrevious.cjs"),ve=require("../Text/types.cjs"),xe=require("../Text/Text.cjs"),X=i.forwardRef(function({options:o=[],className:H,id:l,labelText:S,placeholder:J,name:I,value:q,onChange:f,onBlur:Q,renderOption:F,ariaLabelDropdown:T,ariaLabelInput:Y,ariaLabelClear:Z,ariaLabelContent:ee,hideLabel:re=!1,popoverContainerRef:te,noOptionsMessage:ue="No Options.",invalid:w=!1,invalidText:ie,countOfCharsBeforeDropdown:B=0,...se},k){const{className:r,...ae}=K.getCommonProps({id:l},"ComboBox"),le=he.default,ne=_e.default,E=K.useNormalizedInputProps({id:l,invalid:w,invalidText:ie,type:"text"}),[m,A]=i.useState(!1),[oe,ce]=i.useState(""),z=be.usePrevious(q),M=i.useCallback(e=>e.label||e.value,[]),[s,v]=i.useState(()=>{if(q!==void 0){const e=o.find(u=>u.value===q);return e?e.displayValue||M(e):""}return""}),x=i.useRef(null),$=i.useRef(null),y=i.useRef(!1),O=i.useRef(null),c=i.useCallback(e=>M(e),[M]),h=q!==void 0,V=h?q:oe,a=i.useMemo(()=>o.find(e=>e.value===V)||null,[o,V]),_=i.useMemo(()=>a?a.displayValue||c(a):"",[a,c]),d=i.useMemo(()=>{if(!s||a&&s===_)return o;const e=s.toLowerCase().trim();return o.filter(u=>{const C=c(u).toLowerCase().includes(e),D=u.value.toLowerCase().includes(e),P=u.displayValue?.toLowerCase().includes(e)||!1;let b=!1;return u.filterTerms&&u.filterTerms.length>0&&(b=u.filterTerms.some(me=>me.toLowerCase().includes(e))),C||D||P||b})},[s,_,a,c,o]),n=i.useCallback((e,u)=>{const C=(u?.length||s.length)>=B;(!e||e&&C)&&A(e),e&&a&&d.length>5&&requestAnimationFrame(()=>{O.current&&O.current.scrollIntoView({block:"nearest",behavior:"auto"})})},[B,s.length,a,d.length]),j=i.useCallback(e=>{h||ce(e.value);const u=e.displayValue||c(e);v(u),f&&f(e.value,e),n(!1),y.current=!0,requestAnimationFrame(()=>{y.current=!1})},[h,f,n,c]),de=e=>{n(!1),y.current=!0,e.preventDefault(),e.stopPropagation(),f&&h&&f("",null),v(""),$.current?.focus(),requestAnimationFrame(()=>{y.current=!1})},qe=()=>{A(!m),$.current?.focus()},fe=e=>{v(e),e!==""&&d.length>0&&n(!0,e)},G=i.useMemo(()=>{if(h){if(q!==z)return a?_:s;if(a){const e=_;return e!==s?s:e}else return s}return s},[h,s,q,z,a,_]),L=e=>{if(a){const u=_;u!==G&&v(u)}else v("")},R=i.useCallback(()=>{const e=o.filter(u=>{const C=c(u).toLowerCase(),D=u.value.toLowerCase(),P=u.displayValue?.toLowerCase(),b=s.toLowerCase();return C===b||D===b||P===b});e.length===1&&j(e[0])},[s,o,j,c]);return pe.useOnClickOutside(x,e=>{e.target.closest(`.${r}__item`)||e.target.closest(`.${r}__content`)||x.current?.contains(e.target)||e.target===x.current||(R(),L(),n(!1))}),t.jsxs("div",{ref:k,className:p.default(r,H),id:l,...ae,...se,children:[I&&t.jsx("input",{type:"hidden",name:I,id:I,value:V||"",ref:e=>{typeof k=="function"&&e&&k(e)}}),t.jsxs("div",{ref:x,className:`${r}__wrapper`,children:[t.jsx(xe.default,{element:"label",variant:ve.TextVariants.labelMedium,htmlFor:`${l}-input`,className:p.default(`${r}__label`,{[`${r}__label--hidden`]:re,[`${r}__label--invalid`]:w}),"data-testid":`${l}-label`,children:S}),t.jsx(g.Command,{loop:!0,onKeyDown:e=>{setTimeout(()=>{e.key==="Escape"&&n(!1)},0)},shouldFilter:!1,className:`${r}__command-wrapper`,children:t.jsxs(N.Root,{open:m,modal:!1,children:[t.jsx(N.Trigger,{asChild:!0,children:t.jsxs("div",{className:p.default(`${r}__input-wrapper`,{[`${r}__input-wrapper--invalid`]:w}),role:"combobox","aria-label":S,children:[t.jsx(g.CommandInput,{id:`${l}-input`,placeholder:J,value:G,onValueChange:fe,tabIndex:0,onFocus:()=>{d.length>0&&!y.current&&!m&&n(!0)},onClick:e=>{n(!0),e.preventDefault(),e.currentTarget.focus()},onKeyDown:e=>{e.key==="Tab"?(n(!1),R(),L()):e.key==="Enter"&&!m?(f&&f(s,null),d.length===1&&j(d[0])):e.key==="Escape"?(n(!1),e.preventDefault(),R(),L()):(e.key==="ArrowDown"||e.key==="ArrowUp")&&!m&&d.length>0&&(n(!0),e.preventDefault())},onBlur:Q,className:p.default(`${r}__input`,{[`${r}__input--invalid`]:w}),"aria-label":Y,"aria-controls":`${l}-content`,"data-testid":`${l}-input`,ref:$}),s&&t.jsx(U.default,{className:`${r}__close-button`,"data-testid":`${l}-clear-button`,onClick:de,"aria-label":Z,tabIndex:-1,variant:W.ButtonVariants.tertiary,children:t.jsx(ne,{color:"currentColor",height:18,width:18,className:`${r}__icon-button`})}),t.jsx(U.default,{"aria-label":T,className:p.default(`${r}__dropdown-button`,{[`${r}__dropdown-button--open`]:m}),onClick:qe,"data-testid":`${l}-dropdown`,tabIndex:-1,variant:W.ButtonVariants.tertiary,children:t.jsx(le,{color:"currentColor",height:18,width:18,className:`${r}__icon-button`,title:T||`${l}-dropdown`})})]})}),m&&t.jsx(N.Portal,{container:te?.current||document.body,children:t.jsx(N.Content,{id:`${l}-content`,className:`${r}__content`,"aria-label":ee,side:"bottom",sideOffset:-5,align:"start",alignOffset:0,onFocus:()=>{document.activeElement!==$.current&&$.current?.focus()},style:{width:x.current?.offsetWidth||"100%"},children:t.jsx(g.CommandList,{className:`${r}__list`,children:d.length>0?t.jsx(g.CommandGroup,{className:`${r}__group`,children:d.map(e=>t.jsx(g.CommandItem,{className:p.default(`${r}__item`,{[`${r}__item--selected`]:a?.value===e.value}),value:e.value,onSelect:()=>j(e),...a?.value===e.value?{ref:O}:{},children:F?F(e):c(e)},e.value))}):t.jsx("div",{className:`${r}__no-options`,children:ue})})})})]})}),E.validation?E.validation:t.jsx("p",{className:p.default(`${r}__empty-validation`),children:" "})]})]})});X.displayName="ComboBox";exports.default=X;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),N=require("../../node_modules/@radix-ui/react-popover/dist/index.cjs"),p=require("../../_virtual/index.cjs"),g=require("../../node_modules/cmdk/dist/index.cjs"),i=require("react"),pe=require("../../node_modules/usehooks-ts/dist/index.cjs");require("../../assets/formatted/Account.cjs");require("../../assets/formatted/AccountActive.cjs");require("../../assets/formatted/Add.cjs");require("../../assets/formatted/AdminCheck.cjs");require("../../assets/formatted/AdminChevronLeft.cjs");require("../../assets/formatted/AdminChevronRight.cjs");require("../../assets/formatted/AdminChevronUp.cjs");require("../../assets/formatted/AdminClose.cjs");require("../../assets/formatted/AdminFullscreen.cjs");require("../../assets/formatted/AdminFullscreenExit.cjs");require("../../assets/formatted/AdminGavel.cjs");require("../../assets/formatted/AdminHome.cjs");require("../../assets/formatted/AdminLiveOnline.cjs");require("../../assets/formatted/AdminPencil.cjs");require("../../assets/formatted/AdminPerson.cjs");require("../../assets/formatted/AdminPlay.cjs");require("../../assets/formatted/AdminSearch.cjs");require("../../assets/formatted/AdminTelephone.cjs");require("../../assets/formatted/AppleAppStoreBadge.cjs");require("../../assets/formatted/ArrowDown.cjs");require("../../assets/formatted/ArrowLeft.cjs");require("../../assets/formatted/ArrowRight.cjs");require("../../assets/formatted/ArrowUp.cjs");require("../../assets/formatted/Bag.cjs");require("../../assets/formatted/Calendar.cjs");require("../../assets/formatted/Card.cjs");const he=require("../../assets/formatted/ChevronDown.cjs");require("../../assets/formatted/ChevronLeft.cjs");require("../../assets/formatted/ChevronRight.cjs");require("../../assets/formatted/ChevronUp.cjs");require("../../assets/formatted/Clock.cjs");const _e=require("../../assets/formatted/CloseX.cjs");require("../../assets/formatted/ConditionReport.cjs");require("../../assets/formatted/Delete.cjs");require("../../assets/formatted/Download.cjs");require("../../assets/formatted/Edit.cjs");require("../../assets/formatted/Email.cjs");require("../../assets/formatted/Error.cjs");require("../../assets/formatted/ExternalLink.cjs");require("../../assets/formatted/Facebook.cjs");require("../../assets/formatted/Favorite.cjs");require("../../assets/formatted/FavoriteActive.cjs");require("../../assets/formatted/Filters.cjs");require("../../assets/formatted/Fullscreen.cjs");require("../../assets/formatted/FullscreenExit.cjs");require("../../assets/formatted/Gavel.cjs");require("../../assets/formatted/GavelActive.cjs");require("../../assets/formatted/Grid.cjs");require("../../assets/formatted/Hide.cjs");require("../../assets/formatted/Home.cjs");require("../../assets/formatted/HomeActive.cjs");require("../../assets/formatted/Icon.cjs");require("../../assets/formatted/IconBlueCircle.cjs");require("../../assets/formatted/IconGreenCircle.cjs");require("../../assets/formatted/IconOrangeCircle.cjs");require("../../assets/formatted/IconRedCircle.cjs");require("../../assets/formatted/ImageUnavailable.cjs");require("../../assets/formatted/Instagram.cjs");require("../../assets/formatted/LinkedIn.cjs");require("../../assets/formatted/List.cjs");require("../../assets/formatted/LiveNow.cjs");require("../../assets/formatted/Lock.cjs");require("../../assets/formatted/MagnificentSeven.cjs");require("../../assets/formatted/Menu.cjs");require("../../assets/formatted/Mute.cjs");require("../../assets/formatted/Paddle.cjs");require("../../assets/formatted/Pause.cjs");require("../../assets/formatted/PhillipsAppIcon.cjs");require("../../assets/formatted/PhillipsLogo.cjs");require("../../assets/formatted/Play.cjs");require("../../assets/formatted/Red.cjs");require("../../assets/formatted/Refresh.cjs");require("../../assets/formatted/Search.cjs");require("../../assets/formatted/Sell.cjs");require("../../assets/formatted/SellActive.cjs");require("../../assets/formatted/Settings.cjs");require("../../assets/formatted/Share.cjs");require("../../assets/formatted/Subtract.cjs");require("../../assets/formatted/Success.cjs");require("../../assets/formatted/Tooltip.cjs");require("../../assets/formatted/TwitterX.cjs");require("../../assets/formatted/Upload.cjs");require("../../assets/formatted/View.cjs");require("../../assets/formatted/VolumeMaximum.cjs");require("../../assets/formatted/VolumeMid.cjs");require("../../assets/formatted/VolumeMinimum.cjs");require("../../assets/formatted/WeChat.cjs");const K=require("../../utils/index.cjs"),U=require("../IconButton/IconButton.cjs"),W=require("../Button/types.cjs"),be=require("../../utils/usePrevious.cjs"),ve=require("../Text/types.cjs"),xe=require("../Text/Text.cjs"),X=i.forwardRef(function({options:o=[],className:H,id:l,labelText:S,placeholder:J,name:I,value:q,onChange:f,onBlur:Q,renderOption:F,ariaLabelDropdown:T,ariaLabelInput:Y,ariaLabelClear:Z,ariaLabelContent:ee,hideLabel:re=!1,popoverContainerRef:te,noOptionsMessage:ue="No Options.",invalid:w=!1,invalidText:ie,countOfCharsBeforeDropdown:B=0,...se},k){const{className:r,...ae}=K.getCommonProps({id:l},"ComboBox"),le=he.default,ne=_e.default,E=K.useNormalizedInputProps({id:l,invalid:w,invalidText:ie,type:"text"}),[m,A]=i.useState(!1),[oe,ce]=i.useState(""),z=be.usePrevious(q),M=i.useCallback(e=>e.label||e.value,[]),[s,v]=i.useState(()=>{if(q!==void 0){const e=o.find(u=>u.value===q);return e?e.displayValue||M(e):""}return""}),x=i.useRef(null),$=i.useRef(null),y=i.useRef(!1),O=i.useRef(null),c=i.useCallback(e=>M(e),[M]),h=q!==void 0,V=h?q:oe,a=i.useMemo(()=>o.find(e=>e.value===V)||null,[o,V]),_=i.useMemo(()=>a?a.displayValue||c(a):"",[a,c]),d=i.useMemo(()=>{if(!s||a&&s===_)return o;const e=s.toLowerCase().trim();return o.filter(u=>{const C=c(u).toLowerCase().includes(e),D=u.value.toLowerCase().includes(e),P=u.displayValue?.toLowerCase().includes(e)||!1;let b=!1;return u.filterTerms&&u.filterTerms.length>0&&(b=u.filterTerms.some(me=>me.toLowerCase().includes(e))),C||D||P||b})},[s,_,a,c,o]),n=i.useCallback((e,u)=>{const C=(u?.length||s.length)>=B;(!e||e&&C)&&A(e),e&&a&&d.length>5&&requestAnimationFrame(()=>{O.current&&O.current.scrollIntoView({block:"nearest",behavior:"auto"})})},[B,s.length,a,d.length]),j=i.useCallback(e=>{h||ce(e.value);const u=e.displayValue||c(e);v(u),f&&f(e.value,e),n(!1),y.current=!0,requestAnimationFrame(()=>{y.current=!1})},[h,f,n,c]),de=e=>{n(!1),y.current=!0,e.preventDefault(),e.stopPropagation(),f&&h&&f("",null),v(""),$.current?.focus(),requestAnimationFrame(()=>{y.current=!1})},qe=()=>{A(!m),$.current?.focus()},fe=e=>{v(e),e!==""&&d.length>0&&n(!0,e)},G=i.useMemo(()=>{if(h){if(q!==z)return a?_:s;if(a){const e=_;return e!==s?s:e}else return s}return s},[h,s,q,z,a,_]),L=e=>{if(a){const u=_;u!==G&&v(u)}else v("")},R=i.useCallback(()=>{const e=o.filter(u=>{const C=c(u).toLowerCase(),D=u.value.toLowerCase(),P=u.displayValue?.toLowerCase(),b=s.toLowerCase();return C===b||D===b||P===b});e.length===1&&j(e[0])},[s,o,j,c]);return pe.useOnClickOutside(x,e=>{e.target.closest(`.${r}__item`)||e.target.closest(`.${r}__content`)||x.current?.contains(e.target)||e.target===x.current||(R(),L(),n(!1))}),t.jsxs("div",{ref:k,className:p.default(r,H),id:l,...ae,...se,children:[I&&t.jsx("input",{type:"hidden",name:I,id:I,value:V||"",ref:e=>{typeof k=="function"&&e&&k(e)}}),t.jsxs("div",{ref:x,className:`${r}__wrapper`,children:[t.jsx(xe.default,{element:"label",variant:ve.TextVariants.labelMedium,htmlFor:`${l}-input`,className:p.default(`${r}__label`,{[`${r}__label--hidden`]:re,[`${r}__label--invalid`]:w}),"data-testid":`${l}-label`,children:S}),t.jsx(g.Command,{loop:!0,onKeyDown:e=>{setTimeout(()=>{e.key==="Escape"&&n(!1)},0)},shouldFilter:!1,className:`${r}__command-wrapper`,children:t.jsxs(N.Root,{open:m,modal:!1,children:[t.jsx(N.Trigger,{asChild:!0,children:t.jsxs("div",{className:p.default(`${r}__input-wrapper`,{[`${r}__input-wrapper--invalid`]:w}),role:"combobox","aria-label":S,children:[t.jsx(g.CommandInput,{id:`${l}-input`,placeholder:J,value:G,onValueChange:fe,tabIndex:0,onFocus:()=>{d.length>0&&!y.current&&!m&&n(!0)},onClick:e=>{n(!0),e.preventDefault(),e.currentTarget.focus()},onKeyDown:e=>{e.key==="Tab"?(n(!1),R(),L()):e.key==="Enter"&&!m?(f&&f(s,null),d.length===1&&j(d[0])):e.key==="Escape"?(n(!1),e.preventDefault(),R(),L()):(e.key==="ArrowDown"||e.key==="ArrowUp")&&!m&&d.length>0&&(n(!0),e.preventDefault())},onBlur:Q,className:p.default(`${r}__input`,{[`${r}__input--invalid`]:w}),"aria-label":Y,"aria-controls":`${l}-content`,"data-testid":`${l}-input`,ref:$}),s&&t.jsx(U.default,{className:`${r}__close-button`,"data-testid":`${l}-clear-button`,onClick:de,"aria-label":Z,tabIndex:-1,variant:W.ButtonVariants.tertiary,children:t.jsx(ne,{color:"currentColor",height:18,width:18,className:`${r}__icon-button`})}),t.jsx(U.default,{"aria-label":T,className:p.default(`${r}__dropdown-button`,{[`${r}__dropdown-button--open`]:m}),onClick:qe,"data-testid":`${l}-dropdown`,tabIndex:-1,variant:W.ButtonVariants.tertiary,children:t.jsx(le,{color:"currentColor",height:18,width:18,className:`${r}__icon-button`,title:T||`${l}-dropdown`})})]})}),m&&t.jsx(N.Portal,{container:te?.current||document.body,children:t.jsx(N.Content,{id:`${l}-content`,className:`${r}__content`,"aria-label":ee,side:"bottom",sideOffset:-5,align:"start",alignOffset:0,onFocus:()=>{document.activeElement!==$.current&&$.current?.focus()},style:{width:x.current?.offsetWidth||"100%"},children:t.jsx(g.CommandList,{className:`${r}__list`,children:d.length>0?t.jsx(g.CommandGroup,{className:`${r}__group`,children:d.map(e=>t.jsx(g.CommandItem,{className:p.default(`${r}__item`,{[`${r}__item--selected`]:a?.value===e.value}),value:e.value,onSelect:()=>j(e),...a?.value===e.value?{ref:O}:{},children:F?F(e):c(e)},e.value))}):t.jsx("div",{className:`${r}__no-options`,children:ue})})})})]})}),E.validation?E.validation:t.jsx("p",{className:p.default(`${r}__empty-validation`),children:" "})]})]})});X.displayName="ComboBox";exports.default=X;
|
|
@@ -29,6 +29,7 @@ import "../../assets/formatted/ArrowRight.js";
|
|
|
29
29
|
import "../../assets/formatted/ArrowUp.js";
|
|
30
30
|
import "../../assets/formatted/Bag.js";
|
|
31
31
|
import "../../assets/formatted/Calendar.js";
|
|
32
|
+
import "../../assets/formatted/Card.js";
|
|
32
33
|
import Tt from "../../assets/formatted/ChevronDown.js";
|
|
33
34
|
import "../../assets/formatted/ChevronLeft.js";
|
|
34
35
|
import "../../assets/formatted/ChevronRight.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),d=require("../../_virtual/index.cjs"),o=require("../../utils/index.cjs"),u=require("../../components/Text/types.cjs"),x=require("../../components/Text/Text.cjs"),i=require("../../components/Icon/Icon.cjs"),f=({children:l,className:a,copyright:n=`© ${o.defaultYear} Phillips Auctioneers, LLC`,id:t,logoHref:s="/",logoLinkComponent:c})=>{const r=c;return e.jsxs("footer",{"data-testid":t||"footer",id:t,className:d.default(`${o.px}-footer`,{className:a}),children:[e.jsx("div",{className:`${o.px}-footer__links`,children:l}),e.jsxs("div",{className:`${o.px}-footer__copyright`,children:[r?e.jsx(r,{href:s,"aria-label":"logoLink","data-testid":"footer-logo",className:`${o.px}-footer__logo`,children:e.jsx(i.default,{icon:"PhillipsLogo",width:"94px"})}):e.jsx("a",{href:s,"aria-label":"logo","data-testid":"footer-logo",className:`${o.px}-footer__logo`,children:e.jsx(i.default,{icon:"PhillipsLogo",width:"94px"})}),e.jsx(x.default,{variant:u.TextVariants.bodySmall,children:n})]})]})};exports.default=f;
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ComponentType } from 'react';
|
|
1
2
|
export interface FooterProps extends React.HTMLAttributes<HTMLElement> {
|
|
2
3
|
/**
|
|
3
4
|
* Copyright data added to bottom of site
|
|
4
5
|
*/
|
|
5
6
|
copyright?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Logo href
|
|
9
|
+
*/
|
|
10
|
+
logoHref?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Logo link component to support SPA navigation (e.g. Remix <Link> or Next.js <Link>)
|
|
13
|
+
*/
|
|
14
|
+
logoLinkComponent?: ComponentType<ComponentPropsWithoutRef<'a'>>;
|
|
6
15
|
}
|
|
7
16
|
/**
|
|
8
17
|
* ## Overview
|
|
@@ -13,5 +22,5 @@ export interface FooterProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
13
22
|
*
|
|
14
23
|
* [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-footer--overview)
|
|
15
24
|
*/
|
|
16
|
-
declare const Footer: ({ children, className, copyright, id, }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
declare const Footer: ({ children, className, copyright, id, logoHref, logoLinkComponent, }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
26
|
export default Footer;
|
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { px as
|
|
4
|
-
import { TextVariants as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
const
|
|
8
|
-
children:
|
|
9
|
-
className:
|
|
10
|
-
copyright:
|
|
11
|
-
id:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import n from "../../_virtual/index.js";
|
|
3
|
+
import { px as t, defaultYear as d } from "../../utils/index.js";
|
|
4
|
+
import { TextVariants as p } from "../../components/Text/types.js";
|
|
5
|
+
import h from "../../components/Text/Text.js";
|
|
6
|
+
import l from "../../components/Icon/Icon.js";
|
|
7
|
+
const u = ({
|
|
8
|
+
children: s,
|
|
9
|
+
className: m,
|
|
10
|
+
copyright: c = `© ${d} Phillips Auctioneers, LLC`,
|
|
11
|
+
id: r,
|
|
12
|
+
logoHref: e = "/",
|
|
13
|
+
logoLinkComponent: f
|
|
14
|
+
}) => {
|
|
15
|
+
const a = f;
|
|
16
|
+
return /* @__PURE__ */ i("footer", { "data-testid": r || "footer", id: r, className: n(`${t}-footer`, { className: m }), children: [
|
|
17
|
+
/* @__PURE__ */ o("div", { className: `${t}-footer__links`, children: s }),
|
|
18
|
+
/* @__PURE__ */ i("div", { className: `${t}-footer__copyright`, children: [
|
|
19
|
+
a ? /* @__PURE__ */ o(a, { href: e, "aria-label": "logoLink", "data-testid": "footer-logo", className: `${t}-footer__logo`, children: /* @__PURE__ */ o(l, { icon: "PhillipsLogo", width: "94px" }) }) : /* @__PURE__ */ o("a", { href: e, "aria-label": "logo", "data-testid": "footer-logo", className: `${t}-footer__logo`, children: /* @__PURE__ */ o(l, { icon: "PhillipsLogo", width: "94px" }) }),
|
|
20
|
+
/* @__PURE__ */ o(h, { variant: p.bodySmall, children: c })
|
|
21
|
+
] })
|
|
22
|
+
] });
|
|
23
|
+
};
|
|
19
24
|
export {
|
|
20
|
-
|
|
25
|
+
u as default
|
|
21
26
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FooterProps } from './Footer';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ children, className, copyright, id, }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
component: ({ children, className, copyright, id, logoHref, logoLinkComponent, }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
};
|
|
6
6
|
export default meta;
|
|
7
|
+
export declare const WithCustomLinkElement: () => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export declare const Playground: (props: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),o=require("../../_virtual/index.cjs"),t=require("react"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),o=require("../../_virtual/index.cjs"),t=require("react"),G=require("../../components/Icon/Icon.cjs"),$=require("../../components/Navigation/Navigation.cjs"),S=require("../../patterns/LanguageSelector/LanguageSelector.cjs"),M=require("../../patterns/UserManagement/UserManagement.cjs"),J=require("../../providers/SeldonProvider/utils.cjs"),n=require("../../utils/index.cjs"),K=require("./hooks.cjs"),W=require("./utils.cjs"),X=require("../../utils/constants.cjs"),q=t.createContext(W.defaultHeaderContext),H=t.forwardRef(({logo:d=r.jsx(G.default,{icon:"PhillipsLogo"}),logoHref:u="/",logoLinkComponent:O,className:N,children:i,toggleOpenText:k="Open Menu",toggleCloseText:w="Close Menu",logoText:h="Home Page",disabled:g,bannerRef:l,skipToContentId:m="main",skipLinkLabel:P="Skip to main content",...R},a)=>{const p=n.findChildrenOfType(i,M.default),T=t.isValidElement(p?.[0])?t.cloneElement(p[0],{disabled:g}):"",f=n.findChildrenOfType(i,S.default),x=t.isValidElement(f?.[0])?t.cloneElement(f[0],{disabled:g}):"",[v,z]=t.useState(!1),L=n.findChildrenOfType(i,$.default),I=n.findChildrenExcludingTypes(i,[$.default,M.default,S.default]),{closeMenu:V,handleMenuToggle:A,isMenuOpen:c,toggleText:B}=K.useMobileMenu({toggleOpenText:k,toggleCloseText:w}),[Q,U]=t.useState(null),[_,b]=t.useState(l?.current?l.current.clientHeight:0),E=t.useRef(null);t.useEffect(()=>{const e=l?.current;if(!e)return;b(e.clientHeight);const s=new window.ResizeObserver(()=>{b(e.clientHeight)});return s.observe(e),()=>{s.disconnect()}},[l,_]),t.useEffect(()=>{const e=E.current;if(!e)return;const s=()=>{const F=e.offsetHeight;document.documentElement.style.setProperty("--header-height",`${F}px`)};s();const C=new window.ResizeObserver(s);return C.observe(e),()=>{C.disconnect()}},[]);const D=t.useCallback(e=>{E.current=e,typeof a=="function"?a(e):a&&(a.current=e)},[a]),j=O,y=typeof d=="object"?d:r.jsx("img",{alt:"Phillips","data-testid":"header-logo-img",src:d});return r.jsxs("header",{...R,className:o.default(`${n.px}-header`,N),ref:D,style:{"--banner-height":`${_}px`},children:[m&&r.jsx("a",{href:`#${m}`,className:`${n.px}-header__skip-link`,"data-testid":"skip-to-content",children:P}),r.jsxs("div",{className:`${n.px}-header__top-row`,children:[r.jsx(J.SSRMediaQuery.Media,{greaterThanOrEqual:X.Breakpoints.md,children:x}),r.jsxs("button",{"aria-label":B,"data-testid":"mobile-menu-toggle",type:"button",onClick:A,className:o.default(`${n.px}-header__toggle-btn`,{[`${n.px}-header__toggle-btn--open`]:c}),children:[r.jsx("span",{})," "]}),j?r.jsx(j,{href:u,"aria-label":h,"data-testid":"header-logo",className:`${n.px}-header__logo`,children:y}):r.jsx("a",{href:u,"aria-label":h,"data-testid":"header-logo",className:`${n.px}-header__logo`,children:y}),T]}),r.jsx("div",{className:o.default(`${n.px}-header__nav`,{[`${n.px}-header__nav--closed`]:!c}),children:r.jsxs(q.Provider,{value:{activeSubmenuId:Q,setActiveSubmenuId:U,isMenuOpen:c,isSearchExpanded:v,setIsSearchExpanded:z,closeMenu:V},children:[t.Children.map(L,e=>t.isValidElement(e)?t.cloneElement(e,{children:[...t.Children.toArray(e.props.children),x]}):e),I]})}),r.jsx("div",{className:o.default(`${n.px}-header__overlay`,{[`${n.px}-header__overlay--active`]:v})})]})});H.displayName="Header";exports.HeaderContext=q;exports.default=H;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React, Component, ComponentProps, ReactElement } from 'react';
|
|
1
|
+
import { default as React, Component, ComponentProps, ComponentPropsWithoutRef, ReactElement } from 'react';
|
|
2
2
|
export interface HeaderProps extends ComponentProps<'header'> {
|
|
3
3
|
/**
|
|
4
4
|
* Logo src
|
|
@@ -8,6 +8,10 @@ export interface HeaderProps extends ComponentProps<'header'> {
|
|
|
8
8
|
* Logo href
|
|
9
9
|
*/
|
|
10
10
|
logoHref?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Logo link component to support SPA navigation (e.g. Remix <Link> or Next.js <Link>)
|
|
13
|
+
*/
|
|
14
|
+
logoLinkComponent?: React.ComponentType<ComponentPropsWithoutRef<'a'>>;
|
|
11
15
|
/**
|
|
12
16
|
* Toggle open text
|
|
13
17
|
*/
|
|
@@ -1,83 +1,84 @@
|
|
|
1
1
|
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import c from "../../_virtual/index.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { SSRMediaQuery as
|
|
9
|
-
import { findChildrenOfType as u, findChildrenExcludingTypes as
|
|
10
|
-
import { useMobileMenu as
|
|
11
|
-
import { defaultHeaderContext as
|
|
12
|
-
import { Breakpoints as
|
|
13
|
-
const
|
|
3
|
+
import n, { createContext as K, forwardRef as W, useState as h, useEffect as N } from "react";
|
|
4
|
+
import X from "../../components/Icon/Icon.js";
|
|
5
|
+
import w from "../../components/Navigation/Navigation.js";
|
|
6
|
+
import O from "../../patterns/LanguageSelector/LanguageSelector.js";
|
|
7
|
+
import k from "../../patterns/UserManagement/UserManagement.js";
|
|
8
|
+
import { SSRMediaQuery as Y } from "../../providers/SeldonProvider/utils.js";
|
|
9
|
+
import { findChildrenOfType as u, findChildrenExcludingTypes as Z, px as t } from "../../utils/index.js";
|
|
10
|
+
import { useMobileMenu as ee } from "./hooks.js";
|
|
11
|
+
import { defaultHeaderContext as te } from "./utils.js";
|
|
12
|
+
import { Breakpoints as ne } from "../../utils/constants.js";
|
|
13
|
+
const re = K(te), ae = W(
|
|
14
14
|
({
|
|
15
|
-
logo: d = /* @__PURE__ */ r(
|
|
16
|
-
logoHref:
|
|
17
|
-
|
|
15
|
+
logo: d = /* @__PURE__ */ r(X, { icon: "PhillipsLogo" }),
|
|
16
|
+
logoHref: g = "/",
|
|
17
|
+
logoLinkComponent: P,
|
|
18
|
+
className: R,
|
|
18
19
|
children: i,
|
|
19
|
-
toggleOpenText:
|
|
20
|
-
toggleCloseText:
|
|
21
|
-
logoText:
|
|
22
|
-
disabled:
|
|
20
|
+
toggleOpenText: z = "Open Menu",
|
|
21
|
+
toggleCloseText: L = "Close Menu",
|
|
22
|
+
logoText: p = "Home Page",
|
|
23
|
+
disabled: f,
|
|
23
24
|
bannerRef: s,
|
|
24
|
-
skipToContentId:
|
|
25
|
-
skipLinkLabel:
|
|
26
|
-
...
|
|
25
|
+
skipToContentId: _ = "main",
|
|
26
|
+
skipLinkLabel: j = "Skip to main content",
|
|
27
|
+
...I
|
|
27
28
|
}, a) => {
|
|
28
|
-
const
|
|
29
|
-
toggleOpenText:
|
|
30
|
-
toggleCloseText:
|
|
31
|
-
}), [
|
|
32
|
-
|
|
29
|
+
const v = u(i, k), T = n.isValidElement(v?.[0]) ? n.cloneElement(v[0], { disabled: f }) : "", b = u(i, O), E = n.isValidElement(b?.[0]) ? n.cloneElement(b[0], { disabled: f }) : "", [$, V] = h(!1), A = u(i, w), B = Z(i, [w, k, O]), { closeMenu: q, handleMenuToggle: Q, isMenuOpen: m, toggleText: U } = ee({
|
|
30
|
+
toggleOpenText: z,
|
|
31
|
+
toggleCloseText: L
|
|
32
|
+
}), [D, F] = h(null), [y, C] = h(s?.current ? s.current.clientHeight : 0), x = n.useRef(null);
|
|
33
|
+
N(() => {
|
|
33
34
|
const e = s?.current;
|
|
34
35
|
if (!e) return;
|
|
35
|
-
|
|
36
|
+
C(e.clientHeight);
|
|
36
37
|
const o = new window.ResizeObserver(() => {
|
|
37
|
-
|
|
38
|
+
C(e.clientHeight);
|
|
38
39
|
});
|
|
39
40
|
return o.observe(e), () => {
|
|
40
41
|
o.disconnect();
|
|
41
42
|
};
|
|
42
|
-
}, [s,
|
|
43
|
-
const e =
|
|
43
|
+
}, [s, y]), N(() => {
|
|
44
|
+
const e = x.current;
|
|
44
45
|
if (!e) return;
|
|
45
46
|
const o = () => {
|
|
46
|
-
const
|
|
47
|
-
document.documentElement.style.setProperty("--header-height", `${
|
|
47
|
+
const J = e.offsetHeight;
|
|
48
|
+
document.documentElement.style.setProperty("--header-height", `${J}px`);
|
|
48
49
|
};
|
|
49
50
|
o();
|
|
50
|
-
const
|
|
51
|
-
return
|
|
52
|
-
|
|
51
|
+
const S = new window.ResizeObserver(o);
|
|
52
|
+
return S.observe(e), () => {
|
|
53
|
+
S.disconnect();
|
|
53
54
|
};
|
|
54
55
|
}, []);
|
|
55
|
-
const
|
|
56
|
+
const G = n.useCallback(
|
|
56
57
|
(e) => {
|
|
57
|
-
|
|
58
|
+
x.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
|
|
58
59
|
},
|
|
59
60
|
[a]
|
|
60
|
-
);
|
|
61
|
+
), H = P, M = typeof d == "object" ? d : /* @__PURE__ */ r("img", { alt: "Phillips", "data-testid": "header-logo-img", src: d });
|
|
61
62
|
return /* @__PURE__ */ l(
|
|
62
63
|
"header",
|
|
63
64
|
{
|
|
64
|
-
...
|
|
65
|
-
className: c(`${
|
|
66
|
-
ref:
|
|
67
|
-
style: { "--banner-height": `${
|
|
65
|
+
...I,
|
|
66
|
+
className: c(`${t}-header`, R),
|
|
67
|
+
ref: G,
|
|
68
|
+
style: { "--banner-height": `${y}px` },
|
|
68
69
|
children: [
|
|
69
|
-
|
|
70
|
-
/* @__PURE__ */ l("div", { className: `${
|
|
71
|
-
/* @__PURE__ */ r(
|
|
70
|
+
_ && /* @__PURE__ */ r("a", { href: `#${_}`, className: `${t}-header__skip-link`, "data-testid": "skip-to-content", children: j }),
|
|
71
|
+
/* @__PURE__ */ l("div", { className: `${t}-header__top-row`, children: [
|
|
72
|
+
/* @__PURE__ */ r(Y.Media, { greaterThanOrEqual: ne.md, children: E }),
|
|
72
73
|
/* @__PURE__ */ l(
|
|
73
74
|
"button",
|
|
74
75
|
{
|
|
75
|
-
"aria-label":
|
|
76
|
+
"aria-label": U,
|
|
76
77
|
"data-testid": "mobile-menu-toggle",
|
|
77
78
|
type: "button",
|
|
78
|
-
onClick:
|
|
79
|
-
className: c(`${
|
|
80
|
-
[`${
|
|
79
|
+
onClick: Q,
|
|
80
|
+
className: c(`${t}-header__toggle-btn`, {
|
|
81
|
+
[`${t}-header__toggle-btn--open`]: m
|
|
81
82
|
}),
|
|
82
83
|
children: [
|
|
83
84
|
/* @__PURE__ */ r("span", {}),
|
|
@@ -85,39 +86,39 @@ const ee = F(Y), te = G(
|
|
|
85
86
|
]
|
|
86
87
|
}
|
|
87
88
|
),
|
|
88
|
-
/* @__PURE__ */ r(
|
|
89
|
+
H ? /* @__PURE__ */ r(H, { href: g, "aria-label": p, "data-testid": "header-logo", className: `${t}-header__logo`, children: M }) : /* @__PURE__ */ r("a", { href: g, "aria-label": p, "data-testid": "header-logo", className: `${t}-header__logo`, children: M }),
|
|
89
90
|
T
|
|
90
91
|
] }),
|
|
91
|
-
/* @__PURE__ */ r("div", { className: c(`${
|
|
92
|
-
|
|
92
|
+
/* @__PURE__ */ r("div", { className: c(`${t}-header__nav`, { [`${t}-header__nav--closed`]: !m }), children: /* @__PURE__ */ l(
|
|
93
|
+
re.Provider,
|
|
93
94
|
{
|
|
94
95
|
value: {
|
|
95
|
-
activeSubmenuId:
|
|
96
|
-
setActiveSubmenuId:
|
|
96
|
+
activeSubmenuId: D,
|
|
97
|
+
setActiveSubmenuId: F,
|
|
97
98
|
isMenuOpen: m,
|
|
98
|
-
isSearchExpanded:
|
|
99
|
-
setIsSearchExpanded:
|
|
100
|
-
closeMenu:
|
|
99
|
+
isSearchExpanded: $,
|
|
100
|
+
setIsSearchExpanded: V,
|
|
101
|
+
closeMenu: q
|
|
101
102
|
},
|
|
102
103
|
children: [
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
(e) =>
|
|
104
|
+
n.Children.map(
|
|
105
|
+
A,
|
|
106
|
+
(e) => n.isValidElement(e) ? n.cloneElement(e, {
|
|
106
107
|
children: [
|
|
107
|
-
...
|
|
108
|
-
|
|
108
|
+
...n.Children.toArray(e.props.children),
|
|
109
|
+
E
|
|
109
110
|
]
|
|
110
111
|
}) : e
|
|
111
112
|
),
|
|
112
|
-
|
|
113
|
+
B
|
|
113
114
|
]
|
|
114
115
|
}
|
|
115
116
|
) }),
|
|
116
117
|
/* @__PURE__ */ r(
|
|
117
118
|
"div",
|
|
118
119
|
{
|
|
119
|
-
className: c(`${
|
|
120
|
-
[`${
|
|
120
|
+
className: c(`${t}-header__overlay`, {
|
|
121
|
+
[`${t}-header__overlay--active`]: $
|
|
121
122
|
})
|
|
122
123
|
}
|
|
123
124
|
)
|
|
@@ -126,8 +127,8 @@ const ee = F(Y), te = G(
|
|
|
126
127
|
);
|
|
127
128
|
}
|
|
128
129
|
);
|
|
129
|
-
|
|
130
|
+
ae.displayName = "Header";
|
|
130
131
|
export {
|
|
131
|
-
|
|
132
|
-
|
|
132
|
+
re as HeaderContext,
|
|
133
|
+
ae as default
|
|
133
134
|
};
|
|
@@ -279,6 +279,7 @@ declare const meta: {
|
|
|
279
279
|
toggleOpenText?: string | undefined;
|
|
280
280
|
logo?: (React.ReactElement<React.Component> | string) | undefined;
|
|
281
281
|
logoHref?: string | undefined;
|
|
282
|
+
logoLinkComponent?: React.ComponentType<React.ComponentPropsWithoutRef<"a">> | undefined;
|
|
282
283
|
logoText?: string | undefined;
|
|
283
284
|
bannerRef?: React.MutableRefObject<HTMLDivElement | null> | undefined;
|
|
284
285
|
skipToContentId?: (string | null) | undefined;
|
|
@@ -306,6 +307,7 @@ declare const meta: {
|
|
|
306
307
|
};
|
|
307
308
|
};
|
|
308
309
|
export default meta;
|
|
310
|
+
export declare const WithCustomLinkElement: () => import("react/jsx-runtime").JSX.Element;
|
|
309
311
|
export declare const Playground: ({ authState, ...props }: HeaderProps & {
|
|
310
312
|
authState?: AuthState;
|
|
311
313
|
}) => import("react/jsx-runtime").JSX.Element;
|