@bigbinary/neetoui 5.2.38 → 5.2.40
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 +4 -3
- package/formik.cjs.js.map +1 -1
- package/formik.js +4 -3
- package/formik.js.map +1 -1
- package/index.cjs.js +20 -9
- package/index.cjs.js.map +1 -1
- package/index.d.ts +8 -6
- package/index.js +21 -10
- package/index.js.map +1 -1
- package/package.json +1 -1
package/formik.cjs.js
CHANGED
|
@@ -25241,9 +25241,10 @@ var STRATEGIES = {
|
|
|
25241
25241
|
var Control = function Control(_ref) {
|
|
25242
25242
|
var children = _ref.children,
|
|
25243
25243
|
props = _objectWithoutProperties$1(_ref, _excluded$9);
|
|
25244
|
-
var selectProps = props.selectProps
|
|
25245
|
-
|
|
25246
|
-
|
|
25244
|
+
var selectProps = props.selectProps,
|
|
25245
|
+
hasValue = props.hasValue;
|
|
25246
|
+
return /*#__PURE__*/React__default["default"].createElement(components.Control, props, hasValue && selectProps.isMulti && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
25247
|
+
className: "neeto-ui-btn neeto-ui-btn--style-secondary neeto-ui-react-select__add-btn"
|
|
25247
25248
|
}, selectProps.addButtonLabel || "Add"), " ", children);
|
|
25248
25249
|
};
|
|
25249
25250
|
var DropdownIndicator = function DropdownIndicator(props) {
|