@kompasid/lit-web-components 0.7.9 → 0.8.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.
Files changed (23) hide show
  1. package/demo/index.html +37 -1
  2. package/dist/src/components/kompasid-grace-period/KompasGracePeriod.d.ts +8 -1
  3. package/dist/src/components/kompasid-grace-period/KompasGracePeriod.js +95 -33
  4. package/dist/src/components/kompasid-grace-period/KompasGracePeriod.js.map +1 -1
  5. package/dist/src/components/kompasid-header-account/KompasHeaderAccount.d.ts +18 -0
  6. package/dist/src/components/kompasid-header-account/KompasHeaderAccount.js +78 -0
  7. package/dist/src/components/kompasid-header-account/KompasHeaderAccount.js.map +1 -1
  8. package/dist/src/components/kompasid-header-account/types.d.ts +2 -0
  9. package/dist/src/components/kompasid-header-account/types.js.map +1 -1
  10. package/dist/src/components/kompasid-header-account-profile/KompasHeaderAccountProfile.d.ts +29 -2
  11. package/dist/src/components/kompasid-header-account-profile/KompasHeaderAccountProfile.js +115 -57
  12. package/dist/src/components/kompasid-header-account-profile/KompasHeaderAccountProfile.js.map +1 -1
  13. package/dist/tailwind/tailwind.js +151 -171
  14. package/dist/tailwind/tailwind.js.map +1 -1
  15. package/dist/tsconfig.tsbuildinfo +1 -1
  16. package/package.json +1 -1
  17. package/src/components/kompasid-grace-period/KompasGracePeriod.ts +93 -31
  18. package/src/components/kompasid-grace-period/readme.md +2 -0
  19. package/src/components/kompasid-header-account/KompasHeaderAccount.ts +34 -0
  20. package/src/components/kompasid-header-account/types.ts +2 -0
  21. package/src/components/kompasid-header-account-profile/KompasHeaderAccountProfile.ts +84 -56
  22. package/tailwind/tailwind.css +38 -99
  23. package/tailwind/tailwind.ts +151 -171
@@ -47,9 +47,20 @@ export const TWStyles = css`
47
47
  -o-tab-size: 4;
48
48
  tab-size: 4;
49
49
  /* 3 */
50
- font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
51
- 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
52
- 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
50
+ font-family:
51
+ ui-sans-serif,
52
+ system-ui,
53
+ -apple-system,
54
+ BlinkMacSystemFont,
55
+ 'Segoe UI',
56
+ Roboto,
57
+ 'Helvetica Neue',
58
+ Arial,
59
+ 'Noto Sans',
60
+ sans-serif,
61
+ 'Apple Color Emoji',
62
+ 'Segoe UI Emoji',
63
+ 'Segoe UI Symbol',
53
64
  'Noto Color Emoji';
54
65
  /* 4 */
55
66
  font-feature-settings: normal;
@@ -454,19 +465,19 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
454
465
  --tw-skew-y: 0;
455
466
  --tw-scale-x: 1;
456
467
  --tw-scale-y: 1;
457
- --tw-pan-x: ;
458
- --tw-pan-y: ;
459
- --tw-pinch-zoom: ;
468
+ --tw-pan-x: ;
469
+ --tw-pan-y: ;
470
+ --tw-pinch-zoom: ;
460
471
  --tw-scroll-snap-strictness: proximity;
461
- --tw-gradient-from-position: ;
462
- --tw-gradient-via-position: ;
463
- --tw-gradient-to-position: ;
464
- --tw-ordinal: ;
465
- --tw-slashed-zero: ;
466
- --tw-numeric-figure: ;
467
- --tw-numeric-spacing: ;
468
- --tw-numeric-fraction: ;
469
- --tw-ring-inset: ;
472
+ --tw-gradient-from-position: ;
473
+ --tw-gradient-via-position: ;
474
+ --tw-gradient-to-position: ;
475
+ --tw-ordinal: ;
476
+ --tw-slashed-zero: ;
477
+ --tw-numeric-figure: ;
478
+ --tw-numeric-spacing: ;
479
+ --tw-numeric-fraction: ;
480
+ --tw-ring-inset: ;
470
481
  --tw-ring-offset-width: 0px;
471
482
  --tw-ring-offset-color: #fff;
472
483
  --tw-ring-color: rgb(4 104 203 / 0.5);
@@ -474,24 +485,24 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
474
485
  --tw-ring-shadow: 0 0 #0000;
475
486
  --tw-shadow: 0 0 #0000;
476
487
  --tw-shadow-colored: 0 0 #0000;
477
- --tw-blur: ;
478
- --tw-brightness: ;
479
- --tw-contrast: ;
480
- --tw-grayscale: ;
481
- --tw-hue-rotate: ;
482
- --tw-invert: ;
483
- --tw-saturate: ;
484
- --tw-sepia: ;
485
- --tw-drop-shadow: ;
486
- --tw-backdrop-blur: ;
487
- --tw-backdrop-brightness: ;
488
- --tw-backdrop-contrast: ;
489
- --tw-backdrop-grayscale: ;
490
- --tw-backdrop-hue-rotate: ;
491
- --tw-backdrop-invert: ;
492
- --tw-backdrop-opacity: ;
493
- --tw-backdrop-saturate: ;
494
- --tw-backdrop-sepia: ;
488
+ --tw-blur: ;
489
+ --tw-brightness: ;
490
+ --tw-contrast: ;
491
+ --tw-grayscale: ;
492
+ --tw-hue-rotate: ;
493
+ --tw-invert: ;
494
+ --tw-saturate: ;
495
+ --tw-sepia: ;
496
+ --tw-drop-shadow: ;
497
+ --tw-backdrop-blur: ;
498
+ --tw-backdrop-brightness: ;
499
+ --tw-backdrop-contrast: ;
500
+ --tw-backdrop-grayscale: ;
501
+ --tw-backdrop-hue-rotate: ;
502
+ --tw-backdrop-invert: ;
503
+ --tw-backdrop-opacity: ;
504
+ --tw-backdrop-saturate: ;
505
+ --tw-backdrop-sepia: ;
495
506
  }
496
507
 
497
508
  ::backdrop {
@@ -504,19 +515,19 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
504
515
  --tw-skew-y: 0;
505
516
  --tw-scale-x: 1;
506
517
  --tw-scale-y: 1;
507
- --tw-pan-x: ;
508
- --tw-pan-y: ;
509
- --tw-pinch-zoom: ;
518
+ --tw-pan-x: ;
519
+ --tw-pan-y: ;
520
+ --tw-pinch-zoom: ;
510
521
  --tw-scroll-snap-strictness: proximity;
511
- --tw-gradient-from-position: ;
512
- --tw-gradient-via-position: ;
513
- --tw-gradient-to-position: ;
514
- --tw-ordinal: ;
515
- --tw-slashed-zero: ;
516
- --tw-numeric-figure: ;
517
- --tw-numeric-spacing: ;
518
- --tw-numeric-fraction: ;
519
- --tw-ring-inset: ;
522
+ --tw-gradient-from-position: ;
523
+ --tw-gradient-via-position: ;
524
+ --tw-gradient-to-position: ;
525
+ --tw-ordinal: ;
526
+ --tw-slashed-zero: ;
527
+ --tw-numeric-figure: ;
528
+ --tw-numeric-spacing: ;
529
+ --tw-numeric-fraction: ;
530
+ --tw-ring-inset: ;
520
531
  --tw-ring-offset-width: 0px;
521
532
  --tw-ring-offset-color: #fff;
522
533
  --tw-ring-color: rgb(4 104 203 / 0.5);
@@ -524,24 +535,24 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
524
535
  --tw-ring-shadow: 0 0 #0000;
525
536
  --tw-shadow: 0 0 #0000;
526
537
  --tw-shadow-colored: 0 0 #0000;
527
- --tw-blur: ;
528
- --tw-brightness: ;
529
- --tw-contrast: ;
530
- --tw-grayscale: ;
531
- --tw-hue-rotate: ;
532
- --tw-invert: ;
533
- --tw-saturate: ;
534
- --tw-sepia: ;
535
- --tw-drop-shadow: ;
536
- --tw-backdrop-blur: ;
537
- --tw-backdrop-brightness: ;
538
- --tw-backdrop-contrast: ;
539
- --tw-backdrop-grayscale: ;
540
- --tw-backdrop-hue-rotate: ;
541
- --tw-backdrop-invert: ;
542
- --tw-backdrop-opacity: ;
543
- --tw-backdrop-saturate: ;
544
- --tw-backdrop-sepia: ;
538
+ --tw-blur: ;
539
+ --tw-brightness: ;
540
+ --tw-contrast: ;
541
+ --tw-grayscale: ;
542
+ --tw-hue-rotate: ;
543
+ --tw-invert: ;
544
+ --tw-saturate: ;
545
+ --tw-sepia: ;
546
+ --tw-drop-shadow: ;
547
+ --tw-backdrop-blur: ;
548
+ --tw-backdrop-brightness: ;
549
+ --tw-backdrop-contrast: ;
550
+ --tw-backdrop-grayscale: ;
551
+ --tw-backdrop-hue-rotate: ;
552
+ --tw-backdrop-invert: ;
553
+ --tw-backdrop-opacity: ;
554
+ --tw-backdrop-saturate: ;
555
+ --tw-backdrop-sepia: ;
545
556
  }
546
557
 
547
558
  .collapse {
@@ -600,10 +611,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
600
611
  top: 0px;
601
612
  }
602
613
 
603
- .bottom-6 {
604
- bottom: 1.5rem;
605
- }
606
-
607
614
  .z-0 {
608
615
  z-index: 0;
609
616
  }
@@ -667,16 +674,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
667
674
  margin-bottom: 1.5rem;
668
675
  }
669
676
 
670
- .my-2 {
671
- margin-top: 0.5rem;
672
- margin-bottom: 0.5rem;
673
- }
674
-
675
- .my-3 {
676
- margin-top: 0.75rem;
677
- margin-bottom: 0.75rem;
678
- }
679
-
680
677
  .-ml-2 {
681
678
  margin-left: -0.5rem;
682
679
  }
@@ -1018,14 +1015,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1018
1015
  max-width: 20rem;
1019
1016
  }
1020
1017
 
1021
- .max-w-lg {
1022
- max-width: 32rem;
1023
- }
1024
-
1025
- .max-w-md {
1026
- max-width: 28rem;
1027
- }
1028
-
1029
1018
  .flex-none {
1030
1019
  flex: none;
1031
1020
  }
@@ -1662,9 +1651,20 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1662
1651
  }
1663
1652
 
1664
1653
  .font-sans {
1665
- font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
1666
- 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
1667
- 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
1654
+ font-family:
1655
+ ui-sans-serif,
1656
+ system-ui,
1657
+ -apple-system,
1658
+ BlinkMacSystemFont,
1659
+ 'Segoe UI',
1660
+ Roboto,
1661
+ 'Helvetica Neue',
1662
+ Arial,
1663
+ 'Noto Sans',
1664
+ sans-serif,
1665
+ 'Apple Color Emoji',
1666
+ 'Segoe UI Emoji',
1667
+ 'Segoe UI Symbol',
1668
1668
  'Noto Color Emoji';
1669
1669
  }
1670
1670
 
@@ -1696,6 +1696,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1696
1696
  line-height: 1.25rem;
1697
1697
  }
1698
1698
 
1699
+ .text-xl {
1700
+ font-size: 1.25rem;
1701
+ line-height: 1.75rem;
1702
+ }
1703
+
1699
1704
  .text-xs {
1700
1705
  font-size: 0.75rem;
1701
1706
  line-height: 1rem;
@@ -1776,6 +1781,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1776
1781
  color: rgb(0 0 0 / var(--tw-text-opacity));
1777
1782
  }
1778
1783
 
1784
+ .text-blue-200 {
1785
+ --tw-text-opacity: 1;
1786
+ color: rgb(147 200 253 / var(--tw-text-opacity));
1787
+ }
1788
+
1779
1789
  .text-blue-300 {
1780
1790
  --tw-text-opacity: 1;
1781
1791
  color: rgb(90 171 252 / var(--tw-text-opacity));
@@ -1887,15 +1897,34 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1887
1897
  }
1888
1898
 
1889
1899
  .transition {
1890
- transition-property: color, background-color, border-color,
1891
- text-decoration-color, fill, stroke, opacity, box-shadow, transform,
1892
- filter, -webkit-backdrop-filter;
1900
+ transition-property:
1901
+ color,
1902
+ background-color,
1903
+ border-color,
1904
+ text-decoration-color,
1905
+ fill,
1906
+ stroke,
1907
+ opacity,
1908
+ box-shadow,
1909
+ transform,
1910
+ filter,
1911
+ -webkit-backdrop-filter;
1893
1912
  transition-property: color, background-color, border-color,
1894
1913
  text-decoration-color, fill, stroke, opacity, box-shadow, transform,
1895
1914
  filter, backdrop-filter;
1896
- transition-property: color, background-color, border-color,
1897
- text-decoration-color, fill, stroke, opacity, box-shadow, transform,
1898
- filter, backdrop-filter, -webkit-backdrop-filter;
1915
+ transition-property:
1916
+ color,
1917
+ background-color,
1918
+ border-color,
1919
+ text-decoration-color,
1920
+ fill,
1921
+ stroke,
1922
+ opacity,
1923
+ box-shadow,
1924
+ transform,
1925
+ filter,
1926
+ backdrop-filter,
1927
+ -webkit-backdrop-filter;
1899
1928
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1900
1929
  transition-duration: 150ms;
1901
1930
  }
@@ -1934,6 +1963,11 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1934
1963
  margin-right: 0px;
1935
1964
  }
1936
1965
 
1966
+ .md\\:my-3 {
1967
+ margin-top: 0.75rem;
1968
+ margin-bottom: 0.75rem;
1969
+ }
1970
+
1937
1971
  .md\\:my-8 {
1938
1972
  margin-top: 2rem;
1939
1973
  margin-bottom: 2rem;
@@ -1944,16 +1978,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1944
1978
  margin-bottom: auto;
1945
1979
  }
1946
1980
 
1947
- .md\\:my-3 {
1948
- margin-top: 0.75rem;
1949
- margin-bottom: 0.75rem;
1950
- }
1951
-
1952
- .md\\:my-10 {
1953
- margin-top: 2.5rem;
1954
- margin-bottom: 2.5rem;
1955
- }
1956
-
1957
1981
  .md\\:mb-0 {
1958
1982
  margin-bottom: 0px;
1959
1983
  }
@@ -1978,6 +2002,14 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1978
2002
  margin-top: 0px;
1979
2003
  }
1980
2004
 
2005
+ .md\\:mt-2 {
2006
+ margin-top: 0.5rem;
2007
+ }
2008
+
2009
+ .md\\:mt-2\\.5 {
2010
+ margin-top: 0.625rem;
2011
+ }
2012
+
1981
2013
  .md\\:mt-3 {
1982
2014
  margin-top: 0.75rem;
1983
2015
  }
@@ -1990,22 +2022,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
1990
2022
  margin-top: 2rem;
1991
2023
  }
1992
2024
 
1993
- .md\\:mt-2 {
1994
- margin-top: 0.5rem;
1995
- }
1996
-
1997
- .md\\:mt-1 {
1998
- margin-top: 0.25rem;
1999
- }
2000
-
2001
- .md\\:mt-10 {
2002
- margin-top: 2.5rem;
2003
- }
2004
-
2005
- .md\\:mt-2\\.5 {
2006
- margin-top: 0.625rem;
2007
- }
2008
-
2009
2025
  .md\\:block {
2010
2026
  display: block;
2011
2027
  }
@@ -2103,6 +2119,10 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2103
2119
  max-width: 200px;
2104
2120
  }
2105
2121
 
2122
+ .md\\:max-w-\\[464px\\] {
2123
+ max-width: 464px;
2124
+ }
2125
+
2106
2126
  .md\\:max-w-full {
2107
2127
  max-width: 100%;
2108
2128
  }
@@ -2111,10 +2131,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2111
2131
  max-width: 24rem;
2112
2132
  }
2113
2133
 
2114
- .md\\:max-w-\\[464px\\] {
2115
- max-width: 464px;
2116
- }
2117
-
2118
2134
  .md\\:grid-cols-1 {
2119
2135
  grid-template-columns: repeat(1, minmax(0, 1fr));
2120
2136
  }
@@ -2181,18 +2197,18 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2181
2197
  margin-bottom: calc(0px * var(--tw-space-y-reverse));
2182
2198
  }
2183
2199
 
2184
- .md\\:space-y-4 > :not([hidden]) ~ :not([hidden]) {
2185
- --tw-space-y-reverse: 0;
2186
- margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
2187
- margin-bottom: calc(1rem * var(--tw-space-y-reverse));
2188
- }
2189
-
2190
2200
  .md\\:space-y-1 > :not([hidden]) ~ :not([hidden]) {
2191
2201
  --tw-space-y-reverse: 0;
2192
2202
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
2193
2203
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
2194
2204
  }
2195
2205
 
2206
+ .md\\:space-y-4 > :not([hidden]) ~ :not([hidden]) {
2207
+ --tw-space-y-reverse: 0;
2208
+ margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
2209
+ margin-bottom: calc(1rem * var(--tw-space-y-reverse));
2210
+ }
2211
+
2196
2212
  .md\\:self-start {
2197
2213
  align-self: flex-start;
2198
2214
  }
@@ -2262,11 +2278,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2262
2278
  padding-bottom: 0.5rem;
2263
2279
  }
2264
2280
 
2265
- .md\\:py-6 {
2266
- padding-top: 1.5rem;
2267
- padding-bottom: 1.5rem;
2268
- }
2269
-
2270
2281
  .md\\:py-3 {
2271
2282
  padding-top: 0.75rem;
2272
2283
  padding-bottom: 0.75rem;
@@ -2277,14 +2288,9 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2277
2288
  padding-bottom: 0.875rem;
2278
2289
  }
2279
2290
 
2280
- .md\\:py-4 {
2281
- padding-top: 1rem;
2282
- padding-bottom: 1rem;
2283
- }
2284
-
2285
- .md\\:py-10 {
2286
- padding-top: 2.5rem;
2287
- padding-bottom: 2.5rem;
2291
+ .md\\:py-6 {
2292
+ padding-top: 1.5rem;
2293
+ padding-bottom: 1.5rem;
2288
2294
  }
2289
2295
 
2290
2296
  .md\\:pb-4 {
@@ -2303,24 +2309,12 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2303
2309
  padding-top: 0.75rem;
2304
2310
  }
2305
2311
 
2306
- .md\\:pt-8 {
2307
- padding-top: 2rem;
2308
- }
2309
-
2310
- .md\\:pt-4 {
2311
- padding-top: 1rem;
2312
- }
2313
-
2314
- .md\\:pt-2 {
2315
- padding-top: 0.5rem;
2316
- }
2317
-
2318
2312
  .md\\:pt-5 {
2319
2313
  padding-top: 1.25rem;
2320
2314
  }
2321
2315
 
2322
- .md\\:pt-6 {
2323
- padding-top: 1.5rem;
2316
+ .md\\:pt-8 {
2317
+ padding-top: 2rem;
2324
2318
  }
2325
2319
 
2326
2320
  .md\\:text-left {
@@ -2396,14 +2390,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2396
2390
  margin-top: 0px;
2397
2391
  }
2398
2392
 
2399
- .lg\\:mt-2 {
2400
- margin-top: 0.5rem;
2401
- }
2402
-
2403
- .lg\\:mt-1 {
2404
- margin-top: 0.25rem;
2405
- }
2406
-
2407
2393
  .lg\\:block {
2408
2394
  display: block;
2409
2395
  }
@@ -2507,12 +2493,6 @@ Constrain images and videos to the parent width and preserve their intrinsic asp
2507
2493
  }
2508
2494
 
2509
2495
  @media (min-width: 1280px) {
2510
- .xl\\:space-y-1 > :not([hidden]) ~ :not([hidden]) {
2511
- --tw-space-y-reverse: 0;
2512
- margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
2513
- margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
2514
- }
2515
-
2516
2496
  .xl\\:px-0 {
2517
2497
  padding-left: 0px;
2518
2498
  padding-right: 0px;