@cleartrip/ct-platform-drawer 6.3.33-SNAPSHOT → 6.4.0-SNAPSHOT-native-main.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/Drawer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../packages/components/Drawer/src/Drawer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../packages/components/Drawer/src/Drawer.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAOjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAoB7C,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA4IjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),n=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";var e=require("tslib"),n=require("react/jsx-runtime"),t=require("react-dom"),r=require("react"),o=require("@cleartrip/ct-design-icons"),i=require("@cleartrip/ct-platform-utils"),a=require("@cleartrip/ct-design-style-manager"),l=require("@cleartrip/ct-design-components");function c(e){return e&&e.__esModule?e:{default:e}}var s=c(t),d=a.makeWebStyles(function(e){return{"modal__container .modal.left":{top:0,left:0,transform:"translateX(-105%)"},"modal__container .modal.right":{top:0,right:0,transform:"translateX(100%)"},"modal__container .modal.top":{top:0,left:0,right:0,transform:"translateY(-100%)"},"modal__container .modal.bottom":{bottom:0,left:0,right:0,transform:"translateY(100%)"},"modal__container.transition-end.open .left, .modal__container.transition-end.open .right":{transform:"translateX(0)"},"modal__container.transition-end.open .top, .modal__container.transition-end.open .bottom":{transform:"translateY(0)"},"modal__container.transition-end.open .overlay":{visibility:"visible",opacity:1,pointerEvents:"auto",zIndex:999},"drawer-header":{paddingTop:12,paddingRight:16,paddingBottom:12,paddingLeft:16,display:"flex",alignItems:"center",justifyContent:"flex-end",backgroundColor:"transparent","& .drawer-close-btn__container:hover":{background:"#fff"},flexDirection:"row"},modal:{width:"auto",overflow:"auto",WebkitOverflowScrolling:"touch",position:"fixed",transition:"transform 0.3s ease",zIndex:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end"},overlay:{visibility:"hidden",opacity:0,background:"rgba(0, 0, 0, 0.5)",transition:"opacity 0.3s ease, visibility 0.3s ease",width:"100%",height:"100%",top:0,left:0,position:"fixed",pointerEvents:"none",zIndex:999},"drawer-close-btn__container":{padding:4,borderRadius:40,background:"#fff",display:"flex",alignItems:"center",justifyContent:"center",outline:"none",border:"none",cursor:"pointer",flexDirection:"row"},"close-icon":{width:24,height:24}}});exports.Drawer=function(t){var a=t.isOpen,c=t.handleClose,u=t.onClose,f=t.children,v=t.direction,m=void 0===v?"left":v,_=t.showClose,p=void 0!==_&&_,g=t.overlay,h=void 0===g||g,y=t.closeOnOutsideClick,w=void 0!==y&&y,x=r.useRef(null),b=r.useRef(null),C=r.useRef(null),j=r.useRef(null);if(!i.isServer()&&window&&document&&(b.current=document.querySelector("body"),C.current=document.querySelector("#root, #__next")),!i.isServer()&&window&&document){var q=document.getElementById("drawer-parent");j.current=q||function(){if(!i.isServer()&&window&&document){var e=document.createElement("div");return e.setAttribute("id","drawer-parent"),e}return null}()}r.useEffect(function(){var e;null===(e=null==b?void 0:b.current)||void 0===e||e.appendChild(null==j?void 0:j.current);var n=null==j?void 0:j.current,t=null==b?void 0:b.current;return function(){null==n||n.remove(),t&&(t.style.overflow="")}},[]),r.useEffect(function(){b&&b.current&&(a?(b.current.style.overflow="hidden",(null==C?void 0:C.current)&&(C.current.style.overflow="hidden",C.current.style.height=window.innerHeight+"px")):(b.current.style.overflow="unset",(null==C?void 0:C.current)&&(C.current.style.overflow="unset",C.current.style.height="unset")))},[a]);var k=function(e,n){var t=r.useState(!1),o=t[0],i=t[1];return r.useEffect(function(){var t;return e&&!o?i(!0):!e&&o&&(t=setTimeout(function(){return i(!1)},n)),function(){clearTimeout(t)}},[n,e,o]),o}(a,500);return k||a?n.jsx(n.Fragment,{children:s.default.createPortal(n.jsxs(l.Container,e.__assign({as:"div","aria-hidden":a?"false":"true",onClick:function(e){var n;w&&x.current&&(null===(n=x.current)||void 0===n?void 0:n.contains(e.target))&&c()},styleConfig:{root:["__local-".concat(d.modal__container),a?d.open:void 0,k?d["transition-end"]:void 0]}},{children:[n.jsxs(l.Container,e.__assign({as:"div",role:"dialog",styleConfig:{root:["__local-".concat(d.modal),"__local-".concat(d[m])]}},{children:[p&&n.jsx(l.Container,e.__assign({as:"div",styleConfig:{root:["__local-".concat(d["drawer-header"])]}},{children:n.jsx("button",e.__assign({className:d["drawer-close-btn__container"],onClick:function(e){c(e),u()}},{children:n.jsx(o.Cross,{crossColor:"#1A1A1A",styleConfig:{root:["__local-".concat(d["close-icon"])]}})}))})),f]})),h&&n.jsx(l.Container,{as:"div","aria-hidden":a?"false":"true",ref:x,styleConfig:{root:["__local-".concat(d.overlay)]}})]})),null==j?void 0:j.current)}):null};
|
|
2
2
|
//# sourceMappingURL=ct-platform-drawer.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-drawer.cjs.js","sources":["
|
|
1
|
+
{"version":3,"file":"ct-platform-drawer.cjs.js","sources":["../packages/components/Drawer/src/index.module.ts","../packages/components/Drawer/src/Drawer.tsx","../packages/components/Drawer/src/useMountTransition.tsx"],"sourcesContent":[null,null,null],"names":["styles","makeWebStyles","theme","top","left","transform","right","bottom","visibility","opacity","pointerEvents","zIndex","paddingTop","paddingRight","paddingBottom","paddingLeft","display","alignItems","justifyContent","backgroundColor","background","flexDirection","modal","width","overflow","WebkitOverflowScrolling","position","transition","overlay","height","padding","borderRadius","outline","border","cursor","_a","isOpen","handleClose","onClose","children","_b","direction","_c","showClose","_d","_e","closeOnOutsideClick","modalRef","useRef","bodyRef","innerDiv","portalParentRef","isServer","window","document","current","querySelector","parentElement","getElementById","drawerParent","createElement","setAttribute","createPortalParent","useEffect","appendChild","portal","bodyEl","remove","style","innerHeight","isTransitioning","isMounted","unmountDelay","useState","setIsTransitioning","timeoutId","setTimeout","clearTimeout","useMountTransition","_jsx","_Fragment","ReactDOM","createPortal","_jsxs","Container","__assign","as","onClick","event","contains","target","styleConfig","root","concat","Styles","undefined","role","className","evt","Cross","crossColor","ref"],"mappings":"0VAGMA,EAASC,EAAAA,cAAc,SAAAC,GAAS,MAAA,CACpC,+BAAgC,CAC9BC,IAAK,EACLC,KAAM,EACNC,UAAW,qBAGb,gCAAiC,CAC/BF,IAAK,EACLG,MAAO,EACPD,UAAW,oBAGb,8BAA+B,CAC7BF,IAAK,EACLC,KAAM,EACNE,MAAO,EACPD,UAAW,qBAGb,iCAAkC,CAChCE,OAAQ,EACRH,KAAM,EACNE,MAAO,EACPD,UAAW,oBAGb,2FAA4F,CAC1FA,UAAW,iBAGb,2FAA4F,CAC1FA,UAAW,iBAGb,gDAAiD,CAC/CG,WAAY,UACZC,QAAS,EACTC,cAAe,OACfC,OAAQ,KAGV,gBAAiB,CACfC,WAAY,GACZC,aAAc,GACdC,cAAe,GACfC,YAAa,GACbC,QAAS,OACTC,WAAY,SACZC,eAAgB,WAChBC,gBAAiB,cAEjB,uCAAwC,CACtCC,WAAY,QAGdC,cAAe,OAGjBC,MAAO,CACLC,MAAO,OACPC,SAAU,OACVC,wBAAyB,QACzBC,SAAU,QACVC,WAAY,sBACZhB,OAAQ,IACRK,QAAS,OACTK,cAAe,SACfH,eAAgB,YAGlBU,QAAS,CACPpB,WAAY,SACZC,QAAS,EACTW,WAAY,qBACZO,WAAY,0CACZJ,MAAO,OACPM,OAAQ,OACR1B,IAAK,EACLC,KAAM,EACNsB,SAAU,QACVhB,cAAe,OACfC,OAAQ,KAGV,8BAA+B,CAC7BmB,QAAS,EACTC,aAAc,GACdX,WAAY,OACZJ,QAAS,OACTC,WAAY,SACZC,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YAASC,EAAAA,SAAA,CAACC,GAAG,MAAMK,YAAa,CAC7BC,KAAM,CAAC,WAAAC,OAAWC,EAAO,qBAC5B,CAAAvD,SACGwC,EAAAA,IAAA,SAAAM,EAAAA,SAAA,CACIY,UACIH,EAAO,+BAEXP,QAAS,SAACW,GACN7D,EAAY6D,GACZ5D,GACJ,GAAC,CAAAC,SAEDwC,EAAAA,IAACoB,EAAAA,MAAK,CACFC,WAAW,UACXT,YAAa,CACTC,KAAM,CAAC,WAAAC,OAAWC,EAAO,yBAM5CvD,MAEJX,GACGmD,EAAAA,IAACK,EAAAA,UAAS,CACNE,GAAG,MAAK,cACKlD,EAAS,QAAU,OAChCiE,IAAKtD,EACL4C,YAAa,CACTC,KAAM,CAAC,WAAAC,OAAWC,EAAgB,iBAIlD3C,aAAe,EAAfA,EAAiBI,WAjElB,IAqEf"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as
|
|
1
|
+
import{__assign as t}from"tslib";import{jsx as n,Fragment as e,jsxs as o}from"react/jsx-runtime";import r from"react-dom";import{useState as i,useEffect as l,useRef as a}from"react";import{Cross as c}from"@cleartrip/ct-design-icons";import{isServer as d}from"@cleartrip/ct-platform-utils";import{makeWebStyles as s}from"@cleartrip/ct-design-style-manager";import{Container as u}from"@cleartrip/ct-design-components";var f=s(function(t){return{"modal__container .modal.left":{top:0,left:0,transform:"translateX(-105%)"},"modal__container .modal.right":{top:0,right:0,transform:"translateX(100%)"},"modal__container .modal.top":{top:0,left:0,right:0,transform:"translateY(-100%)"},"modal__container .modal.bottom":{bottom:0,left:0,right:0,transform:"translateY(100%)"},"modal__container.transition-end.open .left, .modal__container.transition-end.open .right":{transform:"translateX(0)"},"modal__container.transition-end.open .top, .modal__container.transition-end.open .bottom":{transform:"translateY(0)"},"modal__container.transition-end.open .overlay":{visibility:"visible",opacity:1,pointerEvents:"auto",zIndex:999},"drawer-header":{paddingTop:12,paddingRight:16,paddingBottom:12,paddingLeft:16,display:"flex",alignItems:"center",justifyContent:"flex-end",backgroundColor:"transparent","& .drawer-close-btn__container:hover":{background:"#fff"},flexDirection:"row"},modal:{width:"auto",overflow:"auto",WebkitOverflowScrolling:"touch",position:"fixed",transition:"transform 0.3s ease",zIndex:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end"},overlay:{visibility:"hidden",opacity:0,background:"rgba(0, 0, 0, 0.5)",transition:"opacity 0.3s ease, visibility 0.3s ease",width:"100%",height:"100%",top:0,left:0,position:"fixed",pointerEvents:"none",zIndex:999},"drawer-close-btn__container":{padding:4,borderRadius:40,background:"#fff",display:"flex",alignItems:"center",justifyContent:"center",outline:"none",border:"none",cursor:"pointer",flexDirection:"row"},"close-icon":{width:24,height:24}}}),m=function(s){var m=s.isOpen,p=s.handleClose,v=s.onClose,_=s.children,g=s.direction,h=void 0===g?"left":g,y=s.showClose,w=void 0!==y&&y,b=s.overlay,x=void 0===b||b,C=s.closeOnOutsideClick,k=void 0!==C&&C,I=a(null),j=a(null),A=a(null),E=a(null);if(!d()&&window&&document&&(j.current=document.querySelector("body"),A.current=document.querySelector("#root, #__next")),!d()&&window&&document){var O=document.getElementById("drawer-parent");E.current=O||function(){if(!d()&&window&&document){var t=document.createElement("div");return t.setAttribute("id","drawer-parent"),t}return null}()}l(function(){var t;null===(t=null==j?void 0:j.current)||void 0===t||t.appendChild(null==E?void 0:E.current);var n=null==E?void 0:E.current,e=null==j?void 0:j.current;return function(){null==n||n.remove(),e&&(e.style.overflow="")}},[]),l(function(){j&&j.current&&(m?(j.current.style.overflow="hidden",(null==A?void 0:A.current)&&(A.current.style.overflow="hidden",A.current.style.height=window.innerHeight+"px")):(j.current.style.overflow="unset",(null==A?void 0:A.current)&&(A.current.style.overflow="unset",A.current.style.height="unset")))},[m]);var z=function(t,n){var e=i(!1),o=e[0],r=e[1];return l(function(){var e;return t&&!o?r(!0):!t&&o&&(e=setTimeout(function(){return r(!1)},n)),function(){clearTimeout(e)}},[n,t,o]),o}(m,500);return z||m?n(e,{children:r.createPortal(o(u,t({as:"div","aria-hidden":m?"false":"true",onClick:function(t){var n;k&&I.current&&(null===(n=I.current)||void 0===n?void 0:n.contains(t.target))&&p()},styleConfig:{root:["__local-".concat(f.modal__container),m?f.open:void 0,z?f["transition-end"]:void 0]}},{children:[o(u,t({as:"div",role:"dialog",styleConfig:{root:["__local-".concat(f.modal),"__local-".concat(f[h])]}},{children:[w&&n(u,t({as:"div",styleConfig:{root:["__local-".concat(f["drawer-header"])]}},{children:n("button",t({className:f["drawer-close-btn__container"],onClick:function(t){p(t),v()}},{children:n(c,{crossColor:"#1A1A1A",styleConfig:{root:["__local-".concat(f["close-icon"])]}})}))})),_]})),x&&n(u,{as:"div","aria-hidden":m?"false":"true",ref:I,styleConfig:{root:["__local-".concat(f.overlay)]}})]})),null==E?void 0:E.current)}):null};export{m as Drawer};
|
|
2
2
|
//# sourceMappingURL=ct-platform-drawer.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-drawer.esm.js","sources":["
|
|
1
|
+
{"version":3,"file":"ct-platform-drawer.esm.js","sources":["../packages/components/Drawer/src/index.module.ts","../packages/components/Drawer/src/Drawer.tsx","../packages/components/Drawer/src/useMountTransition.tsx"],"sourcesContent":[null,null,null],"names":["styles","makeWebStyles","theme","top","left","transform","right","bottom","visibility","opacity","pointerEvents","zIndex","paddingTop","paddingRight","paddingBottom","paddingLeft","display","alignItems","justifyContent","backgroundColor","background","flexDirection","modal","width","overflow","WebkitOverflowScrolling","position","transition","overlay","height","padding","borderRadius","outline","border","cursor","Drawer","_a","isOpen","handleClose","onClose","children","_b","direction","_c","showClose","_d","_e","closeOnOutsideClick","modalRef","useRef","bodyRef","innerDiv","portalParentRef","isServer","window","document","current","querySelector","parentElement","getElementById","drawerParent","createElement","setAttribute","createPortalParent","useEffect","appendChild","portal","bodyEl","remove","style","innerHeight","isTransitioning","isMounted","unmountDelay","useState","setIsTransitioning","timeoutId","setTimeout","clearTimeout","useMountTransition","_jsx","_Fragment","ReactDOM","createPortal","_jsxs","Container","__assign","as","onClick","event","contains","target","styleConfig","root","concat","Styles","undefined","role","className","evt","Cross","crossColor","ref"],"mappings":"gaAGA,IAAMA,EAASC,EAAc,SAAAC,GAAS,MAAA,CACpC,+BAAgC,CAC9BC,IAAK,EACLC,KAAM,EACNC,UAAW,qBAGb,gCAAiC,CAC/BF,IAAK,EACLG,MAAO,EACPD,UAAW,oBAGb,8BAA+B,CAC7BF,IAAK,EACLC,KAAM,EACNE,MAAO,EACPD,UAAW,qBAGb,iCAAkC,CAChCE,OAAQ,EACRH,KAAM,EACNE,MAAO,EACPD,UAAW,oBAGb,2FAA4F,CAC1FA,UAAW,iBAGb,2FAA4F,CAC1FA,UAAW,iBAGb,gDAAiD,CAC/CG,WAAY,UACZC,QAAS,EACTC,cAAe,OACfC,OAAQ,KAGV,gBAAiB,CACfC,WAAY,GACZC,aAAc,GACdC,cAAe,GACfC,YAAa,GACbC,QAAS,OACTC,WAAY,SACZC,eAAgB,WAChBC,gBAAiB,cAEjB,uCAAwC,CACtCC,WAAY,QAGdC,cAAe,OAGjBC,MAAO,CACLC,MAAO,OACPC,SAAU,OACVC,wBAAyB,QACzBC,SAAU,QACVC,WAAY,sBACZhB,OAAQ,IACRK,QAAS,OACTK,cAAe,SACfH,eAAgB,YAGlBU,QAAS,CACPpB,WAAY,SACZC,QAAS,EACTW,WAAY,qBACZO,WAAY,0CACZJ,MAAO,OACPM,OAAQ,OACR1B,IAAK,EACLC,KAAM,EACNsB,SAAU,QACVhB,cAAe,OACfC,OAAQ,KAGV,8BAA+B,CAC7BmB,QAAS,EACTC,aAAc,GACdX,WAAY,OACZJ,QAAS,OACTC,WAAY,SACZC,eAAgB,SAChBc,QAAS,OACTC,OAAQ,OACRC,OAAQ,UACRb,cAAe,OAGjB,aAAc,CACZE,MAAO,GACPM,OAAQ,IApG0B,GCyBhCM,EAAgC,SAACC,GACnC,IAAAC,WACAC,EAAWF,EAAAE,YACXC,EAAOH,EAA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EAACK,EAAS,CACNE,GAAG,MAAK,cACKlD,EAAS,QAAU,OAChCiE,IAAKtD,EACL4C,YAAa,CACTC,KAAM,CAAC,WAAAC,OAAWC,EAAgB,iBAIlD3C,aAAe,EAAfA,EAAiBI,WAjElB,IAqEf"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleartrip/ct-platform-drawer",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0-SNAPSHOT-native-main.0",
|
|
4
4
|
"description": "Drawer Component",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/ct-platform-drawer.cjs.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@cleartrip/ct-design-icons": ">=61.0.0-SNAPSHOT-native-main.3",
|
|
14
14
|
"classnames": "^2.5.1",
|
|
15
|
-
"@cleartrip/ct-platform-utils": "6.
|
|
15
|
+
"@cleartrip/ct-platform-utils": "6.4.0-SNAPSHOT-native-main.0"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"react": ">=16.8.0",
|