@rxap/service-worker 22.0.0-dev.0 → 22.0.0-dev.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 (99) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/compodoc/architecture.html +222 -0
  3. package/compodoc/changelog.html +60 -5
  4. package/compodoc/components/ServiceWorkerUpdateDialogComponent.html +101 -57
  5. package/compodoc/dependencies.html +100 -23
  6. package/compodoc/index.html +46 -5
  7. package/compodoc/injectables/AutoUpdateService.html +77 -17
  8. package/compodoc/injectables/CheckForUpdateService.html +77 -17
  9. package/compodoc/injectables/DialogUpdateService.html +77 -17
  10. package/compodoc/injectables/LogUpdateService.html +77 -17
  11. package/compodoc/injectables/SnackbarUpdateService.html +77 -17
  12. package/compodoc/js/architecture-graph.js +288 -0
  13. package/compodoc/js/libs/bootstrap-native.js +4 -2
  14. package/compodoc/js/libs/jszip.min.js +13 -0
  15. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  16. package/compodoc/js/libs/tablesort.min.js +3 -3
  17. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  18. package/compodoc/js/libs/vis-network.min.js +78 -0
  19. package/compodoc/js/menu-wc.js +25 -12
  20. package/compodoc/js/menu.js +10 -11
  21. package/compodoc/js/routes/routes_index.js +1 -0
  22. package/compodoc/js/routes.js +142 -34
  23. package/compodoc/js/search/search-lunr.js +6 -8
  24. package/compodoc/js/search/search.js +118 -66
  25. package/compodoc/js/search/search_index.js +2 -2
  26. package/compodoc/js/tabs.js +98 -15
  27. package/compodoc/js/tree.js +44 -7
  28. package/compodoc/license.html +48 -6
  29. package/compodoc/llms.txt +89 -0
  30. package/compodoc/miscellaneous/functions.html +58 -14
  31. package/compodoc/miscellaneous/variables.html +58 -5
  32. package/compodoc/modules.html +44 -3
  33. package/compodoc/overview.html +54 -3
  34. package/compodoc/properties.html +45 -4
  35. package/compodoc/routes.html +227 -0
  36. package/compodoc/styles/compodoc.css +365 -44
  37. package/compodoc/styles/dark.css +16 -0
  38. package/compodoc/template-playground/default-templates.json +192 -0
  39. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  40. package/compodoc/template-playground/main.ts +9 -0
  41. package/compodoc/template-playground/template-editor.service.ts +173 -0
  42. package/compodoc/template-playground/template-playground.component.ts +614 -0
  43. package/compodoc/template-playground/template-playground.module.ts +29 -0
  44. package/compodoc/template-playground/zip-export.service.ts +86 -0
  45. package/compodoc/template-playground-app/app.js +1389 -0
  46. package/compodoc/template-playground-app/index.html +462 -0
  47. package/docs/documentation.json +154 -94
  48. package/docs/html/assets/highlight.css +1 -1
  49. package/docs/html/assets/icons.js +1 -1
  50. package/docs/html/assets/icons.svg +1 -1
  51. package/docs/html/assets/main.js +5 -5
  52. package/docs/html/assets/search.js +1 -1
  53. package/docs/html/assets/style.css +265 -228
  54. package/docs/html/classes/AutoUpdateService.html +74 -3
  55. package/docs/html/classes/CheckForUpdateService.html +74 -3
  56. package/docs/html/classes/DialogUpdateService.html +74 -3
  57. package/docs/html/classes/LogUpdateService.html +74 -3
  58. package/docs/html/classes/ServiceWorkerUpdateDialogComponent.html +102 -6
  59. package/docs/html/classes/SnackbarUpdateService.html +74 -3
  60. package/docs/html/functions/ProvideServiceWorkerUpdater.html +42 -1
  61. package/docs/html/functions/UnregisterServiceWorker.html +42 -1
  62. package/docs/html/functions/withAutoUpdater.html +38 -1
  63. package/docs/html/functions/withDialogUpdater.html +38 -1
  64. package/docs/html/functions/withLogUpdater.html +38 -1
  65. package/docs/html/functions/withSnackbarUpdater.html +38 -1
  66. package/docs/html/hierarchy.html +29 -0
  67. package/docs/html/index.html +40 -4
  68. package/docs/html/modules.html +44 -1
  69. package/docs/html/variables/UPDATE_AVAILABLE_EVENT.html +33 -1
  70. package/docs/markdown/README.md +1 -1
  71. package/docs/markdown/classes/AutoUpdateService.md +6 -6
  72. package/docs/markdown/classes/CheckForUpdateService.md +6 -6
  73. package/docs/markdown/classes/DialogUpdateService.md +6 -6
  74. package/docs/markdown/classes/LogUpdateService.md +6 -6
  75. package/docs/markdown/classes/ServiceWorkerUpdateDialogComponent.md +10 -10
  76. package/docs/markdown/classes/SnackbarUpdateService.md +6 -6
  77. package/docs/markdown/functions/ProvideServiceWorkerUpdater.md +2 -2
  78. package/docs/markdown/functions/UnregisterServiceWorker.md +2 -2
  79. package/docs/markdown/functions/withAutoUpdater.md +2 -2
  80. package/docs/markdown/functions/withDialogUpdater.md +2 -2
  81. package/docs/markdown/functions/withLogUpdater.md +2 -2
  82. package/docs/markdown/functions/withSnackbarUpdater.md +2 -2
  83. package/docs/markdown/globals.md +2 -2
  84. package/docs/markdown/variables/UPDATE_AVAILABLE_EVENT.md +2 -2
  85. package/docs/wiki/Class.AutoUpdateService.md +5 -5
  86. package/docs/wiki/Class.CheckForUpdateService.md +5 -5
  87. package/docs/wiki/Class.DialogUpdateService.md +5 -5
  88. package/docs/wiki/Class.LogUpdateService.md +5 -5
  89. package/docs/wiki/Class.ServiceWorkerUpdateDialogComponent.md +9 -9
  90. package/docs/wiki/Class.SnackbarUpdateService.md +5 -5
  91. package/docs/wiki/Function.ProvideServiceWorkerUpdater.md +1 -1
  92. package/docs/wiki/Function.UnregisterServiceWorker.md +1 -1
  93. package/docs/wiki/Function.withAutoUpdater.md +1 -1
  94. package/docs/wiki/Function.withDialogUpdater.md +1 -1
  95. package/docs/wiki/Function.withLogUpdater.md +1 -1
  96. package/docs/wiki/Function.withSnackbarUpdater.md +1 -1
  97. package/docs/wiki/Variable.UPDATE_AVAILABLE_EVENT.md +1 -1
  98. package/docs/wiki/globals.md +1 -1
  99. package/package.json +11 -11
@@ -1,14 +1,33 @@
1
1
  @layer typedoc {
2
+ :root {
3
+ --dim-toolbar-contents-height: 2.5rem;
4
+ --dim-toolbar-border-bottom-width: 1px;
5
+ --dim-header-height: calc(
6
+ var(--dim-toolbar-border-bottom-width) +
7
+ var(--dim-toolbar-contents-height)
8
+ );
9
+
10
+ /* 0rem For mobile; unit is required for calculation in `calc` */
11
+ --dim-container-main-margin-y: 0rem;
12
+
13
+ --dim-footer-height: 3.5rem;
14
+
15
+ --modal-animation-duration: 0.2s;
16
+ }
17
+
2
18
  :root {
3
19
  /* Light */
4
20
  --light-color-background: #f2f4f8;
5
21
  --light-color-background-secondary: #eff0f1;
6
- --light-color-warning-text: #222;
22
+ /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */
23
+ --light-color-background-active: #d6d8da;
7
24
  --light-color-background-warning: #e6e600;
25
+ --light-color-warning-text: #222;
8
26
  --light-color-accent: #c5c7c9;
9
- --light-color-active-menu-item: var(--light-color-accent);
27
+ --light-color-active-menu-item: var(--light-color-background-active);
10
28
  --light-color-text: #222;
11
- --light-color-text-aside: #6e6e6e;
29
+ --light-color-contrast-text: #000;
30
+ --light-color-text-aside: #5e5e5e;
12
31
 
13
32
  --light-color-icon-background: var(--light-color-background);
14
33
  --light-color-icon-text: var(--light-color-text);
@@ -56,15 +75,20 @@
56
75
 
57
76
  --light-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23000' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
58
77
  --light-color-scheme: light;
78
+ }
59
79
 
80
+ :root {
60
81
  /* Dark */
61
82
  --dark-color-background: #2b2e33;
62
83
  --dark-color-background-secondary: #1e2024;
84
+ /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */
85
+ --dark-color-background-active: #5d5d6a;
63
86
  --dark-color-background-warning: #bebe00;
64
87
  --dark-color-warning-text: #222;
65
88
  --dark-color-accent: #9096a2;
66
- --dark-color-active-menu-item: #5d5d6a;
89
+ --dark-color-active-menu-item: var(--dark-color-background-active);
67
90
  --dark-color-text: #f5f5f5;
91
+ --dark-color-contrast-text: #ffffff;
68
92
  --dark-color-text-aside: #dddddd;
69
93
 
70
94
  --dark-color-icon-background: var(--dark-color-background-secondary);
@@ -119,11 +143,13 @@
119
143
  --color-background-secondary: var(
120
144
  --light-color-background-secondary
121
145
  );
146
+ --color-background-active: var(--light-color-background-active);
122
147
  --color-background-warning: var(--light-color-background-warning);
123
148
  --color-warning-text: var(--light-color-warning-text);
124
149
  --color-accent: var(--light-color-accent);
125
150
  --color-active-menu-item: var(--light-color-active-menu-item);
126
151
  --color-text: var(--light-color-text);
152
+ --color-contrast-text: var(--light-color-contrast-text);
127
153
  --color-text-aside: var(--light-color-text-aside);
128
154
 
129
155
  --color-icon-background: var(--light-color-icon-background);
@@ -179,11 +205,13 @@
179
205
  --color-background-secondary: var(
180
206
  --dark-color-background-secondary
181
207
  );
208
+ --color-background-active: var(--dark-color-background-active);
182
209
  --color-background-warning: var(--dark-color-background-warning);
183
210
  --color-warning-text: var(--dark-color-warning-text);
184
211
  --color-accent: var(--dark-color-accent);
185
212
  --color-active-menu-item: var(--dark-color-active-menu-item);
186
213
  --color-text: var(--dark-color-text);
214
+ --color-contrast-text: var(--dark-color-contrast-text);
187
215
  --color-text-aside: var(--dark-color-text-aside);
188
216
 
189
217
  --color-icon-background: var(--dark-color-icon-background);
@@ -233,23 +261,17 @@
233
261
  }
234
262
  }
235
263
 
236
- html {
237
- color-scheme: var(--color-scheme);
238
- }
239
-
240
- body {
241
- margin: 0;
242
- }
243
-
244
264
  :root[data-theme="light"] {
245
265
  --color-background: var(--light-color-background);
246
266
  --color-background-secondary: var(--light-color-background-secondary);
267
+ --color-background-active: var(--light-color-background-active);
247
268
  --color-background-warning: var(--light-color-background-warning);
248
269
  --color-warning-text: var(--light-color-warning-text);
249
270
  --color-icon-background: var(--light-color-icon-background);
250
271
  --color-accent: var(--light-color-accent);
251
272
  --color-active-menu-item: var(--light-color-active-menu-item);
252
273
  --color-text: var(--light-color-text);
274
+ --color-contrast-text: var(--light-color-contrast-text);
253
275
  --color-text-aside: var(--light-color-text-aside);
254
276
  --color-icon-text: var(--light-color-icon-text);
255
277
 
@@ -299,12 +321,14 @@
299
321
  :root[data-theme="dark"] {
300
322
  --color-background: var(--dark-color-background);
301
323
  --color-background-secondary: var(--dark-color-background-secondary);
324
+ --color-background-active: var(--dark-color-background-active);
302
325
  --color-background-warning: var(--dark-color-background-warning);
303
326
  --color-warning-text: var(--dark-color-warning-text);
304
327
  --color-icon-background: var(--dark-color-icon-background);
305
328
  --color-accent: var(--dark-color-accent);
306
329
  --color-active-menu-item: var(--dark-color-active-menu-item);
307
330
  --color-text: var(--dark-color-text);
331
+ --color-contrast-text: var(--dark-color-contrast-text);
308
332
  --color-text-aside: var(--dark-color-text-aside);
309
333
  --color-icon-text: var(--dark-color-icon-text);
310
334
 
@@ -351,6 +375,13 @@
351
375
  --color-scheme: var(--dark-color-scheme);
352
376
  }
353
377
 
378
+ html {
379
+ color-scheme: var(--color-scheme);
380
+ @media (prefers-reduced-motion: no-preference) {
381
+ scroll-behavior: smooth;
382
+ }
383
+ }
384
+
354
385
  *:focus-visible,
355
386
  .tsd-accordion-summary:focus-visible svg {
356
387
  outline: 2px solid var(--color-focus-outline);
@@ -421,16 +452,19 @@
421
452
  border-top: 1px solid var(--color-accent);
422
453
  padding-top: 1rem;
423
454
  padding-bottom: 1rem;
424
- max-height: 3.5rem;
455
+ max-height: var(--dim-footer-height);
425
456
  }
426
457
  footer > p {
427
458
  margin: 0 1em;
428
459
  }
429
460
 
430
461
  .container-main {
431
- margin: 0 auto;
462
+ margin: var(--dim-container-main-margin-y) auto;
432
463
  /* toolbar, footer, margin */
433
- min-height: calc(100vh - 41px - 56px - 4rem);
464
+ min-height: calc(
465
+ 100svh - var(--dim-header-height) - var(--dim-footer-height) -
466
+ 2 * var(--dim-container-main-margin-y)
467
+ );
434
468
  }
435
469
 
436
470
  @keyframes fade-in {
@@ -450,29 +484,6 @@
450
484
  opacity: 0;
451
485
  }
452
486
  }
453
- @keyframes fade-in-delayed {
454
- 0% {
455
- opacity: 0;
456
- }
457
- 33% {
458
- opacity: 0;
459
- }
460
- 100% {
461
- opacity: 1;
462
- }
463
- }
464
- @keyframes fade-out-delayed {
465
- 0% {
466
- opacity: 1;
467
- visibility: visible;
468
- }
469
- 66% {
470
- opacity: 0;
471
- }
472
- 100% {
473
- opacity: 0;
474
- }
475
- }
476
487
  @keyframes pop-in-from-right {
477
488
  from {
478
489
  transform: translate(100%, 0);
@@ -492,10 +503,19 @@
492
503
  }
493
504
  body {
494
505
  background: var(--color-background);
495
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
496
- Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
506
+ font-family:
507
+ -apple-system,
508
+ BlinkMacSystemFont,
509
+ "Segoe UI",
510
+ "Noto Sans",
511
+ Helvetica,
512
+ Arial,
513
+ sans-serif,
514
+ "Apple Color Emoji",
515
+ "Segoe UI Emoji";
497
516
  font-size: 16px;
498
517
  color: var(--color-text);
518
+ margin: 0;
499
519
  }
500
520
 
501
521
  a {
@@ -514,6 +534,17 @@
514
534
  a.tsd-anchor-link {
515
535
  color: var(--color-text);
516
536
  }
537
+ :target {
538
+ scroll-margin-block: calc(var(--dim-header-height) + 0.5rem);
539
+ }
540
+
541
+ math[display="block"] {
542
+ position: relative;
543
+ padding: 10px;
544
+ border: 1px solid var(--color-accent);
545
+ border-radius: 0.8em;
546
+ margin-bottom: 8px;
547
+ }
517
548
 
518
549
  code,
519
550
  pre {
@@ -545,7 +576,8 @@
545
576
  box-sizing: border-box;
546
577
  }
547
578
  pre:hover > button,
548
- pre > button.visible {
579
+ pre > button.visible,
580
+ pre > button:focus-visible {
549
581
  opacity: 1;
550
582
  }
551
583
 
@@ -555,6 +587,52 @@
555
587
  border-left: 4px solid gray;
556
588
  }
557
589
 
590
+ img {
591
+ max-width: 100%;
592
+ }
593
+
594
+ * {
595
+ scrollbar-width: thin;
596
+ scrollbar-color: var(--color-accent) var(--color-icon-background);
597
+ }
598
+
599
+ *::-webkit-scrollbar {
600
+ width: 0.75rem;
601
+ }
602
+
603
+ *::-webkit-scrollbar-track {
604
+ background: var(--color-icon-background);
605
+ }
606
+
607
+ *::-webkit-scrollbar-thumb {
608
+ background-color: var(--color-accent);
609
+ border-radius: 999rem;
610
+ border: 0.25rem solid var(--color-icon-background);
611
+ }
612
+
613
+ dialog {
614
+ border: none;
615
+ outline: none;
616
+ padding: 0;
617
+ background-color: var(--color-background);
618
+ }
619
+ dialog::backdrop {
620
+ display: none;
621
+ }
622
+ #tsd-overlay {
623
+ background-color: rgba(0, 0, 0, 0.5);
624
+ position: fixed;
625
+ z-index: 9999;
626
+ top: 0;
627
+ left: 0;
628
+ right: 0;
629
+ bottom: 0;
630
+ animation: fade-in var(--modal-animation-duration) forwards;
631
+ }
632
+ #tsd-overlay.closing {
633
+ animation-name: fade-out;
634
+ }
635
+
558
636
  .tsd-typography {
559
637
  line-height: 1.333em;
560
638
  }
@@ -629,6 +707,7 @@
629
707
 
630
708
  .tsd-breadcrumb {
631
709
  margin: 0;
710
+ margin-top: 1rem;
632
711
  padding: 0;
633
712
  color: var(--color-text-aside);
634
713
  }
@@ -733,7 +812,7 @@
733
812
  margin-right: 0.5em;
734
813
  border-radius: 0.33em;
735
814
  /* Leaving this at full opacity breaks event listeners on Firefox.
736
- Don't remove unless you know what you're doing. */
815
+ Don't remove unless you know what you're doing. */
737
816
  opacity: 0.99;
738
817
  }
739
818
  .tsd-filter-input input[type="checkbox"]:focus-visible + svg {
@@ -876,7 +955,8 @@
876
955
  }
877
956
 
878
957
  .tsd-navigation.settings {
879
- margin: 1rem 0;
958
+ margin: 0;
959
+ margin-bottom: 1rem;
880
960
  }
881
961
  .tsd-navigation > a,
882
962
  .tsd-navigation .tsd-accordion-summary {
@@ -898,6 +978,7 @@
898
978
  .tsd-navigation a.current,
899
979
  .tsd-page-navigation a.current {
900
980
  background: var(--color-active-menu-item);
981
+ color: var(--color-contrast-text);
901
982
  }
902
983
  .tsd-navigation a:hover,
903
984
  .tsd-page-navigation a:hover {
@@ -931,14 +1012,14 @@
931
1012
  margin-left: -1.5rem;
932
1013
  }
933
1014
 
934
- .tsd-page-navigation-section {
935
- margin-left: 10px;
936
- }
937
1015
  .tsd-page-navigation-section > summary {
938
1016
  padding: 0.25rem;
939
1017
  }
1018
+ .tsd-page-navigation-section > summary > svg {
1019
+ margin-right: 0.25rem;
1020
+ }
940
1021
  .tsd-page-navigation-section > div {
941
- margin-left: 20px;
1022
+ margin-left: 30px;
942
1023
  }
943
1024
  .tsd-page-navigation ul {
944
1025
  padding-left: 1.75rem;
@@ -964,6 +1045,10 @@
964
1045
  .tsd-accordion-summary {
965
1046
  list-style-type: none; /* hide marker on non-safari */
966
1047
  outline: none; /* broken on safari, so just hide it */
1048
+ display: flex;
1049
+ align-items: center;
1050
+ gap: 0.25rem;
1051
+ box-sizing: border-box;
967
1052
  }
968
1053
  .tsd-accordion-summary::-webkit-details-marker {
969
1054
  display: none; /* hide marker on safari */
@@ -977,7 +1062,7 @@
977
1062
 
978
1063
  cursor: pointer;
979
1064
  }
980
- .tsd-accordion-summary a {
1065
+ .tsd-accordion-summary > a {
981
1066
  width: calc(100% - 1.5rem);
982
1067
  }
983
1068
  .tsd-accordion-summary > * {
@@ -986,28 +1071,21 @@
986
1071
  padding-top: 0;
987
1072
  padding-bottom: 0;
988
1073
  }
989
- .tsd-accordion .tsd-accordion-summary > svg {
990
- margin-left: 0.25rem;
991
- vertical-align: text-top;
992
- }
993
1074
  /*
994
1075
  * We need to be careful to target the arrow indicating whether the accordion
995
1076
  * is open, but not any other SVGs included in the details element.
996
1077
  */
997
- .tsd-accordion:not([open]) > .tsd-accordion-summary > svg:first-child,
998
- .tsd-accordion:not([open]) > .tsd-accordion-summary > h1 > svg:first-child,
999
- .tsd-accordion:not([open]) > .tsd-accordion-summary > h2 > svg:first-child,
1000
- .tsd-accordion:not([open]) > .tsd-accordion-summary > h3 > svg:first-child,
1001
- .tsd-accordion:not([open]) > .tsd-accordion-summary > h4 > svg:first-child,
1002
- .tsd-accordion:not([open]) > .tsd-accordion-summary > h5 > svg:first-child {
1078
+ .tsd-accordion:not([open]) > .tsd-accordion-summary > svg:first-child {
1003
1079
  transform: rotate(-90deg);
1004
1080
  }
1005
1081
  .tsd-index-content > :not(:first-child) {
1006
1082
  margin-top: 0.75rem;
1007
1083
  }
1008
- .tsd-index-heading {
1084
+ .tsd-index-summary {
1009
1085
  margin-top: 1.5rem;
1010
1086
  margin-bottom: 0.75rem;
1087
+ display: flex;
1088
+ align-content: center;
1011
1089
  }
1012
1090
 
1013
1091
  .tsd-no-select {
@@ -1062,117 +1140,104 @@
1062
1140
  margin-bottom: 1rem;
1063
1141
  }
1064
1142
 
1065
- #tsd-search {
1066
- transition: background-color 0.2s;
1067
- }
1068
- #tsd-search .title {
1069
- position: relative;
1070
- z-index: 2;
1143
+ #tsd-search[open] {
1144
+ animation: fade-in var(--modal-animation-duration) ease-out forwards;
1071
1145
  }
1072
- #tsd-search .field {
1073
- position: absolute;
1074
- left: 0;
1075
- top: 0;
1076
- right: 2.5rem;
1077
- height: 100%;
1146
+ #tsd-search[open].closing {
1147
+ animation-name: fade-out;
1078
1148
  }
1079
- #tsd-search .field input {
1149
+
1150
+ /* Avoid setting `display` on closed dialog */
1151
+ #tsd-search[open] {
1152
+ display: flex;
1153
+ flex-direction: column;
1154
+ padding: 1rem;
1155
+ width: 32rem;
1156
+ max-width: 90vw;
1157
+ max-height: calc(100vh - env(keyboard-inset-height, 0px) - 25vh);
1158
+ /* Anchor dialog to top */
1159
+ margin-top: 10vh;
1160
+ border-radius: 6px;
1161
+ will-change: max-height;
1162
+ }
1163
+ #tsd-search-input {
1080
1164
  box-sizing: border-box;
1081
- position: relative;
1082
- top: -50px;
1083
- z-index: 1;
1084
1165
  width: 100%;
1085
- padding: 0 10px;
1086
- opacity: 0;
1166
+ padding: 0 0.625rem; /* 10px */
1087
1167
  outline: 0;
1088
- border: 0;
1089
- background: transparent;
1168
+ border: 2px solid var(--color-accent);
1169
+ background-color: transparent;
1090
1170
  color: var(--color-text);
1171
+ border-radius: 4px;
1172
+ height: 2.5rem;
1173
+ flex: 0 0 auto;
1174
+ font-size: 0.875rem;
1175
+ transition: border-color 0.2s, background-color 0.2s;
1091
1176
  }
1092
- #tsd-search .field label {
1093
- position: absolute;
1094
- overflow: hidden;
1095
- right: -40px;
1177
+ #tsd-search-input:focus-visible {
1178
+ background-color: var(--color-background-active);
1179
+ border-color: transparent;
1180
+ color: var(--color-contrast-text);
1096
1181
  }
1097
- #tsd-search .field input,
1098
- #tsd-search .title,
1099
- #tsd-toolbar-links a {
1100
- transition: opacity 0.2s;
1182
+ #tsd-search-input::placeholder {
1183
+ color: inherit;
1184
+ opacity: 0.8;
1101
1185
  }
1102
- #tsd-search .results {
1103
- position: absolute;
1104
- visibility: hidden;
1105
- top: 40px;
1106
- width: 100%;
1186
+ #tsd-search-results {
1107
1187
  margin: 0;
1108
1188
  padding: 0;
1109
1189
  list-style: none;
1110
- box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
1190
+ flex: 1 1 auto;
1191
+ display: flex;
1192
+ flex-direction: column;
1193
+ overflow-y: auto;
1194
+ }
1195
+ #tsd-search-results:not(:empty) {
1196
+ margin-top: 0.5rem;
1111
1197
  }
1112
- #tsd-search .results li {
1198
+ #tsd-search-results > li {
1113
1199
  background-color: var(--color-background);
1114
- line-height: initial;
1115
- padding: 4px;
1200
+ line-height: 1.5;
1201
+ box-sizing: border-box;
1202
+ border-radius: 4px;
1116
1203
  }
1117
- #tsd-search .results li:nth-child(even) {
1204
+ #tsd-search-results > li:nth-child(even) {
1118
1205
  background-color: var(--color-background-secondary);
1119
1206
  }
1120
- #tsd-search .results li.state {
1121
- display: none;
1122
- }
1123
- #tsd-search .results li.current:not(.no-results),
1124
- #tsd-search .results li:hover:not(.no-results) {
1125
- background-color: var(--color-accent);
1207
+ #tsd-search-results > li:is(:hover, [aria-selected="true"]) {
1208
+ background-color: var(--color-background-active);
1209
+ color: var(--color-contrast-text);
1126
1210
  }
1127
- #tsd-search .results a {
1211
+ /* It's important that this takes full size of parent `li`, to capture a click on `li` */
1212
+ #tsd-search-results > li > a {
1128
1213
  display: flex;
1129
1214
  align-items: center;
1130
- padding: 0.25rem;
1215
+ padding: 0.5rem 0.25rem;
1131
1216
  box-sizing: border-box;
1217
+ width: 100%;
1132
1218
  }
1133
- #tsd-search .results a:before {
1134
- top: 10px;
1219
+ #tsd-search-results > li > a > .text {
1220
+ flex: 1 1 auto;
1221
+ min-width: 0;
1222
+ overflow-wrap: anywhere;
1135
1223
  }
1136
- #tsd-search .results span.parent {
1224
+ #tsd-search-results > li > a .parent {
1137
1225
  color: var(--color-text-aside);
1138
- font-weight: normal;
1139
- }
1140
- #tsd-search.has-focus {
1141
- background-color: var(--color-accent);
1142
- }
1143
- #tsd-search.has-focus .field input {
1144
- top: 0;
1145
- opacity: 1;
1146
1226
  }
1147
- #tsd-search.has-focus .title,
1148
- #tsd-search.has-focus #tsd-toolbar-links a {
1149
- z-index: 0;
1150
- opacity: 0;
1151
- }
1152
- #tsd-search.has-focus .results {
1153
- visibility: visible;
1154
- }
1155
- #tsd-search.loading .results li.state.loading {
1156
- display: block;
1157
- }
1158
- #tsd-search.failure .results li.state.failure {
1159
- display: block;
1160
- }
1161
-
1162
- #tsd-toolbar-links {
1163
- position: absolute;
1164
- top: 0;
1165
- right: 2rem;
1166
- height: 100%;
1167
- display: flex;
1168
- align-items: center;
1169
- justify-content: flex-end;
1227
+ #tsd-search-results > li > a mark {
1228
+ color: inherit;
1229
+ background-color: inherit;
1230
+ font-weight: bold;
1170
1231
  }
1171
- #tsd-toolbar-links a {
1172
- margin-left: 1.5rem;
1232
+ #tsd-search-status {
1233
+ flex: 1;
1234
+ display: grid;
1235
+ place-content: center;
1236
+ text-align: center;
1237
+ overflow-wrap: anywhere;
1173
1238
  }
1174
- #tsd-toolbar-links a:hover {
1175
- text-decoration: underline;
1239
+ #tsd-search-status:not(:empty) {
1240
+ min-height: 6rem;
1176
1241
  }
1177
1242
 
1178
1243
  .tsd-signature {
@@ -1257,78 +1322,52 @@
1257
1322
  width: 100%;
1258
1323
  color: var(--color-text);
1259
1324
  background: var(--color-background-secondary);
1260
- border-bottom: 1px var(--color-accent) solid;
1325
+ border-bottom: var(--dim-toolbar-border-bottom-width)
1326
+ var(--color-accent) solid;
1261
1327
  transition: transform 0.3s ease-in-out;
1262
1328
  }
1263
1329
  .tsd-page-toolbar a {
1264
1330
  color: var(--color-text);
1265
- text-decoration: none;
1266
1331
  }
1267
- .tsd-page-toolbar a.title {
1268
- font-weight: bold;
1269
- }
1270
- .tsd-page-toolbar a.title:hover {
1271
- text-decoration: underline;
1272
- }
1273
- .tsd-page-toolbar .tsd-toolbar-contents {
1332
+ .tsd-toolbar-contents {
1274
1333
  display: flex;
1275
- justify-content: space-between;
1276
- height: 2.5rem;
1334
+ align-items: center;
1335
+ height: var(--dim-toolbar-contents-height);
1277
1336
  margin: 0 auto;
1278
1337
  }
1279
- .tsd-page-toolbar .table-cell {
1280
- position: relative;
1281
- white-space: nowrap;
1282
- line-height: 40px;
1283
- }
1284
- .tsd-page-toolbar .table-cell:first-child {
1285
- width: 100%;
1338
+ .tsd-toolbar-contents > .title {
1339
+ font-weight: bold;
1340
+ margin-right: auto;
1286
1341
  }
1287
- .tsd-page-toolbar .tsd-toolbar-icon {
1288
- box-sizing: border-box;
1289
- line-height: 0;
1290
- padding: 12px 0;
1342
+ #tsd-toolbar-links {
1343
+ display: flex;
1344
+ align-items: center;
1345
+ gap: 1.5rem;
1346
+ margin-right: 1rem;
1291
1347
  }
1292
1348
 
1293
1349
  .tsd-widget {
1350
+ box-sizing: border-box;
1294
1351
  display: inline-block;
1295
- overflow: hidden;
1296
1352
  opacity: 0.8;
1297
- height: 40px;
1298
- transition:
1299
- opacity 0.1s,
1300
- background-color 0.2s;
1301
- vertical-align: bottom;
1353
+ height: 2.5rem;
1354
+ width: 2.5rem;
1355
+ transition: opacity 0.1s, background-color 0.1s;
1356
+ text-align: center;
1302
1357
  cursor: pointer;
1358
+ border: none;
1359
+ background-color: transparent;
1303
1360
  }
1304
1361
  .tsd-widget:hover {
1305
1362
  opacity: 0.9;
1306
1363
  }
1307
- .tsd-widget.active {
1364
+ .tsd-widget:active {
1308
1365
  opacity: 1;
1309
1366
  background-color: var(--color-accent);
1310
1367
  }
1311
- .tsd-widget.no-caption {
1312
- width: 40px;
1313
- }
1314
- .tsd-widget.no-caption:before {
1315
- margin: 0;
1316
- }
1317
-
1318
- .tsd-widget.options,
1319
- .tsd-widget.menu {
1368
+ #tsd-toolbar-menu-trigger {
1320
1369
  display: none;
1321
1370
  }
1322
- input[type="checkbox"] + .tsd-widget:before {
1323
- background-position: -120px 0;
1324
- }
1325
- input[type="checkbox"]:checked + .tsd-widget:before {
1326
- background-position: -160px 0;
1327
- }
1328
-
1329
- img {
1330
- max-width: 100%;
1331
- }
1332
1371
 
1333
1372
  .tsd-member-summary-name {
1334
1373
  display: inline-flex;
@@ -1342,6 +1381,7 @@
1342
1381
  align-items: center;
1343
1382
  margin-left: 0.5rem;
1344
1383
  color: var(--color-text);
1384
+ vertical-align: middle;
1345
1385
  }
1346
1386
 
1347
1387
  .tsd-anchor-icon svg {
@@ -1351,7 +1391,8 @@
1351
1391
  }
1352
1392
 
1353
1393
  .tsd-member-summary-name:hover > .tsd-anchor-icon svg,
1354
- .tsd-anchor-link:hover > .tsd-anchor-icon svg {
1394
+ .tsd-anchor-link:hover > .tsd-anchor-icon svg,
1395
+ .tsd-anchor-icon:focus-visible svg {
1355
1396
  visibility: visible;
1356
1397
  }
1357
1398
 
@@ -1437,41 +1478,26 @@
1437
1478
  color: var(--color-text);
1438
1479
  }
1439
1480
 
1440
- * {
1441
- scrollbar-width: thin;
1442
- scrollbar-color: var(--color-accent) var(--color-icon-background);
1443
- }
1444
-
1445
- *::-webkit-scrollbar {
1446
- width: 0.75rem;
1447
- }
1448
-
1449
- *::-webkit-scrollbar-track {
1450
- background: var(--color-icon-background);
1451
- }
1452
-
1453
- *::-webkit-scrollbar-thumb {
1454
- background-color: var(--color-accent);
1455
- border-radius: 999rem;
1456
- border: 0.25rem solid var(--color-icon-background);
1457
- }
1458
-
1459
1481
  /* mobile */
1460
1482
  @media (max-width: 769px) {
1461
- .tsd-widget.options,
1462
- .tsd-widget.menu {
1483
+ #tsd-toolbar-menu-trigger {
1463
1484
  display: inline-block;
1485
+ /* temporary fix to vertically align, for compatibility */
1486
+ line-height: 2.5;
1487
+ }
1488
+ #tsd-toolbar-links {
1489
+ display: none;
1464
1490
  }
1465
1491
 
1466
1492
  .container-main {
1467
1493
  display: flex;
1468
1494
  }
1469
- html .col-content {
1495
+ .col-content {
1470
1496
  float: none;
1471
1497
  max-width: 100%;
1472
1498
  width: 100%;
1473
1499
  }
1474
- html .col-sidebar {
1500
+ .col-sidebar {
1475
1501
  position: fixed !important;
1476
1502
  overflow-y: auto;
1477
1503
  -webkit-overflow-scrolling: touch;
@@ -1486,10 +1512,10 @@
1486
1512
  background-color: var(--color-background);
1487
1513
  transform: translate(100%, 0);
1488
1514
  }
1489
- html .col-sidebar > *:last-child {
1515
+ .col-sidebar > *:last-child {
1490
1516
  padding-bottom: 20px;
1491
1517
  }
1492
- html .overlay {
1518
+ .overlay {
1493
1519
  content: "";
1494
1520
  display: block;
1495
1521
  position: fixed;
@@ -1536,9 +1562,6 @@
1536
1562
  .has-menu .tsd-navigation {
1537
1563
  max-height: 100%;
1538
1564
  }
1539
- #tsd-toolbar-links {
1540
- display: none;
1541
- }
1542
1565
  .tsd-navigation .tsd-nav-link {
1543
1566
  display: flex;
1544
1567
  }
@@ -1550,7 +1573,11 @@
1550
1573
  display: grid;
1551
1574
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
1552
1575
  grid-template-areas: "sidebar content";
1553
- margin: 2rem auto;
1576
+ --dim-container-main-margin-y: 2rem;
1577
+ }
1578
+
1579
+ .tsd-breadcrumb {
1580
+ margin-top: 0;
1554
1581
  }
1555
1582
 
1556
1583
  .col-sidebar {
@@ -1563,11 +1590,15 @@
1563
1590
  }
1564
1591
  @media (min-width: 770px) and (max-width: 1399px) {
1565
1592
  .col-sidebar {
1566
- max-height: calc(100vh - 2rem - 42px);
1593
+ max-height: calc(
1594
+ 100vh - var(--dim-header-height) - var(--dim-footer-height) -
1595
+ 2 * var(--dim-container-main-margin-y)
1596
+ );
1567
1597
  overflow: auto;
1568
1598
  position: sticky;
1569
- top: 42px;
1570
- padding-top: 1rem;
1599
+ top: calc(
1600
+ var(--dim-header-height) + var(--dim-container-main-margin-y)
1601
+ );
1571
1602
  }
1572
1603
  .site-menu {
1573
1604
  margin-top: 1rem;
@@ -1577,7 +1608,8 @@
1577
1608
  /* two sidebars */
1578
1609
  @media (min-width: 1200px) {
1579
1610
  .container-main {
1580
- grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(
1611
+ grid-template-columns:
1612
+ minmax(0, 1fr) minmax(0, 2.5fr) minmax(
1581
1613
  0,
1582
1614
  20rem
1583
1615
  );
@@ -1597,15 +1629,20 @@
1597
1629
  }
1598
1630
 
1599
1631
  .site-menu {
1600
- margin-top: 1rem;
1632
+ margin-top: 0rem;
1601
1633
  }
1602
1634
 
1603
1635
  .page-menu,
1604
1636
  .site-menu {
1605
- max-height: calc(100vh - 2rem - 42px);
1637
+ max-height: calc(
1638
+ 100vh - var(--dim-header-height) - var(--dim-footer-height) -
1639
+ 2 * var(--dim-container-main-margin-y)
1640
+ );
1606
1641
  overflow: auto;
1607
1642
  position: sticky;
1608
- top: 42px;
1643
+ top: calc(
1644
+ var(--dim-header-height) + var(--dim-container-main-margin-y)
1645
+ );
1609
1646
  }
1610
1647
  }
1611
1648
  }