@florid-kit/components 0.10.22 → 0.10.23
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/index.js +8 -4
- package/index.mjs +8 -4
- 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
|
-
<
|
|
1283
|
+
<p class="tag ${this.bgstyle}"><slot></slot></p>
|
|
1284
1284
|
`}};wt.styles=v`
|
|
1285
1285
|
.tag {
|
|
1286
1286
|
display: inline-block;
|
|
@@ -1306,6 +1306,7 @@
|
|
|
1306
1306
|
|
|
1307
1307
|
:host([type$="stock"]) .tag {
|
|
1308
1308
|
padding-left: var(--spacing-2-xl);
|
|
1309
|
+
margin: var(--spacing-4-xs);
|
|
1309
1310
|
}
|
|
1310
1311
|
|
|
1311
1312
|
:host([type$="stock"]) .tag::before {
|
|
@@ -1334,6 +1335,7 @@
|
|
|
1334
1335
|
overflow: hidden;
|
|
1335
1336
|
white-space: nowrap;
|
|
1336
1337
|
text-overflow: ellipsis;
|
|
1338
|
+
margin: var(--spacing-4-xs);
|
|
1337
1339
|
|
|
1338
1340
|
&::first-letter {
|
|
1339
1341
|
text-transform: uppercase;
|
|
@@ -2764,7 +2766,7 @@
|
|
|
2764
2766
|
margin: var(--spacing-4-xs);
|
|
2765
2767
|
padding: var(--spacing-4-xs);
|
|
2766
2768
|
}
|
|
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`<
|
|
2769
|
+
`;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
2770
|
<li>
|
|
2769
2771
|
<a
|
|
2770
2772
|
href="${this.href}"
|
|
@@ -2782,8 +2784,10 @@
|
|
|
2782
2784
|
}
|
|
2783
2785
|
|
|
2784
2786
|
:host([active]) {
|
|
2785
|
-
|
|
2787
|
+
p {
|
|
2786
2788
|
color: var(--color-content-body);
|
|
2789
|
+
margin: var(--spacing-4-xs);
|
|
2790
|
+
display: inline-block;
|
|
2787
2791
|
}
|
|
2788
2792
|
}
|
|
2789
2793
|
|
|
@@ -2791,7 +2795,7 @@
|
|
|
2791
2795
|
display: inline-block;
|
|
2792
2796
|
}
|
|
2793
2797
|
|
|
2794
|
-
a,
|
|
2798
|
+
a, p {
|
|
2795
2799
|
color: var(--color-content-description);
|
|
2796
2800
|
font-family: var(--font-family-loccitane-sans);
|
|
2797
2801
|
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
|
-
<
|
|
2833
|
+
<p class="tag ${this.bgstyle}"><slot></slot></p>
|
|
2834
2834
|
`;
|
|
2835
2835
|
}
|
|
2836
2836
|
};
|
|
@@ -2859,6 +2859,7 @@ wt.styles = v`
|
|
|
2859
2859
|
|
|
2860
2860
|
:host([type$="stock"]) .tag {
|
|
2861
2861
|
padding-left: var(--spacing-2-xl);
|
|
2862
|
+
margin: var(--spacing-4-xs);
|
|
2862
2863
|
}
|
|
2863
2864
|
|
|
2864
2865
|
:host([type$="stock"]) .tag::before {
|
|
@@ -2887,6 +2888,7 @@ wt.styles = v`
|
|
|
2887
2888
|
overflow: hidden;
|
|
2888
2889
|
white-space: nowrap;
|
|
2889
2890
|
text-overflow: ellipsis;
|
|
2891
|
+
margin: var(--spacing-4-xs);
|
|
2890
2892
|
|
|
2891
2893
|
&::first-letter {
|
|
2892
2894
|
text-transform: uppercase;
|
|
@@ -5114,7 +5116,7 @@ let St = class extends u {
|
|
|
5114
5116
|
(!this.href || this.href === "#") && o.preventDefault();
|
|
5115
5117
|
}
|
|
5116
5118
|
render() {
|
|
5117
|
-
return this.active ? l`<
|
|
5119
|
+
return this.active ? l`<p aria-current="page"><slot></slot></p>` : l`
|
|
5118
5120
|
<li>
|
|
5119
5121
|
<a
|
|
5120
5122
|
href="${this.href}"
|
|
@@ -5135,8 +5137,10 @@ St.styles = v`
|
|
|
5135
5137
|
}
|
|
5136
5138
|
|
|
5137
5139
|
:host([active]) {
|
|
5138
|
-
|
|
5140
|
+
p {
|
|
5139
5141
|
color: var(--color-content-body);
|
|
5142
|
+
margin: var(--spacing-4-xs);
|
|
5143
|
+
display: inline-block;
|
|
5140
5144
|
}
|
|
5141
5145
|
}
|
|
5142
5146
|
|
|
@@ -5144,7 +5148,7 @@ St.styles = v`
|
|
|
5144
5148
|
display: inline-block;
|
|
5145
5149
|
}
|
|
5146
5150
|
|
|
5147
|
-
a,
|
|
5151
|
+
a, p {
|
|
5148
5152
|
color: var(--color-content-description);
|
|
5149
5153
|
font-family: var(--font-family-loccitane-sans);
|
|
5150
5154
|
font-size: var(--font-size-100);
|