@bigbinary/neetoui 5.2.7 → 5.2.8
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/formik.cjs.js +16 -16
- package/formik.cjs.js.map +1 -1
- package/formik.js +16 -16
- package/formik.js.map +1 -1
- package/index.cjs.js +16 -16
- package/index.cjs.js.map +1 -1
- package/index.js +16 -16
- package/index.js.map +1 -1
- package/package.json +1 -1
package/formik.js
CHANGED
|
@@ -14004,23 +14004,23 @@ var Button = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
|
14004
14004
|
tooltipProps = _ref$tooltipProps === void 0 ? null : _ref$tooltipProps,
|
|
14005
14005
|
children = _ref.children,
|
|
14006
14006
|
otherProps = _objectWithoutProperties$1(_ref, _excluded$s);
|
|
14007
|
-
var Parent
|
|
14007
|
+
var Parent = motion.button;
|
|
14008
|
+
var elementSpecificProps = {
|
|
14009
|
+
type: type
|
|
14010
|
+
};
|
|
14008
14011
|
var renderLabel = label || children;
|
|
14009
|
-
if (
|
|
14010
|
-
|
|
14011
|
-
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
elementSpecificProps = {
|
|
14022
|
-
type: type
|
|
14023
|
-
};
|
|
14012
|
+
if (!disabled) {
|
|
14013
|
+
if (to) {
|
|
14014
|
+
Parent = Link;
|
|
14015
|
+
elementSpecificProps = {
|
|
14016
|
+
to: to
|
|
14017
|
+
};
|
|
14018
|
+
} else if (href) {
|
|
14019
|
+
Parent = motion.a;
|
|
14020
|
+
elementSpecificProps = {
|
|
14021
|
+
href: href
|
|
14022
|
+
};
|
|
14023
|
+
}
|
|
14024
14024
|
}
|
|
14025
14025
|
var handleClick = function handleClick(e) {
|
|
14026
14026
|
if (!loading && !disabled) {
|