quirk-ui 0.0.463 → 0.0.464

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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index33.css');const e=require("react/jsx-runtime"),y=require("react"),j=require("react-dom"),x=require("../../../x-Dft9NVe_.cjs"),f="_overlay_140ia_1",h="_modal_140ia_16",g="_closeButton_140ia_26",$="_content_140ia_37",t={overlay:f,modal:h,closeButton:g,content:$};function b({content:d,trigger:u,isOpen:l,onOpen:o,onClose:s,className:c}){const[a,m]=y.useState(!1),i=l!==void 0,r=i?l:a,n=()=>{i?a?s==null||s():o==null||o():m(!r)},_=r?e.jsx("div",{className:t.overlay,onClick:n,children:e.jsxs("div",{className:`${c??""} ${t.modal}`,onClick:v=>v.stopPropagation(),children:[e.jsx("button",{"aria-label":"Close",className:`${t.closeButton} modalClose`,onClick:n,children:e.jsx(x.X,{size:21})}),e.jsx("div",{className:`${t.content} modalContent`,children:d})]})}):null;return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:c??void 0,onClick:n,children:u}),typeof window<"u"&&j.createPortal(_,document.body)]})}exports.Modal=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index33.css');const e=require("react/jsx-runtime"),u=require("react"),y=require("react-dom"),j=require("../../../x-Dft9NVe_.cjs"),x="_overlay_140ia_1",h="_modal_140ia_16",g="_closeButton_140ia_26",$="_content_140ia_37",s={overlay:x,modal:h,closeButton:g,content:$};function b({content:m,trigger:f,isOpen:i,onOpen:n,onClose:l,className:a}){const[o,v]=u.useState(!1),r=i!==void 0,d=r?i:o,c=()=>{r?o?l==null||l():n==null||n():v(!d)};u.useEffect(()=>{if(typeof document<"u"){const t=document.documentElement;return o?t.classList.add("no-scroll"):t.classList.remove("no-scroll"),()=>{t.classList.remove("no-scroll")}}},[o]);const _=d?e.jsx("div",{className:s.overlay,onClick:c,children:e.jsxs("div",{className:`${a??""} ${s.modal}`,onClick:t=>t.stopPropagation(),children:[e.jsx("button",{"aria-label":"Close",className:`${s.closeButton} modalClose`,onClick:c,children:e.jsx(j.X,{size:21})}),e.jsx("div",{className:`${s.content} modalContent`,children:m})]})}):null;return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:a??void 0,onClick:c,children:f}),typeof window<"u"&&y.createPortal(_,document.body)]})}exports.Modal=b;
@@ -1,45 +1,54 @@
1
- import { jsxs as r, Fragment as h, jsx as o } from "react/jsx-runtime";
2
- import { useState as p } from "react";
3
- import { createPortal as y } from "react-dom";
4
- import { X as C } from "../../../x-CnsEH4Ox.js";
5
- import '../../../assets/index33.css';const g = "_overlay_140ia_1", k = "_modal_140ia_16", B = "_closeButton_140ia_26", N = "_content_140ia_37", t = {
6
- overlay: g,
7
- modal: k,
8
- closeButton: B,
9
- content: N
1
+ import { jsxs as m, Fragment as p, jsx as t } from "react/jsx-runtime";
2
+ import { useState as y, useEffect as h } from "react";
3
+ import { createPortal as C } from "react-dom";
4
+ import { X as g } from "../../../x-CnsEH4Ox.js";
5
+ import '../../../assets/index33.css';const k = "_overlay_140ia_1", B = "_modal_140ia_16", N = "_closeButton_140ia_26", $ = "_content_140ia_37", l = {
6
+ overlay: k,
7
+ modal: B,
8
+ closeButton: N,
9
+ content: $
10
10
  };
11
11
  function w({
12
- content: m,
13
- trigger: _,
14
- isOpen: a,
15
- onOpen: e,
16
- onClose: l,
17
- className: i
12
+ content: u,
13
+ trigger: f,
14
+ isOpen: i,
15
+ onOpen: n,
16
+ onClose: s,
17
+ className: a
18
18
  }) {
19
- const [s, u] = p(!1), c = a !== void 0, d = c ? a : s, n = () => {
20
- c ? s ? l == null || l() : e == null || e() : u(!d);
21
- }, f = d ? /* @__PURE__ */ o("div", { className: t.overlay, onClick: n, children: /* @__PURE__ */ r(
19
+ const [e, v] = y(!1), r = i !== void 0, d = r ? i : e, c = () => {
20
+ r ? e ? s == null || s() : n == null || n() : v(!d);
21
+ };
22
+ h(() => {
23
+ if (typeof document < "u") {
24
+ const o = document.documentElement;
25
+ return e ? o.classList.add("no-scroll") : o.classList.remove("no-scroll"), () => {
26
+ o.classList.remove("no-scroll");
27
+ };
28
+ }
29
+ }, [e]);
30
+ const _ = d ? /* @__PURE__ */ t("div", { className: l.overlay, onClick: c, children: /* @__PURE__ */ m(
22
31
  "div",
23
32
  {
24
- className: `${i ?? ""} ${t.modal}`,
25
- onClick: (v) => v.stopPropagation(),
33
+ className: `${a ?? ""} ${l.modal}`,
34
+ onClick: (o) => o.stopPropagation(),
26
35
  children: [
27
- /* @__PURE__ */ o(
36
+ /* @__PURE__ */ t(
28
37
  "button",
29
38
  {
30
39
  "aria-label": "Close",
31
- className: `${t.closeButton} modalClose`,
32
- onClick: n,
33
- children: /* @__PURE__ */ o(C, { size: 21 })
40
+ className: `${l.closeButton} modalClose`,
41
+ onClick: c,
42
+ children: /* @__PURE__ */ t(g, { size: 21 })
34
43
  }
35
44
  ),
36
- /* @__PURE__ */ o("div", { className: `${t.content} modalContent`, children: m })
45
+ /* @__PURE__ */ t("div", { className: `${l.content} modalContent`, children: u })
37
46
  ]
38
47
  }
39
48
  ) }) : null;
40
- return /* @__PURE__ */ r(h, { children: [
41
- /* @__PURE__ */ o("div", { className: i ?? void 0, onClick: n, children: _ }),
42
- typeof window < "u" && y(f, document.body)
49
+ return /* @__PURE__ */ m(p, { children: [
50
+ /* @__PURE__ */ t("div", { className: a ?? void 0, onClick: c, children: f }),
51
+ typeof window < "u" && C(_, document.body)
43
52
  ] });
44
53
  }
45
54
  export {
@@ -1,16 +1,16 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),r=require("react"),ie=require("../Modal/index.cjs"),q=require("../../../index-DpYgzTme.cjs"),ce=require("../ButtonGroup/index.cjs"),e=require("../../../NavLink-By_lBPb-.cjs"),G=require("../../../external-link-DDShu-48.cjs"),Ne=require("../../../x-Dft9NVe_.cjs"),U=require("../../../createLucideIcon-DpotSgUx.cjs"),$e=require("../../../chevron-down-DfK1XBl3.cjs");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),r=require("react"),ae=require("../Modal/index.cjs"),O=require("../../../index-DpYgzTme.cjs"),te=require("../ButtonGroup/index.cjs"),e=require("../../../NavLink-By_lBPb-.cjs"),I=require("../../../external-link-DDShu-48.cjs"),ve=require("../../../x-Dft9NVe_.cjs"),D=require("../../../createLucideIcon-DpotSgUx.cjs"),pe=require("../../../chevron-down-DfK1XBl3.cjs");/**
2
2
  * @license lucide-react v0.488.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
5
5
  * See the LICENSE file in the root directory of this source tree.
6
- */const ge=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],we=U.createLucideIcon("earth",ge);/**
6
+ */const Ne=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],$e=D.createLucideIcon("earth",Ne);/**
7
7
  * @license lucide-react v0.488.0 - ISC
8
8
  *
9
9
  * This source code is licensed under the ISC license.
10
10
  * See the LICENSE file in the root directory of this source tree.
11
- */const Ce=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],Le=U.createLucideIcon("menu",Ce);/**
11
+ */const ge=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],we=D.createLucideIcon("menu",ge);/**
12
12
  * @license lucide-react v0.488.0 - ISC
13
13
  *
14
14
  * This source code is licensed under the ISC license.
15
15
  * See the LICENSE file in the root directory of this source tree.
16
- */const _e=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],Me=U.createLucideIcon("search",_e),Se={standard:e.styles.standard,transparent:e.styles.transparent},Ee={left:e.styles.left,center:e.styles.center,right:e.styles.right},Ae=({spotlight:a,renderText:b})=>{var t,C,j,p,v,L,m,_,M,S,y;const w=(t=a.image)==null?void 0:t.asset.altText,x=((C=a.callToAction.linkOptions)==null?void 0:C.linkType)==="external";let u="#";return((j=a.callToAction.linkOptions)==null?void 0:j.linkType)==="external"&&((p=a.callToAction.linkOptions)!=null&&p.externalUrl)?u=(v=a.callToAction.linkOptions)==null?void 0:v.externalUrl:((L=a.callToAction.linkOptions)==null?void 0:L.linkType)==="internal"&&((_=(m=a.callToAction.linkOptions)==null?void 0:m.internalUrl)!=null&&_.slug.current)&&(u=`/${(S=(M=a.callToAction.linkOptions)==null?void 0:M.internalUrl)==null?void 0:S.slug.current}`),s.jsxs("div",{className:e.styles.spotlight,children:[a.image&&s.jsx("div",{className:e.styles.imageWrapper,children:s.jsx("img",{src:(a==null?void 0:a.image.imageUrl)??"",alt:w||a.image.asset.description||"Content image",width:600,height:400})}),s.jsxs("div",{className:e.styles.content,children:[a.title&&s.jsx("div",{className:e.styles.title,children:b==null?void 0:b(a.title,e.styles.title)}),a.description&&s.jsx("div",{className:e.styles.description,children:b==null?void 0:b(a.description,e.styles.description)})]}),((y=a.callToAction)==null?void 0:y.linkOptions)&&s.jsx("div",{className:e.styles.actions,children:s.jsx(q.CallToAction,{as:"a",variant:a.callToAction.variant??"primary",href:u,target:x?"_blank":"_self",rel:x?"noopener noreferrer":"","aria-label":a.callToAction.ariaLabel||a.callToAction.label,children:a.callToAction.label})})]})};function Oe({renderText:a,title:b,logo:w,items:x,groups:u,utilityItems:t,isSticky:C=!1,showSearch:j=!0,showLocaleSelect:p=!0,alignment:v="right",variant:L="standard",navigationType:m="default",searchComponent:_,localeSelectComponent:M,className:S}){const[y,X]=r.useState(!1),[B,E]=r.useState(!1),[H,f]=r.useState(null),[re,oe]=r.useState(0),[de,ye]=r.useState(!1),[ue,he]=r.useState(null),[o,N]=r.useState([]),[A,F]=r.useState(0),[be,V]=r.useState(null),[$,fe]=r.useState(!1),[O,T]=r.useState("forward"),W=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent} ${e.styles.searchWrapper}`,children:s.jsx("div",{className:e.styles.linkItem,children:s.jsx(ie.Modal,{className:e.styles.searchModal,onOpen:()=>E(!0),onClose:()=>E(!1),trigger:s.jsx("button",{title:"Search","aria-label":"Search",className:e.styles.search,children:s.jsx(Me,{size:16})}),content:_})})}),J=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent} `,children:s.jsx("div",{className:e.styles.linkItem,children:s.jsx(ie.Modal,{className:e.styles.localeModal,onOpen:()=>E(!0),onClose:()=>E(!1),trigger:s.jsx("button",{title:"Locale Select","aria-label":"Locale Select",role:"menuitem",className:e.styles.locale,children:s.jsx(we,{size:16})}),content:M})})});r.useEffect(()=>{if(typeof window<"u"){const n=()=>{const l=window.innerWidth<768;fe(l)};return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}},[]);const xe=()=>{N([])},me=n=>{T("forward"),N([{title:n.title,primary:n.primaryItems??[],secondary:n.secondaryItems??[],description:""}])},K=n=>{T("forward"),N(l=>[...l,{title:n.label,primary:n.sublinks??[],secondary:[],description:n.description}])},je=()=>{T("backward"),N(n=>n.slice(0,-1))},I=r.useRef(null),g=r.useRef(null),D=r.useRef(new Map),ve=()=>{X(n=>{const l=!n;return l||(N([]),T("forward"),f(null)),l})},Q=n=>{const l=D.current.get(n);if(l&&g.current){const d=l.getBoundingClientRect(),h=g.current.getBoundingClientRect(),c=d.left-h.left+d.width/2;he(c)}},ke=n=>{f(l=>l===n?null:n)},Y=r.useCallback(n=>{I.current&&!I.current.contains(n.target)&&f(null)},[]),Z=r.useCallback(()=>{P(),typeof window<"u"&&window.innerWidth>768&&(X(!1),f(null),typeof document<"u"&&(document.body.style.overflow=""))},[]),P=r.useCallback(()=>{if(g.current){const n=g.current.getBoundingClientRect().width;oe(n),ye(!0)}},[]);r.useEffect(()=>{const n=typeof window<"u",l=typeof document<"u";return n&&window.addEventListener("resize",Z),l&&document.addEventListener("click",Y),P(),()=>{n&&window.removeEventListener("resize",Z),l&&document.removeEventListener("click",Y)}},[]),r.useEffect(()=>{if(console.log("MODAL",B),typeof document<"u"){const n=document.documentElement;return y||B?(n.style.overflow="hidden",n.style.height="100%"):(n.style.overflow="",n.style.height=""),()=>{n.style.overflow="",n.style.height=""}}},[y,B]);const pe=n=>n.map((l,d)=>{var ee,se,ne,le,ae;const h=`group-${d}`,z=be===d,c=(ee=l.primaryItems)==null?void 0:ee[A??0];return s.jsxs("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,onMouseEnter:()=>{V(d),f(h),Q(h)},onMouseLeave:()=>{V(null),F(0),f(null)},children:[s.jsx("div",{className:e.styles.linkItem,children:s.jsxs("button",{ref:i=>{D.current.set(h,i)},role:"menuitem","aria-haspopup":"true","aria-expanded":z,"aria-controls":`submenu-${d}`,className:`${e.styles.sublinkToggle} ${z?e.styles.open:""} `,children:[l.title,s.jsx($e.ChevronDown,{size:18,className:e.styles.chevron})]})}),s.jsx("div",{id:`submenu-${d}`,className:`${e.styles.sublinks} ${z?e.styles.show:""}`,role:"menu","aria-label":`${l.title} submenu`,children:s.jsx("div",{children:s.jsxs("div",{className:`${e.styles.sublinksInner} ${l.spotlight?e.styles.withSpotlight:e.styles.withoutSpotlight}`,children:[s.jsxs("div",{className:`${e.styles.sublinksColumn} ${e.styles.primaryColumn}`,children:[s.jsx("div",{className:e.styles.linkItem}),(se=l.primaryItems)==null?void 0:se.map((i,k)=>i.href?s.jsxs("a",{href:i.href,className:`${e.styles.link} ${A===k?e.styles.open:""}`,target:i.isExternal?"_blank":"_self",rel:i.isExternal?"noopener noreferrer":void 0,onClick:()=>{var te;f(null),(te=i.onClick)==null||te.call(i)},onMouseEnter:()=>i.sublinks?F(k):null,role:"menuitem",children:[s.jsxs("span",{className:e.styles.linkContent,children:[i.label,i.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:i.subtitle})]}),i.isExternal&&s.jsx(G.ExternalLink,{className:e.styles.newTabIcon,size:16})]},i._key??k):s.jsx("button",{className:`${e.styles.sublinkToggle} ${A===k?e.styles.open:""}`,onMouseEnter:()=>F(k),children:s.jsxs("span",{className:e.styles.linkContent,children:[i.label,i.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:i.subtitle})]})},i._key??k))]}),(c==null?void 0:c.sublinks)&&((ne=c==null?void 0:c.sublinks)==null?void 0:ne.length)>0&&s.jsxs("div",{className:`${e.styles.sublinksColumn} ${e.styles.fadeInFromLeft}`,children:[(c==null?void 0:c.description)&&s.jsxs("div",{className:e.styles.sublinksDescription,children:[s.jsx("p",{children:"TEXT HERE"}),a==null?void 0:a(c.description)]}),(c==null?void 0:c.sublinks)&&R(c.sublinks,`${h}-${A}`)]},`${c.label}-${(le=c==null?void 0:c.sublinks)==null?void 0:le.length}`),(l==null?void 0:l.secondaryItems)&&((ae=l==null?void 0:l.secondaryItems)==null?void 0:ae.length)>0&&s.jsx("div",{className:`${e.styles.sublinksColumn} ${e.styles.secondaryColumn}`,children:l.secondaryItems&&l.secondaryItems.length>0&&R(l.secondaryItems,`${h}-secondary`)}),l.spotlight&&s.jsx("div",{className:`${e.styles.sublinksColumn} ${e.styles.spotlightColumn}`,children:s.jsx(Ae,{spotlight:l.spotlight,renderText:a??(i=>String(i))})})]})})})]},l._key??`group-${d}`)}),R=(n,l="")=>n.map(d=>{const h=`${l}/${d.label}`;return s.jsx(e.NavLink,{link:d,path:h,parentPath:l,openPath:H,togglePath:ke,updateTriangleIndicator:Q,setOpenPath:f,renderLinks:R,buttonRefs:D},d._key??h)});return s.jsx("header",{ref:I,className:`${S??""} ${Ee[v]} ${Se[L]} ${e.styles.navbar} ${C?e.styles.sticky:""} ${u&&u.length?e.styles.advanced:e.styles.default}`,"aria-label":"Main navigation",children:s.jsxs("div",{className:`${e.styles.container} ${(!t||t.length===0)&&v!=="center"?e.styles.twoColumn:""}`,children:[w?s.jsx("div",{className:e.styles.logo,children:w}):s.jsx("div",{className:e.styles.title,children:b}),s.jsx("nav",{ref:g,style:{left:v==="center"?`calc(50% - ${re/2}px)`:"0"},className:`${e.styles.nav} ${y?e.styles.open:""} ${de?e.styles.visible:e.styles.hidden}`,id:"main-menu",role:"menubar","aria-label":"Main navigation",children:s.jsxs("div",{className:e.styles.navInner,children:[s.jsx("svg",{style:{left:`${ue}px`},className:`${e.styles.triangle} ${H?e.styles.show:""}`,width:16,height:12,viewBox:"0 0 100 75",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("polygon",{points:"50,5 95,70 5,70",strokeLinejoin:"round",fill:"white",stroke:"white"})}),m==="default"&&x&&s.jsxs("div",{className:e.styles.grid,children:[x&&x.length>0&&R(x),j&&!$&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:e.styles.separator}),s.jsx(W,{})]}),p&&s.jsx(J,{})]}),!$&&m==="advanced"&&u&&s.jsxs("div",{className:e.styles.grid,children:[u.length>0&&pe(u),j&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:e.styles.separator}),s.jsx(W,{})]}),p&&s.jsx(J,{})]}),$&&m==="advanced"&&y&&o.length===0&&u&&s.jsx("div",{className:`${e.styles.mobileMenu}`,children:u.map((n,l)=>s.jsx("div",{className:`${e.styles.mobileMenuItem} ${O==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>me(n),children:n.title})},n._key??l))}),$&&m==="advanced"&&y&&o.length>0&&s.jsxs("div",{className:`${e.styles.mobileMenuSlide} `,children:[s.jsx("button",{className:e.styles.back,onClick:o.length===1?xe:je,children:s.jsx(q.ChevronLeft,{size:18,"aria-hidden":"true",focusable:"false"})}),o[o.length-1].description&&s.jsx("div",{className:`${e.styles.sublinksDescription} ${O==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:a==null?void 0:a(o[o.length-1].description)}),o[o.length-1].primary.map((n,l)=>s.jsx("div",{className:`${e.styles.mobileMenuItem} ${O==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:n.sublinks?s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>K(n),children:s.jsxs("span",{className:e.styles.linkContent,children:[n.label,n.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:n.subtitle})]})}):s.jsxs("a",{href:n.href,className:e.styles.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,role:"menuitem",children:[s.jsxs("span",{className:e.styles.linkContent,children:[n.label,n.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:n.subtitle})]}),n.isExternal&&s.jsx(G.ExternalLink,{className:e.styles.newTabIcon,size:16})]})},n._key??`primary-${l}`)),o[o.length-1].secondary.length>0&&s.jsx("hr",{className:e.styles.groupDivider}),o[o.length-1].secondary.map((n,l)=>s.jsx("div",{className:`${e.styles.mobileMenuItem} ${O==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:n.sublinks?s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>K(n),children:n.label}):s.jsxs("a",{href:n.href,className:e.styles.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,role:"menuitem",children:[n.label,n.isExternal&&s.jsx(G.ExternalLink,{className:e.styles.newTabIcon,size:16})]})},n._key??`secondary-${l}`))]},`stack-${o.length}`)]})}),t&&t.length>0&&s.jsx("nav",{className:e.styles.utility,"aria-label":"Utility navigation",children:s.jsx(ce.ButtonGroup,{children:t.map((n,l)=>s.jsx(q.CallToAction,{as:"a",href:n.href??"/",variant:n.variant??"primary",displayType:n.displayType??"text",imageSrc:n.imageSrc,imageAlt:n.imageAlt,"aria-label":n.ariaLabel??n.label,icon:n.icon,iconAlignment:n.iconAlignment,children:n.imageSrc?s.jsx("img",{src:n.imageSrc,alt:n.imageAlt??n.ariaLabel??n.label}):n.label},n._key||l))})}),t&&t.length>0&&s.jsx("nav",{"aria-label":"Utility navigation",className:`${e.styles.utilityMobile} ${y?e.styles.open:""}`,children:s.jsx(ce.ButtonGroup,{alignment:"center",children:s.jsx(q.CallToAction,{as:"a",href:t[1].href??"/",variant:t[1].variant??"primary",displayType:t[1].displayType??"text",imageSrc:t[1].imageSrc,imageAlt:t[1].imageAlt,"aria-label":t[1].ariaLabel??t[1].label,icon:t[1].icon,iconAlignment:t[1].iconAlignment,children:t[1].imageSrc?s.jsx("img",{src:t[1].imageSrc,"aria-label":t[1].imageAlt??t[1].ariaLabel??t[1].label}):t[1].label})})}),s.jsxs("div",{className:e.styles.mobileButtons,children:[$&&j&&s.jsx(W,{}),s.jsx("button",{className:e.styles.menuToggle,onClick:ve,"aria-label":y?"Close menu":"Open menu","aria-expanded":y,"aria-controls":"main-menu",children:y?s.jsx(Ne.X,{size:24}):s.jsx(Le,{size:24})})]})]})})}exports.Navbar=Oe;
16
+ */const Ce=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],Le=D.createLucideIcon("search",Ce),_e={standard:e.styles.standard,transparent:e.styles.transparent},Se={left:e.styles.left,center:e.styles.center,right:e.styles.right},Ee=({spotlight:a,renderText:b})=>{var t,C,j,p,k,L,x,_,S,E,y;const w=(t=a.image)==null?void 0:t.asset.altText,f=((C=a.callToAction.linkOptions)==null?void 0:C.linkType)==="external";let u="#";return((j=a.callToAction.linkOptions)==null?void 0:j.linkType)==="external"&&((p=a.callToAction.linkOptions)!=null&&p.externalUrl)?u=(k=a.callToAction.linkOptions)==null?void 0:k.externalUrl:((L=a.callToAction.linkOptions)==null?void 0:L.linkType)==="internal"&&((_=(x=a.callToAction.linkOptions)==null?void 0:x.internalUrl)!=null&&_.slug.current)&&(u=`/${(E=(S=a.callToAction.linkOptions)==null?void 0:S.internalUrl)==null?void 0:E.slug.current}`),s.jsxs("div",{className:e.styles.spotlight,children:[a.image&&s.jsx("div",{className:e.styles.imageWrapper,children:s.jsx("img",{src:(a==null?void 0:a.image.imageUrl)??"",alt:w||a.image.asset.description||"Content image",width:600,height:400})}),s.jsxs("div",{className:e.styles.content,children:[a.title&&s.jsx("div",{className:e.styles.title,children:b==null?void 0:b(a.title,e.styles.title)}),a.description&&s.jsx("div",{className:e.styles.description,children:b==null?void 0:b(a.description,e.styles.description)})]}),((y=a.callToAction)==null?void 0:y.linkOptions)&&s.jsx("div",{className:e.styles.actions,children:s.jsx(O.CallToAction,{as:"a",variant:a.callToAction.variant??"primary",href:u,target:f?"_blank":"_self",rel:f?"noopener noreferrer":"","aria-label":a.callToAction.ariaLabel||a.callToAction.label,children:a.callToAction.label})})]})};function Me({renderText:a,title:b,logo:w,items:f,groups:u,utilityItems:t,isSticky:C=!1,showSearch:j=!0,showLocaleSelect:p=!0,alignment:k="right",variant:L="standard",navigationType:x="default",searchComponent:_,localeSelectComponent:S,className:E}){const[y,G]=r.useState(!1),[U,m]=r.useState(null),[ie,ce]=r.useState(0),[re,oe]=r.useState(!1),[de,ye]=r.useState(null),[o,N]=r.useState([]),[M,q]=r.useState(0),[ue,X]=r.useState(null),[$,he]=r.useState(!1),[A,T]=r.useState("forward"),B=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent} ${e.styles.searchWrapper}`,children:s.jsx("div",{className:e.styles.linkItem,children:s.jsx(ae.Modal,{className:e.styles.searchModal,trigger:s.jsx("button",{title:"Search","aria-label":"Search",className:e.styles.search,children:s.jsx(Le,{size:16})}),content:_})})}),H=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent} `,children:s.jsx("div",{className:e.styles.linkItem,children:s.jsx(ae.Modal,{className:e.styles.localeModal,trigger:s.jsx("button",{title:"Locale Select","aria-label":"Locale Select",role:"menuitem",className:e.styles.locale,children:s.jsx($e,{size:16})}),content:S})})});r.useEffect(()=>{if(typeof window<"u"){const n=()=>{const l=window.innerWidth<768;he(l)};return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}},[]);const be=()=>{N([])},me=n=>{T("forward"),N([{title:n.title,primary:n.primaryItems??[],secondary:n.secondaryItems??[],description:""}])},V=n=>{T("forward"),N(l=>[...l,{title:n.label,primary:n.sublinks??[],secondary:[],description:n.description}])},fe=()=>{T("backward"),N(n=>n.slice(0,-1))},F=r.useRef(null),g=r.useRef(null),W=r.useRef(new Map),xe=()=>{G(n=>{const l=!n;return l||(N([]),T("forward"),m(null)),l})},J=n=>{const l=W.current.get(n);if(l&&g.current){const d=l.getBoundingClientRect(),h=g.current.getBoundingClientRect(),c=d.left-h.left+d.width/2;ye(c)}},je=n=>{m(l=>l===n?null:n)},K=r.useCallback(n=>{F.current&&!F.current.contains(n.target)&&m(null)},[]),Q=r.useCallback(()=>{Y(),typeof window<"u"&&window.innerWidth>768&&(G(!1),m(null),typeof document<"u"&&(document.body.style.overflow=""))},[]),Y=r.useCallback(()=>{if(g.current){const n=g.current.getBoundingClientRect().width;ce(n),oe(!0)}},[]);r.useEffect(()=>{const n=typeof window<"u",l=typeof document<"u";return n&&window.addEventListener("resize",Q),l&&document.addEventListener("click",K),Y(),()=>{n&&window.removeEventListener("resize",Q),l&&document.removeEventListener("click",K)}},[]),r.useEffect(()=>{if(typeof document<"u"){const n=document.documentElement;return y?n.classList.add("no-scroll"):n.classList.remove("no-scroll"),()=>{n.classList.remove("no-scroll")}}},[y]);const ke=n=>n.map((l,d)=>{var Z,P,ee,se,ne;const h=`group-${d}`,z=ue===d,c=(Z=l.primaryItems)==null?void 0:Z[M??0];return s.jsxs("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,onMouseEnter:()=>{X(d),m(h),J(h)},onMouseLeave:()=>{X(null),q(0),m(null)},children:[s.jsx("div",{className:e.styles.linkItem,children:s.jsxs("button",{ref:i=>{W.current.set(h,i)},role:"menuitem","aria-haspopup":"true","aria-expanded":z,"aria-controls":`submenu-${d}`,className:`${e.styles.sublinkToggle} ${z?e.styles.open:""} `,children:[l.title,s.jsx(pe.ChevronDown,{size:18,className:e.styles.chevron})]})}),s.jsx("div",{id:`submenu-${d}`,className:`${e.styles.sublinks} ${z?e.styles.show:""}`,role:"menu","aria-label":`${l.title} submenu`,children:s.jsx("div",{children:s.jsxs("div",{className:`${e.styles.sublinksInner} ${l.spotlight?e.styles.withSpotlight:e.styles.withoutSpotlight}`,children:[s.jsxs("div",{className:`${e.styles.sublinksColumn} ${e.styles.primaryColumn}`,children:[s.jsx("div",{className:e.styles.linkItem}),(P=l.primaryItems)==null?void 0:P.map((i,v)=>i.href?s.jsxs("a",{href:i.href,className:`${e.styles.link} ${M===v?e.styles.open:""}`,target:i.isExternal?"_blank":"_self",rel:i.isExternal?"noopener noreferrer":void 0,onClick:()=>{var le;m(null),(le=i.onClick)==null||le.call(i)},onMouseEnter:()=>i.sublinks?q(v):null,role:"menuitem",children:[s.jsxs("span",{className:e.styles.linkContent,children:[i.label,i.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:i.subtitle})]}),i.isExternal&&s.jsx(I.ExternalLink,{className:e.styles.newTabIcon,size:16})]},i._key??v):s.jsx("button",{className:`${e.styles.sublinkToggle} ${M===v?e.styles.open:""}`,onMouseEnter:()=>q(v),children:s.jsxs("span",{className:e.styles.linkContent,children:[i.label,i.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:i.subtitle})]})},i._key??v))]}),(c==null?void 0:c.sublinks)&&((ee=c==null?void 0:c.sublinks)==null?void 0:ee.length)>0&&s.jsxs("div",{className:`${e.styles.sublinksColumn} ${e.styles.fadeInFromLeft}`,children:[(c==null?void 0:c.description)&&s.jsxs("div",{className:e.styles.sublinksDescription,children:[s.jsx("p",{children:"TEXT HERE"}),a==null?void 0:a(c.description)]}),(c==null?void 0:c.sublinks)&&R(c.sublinks,`${h}-${M}`)]},`${c.label}-${(se=c==null?void 0:c.sublinks)==null?void 0:se.length}`),(l==null?void 0:l.secondaryItems)&&((ne=l==null?void 0:l.secondaryItems)==null?void 0:ne.length)>0&&s.jsx("div",{className:`${e.styles.sublinksColumn} ${e.styles.secondaryColumn}`,children:l.secondaryItems&&l.secondaryItems.length>0&&R(l.secondaryItems,`${h}-secondary`)}),l.spotlight&&s.jsx("div",{className:`${e.styles.sublinksColumn} ${e.styles.spotlightColumn}`,children:s.jsx(Ee,{spotlight:l.spotlight,renderText:a??(i=>String(i))})})]})})})]},l._key??`group-${d}`)}),R=(n,l="")=>n.map(d=>{const h=`${l}/${d.label}`;return s.jsx(e.NavLink,{link:d,path:h,parentPath:l,openPath:U,togglePath:je,updateTriangleIndicator:J,setOpenPath:m,renderLinks:R,buttonRefs:W},d._key??h)});return s.jsx("header",{ref:F,className:`${E??""} ${Se[k]} ${_e[L]} ${e.styles.navbar} ${C?e.styles.sticky:""} ${u&&u.length?e.styles.advanced:e.styles.default}`,"aria-label":"Main navigation",children:s.jsxs("div",{className:`${e.styles.container} ${(!t||t.length===0)&&k!=="center"?e.styles.twoColumn:""}`,children:[w?s.jsx("div",{className:e.styles.logo,children:w}):s.jsx("div",{className:e.styles.title,children:b}),s.jsx("nav",{ref:g,style:{left:k==="center"?`calc(50% - ${ie/2}px)`:"0"},className:`${e.styles.nav} ${y?e.styles.open:""} ${re?e.styles.visible:e.styles.hidden}`,id:"main-menu",role:"menubar","aria-label":"Main navigation",children:s.jsxs("div",{className:e.styles.navInner,children:[s.jsx("svg",{style:{left:`${de}px`},className:`${e.styles.triangle} ${U?e.styles.show:""}`,width:16,height:12,viewBox:"0 0 100 75",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("polygon",{points:"50,5 95,70 5,70",strokeLinejoin:"round",fill:"white",stroke:"white"})}),x==="default"&&f&&s.jsxs("div",{className:e.styles.grid,children:[f&&f.length>0&&R(f),j&&!$&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:e.styles.separator}),s.jsx(B,{})]}),p&&s.jsx(H,{})]}),!$&&x==="advanced"&&u&&s.jsxs("div",{className:e.styles.grid,children:[u.length>0&&ke(u),j&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:e.styles.separator}),s.jsx(B,{})]}),p&&s.jsx(H,{})]}),$&&x==="advanced"&&y&&o.length===0&&u&&s.jsx("div",{className:`${e.styles.mobileMenu}`,children:u.map((n,l)=>s.jsx("div",{className:`${e.styles.mobileMenuItem} ${A==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>me(n),children:n.title})},n._key??l))}),$&&x==="advanced"&&y&&o.length>0&&s.jsxs("div",{className:`${e.styles.mobileMenuSlide} `,children:[s.jsx("button",{className:e.styles.back,onClick:o.length===1?be:fe,children:s.jsx(O.ChevronLeft,{size:18,"aria-hidden":"true",focusable:"false"})}),o[o.length-1].description&&s.jsx("div",{className:`${e.styles.sublinksDescription} ${A==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:a==null?void 0:a(o[o.length-1].description)}),o[o.length-1].primary.map((n,l)=>s.jsx("div",{className:`${e.styles.mobileMenuItem} ${A==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:n.sublinks?s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>V(n),children:s.jsxs("span",{className:e.styles.linkContent,children:[n.label,n.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:n.subtitle})]})}):s.jsxs("a",{href:n.href,className:e.styles.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,role:"menuitem",children:[s.jsxs("span",{className:e.styles.linkContent,children:[n.label,n.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:n.subtitle})]}),n.isExternal&&s.jsx(I.ExternalLink,{className:e.styles.newTabIcon,size:16})]})},n._key??`primary-${l}`)),o[o.length-1].secondary.length>0&&s.jsx("hr",{className:e.styles.groupDivider}),o[o.length-1].secondary.map((n,l)=>s.jsx("div",{className:`${e.styles.mobileMenuItem} ${A==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:n.sublinks?s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>V(n),children:n.label}):s.jsxs("a",{href:n.href,className:e.styles.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,role:"menuitem",children:[n.label,n.isExternal&&s.jsx(I.ExternalLink,{className:e.styles.newTabIcon,size:16})]})},n._key??`secondary-${l}`))]},`stack-${o.length}`)]})}),t&&t.length>0&&s.jsx("nav",{className:e.styles.utility,"aria-label":"Utility navigation",children:s.jsx(te.ButtonGroup,{children:t.map((n,l)=>s.jsx(O.CallToAction,{as:"a",href:n.href??"/",variant:n.variant??"primary",displayType:n.displayType??"text",imageSrc:n.imageSrc,imageAlt:n.imageAlt,"aria-label":n.ariaLabel??n.label,icon:n.icon,iconAlignment:n.iconAlignment,children:n.imageSrc?s.jsx("img",{src:n.imageSrc,alt:n.imageAlt??n.ariaLabel??n.label}):n.label},n._key||l))})}),t&&t.length>0&&s.jsx("nav",{"aria-label":"Utility navigation",className:`${e.styles.utilityMobile} ${y?e.styles.open:""}`,children:s.jsx(te.ButtonGroup,{alignment:"center",children:s.jsx(O.CallToAction,{as:"a",href:t[1].href??"/",variant:t[1].variant??"primary",displayType:t[1].displayType??"text",imageSrc:t[1].imageSrc,imageAlt:t[1].imageAlt,"aria-label":t[1].ariaLabel??t[1].label,icon:t[1].icon,iconAlignment:t[1].iconAlignment,children:t[1].imageSrc?s.jsx("img",{src:t[1].imageSrc,"aria-label":t[1].imageAlt??t[1].ariaLabel??t[1].label}):t[1].label})})}),s.jsxs("div",{className:e.styles.mobileButtons,children:[$&&j&&s.jsx(B,{}),s.jsx("button",{className:e.styles.menuToggle,onClick:xe,"aria-label":y?"Close menu":"Open menu","aria-expanded":y,"aria-controls":"main-menu",children:y?s.jsx(ve.X,{size:24}):s.jsx(we,{size:24})})]})]})})}exports.Navbar=Me;
@@ -1,20 +1,20 @@
1
- import { jsx as a, jsxs as c, Fragment as de } from "react/jsx-runtime";
2
- import { useState as f, useEffect as G, useRef as X, useCallback as H } from "react";
3
- import { Modal as he } from "../Modal/index.mjs";
4
- import { a as Ee, C as q } from "../../../index-CIb65n0z.js";
5
- import { ButtonGroup as me } from "../ButtonGroup/index.mjs";
6
- import { s as e, N as Ae } from "../../../NavLink-CQpDLYjg.js";
7
- import { E as V } from "../../../external-link-BOPobeQJ.js";
8
- import { X as _e } from "../../../x-CnsEH4Ox.js";
9
- import { c as J } from "../../../createLucideIcon-C8GTh_Qx.js";
10
- import { C as Se } from "../../../chevron-down-DSUzBz9F.js";
1
+ import { jsx as a, jsxs as c, Fragment as oe } from "react/jsx-runtime";
2
+ import { useState as b, useEffect as U, useRef as I, useCallback as G } from "react";
3
+ import { Modal as te } from "../Modal/index.mjs";
4
+ import { a as Le, C as H } from "../../../index-CIb65n0z.js";
5
+ import { ButtonGroup as de } from "../ButtonGroup/index.mjs";
6
+ import { s as e, N as Ee } from "../../../NavLink-CQpDLYjg.js";
7
+ import { E as X } from "../../../external-link-BOPobeQJ.js";
8
+ import { X as Me } from "../../../x-CnsEH4Ox.js";
9
+ import { c as V } from "../../../createLucideIcon-C8GTh_Qx.js";
10
+ import { C as Ae } from "../../../chevron-down-DSUzBz9F.js";
11
11
  /**
12
12
  * @license lucide-react v0.488.0 - ISC
13
13
  *
14
14
  * This source code is licensed under the ISC license.
15
15
  * See the LICENSE file in the root directory of this source tree.
16
16
  */
17
- const Oe = [
17
+ const _e = [
18
18
  ["path", { d: "M21.54 15H17a2 2 0 0 0-2 2v4.54", key: "1djwo0" }],
19
19
  [
20
20
  "path",
@@ -25,47 +25,47 @@ const Oe = [
25
25
  ],
26
26
  ["path", { d: "M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05", key: "14pb5j" }],
27
27
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
28
- ], ze = J("earth", Oe);
28
+ ], Se = V("earth", _e);
29
29
  /**
30
30
  * @license lucide-react v0.488.0 - ISC
31
31
  *
32
32
  * This source code is licensed under the ISC license.
33
33
  * See the LICENSE file in the root directory of this source tree.
34
34
  */
35
- const xe = [
35
+ const ze = [
36
36
  ["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }],
37
37
  ["line", { x1: "4", x2: "20", y1: "6", y2: "6", key: "1owob3" }],
38
38
  ["line", { x1: "4", x2: "20", y1: "18", y2: "18", key: "yk5zj1" }]
39
- ], Re = J("menu", xe);
39
+ ], xe = V("menu", ze);
40
40
  /**
41
41
  * @license lucide-react v0.488.0 - ISC
42
42
  *
43
43
  * This source code is licensed under the ISC license.
44
44
  * See the LICENSE file in the root directory of this source tree.
45
45
  */
46
- const Te = [
46
+ const Re = [
47
47
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
48
48
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
49
- ], We = J("search", Te), Fe = {
49
+ ], Te = V("search", Re), Oe = {
50
50
  standard: e.standard,
51
51
  transparent: e.transparent
52
- }, Be = {
52
+ }, We = {
53
53
  left: e.left,
54
54
  center: e.center,
55
55
  right: e.right
56
- }, De = ({
56
+ }, Fe = ({
57
57
  spotlight: s,
58
58
  renderText: u
59
59
  }) => {
60
- var i, E, N, y, $, A, p, _, S, O, h;
61
- const L = (i = s.image) == null ? void 0 : i.asset.altText, k = ((E = s.callToAction.linkOptions) == null ? void 0 : E.linkType) === "external";
60
+ var i, M, N, w, $, A, p, _, S, z, h;
61
+ const E = (i = s.image) == null ? void 0 : i.asset.altText, k = ((M = s.callToAction.linkOptions) == null ? void 0 : M.linkType) === "external";
62
62
  let m = "#";
63
- return ((N = s.callToAction.linkOptions) == null ? void 0 : N.linkType) === "external" && ((y = s.callToAction.linkOptions) != null && y.externalUrl) ? m = ($ = s.callToAction.linkOptions) == null ? void 0 : $.externalUrl : ((A = s.callToAction.linkOptions) == null ? void 0 : A.linkType) === "internal" && ((_ = (p = s.callToAction.linkOptions) == null ? void 0 : p.internalUrl) != null && _.slug.current) && (m = `/${(O = (S = s.callToAction.linkOptions) == null ? void 0 : S.internalUrl) == null ? void 0 : O.slug.current}`), /* @__PURE__ */ c("div", { className: e.spotlight, children: [
63
+ return ((N = s.callToAction.linkOptions) == null ? void 0 : N.linkType) === "external" && ((w = s.callToAction.linkOptions) != null && w.externalUrl) ? m = ($ = s.callToAction.linkOptions) == null ? void 0 : $.externalUrl : ((A = s.callToAction.linkOptions) == null ? void 0 : A.linkType) === "internal" && ((_ = (p = s.callToAction.linkOptions) == null ? void 0 : p.internalUrl) != null && _.slug.current) && (m = `/${(z = (S = s.callToAction.linkOptions) == null ? void 0 : S.internalUrl) == null ? void 0 : z.slug.current}`), /* @__PURE__ */ c("div", { className: e.spotlight, children: [
64
64
  s.image && /* @__PURE__ */ a("div", { className: e.imageWrapper, children: /* @__PURE__ */ a(
65
65
  "img",
66
66
  {
67
67
  src: (s == null ? void 0 : s.image.imageUrl) ?? "",
68
- alt: L || s.image.asset.description || "Content image",
68
+ alt: E || s.image.asset.description || "Content image",
69
69
  width: 600,
70
70
  height: 400
71
71
  }
@@ -75,7 +75,7 @@ const Te = [
75
75
  s.description && /* @__PURE__ */ a("div", { className: e.description, children: u == null ? void 0 : u(s.description, e.description) })
76
76
  ] }),
77
77
  ((h = s.callToAction) == null ? void 0 : h.linkOptions) && /* @__PURE__ */ a("div", { className: e.actions, children: /* @__PURE__ */ a(
78
- q,
78
+ H,
79
79
  {
80
80
  as: "a",
81
81
  variant: s.callToAction.variant ?? "primary",
@@ -88,54 +88,50 @@ const Te = [
88
88
  ) })
89
89
  ] });
90
90
  };
91
- function Qe({
91
+ function Je({
92
92
  renderText: s,
93
93
  title: u,
94
- logo: L,
94
+ logo: E,
95
95
  items: k,
96
96
  groups: m,
97
97
  utilityItems: i,
98
- isSticky: E = !1,
98
+ isSticky: M = !1,
99
99
  showSearch: N = !0,
100
- showLocaleSelect: y = !0,
100
+ showLocaleSelect: w = !0,
101
101
  alignment: $ = "right",
102
102
  variant: A = "standard",
103
103
  navigationType: p = "default",
104
104
  searchComponent: _,
105
105
  localeSelectComponent: S,
106
- className: O
106
+ className: z
107
107
  }) {
108
- const [h, K] = f(!1), [B, z] = f(!1), [Q, v] = f(null), [fe, be] = f(0), [ue, ve] = f(!1), [ke, pe] = f(null), [t, w] = f([]), [x, D] = f(
108
+ const [h, q] = b(!1), [J, v] = b(null), [he, me] = b(0), [fe, be] = b(!1), [ue, ve] = b(null), [t, y] = b([]), [x, F] = b(
109
109
  0
110
- ), [Ne, Y] = f(null), [C, $e] = f(!1), [R, T] = f("forward"), j = () => /* @__PURE__ */ a(
110
+ ), [ke, K] = b(null), [C, pe] = b(!1), [R, T] = b("forward"), B = () => /* @__PURE__ */ a(
111
111
  "div",
112
112
  {
113
113
  className: `${e.linkWrapper} ${e.parent} ${e.searchWrapper}`,
114
114
  children: /* @__PURE__ */ a("div", { className: e.linkItem, children: /* @__PURE__ */ a(
115
- he,
115
+ te,
116
116
  {
117
117
  className: e.searchModal,
118
- onOpen: () => z(!0),
119
- onClose: () => z(!1),
120
118
  trigger: /* @__PURE__ */ a(
121
119
  "button",
122
120
  {
123
121
  title: "Search",
124
122
  "aria-label": "Search",
125
123
  className: e.search,
126
- children: /* @__PURE__ */ a(We, { size: 16 })
124
+ children: /* @__PURE__ */ a(Te, { size: 16 })
127
125
  }
128
126
  ),
129
127
  content: _
130
128
  }
131
129
  ) })
132
130
  }
133
- ), Z = () => /* @__PURE__ */ a("div", { className: `${e.linkWrapper} ${e.parent} `, children: /* @__PURE__ */ a("div", { className: e.linkItem, children: /* @__PURE__ */ a(
134
- he,
131
+ ), Q = () => /* @__PURE__ */ a("div", { className: `${e.linkWrapper} ${e.parent} `, children: /* @__PURE__ */ a("div", { className: e.linkItem, children: /* @__PURE__ */ a(
132
+ te,
135
133
  {
136
134
  className: e.localeModal,
137
- onOpen: () => z(!0),
138
- onClose: () => z(!1),
139
135
  trigger: /* @__PURE__ */ a(
140
136
  "button",
141
137
  {
@@ -143,25 +139,25 @@ function Qe({
143
139
  "aria-label": "Locale Select",
144
140
  role: "menuitem",
145
141
  className: e.locale,
146
- children: /* @__PURE__ */ a(ze, { size: 16 })
142
+ children: /* @__PURE__ */ a(Se, { size: 16 })
147
143
  }
148
144
  ),
149
145
  content: S
150
146
  }
151
147
  ) }) });
152
- G(() => {
148
+ U(() => {
153
149
  if (typeof window < "u") {
154
150
  const n = () => {
155
151
  const l = window.innerWidth < 768;
156
- $e(l);
152
+ pe(l);
157
153
  };
158
154
  return n(), window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
159
155
  }
160
156
  }, []);
161
- const ge = () => {
162
- w([]);
163
- }, ye = (n) => {
164
- T("forward"), w([
157
+ const Ne = () => {
158
+ y([]);
159
+ }, $e = (n) => {
160
+ T("forward"), y([
165
161
  {
166
162
  title: n.title,
167
163
  primary: n.primaryItems ?? [],
@@ -169,8 +165,8 @@ function Qe({
169
165
  description: ""
170
166
  }
171
167
  ]);
172
- }, P = (n) => {
173
- T("forward"), w((l) => [
168
+ }, Y = (n) => {
169
+ T("forward"), y((l) => [
174
170
  ...l,
175
171
  {
176
172
  title: n.label,
@@ -179,72 +175,72 @@ function Qe({
179
175
  description: n.description
180
176
  }
181
177
  ]);
182
- }, we = () => {
183
- T("backward"), w((n) => n.slice(0, -1));
184
- }, I = X(null), M = X(null), U = X(/* @__PURE__ */ new Map()), Ce = () => {
185
- K((n) => {
178
+ }, ge = () => {
179
+ T("backward"), y((n) => n.slice(0, -1));
180
+ }, j = I(null), L = I(null), D = I(/* @__PURE__ */ new Map()), we = () => {
181
+ q((n) => {
186
182
  const l = !n;
187
- return l || (w([]), T("forward"), v(null)), l;
183
+ return l || (y([]), T("forward"), v(null)), l;
188
184
  });
189
- }, ee = (n) => {
190
- const l = U.current.get(n);
191
- if (l && M.current) {
192
- const d = l.getBoundingClientRect(), b = M.current.getBoundingClientRect(), o = d.left - b.left + d.width / 2;
193
- pe(o);
185
+ }, Z = (n) => {
186
+ const l = D.current.get(n);
187
+ if (l && L.current) {
188
+ const d = l.getBoundingClientRect(), f = L.current.getBoundingClientRect(), o = d.left - f.left + d.width / 2;
189
+ ve(o);
194
190
  }
195
- }, Me = (n) => {
191
+ }, ye = (n) => {
196
192
  v((l) => l === n ? null : n);
197
- }, ne = H((n) => {
198
- I.current && !I.current.contains(n.target) && v(null);
199
- }, []), ae = H(() => {
200
- le(), typeof window < "u" && window.innerWidth > 768 && (K(!1), v(null), typeof document < "u" && (document.body.style.overflow = ""));
201
- }, []), le = H(() => {
202
- if (M.current) {
203
- const n = M.current.getBoundingClientRect().width;
204
- be(n), ve(!0);
193
+ }, P = G((n) => {
194
+ j.current && !j.current.contains(n.target) && v(null);
195
+ }, []), ee = G(() => {
196
+ ne(), typeof window < "u" && window.innerWidth > 768 && (q(!1), v(null), typeof document < "u" && (document.body.style.overflow = ""));
197
+ }, []), ne = G(() => {
198
+ if (L.current) {
199
+ const n = L.current.getBoundingClientRect().width;
200
+ me(n), be(!0);
205
201
  }
206
202
  }, []);
207
- G(() => {
203
+ U(() => {
208
204
  const n = typeof window < "u", l = typeof document < "u";
209
- return n && window.addEventListener("resize", ae), l && document.addEventListener("click", ne), le(), () => {
210
- n && window.removeEventListener("resize", ae), l && document.removeEventListener("click", ne);
205
+ return n && window.addEventListener("resize", ee), l && document.addEventListener("click", P), ne(), () => {
206
+ n && window.removeEventListener("resize", ee), l && document.removeEventListener("click", P);
211
207
  };
212
- }, []), G(() => {
213
- if (console.log("MODAL", B), typeof document < "u") {
208
+ }, []), U(() => {
209
+ if (typeof document < "u") {
214
210
  const n = document.documentElement;
215
- return h || B ? (n.style.overflow = "hidden", n.style.height = "100%") : (n.style.overflow = "", n.style.height = ""), () => {
216
- n.style.overflow = "", n.style.height = "";
211
+ return h ? n.classList.add("no-scroll") : n.classList.remove("no-scroll"), () => {
212
+ n.classList.remove("no-scroll");
217
213
  };
218
214
  }
219
- }, [h, B]);
220
- const Le = (n) => n.map((l, d) => {
221
- var se, ie, ce, re, oe;
222
- const b = `group-${d}`, F = Ne === d, o = (se = l.primaryItems) == null ? void 0 : se[x ?? 0];
215
+ }, [h]);
216
+ const Ce = (n) => n.map((l, d) => {
217
+ var ae, le, se, ie, ce;
218
+ const f = `group-${d}`, W = ke === d, o = (ae = l.primaryItems) == null ? void 0 : ae[x ?? 0];
223
219
  return /* @__PURE__ */ c(
224
220
  "div",
225
221
  {
226
222
  className: `${e.linkWrapper} ${e.parent}`,
227
223
  onMouseEnter: () => {
228
- Y(d), v(b), ee(b);
224
+ K(d), v(f), Z(f);
229
225
  },
230
226
  onMouseLeave: () => {
231
- Y(null), D(0), v(null);
227
+ K(null), F(0), v(null);
232
228
  },
233
229
  children: [
234
230
  /* @__PURE__ */ a("div", { className: e.linkItem, children: /* @__PURE__ */ c(
235
231
  "button",
236
232
  {
237
233
  ref: (r) => {
238
- U.current.set(b, r);
234
+ D.current.set(f, r);
239
235
  },
240
236
  role: "menuitem",
241
237
  "aria-haspopup": "true",
242
- "aria-expanded": F,
238
+ "aria-expanded": W,
243
239
  "aria-controls": `submenu-${d}`,
244
- className: `${e.sublinkToggle} ${F ? e.open : ""} `,
240
+ className: `${e.sublinkToggle} ${W ? e.open : ""} `,
245
241
  children: [
246
242
  l.title,
247
- /* @__PURE__ */ a(Se, { size: 18, className: e.chevron })
243
+ /* @__PURE__ */ a(Ae, { size: 18, className: e.chevron })
248
244
  ]
249
245
  }
250
246
  ) }),
@@ -252,7 +248,7 @@ function Qe({
252
248
  "div",
253
249
  {
254
250
  id: `submenu-${d}`,
255
- className: `${e.sublinks} ${F ? e.show : ""}`,
251
+ className: `${e.sublinks} ${W ? e.show : ""}`,
256
252
  role: "menu",
257
253
  "aria-label": `${l.title} submenu`,
258
254
  children: /* @__PURE__ */ a("div", { children: /* @__PURE__ */ c(
@@ -266,7 +262,7 @@ function Qe({
266
262
  className: `${e.sublinksColumn} ${e.primaryColumn}`,
267
263
  children: [
268
264
  /* @__PURE__ */ a("div", { className: e.linkItem }),
269
- (ie = l.primaryItems) == null ? void 0 : ie.map(
265
+ (le = l.primaryItems) == null ? void 0 : le.map(
270
266
  (r, g) => r.href ? /* @__PURE__ */ c(
271
267
  "a",
272
268
  {
@@ -275,10 +271,10 @@ function Qe({
275
271
  target: r.isExternal ? "_blank" : "_self",
276
272
  rel: r.isExternal ? "noopener noreferrer" : void 0,
277
273
  onClick: () => {
278
- var te;
279
- v(null), (te = r.onClick) == null || te.call(r);
274
+ var re;
275
+ v(null), (re = r.onClick) == null || re.call(r);
280
276
  },
281
- onMouseEnter: () => r.sublinks ? D(g) : null,
277
+ onMouseEnter: () => r.sublinks ? F(g) : null,
282
278
  role: "menuitem",
283
279
  children: [
284
280
  /* @__PURE__ */ c("span", { className: e.linkContent, children: [
@@ -286,7 +282,7 @@ function Qe({
286
282
  r.subtitle && /* @__PURE__ */ a("span", { className: e.subtitle, children: r.subtitle })
287
283
  ] }),
288
284
  r.isExternal && /* @__PURE__ */ a(
289
- V,
285
+ X,
290
286
  {
291
287
  className: e.newTabIcon,
292
288
  size: 16
@@ -299,7 +295,7 @@ function Qe({
299
295
  "button",
300
296
  {
301
297
  className: `${e.sublinkToggle} ${x === g ? e.open : ""}`,
302
- onMouseEnter: () => D(g),
298
+ onMouseEnter: () => F(g),
303
299
  children: /* @__PURE__ */ c("span", { className: e.linkContent, children: [
304
300
  r.label,
305
301
  r.subtitle && /* @__PURE__ */ a("span", { className: e.subtitle, children: r.subtitle })
@@ -311,7 +307,7 @@ function Qe({
311
307
  ]
312
308
  }
313
309
  ),
314
- (o == null ? void 0 : o.sublinks) && ((ce = o == null ? void 0 : o.sublinks) == null ? void 0 : ce.length) > 0 && /* @__PURE__ */ c(
310
+ (o == null ? void 0 : o.sublinks) && ((se = o == null ? void 0 : o.sublinks) == null ? void 0 : se.length) > 0 && /* @__PURE__ */ c(
315
311
  "div",
316
312
  {
317
313
  className: `${e.sublinksColumn} ${e.fadeInFromLeft}`,
@@ -320,19 +316,19 @@ function Qe({
320
316
  /* @__PURE__ */ a("p", { children: "TEXT HERE" }),
321
317
  s == null ? void 0 : s(o.description)
322
318
  ] }),
323
- (o == null ? void 0 : o.sublinks) && W(
319
+ (o == null ? void 0 : o.sublinks) && O(
324
320
  o.sublinks,
325
- `${b}-${x}`
321
+ `${f}-${x}`
326
322
  )
327
323
  ]
328
324
  },
329
- `${o.label}-${(re = o == null ? void 0 : o.sublinks) == null ? void 0 : re.length}`
325
+ `${o.label}-${(ie = o == null ? void 0 : o.sublinks) == null ? void 0 : ie.length}`
330
326
  ),
331
- (l == null ? void 0 : l.secondaryItems) && ((oe = l == null ? void 0 : l.secondaryItems) == null ? void 0 : oe.length) > 0 && /* @__PURE__ */ a(
327
+ (l == null ? void 0 : l.secondaryItems) && ((ce = l == null ? void 0 : l.secondaryItems) == null ? void 0 : ce.length) > 0 && /* @__PURE__ */ a(
332
328
  "div",
333
329
  {
334
330
  className: `${e.sublinksColumn} ${e.secondaryColumn}`,
335
- children: l.secondaryItems && l.secondaryItems.length > 0 && W(l.secondaryItems, `${b}-secondary`)
331
+ children: l.secondaryItems && l.secondaryItems.length > 0 && O(l.secondaryItems, `${f}-secondary`)
336
332
  }
337
333
  ),
338
334
  l.spotlight && /* @__PURE__ */ a(
@@ -340,7 +336,7 @@ function Qe({
340
336
  {
341
337
  className: `${e.sublinksColumn} ${e.spotlightColumn}`,
342
338
  children: /* @__PURE__ */ a(
343
- De,
339
+ Fe,
344
340
  {
345
341
  spotlight: l.spotlight,
346
342
  renderText: s ?? ((r) => String(r))
@@ -357,44 +353,44 @@ function Qe({
357
353
  },
358
354
  l._key ?? `group-${d}`
359
355
  );
360
- }), W = (n, l = "") => n.map((d) => {
361
- const b = `${l}/${d.label}`;
356
+ }), O = (n, l = "") => n.map((d) => {
357
+ const f = `${l}/${d.label}`;
362
358
  return /* @__PURE__ */ a(
363
- Ae,
359
+ Ee,
364
360
  {
365
361
  link: d,
366
- path: b,
362
+ path: f,
367
363
  parentPath: l,
368
- openPath: Q,
369
- togglePath: Me,
370
- updateTriangleIndicator: ee,
364
+ openPath: J,
365
+ togglePath: ye,
366
+ updateTriangleIndicator: Z,
371
367
  setOpenPath: v,
372
- renderLinks: W,
373
- buttonRefs: U
368
+ renderLinks: O,
369
+ buttonRefs: D
374
370
  },
375
- d._key ?? b
371
+ d._key ?? f
376
372
  );
377
373
  });
378
374
  return /* @__PURE__ */ a(
379
375
  "header",
380
376
  {
381
- ref: I,
382
- className: `${O ?? ""} ${Be[$]} ${Fe[A]} ${e.navbar} ${E ? e.sticky : ""} ${m && m.length ? e.advanced : e.default}`,
377
+ ref: j,
378
+ className: `${z ?? ""} ${We[$]} ${Oe[A]} ${e.navbar} ${M ? e.sticky : ""} ${m && m.length ? e.advanced : e.default}`,
383
379
  "aria-label": "Main navigation",
384
380
  children: /* @__PURE__ */ c(
385
381
  "div",
386
382
  {
387
383
  className: `${e.container} ${(!i || i.length === 0) && $ !== "center" ? e.twoColumn : ""}`,
388
384
  children: [
389
- L ? /* @__PURE__ */ a("div", { className: e.logo, children: L }) : /* @__PURE__ */ a("div", { className: e.title, children: u }),
385
+ E ? /* @__PURE__ */ a("div", { className: e.logo, children: E }) : /* @__PURE__ */ a("div", { className: e.title, children: u }),
390
386
  /* @__PURE__ */ a(
391
387
  "nav",
392
388
  {
393
- ref: M,
389
+ ref: L,
394
390
  style: {
395
- left: $ === "center" ? `calc(50% - ${fe / 2}px)` : "0"
391
+ left: $ === "center" ? `calc(50% - ${he / 2}px)` : "0"
396
392
  },
397
- className: `${e.nav} ${h ? e.open : ""} ${ue ? e.visible : e.hidden}`,
393
+ className: `${e.nav} ${h ? e.open : ""} ${fe ? e.visible : e.hidden}`,
398
394
  id: "main-menu",
399
395
  role: "menubar",
400
396
  "aria-label": "Main navigation",
@@ -402,8 +398,8 @@ function Qe({
402
398
  /* @__PURE__ */ a(
403
399
  "svg",
404
400
  {
405
- style: { left: `${ke}px` },
406
- className: `${e.triangle} ${Q ? e.show : ""}`,
401
+ style: { left: `${ue}px` },
402
+ className: `${e.triangle} ${J ? e.show : ""}`,
407
403
  width: 16,
408
404
  height: 12,
409
405
  viewBox: "0 0 100 75",
@@ -420,20 +416,20 @@ function Qe({
420
416
  }
421
417
  ),
422
418
  p === "default" && k && /* @__PURE__ */ c("div", { className: e.grid, children: [
423
- k && k.length > 0 && W(k),
424
- N && !C && /* @__PURE__ */ c(de, { children: [
419
+ k && k.length > 0 && O(k),
420
+ N && !C && /* @__PURE__ */ c(oe, { children: [
425
421
  /* @__PURE__ */ a("span", { className: e.separator }),
426
- /* @__PURE__ */ a(j, {})
422
+ /* @__PURE__ */ a(B, {})
427
423
  ] }),
428
- y && /* @__PURE__ */ a(Z, {})
424
+ w && /* @__PURE__ */ a(Q, {})
429
425
  ] }),
430
426
  !C && p === "advanced" && m && /* @__PURE__ */ c("div", { className: e.grid, children: [
431
- m.length > 0 && Le(m),
432
- N && /* @__PURE__ */ c(de, { children: [
427
+ m.length > 0 && Ce(m),
428
+ N && /* @__PURE__ */ c(oe, { children: [
433
429
  /* @__PURE__ */ a("span", { className: e.separator }),
434
- /* @__PURE__ */ a(j, {})
430
+ /* @__PURE__ */ a(B, {})
435
431
  ] }),
436
- y && /* @__PURE__ */ a(Z, {})
432
+ w && /* @__PURE__ */ a(Q, {})
437
433
  ] }),
438
434
  C && p === "advanced" && h && t.length === 0 && m && /* @__PURE__ */ a("div", { className: `${e.mobileMenu}`, children: m.map((n, l) => /* @__PURE__ */ a(
439
435
  "div",
@@ -443,7 +439,7 @@ function Qe({
443
439
  "button",
444
440
  {
445
441
  className: e.sublinkToggle,
446
- onClick: () => ye(n),
442
+ onClick: () => $e(n),
447
443
  children: n.title
448
444
  }
449
445
  )
@@ -459,9 +455,9 @@ function Qe({
459
455
  "button",
460
456
  {
461
457
  className: e.back,
462
- onClick: t.length === 1 ? ge : we,
458
+ onClick: t.length === 1 ? Ne : ge,
463
459
  children: /* @__PURE__ */ a(
464
- Ee,
460
+ Le,
465
461
  {
466
462
  size: 18,
467
463
  "aria-hidden": "true",
@@ -487,7 +483,7 @@ function Qe({
487
483
  "button",
488
484
  {
489
485
  className: e.sublinkToggle,
490
- onClick: () => P(n),
486
+ onClick: () => Y(n),
491
487
  children: /* @__PURE__ */ c("span", { className: e.linkContent, children: [
492
488
  n.label,
493
489
  n.subtitle && /* @__PURE__ */ a("span", { className: e.subtitle, children: n.subtitle })
@@ -507,7 +503,7 @@ function Qe({
507
503
  n.subtitle && /* @__PURE__ */ a("span", { className: e.subtitle, children: n.subtitle })
508
504
  ] }),
509
505
  n.isExternal && /* @__PURE__ */ a(
510
- V,
506
+ X,
511
507
  {
512
508
  className: e.newTabIcon,
513
509
  size: 16
@@ -529,7 +525,7 @@ function Qe({
529
525
  "button",
530
526
  {
531
527
  className: e.sublinkToggle,
532
- onClick: () => P(n),
528
+ onClick: () => Y(n),
533
529
  children: n.label
534
530
  }
535
531
  ) : /* @__PURE__ */ c(
@@ -543,7 +539,7 @@ function Qe({
543
539
  children: [
544
540
  n.label,
545
541
  n.isExternal && /* @__PURE__ */ a(
546
- V,
542
+ X,
547
543
  {
548
544
  className: e.newTabIcon,
549
545
  size: 16
@@ -563,8 +559,8 @@ function Qe({
563
559
  ] })
564
560
  }
565
561
  ),
566
- i && i.length > 0 && /* @__PURE__ */ a("nav", { className: e.utility, "aria-label": "Utility navigation", children: /* @__PURE__ */ a(me, { children: i.map((n, l) => /* @__PURE__ */ a(
567
- q,
562
+ i && i.length > 0 && /* @__PURE__ */ a("nav", { className: e.utility, "aria-label": "Utility navigation", children: /* @__PURE__ */ a(de, { children: i.map((n, l) => /* @__PURE__ */ a(
563
+ H,
568
564
  {
569
565
  as: "a",
570
566
  href: n.href ?? "/",
@@ -590,8 +586,8 @@ function Qe({
590
586
  {
591
587
  "aria-label": "Utility navigation",
592
588
  className: `${e.utilityMobile} ${h ? e.open : ""}`,
593
- children: /* @__PURE__ */ a(me, { alignment: "center", children: /* @__PURE__ */ a(
594
- q,
589
+ children: /* @__PURE__ */ a(de, { alignment: "center", children: /* @__PURE__ */ a(
590
+ H,
595
591
  {
596
592
  as: "a",
597
593
  href: i[1].href ?? "/",
@@ -614,16 +610,16 @@ function Qe({
614
610
  }
615
611
  ),
616
612
  /* @__PURE__ */ c("div", { className: e.mobileButtons, children: [
617
- C && N && /* @__PURE__ */ a(j, {}),
613
+ C && N && /* @__PURE__ */ a(B, {}),
618
614
  /* @__PURE__ */ a(
619
615
  "button",
620
616
  {
621
617
  className: e.menuToggle,
622
- onClick: Ce,
618
+ onClick: we,
623
619
  "aria-label": h ? "Close menu" : "Open menu",
624
620
  "aria-expanded": h,
625
621
  "aria-controls": "main-menu",
626
- children: h ? /* @__PURE__ */ a(_e, { size: 24 }) : /* @__PURE__ */ a(Re, { size: 24 })
622
+ children: h ? /* @__PURE__ */ a(Me, { size: 24 }) : /* @__PURE__ */ a(xe, { size: 24 })
627
623
  }
628
624
  )
629
625
  ] })
@@ -634,5 +630,5 @@ function Qe({
634
630
  );
635
631
  }
636
632
  export {
637
- Qe as Navbar
633
+ Je as Navbar
638
634
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quirk-ui",
3
3
  "private": false,
4
- "version": "0.0.463",
4
+ "version": "0.0.464",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {