@bigbinary/neetoui 5.2.4 → 5.2.6
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 +31 -12
- package/formik.cjs.js.map +1 -1
- package/formik.js +31 -12
- package/formik.js.map +1 -1
- package/index.cjs.js +31 -12
- package/index.cjs.js.map +1 -1
- package/index.js +31 -12
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -20092,7 +20092,7 @@ var SIZES$5 = {
|
|
|
20092
20092
|
medium: "medium",
|
|
20093
20093
|
large: "large"
|
|
20094
20094
|
};
|
|
20095
|
-
var Input$
|
|
20095
|
+
var Input$2 = /*#__PURE__*/forwardRef$1(function (_ref, ref) {
|
|
20096
20096
|
var _ref2, _otherProps$value, _classnames;
|
|
20097
20097
|
var _ref$size = _ref.size,
|
|
20098
20098
|
size = _ref$size === void 0 ? SIZES$5.medium : _ref$size,
|
|
@@ -20199,7 +20199,7 @@ var Input$1 = /*#__PURE__*/forwardRef$1(function (_ref, ref) {
|
|
|
20199
20199
|
style: "body3"
|
|
20200
20200
|
}, helpText));
|
|
20201
20201
|
});
|
|
20202
|
-
Input$
|
|
20202
|
+
Input$2.displayName = "Input";
|
|
20203
20203
|
|
|
20204
20204
|
var _excluded$o = ["keyName", "className"];
|
|
20205
20205
|
var Kbd = function Kbd(_ref) {
|
|
@@ -23443,7 +23443,7 @@ var containerCSS = function containerCSS(_ref) {
|
|
|
23443
23443
|
position: 'relative'
|
|
23444
23444
|
};
|
|
23445
23445
|
};
|
|
23446
|
-
var SelectContainer = function SelectContainer(props) {
|
|
23446
|
+
var SelectContainer$1 = function SelectContainer(props) {
|
|
23447
23447
|
var children = props.children,
|
|
23448
23448
|
className = props.className,
|
|
23449
23449
|
cx = props.cx,
|
|
@@ -23870,7 +23870,7 @@ var inputStyle = function inputStyle(isHidden) {
|
|
|
23870
23870
|
width: '100%'
|
|
23871
23871
|
}, spacingStyle);
|
|
23872
23872
|
};
|
|
23873
|
-
var Input = function Input(props) {
|
|
23873
|
+
var Input$1 = function Input(props) {
|
|
23874
23874
|
var className = props.className,
|
|
23875
23875
|
cx = props.cx,
|
|
23876
23876
|
getStyles = props.getStyles,
|
|
@@ -24126,7 +24126,7 @@ var components = {
|
|
|
24126
24126
|
GroupHeading: GroupHeading,
|
|
24127
24127
|
IndicatorsContainer: IndicatorsContainer,
|
|
24128
24128
|
IndicatorSeparator: IndicatorSeparator,
|
|
24129
|
-
Input: Input,
|
|
24129
|
+
Input: Input$1,
|
|
24130
24130
|
LoadingIndicator: LoadingIndicator,
|
|
24131
24131
|
Menu: Menu$1,
|
|
24132
24132
|
MenuList: MenuList,
|
|
@@ -24139,7 +24139,7 @@ var components = {
|
|
|
24139
24139
|
MultiValueRemove: MultiValueRemove$2,
|
|
24140
24140
|
Option: Option,
|
|
24141
24141
|
Placeholder: Placeholder$1,
|
|
24142
|
-
SelectContainer: SelectContainer,
|
|
24142
|
+
SelectContainer: SelectContainer$1,
|
|
24143
24143
|
SingleValue: SingleValue,
|
|
24144
24144
|
ValueContainer: ValueContainer$1
|
|
24145
24145
|
};
|
|
@@ -26984,7 +26984,9 @@ var CustomDropdownIndicator = function CustomDropdownIndicator(props) {
|
|
|
26984
26984
|
}, suffix)) : null;
|
|
26985
26985
|
};
|
|
26986
26986
|
var MultiValueRemove$1 = function MultiValueRemove(props) {
|
|
26987
|
-
return /*#__PURE__*/React__default.createElement(components.MultiValueRemove,
|
|
26987
|
+
return /*#__PURE__*/React__default.createElement(components.MultiValueRemove, _extends$4({}, props, {
|
|
26988
|
+
innerProps: _objectSpread$c(_objectSpread$c({}, props.innerProps), {}, _defineProperty$7({}, "data-cy", "".concat(hyphenize(props.data.label), "-remove-icon")))
|
|
26989
|
+
}), /*#__PURE__*/React__default.createElement(Close, {
|
|
26988
26990
|
size: 16
|
|
26989
26991
|
}));
|
|
26990
26992
|
};
|
|
@@ -27000,17 +27002,31 @@ var CustomValueContainer = function CustomValueContainer(_ref2) {
|
|
|
27000
27002
|
firstChild = _children[0],
|
|
27001
27003
|
rest = _children.slice(1);
|
|
27002
27004
|
var shouldCollapse = !isFocused && value.length > visibleEmailsCount;
|
|
27003
|
-
return /*#__PURE__*/React__default.createElement(components.ValueContainer,
|
|
27005
|
+
return /*#__PURE__*/React__default.createElement(components.ValueContainer, _extends$4({}, props, {
|
|
27006
|
+
innerProps: _objectSpread$c(_objectSpread$c({}, props.innerProps), {}, _defineProperty$7({}, "data-cy", "multi-email-input-container"))
|
|
27007
|
+
}), shouldCollapse ? firstChild.slice(0, visibleEmailsCount) : firstChild, shouldCollapse && /*#__PURE__*/React__default.createElement(Tag, {
|
|
27004
27008
|
label: "".concat(value.length - visibleEmailsCount, " more"),
|
|
27005
27009
|
style: "secondary"
|
|
27006
27010
|
}), rest);
|
|
27007
27011
|
};
|
|
27008
|
-
var CustomClearIndicator = function CustomClearIndicator(
|
|
27009
|
-
return /*#__PURE__*/React__default.createElement(components.ClearIndicator,
|
|
27012
|
+
var CustomClearIndicator = function CustomClearIndicator(props) {
|
|
27013
|
+
return /*#__PURE__*/React__default.createElement(components.ClearIndicator, _extends$4({}, props, {
|
|
27014
|
+
innerProps: _objectSpread$c(_objectSpread$c({}, props.innerProps), {}, _defineProperty$7({}, "data-cy", "clear-all-button"))
|
|
27015
|
+
}), /*#__PURE__*/React__default.createElement(Close, {
|
|
27010
27016
|
className: "cursor-pointer",
|
|
27011
27017
|
size: 16
|
|
27012
27018
|
}));
|
|
27013
27019
|
};
|
|
27020
|
+
var SelectContainer = function SelectContainer(props) {
|
|
27021
|
+
return /*#__PURE__*/React__default.createElement(components.SelectContainer, _extends$4({}, props, {
|
|
27022
|
+
innerProps: _objectSpread$c(_objectSpread$c({}, props.innerProps), {}, _defineProperty$7({}, "data-cy", "multi-email-select-container"))
|
|
27023
|
+
}));
|
|
27024
|
+
};
|
|
27025
|
+
var Input = function Input(props) {
|
|
27026
|
+
return /*#__PURE__*/React__default.createElement(components.Input, _extends$4({}, props, {
|
|
27027
|
+
"data-cy": "email-select-input-field"
|
|
27028
|
+
}));
|
|
27029
|
+
};
|
|
27014
27030
|
var EMAIL_REGEX = new RegExp("^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$", "i");
|
|
27015
27031
|
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;
|
|
27016
27032
|
var EMAIL_SEPARATION_REGEX = /[^\s,]+/g;
|
|
@@ -27029,7 +27045,9 @@ var CUSTOM_COMPONENTS = {
|
|
|
27029
27045
|
Control: CustomControl,
|
|
27030
27046
|
MultiValueRemove: MultiValueRemove$1,
|
|
27031
27047
|
ValueContainer: CustomValueContainer,
|
|
27032
|
-
ClearIndicator: CustomClearIndicator
|
|
27048
|
+
ClearIndicator: CustomClearIndicator,
|
|
27049
|
+
SelectContainer: SelectContainer,
|
|
27050
|
+
Input: Input
|
|
27033
27051
|
};
|
|
27034
27052
|
|
|
27035
27053
|
var formatEmailInputOptions = function formatEmailInputOptions(label) {
|
|
@@ -27950,6 +27968,7 @@ var Select = function Select(_ref) {
|
|
|
27950
27968
|
htmlFor: inputId,
|
|
27951
27969
|
required: required
|
|
27952
27970
|
}, labelProps), label), /*#__PURE__*/React__default.createElement(Parent, _extends$4({
|
|
27971
|
+
blurInputOnSelect: false,
|
|
27953
27972
|
classNamePrefix: "neeto-ui-react-select",
|
|
27954
27973
|
"data-cy": "".concat(hyphenize(label), "-select-container"),
|
|
27955
27974
|
defaultValue: findInOptions(defaultValue),
|
|
@@ -37810,5 +37829,5 @@ var Toastr = {
|
|
|
37810
37829
|
warning: showWarningToastr
|
|
37811
37830
|
};
|
|
37812
37831
|
|
|
37813
|
-
export { Accordion, ActionDropdown, Alert, Avatar, Button, Callout, Checkbox, ColorPicker, DatePicker, Dropdown, Input$
|
|
37832
|
+
export { Accordion, ActionDropdown, Alert, Avatar, Button, Callout, Checkbox, ColorPicker, DatePicker, Dropdown, Input$2 as Input, Kbd, Label, Modal, MultiEmailInput, NoData, Pagination, Pane, Popover, Radio, Select, Spinner, Switch, Tab, Table, Tag, Textarea, TimePicker, Toastr, Tooltip, Typography };
|
|
37814
37833
|
//# sourceMappingURL=index.js.map
|