@bigbinary/neetoui 5.2.2 → 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/index.cjs.js CHANGED
@@ -27035,6 +27035,12 @@ var CustomValueContainer = function CustomValueContainer(_ref2) {
27035
27035
  style: "secondary"
27036
27036
  }), rest);
27037
27037
  };
27038
+ var CustomClearIndicator = function CustomClearIndicator(prop) {
27039
+ return /*#__PURE__*/React__default["default"].createElement(components.ClearIndicator, prop, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Close, {
27040
+ className: "cursor-pointer",
27041
+ size: 16
27042
+ }));
27043
+ };
27038
27044
  var EMAIL_REGEX = new RegExp("^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$", "i");
27039
27045
  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;
27040
27046
  var EMAIL_SEPARATION_REGEX = /[^\s,]+/g;
@@ -27050,10 +27056,10 @@ var CUSTOM_STYLES = {
27050
27056
  };
27051
27057
  var CUSTOM_COMPONENTS = {
27052
27058
  DropdownIndicator: CustomDropdownIndicator,
27053
- ClearIndicator: null,
27054
27059
  Control: CustomControl,
27055
27060
  MultiValueRemove: MultiValueRemove$1,
27056
- ValueContainer: CustomValueContainer
27061
+ ValueContainer: CustomValueContainer,
27062
+ ClearIndicator: CustomClearIndicator
27057
27063
  };
27058
27064
 
27059
27065
  var formatEmailInputOptions = function formatEmailInputOptions(label) {