@vitrosoftware/common-ui-ts 1.1.167 → 1.1.168

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/index.js CHANGED
@@ -61979,7 +61979,11 @@ var TabGroupComponent = function TabGroupComponent(props) {
61979
61979
  var getContent = function getContent() {
61980
61980
  if (props.itemList) {
61981
61981
  if (props.itemList[currentTab] && props.itemList[currentTab].content) {
61982
- return React__default.createElement(props.itemList[currentTab].content.component, props.itemList[currentTab].content.props);
61982
+ var content = props.itemList[currentTab].content;
61983
+ if (props.onGetContent) {
61984
+ props.onGetContent(currentTab, props.itemList[currentTab], content);
61985
+ }
61986
+ return React__default.createElement(content.component, content.props);
61983
61987
  } else if (props.itemList[0]) {
61984
61988
  setCurrentTab(0);
61985
61989
  }
@@ -63517,7 +63521,7 @@ var Viewer = function Viewer(props) {
63517
63521
  };
63518
63522
 
63519
63523
  var name = "@vitrosoftware/common-ui-ts";
63520
- var version$1 = "1.1.167";
63524
+ var version$1 = "1.1.168";
63521
63525
  var description = "vitro software common ui ts";
63522
63526
  var author = "";
63523
63527
  var license = "MIT";