@bigbinary/neetoui 5.1.13 → 5.1.14
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 -2
- package/formik.cjs.js.map +1 -1
- package/formik.js +4 -2
- package/formik.js.map +1 -1
- package/index.cjs.js +4 -2
- package/index.cjs.js.map +1 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/formik.js
CHANGED
|
@@ -24684,7 +24684,7 @@ var STYLES$1 = {
|
|
|
24684
24684
|
warning: "warning",
|
|
24685
24685
|
danger: "danger"
|
|
24686
24686
|
};
|
|
24687
|
-
var Tag = function
|
|
24687
|
+
var Tag = /*#__PURE__*/forwardRef$1(function (_ref, ref) {
|
|
24688
24688
|
var _ref$style = _ref.style,
|
|
24689
24689
|
style = _ref$style === void 0 ? STYLES$1.primary : _ref$style,
|
|
24690
24690
|
indicatorStyle = _ref.indicatorStyle,
|
|
@@ -24712,6 +24712,7 @@ var Tag = function Tag(_ref) {
|
|
|
24712
24712
|
var renderLabel = label || children;
|
|
24713
24713
|
return /*#__PURE__*/React__default.createElement("div", _extends$2({
|
|
24714
24714
|
"data-testid": "tag-container",
|
|
24715
|
+
ref: ref,
|
|
24715
24716
|
className: classnames$1("neeto-ui-tag", {
|
|
24716
24717
|
"neeto-ui-tag--size-large": size === SIZES$2.large,
|
|
24717
24718
|
"neeto-ui-tag--size-small": size === SIZES$2.small,
|
|
@@ -24742,7 +24743,8 @@ var Tag = function Tag(_ref) {
|
|
|
24742
24743
|
"data-testid": "tag-close-button",
|
|
24743
24744
|
onClick: !disabled ? onClose : null
|
|
24744
24745
|
}, /*#__PURE__*/React__default.createElement(Close, null)));
|
|
24745
|
-
};
|
|
24746
|
+
});
|
|
24747
|
+
Tag.displayName = "Tag";
|
|
24746
24748
|
|
|
24747
24749
|
var _excluded$c = ["children"],
|
|
24748
24750
|
_excluded2 = ["children"];
|