@bigbinary/neetoui 5.2.6 → 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 +21 -19
- package/formik.cjs.js.map +1 -1
- package/formik.js +22 -20
- 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) {
|
|
@@ -25550,11 +25550,13 @@ var SelectField = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
25550
25550
|
name: field.name,
|
|
25551
25551
|
options: options,
|
|
25552
25552
|
value: either(isNil, isEmpty)(field.value) ? null : buildValueObj(field.value, options),
|
|
25553
|
-
onBlur: function onBlur() {
|
|
25554
|
-
return setTouched(true);
|
|
25555
|
-
},
|
|
25556
25553
|
onChange: function onChange(value) {
|
|
25557
25554
|
return setValue(value);
|
|
25555
|
+
},
|
|
25556
|
+
onBlur: function onBlur() {
|
|
25557
|
+
return React.startTransition(function () {
|
|
25558
|
+
setTouched(true);
|
|
25559
|
+
});
|
|
25558
25560
|
}
|
|
25559
25561
|
}, otherProps, {
|
|
25560
25562
|
onKeyDown: function onKeyDown(event) {
|