@kompasid/lit-web-components 0.9.41 → 0.9.43

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 (34) hide show
  1. package/demo/header.html +3 -3
  2. package/demo/paywall.html +17 -20
  3. package/dist/src/components/kompasid-header-account/KompasHeaderAccount.d.ts +3 -7
  4. package/dist/src/components/kompasid-header-account/KompasHeaderAccount.js +9 -29
  5. package/dist/src/components/kompasid-header-account/KompasHeaderAccount.js.map +1 -1
  6. package/dist/src/components/kompasid-header-account-menu/KompasHeaderAccountMenu.d.ts +3 -15
  7. package/dist/src/components/kompasid-header-account-menu/KompasHeaderAccountMenu.js +9 -30
  8. package/dist/src/components/kompasid-header-account-menu/KompasHeaderAccountMenu.js.map +1 -1
  9. package/dist/src/components/kompasid-header-account-profile/KompasHeaderAccountProfile.d.ts +0 -1
  10. package/dist/src/components/kompasid-header-account-profile/KompasHeaderAccountProfile.js +0 -4
  11. package/dist/src/components/kompasid-header-account-profile/KompasHeaderAccountProfile.js.map +1 -1
  12. package/dist/src/components/kompasid-paywall/KompasPaywall.js +11 -11
  13. package/dist/src/components/kompasid-paywall/KompasPaywall.js.map +1 -1
  14. package/dist/src/components/kompasid-paywall/types.d.ts +4 -0
  15. package/dist/src/components/kompasid-paywall/types.js.map +1 -1
  16. package/dist/src/components/kompasid-paywall-body/KompasPaywallBody.d.ts +2 -2
  17. package/dist/src/components/kompasid-paywall-body/KompasPaywallBody.js +187 -159
  18. package/dist/src/components/kompasid-paywall-body/KompasPaywallBody.js.map +1 -1
  19. package/dist/tailwind/tailwind.js +78 -91
  20. package/dist/tailwind/tailwind.js.map +1 -1
  21. package/dist/tsconfig.tsbuildinfo +1 -1
  22. package/package.json +1 -1
  23. package/src/components/kompasid-header-account/KompasHeaderAccount.ts +6 -14
  24. package/src/components/kompasid-header-account/readme.md +29 -7
  25. package/src/components/kompasid-header-account-menu/KompasHeaderAccountMenu.ts +8 -24
  26. package/src/components/kompasid-header-account-profile/KompasHeaderAccountProfile.ts +0 -1
  27. package/src/components/kompasid-paywall/KompasPaywall.ts +11 -11
  28. package/src/components/kompasid-paywall/readme.md +74 -352
  29. package/src/components/kompasid-paywall/types.ts +4 -0
  30. package/src/components/kompasid-paywall-body/KompasPaywallBody.ts +210 -199
  31. package/src/components/kompasid-paywall-body/readme.md +3 -0
  32. package/tailwind/tailwind.css +78 -91
  33. package/tailwind/tailwind.ts +78 -91
  34. package/tailwind.config.js +1 -1
@@ -593,6 +593,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
593
593
  bottom: -1.5rem;
594
594
  }
595
595
 
596
+ .-top-1\\.5 {
597
+ top: -0.375rem;
598
+ }
599
+
596
600
  .-top-2 {
597
601
  top: -0.5rem;
598
602
  }
@@ -609,6 +613,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
609
613
  left: 0px;
610
614
  }
611
615
 
616
+ .left-2\\.5 {
617
+ left: 0.625rem;
618
+ }
619
+
612
620
  .left-4 {
613
621
  left: 1rem;
614
622
  }
@@ -762,10 +770,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
762
770
  margin-bottom: 2rem;
763
771
  }
764
772
 
765
- .ml-0\\.5 {
766
- margin-left: 0.125rem;
767
- }
768
-
769
773
  .ml-1 {
770
774
  margin-left: 0.25rem;
771
775
  }
@@ -810,10 +814,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
810
814
  margin-right: 0.75rem;
811
815
  }
812
816
 
813
- .mr-3\\.5 {
814
- margin-right: 0.875rem;
815
- }
816
-
817
817
  .mr-4 {
818
818
  margin-right: 1rem;
819
819
  }
@@ -838,10 +838,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
838
838
  margin-top: 0.5rem;
839
839
  }
840
840
 
841
- .mt-2\\.5 {
842
- margin-top: 0.625rem;
843
- }
844
-
845
841
  .mt-3 {
846
842
  margin-top: 0.75rem;
847
843
  }
@@ -850,8 +846,8 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
850
846
  margin-top: 1rem;
851
847
  }
852
848
 
853
- .mt-6 {
854
- margin-top: 1.5rem;
849
+ .mt-5 {
850
+ margin-top: 1.25rem;
855
851
  }
856
852
 
857
853
  .mt-8 {
@@ -942,10 +938,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
942
938
  height: 68px;
943
939
  }
944
940
 
945
- .h-\\[76px\\] {
946
- height: 76px;
947
- }
948
-
949
941
  .h-auto {
950
942
  height: auto;
951
943
  }
@@ -971,6 +963,14 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
971
963
  max-height: 116px;
972
964
  }
973
965
 
966
+ .min-h-\\[68px\\] {
967
+ min-height: 68px;
968
+ }
969
+
970
+ .min-h-\\[76px\\] {
971
+ min-height: 76px;
972
+ }
973
+
974
974
  .w-1\\/2 {
975
975
  width: 50%;
976
976
  }
@@ -983,10 +983,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
983
983
  width: 25%;
984
984
  }
985
985
 
986
- .w-1\\/5 {
987
- width: 20%;
988
- }
989
-
990
986
  .w-10 {
991
987
  width: 2.5rem;
992
988
  }
@@ -1140,10 +1136,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1140
1136
  max-width: 20rem;
1141
1137
  }
1142
1138
 
1143
- .flex-none {
1144
- flex: none;
1145
- }
1146
-
1147
1139
  .flex-shrink-0 {
1148
1140
  flex-shrink: 0;
1149
1141
  }
@@ -1318,12 +1310,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1318
1310
  row-gap: 1rem;
1319
1311
  }
1320
1312
 
1321
- .space-x-1 > :not([hidden]) ~ :not([hidden]) {
1322
- --tw-space-x-reverse: 0;
1323
- margin-right: calc(0.25rem * var(--tw-space-x-reverse));
1324
- margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));
1325
- }
1326
-
1327
1313
  .space-x-2 > :not([hidden]) ~ :not([hidden]) {
1328
1314
  --tw-space-x-reverse: 0;
1329
1315
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
@@ -1364,10 +1350,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1364
1350
  align-self: center;
1365
1351
  }
1366
1352
 
1367
- .overflow-hidden {
1368
- overflow: hidden;
1369
- }
1370
-
1371
1353
  .overflow-y-auto {
1372
1354
  overflow-y: auto;
1373
1355
  }
@@ -1493,7 +1475,7 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1493
1475
 
1494
1476
  .border-grey-100 {
1495
1477
  --tw-border-opacity: 1;
1496
- border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
1478
+ border-color: rgb(244 244 244 / var(--tw-border-opacity, 1));
1497
1479
  }
1498
1480
 
1499
1481
  .border-grey-200 {
@@ -1602,7 +1584,7 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1602
1584
 
1603
1585
  .bg-grey-100 {
1604
1586
  --tw-bg-opacity: 1;
1605
- background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
1587
+ background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));
1606
1588
  }
1607
1589
 
1608
1590
  .bg-grey-200 {
@@ -1615,6 +1597,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1615
1597
  background-color: rgb(221 221 221 / var(--tw-bg-opacity, 1));
1616
1598
  }
1617
1599
 
1600
+ .bg-grey-500 {
1601
+ --tw-bg-opacity: 1;
1602
+ background-color: rgb(102 102 102 / var(--tw-bg-opacity, 1));
1603
+ }
1604
+
1618
1605
  .bg-grey-600 {
1619
1606
  --tw-bg-opacity: 1;
1620
1607
  background-color: rgb(51 51 51 / var(--tw-bg-opacity, 1));
@@ -1853,10 +1840,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1853
1840
  padding-top: 0px;
1854
1841
  }
1855
1842
 
1856
- .pt-0\\.5 {
1857
- padding-top: 0.125rem;
1858
- }
1859
-
1860
1843
  .pt-1 {
1861
1844
  padding-top: 0.25rem;
1862
1845
  }
@@ -2084,7 +2067,7 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2084
2067
 
2085
2068
  .text-grey-100 {
2086
2069
  --tw-text-opacity: 1;
2087
- color: rgb(255 255 255 / var(--tw-text-opacity, 1));
2070
+ color: rgb(244 244 244 / var(--tw-text-opacity, 1));
2088
2071
  }
2089
2072
 
2090
2073
  .text-grey-300 {
@@ -2122,6 +2105,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2122
2105
  color: rgb(219 93 0 / var(--tw-text-opacity, 1));
2123
2106
  }
2124
2107
 
2108
+ .text-red-500 {
2109
+ --tw-text-opacity: 1;
2110
+ color: rgb(208 13 18 / var(--tw-text-opacity, 1));
2111
+ }
2112
+
2125
2113
  .text-red-600 {
2126
2114
  --tw-text-opacity: 1;
2127
2115
  color: rgb(174 9 27 / var(--tw-text-opacity, 1));
@@ -2136,6 +2124,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2136
2124
  text-decoration-line: underline;
2137
2125
  }
2138
2126
 
2127
+ .line-through {
2128
+ text-decoration-line: line-through;
2129
+ }
2130
+
2139
2131
  .no-underline {
2140
2132
  text-decoration-line: none;
2141
2133
  }
@@ -2247,11 +2239,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2247
2239
  margin-right: 0px;
2248
2240
  }
2249
2241
 
2250
- .md\\:my-3 {
2251
- margin-top: 0.75rem;
2252
- margin-bottom: 0.75rem;
2253
- }
2254
-
2255
2242
  .md\\:my-8 {
2256
2243
  margin-top: 2rem;
2257
2244
  margin-bottom: 2rem;
@@ -2270,18 +2257,14 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2270
2257
  margin-bottom: 1.25rem;
2271
2258
  }
2272
2259
 
2273
- .md\\:ml-1 {
2274
- margin-left: 0.25rem;
2260
+ .md\\:ml-2 {
2261
+ margin-left: 0.5rem;
2275
2262
  }
2276
2263
 
2277
2264
  .md\\:ml-6 {
2278
2265
  margin-left: 1.5rem;
2279
2266
  }
2280
2267
 
2281
- .md\\:mr-5 {
2282
- margin-right: 1.25rem;
2283
- }
2284
-
2285
2268
  .md\\:mr-6 {
2286
2269
  margin-right: 1.5rem;
2287
2270
  }
@@ -2290,10 +2273,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2290
2273
  margin-top: 0.5rem;
2291
2274
  }
2292
2275
 
2293
- .md\\:mt-2\\.5 {
2294
- margin-top: 0.625rem;
2295
- }
2296
-
2297
2276
  .md\\:mt-3 {
2298
2277
  margin-top: 0.75rem;
2299
2278
  }
@@ -2302,8 +2281,12 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2302
2281
  margin-top: 1rem;
2303
2282
  }
2304
2283
 
2305
- .md\\:mt-8 {
2306
- margin-top: 2rem;
2284
+ .md\\:mt-5 {
2285
+ margin-top: 1.25rem;
2286
+ }
2287
+
2288
+ .md\\:mt-7 {
2289
+ margin-top: 1.75rem;
2307
2290
  }
2308
2291
 
2309
2292
  .md\\:block {
@@ -2326,15 +2309,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2326
2309
  height: 1.25rem;
2327
2310
  }
2328
2311
 
2329
- .md\\:h-\\[68px\\] {
2330
- height: 68px;
2331
- }
2332
-
2333
- .md\\:h-max {
2334
- height: -moz-max-content;
2335
- height: max-content;
2336
- }
2337
-
2338
2312
  .md\\:max-h-\\[220px\\] {
2339
2313
  max-height: 220px;
2340
2314
  }
@@ -2343,6 +2317,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2343
2317
  min-height: 244px;
2344
2318
  }
2345
2319
 
2320
+ .md\\:min-h-\\[68px\\] {
2321
+ min-height: 68px;
2322
+ }
2323
+
2346
2324
  .md\\:w-1\\/2 {
2347
2325
  width: 50%;
2348
2326
  }
@@ -2355,6 +2333,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2355
2333
  width: 10rem;
2356
2334
  }
2357
2335
 
2336
+ .md\\:w-5 {
2337
+ width: 1.25rem;
2338
+ }
2339
+
2358
2340
  .md\\:w-5\\/12 {
2359
2341
  width: 41.666667%;
2360
2342
  }
@@ -2399,8 +2381,8 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2399
2381
  max-width: 200px;
2400
2382
  }
2401
2383
 
2402
- .md\\:max-w-\\[464px\\] {
2403
- max-width: 464px;
2384
+ .md\\:max-w-\\[492px\\] {
2385
+ max-width: 492px;
2404
2386
  }
2405
2387
 
2406
2388
  .md\\:max-w-\\[737px\\] {
@@ -2447,20 +2429,16 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2447
2429
  justify-content: center;
2448
2430
  }
2449
2431
 
2450
- .md\\:gap-8 {
2451
- gap: 2rem;
2432
+ .md\\:justify-between {
2433
+ justify-content: space-between;
2452
2434
  }
2453
2435
 
2454
- .md\\:space-x-0 > :not([hidden]) ~ :not([hidden]) {
2455
- --tw-space-x-reverse: 0;
2456
- margin-right: calc(0px * var(--tw-space-x-reverse));
2457
- margin-left: calc(0px * calc(1 - var(--tw-space-x-reverse)));
2436
+ .md\\:gap-3 {
2437
+ gap: 0.75rem;
2458
2438
  }
2459
2439
 
2460
- .md\\:space-x-2 > :not([hidden]) ~ :not([hidden]) {
2461
- --tw-space-x-reverse: 0;
2462
- margin-right: calc(0.5rem * var(--tw-space-x-reverse));
2463
- margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
2440
+ .md\\:gap-8 {
2441
+ gap: 2rem;
2464
2442
  }
2465
2443
 
2466
2444
  .md\\:space-x-4 > :not([hidden]) ~ :not([hidden]) {
@@ -2481,12 +2459,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2481
2459
  margin-bottom: calc(0px * var(--tw-space-y-reverse));
2482
2460
  }
2483
2461
 
2484
- .md\\:space-y-1 > :not([hidden]) ~ :not([hidden]) {
2485
- --tw-space-y-reverse: 0;
2486
- margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
2487
- margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
2488
- }
2489
-
2490
2462
  .md\\:space-y-4 > :not([hidden]) ~ :not([hidden]) {
2491
2463
  --tw-space-y-reverse: 0;
2492
2464
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
@@ -2518,6 +2490,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2518
2490
  padding-right: 0px;
2519
2491
  }
2520
2492
 
2493
+ .md\\:px-10 {
2494
+ padding-left: 2.5rem;
2495
+ padding-right: 2.5rem;
2496
+ }
2497
+
2521
2498
  .md\\:px-20 {
2522
2499
  padding-left: 5rem;
2523
2500
  padding-right: 5rem;
@@ -2579,10 +2556,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2579
2556
  padding-top: 0.75rem;
2580
2557
  }
2581
2558
 
2582
- .md\\:pt-5 {
2583
- padding-top: 1.25rem;
2584
- }
2585
-
2586
2559
  .md\\:pt-8 {
2587
2560
  padding-top: 2rem;
2588
2561
  }
@@ -2680,6 +2653,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2680
2653
  margin-top: 0px;
2681
2654
  }
2682
2655
 
2656
+ .lg\\:mt-5 {
2657
+ margin-top: 1.25rem;
2658
+ }
2659
+
2683
2660
  .lg\\:block {
2684
2661
  display: block;
2685
2662
  }
@@ -2791,6 +2768,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2791
2768
  padding-right: 6rem;
2792
2769
  }
2793
2770
 
2771
+ .lg\\:px-4 {
2772
+ padding-left: 1rem;
2773
+ padding-right: 1rem;
2774
+ }
2775
+
2794
2776
  .lg\\:px-6 {
2795
2777
  padding-left: 1.5rem;
2796
2778
  padding-right: 1.5rem;
@@ -2811,6 +2793,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2811
2793
  padding-bottom: 0.75rem;
2812
2794
  }
2813
2795
 
2796
+ .lg\\:py-5 {
2797
+ padding-top: 1.25rem;
2798
+ padding-bottom: 1.25rem;
2799
+ }
2800
+
2814
2801
  .lg\\:py-8 {
2815
2802
  padding-top: 2rem;
2816
2803
  padding-bottom: 2rem;
@@ -31,7 +31,7 @@ export default {
31
31
  700: '#023B73'
32
32
  },
33
33
  grey: {
34
- 100: '#FFFFFF',
34
+ 100: '#F4F4F4',
35
35
  200: '#EEEEEE',
36
36
  300: '#DDDDDD',
37
37
  400: '#999999',