@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/index.js
CHANGED
|
@@ -27152,7 +27152,7 @@ var STYLES$1 = {
|
|
|
27152
27152
|
warning: "warning",
|
|
27153
27153
|
danger: "danger"
|
|
27154
27154
|
};
|
|
27155
|
-
var Tag = function
|
|
27155
|
+
var Tag = /*#__PURE__*/forwardRef$1(function (_ref, ref) {
|
|
27156
27156
|
var _ref$style = _ref.style,
|
|
27157
27157
|
style = _ref$style === void 0 ? STYLES$1.primary : _ref$style,
|
|
27158
27158
|
indicatorStyle = _ref.indicatorStyle,
|
|
@@ -27180,6 +27180,7 @@ var Tag = function Tag(_ref) {
|
|
|
27180
27180
|
var renderLabel = label || children;
|
|
27181
27181
|
return /*#__PURE__*/React__default.createElement("div", _extends$4({
|
|
27182
27182
|
"data-testid": "tag-container",
|
|
27183
|
+
ref: ref,
|
|
27183
27184
|
className: classnames$1("neeto-ui-tag", {
|
|
27184
27185
|
"neeto-ui-tag--size-large": size === SIZES$4.large,
|
|
27185
27186
|
"neeto-ui-tag--size-small": size === SIZES$4.small,
|
|
@@ -27210,7 +27211,8 @@ var Tag = function Tag(_ref) {
|
|
|
27210
27211
|
"data-testid": "tag-close-button",
|
|
27211
27212
|
onClick: !disabled ? onClose : null
|
|
27212
27213
|
}, /*#__PURE__*/React__default.createElement(Close, null)));
|
|
27213
|
-
};
|
|
27214
|
+
});
|
|
27215
|
+
Tag.displayName = "Tag";
|
|
27214
27216
|
|
|
27215
27217
|
var _excluded$i = ["children"],
|
|
27216
27218
|
_excluded2$2 = ["children"];
|