@kompasid/lit-web-components 0.5.0 → 0.5.1
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-freewall/KompasFreewall.js +7 -2
- package/dist/src/components/kompasid-freewall/KompasFreewall.js.map +1 -1
- package/dist/src/components/kompasid-freewall-body/KompasFreewallBody.js +10 -8
- package/dist/src/components/kompasid-freewall-body/KompasFreewallBody.js.map +1 -1
- package/dist/src/components/kompasid-freewall-head/KompasFreewallHead.js +8 -3
- package/dist/src/components/kompasid-freewall-head/KompasFreewallHead.js.map +1 -1
- package/dist/tailwind/tailwind.js +50 -42
- package/dist/tailwind/tailwind.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
- package/src/components/kompasid-freewall/KompasFreewall.ts +8 -2
- package/src/components/kompasid-freewall/readme.md +43 -11
- package/src/components/kompasid-freewall-body/KompasFreewallBody.ts +10 -8
- package/src/components/kompasid-freewall-head/KompasFreewallHead.ts +8 -3
- package/tailwind/tailwind.css +50 -42
- package/tailwind/tailwind.ts +50 -42
|
@@ -61,11 +61,15 @@ export class KompasFreewallHead extends LitElement {
|
|
|
61
61
|
|
|
62
62
|
render() {
|
|
63
63
|
return html`
|
|
64
|
-
<div class="flex flex-col px-4 md:px-0 space-y-4">
|
|
64
|
+
<div class="flex flex-col px-4 md:px-0 space-y-4 pt-4 pb-5 md:py-2">
|
|
65
65
|
<div class="flex justify-between items-center h-full space-x-3">
|
|
66
|
-
<div
|
|
66
|
+
<div
|
|
67
|
+
class="hidden ${this.expand ? 'md:block' : 'lg:block'} w-9 h-9"
|
|
68
|
+
></div>
|
|
67
69
|
<div class="flex items-center md:justify-start space-x-3">
|
|
68
|
-
<p class="w-[280px] md:w-full"
|
|
70
|
+
<p class="max-w-[280px] md:max-w-full text-grey-600">
|
|
71
|
+
${this.headCopy}
|
|
72
|
+
</p>
|
|
69
73
|
${!this.expand
|
|
70
74
|
? html`<button
|
|
71
75
|
@click=${this.onSubscriptionClick}
|
|
@@ -79,6 +83,7 @@ export class KompasFreewallHead extends LitElement {
|
|
|
79
83
|
<div>
|
|
80
84
|
<button
|
|
81
85
|
@click=${this.toggleExpand}
|
|
86
|
+
aria-label="Toggle Expand"
|
|
82
87
|
class="h-9 w-9 flex items-center justify-center text-blue-500 rounded bg-blue-200"
|
|
83
88
|
>
|
|
84
89
|
<div class="${!this.expand && 'rotate-180'}">
|
package/tailwind/tailwind.css
CHANGED
|
@@ -656,6 +656,10 @@ video {
|
|
|
656
656
|
margin-bottom: 0.5rem;
|
|
657
657
|
}
|
|
658
658
|
|
|
659
|
+
.mb-4 {
|
|
660
|
+
margin-bottom: 1rem;
|
|
661
|
+
}
|
|
662
|
+
|
|
659
663
|
.ml-0 {
|
|
660
664
|
margin-left: 0px;
|
|
661
665
|
}
|
|
@@ -760,18 +764,6 @@ video {
|
|
|
760
764
|
height: 2.25rem;
|
|
761
765
|
}
|
|
762
766
|
|
|
763
|
-
.h-\[159px\] {
|
|
764
|
-
height: 159px;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
.h-\[223px\] {
|
|
768
|
-
height: 223px;
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
.h-\[277px\] {
|
|
772
|
-
height: 277px;
|
|
773
|
-
}
|
|
774
|
-
|
|
775
767
|
.h-auto {
|
|
776
768
|
height: auto;
|
|
777
769
|
}
|
|
@@ -832,10 +824,6 @@ video {
|
|
|
832
824
|
width: 138px;
|
|
833
825
|
}
|
|
834
826
|
|
|
835
|
-
.w-\[250px\] {
|
|
836
|
-
width: 250px;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
827
|
.w-\[296px\] {
|
|
840
828
|
width: 296px;
|
|
841
829
|
}
|
|
@@ -852,14 +840,14 @@ video {
|
|
|
852
840
|
width: 100%;
|
|
853
841
|
}
|
|
854
842
|
|
|
855
|
-
.w-\[280px\] {
|
|
856
|
-
width: 280px;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
843
|
.max-w-7xl {
|
|
860
844
|
max-width: 80rem;
|
|
861
845
|
}
|
|
862
846
|
|
|
847
|
+
.max-w-\[280px\] {
|
|
848
|
+
max-width: 280px;
|
|
849
|
+
}
|
|
850
|
+
|
|
863
851
|
.max-w-screen-md {
|
|
864
852
|
max-width: 768px;
|
|
865
853
|
}
|
|
@@ -1069,9 +1057,9 @@ video {
|
|
|
1069
1057
|
border-color: rgb(147 200 253 / var(--tw-border-opacity));
|
|
1070
1058
|
}
|
|
1071
1059
|
|
|
1072
|
-
.border-
|
|
1060
|
+
.border-brand-1 {
|
|
1073
1061
|
--tw-border-opacity: 1;
|
|
1074
|
-
border-color: rgb(
|
|
1062
|
+
border-color: rgb(0 85 154 / var(--tw-border-opacity));
|
|
1075
1063
|
}
|
|
1076
1064
|
|
|
1077
1065
|
.border-dark-6 {
|
|
@@ -1300,6 +1288,10 @@ video {
|
|
|
1300
1288
|
padding-bottom: 1rem;
|
|
1301
1289
|
}
|
|
1302
1290
|
|
|
1291
|
+
.pb-5 {
|
|
1292
|
+
padding-bottom: 1.25rem;
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1303
1295
|
.pb-6 {
|
|
1304
1296
|
padding-bottom: 1.5rem;
|
|
1305
1297
|
}
|
|
@@ -1340,10 +1332,18 @@ video {
|
|
|
1340
1332
|
padding-top: 2.5rem;
|
|
1341
1333
|
}
|
|
1342
1334
|
|
|
1335
|
+
.pt-4 {
|
|
1336
|
+
padding-top: 1rem;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1343
1339
|
.pt-6 {
|
|
1344
1340
|
padding-top: 1.5rem;
|
|
1345
1341
|
}
|
|
1346
1342
|
|
|
1343
|
+
.pt-\[5px\] {
|
|
1344
|
+
padding-top: 5px;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
1347
|
.text-left {
|
|
1348
1348
|
text-align: left;
|
|
1349
1349
|
}
|
|
@@ -1519,11 +1519,6 @@ video {
|
|
|
1519
1519
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
1522
|
-
.text-green-100 {
|
|
1523
|
-
--tw-text-opacity: 1;
|
|
1524
|
-
color: rgb(238 252 210 / var(--tw-text-opacity));
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
1522
|
.underline {
|
|
1528
1523
|
text-decoration-line: underline;
|
|
1529
1524
|
}
|
|
@@ -1555,6 +1550,10 @@ video {
|
|
|
1555
1550
|
margin-bottom: 0px;
|
|
1556
1551
|
}
|
|
1557
1552
|
|
|
1553
|
+
.md\:mb-5 {
|
|
1554
|
+
margin-bottom: 1.25rem;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1558
1557
|
.md\:ml-1 {
|
|
1559
1558
|
margin-left: 0.25rem;
|
|
1560
1559
|
}
|
|
@@ -1591,12 +1590,8 @@ video {
|
|
|
1591
1590
|
height: 3rem;
|
|
1592
1591
|
}
|
|
1593
1592
|
|
|
1594
|
-
.md\:h-\[
|
|
1595
|
-
height:
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
.md\:h-\[240px\] {
|
|
1599
|
-
height: 240px;
|
|
1593
|
+
.md\:min-h-\[244px\] {
|
|
1594
|
+
min-height: 244px;
|
|
1600
1595
|
}
|
|
1601
1596
|
|
|
1602
1597
|
.md\:w-3\/5 {
|
|
@@ -1635,6 +1630,10 @@ video {
|
|
|
1635
1630
|
width: 100%;
|
|
1636
1631
|
}
|
|
1637
1632
|
|
|
1633
|
+
.md\:max-w-full {
|
|
1634
|
+
max-width: 100%;
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1638
1637
|
.md\:max-w-sm {
|
|
1639
1638
|
max-width: 24rem;
|
|
1640
1639
|
}
|
|
@@ -1690,16 +1689,16 @@ video {
|
|
|
1690
1689
|
padding-right: 0px;
|
|
1691
1690
|
}
|
|
1692
1691
|
|
|
1693
|
-
.md\:px-12 {
|
|
1694
|
-
padding-left: 3rem;
|
|
1695
|
-
padding-right: 3rem;
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
1692
|
.md\:px-20 {
|
|
1699
1693
|
padding-left: 5rem;
|
|
1700
1694
|
padding-right: 5rem;
|
|
1701
1695
|
}
|
|
1702
1696
|
|
|
1697
|
+
.md\:px-4 {
|
|
1698
|
+
padding-left: 1rem;
|
|
1699
|
+
padding-right: 1rem;
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1703
1702
|
.md\:px-5 {
|
|
1704
1703
|
padding-left: 1.25rem;
|
|
1705
1704
|
padding-right: 1.25rem;
|
|
@@ -1710,6 +1709,11 @@ video {
|
|
|
1710
1709
|
padding-right: 1.5rem;
|
|
1711
1710
|
}
|
|
1712
1711
|
|
|
1712
|
+
.md\:py-2 {
|
|
1713
|
+
padding-top: 0.5rem;
|
|
1714
|
+
padding-bottom: 0.5rem;
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1713
1717
|
.md\:py-6 {
|
|
1714
1718
|
padding-top: 1.5rem;
|
|
1715
1719
|
padding-bottom: 1.5rem;
|
|
@@ -1719,6 +1723,10 @@ video {
|
|
|
1719
1723
|
padding-bottom: 1rem;
|
|
1720
1724
|
}
|
|
1721
1725
|
|
|
1726
|
+
.md\:pb-7 {
|
|
1727
|
+
padding-bottom: 1.75rem;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1722
1730
|
.md\:pt-3 {
|
|
1723
1731
|
padding-top: 0.75rem;
|
|
1724
1732
|
}
|
|
@@ -1794,10 +1802,6 @@ video {
|
|
|
1794
1802
|
margin-top: 0.5rem;
|
|
1795
1803
|
}
|
|
1796
1804
|
|
|
1797
|
-
.lg\:mt-3 {
|
|
1798
|
-
margin-top: 0.75rem;
|
|
1799
|
-
}
|
|
1800
|
-
|
|
1801
1805
|
.lg\:block {
|
|
1802
1806
|
display: block;
|
|
1803
1807
|
}
|
|
@@ -1810,6 +1814,10 @@ video {
|
|
|
1810
1814
|
display: none;
|
|
1811
1815
|
}
|
|
1812
1816
|
|
|
1817
|
+
.lg\:min-h-\[220px\] {
|
|
1818
|
+
min-height: 220px;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1813
1821
|
.lg\:w-\[410px\] {
|
|
1814
1822
|
width: 410px;
|
|
1815
1823
|
}
|
package/tailwind/tailwind.ts
CHANGED
|
@@ -666,6 +666,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
666
666
|
margin-bottom: 0.5rem;
|
|
667
667
|
}
|
|
668
668
|
|
|
669
|
+
.mb-4 {
|
|
670
|
+
margin-bottom: 1rem;
|
|
671
|
+
}
|
|
672
|
+
|
|
669
673
|
.ml-0 {
|
|
670
674
|
margin-left: 0px;
|
|
671
675
|
}
|
|
@@ -770,18 +774,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
770
774
|
height: 2.25rem;
|
|
771
775
|
}
|
|
772
776
|
|
|
773
|
-
.h-\\[159px\\] {
|
|
774
|
-
height: 159px;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
.h-\\[223px\\] {
|
|
778
|
-
height: 223px;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
.h-\\[277px\\] {
|
|
782
|
-
height: 277px;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
777
|
.h-auto {
|
|
786
778
|
height: auto;
|
|
787
779
|
}
|
|
@@ -842,10 +834,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
842
834
|
width: 138px;
|
|
843
835
|
}
|
|
844
836
|
|
|
845
|
-
.w-\\[250px\\] {
|
|
846
|
-
width: 250px;
|
|
847
|
-
}
|
|
848
|
-
|
|
849
837
|
.w-\\[296px\\] {
|
|
850
838
|
width: 296px;
|
|
851
839
|
}
|
|
@@ -862,14 +850,14 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
862
850
|
width: 100%;
|
|
863
851
|
}
|
|
864
852
|
|
|
865
|
-
.w-\\[280px\\] {
|
|
866
|
-
width: 280px;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
853
|
.max-w-7xl {
|
|
870
854
|
max-width: 80rem;
|
|
871
855
|
}
|
|
872
856
|
|
|
857
|
+
.max-w-\\[280px\\] {
|
|
858
|
+
max-width: 280px;
|
|
859
|
+
}
|
|
860
|
+
|
|
873
861
|
.max-w-screen-md {
|
|
874
862
|
max-width: 768px;
|
|
875
863
|
}
|
|
@@ -1083,9 +1071,9 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1083
1071
|
border-color: rgb(147 200 253 / var(--tw-border-opacity));
|
|
1084
1072
|
}
|
|
1085
1073
|
|
|
1086
|
-
.border-
|
|
1074
|
+
.border-brand-1 {
|
|
1087
1075
|
--tw-border-opacity: 1;
|
|
1088
|
-
border-color: rgb(
|
|
1076
|
+
border-color: rgb(0 85 154 / var(--tw-border-opacity));
|
|
1089
1077
|
}
|
|
1090
1078
|
|
|
1091
1079
|
.border-dark-6 {
|
|
@@ -1314,6 +1302,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1314
1302
|
padding-bottom: 1rem;
|
|
1315
1303
|
}
|
|
1316
1304
|
|
|
1305
|
+
.pb-5 {
|
|
1306
|
+
padding-bottom: 1.25rem;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1317
1309
|
.pb-6 {
|
|
1318
1310
|
padding-bottom: 1.5rem;
|
|
1319
1311
|
}
|
|
@@ -1354,10 +1346,18 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1354
1346
|
padding-top: 2.5rem;
|
|
1355
1347
|
}
|
|
1356
1348
|
|
|
1349
|
+
.pt-4 {
|
|
1350
|
+
padding-top: 1rem;
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1357
1353
|
.pt-6 {
|
|
1358
1354
|
padding-top: 1.5rem;
|
|
1359
1355
|
}
|
|
1360
1356
|
|
|
1357
|
+
.pt-\\[5px\\] {
|
|
1358
|
+
padding-top: 5px;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
1361
|
.text-left {
|
|
1362
1362
|
text-align: left;
|
|
1363
1363
|
}
|
|
@@ -1533,11 +1533,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1533
1533
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1534
1534
|
}
|
|
1535
1535
|
|
|
1536
|
-
.text-green-100 {
|
|
1537
|
-
--tw-text-opacity: 1;
|
|
1538
|
-
color: rgb(238 252 210 / var(--tw-text-opacity));
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
1536
|
.underline {
|
|
1542
1537
|
text-decoration-line: underline;
|
|
1543
1538
|
}
|
|
@@ -1570,6 +1565,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1570
1565
|
margin-bottom: 0px;
|
|
1571
1566
|
}
|
|
1572
1567
|
|
|
1568
|
+
.md\\:mb-5 {
|
|
1569
|
+
margin-bottom: 1.25rem;
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1573
1572
|
.md\\:ml-1 {
|
|
1574
1573
|
margin-left: 0.25rem;
|
|
1575
1574
|
}
|
|
@@ -1606,12 +1605,8 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1606
1605
|
height: 3rem;
|
|
1607
1606
|
}
|
|
1608
1607
|
|
|
1609
|
-
.md\\:h-\\[
|
|
1610
|
-
height:
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
.md\\:h-\\[240px\\] {
|
|
1614
|
-
height: 240px;
|
|
1608
|
+
.md\\:min-h-\\[244px\\] {
|
|
1609
|
+
min-height: 244px;
|
|
1615
1610
|
}
|
|
1616
1611
|
|
|
1617
1612
|
.md\\:w-3\\/5 {
|
|
@@ -1650,6 +1645,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1650
1645
|
width: 100%;
|
|
1651
1646
|
}
|
|
1652
1647
|
|
|
1648
|
+
.md\\:max-w-full {
|
|
1649
|
+
max-width: 100%;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1653
1652
|
.md\\:max-w-sm {
|
|
1654
1653
|
max-width: 24rem;
|
|
1655
1654
|
}
|
|
@@ -1705,16 +1704,16 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1705
1704
|
padding-right: 0px;
|
|
1706
1705
|
}
|
|
1707
1706
|
|
|
1708
|
-
.md\\:px-12 {
|
|
1709
|
-
padding-left: 3rem;
|
|
1710
|
-
padding-right: 3rem;
|
|
1711
|
-
}
|
|
1712
|
-
|
|
1713
1707
|
.md\\:px-20 {
|
|
1714
1708
|
padding-left: 5rem;
|
|
1715
1709
|
padding-right: 5rem;
|
|
1716
1710
|
}
|
|
1717
1711
|
|
|
1712
|
+
.md\\:px-4 {
|
|
1713
|
+
padding-left: 1rem;
|
|
1714
|
+
padding-right: 1rem;
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1718
1717
|
.md\\:px-5 {
|
|
1719
1718
|
padding-left: 1.25rem;
|
|
1720
1719
|
padding-right: 1.25rem;
|
|
@@ -1725,6 +1724,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1725
1724
|
padding-right: 1.5rem;
|
|
1726
1725
|
}
|
|
1727
1726
|
|
|
1727
|
+
.md\\:py-2 {
|
|
1728
|
+
padding-top: 0.5rem;
|
|
1729
|
+
padding-bottom: 0.5rem;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1728
1732
|
.md\\:py-6 {
|
|
1729
1733
|
padding-top: 1.5rem;
|
|
1730
1734
|
padding-bottom: 1.5rem;
|
|
@@ -1734,6 +1738,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1734
1738
|
padding-bottom: 1rem;
|
|
1735
1739
|
}
|
|
1736
1740
|
|
|
1741
|
+
.md\\:pb-7 {
|
|
1742
|
+
padding-bottom: 1.75rem;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1737
1745
|
.md\\:pt-3 {
|
|
1738
1746
|
padding-top: 0.75rem;
|
|
1739
1747
|
}
|
|
@@ -1809,10 +1817,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1809
1817
|
margin-top: 0.5rem;
|
|
1810
1818
|
}
|
|
1811
1819
|
|
|
1812
|
-
.lg\\:mt-3 {
|
|
1813
|
-
margin-top: 0.75rem;
|
|
1814
|
-
}
|
|
1815
|
-
|
|
1816
1820
|
.lg\\:block {
|
|
1817
1821
|
display: block;
|
|
1818
1822
|
}
|
|
@@ -1825,6 +1829,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
|
|
|
1825
1829
|
display: none;
|
|
1826
1830
|
}
|
|
1827
1831
|
|
|
1832
|
+
.lg\\:min-h-\\[220px\\] {
|
|
1833
|
+
min-height: 220px;
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1828
1836
|
.lg\\:w-\\[410px\\] {
|
|
1829
1837
|
width: 410px;
|
|
1830
1838
|
}
|