@corva/ui 0.50.0-1 → 0.50.0-2

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 +1 @@
1
- {"version":3,"file":"AppFilterPanelLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js"],"names":[],"mappings":"AAwCO;;;;;;;gBAiDN"}
1
+ {"version":3,"file":"AppFilterPanelLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js"],"names":[],"mappings":"AAwCO;;;;;;;gBAgDN"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/objectWithoutProperties";import{makeStyles as t,useTheme as i,useMediaQuery as o}from"@material-ui/core";import n from"classnames";import a from"@material-ui/icons/Sort";import p from"../AppSideBar/AppSideBar.js";import c from"../AppSettingsPopover/AppSettingsPopover.js";import l from"../../Button/index.js";import{jsxs as s,jsx as d}from"react/jsx-runtime";var h=["trigger"];function m(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,i)}return t}function f(r){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?m(Object(i),!0).forEach((function(t){e(r,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):m(Object(i)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}))}return r}var g=t({appLayout:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},header:{paddingLeft:12,paddingRight:12,display:"flex",height:36},contentWrapper:{display:"flex",position:"relative",flexGrow:1,height:"calc(100% - 36px)","@media (max-width: 960px)":{height:"100%"}},content:{display:"flex",flexDirection:"column",textAlign:"center",alignItems:"center",justifyContent:"center",height:"100%",width:"100%"}}),u=function(e){var t=e.classes,m=void 0===t?{}:t,u=e.sideBarProps,b=e.sideBarContent,y=e.appSettingsPopoverProps,v=e.header,O=e.children,j=g(),P=i(),x=o(P.breakpoints.down("sm"));y.trigger;var w=r(y,h);return s("div",{className:n(j.appLayout,m.appLayout),children:[x&&s("div",{className:n(j.header,m.header),children:[d(c,f(f({Trigger:function(e){return d(l,f(f({startIcon:d(a,{})},e),{},{children:"Filters"}))},header:"Filters",anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}},w),{},{children:b})),v]}),s("div",{className:n(j.contentWrapper,m.contentWrapper),children:[!x&&d(p,f(f({},u),{},{anchor:"left",children:b})),d("div",{className:n(j.content,m.content),children:O})]})]})};export{u as AppFilterPanelLayout};
1
+ import e from"@babel/runtime/helpers/defineProperty";import{makeStyles as r,useTheme as t,useMediaQuery as i}from"@material-ui/core";import n from"classnames";import o from"@material-ui/icons/Sort";import a from"../AppSideBar/AppSideBar.js";import p from"../AppSettingsPopover/AppSettingsPopover.js";import c from"../../Button/index.js";import{jsxs as l,jsx as s}from"react/jsx-runtime";function d(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,i)}return t}function f(r){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?d(Object(i),!0).forEach((function(t){e(r,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}))}return r}var h=r({appLayout:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},header:{paddingLeft:12,paddingRight:12,display:"flex",height:36},contentWrapper:{display:"flex",position:"relative",flexGrow:1,height:"calc(100% - 36px)","@media (max-width: 960px)":{height:"100%"}},content:{display:"flex",flexDirection:"column",textAlign:"center",alignItems:"center",justifyContent:"center",height:"100%",width:"100%"}}),m=function(e){var r=e.classes,d=void 0===r?{}:r,m=e.sideBarProps,u=e.sideBarContent,g=e.appSettingsPopoverProps,y=e.header,O=e.children,b=h(),v=t(),j=i(v.breakpoints.down("sm"));return l("div",{className:n(b.appLayout,d.appLayout),children:[j&&l("div",{className:n(b.header,d.header),children:[s(p,f(f({Trigger:function(e){return s(c,f(f({startIcon:s(o,{})},e),{},{children:"Filters"}))},header:"Filters",anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}},g),{},{children:u})),y]}),l("div",{className:n(b.contentWrapper,d.contentWrapper),children:[!j&&s(a,f(f({},m),{},{anchor:"left",children:u})),s("div",{className:n(b.content,d.content),children:O})]})]})};export{m as AppFilterPanelLayout};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/ui",
3
- "version": "0.50.0-1",
3
+ "version": "0.50.0-2",
4
4
  "description": "Shared components/utils for Corva ui projects",
5
5
  "keywords": [
6
6
  "corva-ui"