@florid-kit/components 0.3.15 → 0.3.16
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 +2 -12
- package/index.mjs +2 -12
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -555,7 +555,6 @@
|
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
|
|
558
|
-
/*Underline effect */
|
|
559
558
|
:host a {
|
|
560
559
|
position: relative;
|
|
561
560
|
text-decoration: none;
|
|
@@ -573,25 +572,16 @@
|
|
|
573
572
|
left: 0;
|
|
574
573
|
bottom: 0;
|
|
575
574
|
width: 100%;
|
|
575
|
+
opacity: 1;
|
|
576
576
|
height: 1px;
|
|
577
577
|
background-color: currentColor;
|
|
578
|
-
opacity: 0;
|
|
579
578
|
transition: opacity 0.3s ease, height 0.3s ease;
|
|
580
579
|
pointer-events: none;
|
|
581
580
|
}
|
|
582
581
|
|
|
583
582
|
:host a:hover .link-text::after {
|
|
584
|
-
opacity: 1;
|
|
585
|
-
height: 1px;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
:host(:not([endIcon])) .link-text::after {
|
|
589
|
-
opacity: 1;
|
|
590
|
-
height: 1px;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
:host(:not([endIcon])) a:hover .link-text::after {
|
|
594
583
|
opacity: 0;
|
|
584
|
+
height: 1px;
|
|
595
585
|
}
|
|
596
586
|
/* End of underline effect */
|
|
597
587
|
`;H([l({type:String})],_.prototype,"href",2);H([l({type:String})],_.prototype,"target",2);H([l({type:String,reflect:!0})],_.prototype,"template",2);H([l({type:Boolean,reflect:!0})],_.prototype,"inverse",2);H([l({type:Boolean,reflect:!0})],_.prototype,"endIcon",2);H([l({type:Boolean,reflect:!0})],_.prototype,"reverseEndIcon",2);_=H([z("o-link")],_);var _e=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,Y=(n,t,e,o)=>{for(var s=o>1?void 0:o?xe(t,e):t,i=n.length-1,r;i>=0;i--)(r=n[i])&&(s=(o?r(t,e,s):r(s))||s);return o&&s&&_e(t,e,s),s};let T=class extends ${constructor(){super(...arguments),this.rating=0}getStarKeys(){const n=[];for(let t=0;t<5;t++){const e=this.rating-t;let o;e>=1?o=100:e<=0?o=0:o=Math.round(e*100/25)*25,n.push(`star-${o}`)}return n}render(){const n=this.getStarKeys();return d`
|
package/index.mjs
CHANGED
|
@@ -1402,7 +1402,6 @@ _.styles = S`
|
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
1404
|
|
|
1405
|
-
/*Underline effect */
|
|
1406
1405
|
:host a {
|
|
1407
1406
|
position: relative;
|
|
1408
1407
|
text-decoration: none;
|
|
@@ -1420,25 +1419,16 @@ _.styles = S`
|
|
|
1420
1419
|
left: 0;
|
|
1421
1420
|
bottom: 0;
|
|
1422
1421
|
width: 100%;
|
|
1422
|
+
opacity: 1;
|
|
1423
1423
|
height: 1px;
|
|
1424
1424
|
background-color: currentColor;
|
|
1425
|
-
opacity: 0;
|
|
1426
1425
|
transition: opacity 0.3s ease, height 0.3s ease;
|
|
1427
1426
|
pointer-events: none;
|
|
1428
1427
|
}
|
|
1429
1428
|
|
|
1430
1429
|
:host a:hover .link-text::after {
|
|
1431
|
-
opacity: 1;
|
|
1432
|
-
height: 1px;
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
:host(:not([endIcon])) .link-text::after {
|
|
1436
|
-
opacity: 1;
|
|
1437
|
-
height: 1px;
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
:host(:not([endIcon])) a:hover .link-text::after {
|
|
1441
1430
|
opacity: 0;
|
|
1431
|
+
height: 1px;
|
|
1442
1432
|
}
|
|
1443
1433
|
/* End of underline effect */
|
|
1444
1434
|
`;
|