@kompasid/lit-web-components 0.6.7 → 0.7.0

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 (31) hide show
  1. package/demo/index.html +35 -1
  2. package/dist/src/components/kompasid-paywall-body/KompasPaywallBody.js +39 -11
  3. package/dist/src/components/kompasid-paywall-body/KompasPaywallBody.js.map +1 -1
  4. package/dist/src/components/kompasid-widget-recirculations-default/KompasWidgetRecirculationsDefault.d.ts +39 -0
  5. package/dist/src/components/kompasid-widget-recirculations-default/KompasWidgetRecirculationsDefault.js +340 -0
  6. package/dist/src/components/kompasid-widget-recirculations-default/KompasWidgetRecirculationsDefault.js.map +1 -0
  7. package/dist/src/components/kompasid-widget-recirculations-default/types.d.ts +27 -0
  8. package/dist/src/components/kompasid-widget-recirculations-default/types.js +2 -0
  9. package/dist/src/components/kompasid-widget-recirculations-default/types.js.map +1 -0
  10. package/dist/src/components/kompasid-widget-recirculations-list/KompasWidgetRecirculationsList.d.ts +28 -0
  11. package/dist/src/components/kompasid-widget-recirculations-list/KompasWidgetRecirculationsList.js +188 -0
  12. package/dist/src/components/kompasid-widget-recirculations-list/KompasWidgetRecirculationsList.js.map +1 -0
  13. package/dist/src/index.d.ts +2 -0
  14. package/dist/src/index.js +2 -0
  15. package/dist/src/index.js.map +1 -1
  16. package/dist/tailwind/tailwind.js +88 -170
  17. package/dist/tailwind/tailwind.js.map +1 -1
  18. package/dist/tsconfig.tsbuildinfo +1 -1
  19. package/package.json +2 -1
  20. package/src/components/kompasid-paywall-body/KompasPaywallBody.ts +39 -11
  21. package/src/components/kompasid-widget-recirculations-default/KompasWidgetRecirculationsDefault.ts +342 -0
  22. package/src/components/kompasid-widget-recirculations-default/readme.md +57 -0
  23. package/src/components/kompasid-widget-recirculations-default/types.ts +28 -0
  24. package/src/components/kompasid-widget-recirculations-list/KompasWidgetRecirculationsList.ts +230 -0
  25. package/src/components/kompasid-widget-recirculations-list/readme.md +27 -0
  26. package/src/index.ts +2 -0
  27. package/tailwind/tailwind.css +85 -170
  28. package/tailwind/tailwind.ts +88 -170
  29. package/tailwind.config.js +2 -1
  30. package/assets/kompas-free-trial.png +0 -0
  31. package/assets/qr-code.png +0 -0
@@ -689,6 +689,10 @@ video {
689
689
  margin-bottom: 1.25rem;
690
690
  }
691
691
 
692
+ .mb-6 {
693
+ margin-bottom: 1.5rem;
694
+ }
695
+
692
696
  .ml-0 {
693
697
  margin-left: 0px;
694
698
  }
@@ -725,10 +729,6 @@ video {
725
729
  margin-right: 2.5rem;
726
730
  }
727
731
 
728
- .mr-2 {
729
- margin-right: 0.5rem;
730
- }
731
-
732
732
  .mr-3 {
733
733
  margin-right: 0.75rem;
734
734
  }
@@ -741,6 +741,10 @@ video {
741
741
  margin-right: 1rem;
742
742
  }
743
743
 
744
+ .mr-6 {
745
+ margin-right: 1.5rem;
746
+ }
747
+
744
748
  .mt-1 {
745
749
  margin-top: 0.25rem;
746
750
  }
@@ -769,10 +773,6 @@ video {
769
773
  margin-top: 2rem;
770
774
  }
771
775
 
772
- .mr-6 {
773
- margin-right: 1.5rem;
774
- }
775
-
776
776
  .block {
777
777
  display: block;
778
778
  }
@@ -789,10 +789,18 @@ video {
789
789
  display: none;
790
790
  }
791
791
 
792
+ .aspect-video {
793
+ aspect-ratio: 16 / 9;
794
+ }
795
+
792
796
  .h-10 {
793
797
  height: 2.5rem;
794
798
  }
795
799
 
800
+ .h-12 {
801
+ height: 3rem;
802
+ }
803
+
796
804
  .h-16 {
797
805
  height: 4rem;
798
806
  }
@@ -866,16 +874,12 @@ video {
866
874
  height: max-content;
867
875
  }
868
876
 
869
- .h-12 {
870
- height: 3rem;
871
- }
872
-
873
877
  .w-1\/2 {
874
878
  width: 50%;
875
879
  }
876
880
 
877
- .w-1\/4 {
878
- width: 25%;
881
+ .w-1\/3 {
882
+ width: 33.333333%;
879
883
  }
880
884
 
881
885
  .w-1\/5 {
@@ -886,6 +890,10 @@ video {
886
890
  width: 2.5rem;
887
891
  }
888
892
 
893
+ .w-11\/12 {
894
+ width: 91.666667%;
895
+ }
896
+
889
897
  .w-16 {
890
898
  width: 4rem;
891
899
  }
@@ -898,10 +906,18 @@ video {
898
906
  width: 0.625rem;
899
907
  }
900
908
 
909
+ .w-2\/3 {
910
+ width: 66.666667%;
911
+ }
912
+
901
913
  .w-20 {
902
914
  width: 5rem;
903
915
  }
904
916
 
917
+ .w-3\/4 {
918
+ width: 75%;
919
+ }
920
+
905
921
  .w-32 {
906
922
  width: 8rem;
907
923
  }
@@ -934,10 +950,6 @@ video {
934
950
  width: 2rem;
935
951
  }
936
952
 
937
- .w-80 {
938
- width: 20rem;
939
- }
940
-
941
953
  .w-9 {
942
954
  width: 2.25rem;
943
955
  }
@@ -966,30 +978,6 @@ video {
966
978
  width: 100%;
967
979
  }
968
980
 
969
- .w-1\/3 {
970
- width: 33.333333%;
971
- }
972
-
973
- .w-3\/4 {
974
- width: 75%;
975
- }
976
-
977
- .w-4\/5 {
978
- width: 80%;
979
- }
980
-
981
- .w-2\/4 {
982
- width: 50%;
983
- }
984
-
985
- .w-2\/3 {
986
- width: 66.666667%;
987
- }
988
-
989
- .w-11\/12 {
990
- width: 91.666667%;
991
- }
992
-
993
981
  .max-w-7xl {
994
982
  max-width: 80rem;
995
983
  }
@@ -1137,10 +1125,6 @@ video {
1137
1125
  gap: 2rem;
1138
1126
  }
1139
1127
 
1140
- .gap-2 {
1141
- gap: 0.5rem;
1142
- }
1143
-
1144
1128
  .gap-y-2 {
1145
1129
  row-gap: 0.5rem;
1146
1130
  }
@@ -1276,6 +1260,11 @@ video {
1276
1260
  border-color: rgb(136 136 136 / var(--tw-border-opacity));
1277
1261
  }
1278
1262
 
1263
+ .border-dark-9 {
1264
+ --tw-border-opacity: 1;
1265
+ border-color: rgb(35 35 35 / var(--tw-border-opacity));
1266
+ }
1267
+
1279
1268
  .border-green-400 {
1280
1269
  --tw-border-opacity: 1;
1281
1270
  border-color: rgb(106 195 34 / var(--tw-border-opacity));
@@ -1401,6 +1390,11 @@ video {
1401
1390
  background-color: rgb(51 51 51 / var(--tw-bg-opacity));
1402
1391
  }
1403
1392
 
1393
+ .bg-orange-100 {
1394
+ --tw-bg-opacity: 1;
1395
+ background-color: rgb(255 238 204 / var(--tw-bg-opacity));
1396
+ }
1397
+
1404
1398
  .bg-white {
1405
1399
  --tw-bg-opacity: 1;
1406
1400
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
@@ -1411,21 +1405,6 @@ video {
1411
1405
  background-color: rgb(255 220 63 / var(--tw-bg-opacity));
1412
1406
  }
1413
1407
 
1414
- .bg-red-300 {
1415
- --tw-bg-opacity: 1;
1416
- background-color: rgb(247 100 76 / var(--tw-bg-opacity));
1417
- }
1418
-
1419
- .bg-red-500 {
1420
- --tw-bg-opacity: 1;
1421
- background-color: rgb(208 13 18 / var(--tw-bg-opacity));
1422
- }
1423
-
1424
- .bg-red-400 {
1425
- --tw-bg-opacity: 1;
1426
- background-color: rgb(243 32 19 / var(--tw-bg-opacity));
1427
- }
1428
-
1429
1408
  .bg-opacity-75 {
1430
1409
  --tw-bg-opacity: 0.75;
1431
1410
  }
@@ -1464,19 +1443,10 @@ video {
1464
1443
  padding: 1.25rem;
1465
1444
  }
1466
1445
 
1467
- .p-8 {
1468
- padding: 2rem;
1469
- }
1470
-
1471
1446
  .p-6 {
1472
1447
  padding: 1.5rem;
1473
1448
  }
1474
1449
 
1475
- .px-10 {
1476
- padding-left: 2.5rem;
1477
- padding-right: 2.5rem;
1478
- }
1479
-
1480
1450
  .px-2 {
1481
1451
  padding-left: 0.5rem;
1482
1452
  padding-right: 0.5rem;
@@ -1542,31 +1512,6 @@ video {
1542
1512
  padding-bottom: 5.6px;
1543
1513
  }
1544
1514
 
1545
- .px-9 {
1546
- padding-left: 2.25rem;
1547
- padding-right: 2.25rem;
1548
- }
1549
-
1550
- .px-6 {
1551
- padding-left: 1.5rem;
1552
- padding-right: 1.5rem;
1553
- }
1554
-
1555
- .py-6 {
1556
- padding-top: 1.5rem;
1557
- padding-bottom: 1.5rem;
1558
- }
1559
-
1560
- .py-12 {
1561
- padding-top: 3rem;
1562
- padding-bottom: 3rem;
1563
- }
1564
-
1565
- .px-0 {
1566
- padding-left: 0px;
1567
- padding-right: 0px;
1568
- }
1569
-
1570
1515
  .pb-1 {
1571
1516
  padding-bottom: 0.25rem;
1572
1517
  }
@@ -1651,6 +1596,10 @@ video {
1651
1596
  padding-top: 2.5rem;
1652
1597
  }
1653
1598
 
1599
+ .pt-2 {
1600
+ padding-top: 0.5rem;
1601
+ }
1602
+
1654
1603
  .pt-4 {
1655
1604
  padding-top: 1rem;
1656
1605
  }
@@ -1679,6 +1628,10 @@ video {
1679
1628
  text-align: end;
1680
1629
  }
1681
1630
 
1631
+ .font-sans {
1632
+ font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
1633
+ }
1634
+
1682
1635
  .font-serif {
1683
1636
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
1684
1637
  }
@@ -1728,6 +1681,10 @@ video {
1728
1681
  font-weight: 400;
1729
1682
  }
1730
1683
 
1684
+ .uppercase {
1685
+ text-transform: uppercase;
1686
+ }
1687
+
1731
1688
  .capitalize {
1732
1689
  text-transform: capitalize;
1733
1690
  }
@@ -1760,6 +1717,10 @@ video {
1760
1717
  line-height: 1.5;
1761
1718
  }
1762
1719
 
1720
+ .leading-tight {
1721
+ line-height: 1.25;
1722
+ }
1723
+
1763
1724
  .tracking-wide {
1764
1725
  letter-spacing: 0.025em;
1765
1726
  }
@@ -1799,6 +1760,11 @@ video {
1799
1760
  color: rgb(0 85 154 / var(--tw-text-opacity));
1800
1761
  }
1801
1762
 
1763
+ .text-dark-5 {
1764
+ --tw-text-opacity: 1;
1765
+ color: rgb(18 18 18 / var(--tw-text-opacity));
1766
+ }
1767
+
1802
1768
  .text-dark-6 {
1803
1769
  --tw-text-opacity: 1;
1804
1770
  color: rgb(46 46 46 / var(--tw-text-opacity));
@@ -1834,6 +1800,11 @@ video {
1834
1800
  color: rgb(221 221 221 / var(--tw-text-opacity));
1835
1801
  }
1836
1802
 
1803
+ .text-grey-400 {
1804
+ --tw-text-opacity: 1;
1805
+ color: rgb(153 153 153 / var(--tw-text-opacity));
1806
+ }
1807
+
1837
1808
  .text-grey-500 {
1838
1809
  --tw-text-opacity: 1;
1839
1810
  color: rgb(102 102 102 / var(--tw-text-opacity));
@@ -1849,14 +1820,14 @@ video {
1849
1820
  color: rgb(255 122 0 / var(--tw-text-opacity));
1850
1821
  }
1851
1822
 
1852
- .text-white {
1823
+ .text-orange-500 {
1853
1824
  --tw-text-opacity: 1;
1854
- color: rgb(255 255 255 / var(--tw-text-opacity));
1825
+ color: rgb(219 93 0 / var(--tw-text-opacity));
1855
1826
  }
1856
1827
 
1857
- .text-grey-400 {
1828
+ .text-white {
1858
1829
  --tw-text-opacity: 1;
1859
- color: rgb(153 153 153 / var(--tw-text-opacity));
1830
+ color: rgb(255 255 255 / var(--tw-text-opacity));
1860
1831
  }
1861
1832
 
1862
1833
  .underline {
@@ -1893,18 +1864,10 @@ video {
1893
1864
  }
1894
1865
 
1895
1866
  @media (min-width: 640px) {
1896
- .sm\:w-1\/2 {
1897
- width: 50%;
1898
- }
1899
-
1900
1867
  .sm\:w-3\/4 {
1901
1868
  width: 75%;
1902
1869
  }
1903
1870
 
1904
- .sm\:w-1\/4 {
1905
- width: 25%;
1906
- }
1907
-
1908
1871
  .sm\:max-w-lg {
1909
1872
  max-width: 32rem;
1910
1873
  }
@@ -2003,6 +1966,10 @@ video {
2003
1966
  min-height: 244px;
2004
1967
  }
2005
1968
 
1969
+ .md\:w-1\/2 {
1970
+ width: 50%;
1971
+ }
1972
+
2006
1973
  .md\:w-3\/5 {
2007
1974
  width: 60%;
2008
1975
  }
@@ -2043,26 +2010,6 @@ video {
2043
2010
  width: 100%;
2044
2011
  }
2045
2012
 
2046
- .md\:w-1\/2 {
2047
- width: 50%;
2048
- }
2049
-
2050
- .md\:w-3\/4 {
2051
- width: 75%;
2052
- }
2053
-
2054
- .md\:w-1\/4 {
2055
- width: 25%;
2056
- }
2057
-
2058
- .md\:w-1\/3 {
2059
- width: 33.333333%;
2060
- }
2061
-
2062
- .md\:w-2\/3 {
2063
- width: 66.666667%;
2064
- }
2065
-
2066
2013
  .md\:max-w-\[137px\] {
2067
2014
  max-width: 137px;
2068
2015
  }
@@ -2079,6 +2026,10 @@ video {
2079
2026
  grid-template-columns: repeat(1, minmax(0, 1fr));
2080
2027
  }
2081
2028
 
2029
+ .md\:grid-cols-2 {
2030
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2031
+ }
2032
+
2082
2033
  .md\:flex-row {
2083
2034
  flex-direction: row;
2084
2035
  }
@@ -2186,6 +2137,11 @@ video {
2186
2137
  padding-right: 1.5rem;
2187
2138
  }
2188
2139
 
2140
+ .md\:px-8 {
2141
+ padding-left: 2rem;
2142
+ padding-right: 2rem;
2143
+ }
2144
+
2189
2145
  .md\:py-1 {
2190
2146
  padding-top: 0.25rem;
2191
2147
  padding-bottom: 0.25rem;
@@ -2206,11 +2162,6 @@ video {
2206
2162
  padding-bottom: 1.5rem;
2207
2163
  }
2208
2164
 
2209
- .md\:px-8 {
2210
- padding-left: 2rem;
2211
- padding-right: 2rem;
2212
- }
2213
-
2214
2165
  .md\:pb-4 {
2215
2166
  padding-bottom: 1rem;
2216
2167
  }
@@ -2320,10 +2271,6 @@ video {
2320
2271
  min-height: 220px;
2321
2272
  }
2322
2273
 
2323
- .lg\:w-\[410px\] {
2324
- width: 410px;
2325
- }
2326
-
2327
2274
  .lg\:w-1\/2 {
2328
2275
  width: 50%;
2329
2276
  }
@@ -2332,16 +2279,8 @@ video {
2332
2279
  width: 33.333333%;
2333
2280
  }
2334
2281
 
2335
- .lg\:w-3\/4 {
2336
- width: 75%;
2337
- }
2338
-
2339
- .lg\:w-2 {
2340
- width: 0.5rem;
2341
- }
2342
-
2343
- .lg\:w-2\/3 {
2344
- width: 66.666667%;
2282
+ .lg\:w-\[410px\] {
2283
+ width: 410px;
2345
2284
  }
2346
2285
 
2347
2286
  .lg\:max-w-7xl {
@@ -2414,30 +2353,6 @@ video {
2414
2353
  }
2415
2354
 
2416
2355
  @media (min-width: 1280px) {
2417
- .xl\:block {
2418
- display: block;
2419
- }
2420
-
2421
- .xl\:flex {
2422
- display: flex;
2423
- }
2424
-
2425
- .xl\:hidden {
2426
- display: none;
2427
- }
2428
-
2429
- .xl\:w-1\/3 {
2430
- width: 33.333333%;
2431
- }
2432
-
2433
- .xl\:w-1\/2 {
2434
- width: 50%;
2435
- }
2436
-
2437
- .xl\:w-1\/4 {
2438
- width: 25%;
2439
- }
2440
-
2441
2356
  .xl\:px-0 {
2442
2357
  padding-left: 0px;
2443
2358
  padding-right: 0px;