1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2581],{74175:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/releases",function(){return t(4625)}])},17209:function(e,n,t){"use strict";var r=t(85893),s=t(9008),i=t.n(s),a=t(67294);n.Z=function(e){var n=e.title,t=e.description,s=e.url,c="/images/documentation.png",o=void 0===s?"https://facelessui.com":s;try{if(o)o=new URL(o,"https://facelessui.com").href}catch(u){console.error(u)}var l={"@context":"https://schema.org","@type":"APIReference",subjectOf:"CreativeWork",url:o,description:t,name:"",headline:n,image:c,assemblyVersion:"React 16.8.0, React 18.0.0, TypeScript 4.6.3",executableLibraryName:".js, .ts, .tsx, .d.ts",programmingModel:"managed",targetPlatform:"web, browser, mobile, phone, native",dependencies:"",proficiencyLevel:"beginner, intermediate, advanced",articleSection:"",about:"",accessMode:"textual",accessModeSufficient:"",accessibilityAPI:"",accessibilityControl:"",accessibilityFeature:"",accessibilityHazard:"",accessibilitySummary:"",accountablePerson:"",publisher:"",license:"",isFamilyFriendly:!0,inLanguage:"en",funder:"",creator:"",contributor:"",creditText:""};return(0,r.jsxs)(i(),{children:[n&&(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)("title",{children:n}),(0,r.jsx)("meta",{property:"og:title",content:n})]}),t&&(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)("meta",{name:"description",content:t}),(0,r.jsx)("meta",{property:"og:description",content:t})]}),(0,r.jsx)("meta",{property:"og:image",content:c}),o&&(0,r.jsx)("meta",{property:"og:url",content:o}),(0,r.jsx)("meta",{property:"og:site_name",content:"Faceless UI"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("link",{rel:"shortcut icon",href:"/favicon.png",type:"image/png"}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}})]})}},98663:function(e,n,t){"use strict";t.d(n,{d:function(){return m}});var r=t(85893),s=t(29808),i=t(85204),a=t(96267),c=t(80783),o={code:function(e){var n=e.inline,t=e.children;return n?(0,r.jsx)(c.Z,{children:t}):(0,r.jsx)(a.d,{children:t.toString()})},h1:function(e){var n=e.children;return(0,r.jsx)("h5",{children:n})},h2:function(e){var n=e.children;return(0,r.jsx)("h5",{children:n})},h3:function(e){var n=e.children;return(0,r.jsx)("h5",{children:n})},h4:function(e){var n=e.children;return(0,r.jsx)("h5",{children:n})},p:function(e){var n=e.children;return(0,r.jsx)("p",{style:{margin:0},children:n})},a:function(e){var n=e.href,t=e.children;return(0,r.jsx)(i.n,{href:n,newTab:!0,underline:!0,children:t})},ul:function(e){var n=e.children;return(0,r.jsx)("ul",{style:{margin:0,padding:0,paddingLeft:"20px"},children:n})},li:function(e){var n=e.children;return(0,r.jsx)("li",{className:"li",children:n})}},l=(t(67294),t(31758)),u=function(e){var n=e.children;return"string"===typeof n?(0,r.jsx)("div",{children:(0,r.jsx)(l.D,{components:o,children:n})}):null},d=t(20858),h=t(69988),p=t(30784),f=t.n(p),m=function(e){var n,t=e.packageSlug,a=e.packageName,c=e.className,o=e.id,l=e.tag_name,p=e.html_url,m=e.body,g=e.published_at,x=e.prerelease,j=e.showDate,v=void 0===j||j,y=e.showName,_=void 0!==y&&y,b=null===(n=(0,d.gB)().githubVersions[t||""])||void 0===n?void 0:n.tag_name;return(0,r.jsxs)("div",{id:o.toString(),className:[c,f().releaseRow].filter(Boolean).join(" "),children:[(0,r.jsxs)(s.X,{href:"#".concat(l),element:"h2",as:"h4",children:[_&&(0,r.jsxs)("span",{children:[a,"\xa0"]}),l,l===b&&(0,r.jsx)("span",{className:f().latestVersion,children:"\xa0 [Latest]"}),x&&(0,r.jsx)("span",{className:f().prerelease,children:"\xa0 (Prerelease)"})]}),v&&(0,r.jsx)("div",{children:(0,h.o0)(g)}),!m&&(0,r.jsx)("div",{children:"No release notes"}),m&&(0,r.jsxs)("div",{className:f().body,children:[(0,r.jsx)("p",{style:{margin:0},children:"Release notes:"}),(0,r.jsx)("div",{className:f().notes,children:(0,r.jsx)(u,{children:m})})]}),(0,r.jsx)(i.n,{href:p,newTab:!0,children:(0,r.jsx)("p",{style:{marginBottom:0},children:"Full details"})})]})}},4625:function(e,n,t){"use strict";t.r(n);var r=t(47568),s=t(41799),i=t(70603),a=t(34051),c=t.n(a),o=t(85893),l=t(29808),u=t(4366),d=t(94073),h=t(19744),p=t(69988),f=t(67294),m=t(17209),g=t(80129),x=t.n(g),j=t(11163),v=t.
1n(j),y=t(65289),_=t.n(y),b=t(98663),w={modal:"Modal",slider:"Slider","css-grid":"CSS Grid",jumplist:"Jumplist",collapsibles:"Collapsibles","window-info":"Window Info","scroll-info":"Scroll Info","mouse-info":"Mouse Info"},N=Object.keys(w);n.default=function(){var e=(0,f.useState)([]),n=e[0],t=e[1],a=(0,f.useState)(!1),g=a[0],y=a[1],S=(0,h.NK)().setShowCustomCursor,R=(0,j.useRouter)(),k=R.pathname,F=R.asPath,T=(0,f.useState)((function(){return x().parse(F.split("?")[1]).package||""}))[0];return(0,f.useEffect)((function(){if(T)if("all"!==T){var e=x().stringify({package:T},{encode:!1,addQueryPrefix:!0});v().push("".concat(k).concat(e),void 0,{shallow:!0})}else v().push("".concat(k),void 0,{shallow:!0})}),[T,k]),(0,f.useEffect)((function(){y(!0);var e=function(){var e=(0,r.Z)(c().mark((function e(){var n,s,i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(N.map(function(){var e=(0,r.Z)(c().mark((function e(n){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.Rq)(n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()));case 2:n=e.sent,s=n.filter(Boolean).flat().reduce((function(e,n){if(n){var t=n.published_at.split("T")[0];e[t]=e[t]||[],e[t].push(n)}return e}),{}),i=Object.entries(s).sort((function(e,n){return new Date(n[0]).getTime()-new Date(e[0]).getTime()})),t(i),setTimeout((function(){y(!1)}),1e3);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]),(0,f.useEffect)((function(){S(!1)}),[S]),(0,o.jsxs)(f.Fragment,{children:[(0,o.jsx)(m.Z,{title:"Releases",description:"Release history for all Faceless UI packages",url:"/releases"}),(0,o.jsx)("main",{children:(0,o.jsx)(d.V,{children:(0,o.jsxs)(f.Fragment,{children:[(0,o.jsx)("h1",{children:"Releases"}),g&&(0,o.jsx)("p",{children:"Loading..."}),!g&&(0,o.jsx)(f.Fragment,{children:n.map((function(e,n){var t=(0,i.Z)(e,2),r=t[0],a=t[1];return(0,o.jsxs)("div",{className:_().dateSection,children:[(0,o.jsx)(l.X,{id:r,href:"/releases#".concat(r),element:"h2",as:"h5",children:(0,p.o0)(r)}),a.map((function(e,t){return(0,o.jsx)(b.d,(0,s.Z)({packageName:w[e.slug],showName:!0,showDate:!1},e),"".concat(n,"-").concat(t))}))]},n)}))})]})})})]})}},69988:function(e,n,t){"use strict";t.d(n,{o0:function(){return s}});var r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"],s=function(e){var n=new Date;if(e){var t=new Date(e.replace("T"," ").replace(/-/g,"/"));if("[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))return e;n=t}var s=n.getMonth(),i=n.getDate(),a=r[s],c=i<10?"0".concat(i):i,o=n.getFullYear();return"".concat(a," ").concat(c,", ").concat(o)}},30784:function(e){e.exports={releaseRow:"ReleaseRow_releaseRow__Ch6d2",body:"ReleaseRow_body__AntV8",notes:"ReleaseRow_notes__bC4wX"}},65289:function(e){e.exports={dateSection:"releases_dateSection__C5sY9",notes:"releases_notes__He_qV",li:"releases_li__DKuci"}}},function(e){e.O(0,[1758,9774,2888,179],(function(){return n=74175,e(e.s=n);var n}));var n=e.O();_N_E=n}]); 2//# sourceMappingURL=releases-796f463fc8e66b49.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.