@zealicsolutions/web-ui 1.0.53-test.18 → 1.0.53-test.19

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,2 +1,2 @@
1
- import{__makeTemplateObject as t,__assign as o}from"../../node_modules/tslib/tslib.es6.js";import{jsx as e}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import i from"../../node_modules/@emotion/styled/dist/emotion-styled.esm.js";import{useLayoutContext as n}from"../../contexts/LayoutContext/useLayoutContext.js";var s,r=function(t){var i=t.children,s=t.className,r=t.marginLeft,m=void 0===r?"0":r,l=t.marginRight,c=void 0===l?"0":l,d=n().drawer,p="absolute"!==d.positionType&&"left"===d.position&&d.isOpen?"calc(".concat(m||"0px"," + ").concat(d.width,"px)"):m,f="absolute"!==d.positionType&&"right"===d.position&&d.isOpen?"calc(".concat(c||"0px"," + ").concat(d.width,"px)"):c;return console.log({finalMarginLeft:p,drawer:d,marginLeft:m}),e(a,o({className:s,style:{marginLeft:p,marginRight:f}},{children:i}))},a=i.div(s||(s=t(["\n flex: 1;\n position: relative;\n transition: margin 0.3s ease;\n overflow: auto;\n height: 100%;\n"],["\n flex: 1;\n position: relative;\n transition: margin 0.3s ease;\n overflow: auto;\n height: 100%;\n"])));export{r as ContentWrapper};
1
+ import{__makeTemplateObject as t,__assign as o}from"../../node_modules/tslib/tslib.es6.js";import{jsx as e}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import i from"../../node_modules/@emotion/styled/dist/emotion-styled.esm.js";import{useLayoutContext as n}from"../../contexts/LayoutContext/useLayoutContext.js";var s,r=function(t){var i=t.children,s=t.className,r=t.marginLeft,m=void 0===r?"0px":r,l=t.marginRight,c=void 0===l?"0px":l,d=n().drawer,p="absolute"!==d.positionType&&"left"===d.position&&d.isOpen?"calc(".concat(m," + ").concat(d.width,"px)"):m,f="absolute"!==d.positionType&&"right"===d.position&&d.isOpen?"calc(".concat(c," + ").concat(d.width,"px)"):c;return console.log({finalMarginLeft:p,drawer:d,marginLeft:m}),e(a,o({className:s,style:{marginLeft:p,marginRight:f}},{children:i}))},a=i.div(s||(s=t(["\n flex: 1;\n position: relative;\n transition: margin 0.3s ease;\n overflow: auto;\n height: 100%;\n"],["\n flex: 1;\n position: relative;\n transition: margin 0.3s ease;\n overflow: auto;\n height: 100%;\n"])));export{r as ContentWrapper};
2
2
  //# sourceMappingURL=ContentWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContentWrapper.js","sources":["../../../../../src/molecules/ContentWrapper/ContentWrapper.tsx"],"sourcesContent":[null],"names":["ContentWrapper","_a","children","className","_b","marginLeft","_c","marginRight","drawer","useLayoutContext","finalMarginLeft","positionType","position","isOpen","concat","width","finalMarginRight","console","log","_jsx","StyledContentWrapper","__assign","style","styled","div","templateObject_1","__makeTemplateObject"],"mappings":"sWAWO,MAAMA,EAAgD,SAACC,GAC5D,IAAAC,aACAC,EAASF,EAAAE,UACTC,eAAAC,OAAa,IAAAD,EAAA,MACbE,EAAAL,EAAAM,YAAAA,OAAW,IAAAD,EAAG,IAAGA,EAETE,EAAWC,WAGbC,EACoB,aAAxBF,EAAOG,cAAmD,SAApBH,EAAOI,UAAuBJ,EAAOK,OACvE,eAAQR,GAAc,MAAW,OAAAS,OAAAN,EAAOO,MAAU,OAClDV,EAEAW,EACoB,aAAxBR,EAAOG,cAAmD,UAApBH,EAAOI,UAAwBJ,EAAOK,OACxE,eAAQN,GAAe,MAAW,OAAAO,OAAAN,EAAOO,MAAU,OACnDR,EAIN,OAFAU,QAAQC,IAAI,CAAER,gBAAeA,EAAEF,OAAMA,EAAEH,WAAUA,IAG/Cc,EAACC,EAAoBC,EAAA,CACnBlB,UAAWA,EACXmB,MAAO,CACLjB,WAAYK,EACZH,YAAaS,IAGd,CAAAd,SAAAA,IAGP,EAEMkB,EAAuBG,EAAOC,IAAGC,IAAAA,EAAAC,EAAA,CAAA,8GAAA,CAAA"}
1
+ {"version":3,"file":"ContentWrapper.js","sources":["../../../../../src/molecules/ContentWrapper/ContentWrapper.tsx"],"sourcesContent":[null],"names":["ContentWrapper","_a","children","className","_b","marginLeft","_c","marginRight","drawer","useLayoutContext","finalMarginLeft","positionType","position","isOpen","concat","width","finalMarginRight","console","log","_jsx","StyledContentWrapper","__assign","style","styled","div","templateObject_1","__makeTemplateObject"],"mappings":"sWAWO,MAAMA,EAAgD,SAACC,GAC5D,IAAAC,aACAC,EAASF,EAAAE,UACTC,eAAAC,OAAa,IAAAD,EAAA,QACbE,EAAAL,EAAAM,YAAAA,OAAW,IAAAD,EAAG,MAAKA,EAEXE,EAAWC,WAGbC,EACoB,aAAxBF,EAAOG,cAAmD,SAApBH,EAAOI,UAAuBJ,EAAOK,OACvE,QAAQC,OAAAT,gBAAgBG,EAAOO,MAAU,OACzCV,EAEAW,EACoB,aAAxBR,EAAOG,cAAmD,UAApBH,EAAOI,UAAwBJ,EAAOK,OACxE,QAAQC,OAAAP,gBAAiBC,EAAOO,MAAU,OAC1CR,EAIN,OAFAU,QAAQC,IAAI,CAAER,gBAAeA,EAAEF,OAAMA,EAAEH,WAAUA,IAG/Cc,EAACC,EAAoBC,EAAA,CACnBlB,UAAWA,EACXmB,MAAO,CACLjB,WAAYK,EACZH,YAAaS,IAGd,CAAAd,SAAAA,IAGP,EAEMkB,EAAuBG,EAAOC,IAAGC,IAAAA,EAAAC,EAAA,CAAA,8GAAA,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "1.0.53-test.18",
3
+ "version": "1.0.53-test.19",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"