genus-ui 2.1.28 → 2.4.28
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.es.js +8 -4
- package/dist/index.umd.js +8 -4
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1041,8 +1041,8 @@ const hr = G`
|
|
|
1041
1041
|
.tab-radio:checked + .tab
|
|
1042
1042
|
{
|
|
1043
1043
|
position: relative;
|
|
1044
|
-
background: var(--
|
|
1045
|
-
color: var(--
|
|
1044
|
+
background: var(--active-tab-background-color, #213e70);
|
|
1045
|
+
color: var(--active-tab-font-color, #f4f9f9);
|
|
1046
1046
|
}
|
|
1047
1047
|
|
|
1048
1048
|
.tab-labels--with-border-buttom > .tab-radio:checked + .tab::before
|
|
@@ -1072,10 +1072,14 @@ const hr = G`
|
|
|
1072
1072
|
display: grid;
|
|
1073
1073
|
grid-template-columns: repeat(10, 1fr);
|
|
1074
1074
|
grid-template-rows: 3rem minmax(10vh, 1fr);
|
|
1075
|
-
grid-row-gap:
|
|
1075
|
+
grid-row-gap: 2rem;
|
|
1076
1076
|
}
|
|
1077
1077
|
`, pr = G`
|
|
1078
|
-
.tab-labels
|
|
1078
|
+
.tab-labels
|
|
1079
|
+
{
|
|
1080
|
+
display: flex;
|
|
1081
|
+
justify-content: center;
|
|
1082
|
+
}
|
|
1079
1083
|
`;
|
|
1080
1084
|
var wr = Object.defineProperty, mr = Object.getOwnPropertyDescriptor, Pe = (i, t, e, s) => {
|
|
1081
1085
|
for (var n = s > 1 ? void 0 : s ? mr(t, e) : t, o = i.length - 1, a; o >= 0; o--)
|
package/dist/index.umd.js
CHANGED
|
@@ -719,8 +719,8 @@
|
|
|
719
719
|
.tab-radio:checked + .tab
|
|
720
720
|
{
|
|
721
721
|
position: relative;
|
|
722
|
-
background: var(--
|
|
723
|
-
color: var(--
|
|
722
|
+
background: var(--active-tab-background-color, #213e70);
|
|
723
|
+
color: var(--active-tab-font-color, #f4f9f9);
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
.tab-labels--with-border-buttom > .tab-radio:checked + .tab::before
|
|
@@ -750,10 +750,14 @@
|
|
|
750
750
|
display: grid;
|
|
751
751
|
grid-template-columns: repeat(10, 1fr);
|
|
752
752
|
grid-template-rows: 3rem minmax(10vh, 1fr);
|
|
753
|
-
grid-row-gap:
|
|
753
|
+
grid-row-gap: 2rem;
|
|
754
754
|
}
|
|
755
755
|
`,qa=u.css`
|
|
756
|
-
.tab-labels
|
|
756
|
+
.tab-labels
|
|
757
|
+
{
|
|
758
|
+
display: flex;
|
|
759
|
+
justify-content: center;
|
|
760
|
+
}
|
|
757
761
|
`;var _a=Object.defineProperty,$a=Object.getOwnPropertyDescriptor,le=(i,t,e,n)=>{for(var s=n>1?void 0:n?$a(t,e):t,o=i.length-1,a;o>=0;o--)(a=i[o])&&(s=(n?a(t,e,s):a(s))||s);return n&&s&&_a(t,e,s),s};let Gt=class extends u.LitElement{constructor(){super(...arguments),this.tabNames=[],this.withBorderBottom=!1,this._numberOfTabs=0,this._tabsTemplate=[],this.hideCurrentContent=()=>{this._tabContents.forEach(i=>{i.classList.contains("show-content")&&i.classList.remove("show-content")})},this.showContent=i=>{this.hideCurrentContent(),this._tabContents[i].classList.add("show-content")},this.generateTabs=()=>{for(let i=0;i<this._numberOfTabs;i++)i===0?this._tabsTemplate.push(u.html`
|
|
758
762
|
<input class="tab-radio" id=${this.tabNames[i]} type="radio" name="tabGroup" @change=${()=>{this.showContent(i)}} checked/>
|
|
759
763
|
<label class="tab ${this.tabNames[i]}-tab" for=${this.tabNames[i]}>${this.tabNames[i]=this.tabNames[i].replace(/-/g," ")}</label>
|