@bigbinary/neetoui 5.2.34 → 5.2.36

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.js CHANGED
@@ -2,7 +2,7 @@ import * as React$3 from 'react';
2
2
  import React__default, { createContext, useLayoutEffect, useEffect, useContext, useRef, useInsertionEffect as useInsertionEffect$1, useCallback, useMemo, forwardRef as forwardRef$1, createElement, useId as useId$1, useState, cloneElement as cloneElement$1, Children, isValidElement, useSyncExternalStore, Fragment, Component, memo as memo$1 } from 'react';
3
3
  import { isEmpty, equals, complement, toPairs, pipe as pipe$1, omit, isNil, replace as replace$2, assoc, pluck, mergeLeft, prop, flatten, move } from 'ramda';
4
4
  import { Right, Down, Close, Info, Focus, Left, Calendar, Check, MenuHorizontal, Clock as Clock$1, CheckCircle, Warning, CloseCircle } from '@bigbinary/neeto-icons';
5
- import { preprocessForSerialization, existsBy, camelToSnakeCase, modifyBy, snakeToCamelCase, dynamicArray } from '@bigbinary/neeto-cist';
5
+ import { preprocessForSerialization, _existsBy, camelToSnakeCase, modifyBy, snakeToCamelCase, dynamicArray } from '@bigbinary/neeto-cist';
6
6
  import require$$0 from 'util';
7
7
  import { Link, useLocation, useHistory, NavLink } from 'react-router-dom';
8
8
  import ReactDOM, { createPortal, findDOMNode as findDOMNode$1 } from 'react-dom';
@@ -28866,7 +28866,11 @@ var DropdownIndicator = function DropdownIndicator(props) {
28866
28866
  }));
28867
28867
  };
28868
28868
  var ClearIndicator = function ClearIndicator(props) {
28869
- return /*#__PURE__*/React__default.createElement(components.ClearIndicator, props, /*#__PURE__*/React__default.createElement(Close, {
28869
+ return /*#__PURE__*/React__default.createElement(components.ClearIndicator, _extends$4({}, props, {
28870
+ innerProps: _objectSpread$e(_objectSpread$e({}, props.innerProps), {}, {
28871
+ "data-cy": "clear-select-indicator"
28872
+ })
28873
+ }), /*#__PURE__*/React__default.createElement(Close, {
28870
28874
  size: 16
28871
28875
  }));
28872
28876
  };
@@ -29019,7 +29023,7 @@ var Select = function Select(_ref2) {
29019
29023
  }
29020
29024
  var currentOptions = options || defaultOptions;
29021
29025
  if (Array.isArray(value)) value = value[0];
29022
- var isGrouped = existsBy({
29026
+ var isGrouped = _existsBy({
29023
29027
  options: Array.isArray
29024
29028
  }, currentOptions);
29025
29029
  if (isGrouped) {