@fixefy/fixefy-ui-components 0.3.96 → 0.3.98
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/FxAsyncDropdown/types.d.ts +1 -0
- package/dist/FxChip/FxChip.d.ts +1 -0
- package/dist/FxGridEmptyState/FxGridEmptyState.d.ts +5 -1
- package/dist/FxGridEmptyState/FxGridEmptyState.js +5 -5
- package/dist/FxObjStaticDropdown/FxObjStaticDropdown.d.ts +1 -0
- package/dist/FxStrStaticDropdown/FxStrStaticDropdown.d.ts +1 -0
- package/package.json +1 -1
package/dist/FxChip/FxChip.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const FxGridEmptyState: ({ assetUrl }: {
|
|
2
|
+
export declare const FxGridEmptyState: ({ assetUrl, message, mainIcon, mainIconHeight, mainIconWidth }: {
|
|
3
3
|
assetUrl?: string;
|
|
4
|
+
message?: string;
|
|
5
|
+
mainIcon?: string;
|
|
6
|
+
mainIconHeight?: number;
|
|
7
|
+
mainIconWidth?: number;
|
|
4
8
|
}) => 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, message = 'There is currently no data to display.', mainIcon = 'table/table_no_results.svg', mainIconHeight = 250, mainIconWidth = 279 })=>{
|
|
22
22
|
return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
|
|
23
23
|
sx: {
|
|
24
24
|
width: '100%',
|
|
@@ -44,9 +44,9 @@ const FxGridEmptyState = ({ assetUrl })=>{
|
|
|
44
44
|
},
|
|
45
45
|
children: [
|
|
46
46
|
/*#__PURE__*/ (0, _jsxruntime.jsx)(_FxIcon.FxIcon, {
|
|
47
|
-
width:
|
|
48
|
-
height:
|
|
49
|
-
icon:
|
|
47
|
+
width: mainIconWidth,
|
|
48
|
+
height: mainIconHeight,
|
|
49
|
+
icon: mainIcon,
|
|
50
50
|
assetUrl: assetUrl
|
|
51
51
|
}),
|
|
52
52
|
/*#__PURE__*/ (0, _jsxruntime.jsx)(_Box.default, {
|
|
@@ -65,7 +65,7 @@ const FxGridEmptyState = ({ assetUrl })=>{
|
|
|
65
65
|
flexDirection: 'column',
|
|
66
66
|
children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
|
|
67
67
|
variant: "h5",
|
|
68
|
-
children:
|
|
68
|
+
children: message
|
|
69
69
|
})
|
|
70
70
|
})
|
|
71
71
|
})
|
|
@@ -20,5 +20,6 @@ export type StaticDropdownPropsType = {
|
|
|
20
20
|
placeholder?: string;
|
|
21
21
|
data: string[];
|
|
22
22
|
rootStylesOverride?: any;
|
|
23
|
+
assetUrl?: string;
|
|
23
24
|
};
|
|
24
25
|
export declare const FxStrStaticDropdown: React.ForwardRefExoticComponent<StaticDropdownPropsType & React.RefAttributes<unknown>>;
|
package/package.json
CHANGED