@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
@@ -699,6 +699,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
699
699
  margin-bottom: 1.25rem;
700
700
  }
701
701
 
702
+ .mb-6 {
703
+ margin-bottom: 1.5rem;
704
+ }
705
+
702
706
  .ml-0 {
703
707
  margin-left: 0px;
704
708
  }
@@ -735,10 +739,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
735
739
  margin-right: 2.5rem;
736
740
  }
737
741
 
738
- .mr-2 {
739
- margin-right: 0.5rem;
740
- }
741
-
742
742
  .mr-3 {
743
743
  margin-right: 0.75rem;
744
744
  }
@@ -751,6 +751,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
751
751
  margin-right: 1rem;
752
752
  }
753
753
 
754
+ .mr-6 {
755
+ margin-right: 1.5rem;
756
+ }
757
+
754
758
  .mt-1 {
755
759
  margin-top: 0.25rem;
756
760
  }
@@ -779,10 +783,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
779
783
  margin-top: 2rem;
780
784
  }
781
785
 
782
- .mr-6 {
783
- margin-right: 1.5rem;
784
- }
785
-
786
786
  .block {
787
787
  display: block;
788
788
  }
@@ -799,10 +799,18 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
799
799
  display: none;
800
800
  }
801
801
 
802
+ .aspect-video {
803
+ aspect-ratio: 16 / 9;
804
+ }
805
+
802
806
  .h-10 {
803
807
  height: 2.5rem;
804
808
  }
805
809
 
810
+ .h-12 {
811
+ height: 3rem;
812
+ }
813
+
806
814
  .h-16 {
807
815
  height: 4rem;
808
816
  }
@@ -876,16 +884,12 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
876
884
  height: max-content;
877
885
  }
878
886
 
879
- .h-12 {
880
- height: 3rem;
881
- }
882
-
883
887
  .w-1\\/2 {
884
888
  width: 50%;
885
889
  }
886
890
 
887
- .w-1\\/4 {
888
- width: 25%;
891
+ .w-1\\/3 {
892
+ width: 33.333333%;
889
893
  }
890
894
 
891
895
  .w-1\\/5 {
@@ -896,6 +900,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
896
900
  width: 2.5rem;
897
901
  }
898
902
 
903
+ .w-11\\/12 {
904
+ width: 91.666667%;
905
+ }
906
+
899
907
  .w-16 {
900
908
  width: 4rem;
901
909
  }
@@ -908,10 +916,18 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
908
916
  width: 0.625rem;
909
917
  }
910
918
 
919
+ .w-2\\/3 {
920
+ width: 66.666667%;
921
+ }
922
+
911
923
  .w-20 {
912
924
  width: 5rem;
913
925
  }
914
926
 
927
+ .w-3\\/4 {
928
+ width: 75%;
929
+ }
930
+
915
931
  .w-32 {
916
932
  width: 8rem;
917
933
  }
@@ -944,10 +960,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
944
960
  width: 2rem;
945
961
  }
946
962
 
947
- .w-80 {
948
- width: 20rem;
949
- }
950
-
951
963
  .w-9 {
952
964
  width: 2.25rem;
953
965
  }
@@ -976,30 +988,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
976
988
  width: 100%;
977
989
  }
978
990
 
979
- .w-1\\/3 {
980
- width: 33.333333%;
981
- }
982
-
983
- .w-3\\/4 {
984
- width: 75%;
985
- }
986
-
987
- .w-4\\/5 {
988
- width: 80%;
989
- }
990
-
991
- .w-2\\/4 {
992
- width: 50%;
993
- }
994
-
995
- .w-2\\/3 {
996
- width: 66.666667%;
997
- }
998
-
999
- .w-11\\/12 {
1000
- width: 91.666667%;
1001
- }
1002
-
1003
991
  .max-w-7xl {
1004
992
  max-width: 80rem;
1005
993
  }
@@ -1151,10 +1139,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1151
1139
  gap: 2rem;
1152
1140
  }
1153
1141
 
1154
- .gap-2 {
1155
- gap: 0.5rem;
1156
- }
1157
-
1158
1142
  .gap-y-2 {
1159
1143
  row-gap: 0.5rem;
1160
1144
  }
@@ -1290,6 +1274,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1290
1274
  border-color: rgb(136 136 136 / var(--tw-border-opacity));
1291
1275
  }
1292
1276
 
1277
+ .border-dark-9 {
1278
+ --tw-border-opacity: 1;
1279
+ border-color: rgb(35 35 35 / var(--tw-border-opacity));
1280
+ }
1281
+
1293
1282
  .border-green-400 {
1294
1283
  --tw-border-opacity: 1;
1295
1284
  border-color: rgb(106 195 34 / var(--tw-border-opacity));
@@ -1415,6 +1404,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1415
1404
  background-color: rgb(51 51 51 / var(--tw-bg-opacity));
1416
1405
  }
1417
1406
 
1407
+ .bg-orange-100 {
1408
+ --tw-bg-opacity: 1;
1409
+ background-color: rgb(255 238 204 / var(--tw-bg-opacity));
1410
+ }
1411
+
1418
1412
  .bg-white {
1419
1413
  --tw-bg-opacity: 1;
1420
1414
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
@@ -1425,21 +1419,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1425
1419
  background-color: rgb(255 220 63 / var(--tw-bg-opacity));
1426
1420
  }
1427
1421
 
1428
- .bg-red-300 {
1429
- --tw-bg-opacity: 1;
1430
- background-color: rgb(247 100 76 / var(--tw-bg-opacity));
1431
- }
1432
-
1433
- .bg-red-500 {
1434
- --tw-bg-opacity: 1;
1435
- background-color: rgb(208 13 18 / var(--tw-bg-opacity));
1436
- }
1437
-
1438
- .bg-red-400 {
1439
- --tw-bg-opacity: 1;
1440
- background-color: rgb(243 32 19 / var(--tw-bg-opacity));
1441
- }
1442
-
1443
1422
  .bg-opacity-75 {
1444
1423
  --tw-bg-opacity: 0.75;
1445
1424
  }
@@ -1478,19 +1457,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1478
1457
  padding: 1.25rem;
1479
1458
  }
1480
1459
 
1481
- .p-8 {
1482
- padding: 2rem;
1483
- }
1484
-
1485
1460
  .p-6 {
1486
1461
  padding: 1.5rem;
1487
1462
  }
1488
1463
 
1489
- .px-10 {
1490
- padding-left: 2.5rem;
1491
- padding-right: 2.5rem;
1492
- }
1493
-
1494
1464
  .px-2 {
1495
1465
  padding-left: 0.5rem;
1496
1466
  padding-right: 0.5rem;
@@ -1556,31 +1526,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1556
1526
  padding-bottom: 5.6px;
1557
1527
  }
1558
1528
 
1559
- .px-9 {
1560
- padding-left: 2.25rem;
1561
- padding-right: 2.25rem;
1562
- }
1563
-
1564
- .px-6 {
1565
- padding-left: 1.5rem;
1566
- padding-right: 1.5rem;
1567
- }
1568
-
1569
- .py-6 {
1570
- padding-top: 1.5rem;
1571
- padding-bottom: 1.5rem;
1572
- }
1573
-
1574
- .py-12 {
1575
- padding-top: 3rem;
1576
- padding-bottom: 3rem;
1577
- }
1578
-
1579
- .px-0 {
1580
- padding-left: 0px;
1581
- padding-right: 0px;
1582
- }
1583
-
1584
1529
  .pb-1 {
1585
1530
  padding-bottom: 0.25rem;
1586
1531
  }
@@ -1665,6 +1610,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1665
1610
  padding-top: 2.5rem;
1666
1611
  }
1667
1612
 
1613
+ .pt-2 {
1614
+ padding-top: 0.5rem;
1615
+ }
1616
+
1668
1617
  .pt-4 {
1669
1618
  padding-top: 1rem;
1670
1619
  }
@@ -1693,6 +1642,13 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1693
1642
  text-align: end;
1694
1643
  }
1695
1644
 
1645
+ .font-sans {
1646
+ font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
1647
+ 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
1648
+ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
1649
+ 'Noto Color Emoji';
1650
+ }
1651
+
1696
1652
  .font-serif {
1697
1653
  font-family: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
1698
1654
  }
@@ -1742,6 +1698,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1742
1698
  font-weight: 400;
1743
1699
  }
1744
1700
 
1701
+ .uppercase {
1702
+ text-transform: uppercase;
1703
+ }
1704
+
1745
1705
  .capitalize {
1746
1706
  text-transform: capitalize;
1747
1707
  }
@@ -1774,6 +1734,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1774
1734
  line-height: 1.5;
1775
1735
  }
1776
1736
 
1737
+ .leading-tight {
1738
+ line-height: 1.25;
1739
+ }
1740
+
1777
1741
  .tracking-wide {
1778
1742
  letter-spacing: 0.025em;
1779
1743
  }
@@ -1813,6 +1777,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1813
1777
  color: rgb(0 85 154 / var(--tw-text-opacity));
1814
1778
  }
1815
1779
 
1780
+ .text-dark-5 {
1781
+ --tw-text-opacity: 1;
1782
+ color: rgb(18 18 18 / var(--tw-text-opacity));
1783
+ }
1784
+
1816
1785
  .text-dark-6 {
1817
1786
  --tw-text-opacity: 1;
1818
1787
  color: rgb(46 46 46 / var(--tw-text-opacity));
@@ -1848,6 +1817,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1848
1817
  color: rgb(221 221 221 / var(--tw-text-opacity));
1849
1818
  }
1850
1819
 
1820
+ .text-grey-400 {
1821
+ --tw-text-opacity: 1;
1822
+ color: rgb(153 153 153 / var(--tw-text-opacity));
1823
+ }
1824
+
1851
1825
  .text-grey-500 {
1852
1826
  --tw-text-opacity: 1;
1853
1827
  color: rgb(102 102 102 / var(--tw-text-opacity));
@@ -1863,14 +1837,14 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1863
1837
  color: rgb(255 122 0 / var(--tw-text-opacity));
1864
1838
  }
1865
1839
 
1866
- .text-white {
1840
+ .text-orange-500 {
1867
1841
  --tw-text-opacity: 1;
1868
- color: rgb(255 255 255 / var(--tw-text-opacity));
1842
+ color: rgb(219 93 0 / var(--tw-text-opacity));
1869
1843
  }
1870
1844
 
1871
- .text-grey-400 {
1845
+ .text-white {
1872
1846
  --tw-text-opacity: 1;
1873
- color: rgb(153 153 153 / var(--tw-text-opacity));
1847
+ color: rgb(255 255 255 / var(--tw-text-opacity));
1874
1848
  }
1875
1849
 
1876
1850
  .underline {
@@ -1917,18 +1891,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1917
1891
  }
1918
1892
 
1919
1893
  @media (min-width: 640px) {
1920
- .sm\\:w-1\\/2 {
1921
- width: 50%;
1922
- }
1923
-
1924
1894
  .sm\\:w-3\\/4 {
1925
1895
  width: 75%;
1926
1896
  }
1927
1897
 
1928
- .sm\\:w-1\\/4 {
1929
- width: 25%;
1930
- }
1931
-
1932
1898
  .sm\\:max-w-lg {
1933
1899
  max-width: 32rem;
1934
1900
  }
@@ -2027,6 +1993,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2027
1993
  min-height: 244px;
2028
1994
  }
2029
1995
 
1996
+ .md\\:w-1\\/2 {
1997
+ width: 50%;
1998
+ }
1999
+
2030
2000
  .md\\:w-3\\/5 {
2031
2001
  width: 60%;
2032
2002
  }
@@ -2067,26 +2037,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2067
2037
  width: 100%;
2068
2038
  }
2069
2039
 
2070
- .md\\:w-1\\/2 {
2071
- width: 50%;
2072
- }
2073
-
2074
- .md\\:w-3\\/4 {
2075
- width: 75%;
2076
- }
2077
-
2078
- .md\\:w-1\\/4 {
2079
- width: 25%;
2080
- }
2081
-
2082
- .md\\:w-1\\/3 {
2083
- width: 33.333333%;
2084
- }
2085
-
2086
- .md\\:w-2\\/3 {
2087
- width: 66.666667%;
2088
- }
2089
-
2090
2040
  .md\\:max-w-\\[137px\\] {
2091
2041
  max-width: 137px;
2092
2042
  }
@@ -2103,6 +2053,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2103
2053
  grid-template-columns: repeat(1, minmax(0, 1fr));
2104
2054
  }
2105
2055
 
2056
+ .md\\:grid-cols-2 {
2057
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2058
+ }
2059
+
2106
2060
  .md\\:flex-row {
2107
2061
  flex-direction: row;
2108
2062
  }
@@ -2210,6 +2164,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2210
2164
  padding-right: 1.5rem;
2211
2165
  }
2212
2166
 
2167
+ .md\\:px-8 {
2168
+ padding-left: 2rem;
2169
+ padding-right: 2rem;
2170
+ }
2171
+
2213
2172
  .md\\:py-1 {
2214
2173
  padding-top: 0.25rem;
2215
2174
  padding-bottom: 0.25rem;
@@ -2230,11 +2189,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2230
2189
  padding-bottom: 1.5rem;
2231
2190
  }
2232
2191
 
2233
- .md\\:px-8 {
2234
- padding-left: 2rem;
2235
- padding-right: 2rem;
2236
- }
2237
-
2238
2192
  .md\\:pb-4 {
2239
2193
  padding-bottom: 1rem;
2240
2194
  }
@@ -2344,10 +2298,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2344
2298
  min-height: 220px;
2345
2299
  }
2346
2300
 
2347
- .lg\\:w-\\[410px\\] {
2348
- width: 410px;
2349
- }
2350
-
2351
2301
  .lg\\:w-1\\/2 {
2352
2302
  width: 50%;
2353
2303
  }
@@ -2356,16 +2306,8 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2356
2306
  width: 33.333333%;
2357
2307
  }
2358
2308
 
2359
- .lg\\:w-3\\/4 {
2360
- width: 75%;
2361
- }
2362
-
2363
- .lg\\:w-2 {
2364
- width: 0.5rem;
2365
- }
2366
-
2367
- .lg\\:w-2\\/3 {
2368
- width: 66.666667%;
2309
+ .lg\\:w-\\[410px\\] {
2310
+ width: 410px;
2369
2311
  }
2370
2312
 
2371
2313
  .lg\\:max-w-7xl {
@@ -2438,30 +2380,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2438
2380
  }
2439
2381
 
2440
2382
  @media (min-width: 1280px) {
2441
- .xl\\:block {
2442
- display: block;
2443
- }
2444
-
2445
- .xl\\:flex {
2446
- display: flex;
2447
- }
2448
-
2449
- .xl\\:hidden {
2450
- display: none;
2451
- }
2452
-
2453
- .xl\\:w-1\\/3 {
2454
- width: 33.333333%;
2455
- }
2456
-
2457
- .xl\\:w-1\\/2 {
2458
- width: 50%;
2459
- }
2460
-
2461
- .xl\\:w-1\\/4 {
2462
- width: 25%;
2463
- }
2464
-
2465
2383
  .xl\\:px-0 {
2466
2384
  padding-left: 0px;
2467
2385
  padding-right: 0px;
@@ -16,7 +16,8 @@ export default {
16
16
  5: '#121212',
17
17
  6: '#2E2E2E',
18
18
  7: '#E0E0E0',
19
- 8: '#888888'
19
+ 8: '#888888',
20
+ 9: '#232323'
20
21
  },
21
22
  white: '#FFFFFF',
22
23
  black: '#000000',
Binary file
Binary file