@bigbinary/neetoui 5.1.13 → 5.1.15
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 +16 -11
- package/index.cjs.js.map +1 -1
- package/index.js +16 -11
- package/index.js.map +1 -1
- package/package.json +1 -1
package/formik.cjs.js
CHANGED
|
@@ -24711,7 +24711,7 @@ var STYLES$1 = {
|
|
|
24711
24711
|
warning: "warning",
|
|
24712
24712
|
danger: "danger"
|
|
24713
24713
|
};
|
|
24714
|
-
var Tag = function
|
|
24714
|
+
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
24715
24715
|
var _ref$style = _ref.style,
|
|
24716
24716
|
style = _ref$style === void 0 ? STYLES$1.primary : _ref$style,
|
|
24717
24717
|
indicatorStyle = _ref.indicatorStyle,
|
|
@@ -24739,6 +24739,7 @@ var Tag = function Tag(_ref) {
|
|
|
24739
24739
|
var renderLabel = label || children;
|
|
24740
24740
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends$2({
|
|
24741
24741
|
"data-testid": "tag-container",
|
|
24742
|
+
ref: ref,
|
|
24742
24743
|
className: classnames$1("neeto-ui-tag", {
|
|
24743
24744
|
"neeto-ui-tag--size-large": size === SIZES$2.large,
|
|
24744
24745
|
"neeto-ui-tag--size-small": size === SIZES$2.small,
|
|
@@ -24769,7 +24770,8 @@ var Tag = function Tag(_ref) {
|
|
|
24769
24770
|
"data-testid": "tag-close-button",
|
|
24770
24771
|
onClick: !disabled ? onClose : null
|
|
24771
24772
|
}, /*#__PURE__*/React__default["default"].createElement(neetoIcons.Close, null)));
|
|
24772
|
-
};
|
|
24773
|
+
});
|
|
24774
|
+
Tag.displayName = "Tag";
|
|
24773
24775
|
|
|
24774
24776
|
var _excluded$c = ["children"],
|
|
24775
24777
|
_excluded2 = ["children"];
|