@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/formik.cjs.js +6 -2
- package/formik.cjs.js.map +1 -1
- package/formik.js +7 -3
- package/formik.js.map +1 -1
- package/index.cjs.js +6 -2
- package/index.cjs.js.map +1 -1
- package/index.js +7 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
package/formik.js
CHANGED
|
@@ -5,7 +5,7 @@ import { isEmpty, equals, is, replace as replace$1, assoc, pluck, mergeLeft, pro
|
|
|
5
5
|
import { Link, useHistory } from 'react-router-dom';
|
|
6
6
|
import ReactDOM, { createPortal } from 'react-dom';
|
|
7
7
|
import { Close, Info, Down, Check } from '@bigbinary/neeto-icons';
|
|
8
|
-
import {
|
|
8
|
+
import { _existsBy } from '@bigbinary/neeto-cist';
|
|
9
9
|
import _ConfigProvider from 'antd/lib/config-provider';
|
|
10
10
|
import _Slider from 'antd/lib/slider';
|
|
11
11
|
import _TreeSelect from 'antd/lib/tree-select';
|
|
@@ -25222,7 +25222,11 @@ var DropdownIndicator = function DropdownIndicator(props) {
|
|
|
25222
25222
|
}));
|
|
25223
25223
|
};
|
|
25224
25224
|
var ClearIndicator = function ClearIndicator(props) {
|
|
25225
|
-
return /*#__PURE__*/React__default.createElement(components.ClearIndicator,
|
|
25225
|
+
return /*#__PURE__*/React__default.createElement(components.ClearIndicator, _extends$2({}, props, {
|
|
25226
|
+
innerProps: _objectSpread$3(_objectSpread$3({}, props.innerProps), {}, {
|
|
25227
|
+
"data-cy": "clear-select-indicator"
|
|
25228
|
+
})
|
|
25229
|
+
}), /*#__PURE__*/React__default.createElement(Close, {
|
|
25226
25230
|
size: 16
|
|
25227
25231
|
}));
|
|
25228
25232
|
};
|
|
@@ -25375,7 +25379,7 @@ var Select = function Select(_ref2) {
|
|
|
25375
25379
|
}
|
|
25376
25380
|
var currentOptions = options || defaultOptions;
|
|
25377
25381
|
if (Array.isArray(value)) value = value[0];
|
|
25378
|
-
var isGrouped =
|
|
25382
|
+
var isGrouped = _existsBy({
|
|
25379
25383
|
options: Array.isArray
|
|
25380
25384
|
}, currentOptions);
|
|
25381
25385
|
if (isGrouped) {
|