@zealicsolutions/web-ui 1.0.53-test.10 → 1.0.53-test.11

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.
@@ -4,3 +4,4 @@ declare const meta: Meta<typeof ContentWrapper>;
4
4
  export default meta;
5
5
  declare type Story = StoryObj<typeof ContentWrapper>;
6
6
  export declare const Default: Story;
7
+ export declare const WithAbsoluteDrawer: Story;
@@ -1,2 +1,2 @@
1
- import{__makeTemplateObject as e,__assign as t}from"../../node_modules/tslib/tslib.es6.js";import{jsx as o}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import n from"../../node_modules/@emotion/styled/dist/emotion-styled.esm.js";import{useLayoutContext as i}from"../../contexts/LayoutContext/useLayoutContext.js";var s,r=function(e){var n,s=e.children,r=e.className,a=i().drawer;return o(m,t({className:r,style:(n={},n["left"===a.position?"marginLeft":"marginRight"]=a.isOpen?"".concat(a.width,"px"):0,n)},{children:s}))},m=n.div(s||(s=e(["\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 e,__assign as t}from"../../node_modules/tslib/tslib.es6.js";import{jsx as o}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import n from"../../node_modules/@emotion/styled/dist/emotion-styled.esm.js";import{useLayoutContext as i}from"../../contexts/LayoutContext/useLayoutContext.js";var s,r=function(e){var n,s=e.children,r=e.className,m=i().drawer;return o(a,t({className:r,style:t({},"absolute"!==m.positionType&&(n={},n["left"===m.position?"marginLeft":"marginRight"]=m.isOpen?"".concat(m.width,"px"):0,n))},{children:s}))},a=n.div(s||(s=e(["\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","drawer","useLayoutContext","_jsx","StyledContentWrapper","__assign","style","_b","position","isOpen","concat","width","styled","div","templateObject_1","__makeTemplateObject"],"mappings":"sWASO,MAAMA,EAAgD,SAACC,SAC5DC,EAAQD,EAAAC,SACRC,EAASF,EAAAE,UAEDC,EAAWC,WAEnB,OACEC,EAACC,EAAoBC,EAAA,CACnBL,UAAWA,EACXM,OAAKC,EAAA,CAAA,EACHA,EAAqB,SAApBN,EAAOO,SAAsB,aAAe,eAC3CP,EAAOQ,OAAS,GAAGC,OAAAT,EAAOU,MAAS,MAAG,gBAGzCZ,IAGP,EAEMK,EAAuBQ,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","drawer","useLayoutContext","_jsx","StyledContentWrapper","__assign","style","positionType","_b","position","isOpen","concat","width","styled","div","templateObject_1","__makeTemplateObject"],"mappings":"sWASO,MAAMA,EAAgD,SAACC,SAC5DC,EAAQD,EAAAC,SACRC,EAASF,EAAAE,UAEDC,EAAWC,WAEnB,OACEC,EAACC,EAAoBC,EAAA,CACnBL,UAAWA,EACXM,WAC8B,aAAxBL,EAAOM,eAA2BC,EAAA,CAAA,EACpCA,EAAqB,SAApBP,EAAOQ,SAAsB,aAAe,eAC3CR,EAAOS,OAAS,GAAGC,OAAAV,EAAOW,MAAS,MAAG,EACzCJ,KAGF,CAAAT,SAAAA,IAGP,EAEMK,EAAuBS,EAAOC,IAAGC,IAAAA,EAAAC,EAAA,CAAA,8GAAA,CAAA"}
@@ -4,3 +4,4 @@ declare const meta: Meta<typeof ContentWrapper>;
4
4
  export default meta;
5
5
  declare type Story = StoryObj<typeof ContentWrapper>;
6
6
  export declare const Default: Story;
7
+ export declare const WithAbsoluteDrawer: Story;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "1.0.53-test.10",
3
+ "version": "1.0.53-test.11",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"