genus-ui 2.25.32 → 2.26.32

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 CHANGED
@@ -996,15 +996,26 @@ const wr = B`
996
996
  `, mr = B`
997
997
  .tab-labels
998
998
  {
999
- padding: var(--tabs-container-padding);
1000
- background: var(--tabs-container-background-color);
1001
- border-radius: var(--tabs-container-border-radius);
999
+ padding: var(--tabs-container-padding, 1rem);
1000
+ background: var(--tabs-container-background-color, #fdc54a);
1001
+ border-radius: var(--tabs-container-border-radius, 1rem);
1002
1002
  grid-area: 1 / 1 / 2 / -1;
1003
1003
  }
1004
1004
 
1005
- .tab-labels--with-border-buttom { border-bottom: 0.0625rem solid var(--tab-border-bottom-color, #ccc) }
1005
+ .tab-labels--with-border-buttom
1006
+ {
1007
+ border-bottom: 0.0625rem solid var(--tab-border-bottom-color, #ccc);
1008
+ background: none;
1009
+ padding: 0;
1010
+ }
1006
1011
 
1007
- ::slotted(genus-tab-content) { grid-area: 2 / 1 / -1 / -1; }
1012
+ ::slotted(genus-tab-content)
1013
+ {
1014
+ padding: var(--tab-content-padding);
1015
+ border-radius: var(--tab-content-border-radius);
1016
+ background: var(--tab-content-background-color);
1017
+ grid-area: 2 / 1 / -1 / -1;
1018
+ }
1008
1019
 
1009
1020
  ::slotted(.hide-content)
1010
1021
  {
@@ -1025,11 +1036,9 @@ const wr = B`
1025
1036
  {
1026
1037
  background: var(--tab-background-color, #f4f9f9);
1027
1038
  width: var(--tab-width, -webkit-fill-available);
1039
+ border-radius: var(--tab-border-radius, 0.375rem);
1028
1040
  }
1029
1041
 
1030
- .tab:first-of-type { border-radius: var(--first-tab-border-radius, 0.375rem 0 0 0.375rem); }
1031
- .tab:last-of-type { border-radius: var(--last-tab-border-radius, 0 0.375rem 0.375rem 0); }
1032
-
1033
1042
  .tab-radio:checked + .tab
1034
1043
  {
1035
1044
  position: relative;
@@ -1048,6 +1057,17 @@ const wr = B`
1048
1057
  height: 0.1875rem;
1049
1058
  background: var(--active-tab-border-bottom-color, #213e70);
1050
1059
  }
1060
+
1061
+ :where(.tab-labels--with-border-buttom)
1062
+ {
1063
+ .tab
1064
+ {
1065
+ background: none;
1066
+ border-radius: unset;
1067
+ }
1068
+
1069
+ .tab-radio:checked + .tab { background: none; }
1070
+ }
1051
1071
  `, Mr = B`
1052
1072
  .tab
1053
1073
  {
@@ -1058,20 +1078,32 @@ const wr = B`
1058
1078
  line-height: 3rem;
1059
1079
  text-transform: capitalize;
1060
1080
  }
1081
+
1082
+ :where(.tab-labels--with-border-buttom)
1083
+ {
1084
+ .tab-radio:checked + .tab
1085
+ {
1086
+ font-family: var(--active-tab-font-family, 'Sofia Pro Semi');
1087
+ color: var(--active-tab-font-color, #213e70);
1088
+ }
1089
+ }
1061
1090
  `, Dr = B`
1062
1091
  .tab-container
1063
1092
  {
1064
1093
  display: grid;
1065
1094
  grid-template-columns: repeat(10, 1fr);
1066
- grid-template-rows: 3rem minmax(10vh, 1fr);
1067
- grid-row-gap: 2rem;
1095
+ grid-template-rows: minmax(3rem, var(--tab-container-row-height, auto)) minmax(10vh, 1fr);
1096
+ grid-row-gap: var(--tab-container-row-gap, 2rem);
1068
1097
  }
1069
1098
  `, Br = B`
1070
1099
  .tab-labels
1071
1100
  {
1072
1101
  display: flex;
1073
- justify-content: center;
1102
+ justify-content: center;
1103
+ column-gap: var(--tab-labels-column-gap, 1rem);
1074
1104
  }
1105
+
1106
+ .tab-labels--with-border-buttom { column-gap: unset }
1075
1107
  `;
1076
1108
  var xr = Object.defineProperty, Gr = Object.getOwnPropertyDescriptor, Oe = (i, t, e, s) => {
1077
1109
  for (var n = s > 1 ? void 0 : s ? Gr(t, e) : t, o = i.length - 1, a; o >= 0; o--)