@vitrosoftware/common-ui-ts 1.1.72 → 1.1.73

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.
@@ -2,6 +2,8 @@
2
2
  display: inline-flex;
3
3
  flex: 1 1;
4
4
  min-width: 180px;
5
+ flex-direction: row;
6
+ flex-basis: 40%;
5
7
  }
6
8
 
7
9
  :global(.vitro-inline) > div {
@@ -9,10 +9,10 @@
9
9
  justify-content: center;
10
10
  }
11
11
 
12
- .vitro-tab > :global(.vitro-content) {
13
- position: relative;
14
- height: calc(100% - 37px);
15
- }
12
+ .vitro-tab > :global(.vitro-content) {
13
+ position: relative;
14
+ height: 100%;
15
+ }
16
16
 
17
17
  .vitro-tab > :global(.vitro-content) > :global(.container),
18
18
  .vitro-tab > :global(.vitro-content) > :global(.container) > div {
package/dist/index.css CHANGED
@@ -1648,10 +1648,10 @@ html, body {
1648
1648
  justify-content: center;
1649
1649
  }
1650
1650
 
1651
- ._tab-group_vitro-tab_1Qb50HL > .vitro-content {
1652
- position: relative;
1653
- height: calc(100% - 37px);
1654
- }
1651
+ ._tab-group_vitro-tab_1Qb50HL > .vitro-content {
1652
+ position: relative;
1653
+ height: 100%;
1654
+ }
1655
1655
 
1656
1656
  ._tab-group_vitro-tab_1Qb50HL > .vitro-content > .container,
1657
1657
  ._tab-group_vitro-tab_1Qb50HL > .vitro-content > .container > div {
@@ -5271,6 +5271,8 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
5271
5271
  display: inline-flex;
5272
5272
  flex: 1 1;
5273
5273
  min-width: 180px;
5274
+ flex-direction: row;
5275
+ flex-basis: 40%;
5274
5276
  }
5275
5277
 
5276
5278
  .vitro-inline > div {
package/dist/index.js CHANGED
@@ -60715,6 +60715,9 @@ var Tab = function Tab(props) {
60715
60715
  var TabGroupHeader = function TabGroupHeader(props) {
60716
60716
  var overflowTabList = [];
60717
60717
  var tabMinWidth = 120;
60718
+ if (!props.itemList || props.itemList.length === 0 || props.itemList.length === 1 && !props.itemList[0].text) {
60719
+ return React__default.createElement(Nav$2, null);
60720
+ }
60718
60721
  return React__default.createElement(Nav$2, null, props.width > 0 && props.itemList && props.itemList.map(function (item, index) {
60719
60722
  if ((index + 1) * tabMinWidth < props.width || !props.wrap) {
60720
60723
  return React__default.createElement(Tab, {