@corva/ui 0.98.0-7 → 0.98.0-9
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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@material-ui/core").makeStyles((function(t){return{popper:{'&[x-placement*="bottom"]':{marginTop:t.spacing(1),"& $arrow":{bottom:"100%",borderBottomColor:t.palette.info.dark,borderTop:0}},'&[x-placement*="top"]':{marginBottom:t.spacing(1),"& $arrow":{top:"100%",borderTopColor:t.palette.info.dark,borderBottom:0}},'&[x-placement*="left"]':{marginRight:t.spacing(1),"& $arrow":{left:"100%",borderLeftColor:t.palette.info.dark,borderRight:0}},'&[x-placement*="right"]':{marginLeft:t.spacing(1),"& $arrow":{right:"100%",borderRightColor:t.palette.info.dark,borderLeft:0}}},tooltip:{backgroundColor:t.palette.info.dark,padding:t.spacing(2),borderRadius:t.spacing(1),width:300,display:"flex",flexFlow:"row wrap",gap:t.spacing(.75,2),alignItems:"flex-start"},arrow:{color:t.palette.info.dark,position:"absolute",border:"".concat(t.spacing(1)+1,"px solid transparent"),margin:-1},close:{color:"".concat(t.palette.primary.text1,"!important")},hasClose:{},title:{fontSize:18,fontWeight:500,lineHeight:"24px",flex:"0 0 100%",overflow:"hidden","&$hasClose":{flexBasis:"calc(100% - 48px)"}},content:{flex:"0 0 100%"},button:{backgroundColor:"".concat(t.palette.primary.text1,"1a!important"),marginLeft:"auto!important","&:hover":{backgroundColor:"".concat(t.palette.primary.text1,"33!important")}}}}));exports.useStyles=t;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@material-ui/core").makeStyles((function(t){return{popper:{zIndex:t.zIndex.modal-1,'&[x-placement*="bottom"]':{marginTop:t.spacing(1),"& $arrow":{bottom:"100%",borderBottomColor:t.palette.info.dark,borderTop:0}},'&[x-placement*="top"]':{marginBottom:t.spacing(1),"& $arrow":{top:"100%",borderTopColor:t.palette.info.dark,borderBottom:0}},'&[x-placement*="left"]':{marginRight:t.spacing(1),"& $arrow":{left:"100%",borderLeftColor:t.palette.info.dark,borderRight:0}},'&[x-placement*="right"]':{marginLeft:t.spacing(1),"& $arrow":{right:"100%",borderRightColor:t.palette.info.dark,borderLeft:0}}},tooltip:{backgroundColor:t.palette.info.dark,padding:t.spacing(2),borderRadius:t.spacing(1),width:300,display:"flex",flexFlow:"row wrap",gap:t.spacing(.75,2),alignItems:"flex-start"},arrow:{color:t.palette.info.dark,position:"absolute",border:"".concat(t.spacing(1)+1,"px solid transparent"),margin:-1},close:{color:"".concat(t.palette.primary.text1,"!important")},hasClose:{},title:{fontSize:18,fontWeight:500,lineHeight:"24px",flex:"0 0 100%",overflow:"hidden","&$hasClose":{flexBasis:"calc(100% - 48px)"}},content:{flex:"0 0 100%"},button:{backgroundColor:"".concat(t.palette.primary.text1,"1a!important"),marginLeft:"auto!important","&:hover":{backgroundColor:"".concat(t.palette.primary.text1,"33!important")}}}}));exports.useStyles=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Hint/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Hint/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,qJAkFnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{makeStyles as o}from"@material-ui/core";var t=o((function(o){return{popper:{'&[x-placement*="bottom"]':{marginTop:o.spacing(1),"& $arrow":{bottom:"100%",borderBottomColor:o.palette.info.dark,borderTop:0}},'&[x-placement*="top"]':{marginBottom:o.spacing(1),"& $arrow":{top:"100%",borderTopColor:o.palette.info.dark,borderBottom:0}},'&[x-placement*="left"]':{marginRight:o.spacing(1),"& $arrow":{left:"100%",borderLeftColor:o.palette.info.dark,borderRight:0}},'&[x-placement*="right"]':{marginLeft:o.spacing(1),"& $arrow":{right:"100%",borderRightColor:o.palette.info.dark,borderLeft:0}}},tooltip:{backgroundColor:o.palette.info.dark,padding:o.spacing(2),borderRadius:o.spacing(1),width:300,display:"flex",flexFlow:"row wrap",gap:o.spacing(.75,2),alignItems:"flex-start"},arrow:{color:o.palette.info.dark,position:"absolute",border:"".concat(o.spacing(1)+1,"px solid transparent"),margin:-1},close:{color:"".concat(o.palette.primary.text1,"!important")},hasClose:{},title:{fontSize:18,fontWeight:500,lineHeight:"24px",flex:"0 0 100%",overflow:"hidden","&$hasClose":{flexBasis:"calc(100% - 48px)"}},content:{flex:"0 0 100%"},button:{backgroundColor:"".concat(o.palette.primary.text1,"1a!important"),marginLeft:"auto!important","&:hover":{backgroundColor:"".concat(o.palette.primary.text1,"33!important")}}}}));export{t as useStyles};
|
|
1
|
+
import{makeStyles as o}from"@material-ui/core";var t=o((function(o){return{popper:{zIndex:o.zIndex.modal-1,'&[x-placement*="bottom"]':{marginTop:o.spacing(1),"& $arrow":{bottom:"100%",borderBottomColor:o.palette.info.dark,borderTop:0}},'&[x-placement*="top"]':{marginBottom:o.spacing(1),"& $arrow":{top:"100%",borderTopColor:o.palette.info.dark,borderBottom:0}},'&[x-placement*="left"]':{marginRight:o.spacing(1),"& $arrow":{left:"100%",borderLeftColor:o.palette.info.dark,borderRight:0}},'&[x-placement*="right"]':{marginLeft:o.spacing(1),"& $arrow":{right:"100%",borderRightColor:o.palette.info.dark,borderLeft:0}}},tooltip:{backgroundColor:o.palette.info.dark,padding:o.spacing(2),borderRadius:o.spacing(1),width:300,display:"flex",flexFlow:"row wrap",gap:o.spacing(.75,2),alignItems:"flex-start"},arrow:{color:o.palette.info.dark,position:"absolute",border:"".concat(o.spacing(1)+1,"px solid transparent"),margin:-1},close:{color:"".concat(o.palette.primary.text1,"!important")},hasClose:{},title:{fontSize:18,fontWeight:500,lineHeight:"24px",flex:"0 0 100%",overflow:"hidden","&$hasClose":{flexBasis:"calc(100% - 48px)"}},content:{flex:"0 0 100%"},button:{backgroundColor:"".concat(o.palette.primary.text1,"1a!important"),marginLeft:"auto!important","&:hover":{backgroundColor:"".concat(o.palette.primary.text1,"33!important")}}}}));export{t as useStyles};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ChangeEvent, ComponentType, MouseEventHandler, ReactNode } from 'react';
|
|
2
2
|
import { AutocompleteProps } from '@material-ui/lab';
|
|
3
|
+
import { InputProps as MuiInputProps } from '@material-ui/core';
|
|
3
4
|
declare type SearchProps = {
|
|
4
5
|
onChange: (event: ChangeEvent<{}>, selected: any | any[] | null) => void;
|
|
5
6
|
value?: object | object[];
|
|
6
7
|
options?: {
|
|
7
|
-
label
|
|
8
|
+
label?: string;
|
|
8
9
|
id: string;
|
|
9
10
|
group?: string;
|
|
10
11
|
}[];
|
|
@@ -35,13 +36,7 @@ declare type SearchProps = {
|
|
|
35
36
|
multiple?: boolean;
|
|
36
37
|
optionSize?: 'large';
|
|
37
38
|
popupIcon?: ReactNode;
|
|
38
|
-
InputProps?:
|
|
39
|
-
startAdornment?: ReactNode;
|
|
40
|
-
classes?: {
|
|
41
|
-
input?: string;
|
|
42
|
-
};
|
|
43
|
-
style?: object;
|
|
44
|
-
};
|
|
39
|
+
InputProps?: Partial<MuiInputProps>;
|
|
45
40
|
ListboxProps?: object;
|
|
46
41
|
classes?: Partial<{
|
|
47
42
|
popper: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../src/components/Search/Search.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EAEX,aAAa,EAEb,iBAAiB,EACjB,SAAS,EAMV,MAAM,OAAO,CAAC;AAGf,OAAO,EAAgB,iBAAiB,EAAiC,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../src/components/Search/Search.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EAEX,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