@florid-kit/components 0.10.22 → 0.10.24

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.
Files changed (3) hide show
  1. package/index.js +7 -4
  2. package/index.mjs +7 -4
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -1280,7 +1280,7 @@
1280
1280
  width: 0;
1281
1281
  }
1282
1282
  `;ot([a({type:Array})],F.prototype,"thumbnails",2);ot([a({type:Number})],F.prototype,"activeIndex",2);ot([a({type:Array})],F.prototype,"disabledIndexes",2);ot([a({type:String})],F.prototype,"maxWidth",2);ot([a({type:String})],F.prototype,"altressource",2);ot([a({type:Object})],F.prototype,"swiperInstance",2);ot([W()],F.prototype,"focusedIndex",2);F=ot([b("thumbnail-navigation")],F);var ti=Object.defineProperty,ei=Object.getOwnPropertyDescriptor,te=(o,t,e,n)=>{for(var i=n>1?void 0:n?ei(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ti(t,e,i),i};let wt=class extends u{constructor(){super(...arguments),this.type="",this.bgstyle="background-white"}render(){return l`
1283
- <span class="tag ${this.bgstyle}"><slot></slot></span>
1283
+ <p class="tag ${this.bgstyle}"><slot></slot></p>
1284
1284
  `}};wt.styles=v`
1285
1285
  .tag {
1286
1286
  display: inline-block;
@@ -1292,6 +1292,7 @@
1292
1292
  font-family: var(--font-family-loccitane-sans);
1293
1293
  letter-spacing: var(--letter-spacing-400);
1294
1294
  position: relative;
1295
+ margin: var(--spacing-4-xs);
1295
1296
  }
1296
1297
 
1297
1298
  .tag.background-emphasis {
@@ -2764,7 +2765,7 @@
2764
2765
  margin: var(--spacing-4-xs);
2765
2766
  padding: var(--spacing-4-xs);
2766
2767
  }
2767
- `;qt=Ii([b("o-breadcrumbs")],qt);var Di=Object.defineProperty,Hi=Object.getOwnPropertyDescriptor,re=(o,t,e,n)=>{for(var i=n>1?void 0:n?Hi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Di(t,e,i),i};let St=class extends u{constructor(){super(...arguments),this.href="",this.active=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault()}render(){return this.active?l`<span aria-current="page"><slot></slot></span>`:l`
2768
+ `;qt=Ii([b("o-breadcrumbs")],qt);var Di=Object.defineProperty,Hi=Object.getOwnPropertyDescriptor,re=(o,t,e,n)=>{for(var i=n>1?void 0:n?Hi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Di(t,e,i),i};let St=class extends u{constructor(){super(...arguments),this.href="",this.active=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault()}render(){return this.active?l`<p aria-current="page"><slot></slot></p>`:l`
2768
2769
  <li>
2769
2770
  <a
2770
2771
  href="${this.href}"
@@ -2782,8 +2783,10 @@
2782
2783
  }
2783
2784
 
2784
2785
  :host([active]) {
2785
- span {
2786
+ p {
2786
2787
  color: var(--color-content-body);
2788
+ margin: var(--spacing-4-xs);
2789
+ display: inline-block;
2787
2790
  }
2788
2791
  }
2789
2792
 
@@ -2791,7 +2794,7 @@
2791
2794
  display: inline-block;
2792
2795
  }
2793
2796
 
2794
- a, span {
2797
+ a, p {
2795
2798
  color: var(--color-content-description);
2796
2799
  font-family: var(--font-family-loccitane-sans);
2797
2800
  font-size: var(--font-size-100);
package/index.mjs CHANGED
@@ -2830,7 +2830,7 @@ let wt = class extends u {
2830
2830
  }
2831
2831
  render() {
2832
2832
  return l`
2833
- <span class="tag ${this.bgstyle}"><slot></slot></span>
2833
+ <p class="tag ${this.bgstyle}"><slot></slot></p>
2834
2834
  `;
2835
2835
  }
2836
2836
  };
@@ -2845,6 +2845,7 @@ wt.styles = v`
2845
2845
  font-family: var(--font-family-loccitane-sans);
2846
2846
  letter-spacing: var(--letter-spacing-400);
2847
2847
  position: relative;
2848
+ margin: var(--spacing-4-xs);
2848
2849
  }
2849
2850
 
2850
2851
  .tag.background-emphasis {
@@ -5114,7 +5115,7 @@ let St = class extends u {
5114
5115
  (!this.href || this.href === "#") && o.preventDefault();
5115
5116
  }
5116
5117
  render() {
5117
- return this.active ? l`<span aria-current="page"><slot></slot></span>` : l`
5118
+ return this.active ? l`<p aria-current="page"><slot></slot></p>` : l`
5118
5119
  <li>
5119
5120
  <a
5120
5121
  href="${this.href}"
@@ -5135,8 +5136,10 @@ St.styles = v`
5135
5136
  }
5136
5137
 
5137
5138
  :host([active]) {
5138
- span {
5139
+ p {
5139
5140
  color: var(--color-content-body);
5141
+ margin: var(--spacing-4-xs);
5142
+ display: inline-block;
5140
5143
  }
5141
5144
  }
5142
5145
 
@@ -5144,7 +5147,7 @@ St.styles = v`
5144
5147
  display: inline-block;
5145
5148
  }
5146
5149
 
5147
- a, span {
5150
+ a, p {
5148
5151
  color: var(--color-content-description);
5149
5152
  font-family: var(--font-family-loccitane-sans);
5150
5153
  font-size: var(--font-size-100);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@florid-kit/components",
3
- "version": "0.10.22",
3
+ "version": "0.10.24",
4
4
  "main": "index.js",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",