@corva/ui 0.73.0-7 → 0.73.0-8
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/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
- package/cjs-bundle/icons/IconParkProvider.js +1 -1
- package/cjs-bundle/icons/WithCustomSize.js +1 -1
- package/cjs-bundle/icons/constants.js +1 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.d.ts.map +1 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
- package/icons/IconParkProvider.js +1 -1
- package/icons/WithCustomSize.d.ts.map +1 -1
- package/icons/WithCustomSize.js +1 -1
- package/icons/constants.d.ts +1 -0
- package/icons/constants.d.ts.map +1 -1
- package/icons/constants.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../../ext-esm/tslib/tslib.es6.js'),t=require("react/jsx-runtime"),i=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../../ext-esm/tslib/tslib.es6.js'),t=require("react/jsx-runtime"),i=require("classnames"),r=require("@material-ui/core"),s=require("@material-ui/icons/FilterList"),a=require("../AppSideBar/AppSideBar.js"),n=require("../../IconButton/index.js"),o=require("../AppSettingsPopover/AppSettingsPopover.js"),l=require("../../Button/index.js"),p=require("../../../effects/useMatchAppContainerSize.js"),d=require("../../../utils/mobileDetect.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=c(i),h=c(s),g=r.makeStyles({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%"},popoverContent:{padding:"0 16px"},filtersTrigger:{width:30,height:30}}),f=function(i){var s=r.useTheme(),a=p.useMatchAppContainerSize({width:{max:s.breakpoints.width("md")}}),o=g();return a?t.jsx(n,e.__assign({className:o.filtersTrigger,size:"small",tooltipProps:{title:"Filters"},variant:"contained"},i,{children:t.jsx(h.default,{})})):t.jsx(l,e.__assign({startIcon:t.jsx(h.default,{})},i,{children:"Filters"}))};exports.AppFilterPanelLayout=function(i){var s=i.appSettingsPopoverProps,n=i.children,l=i.classes,c=void 0===l?{}:l,h=i.header,x=i.sideBarContent,m=i.sideBarProps,v=g(),j=r.useTheme(),_=p.useMatchAppContainerSize({width:{max:j.breakpoints.width("md")}}),y=d.isNativeDetected||d.isMobileDetected||_;return t.jsxs("div",e.__assign({className:u.default(v.appLayout,c.appLayout)},{children:[y&&t.jsxs("div",e.__assign({className:u.default(v.header,c.header)},{children:[t.jsx(o.AppSettingsPopover,e.__assign({Trigger:f,classes:{popoverContent:v.popoverContent},header:"Filters",anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}},s,{children:x})),h]})),t.jsxs("div",e.__assign({className:u.default(v.contentWrapper,c.contentWrapper)},{children:[!y&&t.jsx(a,e.__assign({},m,{anchor:"left"},{children:x})),t.jsx("div",e.__assign({className:u.default(v.content,c.content)},{children:n}))]}))]}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),r=require("@icon-park/react"),t=require("react/jsx-runtime");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(e);function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?c(Object(t),!0).forEach((function(r){o.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var u=i(i({},r.DEFAULT_ICON_CONFIGS),{},{strokeWidth:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),r=require("@icon-park/react"),t=require("react/jsx-runtime");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(e);function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?c(Object(t),!0).forEach((function(r){o.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var u=i(i({},r.DEFAULT_ICON_CONFIGS),{},{strokeWidth:3,size:24,colors:i(i({},r.DEFAULT_ICON_CONFIGS.colors),{},{outline:{background:"transparent",fill:"#fff"}})});exports.IconParkProvider=function(e){var n=e.children;return t.jsx(r.IconProvider,{value:u,children:n})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),t=require("classnames"),i=require("@material-ui/core"),s=require("./constants.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(t),u=i.makeStyles({iconWrapper:function(e){var r=e.iconSize,t=void 0===r?24:r;return{width:t,height:t}}});exports.withCustomSize=function(t){return function(i){var n=i.size,o=i.className,c=e.__rest(i,["size","className"]),l="string"==typeof n?s.ICON_SIZES[n]:n,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),t=require("classnames"),i=require("@material-ui/core"),s=require("./constants.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(t),u=i.makeStyles({iconWrapper:function(e){var r=e.iconSize,t=void 0===r?24:r;return{width:t,height:t}}});exports.withCustomSize=function(t){return function(i){var n=i.size,o=i.className,c=e.__rest(i,["size","className"]),l="string"==typeof n?s.ICON_SIZES[n]:n,_=s.STROKE_WIDTH_BY_ICON_SIZE[l||24],d=u({iconSize:l});return r.jsx(t,e.__assign({strokeWidth:_},c,{className:a.default(d.iconWrapper,o),size:l}))}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.ICON_SIZES={small:16,medium:24};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.ICON_SIZES={small:16,medium:24},exports.STROKE_WIDTH_BY_ICON_SIZE={16:4,24:3};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppFilterPanelLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKlC,OAA4B,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"AppFilterPanelLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKlC,OAA4B,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAGpG,OAAO,EAEL,uBAAuB,EACxB,MAAM,8DAA8D,CAAC;AA6CtE,MAAM,WAAW,yBAAyB;IACxC,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAClD,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE;QACP,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,cAAc,EAAE,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,eAAe,CAAC;CAChC;AA+BD,eAAO,MAAM,oBAAoB,0FAO9B,yBAAyB,KAAG,WA0C9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsxs as t,jsx as i}from"react/jsx-runtime";import{makeStyles as
|
|
1
|
+
import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsxs as t,jsx as i}from"react/jsx-runtime";import r from"classnames";import{makeStyles as o,useTheme as n}from"@material-ui/core";import a from"@material-ui/icons/FilterList";import p from"../AppSideBar/AppSideBar.js";import s from"../../IconButton/index.js";import{AppSettingsPopover as l}from"../AppSettingsPopover/AppSettingsPopover.js";import d from"../../Button/index.js";import{useMatchAppContainerSize as c}from"../../../effects/useMatchAppContainerSize.js";import{isNativeDetected as m,isMobileDetected as h}from"../../../utils/mobileDetect.js";var f=o({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%"},popoverContent:{padding:"0 16px"},filtersTrigger:{width:30,height:30}}),g=function(t){var r=n(),o=c({width:{max:r.breakpoints.width("md")}}),p=f();return o?i(s,e({className:p.filtersTrigger,size:"small",tooltipProps:{title:"Filters"},variant:"contained"},t,{children:i(a,{})})):i(d,e({startIcon:i(a,{})},t,{children:"Filters"}))},u=function(o){var a=o.appSettingsPopoverProps,s=o.children,d=o.classes,u=void 0===d?{}:d,v=o.header,x=o.sideBarContent,j=o.sideBarProps,w=f(),y=n(),A=c({width:{max:y.breakpoints.width("md")}}),B=m||h||A;return t("div",e({className:r(w.appLayout,u.appLayout)},{children:[B&&t("div",e({className:r(w.header,u.header)},{children:[i(l,e({Trigger:g,classes:{popoverContent:w.popoverContent},header:"Filters",anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}},a,{children:x})),v]})),t("div",e({className:r(w.contentWrapper,u.contentWrapper)},{children:[!B&&i(p,e({},j,{anchor:"left"},{children:x})),i("div",e({className:r(w.content,u.content)},{children:s}))]}))]}))};export{u as AppFilterPanelLayout};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import{DEFAULT_ICON_CONFIGS as e,IconProvider as t}from"@icon-park/react";import{jsx as o}from"react/jsx-runtime";function n(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,o)}return t}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}var i=c(c({},e),{},{strokeWidth:
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import{DEFAULT_ICON_CONFIGS as e,IconProvider as t}from"@icon-park/react";import{jsx as o}from"react/jsx-runtime";function n(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,o)}return t}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}var i=c(c({},e),{},{strokeWidth:3,size:24,colors:c(c({},e.colors),{},{outline:{background:"transparent",fill:"#fff"}})}),p=function(r){var e=r.children;return o(t,{value:i,children:e})};export{p as IconParkProvider};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WithCustomSize.d.ts","sourceRoot":"","sources":["../../src/icons/WithCustomSize.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,aAAa,EAAmB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"WithCustomSize.d.ts","sourceRoot":"","sources":["../../src/icons/WithCustomSize.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,aAAa,EAAmB,MAAM,SAAS,CAAC;AAYzD,eAAO,MAAM,cAAc,qBAAsB,aAAa,oCACtB,aAAa,KAAG,WAcvD,CAAC"}
|
package/icons/WithCustomSize.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as r,__assign as i}from'./../ext-esm/tslib/tslib.es6.js';import{jsx as e}from"react/jsx-runtime";import o from"classnames";import{makeStyles as t}from"@material-ui/core";import{ICON_SIZES as s}from"./constants.js";var
|
|
1
|
+
import{__rest as r,__assign as i}from'./../ext-esm/tslib/tslib.es6.js';import{jsx as e}from"react/jsx-runtime";import o from"classnames";import{makeStyles as t}from"@material-ui/core";import{ICON_SIZES as s,STROKE_WIDTH_BY_ICON_SIZE as n}from"./constants.js";var a=t({iconWrapper:function(r){var i=r.iconSize,e=void 0===i?24:i;return{width:e,height:e}}}),m=function(t){return function(m){var c=m.size,p=m.className,f=r(m,["size","className"]),u="string"==typeof c?s[c]:c,l=n[u||24],d=a({iconSize:u});return e(t,i({strokeWidth:l},f,{className:o(d.iconWrapper,p),size:u}))}};export{m as withCustomSize};
|
package/icons/constants.d.ts
CHANGED
package/icons/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/icons/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAGnD,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/icons/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAGnD,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,IAAI,GAAG,IAAI,EAAE,MAAM,CAGjE,CAAC"}
|
package/icons/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var m={small:16,medium:24};export{m as ICON_SIZES};
|
|
1
|
+
var m={small:16,medium:24},a={16:4,24:3};export{m as ICON_SIZES,a as STROKE_WIDTH_BY_ICON_SIZE};
|