@fixefy/fixefy-ui-components 0.2.63 → 0.2.65

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.
@@ -178,7 +178,6 @@ const FxAsyncDropdown = /*#__PURE__*/ _react.default.forwardRef((props)=>{
178
178
  (0, _react.useEffect)(()=>{
179
179
  if (!disabled && defaultValue) {
180
180
  defaultValueFetch();
181
- defaultValue = null;
182
181
  }
183
182
  }, []);
184
183
  (0, _react.useEffect)(()=>{
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- export declare const FxModalWithButton: ({ btnValue, modalData, onClick, disabled, }: {
2
+ export declare const FxModalWithButton: ({ color, btnValue, modalData, onClick, disabled, }: {
3
+ color?: "secondary" | undefined;
3
4
  btnValue: string;
4
5
  modalData: any;
5
6
  onClick?: any;
@@ -52,7 +52,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
52
52
  }
53
53
  return newObj;
54
54
  }
55
- const FxModalWithButton = ({ btnValue, modalData, onClick, disabled })=>{
55
+ const FxModalWithButton = ({ color, btnValue, modalData, onClick, disabled })=>{
56
56
  const [isOpen, setIsOpen] = (0, _react.useState)(false);
57
57
  const [AnchorEl, setAnchorEl] = (0, _react.useState)(null);
58
58
  const handleClick = (e)=>{
@@ -75,6 +75,7 @@ const FxModalWithButton = ({ btnValue, modalData, onClick, disabled })=>{
75
75
  children: [
76
76
  /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Button, {
77
77
  disabled: disabled,
78
+ color: color || 'primary',
78
79
  id: "fade-button",
79
80
  "aria-haspopup": "true",
80
81
  onClick: handleClick,
package/package.json CHANGED
@@ -65,5 +65,5 @@
65
65
  "require": "./dist/index.js"
66
66
  }
67
67
  },
68
- "version": "0.2.63"
68
+ "version": "0.2.65"
69
69
  }