@kompasid/lit-web-components 0.5.7 → 0.5.8
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/demo/index.html +2 -2
- package/dist/src/components/kompasid-paywall/KompasPaywall.d.ts +3 -2
- package/dist/src/components/kompasid-paywall/KompasPaywall.js +20 -7
- package/dist/src/components/kompasid-paywall/KompasPaywall.js.map +1 -1
- package/dist/src/components/kompasid-paywall/types.d.ts +1 -0
- package/dist/src/components/kompasid-paywall/types.js.map +1 -1
- package/dist/src/components/kompasid-paywall-body/KompasPaywallBody.d.ts +10 -3
- package/dist/src/components/kompasid-paywall-body/KompasPaywallBody.js +187 -128
- package/dist/src/components/kompasid-paywall-body/KompasPaywallBody.js.map +1 -1
- package/dist/tailwind/tailwind.js +33 -16
- package/dist/tailwind/tailwind.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -4
- package/src/components/kompasid-paywall/KompasPaywall.ts +25 -10
- package/src/components/kompasid-paywall/types.ts +2 -0
- package/src/components/kompasid-paywall-body/KompasPaywallBody.ts +138 -53
- package/src/components/kompasid-paywall-body/readme.md +1 -0
- package/tailwind/tailwind.css +33 -16
- package/tailwind/tailwind.ts +33 -16
package/tailwind/tailwind.css
CHANGED
|
@@ -534,6 +534,14 @@ video {
|
|
|
534
534
|
--tw-backdrop-sepia: ;
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
+
.visible {
|
|
538
|
+
visibility: visible;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.invisible {
|
|
542
|
+
visibility: hidden;
|
|
543
|
+
}
|
|
544
|
+
|
|
537
545
|
.collapse {
|
|
538
546
|
visibility: collapse;
|
|
539
547
|
}
|
|
@@ -542,6 +550,10 @@ video {
|
|
|
542
550
|
position: static;
|
|
543
551
|
}
|
|
544
552
|
|
|
553
|
+
.fixed {
|
|
554
|
+
position: fixed;
|
|
555
|
+
}
|
|
556
|
+
|
|
545
557
|
.absolute {
|
|
546
558
|
position: absolute;
|
|
547
559
|
}
|
|
@@ -554,6 +566,10 @@ video {
|
|
|
554
566
|
position: sticky;
|
|
555
567
|
}
|
|
556
568
|
|
|
569
|
+
.inset-0 {
|
|
570
|
+
inset: 0px;
|
|
571
|
+
}
|
|
572
|
+
|
|
557
573
|
.-bottom-6 {
|
|
558
574
|
bottom: -1.5rem;
|
|
559
575
|
}
|
|
@@ -594,6 +610,10 @@ video {
|
|
|
594
610
|
z-index: 20;
|
|
595
611
|
}
|
|
596
612
|
|
|
613
|
+
.z-50 {
|
|
614
|
+
z-index: 50;
|
|
615
|
+
}
|
|
616
|
+
|
|
597
617
|
.col-span-2 {
|
|
598
618
|
grid-column: span 2 / span 2;
|
|
599
619
|
}
|
|
@@ -696,6 +716,10 @@ video {
|
|
|
696
716
|
margin-left: 2rem;
|
|
697
717
|
}
|
|
698
718
|
|
|
719
|
+
.ml-auto {
|
|
720
|
+
margin-left: auto;
|
|
721
|
+
}
|
|
722
|
+
|
|
699
723
|
.mr-10 {
|
|
700
724
|
margin-right: 2.5rem;
|
|
701
725
|
}
|
|
@@ -740,10 +764,6 @@ video {
|
|
|
740
764
|
margin-top: 2rem;
|
|
741
765
|
}
|
|
742
766
|
|
|
743
|
-
.ml-auto {
|
|
744
|
-
margin-left: auto;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
767
|
.block {
|
|
748
768
|
display: block;
|
|
749
769
|
}
|
|
@@ -885,10 +905,6 @@ video {
|
|
|
885
905
|
width: 100%;
|
|
886
906
|
}
|
|
887
907
|
|
|
888
|
-
.w-\[127px\] {
|
|
889
|
-
width: 127px;
|
|
890
|
-
}
|
|
891
|
-
|
|
892
908
|
.max-w-7xl {
|
|
893
909
|
max-width: 80rem;
|
|
894
910
|
}
|
|
@@ -1610,6 +1626,11 @@ video {
|
|
|
1610
1626
|
.sm\:grid-cols-4 {
|
|
1611
1627
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1612
1628
|
}
|
|
1629
|
+
|
|
1630
|
+
.sm\:px-16 {
|
|
1631
|
+
padding-left: 4rem;
|
|
1632
|
+
padding-right: 4rem;
|
|
1633
|
+
}
|
|
1613
1634
|
}
|
|
1614
1635
|
|
|
1615
1636
|
@media (min-width: 768px) {
|
|
@@ -1663,6 +1684,10 @@ video {
|
|
|
1663
1684
|
display: block;
|
|
1664
1685
|
}
|
|
1665
1686
|
|
|
1687
|
+
.md\:flex {
|
|
1688
|
+
display: flex;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1666
1691
|
.md\:hidden {
|
|
1667
1692
|
display: none;
|
|
1668
1693
|
}
|
|
@@ -1968,14 +1993,6 @@ video {
|
|
|
1968
1993
|
display: block;
|
|
1969
1994
|
}
|
|
1970
1995
|
|
|
1971
|
-
.lg\:flex {
|
|
1972
|
-
display: flex;
|
|
1973
|
-
}
|
|
1974
|
-
|
|
1975
|
-
.lg\:hidden {
|
|
1976
|
-
display: none;
|
|
1977
|
-
}
|
|
1978
|
-
|
|
1979
1996
|
.lg\:min-h-\[220px\] {
|
|
1980
1997
|
min-height: 220px;
|
|
1981
1998
|
}
|
package/tailwind/tailwind.ts
CHANGED
|
@@ -544,6 +544,14 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
544
544
|
--tw-backdrop-sepia: ;
|
|
545
545
|
}
|
|
546
546
|
|
|
547
|
+
.visible {
|
|
548
|
+
visibility: visible;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.invisible {
|
|
552
|
+
visibility: hidden;
|
|
553
|
+
}
|
|
554
|
+
|
|
547
555
|
.collapse {
|
|
548
556
|
visibility: collapse;
|
|
549
557
|
}
|
|
@@ -552,6 +560,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
552
560
|
position: static;
|
|
553
561
|
}
|
|
554
562
|
|
|
563
|
+
.fixed {
|
|
564
|
+
position: fixed;
|
|
565
|
+
}
|
|
566
|
+
|
|
555
567
|
.absolute {
|
|
556
568
|
position: absolute;
|
|
557
569
|
}
|
|
@@ -564,6 +576,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
564
576
|
position: sticky;
|
|
565
577
|
}
|
|
566
578
|
|
|
579
|
+
.inset-0 {
|
|
580
|
+
inset: 0px;
|
|
581
|
+
}
|
|
582
|
+
|
|
567
583
|
.-bottom-6 {
|
|
568
584
|
bottom: -1.5rem;
|
|
569
585
|
}
|
|
@@ -604,6 +620,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
604
620
|
z-index: 20;
|
|
605
621
|
}
|
|
606
622
|
|
|
623
|
+
.z-50 {
|
|
624
|
+
z-index: 50;
|
|
625
|
+
}
|
|
626
|
+
|
|
607
627
|
.col-span-2 {
|
|
608
628
|
grid-column: span 2 / span 2;
|
|
609
629
|
}
|
|
@@ -706,6 +726,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
706
726
|
margin-left: 2rem;
|
|
707
727
|
}
|
|
708
728
|
|
|
729
|
+
.ml-auto {
|
|
730
|
+
margin-left: auto;
|
|
731
|
+
}
|
|
732
|
+
|
|
709
733
|
.mr-10 {
|
|
710
734
|
margin-right: 2.5rem;
|
|
711
735
|
}
|
|
@@ -750,10 +774,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
750
774
|
margin-top: 2rem;
|
|
751
775
|
}
|
|
752
776
|
|
|
753
|
-
.ml-auto {
|
|
754
|
-
margin-left: auto;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
777
|
.block {
|
|
758
778
|
display: block;
|
|
759
779
|
}
|
|
@@ -895,10 +915,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
895
915
|
width: 100%;
|
|
896
916
|
}
|
|
897
917
|
|
|
898
|
-
.w-\\[127px\\] {
|
|
899
|
-
width: 127px;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
918
|
.max-w-7xl {
|
|
903
919
|
max-width: 80rem;
|
|
904
920
|
}
|
|
@@ -1625,6 +1641,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1625
1641
|
.sm\\:grid-cols-4 {
|
|
1626
1642
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1627
1643
|
}
|
|
1644
|
+
|
|
1645
|
+
.sm\\:px-16 {
|
|
1646
|
+
padding-left: 4rem;
|
|
1647
|
+
padding-right: 4rem;
|
|
1648
|
+
}
|
|
1628
1649
|
}
|
|
1629
1650
|
|
|
1630
1651
|
@media (min-width: 768px) {
|
|
@@ -1678,6 +1699,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1678
1699
|
display: block;
|
|
1679
1700
|
}
|
|
1680
1701
|
|
|
1702
|
+
.md\\:flex {
|
|
1703
|
+
display: flex;
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1681
1706
|
.md\\:hidden {
|
|
1682
1707
|
display: none;
|
|
1683
1708
|
}
|
|
@@ -1983,14 +2008,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1983
2008
|
display: block;
|
|
1984
2009
|
}
|
|
1985
2010
|
|
|
1986
|
-
.lg\\:flex {
|
|
1987
|
-
display: flex;
|
|
1988
|
-
}
|
|
1989
|
-
|
|
1990
|
-
.lg\\:hidden {
|
|
1991
|
-
display: none;
|
|
1992
|
-
}
|
|
1993
|
-
|
|
1994
2011
|
.lg\\:min-h-\\[220px\\] {
|
|
1995
2012
|
min-height: 220px;
|
|
1996
2013
|
}
|