@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/index.cjs.js CHANGED
@@ -27182,7 +27182,7 @@ var STYLES$1 = {
27182
27182
  warning: "warning",
27183
27183
  danger: "danger"
27184
27184
  };
27185
- var Tag = function Tag(_ref) {
27185
+ var Tag = /*#__PURE__*/React$5.forwardRef(function (_ref, ref) {
27186
27186
  var _ref$style = _ref.style,
27187
27187
  style = _ref$style === void 0 ? STYLES$1.primary : _ref$style,
27188
27188
  indicatorStyle = _ref.indicatorStyle,
@@ -27210,6 +27210,7 @@ var Tag = function Tag(_ref) {
27210
27210
  var renderLabel = label || children;
27211
27211
  return /*#__PURE__*/React__default["default"].createElement("div", _extends$4({
27212
27212
  "data-testid": "tag-container",
27213
+ ref: ref,
27213
27214
  className: classnames$1("neeto-ui-tag", {
27214
27215
  "neeto-ui-tag--size-large": size === SIZES$4.large,
27215
27216
  "neeto-ui-tag--size-small": size === SIZES$4.small,
@@ -27240,7 +27241,8 @@ var Tag = function Tag(_ref) {
27240
27241
  "data-testid": "tag-close-button",
27241
27242
  onClick: !disabled ? onClose : null
27242
27243
  }, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Close, null)));
27243
- };
27244
+ });
27245
+ Tag.displayName = "Tag";
27244
27246
 
27245
27247
  var _excluded$i = ["children"],
27246
27248
  _excluded2$2 = ["children"];