@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.cjs.js
CHANGED
|
@@ -14031,23 +14031,23 @@ var Button = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, r
|
|
|
14031
14031
|
tooltipProps = _ref$tooltipProps === void 0 ? null : _ref$tooltipProps,
|
|
14032
14032
|
children = _ref.children,
|
|
14033
14033
|
otherProps = _objectWithoutProperties$1(_ref, _excluded$s);
|
|
14034
|
-
var Parent
|
|
14034
|
+
var Parent = motion.button;
|
|
14035
|
+
var elementSpecificProps = {
|
|
14036
|
+
type: type
|
|
14037
|
+
};
|
|
14035
14038
|
var renderLabel = label || children;
|
|
14036
|
-
if (
|
|
14037
|
-
|
|
14038
|
-
|
|
14039
|
-
|
|
14040
|
-
|
|
14041
|
-
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14045
|
-
|
|
14046
|
-
|
|
14047
|
-
|
|
14048
|
-
elementSpecificProps = {
|
|
14049
|
-
type: type
|
|
14050
|
-
};
|
|
14039
|
+
if (!disabled) {
|
|
14040
|
+
if (to) {
|
|
14041
|
+
Parent = reactRouterDom.Link;
|
|
14042
|
+
elementSpecificProps = {
|
|
14043
|
+
to: to
|
|
14044
|
+
};
|
|
14045
|
+
} else if (href) {
|
|
14046
|
+
Parent = motion.a;
|
|
14047
|
+
elementSpecificProps = {
|
|
14048
|
+
href: href
|
|
14049
|
+
};
|
|
14050
|
+
}
|
|
14051
14051
|
}
|
|
14052
14052
|
var handleClick = function handleClick(e) {
|
|
14053
14053
|
if (!loading && !disabled) {
|