@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 CHANGED
@@ -14163,7 +14163,10 @@ var ActionBlock = function ActionBlock(_ref) {
14163
14163
  disabled: isSubmitting || equals(values, initialValues),
14164
14164
  label: "Cancel",
14165
14165
  style: "text",
14166
- onClick: handleReset
14166
+ onClick: handleReset,
14167
+ onMouseDown: function onMouseDown(e) {
14168
+ return e.preventDefault();
14169
+ }
14167
14170
  }, cancelButtonProps)));
14168
14171
  };
14169
14172
 
@@ -24825,6 +24828,12 @@ var CustomValueContainer = function CustomValueContainer(_ref2) {
24825
24828
  style: "secondary"
24826
24829
  }), rest);
24827
24830
  };
24831
+ var CustomClearIndicator = function CustomClearIndicator(prop) {
24832
+ return /*#__PURE__*/React__default["default"].createElement(components.ClearIndicator, prop, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Close, {
24833
+ className: "cursor-pointer",
24834
+ size: 16
24835
+ }));
24836
+ };
24828
24837
  var EMAIL_REGEX = new RegExp("^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$", "i");
24829
24838
  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;
24830
24839
  var EMAIL_SEPARATION_REGEX = /[^\s,]+/g;
@@ -24840,10 +24849,10 @@ var CUSTOM_STYLES = {
24840
24849
  };
24841
24850
  var CUSTOM_COMPONENTS = {
24842
24851
  DropdownIndicator: CustomDropdownIndicator,
24843
- ClearIndicator: null,
24844
24852
  Control: CustomControl,
24845
24853
  MultiValueRemove: MultiValueRemove$1,
24846
- ValueContainer: CustomValueContainer
24854
+ ValueContainer: CustomValueContainer,
24855
+ ClearIndicator: CustomClearIndicator
24847
24856
  };
24848
24857
 
24849
24858
  var formatEmailInputOptions = function formatEmailInputOptions(label) {