From bb6fe7325dfe76c0618d34455e56122c3204a3b3 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 11 Oct 2021 01:27:47 +0200 Subject: chore: build --- out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js (limited to 'out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js') diff --git a/out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js b/out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js new file mode 100644 index 0000000..8cf097a --- /dev/null +++ b/out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[991],{65058:function(e,t,n){"use strict";n.d(t,{U:function(){return P}});var i=n(70885),r=n(45987),o=n(4942),a=n(80658),s=n(38554),c=n.n(s),u=n(84461),l=n(73808),d=n(53869),f=n(39629),p=n(67294);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function v(e){for(var t=1;t0?1:0)}),{},(n={overflow:"hidden"},(0,o.Z)(n,l,a),(0,o.Z)(n,"transitionEnd",null===c||void 0===c?void 0:c.exit),(0,o.Z)(n,"transition",null!==(t=null===s||void 0===s?void 0:s.exit)&&void 0!==t?t:b(x.exit,u)),n))},enter:function(e){var t,n,i=e.animateOpacity,r=e.endingSize,a=e.transition,s=e.transitionEnd,c=e.delay,u=e.dimension;return w(w({},i&&{opacity:1}),{},(n={},(0,o.Z)(n,u,r),(0,o.Z)(n,"transitionEnd",null===s||void 0===s?void 0:s.enter),(0,o.Z)(n,"transition",null!==(t=null===a||void 0===a?void 0:a.enter)&&void 0!==t?t:g(x.enter,c)),n))}},P=p.forwardRef((function(e,t){var n=e.in,o=e.unmountOnExit,s=e.animateOpacity,l=void 0===s||s,O=e.startingSize,v=void 0===O?0:O,y=e.endingSize,g=void 0===y?"auto":y,b=e.dimension,j=void 0===b?"height":b,x=e.style,P=e.className,S=e.transition,z=e.transitionEnd,_=(0,r.Z)(e,h),k=p.useState(!1),Z=(0,i.Z)(k,2),D=Z[0],N=Z[1];p.useEffect((function(){var e=setTimeout((function(){N(!0)}));return function(){return clearTimeout(e)}}),[]),(0,a.ZK)({condition:Boolean(v>0&&o),message:"startingSize and unmountOnExit are mutually exclusive. You can't use them together"});var C=parseFloat(v.toString())>0,T={startingSize:v,endingSize:g,animateOpacity:l,dimension:j,transition:D?S:{enter:{duration:0}},transitionEnd:c()(z,{enter:{overflow:"initial"},exit:o?void 0:{display:C?"block":"none"}})},I=!o||n,F=n||o?"enter":"exit";return(0,m.jsx)(d.M,{initial:!1,custom:T,children:I&&(0,m.jsx)(f.E.div,w(w({ref:t},_),{},{className:(0,u.cx)("chakra-collapse",P),style:w({overflow:"hidden",display:"block"},x),custom:T,variants:E,initial:!!o&&"exit",animate:F,exit:"exit"}))})}));l.Ts&&(P.displayName="Collapse")},41051:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});n(67294);var i=n(74860),r=n(49364),o=n(94096),a=n(48017),s=n(65058),c=n(85893);function u(){var e=(0,i.q)(),t=e.isOpen,n=(e.onClose,e.onOpen,e.onToggle);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(r.z,{onClick:n,children:"togg"}),(0,c.jsxs)(o.k,{flexDirection:"row",justifyContent:"space-between",w:"100vw",children:[(0,c.jsx)(a.xu,{color:"blue.500",width:"100%",children:"a"}),(0,c.jsx)(s.U,{animateOpacity:!1,dimension:"width",in:t,unmountOnExit:!0,endingSize:500,startingSize:0,children:(0,c.jsx)(a.xu,{height:"100vh",bgColor:"red.500",children:"Hey"})})]})]})}},99419:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/slidetest",function(){return n(41051)}])}},function(e){e.O(0,[827,774,888,179],(function(){return t=99419,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file -- cgit v1.2.3