@interopio/groups-ui-react 2.2.8 → 2.3.1

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/dist/cjs/index.js CHANGED
@@ -1849,13 +1849,13 @@
1849
1849
  };
1850
1850
 
1851
1851
  var Tab = function (_a) {
1852
- var caption = _a.caption, selected = _a.selected, close = _a.close, channels = _a.channels, captionEditor = _a.captionEditor, notifyCaptionBoundsChanged = _a.notifyCaptionBoundsChanged, windowId = _a.windowId;
1852
+ var caption = _a.caption, selected = _a.selected, close = _a.close, channels = _a.channels, captionEditor = _a.captionEditor, notifyCaptionBoundsChanged = _a.notifyCaptionBoundsChanged, windowId = _a.windowId, pinned = _a.pinned;
1853
1853
  return React__default["default"].createElement("div", { className: "t42-react-tab" },
1854
1854
  channels.visible && React__default["default"].createElement(TabChannelSelector, __assign({}, channels)),
1855
1855
  captionEditor.show ?
1856
1856
  React__default["default"].createElement(TabCaptionEditor, __assign({}, captionEditor, { caption: captionEditor.text, selected: selected, windowId: windowId })) :
1857
1857
  React__default["default"].createElement(TabCaption, { notifyBoundsChanged: notifyCaptionBoundsChanged, caption: caption, selected: selected }),
1858
- React__default["default"].createElement(TabCloseButton, { selected: selected, close: close }));
1858
+ pinned ? React__default["default"].createElement(React__default["default"].Fragment, null) : React__default["default"].createElement(TabCloseButton, { selected: selected, close: close }));
1859
1859
  };
1860
1860
 
1861
1861
  var OverflowButton = function (_a) {