@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/index.cjs.js
CHANGED
|
@@ -14810,23 +14810,23 @@ var Button = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, r
|
|
|
14810
14810
|
tooltipProps = _ref$tooltipProps === void 0 ? null : _ref$tooltipProps,
|
|
14811
14811
|
children = _ref.children,
|
|
14812
14812
|
otherProps = _objectWithoutProperties$1(_ref, _excluded$C);
|
|
14813
|
-
var Parent
|
|
14813
|
+
var Parent = motion.button;
|
|
14814
|
+
var elementSpecificProps = {
|
|
14815
|
+
type: type
|
|
14816
|
+
};
|
|
14814
14817
|
var renderLabel = label || children;
|
|
14815
|
-
if (
|
|
14816
|
-
|
|
14817
|
-
|
|
14818
|
-
|
|
14819
|
-
|
|
14820
|
-
|
|
14821
|
-
|
|
14822
|
-
|
|
14823
|
-
|
|
14824
|
-
|
|
14825
|
-
|
|
14826
|
-
|
|
14827
|
-
elementSpecificProps = {
|
|
14828
|
-
type: type
|
|
14829
|
-
};
|
|
14818
|
+
if (!disabled) {
|
|
14819
|
+
if (to) {
|
|
14820
|
+
Parent = reactRouterDom.Link;
|
|
14821
|
+
elementSpecificProps = {
|
|
14822
|
+
to: to
|
|
14823
|
+
};
|
|
14824
|
+
} else if (href) {
|
|
14825
|
+
Parent = motion.a;
|
|
14826
|
+
elementSpecificProps = {
|
|
14827
|
+
href: href
|
|
14828
|
+
};
|
|
14829
|
+
}
|
|
14830
14830
|
}
|
|
14831
14831
|
var handleClick = function handleClick(e) {
|
|
14832
14832
|
if (!loading && !disabled) {
|