@corva/ui 0.50.0-0 → 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.
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.d.ts.map +1 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
- package/components/IconButton/index.js +1 -1
- package/components/LoadingIndicator/FullScreenLoadingIndicator.d.ts +1 -1
- package/components/LoadingIndicator/InlineLoadingIndicator.d.ts +1 -1
- package/components/LoadingIndicator/LoadingIndicator.d.ts +1 -1
- package/components/LoadingIndicator/types.d.ts +2 -2
- package/components/LoadingIndicator/types.js +1 -1
- package/components/Table/TableCell/TableCell.d.ts +2 -2
- package/components/Table/TableCell/TableCell.d.ts.map +1 -1
- package/components/Table/TableCell/TableCell.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppFilterPanelLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js"],"names":[],"mappings":"AAwCO;;;;;;;
|
|
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
|
|
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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as o,__assign as t}from"../../_virtual/_tslib.js";import{jsx as r}from"react/jsx-runtime";import i from"prop-types";import a from"classnames";import{makeStyles as e,Tooltip as n,IconButton as l}from"@material-ui/core";import{useState as s}from"react";var d=e((function(o){return{root:{color:o.palette.primary.text6,padding:6,"&:hover":{color:"#FFFFFF",backgroundColor:o.palette.background.b7,"&.MuiIconButton-colorPrimary":{color:o.palette.primary.main}},"&:active":{color:"#FFFFFF","&.MuiIconButton-colorPrimary":{color:o.palette.primary.main}},"&.Mui-disabled":{pointerEvents:"all",opacity:.4,color:"#FFFFFF","&.MuiIconButton-colorPrimary":{color:o.palette.primary.main}},"& .MuiSvgIcon-root":{color:"inherit",fontSize:"inherit"}},colorPrimary:{color:o.palette.primary.main},sizeSmall:{fontSize:16,padding:7},sizeLarge:{"&.MuiButtonBase-root":{padding:8}},contained:{backgroundColor:o.palette.background.b9},containedDisabled:{"&.MuiButtonBase-root":{backgroundColor:o.palette.background.b9}},tooltip:{top:"-10px !important"}}})),c=function(i){var e,c,p=i.tooltipProps,m=void 0===p?{title:void 0}:p,u=o(i,["tooltipProps"]),g=u.size,b=u.variant,f=u.classes,F=void 0===f?{}:f,y=u["data-testid"],v=d(),P=s(!1),z=P[0],B=P[1],M=t(t({},F),{root:a(F.root,v.root,(e={},e[v.sizeLarge]="large"===g,e[v.contained]="contained"===b,e)),disabled:a(F.disabled,(c={},c[v.containedDisabled]="contained"===b,c)),colorPrimary:a(F.colorPrimary,v.colorPrimary),sizeSmall:a(F.sizeSmall,v.sizeSmall)});return m.title?r(n,t({
|
|
1
|
+
import{__rest as o,__assign as t}from"../../_virtual/_tslib.js";import{jsx as r}from"react/jsx-runtime";import i from"prop-types";import a from"classnames";import{makeStyles as e,Tooltip as n,IconButton as l}from"@material-ui/core";import{useState as s}from"react";var d=e((function(o){return{root:{color:o.palette.primary.text6,padding:6,"&:hover":{color:"#FFFFFF",backgroundColor:o.palette.background.b7,"&.MuiIconButton-colorPrimary":{color:o.palette.primary.main}},"&:active":{color:"#FFFFFF","&.MuiIconButton-colorPrimary":{color:o.palette.primary.main}},"&.Mui-disabled":{pointerEvents:"all",opacity:.4,color:"#FFFFFF","&.MuiIconButton-colorPrimary":{color:o.palette.primary.main}},"& .MuiSvgIcon-root":{color:"inherit",fontSize:"inherit"}},colorPrimary:{color:o.palette.primary.main},sizeSmall:{fontSize:16,padding:7},sizeLarge:{"&.MuiButtonBase-root":{padding:8}},contained:{backgroundColor:o.palette.background.b9},containedDisabled:{"&.MuiButtonBase-root":{backgroundColor:o.palette.background.b9}},tooltip:{top:"-10px !important"}}})),c=function(i){var e,c,p=i.tooltipProps,m=void 0===p?{title:void 0}:p,u=o(i,["tooltipProps"]),g=u.size,b=u.variant,f=u.classes,F=void 0===f?{}:f,y=u["data-testid"],v=d(),P=s(!1),z=P[0],B=P[1],M=t(t({},F),{root:a(F.root,v.root,(e={},e[v.sizeLarge]="large"===g,e[v.contained]="contained"===b,e)),disabled:a(F.disabled,(c={},c[v.containedDisabled]="contained"===b,c)),colorPrimary:a(F.colorPrimary,v.colorPrimary),sizeSmall:a(F.sizeSmall,v.sizeSmall)});return m.title?r(n,t({open:z},m,{children:r(l,t({"data-testid":y,classes:M,onMouseOver:function(){return B(!0)},onMouseOut:function(){return B(!1)}},u))})):r(l,t({"data-testid":y,classes:M},u))},p={size:i.oneOf(["small","medium","large"]),variant:i.oneOf(["default","contained"]),tooltipProps:i.shape({title:i.string}),classes:i.shape({root:i.string,disabled:i.string,colorPrimary:i.string,sizeSmall:i.string}),disabled:i.bool,"data-testid":i.string};c.propTypes=p,c.defaultProps={size:"medium",variant:"default",tooltipProps:{title:void 0},disabled:!1,"data-testid":"IconButton"};export{c as default};
|
|
@@ -2,7 +2,7 @@ import { FullScreenLoadingIndicatorProps } from "./types";
|
|
|
2
2
|
declare const FullScreenLoadingIndicator: {
|
|
3
3
|
(props: FullScreenLoadingIndicatorProps): JSX.Element;
|
|
4
4
|
propTypes: {
|
|
5
|
-
className: import("prop-types").Requireable<
|
|
5
|
+
className: import("prop-types").Requireable<string>;
|
|
6
6
|
white: import("prop-types").Requireable<boolean>;
|
|
7
7
|
size: import("prop-types").Requireable<number>;
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import { InlineLoadingIndicatorProps } from "./types";
|
|
|
2
2
|
declare const InlineLoadingIndicator: {
|
|
3
3
|
(props: InlineLoadingIndicatorProps): JSX.Element;
|
|
4
4
|
propTypes: {
|
|
5
|
-
className: import("prop-types").Requireable<
|
|
5
|
+
className: import("prop-types").Requireable<string>;
|
|
6
6
|
white: import("prop-types").Requireable<boolean>;
|
|
7
7
|
size: import("prop-types").Requireable<number>;
|
|
8
8
|
};
|
|
@@ -3,7 +3,7 @@ declare const LoadingIndicator: {
|
|
|
3
3
|
({ fullscreen, ...props }: LoadingIndicatorProps): JSX.Element;
|
|
4
4
|
propTypes: {
|
|
5
5
|
fullscreen: import("prop-types").Requireable<boolean>;
|
|
6
|
-
className: import("prop-types").Requireable<
|
|
6
|
+
className: import("prop-types").Requireable<string>;
|
|
7
7
|
white: import("prop-types").Requireable<boolean>;
|
|
8
8
|
size: import("prop-types").Requireable<number>;
|
|
9
9
|
};
|
|
@@ -4,13 +4,13 @@ export declare const loaderPropTypes: {
|
|
|
4
4
|
size: PropTypes.Requireable<number>;
|
|
5
5
|
};
|
|
6
6
|
export declare const screenLoadingIndicatorPropTypes: {
|
|
7
|
-
className: PropTypes.Requireable<
|
|
7
|
+
className: PropTypes.Requireable<string>;
|
|
8
8
|
white: PropTypes.Requireable<boolean>;
|
|
9
9
|
size: PropTypes.Requireable<number>;
|
|
10
10
|
};
|
|
11
11
|
export declare const loadingIndicatorPropTypes: {
|
|
12
12
|
fullscreen: PropTypes.Requireable<boolean>;
|
|
13
|
-
className: PropTypes.Requireable<
|
|
13
|
+
className: PropTypes.Requireable<string>;
|
|
14
14
|
white: PropTypes.Requireable<boolean>;
|
|
15
15
|
size: PropTypes.Requireable<number>;
|
|
16
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as r}from"../../_virtual/_tslib.js";import o from"prop-types";var e={white:o.bool,size:o.number},
|
|
1
|
+
import{__assign as r}from"../../_virtual/_tslib.js";import o from"prop-types";var e={white:o.bool,size:o.number},s=r(r({},e),{className:o.string}),t=r(r({},s),{fullscreen:o.bool});export{e as loaderPropTypes,t as loadingIndicatorPropTypes,s as screenLoadingIndicatorPropTypes};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export function TableCell({ isExpanded,
|
|
1
|
+
export function TableCell({ isExpanded, setIsExpanded, tooltipTitle, collapsibleHeader, collapsibleBody, maxCellWidth, maxCharsNumberFromStart, maxCharsNumberFromEnd, cellWidth, children, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
isExpanded: any;
|
|
4
|
-
|
|
4
|
+
setIsExpanded: any;
|
|
5
5
|
tooltipTitle: any;
|
|
6
6
|
collapsibleHeader: any;
|
|
7
7
|
collapsibleBody: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/TableCell/TableCell.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/TableCell/TableCell.js"],"names":[],"mappings":"AAiCO;;;;;;;;;;;;gBAoEN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import{makeStyles as e}from"@material-ui/core";import"@material-ui/icons";import"classnames";import"../../IconButton/index.js";import"../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../Tooltip/MuiTooltipDcWrapper.js";import"react/jsx-runtime";e((function(e){return{stickyCell:{position:"sticky",left:0,zIndex:2,background:e.palette.background.b6},stickyEmptyCell:{position:"sticky",right:0,zIndex:2},collapseHeader:{width:function(e){var r=e.isExpanded,t=e.maxCellWidth,i=e.cellWidth;return r?t:i}},tableCellWrapper:{display:"flex",alignItems:"center",justifyContent:"space-between"},iconButton:{padding:0,fontSize:16}}}));
|
|
1
|
+
import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/objectWithoutProperties";import"react";import{makeStyles as e}from"@material-ui/core";import"@material-ui/icons";import"classnames";import"../../IconButton/index.js";import"../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../Tooltip/MuiTooltipDcWrapper.js";import"react/jsx-runtime";e((function(e){return{stickyCell:{position:"sticky",left:0,zIndex:2,background:e.palette.background.b6},stickyEmptyCell:{position:"sticky",right:0,zIndex:2},collapseHeader:{width:function(e){var r=e.isExpanded,t=e.maxCellWidth,i=e.cellWidth;return r?t:i}},tableCellWrapper:{display:"flex",alignItems:"center",justifyContent:"space-between"},iconButton:{padding:0,fontSize:16}}}));
|