@pdg/react-form 1.0.41 → 1.0.42
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,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const IconFormIcon: import("@emotion/styled").StyledComponent<
|
|
2
|
+
export declare const IconFormIcon: import("@emotion/styled").StyledComponent<import("../FormIcon").FormIconProps & import("react").RefAttributes<HTMLAnchorElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
3
3
|
export declare const ChildrenSpan: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
package/dist/index.esm.js
CHANGED
|
@@ -4151,12 +4151,12 @@ NumberFormatCustom.displayName = 'NumberFormatCustom';var FormNumberDefaultProps
|
|
|
4151
4151
|
var muiInputProps = useMemo(function () {
|
|
4152
4152
|
var inputProps = {
|
|
4153
4153
|
className: readOnly ? 'Mui-disabled' : undefined,
|
|
4154
|
-
allowLeadingZeros: allowLeadingZeros,
|
|
4155
|
-
allowNegative: allowNegative,
|
|
4154
|
+
allowLeadingZeros: !!allowLeadingZeros,
|
|
4155
|
+
allowNegative: !!allowNegative,
|
|
4156
4156
|
thousandSeparator: thousandSeparator,
|
|
4157
4157
|
prefix: prefix,
|
|
4158
4158
|
suffix: suffix,
|
|
4159
|
-
readOnly: readOnly,
|
|
4159
|
+
readOnly: !!readOnly,
|
|
4160
4160
|
tabIndex: readOnly ? -1 : tabIndex,
|
|
4161
4161
|
};
|
|
4162
4162
|
if (allowDecimal) {
|