@corva/ui 0.87.0-5 → 0.87.0-7

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";var i=require("./palette.mjs.js").primary,o={MuiFab:{root:{width:40,height:40,borderRadius:8,color:"#141414","&.Mui-disabled":{backgroundColor:i.main,color:"#141414",opacity:"0.4"}},primary:{color:"#141414","&:hover":{backgroundColor:i.light}},sizeSmall:{width:32,height:32,minHeight:32,"& .MuiSvgIcon-root":{fontSize:16}},sizeMedium:{width:36,height:36}}};module.exports=o;
1
+ "use strict";var o=require("./palette.mjs.js").primary,i={MuiFab:{root:{width:40,height:40,borderRadius:8,boxShadow:"none",color:"#141414","&.Mui-disabled":{backgroundColor:o.main,color:"#141414",opacity:"0.4"}},primary:{color:"#141414","&:hover":{backgroundColor:o.light}},sizeSmall:{width:32,height:32,minHeight:32,"& .MuiSvgIcon-root":{fontSize:16}},sizeMedium:{width:36,height:36}}};module.exports=i;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
+ import { ButtonProps } from '../Button';
2
3
  import { LiveButtonState, LiveButtonStateType } from './constants';
3
- export interface LiveButtonProps {
4
+ export interface LiveButtonProps extends ButtonProps {
4
5
  children?: React.ReactNode;
5
6
  className?: string;
6
7
  lastActiveAt?: string;
@@ -9,7 +10,7 @@ export interface LiveButtonProps {
9
10
  state?: LiveButtonStateType;
10
11
  tooltipProps?: Record<string, any>;
11
12
  }
12
- export declare const getTooltipText: (state: LiveButtonStateType, lastActiveAt: any) => JSX.Element | "Go to Live data" | "Data receiving in real-time";
13
+ export declare const getTooltipText: (state: LiveButtonStateType, lastActiveAt?: string) => JSX.Element | "Go to Live data" | "Data receiving in real-time";
13
14
  export declare const LiveButton: React.FC<LiveButtonProps>;
14
15
  export { LiveButtonState };
15
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/components/LiveButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAInE,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,cAAc,UAAW,mBAAmB,uFAWxD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAyChD,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/components/LiveButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAe,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAInE,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,cAAc,UAAW,mBAAmB,iBAAiB,MAAM,oEAW/E,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAyChD,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -4,6 +4,7 @@ declare namespace _default {
4
4
  width: number;
5
5
  height: number;
6
6
  borderRadius: number;
7
+ boxShadow: string;
7
8
  color: string;
8
9
  '&.Mui-disabled': {
9
10
  backgroundColor: string;
@@ -1 +1 @@
1
- import o from"./palette.mjs.js";var i=o.primary,r={MuiFab:{root:{width:40,height:40,borderRadius:8,color:"#141414","&.Mui-disabled":{backgroundColor:i.main,color:"#141414",opacity:"0.4"}},primary:{color:"#141414","&:hover":{backgroundColor:i.light}},sizeSmall:{width:32,height:32,minHeight:32,"& .MuiSvgIcon-root":{fontSize:16}},sizeMedium:{width:36,height:36}}};export{r as default};
1
+ import o from"./palette.mjs.js";var i=o.primary,r={MuiFab:{root:{width:40,height:40,borderRadius:8,boxShadow:"none",color:"#141414","&.Mui-disabled":{backgroundColor:i.main,color:"#141414",opacity:"0.4"}},primary:{color:"#141414","&:hover":{backgroundColor:i.light}},sizeSmall:{width:32,height:32,minHeight:32,"& .MuiSvgIcon-root":{fontSize:16}},sizeMedium:{width:36,height:36}}};export{r as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/ui",
3
- "version": "0.87.0-5",
3
+ "version": "0.87.0-7",
4
4
  "description": "Shared components/utils for Corva ui projects",
5
5
  "keywords": [
6
6
  "corva-ui"