summaryrefslogtreecommitdiff
path: root/out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-11 20:50:51 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-11 20:50:51 +0200
commitb75598d879e1b9153d89a96f7b0f66ad8d641f71 (patch)
treec561ba8ca01a9f666688659b4d8ca631448da860 /out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js
parent256ce2c5c0617d3f59817a4c6308161ce22c7ba2 (diff)
feat(preview): tag display and scroll fix
Diffstat (limited to 'out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js')
-rw-r--r--out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js b/out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js
deleted file mode 100644
index 8cf097a..0000000
--- a/out/_next/static/chunks/pages/slidetest-89396cedc9a180383962.js
+++ /dev/null
@@ -1 +0,0 @@
-(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;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]};var g=function(e,t){return v(v({},e),{},{delay:(0,l.hj)(t)?t:null===t||void 0===t?void 0:t.enter})},b=function(e,t){return v(v({},e),{},{delay:(0,l.hj)(t)?t:null===t||void 0===t?void 0:t.exit})},m=n(85893),h=["in","unmountOnExit","animateOpacity","startingSize","endingSize","dimension","style","className","transition","transitionEnd"];function j(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 w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x={exit:{size:{duration:.2,ease:y.ease},opacity:{duration:.3,ease:y.ease}},enter:{size:{duration:.3,ease:y.ease},opacity:{duration:.4,ease:y.ease}}},E={exit:function(e){var t,n,i,r=e.animateOpacity,a=e.startingSize,s=e.transition,c=e.transitionEnd,u=e.delay,l=e.dimension;return w(w({},r&&{opacity:(i=a,null!=i&&parseInt(i.toString(),10)>0?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