@bigbinary/neetoui 5.2.1 → 5.2.3
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 +12 -3
- package/formik.cjs.js.map +1 -1
- package/formik.js +12 -3
- package/formik.js.map +1 -1
- package/index.cjs.js +8 -2
- package/index.cjs.js.map +1 -1
- package/index.css +1 -1
- package/index.js +8 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/formik.js
CHANGED
|
@@ -14136,7 +14136,10 @@ var ActionBlock = function ActionBlock(_ref) {
|
|
|
14136
14136
|
disabled: isSubmitting || equals(values, initialValues),
|
|
14137
14137
|
label: "Cancel",
|
|
14138
14138
|
style: "text",
|
|
14139
|
-
onClick: handleReset
|
|
14139
|
+
onClick: handleReset,
|
|
14140
|
+
onMouseDown: function onMouseDown(e) {
|
|
14141
|
+
return e.preventDefault();
|
|
14142
|
+
}
|
|
14140
14143
|
}, cancelButtonProps)));
|
|
14141
14144
|
};
|
|
14142
14145
|
|
|
@@ -24798,6 +24801,12 @@ var CustomValueContainer = function CustomValueContainer(_ref2) {
|
|
|
24798
24801
|
style: "secondary"
|
|
24799
24802
|
}), rest);
|
|
24800
24803
|
};
|
|
24804
|
+
var CustomClearIndicator = function CustomClearIndicator(prop) {
|
|
24805
|
+
return /*#__PURE__*/React__default.createElement(components.ClearIndicator, prop, /*#__PURE__*/React__default.createElement(Close, {
|
|
24806
|
+
className: "cursor-pointer",
|
|
24807
|
+
size: 16
|
|
24808
|
+
}));
|
|
24809
|
+
};
|
|
24801
24810
|
var EMAIL_REGEX = new RegExp("^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$", "i");
|
|
24802
24811
|
var UNSTRICT_EMAIL_REGEX = /(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/g;
|
|
24803
24812
|
var EMAIL_SEPARATION_REGEX = /[^\s,]+/g;
|
|
@@ -24813,10 +24822,10 @@ var CUSTOM_STYLES = {
|
|
|
24813
24822
|
};
|
|
24814
24823
|
var CUSTOM_COMPONENTS = {
|
|
24815
24824
|
DropdownIndicator: CustomDropdownIndicator,
|
|
24816
|
-
ClearIndicator: null,
|
|
24817
24825
|
Control: CustomControl,
|
|
24818
24826
|
MultiValueRemove: MultiValueRemove$1,
|
|
24819
|
-
ValueContainer: CustomValueContainer
|
|
24827
|
+
ValueContainer: CustomValueContainer,
|
|
24828
|
+
ClearIndicator: CustomClearIndicator
|
|
24820
24829
|
};
|
|
24821
24830
|
|
|
24822
24831
|
var formatEmailInputOptions = function formatEmailInputOptions(label) {
|