genus-ui 2.32.32 → 2.33.33

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
@@ -1105,6 +1105,8 @@ const br = B`
1105
1105
  display: flex;
1106
1106
  justify-content: var(--tab-labels-justification, center);
1107
1107
  column-gap: var(--tab-labels-column-gap, 1rem);
1108
+ row-gap: var(--tab-labels-row-gap);
1109
+ flex-wrap: var(--tab-labels-flex-wrap, wrap);
1108
1110
  }
1109
1111
 
1110
1112
  .tab-labels--with-border-bottom { column-gap: unset }
@@ -1302,7 +1304,7 @@ const sf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1302
1304
  .progress-bar
1303
1305
  {
1304
1306
  display: flex;
1305
- place-content: center;
1307
+ justify-content: center;
1306
1308
  align-items: center;
1307
1309
  border-radius: 3rem;
1308
1310
  }
@@ -1673,7 +1675,7 @@ const Kr = B`
1673
1675
  .data-card
1674
1676
  {
1675
1677
  border-radius: 0.625rem;
1676
- padding: var(--datacard-padding, 1.5625rem);
1678
+ padding: var(--datacard-padding, 1rem);
1677
1679
  background: var(--datacard-background-color, #edf4fa);
1678
1680
  border: var(--datacard-border);
1679
1681
  }
@@ -1862,7 +1864,7 @@ var $r = Object.defineProperty, tl = Object.getOwnPropertyDescriptor, xe = (i, t
1862
1864
  };
1863
1865
  let Zt = class extends U {
1864
1866
  constructor() {
1865
- super(...arguments), this.dataCardTitle = "", this.dataCardValue = "", this.dataCardIcon = "", this.dataCardLayoutDirection = "row", this.withoutIcon = !1, this.isLoading = 0;
1867
+ super(...arguments), this.dataCardTitle = "", this.dataCardValue = "", this.dataCardIcon = "", this.dataCardLayoutDirection = "row", this.withoutIcon = !1, this.isLoading = !1;
1866
1868
  }
1867
1869
  render() {
1868
1870
  return Rt(
@@ -1913,7 +1915,7 @@ xe([
1913
1915
  M({ type: Boolean, attribute: "without-icon" })
1914
1916
  ], Zt.prototype, "withoutIcon", 2);
1915
1917
  xe([
1916
- M({ attribute: "is-loading", type: Number })
1918
+ M({ attribute: "is-loading", type: Boolean })
1917
1919
  ], Zt.prototype, "isLoading", 2);
1918
1920
  Zt = xe([
1919
1921
  K("genus-data-card")
@@ -13385,7 +13387,7 @@ Pt = re([
13385
13387
  const Hu = B`
13386
13388
  .accordion__label { padding: 1rem; }
13387
13389
 
13388
- .accordion__label:hover { cursor: hover; }
13390
+ .accordion__label:hover { cursor: pointer; }
13389
13391
 
13390
13392
  .step-number
13391
13393
  {
package/dist/index.umd.js CHANGED
@@ -783,6 +783,8 @@
783
783
  display: flex;
784
784
  justify-content: var(--tab-labels-justification, center);
785
785
  column-gap: var(--tab-labels-column-gap, 1rem);
786
+ row-gap: var(--tab-labels-row-gap);
787
+ flex-wrap: var(--tab-labels-flex-wrap, wrap);
786
788
  }
787
789
 
788
790
  .tab-labels--with-border-bottom { column-gap: unset }
@@ -908,7 +910,7 @@
908
910
  .progress-bar
909
911
  {
910
912
  display: flex;
911
- place-content: center;
913
+ justify-content: center;
912
914
  align-items: center;
913
915
  border-radius: 3rem;
914
916
  }
@@ -1133,7 +1135,7 @@
1133
1135
  .data-card
1134
1136
  {
1135
1137
  border-radius: 0.625rem;
1136
- padding: var(--datacard-padding, 1.5625rem);
1138
+ padding: var(--datacard-padding, 1rem);
1137
1139
  background: var(--datacard-background-color, #edf4fa);
1138
1140
  border: var(--datacard-border);
1139
1141
  }
@@ -1314,7 +1316,7 @@
1314
1316
  width: var(--icon-width, 1.5625rem);
1315
1317
  height: var(--icon-height, 1.5625rem);
1316
1318
  }
1317
- `;var Pr=Object.defineProperty,Lr=Object.getOwnPropertyDescriptor,Ut=(i,t,e,n)=>{for(var s=n>1?void 0:n?Lr(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&&Pr(t,e,s),s};w.GenusDataCard=class extends u.LitElement{constructor(){super(...arguments),this.dataCardTitle="",this.dataCardValue="",this.dataCardIcon="",this.dataCardLayoutDirection="row",this.withoutIcon=!1,this.isLoading=0}render(){return Gt.when(this.withoutIcon,()=>this.isLoading?u.html`
1319
+ `;var Pr=Object.defineProperty,Lr=Object.getOwnPropertyDescriptor,Ut=(i,t,e,n)=>{for(var s=n>1?void 0:n?Lr(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&&Pr(t,e,s),s};w.GenusDataCard=class extends u.LitElement{constructor(){super(...arguments),this.dataCardTitle="",this.dataCardValue="",this.dataCardIcon="",this.dataCardLayoutDirection="row",this.withoutIcon=!1,this.isLoading=!1}render(){return Gt.when(this.withoutIcon,()=>this.isLoading?u.html`
1318
1320
  <div class='data-card-loader data-card-loader--no-icon'>
1319
1321
  <div class='loader-line loader-line-1'></div>
1320
1322
  <div class='loader-line loader-line-2'></div>
@@ -1338,7 +1340,7 @@
1338
1340
  <h4 class='data-card__title'>${this.dataCardTitle}</h4>
1339
1341
  <p class='data-card__text'>${this.dataCardValue}</p>
1340
1342
  </div>
1341
- `)}},w.GenusDataCard.styles=[Cr,kr,Ir,Er,Qr],Ut([b.property({attribute:"card-title"})],w.GenusDataCard.prototype,"dataCardTitle",2),Ut([b.property({attribute:"card-value"})],w.GenusDataCard.prototype,"dataCardValue",2),Ut([b.property({attribute:"data-card-icon"})],w.GenusDataCard.prototype,"dataCardIcon",2),Ut([b.property({attribute:"layout-direction"})],w.GenusDataCard.prototype,"dataCardLayoutDirection",2),Ut([b.property({type:Boolean,attribute:"without-icon"})],w.GenusDataCard.prototype,"withoutIcon",2),Ut([b.property({attribute:"is-loading",type:Number})],w.GenusDataCard.prototype,"isLoading",2),w.GenusDataCard=Ut([b.customElement("genus-data-card")],w.GenusDataCard);const Un=u.css`
1343
+ `)}},w.GenusDataCard.styles=[Cr,kr,Ir,Er,Qr],Ut([b.property({attribute:"card-title"})],w.GenusDataCard.prototype,"dataCardTitle",2),Ut([b.property({attribute:"card-value"})],w.GenusDataCard.prototype,"dataCardValue",2),Ut([b.property({attribute:"data-card-icon"})],w.GenusDataCard.prototype,"dataCardIcon",2),Ut([b.property({attribute:"layout-direction"})],w.GenusDataCard.prototype,"dataCardLayoutDirection",2),Ut([b.property({type:Boolean,attribute:"without-icon"})],w.GenusDataCard.prototype,"withoutIcon",2),Ut([b.property({attribute:"is-loading",type:Boolean})],w.GenusDataCard.prototype,"isLoading",2),w.GenusDataCard=Ut([b.customElement("genus-data-card")],w.GenusDataCard);const Un=u.css`
1342
1344
  .label-text
1343
1345
  {
1344
1346
  font-family: var(--label-text-font-family, 'Sofia Pro Regular');
@@ -3024,7 +3026,7 @@
3024
3026
  `}},w.GenusSlider.styles=[bu,Mu,Du],Wt([b.property({type:Boolean,attribute:"auto-play"})],w.GenusSlider.prototype,"autoplay",2),Wt([b.property({type:Number,attribute:"auto-play-interval"})],w.GenusSlider.prototype,"autoplayInterval",2),Wt([b.state()],w.GenusSlider.prototype,"_currentSlide",2),Wt([b.state()],w.GenusSlider.prototype,"_slideCount",2),Wt([b.query("slot")],w.GenusSlider.prototype,"_slotElement",2),Wt([b.query(".slider-container")],w.GenusSlider.prototype,"_sliderContainer",2),Wt([b.query(".slider-content")],w.GenusSlider.prototype,"_sliderContent",2),w.GenusSlider=Wt([b.customElement("genus-slider")],w.GenusSlider);const Yu=u.css`
3025
3027
  .accordion__label { padding: 1rem; }
3026
3028
 
3027
- .accordion__label:hover { cursor: hover; }
3029
+ .accordion__label:hover { cursor: pointer; }
3028
3030
 
3029
3031
  .step-number
3030
3032
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "genus-ui",
3
3
  "private": false,
4
- "version": "2.32.32",
4
+ "version": "2.33.33",
5
5
  "type": "module",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
@@ -5,7 +5,7 @@ export declare class GenusDataCard extends LitElement {
5
5
  dataCardIcon: string;
6
6
  dataCardLayoutDirection: string;
7
7
  withoutIcon: boolean;
8
- isLoading: number;
8
+ isLoading: boolean;
9
9
  static styles: import("lit").CSSResult[];
10
10
  render(): import("lit-html").TemplateResult<1>;
11
11
  }