@fixefy/fixefy-ui-components 0.3.99 → 0.3.100
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/dist/FxActionsTray/FxActionsTray.d.ts +1 -2
- package/dist/FxActionsTray/FxActionsTray.js +1 -1
- package/dist/FxActionsTray/styles/actionsTray.style.d.ts +1 -7
- package/dist/FxAsyncDropdown/types.d.ts +0 -1
- package/dist/FxButtonModalWithComponent/FxButtonModalWithComponent.d.ts +1 -2
- package/dist/FxButtonModalWithComponent/FxButtonModalWithComponent.js +1 -1
- package/dist/FxButtonModalWithMenu/FxButtonModalWithMenu.d.ts +1 -2
- package/dist/FxButtonModalWithMenu/FxButtonModalWithMenu.js +1 -1
- package/dist/FxChip/FxChip.d.ts +0 -1
- package/dist/FxGridEmptyState/FxGridEmptyState.d.ts +1 -5
- package/dist/FxGridEmptyState/FxGridEmptyState.js +5 -5
- package/dist/FxNumberField/styles/number_field.styles.d.ts +1 -1
- package/dist/FxObjStaticDropdown/FxObjStaticDropdown.d.ts +0 -1
- package/dist/FxScore/styles/score.styles.d.ts +1 -7
- package/dist/FxStatisticsBar/styles/statistics.styles.d.ts +1 -1
- package/dist/FxStrStaticDropdown/FxStrStaticDropdown.d.ts +0 -1
- package/dist/FxUserImage/FxUserImage.d.ts +1 -2
- package/dist/FxUserImage/FxUserImage.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const FxActionsTray: ({ ctx, entityType, show, actions, onClose, onClick,
|
|
2
|
+
export declare const FxActionsTray: ({ ctx, entityType, show, actions, onClose, onClick, }: {
|
|
3
3
|
ctx: any;
|
|
4
4
|
entityType?: string;
|
|
5
5
|
show: boolean;
|
|
@@ -7,5 +7,4 @@ export declare const FxActionsTray: ({ ctx, entityType, show, actions, onClose,
|
|
|
7
7
|
onClose: () => void;
|
|
8
8
|
onApprove?: (event: any) => void;
|
|
9
9
|
onClick: (event: any, action: any) => void;
|
|
10
|
-
assetUrl?: string;
|
|
11
10
|
}) => React.JSX.Element;
|
|
@@ -25,7 +25,7 @@ function _interop_require_default(obj) {
|
|
|
25
25
|
default: obj
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
-
const FxActionsTray = ({ ctx, entityType = 'item', show = false, actions = [], onClose, onClick
|
|
28
|
+
const FxActionsTray = ({ ctx, entityType = 'item', show = false, actions = [], onClose, onClick })=>{
|
|
29
29
|
const { classes } = (0, _actionsTraystyle.useStyles)();
|
|
30
30
|
const { selection = [], selectAll, ultraSelectAll, totalCount } = ctx;
|
|
31
31
|
const selectedCount = selectAll === true && ultraSelectAll === true ? totalCount : selection.length;
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const useStyles: (params: void, muiStyleOverridesParams?: import("tss-react/mui/themeStyleOverridesPlugin").MuiThemeStyleOverridesPluginParams["muiStyleOverridesParams"]) => {
|
|
3
|
-
classes: Record<"container" | "approveButton" | "paper" | "selected" | "divider" | "actions" | "close" | "actionButton", string>;
|
|
4
|
-
theme: import("@mui/material/styles").Theme;
|
|
5
|
-
css: import("tss-react").Css;
|
|
6
|
-
cx: import("tss-react").Cx;
|
|
7
|
-
};
|
|
1
|
+
export declare const useStyles: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const FxButtonModalWithComponent: ({ btnType, btnValue, modalData, onClick, disabled, startIcon, endIcon, sx, iconSize,
|
|
2
|
+
export declare const FxButtonModalWithComponent: ({ btnType, btnValue, modalData, onClick, disabled, startIcon, endIcon, sx, iconSize, }: {
|
|
3
3
|
btnType?: "text" | "icon";
|
|
4
4
|
btnValue?: string;
|
|
5
5
|
modalData: any;
|
|
@@ -9,5 +9,4 @@ export declare const FxButtonModalWithComponent: ({ btnType, btnValue, modalData
|
|
|
9
9
|
endIcon?: string;
|
|
10
10
|
sx?: any;
|
|
11
11
|
iconSize?: number;
|
|
12
|
-
assetUrl?: string;
|
|
13
12
|
}) => React.JSX.Element;
|
|
@@ -60,7 +60,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
60
60
|
}
|
|
61
61
|
return newObj;
|
|
62
62
|
}
|
|
63
|
-
const FxButtonModalWithComponent = ({ btnType = 'text', btnValue, modalData, onClick, disabled, startIcon, endIcon, sx, iconSize
|
|
63
|
+
const FxButtonModalWithComponent = ({ btnType = 'text', btnValue, modalData, onClick, disabled, startIcon, endIcon, sx, iconSize })=>{
|
|
64
64
|
const [isOpen, setIsOpen] = (0, _react.useState)(false);
|
|
65
65
|
const [AnchorEl, setAnchorEl] = (0, _react.useState)(null);
|
|
66
66
|
const handleClick = (e)=>{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const FxButtonModalWithMenu: ({ btnType, btnValue, modalData, onClick, disabled, startIcon, endIcon, shouldShowModal, buttonSx, menuItemSx, iconSize,
|
|
2
|
+
export declare const FxButtonModalWithMenu: ({ btnType, btnValue, modalData, onClick, disabled, startIcon, endIcon, shouldShowModal, buttonSx, menuItemSx, iconSize, }: {
|
|
3
3
|
btnType?: "text" | "icon";
|
|
4
4
|
btnValue?: string;
|
|
5
5
|
modalData: any;
|
|
@@ -11,5 +11,4 @@ export declare const FxButtonModalWithMenu: ({ btnType, btnValue, modalData, onC
|
|
|
11
11
|
buttonSx?: any;
|
|
12
12
|
menuItemSx?: any;
|
|
13
13
|
iconSize?: number;
|
|
14
|
-
assetUrl?: string;
|
|
15
14
|
}) => React.JSX.Element;
|
|
@@ -61,7 +61,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
61
61
|
}
|
|
62
62
|
return newObj;
|
|
63
63
|
}
|
|
64
|
-
const FxButtonModalWithMenu = ({ btnType = 'text', btnValue, modalData, onClick, disabled, startIcon, endIcon, shouldShowModal = true, buttonSx, menuItemSx, iconSize
|
|
64
|
+
const FxButtonModalWithMenu = ({ btnType = 'text', btnValue, modalData, onClick, disabled, startIcon, endIcon, shouldShowModal = true, buttonSx, menuItemSx, iconSize })=>{
|
|
65
65
|
const [isOpen, setIsOpen] = (0, _react.useState)(false);
|
|
66
66
|
const [AnchorEl, setAnchorEl] = (0, _react.useState)(null);
|
|
67
67
|
const handleClick = (e)=>{
|
package/dist/FxChip/FxChip.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const FxGridEmptyState: ({ assetUrl
|
|
2
|
+
export declare const FxGridEmptyState: ({ assetUrl }: {
|
|
3
3
|
assetUrl?: string;
|
|
4
|
-
message?: string;
|
|
5
|
-
mainIcon?: string;
|
|
6
|
-
mainIconHeight?: number;
|
|
7
|
-
mainIconWidth?: number;
|
|
8
4
|
}) => React.JSX.Element;
|
|
@@ -18,7 +18,7 @@ function _interop_require_default(obj) {
|
|
|
18
18
|
default: obj
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
const FxGridEmptyState = ({ assetUrl
|
|
21
|
+
const FxGridEmptyState = ({ assetUrl })=>{
|
|
22
22
|
return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
|
|
23
23
|
sx: {
|
|
24
24
|
width: '100%',
|
|
@@ -44,9 +44,9 @@ const FxGridEmptyState = ({ assetUrl, message = 'There is currently no data to d
|
|
|
44
44
|
},
|
|
45
45
|
children: [
|
|
46
46
|
/*#__PURE__*/ (0, _jsxruntime.jsx)(_FxIcon.FxIcon, {
|
|
47
|
-
width:
|
|
48
|
-
height:
|
|
49
|
-
icon:
|
|
47
|
+
width: 279,
|
|
48
|
+
height: 250,
|
|
49
|
+
icon: 'table/table_no_results.svg',
|
|
50
50
|
assetUrl: assetUrl
|
|
51
51
|
}),
|
|
52
52
|
/*#__PURE__*/ (0, _jsxruntime.jsx)(_Box.default, {
|
|
@@ -65,7 +65,7 @@ const FxGridEmptyState = ({ assetUrl, message = 'There is currently no data to d
|
|
|
65
65
|
flexDirection: 'column',
|
|
66
66
|
children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
|
|
67
67
|
variant: "h5",
|
|
68
|
-
children:
|
|
68
|
+
children: "There is currently no data to display."
|
|
69
69
|
})
|
|
70
70
|
})
|
|
71
71
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles/withStyles").ClassNameMap<"
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles/withStyles").ClassNameMap<"label" | "container" | "hint" | "inputWrapper" | "inputActions" | "inputActionsPlus" | "inputActionsMinus">;
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface ScoreStylesPropsType {
|
|
3
|
-
scoreColor: keyof ScorePaletteColorOptions;
|
|
4
|
-
variant: 'box' | 'circle';
|
|
5
|
-
}
|
|
6
|
-
export declare const useStyles: (props: ScoreStylesPropsType) => import("@mui/styles/withStyles").ClassNameMap<"container" | "content" | "scoreNumber" | "scoreText" | "mainCircle" | "backgroundCircle">;
|
|
7
|
-
export {};
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles/withStyles").ClassNameMap<"content" | "container" | "scoreNumber" | "scoreText" | "mainCircle" | "backgroundCircle">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '@fixefy/fixefy-ui-utils';
|
|
2
|
-
export declare const useStyles: (props?: any) => import("@mui/styles/withStyles").ClassNameMap<"
|
|
2
|
+
export declare const useStyles: (props?: any) => import("@mui/styles/withStyles").ClassNameMap<"label" | "value" | "container" | "contrastLabel" | "contrastValue">;
|
|
@@ -20,6 +20,5 @@ export type StaticDropdownPropsType = {
|
|
|
20
20
|
placeholder?: string;
|
|
21
21
|
data: string[];
|
|
22
22
|
rootStylesOverride?: any;
|
|
23
|
-
assetUrl?: string;
|
|
24
23
|
};
|
|
25
24
|
export declare const FxStrStaticDropdown: React.ForwardRefExoticComponent<StaticDropdownPropsType & React.RefAttributes<unknown>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export declare const FxUserImage: ({ bucketAddress, user, loading, setLoading
|
|
1
|
+
export declare const FxUserImage: ({ bucketAddress, user, loading, setLoading }: {
|
|
2
2
|
bucketAddress: string;
|
|
3
3
|
user: any;
|
|
4
4
|
loading: boolean;
|
|
5
5
|
setLoading: (loading: boolean) => void;
|
|
6
|
-
assetUrl?: string;
|
|
7
6
|
}) => any;
|
|
@@ -92,7 +92,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
92
92
|
}
|
|
93
93
|
return newObj;
|
|
94
94
|
}
|
|
95
|
-
const FxUserImage = ({ bucketAddress, user, loading, setLoading
|
|
95
|
+
const FxUserImage = ({ bucketAddress, user, loading, setLoading })=>{
|
|
96
96
|
const getRandomColor = (0, _fixefyhooks.useRandomColor)();
|
|
97
97
|
const { listS3Bucket } = (0, _nexts3upload.useS3ListBucket)();
|
|
98
98
|
const { downloadFromS3 } = (0, _nexts3upload.useS3Download)('download-bytearray');
|
package/package.json
CHANGED