@jwn-js/common 2.1.14 → 2.1.16

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 (97) hide show
  1. package/ApiError.d.ts +1 -29
  2. package/ApiError.js +1 -39
  3. package/ApiError.mjs +1 -0
  4. package/Jwt-7tQL-rwa.js +1 -0
  5. package/Jwt-CDdbxwvH.js +1 -0
  6. package/Jwt.js +1 -44
  7. package/Jwt.mjs +1 -0
  8. package/Memcached.js +9 -124
  9. package/Memcached.mjs +9 -0
  10. package/Server.d.ts +5 -4
  11. package/Server.js +1 -239
  12. package/Server.mjs +1 -0
  13. package/cookieParse.js +1 -27
  14. package/cookieParse.mjs +1 -0
  15. package/cookieString.js +1 -24
  16. package/cookieString.mjs +1 -0
  17. package/docs/assets/highlight.css +19 -5
  18. package/docs/assets/main.js +59 -52
  19. package/docs/assets/navigation.js +1 -0
  20. package/docs/assets/search.js +1 -1
  21. package/docs/assets/style.css +826 -826
  22. package/docs/classes/ApiError.html +22 -17
  23. package/docs/classes/AsyncJwt.html +16 -17
  24. package/docs/classes/Controller.html +42 -24
  25. package/docs/classes/Jwt.html +16 -17
  26. package/docs/classes/Memcached.html +31 -38
  27. package/docs/classes/Model.html +24 -7
  28. package/docs/classes/Server.html +25 -25
  29. package/docs/classes/Ssr.html +13 -11
  30. package/docs/classes/Web.html +10 -3
  31. package/docs/functions/action.html +2 -0
  32. package/docs/functions/body.html +2 -0
  33. package/docs/functions/codeToStatus.html +2 -0
  34. package/docs/functions/config.html +2 -0
  35. package/docs/functions/connection.html +2 -0
  36. package/docs/functions/context.html +2 -0
  37. package/docs/functions/controller-1.html +2 -0
  38. package/docs/functions/cookies.html +2 -0
  39. package/docs/functions/db.html +2 -0
  40. package/docs/functions/headers.html +2 -0
  41. package/docs/functions/home.html +2 -0
  42. package/docs/functions/hostname.html +2 -0
  43. package/docs/functions/http.html +4 -0
  44. package/docs/functions/init.html +2 -0
  45. package/docs/functions/json.html +3 -0
  46. package/docs/functions/logerror.html +3 -0
  47. package/docs/functions/method.html +2 -0
  48. package/docs/functions/mixin.html +5 -0
  49. package/docs/functions/mount.html +2 -0
  50. package/docs/functions/pool.html +2 -0
  51. package/docs/functions/protocol.html +2 -0
  52. package/docs/functions/request.html +2 -0
  53. package/docs/functions/selectControllersSchema.html +1 -0
  54. package/docs/functions/stream.html +2 -0
  55. package/docs/functions/subaction.html +2 -0
  56. package/docs/functions/url.html +2 -0
  57. package/docs/functions/xml.html +3 -0
  58. package/docs/index.html +8 -16
  59. package/docs/interfaces/ApiErrorMessage.html +6 -1
  60. package/docs/interfaces/ContextSsr.html +22 -19
  61. package/docs/interfaces/ContextWeb.html +7 -1
  62. package/docs/interfaces/OptionsSsr.html +3 -1
  63. package/docs/interfaces/OptionsWeb.html +6 -1
  64. package/docs/interfaces/ResponseOptions.html +4 -1
  65. package/docs/interfaces/Route.html +4 -1
  66. package/docs/interfaces/Schema.html +3 -1
  67. package/docs/interfaces/ServerHandler.html +4 -1
  68. package/docs/interfaces/ServerOptions.html +8 -1
  69. package/docs/interfaces/ServerWebsocket.html +4 -1
  70. package/docs/modules.html +50 -85
  71. package/docs/types/ServerRoutes.html +1 -0
  72. package/docs/variables/helpers.html +31 -0
  73. package/index.d.ts +33 -111
  74. package/index.js +4 -1965
  75. package/index.mjs +57 -0
  76. package/jsonBody.js +1 -27
  77. package/jsonBody.mjs +1 -0
  78. package/multipartBody.d.ts +1 -1
  79. package/multipartBody.js +1 -48
  80. package/multipartBody.mjs +1 -0
  81. package/package.json +14 -20
  82. package/readConfig.js +1 -17
  83. package/readConfig.mjs +1 -0
  84. package/readConfigSync.js +1 -18
  85. package/readConfigSync.mjs +1 -0
  86. package/staticBody.js +1 -207
  87. package/staticBody.mjs +1 -0
  88. package/urlencodedBody.js +1 -32
  89. package/urlencodedBody.mjs +1 -0
  90. package/ApiError-b517f53a.js +0 -37
  91. package/cookieParse-49f1da46.js +0 -25
  92. package/decoders-ee9f4396.js +0 -18
  93. package/docs/assets/icons.css +0 -1043
  94. package/docs/assets/icons.png +0 -0
  95. package/docs/assets/icons@2x.png +0 -0
  96. package/docs/assets/widgets.png +0 -0
  97. package/docs/assets/widgets@2x.png +0 -0
@@ -1,155 +1,260 @@
1
- @import url("./icons.css");
2
-
3
1
  :root {
4
2
  /* Light */
5
- --light-color-background: #fcfcfc;
6
- --light-color-secondary-background: #fff;
3
+ --light-color-background: #f2f4f8;
4
+ --light-color-background-secondary: #eff0f1;
5
+ --light-color-warning-text: #222;
6
+ --light-color-background-warning: #e6e600;
7
+ --light-color-icon-background: var(--light-color-background);
8
+ --light-color-accent: #c5c7c9;
9
+ --light-color-active-menu-item: var(--light-color-accent);
7
10
  --light-color-text: #222;
8
- --light-color-text-aside: #707070;
9
- --light-color-link: #4da6ff;
10
- --light-color-menu-divider: #eee;
11
- --light-color-menu-divider-focus: #000;
12
- --light-color-menu-label: #707070;
13
- --light-color-panel: var(--light-color-secondary-background);
14
- --light-color-panel-divider: #eee;
15
- --light-color-comment-tag: #707070;
16
- --light-color-comment-tag-text: #fff;
17
- --light-color-ts: #9600ff;
18
- --light-color-ts-interface: #647f1b;
19
- --light-color-ts-enum: #937210;
20
- --light-color-ts-class: #0672de;
21
- --light-color-ts-private: #707070;
22
- --light-color-toolbar: #fff;
23
- --light-color-toolbar-text: #333;
24
- --light-icon-filter: invert(0);
11
+ --light-color-text-aside: #6e6e6e;
12
+ --light-color-link: #1f70c2;
13
+
14
+ --light-color-ts-keyword: #056bd6;
15
+ --light-color-ts-project: #b111c9;
16
+ --light-color-ts-module: var(--light-color-ts-project);
17
+ --light-color-ts-namespace: var(--light-color-ts-project);
18
+ --light-color-ts-enum: #7e6f15;
19
+ --light-color-ts-enum-member: var(--light-color-ts-enum);
20
+ --light-color-ts-variable: #4760ec;
21
+ --light-color-ts-function: #572be7;
22
+ --light-color-ts-class: #1f70c2;
23
+ --light-color-ts-interface: #108024;
24
+ --light-color-ts-constructor: var(--light-color-ts-class);
25
+ --light-color-ts-property: var(--light-color-ts-variable);
26
+ --light-color-ts-method: var(--light-color-ts-function);
27
+ --light-color-ts-call-signature: var(--light-color-ts-method);
28
+ --light-color-ts-index-signature: var(--light-color-ts-property);
29
+ --light-color-ts-constructor-signature: var(--light-color-ts-constructor);
30
+ --light-color-ts-parameter: var(--light-color-ts-variable);
31
+ /* type literal not included as links will never be generated to it */
32
+ --light-color-ts-type-parameter: #a55c0e;
33
+ --light-color-ts-accessor: var(--light-color-ts-property);
34
+ --light-color-ts-get-signature: var(--light-color-ts-accessor);
35
+ --light-color-ts-set-signature: var(--light-color-ts-accessor);
36
+ --light-color-ts-type-alias: #d51270;
37
+ /* reference not included as links will be colored with the kind that it points to */
38
+
25
39
  --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>");
40
+ --light-color-scheme: light;
26
41
 
27
42
  /* Dark */
28
- --dark-color-background: #36393f;
29
- --dark-color-secondary-background: #2f3136;
30
- --dark-color-text: #ffffff;
31
- --dark-color-text-aside: #e6e4e4;
43
+ --dark-color-background: #2b2e33;
44
+ --dark-color-background-secondary: #1e2024;
45
+ --dark-color-background-warning: #bebe00;
46
+ --dark-color-warning-text: #222;
47
+ --dark-color-icon-background: var(--dark-color-background-secondary);
48
+ --dark-color-accent: #9096a2;
49
+ --dark-color-active-menu-item: #5d5d6a;
50
+ --dark-color-text: #f5f5f5;
51
+ --dark-color-text-aside: #dddddd;
32
52
  --dark-color-link: #00aff4;
33
- --dark-color-menu-divider: #eee;
34
- --dark-color-menu-divider-focus: #000;
35
- --dark-color-menu-label: #707070;
36
- --dark-color-panel: var(--dark-color-secondary-background);
37
- --dark-color-panel-divider: #818181;
38
- --dark-color-comment-tag: #dcddde;
39
- --dark-color-comment-tag-text: #2f3136;
40
- --dark-color-ts: #c97dff;
41
- --dark-color-ts-interface: #9cbe3c;
42
- --dark-color-ts-enum: #d6ab29;
43
- --dark-color-ts-class: #3695f3;
44
- --dark-color-ts-private: #e2e2e2;
45
- --dark-color-toolbar: #34373c;
46
- --dark-color-toolbar-text: #ffffff;
47
- --dark-icon-filter: invert(1);
53
+
54
+ --dark-color-ts-keyword: #3399ff;
55
+ --dark-color-ts-project: #e358ff;
56
+ --dark-color-ts-module: var(--dark-color-ts-project);
57
+ --dark-color-ts-namespace: var(--dark-color-ts-project);
58
+ --dark-color-ts-enum: #f4d93e;
59
+ --dark-color-ts-enum-member: var(--dark-color-ts-enum);
60
+ --dark-color-ts-variable: #798dff;
61
+ --dark-color-ts-function: #a280ff;
62
+ --dark-color-ts-class: #8ac4ff;
63
+ --dark-color-ts-interface: #6cff87;
64
+ --dark-color-ts-constructor: var(--dark-color-ts-class);
65
+ --dark-color-ts-property: var(--dark-color-ts-variable);
66
+ --dark-color-ts-method: var(--dark-color-ts-function);
67
+ --dark-color-ts-call-signature: var(--dark-color-ts-method);
68
+ --dark-color-ts-index-signature: var(--dark-color-ts-property);
69
+ --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
70
+ --dark-color-ts-parameter: var(--dark-color-ts-variable);
71
+ /* type literal not included as links will never be generated to it */
72
+ --dark-color-ts-type-parameter: #e07d13;
73
+ --dark-color-ts-accessor: var(--dark-color-ts-property);
74
+ --dark-color-ts-get-signature: var(--dark-color-ts-accessor);
75
+ --dark-color-ts-set-signature: var(--dark-color-ts-accessor);
76
+ --dark-color-ts-type-alias: #ff6492;
77
+ /* reference not included as links will be colored with the kind that it points to */
78
+
48
79
  --dark-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='%23fff' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
80
+ --dark-color-scheme: dark;
49
81
  }
50
82
 
51
83
  @media (prefers-color-scheme: light) {
52
84
  :root {
53
85
  --color-background: var(--light-color-background);
54
- --color-secondary-background: var(--light-color-secondary-background);
86
+ --color-background-secondary: var(--light-color-background-secondary);
87
+ --color-background-warning: var(--light-color-background-warning);
88
+ --color-warning-text: var(--light-color-warning-text);
89
+ --color-icon-background: var(--light-color-icon-background);
90
+ --color-accent: var(--light-color-accent);
91
+ --color-active-menu-item: var(--light-color-active-menu-item);
55
92
  --color-text: var(--light-color-text);
56
93
  --color-text-aside: var(--light-color-text-aside);
57
94
  --color-link: var(--light-color-link);
58
- --color-menu-divider: var(--light-color-menu-divider);
59
- --color-menu-divider-focus: var(--light-color-menu-divider-focus);
60
- --color-menu-label: var(--light-color-menu-label);
61
- --color-panel: var(--light-color-panel);
62
- --color-panel-divider: var(--light-color-panel-divider);
63
- --color-comment-tag: var(--light-color-comment-tag);
64
- --color-comment-tag-text: var(--light-color-comment-tag-text);
65
- --color-ts: var(--light-color-ts);
66
- --color-ts-interface: var(--light-color-ts-interface);
95
+
96
+ --color-ts-keyword: var(--light-color-ts-keyword);
97
+ --color-ts-module: var(--light-color-ts-module);
98
+ --color-ts-namespace: var(--light-color-ts-namespace);
67
99
  --color-ts-enum: var(--light-color-ts-enum);
100
+ --color-ts-enum-member: var(--light-color-ts-enum-member);
101
+ --color-ts-variable: var(--light-color-ts-variable);
102
+ --color-ts-function: var(--light-color-ts-function);
68
103
  --color-ts-class: var(--light-color-ts-class);
69
- --color-ts-private: var(--light-color-ts-private);
70
- --color-toolbar: var(--light-color-toolbar);
71
- --color-toolbar-text: var(--light-color-toolbar-text);
72
- --icon-filter: var(--light-icon-filter);
104
+ --color-ts-interface: var(--light-color-ts-interface);
105
+ --color-ts-constructor: var(--light-color-ts-constructor);
106
+ --color-ts-property: var(--light-color-ts-property);
107
+ --color-ts-method: var(--light-color-ts-method);
108
+ --color-ts-call-signature: var(--light-color-ts-call-signature);
109
+ --color-ts-index-signature: var(--light-color-ts-index-signature);
110
+ --color-ts-constructor-signature: var(
111
+ --light-color-ts-constructor-signature
112
+ );
113
+ --color-ts-parameter: var(--light-color-ts-parameter);
114
+ --color-ts-type-parameter: var(--light-color-ts-type-parameter);
115
+ --color-ts-accessor: var(--light-color-ts-accessor);
116
+ --color-ts-get-signature: var(--light-color-ts-get-signature);
117
+ --color-ts-set-signature: var(--light-color-ts-set-signature);
118
+ --color-ts-type-alias: var(--light-color-ts-type-alias);
119
+
73
120
  --external-icon: var(--light-external-icon);
121
+ --color-scheme: var(--light-color-scheme);
74
122
  }
75
123
  }
76
124
 
77
125
  @media (prefers-color-scheme: dark) {
78
126
  :root {
79
127
  --color-background: var(--dark-color-background);
80
- --color-secondary-background: var(--dark-color-secondary-background);
128
+ --color-background-secondary: var(--dark-color-background-secondary);
129
+ --color-background-warning: var(--dark-color-background-warning);
130
+ --color-warning-text: var(--dark-color-warning-text);
131
+ --color-icon-background: var(--dark-color-icon-background);
132
+ --color-accent: var(--dark-color-accent);
133
+ --color-active-menu-item: var(--dark-color-active-menu-item);
81
134
  --color-text: var(--dark-color-text);
82
135
  --color-text-aside: var(--dark-color-text-aside);
83
136
  --color-link: var(--dark-color-link);
84
- --color-menu-divider: var(--dark-color-menu-divider);
85
- --color-menu-divider-focus: var(--dark-color-menu-divider-focus);
86
- --color-menu-label: var(--dark-color-menu-label);
87
- --color-panel: var(--dark-color-panel);
88
- --color-panel-divider: var(--dark-color-panel-divider);
89
- --color-comment-tag: var(--dark-color-comment-tag);
90
- --color-comment-tag-text: var(--dark-color-comment-tag-text);
91
- --color-ts: var(--dark-color-ts);
92
- --color-ts-interface: var(--dark-color-ts-interface);
137
+
138
+ --color-ts-keyword: var(--dark-color-ts-keyword);
139
+ --color-ts-module: var(--dark-color-ts-module);
140
+ --color-ts-namespace: var(--dark-color-ts-namespace);
93
141
  --color-ts-enum: var(--dark-color-ts-enum);
142
+ --color-ts-enum-member: var(--dark-color-ts-enum-member);
143
+ --color-ts-variable: var(--dark-color-ts-variable);
144
+ --color-ts-function: var(--dark-color-ts-function);
94
145
  --color-ts-class: var(--dark-color-ts-class);
95
- --color-ts-private: var(--dark-color-ts-private);
96
- --color-toolbar: var(--dark-color-toolbar);
97
- --color-toolbar-text: var(--dark-color-toolbar-text);
98
- --icon-filter: var(--dark-icon-filter);
146
+ --color-ts-interface: var(--dark-color-ts-interface);
147
+ --color-ts-constructor: var(--dark-color-ts-constructor);
148
+ --color-ts-property: var(--dark-color-ts-property);
149
+ --color-ts-method: var(--dark-color-ts-method);
150
+ --color-ts-call-signature: var(--dark-color-ts-call-signature);
151
+ --color-ts-index-signature: var(--dark-color-ts-index-signature);
152
+ --color-ts-constructor-signature: var(
153
+ --dark-color-ts-constructor-signature
154
+ );
155
+ --color-ts-parameter: var(--dark-color-ts-parameter);
156
+ --color-ts-type-parameter: var(--dark-color-ts-type-parameter);
157
+ --color-ts-accessor: var(--dark-color-ts-accessor);
158
+ --color-ts-get-signature: var(--dark-color-ts-get-signature);
159
+ --color-ts-set-signature: var(--dark-color-ts-set-signature);
160
+ --color-ts-type-alias: var(--dark-color-ts-type-alias);
161
+
99
162
  --external-icon: var(--dark-external-icon);
163
+ --color-scheme: var(--dark-color-scheme);
100
164
  }
101
165
  }
102
166
 
167
+ html {
168
+ color-scheme: var(--color-scheme);
169
+ }
170
+
103
171
  body {
104
172
  margin: 0;
105
173
  }
106
174
 
107
- body.light {
175
+ :root[data-theme="light"] {
108
176
  --color-background: var(--light-color-background);
109
- --color-secondary-background: var(--light-color-secondary-background);
177
+ --color-background-secondary: var(--light-color-background-secondary);
178
+ --color-background-warning: var(--light-color-background-warning);
179
+ --color-warning-text: var(--light-color-warning-text);
180
+ --color-icon-background: var(--light-color-icon-background);
181
+ --color-accent: var(--light-color-accent);
182
+ --color-active-menu-item: var(--light-color-active-menu-item);
110
183
  --color-text: var(--light-color-text);
111
184
  --color-text-aside: var(--light-color-text-aside);
112
185
  --color-link: var(--light-color-link);
113
- --color-menu-divider: var(--light-color-menu-divider);
114
- --color-menu-divider-focus: var(--light-color-menu-divider-focus);
115
- --color-menu-label: var(--light-color-menu-label);
116
- --color-panel: var(--light-color-panel);
117
- --color-panel-divider: var(--light-color-panel-divider);
118
- --color-comment-tag: var(--light-color-comment-tag);
119
- --color-comment-tag-text: var(--light-color-comment-tag-text);
120
- --color-ts: var(--light-color-ts);
121
- --color-ts-interface: var(--light-color-ts-interface);
186
+
187
+ --color-ts-keyword: var(--light-color-ts-keyword);
188
+ --color-ts-module: var(--light-color-ts-module);
189
+ --color-ts-namespace: var(--light-color-ts-namespace);
122
190
  --color-ts-enum: var(--light-color-ts-enum);
191
+ --color-ts-enum-member: var(--light-color-ts-enum-member);
192
+ --color-ts-variable: var(--light-color-ts-variable);
193
+ --color-ts-function: var(--light-color-ts-function);
123
194
  --color-ts-class: var(--light-color-ts-class);
124
- --color-ts-private: var(--light-color-ts-private);
125
- --color-toolbar: var(--light-color-toolbar);
126
- --color-toolbar-text: var(--light-color-toolbar-text);
127
- --icon-filter: var(--light-icon-filter);
195
+ --color-ts-interface: var(--light-color-ts-interface);
196
+ --color-ts-constructor: var(--light-color-ts-constructor);
197
+ --color-ts-property: var(--light-color-ts-property);
198
+ --color-ts-method: var(--light-color-ts-method);
199
+ --color-ts-call-signature: var(--light-color-ts-call-signature);
200
+ --color-ts-index-signature: var(--light-color-ts-index-signature);
201
+ --color-ts-constructor-signature: var(
202
+ --light-color-ts-constructor-signature
203
+ );
204
+ --color-ts-parameter: var(--light-color-ts-parameter);
205
+ --color-ts-type-parameter: var(--light-color-ts-type-parameter);
206
+ --color-ts-accessor: var(--light-color-ts-accessor);
207
+ --color-ts-get-signature: var(--light-color-ts-get-signature);
208
+ --color-ts-set-signature: var(--light-color-ts-set-signature);
209
+ --color-ts-type-alias: var(--light-color-ts-type-alias);
210
+
128
211
  --external-icon: var(--light-external-icon);
212
+ --color-scheme: var(--light-color-scheme);
129
213
  }
130
214
 
131
- body.dark {
215
+ :root[data-theme="dark"] {
132
216
  --color-background: var(--dark-color-background);
133
- --color-secondary-background: var(--dark-color-secondary-background);
217
+ --color-background-secondary: var(--dark-color-background-secondary);
218
+ --color-background-warning: var(--dark-color-background-warning);
219
+ --color-warning-text: var(--dark-color-warning-text);
220
+ --color-icon-background: var(--dark-color-icon-background);
221
+ --color-accent: var(--dark-color-accent);
222
+ --color-active-menu-item: var(--dark-color-active-menu-item);
134
223
  --color-text: var(--dark-color-text);
135
224
  --color-text-aside: var(--dark-color-text-aside);
136
225
  --color-link: var(--dark-color-link);
137
- --color-menu-divider: var(--dark-color-menu-divider);
138
- --color-menu-divider-focus: var(--dark-color-menu-divider-focus);
139
- --color-menu-label: var(--dark-color-menu-label);
140
- --color-panel: var(--dark-color-panel);
141
- --color-panel-divider: var(--dark-color-panel-divider);
142
- --color-comment-tag: var(--dark-color-comment-tag);
143
- --color-comment-tag-text: var(--dark-color-comment-tag-text);
144
- --color-ts: var(--dark-color-ts);
145
- --color-ts-interface: var(--dark-color-ts-interface);
226
+
227
+ --color-ts-keyword: var(--dark-color-ts-keyword);
228
+ --color-ts-module: var(--dark-color-ts-module);
229
+ --color-ts-namespace: var(--dark-color-ts-namespace);
146
230
  --color-ts-enum: var(--dark-color-ts-enum);
231
+ --color-ts-enum-member: var(--dark-color-ts-enum-member);
232
+ --color-ts-variable: var(--dark-color-ts-variable);
233
+ --color-ts-function: var(--dark-color-ts-function);
147
234
  --color-ts-class: var(--dark-color-ts-class);
148
- --color-ts-private: var(--dark-color-ts-private);
149
- --color-toolbar: var(--dark-color-toolbar);
150
- --color-toolbar-text: var(--dark-color-toolbar-text);
151
- --icon-filter: var(--dark-icon-filter);
235
+ --color-ts-interface: var(--dark-color-ts-interface);
236
+ --color-ts-constructor: var(--dark-color-ts-constructor);
237
+ --color-ts-property: var(--dark-color-ts-property);
238
+ --color-ts-method: var(--dark-color-ts-method);
239
+ --color-ts-call-signature: var(--dark-color-ts-call-signature);
240
+ --color-ts-index-signature: var(--dark-color-ts-index-signature);
241
+ --color-ts-constructor-signature: var(
242
+ --dark-color-ts-constructor-signature
243
+ );
244
+ --color-ts-parameter: var(--dark-color-ts-parameter);
245
+ --color-ts-type-parameter: var(--dark-color-ts-type-parameter);
246
+ --color-ts-accessor: var(--dark-color-ts-accessor);
247
+ --color-ts-get-signature: var(--dark-color-ts-get-signature);
248
+ --color-ts-set-signature: var(--dark-color-ts-set-signature);
249
+ --color-ts-type-alias: var(--dark-color-ts-type-alias);
250
+
152
251
  --external-icon: var(--dark-external-icon);
252
+ --color-scheme: var(--dark-color-scheme);
253
+ }
254
+
255
+ .always-visible,
256
+ .always-visible .tsd-signatures {
257
+ display: inherit !important;
153
258
  }
154
259
 
155
260
  h1,
@@ -161,41 +266,48 @@ h6 {
161
266
  line-height: 1.2;
162
267
  }
163
268
 
269
+ h1 > a:not(.link),
270
+ h2 > a:not(.link),
271
+ h3 > a:not(.link),
272
+ h4 > a:not(.link),
273
+ h5 > a:not(.link),
274
+ h6 > a:not(.link) {
275
+ text-decoration: none;
276
+ color: var(--color-text);
277
+ }
278
+
164
279
  h1 {
165
- font-size: 2em;
166
- margin: 0.67em 0;
280
+ font-size: 1.875rem;
281
+ margin: 0.67rem 0;
167
282
  }
168
283
 
169
284
  h2 {
170
- font-size: 1.5em;
171
- margin: 0.83em 0;
285
+ font-size: 1.5rem;
286
+ margin: 0.83rem 0;
172
287
  }
173
288
 
174
289
  h3 {
175
- font-size: 1.17em;
176
- margin: 1em 0;
290
+ font-size: 1.25rem;
291
+ margin: 1rem 0;
177
292
  }
178
293
 
179
- h4,
180
- .tsd-index-panel h3 {
181
- font-size: 1em;
182
- margin: 1.33em 0;
294
+ h4 {
295
+ font-size: 1.05rem;
296
+ margin: 1.33rem 0;
183
297
  }
184
298
 
185
299
  h5 {
186
- font-size: 0.83em;
187
- margin: 1.67em 0;
300
+ font-size: 1rem;
301
+ margin: 1.5rem 0;
188
302
  }
189
303
 
190
304
  h6 {
191
- font-size: 0.67em;
192
- margin: 2.33em 0;
305
+ font-size: 0.875rem;
306
+ margin: 2.33rem 0;
193
307
  }
194
308
 
195
- pre {
196
- white-space: pre;
197
- white-space: pre-wrap;
198
- word-wrap: break-word;
309
+ .uppercase {
310
+ text-transform: uppercase;
199
311
  }
200
312
 
201
313
  dl,
@@ -210,74 +322,28 @@ dd {
210
322
  }
211
323
 
212
324
  .container {
213
- max-width: 1200px;
214
- margin: 0 auto;
215
- padding: 0 40px;
216
- }
217
- @media (max-width: 640px) {
218
- .container {
219
- padding: 0 20px;
220
- }
221
- }
222
-
223
- .container-main {
224
- padding-bottom: 200px;
225
- }
226
-
227
- .row {
228
- display: flex;
229
- position: relative;
230
- margin: 0 -10px;
231
- }
232
- .row:after {
233
- visibility: hidden;
234
- display: block;
235
- content: "";
236
- clear: both;
237
- height: 0;
238
- }
239
-
240
- .col-4,
241
- .col-8 {
242
- box-sizing: border-box;
243
- float: left;
244
- padding: 0 10px;
325
+ max-width: 1700px;
326
+ padding: 0 2rem;
245
327
  }
246
328
 
247
- .col-4 {
248
- width: 33.3333333333%;
249
- }
250
- .col-8 {
251
- width: 66.6666666667%;
329
+ /* Footer */
330
+ .tsd-generator {
331
+ border-top: 1px solid var(--color-accent);
332
+ padding-top: 1rem;
333
+ padding-bottom: 1rem;
334
+ max-height: 3.5rem;
252
335
  }
253
336
 
254
- ul.tsd-descriptions > li > :first-child,
255
- .tsd-panel > :first-child,
256
- .col-8 > :first-child,
257
- .col-4 > :first-child,
258
- ul.tsd-descriptions > li > :first-child > :first-child,
259
- .tsd-panel > :first-child > :first-child,
260
- .col-8 > :first-child > :first-child,
261
- .col-4 > :first-child > :first-child,
262
- ul.tsd-descriptions > li > :first-child > :first-child > :first-child,
263
- .tsd-panel > :first-child > :first-child > :first-child,
264
- .col-8 > :first-child > :first-child > :first-child,
265
- .col-4 > :first-child > :first-child > :first-child {
337
+ .tsd-generator > p {
266
338
  margin-top: 0;
267
- }
268
- ul.tsd-descriptions > li > :last-child,
269
- .tsd-panel > :last-child,
270
- .col-8 > :last-child,
271
- .col-4 > :last-child,
272
- ul.tsd-descriptions > li > :last-child > :last-child,
273
- .tsd-panel > :last-child > :last-child,
274
- .col-8 > :last-child > :last-child,
275
- .col-4 > :last-child > :last-child,
276
- ul.tsd-descriptions > li > :last-child > :last-child > :last-child,
277
- .tsd-panel > :last-child > :last-child > :last-child,
278
- .col-8 > :last-child > :last-child > :last-child,
279
- .col-4 > :last-child > :last-child > :last-child {
280
339
  margin-bottom: 0;
340
+ padding: 0 1rem;
341
+ }
342
+
343
+ .container-main {
344
+ margin: 0 auto;
345
+ /* toolbar, footer, margin */
346
+ min-height: calc(100vh - 41px - 56px - 4rem);
281
347
  }
282
348
 
283
349
  @keyframes fade-in {
@@ -320,22 +386,6 @@ ul.tsd-descriptions > li > :last-child > :last-child > :last-child,
320
386
  opacity: 0;
321
387
  }
322
388
  }
323
- @keyframes shift-to-left {
324
- from {
325
- transform: translate(0, 0);
326
- }
327
- to {
328
- transform: translate(-25%, 0);
329
- }
330
- }
331
- @keyframes unshift-to-left {
332
- from {
333
- transform: translate(-25%, 0);
334
- }
335
- to {
336
- transform: translate(0, 0);
337
- }
338
- }
339
389
  @keyframes pop-in-from-right {
340
390
  from {
341
391
  transform: translate(100%, 0);
@@ -379,16 +429,34 @@ pre {
379
429
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
380
430
  padding: 0.2em;
381
431
  margin: 0;
382
- font-size: 14px;
432
+ font-size: 0.875rem;
433
+ border-radius: 0.8em;
383
434
  }
384
435
 
385
436
  pre {
437
+ position: relative;
438
+ white-space: pre;
439
+ white-space: pre-wrap;
440
+ word-wrap: break-word;
386
441
  padding: 10px;
442
+ border: 1px solid var(--color-accent);
387
443
  }
388
444
  pre code {
389
445
  padding: 0;
390
446
  font-size: 100%;
391
447
  }
448
+ pre > button {
449
+ position: absolute;
450
+ top: 10px;
451
+ right: 10px;
452
+ opacity: 0;
453
+ transition: opacity 0.1s;
454
+ box-sizing: border-box;
455
+ }
456
+ pre:hover > button,
457
+ pre > button.visible {
458
+ opacity: 1;
459
+ }
392
460
 
393
461
  blockquote {
394
462
  margin: 1em 0;
@@ -404,13 +472,12 @@ blockquote {
404
472
  padding: 0 0 0 20px;
405
473
  margin: 0;
406
474
  }
407
- .tsd-typography h4,
408
475
  .tsd-typography .tsd-index-panel h3,
409
476
  .tsd-index-panel .tsd-typography h3,
477
+ .tsd-typography h4,
410
478
  .tsd-typography h5,
411
479
  .tsd-typography h6 {
412
480
  font-size: 1em;
413
- margin: 0;
414
481
  }
415
482
  .tsd-typography h5,
416
483
  .tsd-typography h6 {
@@ -421,108 +488,18 @@ blockquote {
421
488
  .tsd-typography ol {
422
489
  margin: 1em 0;
423
490
  }
424
-
425
- @media (min-width: 901px) and (max-width: 1024px) {
426
- html .col-content {
427
- width: 72%;
428
- }
429
- html .col-menu {
430
- width: 28%;
431
- }
432
- html .tsd-navigation {
433
- padding-left: 10px;
434
- }
435
- }
436
- @media (max-width: 900px) {
437
- html .col-content {
438
- float: none;
439
- width: 100%;
440
- }
441
- html .col-menu {
442
- position: fixed !important;
443
- overflow: auto;
444
- -webkit-overflow-scrolling: touch;
445
- z-index: 1024;
446
- top: 0 !important;
447
- bottom: 0 !important;
448
- left: auto !important;
449
- right: 0 !important;
450
- width: 100%;
451
- padding: 20px 20px 0 0;
452
- max-width: 450px;
453
- visibility: hidden;
454
- background-color: var(--color-panel);
455
- transform: translate(100%, 0);
456
- }
457
- html .col-menu > *:last-child {
458
- padding-bottom: 20px;
459
- }
460
- html .overlay {
461
- content: "";
462
- display: block;
463
- position: fixed;
464
- z-index: 1023;
465
- top: 0;
466
- left: 0;
467
- right: 0;
468
- bottom: 0;
469
- background-color: rgba(0, 0, 0, 0.75);
470
- visibility: hidden;
471
- }
472
-
473
- .to-has-menu .overlay {
474
- animation: fade-in 0.4s;
475
- }
476
-
477
- .to-has-menu :is(header, footer, .col-content) {
478
- animation: shift-to-left 0.4s;
479
- }
480
-
481
- .to-has-menu .col-menu {
482
- animation: pop-in-from-right 0.4s;
483
- }
484
-
485
- .from-has-menu .overlay {
486
- animation: fade-out 0.4s;
487
- }
488
-
489
- .from-has-menu :is(header, footer, .col-content) {
490
- animation: unshift-to-left 0.4s;
491
- }
492
-
493
- .from-has-menu .col-menu {
494
- animation: pop-out-to-right 0.4s;
495
- }
496
-
497
- .has-menu body {
498
- overflow: hidden;
499
- }
500
- .has-menu .overlay {
501
- visibility: visible;
502
- }
503
- .has-menu :is(header, footer, .col-content) {
504
- transform: translate(-25%, 0);
505
- }
506
- .has-menu .col-menu {
507
- visibility: visible;
508
- transform: translate(0, 0);
509
- display: grid;
510
- grid-template-rows: auto 1fr;
511
- max-height: 100vh;
512
- }
513
- .has-menu .tsd-navigation {
514
- max-height: 100%;
515
- }
491
+ .tsd-typography table {
492
+ border-collapse: collapse;
493
+ border: none;
516
494
  }
517
-
518
- .tsd-page-title {
519
- padding: 70px 0 20px 0;
520
- margin: 0 0 40px 0;
521
- background: var(--color-panel);
522
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
495
+ .tsd-typography td,
496
+ .tsd-typography th {
497
+ padding: 6px 13px;
498
+ border: 1px solid var(--color-accent);
523
499
  }
524
- .tsd-page-title h1 {
525
- margin: 0;
500
+ .tsd-typography thead,
501
+ .tsd-typography tr:nth-child(even) {
502
+ background-color: var(--color-background-secondary);
526
503
  }
527
504
 
528
505
  .tsd-breadcrumb {
@@ -544,32 +521,44 @@ blockquote {
544
521
  content: " / ";
545
522
  }
546
523
 
547
- dl.tsd-comment-tags {
524
+ .tsd-comment-tags {
525
+ display: flex;
526
+ flex-direction: column;
527
+ }
528
+ dl.tsd-comment-tag-group {
529
+ display: flex;
530
+ align-items: center;
548
531
  overflow: hidden;
532
+ margin: 0.5em 0;
549
533
  }
550
- dl.tsd-comment-tags dt {
551
- float: left;
552
- padding: 1px 5px;
553
- margin: 0 10px 0 0;
554
- border-radius: 4px;
555
- border: 1px solid var(--color-comment-tag);
556
- color: var(--color-comment-tag);
557
- font-size: 0.8em;
534
+ dl.tsd-comment-tag-group dt {
535
+ display: flex;
536
+ margin-right: 0.5em;
537
+ font-size: 0.875em;
558
538
  font-weight: normal;
559
539
  }
560
- dl.tsd-comment-tags dd {
561
- margin: 0 0 10px 0;
540
+ dl.tsd-comment-tag-group dd {
541
+ margin: 0;
542
+ }
543
+ code.tsd-tag {
544
+ padding: 0.25em 0.4em;
545
+ border: 0.1em solid var(--color-accent);
546
+ margin-right: 0.25em;
547
+ font-size: 70%;
548
+ }
549
+ h1 code.tsd-tag:first-of-type {
550
+ margin-left: 0.25em;
562
551
  }
563
- dl.tsd-comment-tags dd:before,
564
- dl.tsd-comment-tags dd:after {
565
- display: table;
552
+
553
+ dl.tsd-comment-tag-group dd:before,
554
+ dl.tsd-comment-tag-group dd:after {
566
555
  content: " ";
567
556
  }
568
- dl.tsd-comment-tags dd pre,
569
- dl.tsd-comment-tags dd:after {
557
+ dl.tsd-comment-tag-group dd pre,
558
+ dl.tsd-comment-tag-group dd:after {
570
559
  clear: both;
571
560
  }
572
- dl.tsd-comment-tags p {
561
+ dl.tsd-comment-tag-group p {
573
562
  margin: 0;
574
563
  }
575
564
 
@@ -582,187 +571,137 @@ dl.tsd-comment-tags p {
582
571
  margin-bottom: 0;
583
572
  }
584
573
 
585
- .toggle-protected .tsd-is-private {
586
- display: none;
587
- }
588
-
589
- .toggle-public .tsd-is-private,
590
- .toggle-public .tsd-is-protected,
591
- .toggle-public .tsd-is-private-protected {
592
- display: none;
574
+ .tsd-filter-visibility h4 {
575
+ font-size: 1rem;
576
+ padding-top: 0.75rem;
577
+ padding-bottom: 0.5rem;
578
+ margin: 0;
593
579
  }
594
-
595
- .toggle-inherited .tsd-is-inherited {
596
- display: none;
580
+ .tsd-filter-item:not(:last-child) {
581
+ margin-bottom: 0.5rem;
597
582
  }
598
-
599
- .toggle-externals .tsd-is-external {
600
- display: none;
583
+ .tsd-filter-input {
584
+ display: flex;
585
+ width: fit-content;
586
+ width: -moz-fit-content;
587
+ align-items: center;
588
+ user-select: none;
589
+ -webkit-user-select: none;
590
+ -moz-user-select: none;
591
+ -ms-user-select: none;
592
+ cursor: pointer;
601
593
  }
602
-
603
- #tsd-filter {
604
- position: relative;
605
- display: inline-block;
606
- height: 40px;
607
- vertical-align: bottom;
594
+ .tsd-filter-input input[type="checkbox"] {
595
+ cursor: pointer;
596
+ position: absolute;
597
+ width: 1.5em;
598
+ height: 1.5em;
599
+ opacity: 0;
608
600
  }
609
- .no-filter #tsd-filter {
610
- display: none;
601
+ .tsd-filter-input input[type="checkbox"]:disabled {
602
+ pointer-events: none;
611
603
  }
612
- #tsd-filter .tsd-filter-group {
613
- display: inline-block;
614
- height: 40px;
615
- vertical-align: bottom;
616
- white-space: nowrap;
604
+ .tsd-filter-input svg {
605
+ cursor: pointer;
606
+ width: 1.5em;
607
+ height: 1.5em;
608
+ margin-right: 0.5em;
609
+ border-radius: 0.33em;
610
+ /* Leaving this at full opacity breaks event listeners on Firefox.
611
+ Don't remove unless you know what you're doing. */
612
+ opacity: 0.99;
617
613
  }
618
- #tsd-filter input {
619
- display: none;
614
+ .tsd-filter-input input[type="checkbox"]:focus + svg {
615
+ transform: scale(0.95);
620
616
  }
621
- @media (max-width: 900px) {
622
- #tsd-filter .tsd-filter-group {
623
- display: block;
624
- position: absolute;
625
- top: 40px;
626
- right: 20px;
627
- height: auto;
628
- background-color: var(--color-panel);
629
- visibility: hidden;
630
- transform: translate(50%, 0);
631
- box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
632
- }
633
- .has-options #tsd-filter .tsd-filter-group {
634
- visibility: visible;
635
- }
636
- .to-has-options #tsd-filter .tsd-filter-group {
637
- animation: fade-in 0.2s;
638
- }
639
- .from-has-options #tsd-filter .tsd-filter-group {
640
- animation: fade-out 0.2s;
641
- }
642
- #tsd-filter label,
643
- #tsd-filter .tsd-select {
644
- display: block;
645
- padding-right: 20px;
646
- }
617
+ .tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg {
618
+ transform: scale(1);
647
619
  }
648
-
649
- footer {
650
- border-top: 1px solid var(--color-panel-divider);
651
- background-color: var(--color-panel);
620
+ .tsd-checkbox-background {
621
+ fill: var(--color-accent);
652
622
  }
653
- footer:after {
654
- content: "";
655
- display: table;
623
+ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
624
+ stroke: var(--color-text);
656
625
  }
657
- footer.with-border-bottom {
658
- border-bottom: 1px solid var(--color-panel-divider);
626
+ .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background {
627
+ fill: var(--color-background);
628
+ stroke: var(--color-accent);
629
+ stroke-width: 0.25rem;
659
630
  }
660
- footer .tsd-legend-group {
661
- font-size: 0;
631
+ .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark {
632
+ stroke: var(--color-accent);
662
633
  }
663
- footer .tsd-legend {
664
- display: inline-block;
665
- width: 25%;
666
- padding: 0;
667
- font-size: 16px;
668
- list-style: none;
669
- line-height: 1.333em;
670
- vertical-align: top;
634
+
635
+ .tsd-theme-toggle {
636
+ padding-top: 0.75rem;
671
637
  }
672
- @media (max-width: 900px) {
673
- footer .tsd-legend {
674
- width: 50%;
675
- }
638
+ .tsd-theme-toggle > h4 {
639
+ display: inline;
640
+ vertical-align: middle;
641
+ margin-right: 0.75rem;
676
642
  }
677
643
 
678
644
  .tsd-hierarchy {
679
645
  list-style: square;
680
- padding: 0 0 0 20px;
681
646
  margin: 0;
682
647
  }
683
648
  .tsd-hierarchy .target {
684
649
  font-weight: bold;
685
650
  }
686
651
 
687
- .tsd-index-panel .tsd-index-content {
688
- margin-bottom: -30px !important;
689
- }
690
- .tsd-index-panel .tsd-index-section {
691
- margin-bottom: 30px !important;
692
- }
693
- .tsd-index-panel h3 {
694
- margin: 0 -20px 10px -20px;
695
- padding: 0 20px 10px 20px;
696
- border-bottom: 1px solid var(--color-panel-divider);
697
- }
698
- .tsd-index-panel ul.tsd-index-list {
699
- -webkit-column-count: 3;
700
- -moz-column-count: 3;
701
- -ms-column-count: 3;
702
- -o-column-count: 3;
703
- column-count: 3;
704
- -webkit-column-gap: 20px;
705
- -moz-column-gap: 20px;
706
- -ms-column-gap: 20px;
707
- -o-column-gap: 20px;
708
- column-gap: 20px;
652
+ .tsd-full-hierarchy:not(:last-child) {
653
+ margin-bottom: 1em;
654
+ padding-bottom: 1em;
655
+ border-bottom: 1px solid var(--color-accent);
656
+ }
657
+ .tsd-full-hierarchy,
658
+ .tsd-full-hierarchy ul {
659
+ list-style: none;
660
+ margin: 0;
709
661
  padding: 0;
662
+ }
663
+ .tsd-full-hierarchy ul {
664
+ padding-left: 1.5rem;
665
+ }
666
+ .tsd-full-hierarchy a {
667
+ padding: 0.25rem 0 !important;
668
+ font-size: 1rem;
669
+ display: inline-flex;
670
+ align-items: center;
671
+ color: var(--color-text);
672
+ }
673
+
674
+ .tsd-panel-group.tsd-index-group {
675
+ margin-bottom: 0;
676
+ }
677
+ .tsd-index-panel .tsd-index-list {
710
678
  list-style: none;
711
679
  line-height: 1.333em;
712
- }
713
- @media (max-width: 900px) {
714
- .tsd-index-panel ul.tsd-index-list {
715
- -webkit-column-count: 1;
716
- -moz-column-count: 1;
717
- -ms-column-count: 1;
718
- -o-column-count: 1;
719
- column-count: 1;
680
+ margin: 0;
681
+ padding: 0.25rem 0 0 0;
682
+ overflow: hidden;
683
+ display: grid;
684
+ grid-template-columns: repeat(3, 1fr);
685
+ column-gap: 1rem;
686
+ grid-template-rows: auto;
687
+ }
688
+ @media (max-width: 1024px) {
689
+ .tsd-index-panel .tsd-index-list {
690
+ grid-template-columns: repeat(2, 1fr);
720
691
  }
721
692
  }
722
- @media (min-width: 901px) and (max-width: 1024px) {
723
- .tsd-index-panel ul.tsd-index-list {
724
- -webkit-column-count: 2;
725
- -moz-column-count: 2;
726
- -ms-column-count: 2;
727
- -o-column-count: 2;
728
- column-count: 2;
693
+ @media (max-width: 768px) {
694
+ .tsd-index-panel .tsd-index-list {
695
+ grid-template-columns: repeat(1, 1fr);
729
696
  }
730
697
  }
731
- .tsd-index-panel ul.tsd-index-list li {
698
+ .tsd-index-panel .tsd-index-list li {
732
699
  -webkit-page-break-inside: avoid;
733
700
  -moz-page-break-inside: avoid;
734
701
  -ms-page-break-inside: avoid;
735
702
  -o-page-break-inside: avoid;
736
703
  page-break-inside: avoid;
737
704
  }
738
- .tsd-index-panel a,
739
- .tsd-index-panel .tsd-parent-kind-module a {
740
- color: var(--color-ts);
741
- }
742
- .tsd-index-panel .tsd-parent-kind-interface a {
743
- color: var(--color-ts-interface);
744
- }
745
- .tsd-index-panel .tsd-parent-kind-enum a {
746
- color: var(--color-ts-enum);
747
- }
748
- .tsd-index-panel .tsd-parent-kind-class a {
749
- color: var(--color-ts-class);
750
- }
751
- .tsd-index-panel .tsd-kind-module a {
752
- color: var(--color-ts);
753
- }
754
- .tsd-index-panel .tsd-kind-interface a {
755
- color: var(--color-ts-interface);
756
- }
757
- .tsd-index-panel .tsd-kind-enum a {
758
- color: var(--color-ts-enum);
759
- }
760
- .tsd-index-panel .tsd-kind-class a {
761
- color: var(--color-ts-class);
762
- }
763
- .tsd-index-panel .tsd-is-private a {
764
- color: var(--color-ts-private);
765
- }
766
705
 
767
706
  .tsd-flag {
768
707
  display: inline-block;
@@ -777,7 +716,7 @@ footer .tsd-legend {
777
716
  }
778
717
 
779
718
  .tsd-anchor {
780
- position: absolute;
719
+ position: relative;
781
720
  top: -100px;
782
721
  }
783
722
 
@@ -785,154 +724,143 @@ footer .tsd-legend {
785
724
  position: relative;
786
725
  }
787
726
  .tsd-member .tsd-anchor + h3 {
727
+ display: flex;
728
+ align-items: center;
788
729
  margin-top: 0;
789
730
  margin-bottom: 0;
790
731
  border-bottom: none;
791
732
  }
792
- .tsd-member [data-tsd-kind] {
793
- color: var(--color-ts);
733
+
734
+ .tsd-navigation.settings {
735
+ margin: 1rem 0;
794
736
  }
795
- .tsd-member [data-tsd-kind="Interface"] {
796
- color: var(--color-ts-interface);
737
+ .tsd-navigation > a,
738
+ .tsd-navigation .tsd-accordion-summary {
739
+ width: calc(100% - 0.25rem);
740
+ display: flex;
741
+ align-items: center;
797
742
  }
798
- .tsd-member [data-tsd-kind="Enum"] {
799
- color: var(--color-ts-enum);
743
+ .tsd-navigation a,
744
+ .tsd-navigation summary > span,
745
+ .tsd-page-navigation a {
746
+ display: flex;
747
+ width: calc(100% - 0.25rem);
748
+ align-items: center;
749
+ padding: 0.25rem;
750
+ color: var(--color-text);
751
+ text-decoration: none;
752
+ box-sizing: border-box;
800
753
  }
801
- .tsd-member [data-tsd-kind="Class"] {
802
- color: var(--color-ts-class);
754
+ .tsd-navigation a.current,
755
+ .tsd-page-navigation a.current {
756
+ background: var(--color-active-menu-item);
803
757
  }
804
- .tsd-member [data-tsd-kind="Private"] {
805
- color: var(--color-ts-private);
806
- }
807
-
808
- .tsd-navigation {
809
- margin: 0 0 0 40px;
810
- }
811
- .tsd-navigation a {
812
- display: block;
813
- padding-top: 2px;
814
- padding-bottom: 2px;
815
- border-left: 2px solid transparent;
816
- color: var(--color-text);
817
- text-decoration: none;
818
- transition: border-left-color 0.1s;
819
- }
820
- .tsd-navigation a:hover {
758
+ .tsd-navigation a:hover,
759
+ .tsd-page-navigation a:hover {
821
760
  text-decoration: underline;
822
761
  }
823
- .tsd-navigation ul {
824
- margin: 0;
762
+ .tsd-navigation ul,
763
+ .tsd-page-navigation ul {
764
+ margin-top: 0;
765
+ margin-bottom: 0;
825
766
  padding: 0;
826
767
  list-style: none;
827
768
  }
828
- .tsd-navigation li {
769
+ .tsd-navigation li,
770
+ .tsd-page-navigation li {
829
771
  padding: 0;
772
+ max-width: 100%;
830
773
  }
831
-
832
- .tsd-navigation.primary {
833
- padding-bottom: 40px;
834
- }
835
- .tsd-navigation.primary a {
836
- display: block;
837
- padding-top: 6px;
838
- padding-bottom: 6px;
839
- }
840
- .tsd-navigation.primary ul li a {
841
- padding-left: 5px;
842
- }
843
- .tsd-navigation.primary ul li li a {
844
- padding-left: 25px;
845
- }
846
- .tsd-navigation.primary ul li li li a {
847
- padding-left: 45px;
848
- }
849
- .tsd-navigation.primary ul li li li li a {
850
- padding-left: 65px;
851
- }
852
- .tsd-navigation.primary ul li li li li li a {
853
- padding-left: 85px;
854
- }
855
- .tsd-navigation.primary ul li li li li li li a {
856
- padding-left: 105px;
774
+ .tsd-nested-navigation {
775
+ margin-left: 3rem;
857
776
  }
858
- .tsd-navigation.primary > ul {
859
- border-bottom: 1px solid var(--color-panel-divider);
777
+ .tsd-nested-navigation > li > details {
778
+ margin-left: -1.5rem;
860
779
  }
861
- .tsd-navigation.primary li {
862
- border-top: 1px solid var(--color-panel-divider);
780
+ .tsd-small-nested-navigation {
781
+ margin-left: 1.5rem;
863
782
  }
864
- .tsd-navigation.primary li.current > a {
865
- font-weight: bold;
866
- }
867
- .tsd-navigation.primary li.label span {
868
- display: block;
869
- padding: 20px 0 6px 5px;
870
- color: var(--color-menu-label);
783
+ .tsd-small-nested-navigation > li > details {
784
+ margin-left: -1.5rem;
871
785
  }
872
- .tsd-navigation.primary li.globals + li > span,
873
- .tsd-navigation.primary li.globals + li > a {
874
- padding-top: 20px;
786
+
787
+ .tsd-page-navigation ul {
788
+ padding-left: 1.75rem;
875
789
  }
876
790
 
877
- .tsd-navigation.secondary {
878
- max-height: calc(100vh - 1rem - 40px);
879
- overflow: auto;
880
- position: sticky;
881
- top: calc(0.5rem + 40px);
882
- transition: 0.3s;
791
+ #tsd-sidebar-links a {
792
+ margin-top: 0;
793
+ margin-bottom: 0.5rem;
794
+ line-height: 1.25rem;
883
795
  }
884
- .tsd-navigation.secondary.tsd-navigation--toolbar-hide {
885
- max-height: calc(100vh - 1rem);
886
- top: 0.5rem;
796
+ #tsd-sidebar-links a:last-of-type {
797
+ margin-bottom: 0;
887
798
  }
888
- .tsd-navigation.secondary ul {
889
- transition: opacity 0.2s;
799
+
800
+ a.tsd-index-link {
801
+ padding: 0.25rem 0 !important;
802
+ font-size: 1rem;
803
+ line-height: 1.25rem;
804
+ display: inline-flex;
805
+ align-items: center;
806
+ color: var(--color-text);
890
807
  }
891
- .tsd-navigation.secondary ul li a {
892
- padding-left: 25px;
808
+ .tsd-accordion-summary {
809
+ list-style-type: none; /* hide marker on non-safari */
810
+ outline: none; /* broken on safari, so just hide it */
893
811
  }
894
- .tsd-navigation.secondary ul li li a {
895
- padding-left: 45px;
812
+ .tsd-accordion-summary::-webkit-details-marker {
813
+ display: none; /* hide marker on safari */
896
814
  }
897
- .tsd-navigation.secondary ul li li li a {
898
- padding-left: 65px;
815
+ .tsd-accordion-summary,
816
+ .tsd-accordion-summary a {
817
+ user-select: none;
818
+ -moz-user-select: none;
819
+ -webkit-user-select: none;
820
+ -ms-user-select: none;
821
+
822
+ cursor: pointer;
899
823
  }
900
- .tsd-navigation.secondary ul li li li li a {
901
- padding-left: 85px;
824
+ .tsd-accordion-summary a {
825
+ width: calc(100% - 1.5rem);
902
826
  }
903
- .tsd-navigation.secondary ul li li li li li a {
904
- padding-left: 105px;
827
+ .tsd-accordion-summary > * {
828
+ margin-top: 0;
829
+ margin-bottom: 0;
830
+ padding-top: 0;
831
+ padding-bottom: 0;
905
832
  }
906
- .tsd-navigation.secondary ul li li li li li li a {
907
- padding-left: 125px;
833
+ .tsd-index-accordion .tsd-accordion-summary > svg {
834
+ margin-left: 0.25rem;
908
835
  }
909
- .tsd-navigation.secondary ul.current a {
910
- border-left-color: var(--color-panel-divider);
836
+ .tsd-index-content > :not(:first-child) {
837
+ margin-top: 0.75rem;
911
838
  }
912
- .tsd-navigation.secondary li.focus > a,
913
- .tsd-navigation.secondary ul.current li.focus > a {
914
- border-left-color: var(--color-menu-divider-focus);
839
+ .tsd-index-heading {
840
+ margin-top: 1.5rem;
841
+ margin-bottom: 0.75rem;
915
842
  }
916
- .tsd-navigation.secondary li.current {
917
- margin-top: 20px;
918
- margin-bottom: 20px;
919
- border-left-color: var(--color-panel-divider);
843
+
844
+ .tsd-kind-icon {
845
+ margin-right: 0.5rem;
846
+ width: 1.25rem;
847
+ height: 1.25rem;
848
+ min-width: 1.25rem;
849
+ min-height: 1.25rem;
920
850
  }
921
- .tsd-navigation.secondary li.current > a {
922
- font-weight: bold;
851
+ .tsd-kind-icon path {
852
+ transform-origin: center;
853
+ transform: scale(1.1);
923
854
  }
924
-
925
- @media (min-width: 901px) {
926
- .menu-sticky-wrap {
927
- position: static;
928
- }
855
+ .tsd-signature > .tsd-kind-icon {
856
+ margin-right: 0.8rem;
929
857
  }
930
858
 
931
859
  .tsd-panel {
932
- margin: 20px 0;
933
- padding: 20px;
934
- background-color: var(--color-panel);
935
- box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
860
+ margin-bottom: 2.5rem;
861
+ }
862
+ .tsd-panel.tsd-member {
863
+ margin-bottom: 4rem;
936
864
  }
937
865
  .tsd-panel:empty {
938
866
  display: none;
@@ -940,48 +868,24 @@ footer .tsd-legend {
940
868
  .tsd-panel > h1,
941
869
  .tsd-panel > h2,
942
870
  .tsd-panel > h3 {
943
- margin: 1.5em -20px 10px -20px;
944
- padding: 0 20px 10px 20px;
945
- border-bottom: 1px solid var(--color-panel-divider);
871
+ margin: 1.5rem -1.5rem 0.75rem -1.5rem;
872
+ padding: 0 1.5rem 0.75rem 1.5rem;
946
873
  }
947
874
  .tsd-panel > h1.tsd-before-signature,
948
875
  .tsd-panel > h2.tsd-before-signature,
949
876
  .tsd-panel > h3.tsd-before-signature {
950
877
  margin-bottom: 0;
951
- border-bottom: 0;
952
- }
953
- .tsd-panel table {
954
- display: block;
955
- width: 100%;
956
- overflow: auto;
957
- margin-top: 10px;
958
- word-break: normal;
959
- word-break: keep-all;
960
- border-collapse: collapse;
961
- }
962
- .tsd-panel table th {
963
- font-weight: bold;
964
- }
965
- .tsd-panel table th,
966
- .tsd-panel table td {
967
- padding: 6px 13px;
968
- border: 1px solid var(--color-panel-divider);
969
- }
970
- .tsd-panel table tr {
971
- background: var(--color-background);
972
- }
973
- .tsd-panel table tr:nth-child(even) {
974
- background: var(--color-secondary-background);
878
+ border-bottom: none;
975
879
  }
976
880
 
977
881
  .tsd-panel-group {
978
- margin: 60px 0;
882
+ margin: 4rem 0;
979
883
  }
980
- .tsd-panel-group > h1,
981
- .tsd-panel-group > h2,
982
- .tsd-panel-group > h3 {
983
- padding-left: 20px;
984
- padding-right: 20px;
884
+ .tsd-panel-group.tsd-index-group {
885
+ margin: 2rem 0;
886
+ }
887
+ .tsd-panel-group.tsd-index-group details {
888
+ margin: 2rem 0;
985
889
  }
986
890
 
987
891
  #tsd-search {
@@ -995,8 +899,8 @@ footer .tsd-legend {
995
899
  position: absolute;
996
900
  left: 0;
997
901
  top: 0;
998
- right: 40px;
999
- height: 40px;
902
+ right: 2.5rem;
903
+ height: 100%;
1000
904
  }
1001
905
  #tsd-search .field input {
1002
906
  box-sizing: border-box;
@@ -1017,7 +921,8 @@ footer .tsd-legend {
1017
921
  right: -40px;
1018
922
  }
1019
923
  #tsd-search .field input,
1020
- #tsd-search .title {
924
+ #tsd-search .title,
925
+ #tsd-toolbar-links a {
1021
926
  transition: opacity 0.2s;
1022
927
  }
1023
928
  #tsd-search .results {
@@ -1031,21 +936,25 @@ footer .tsd-legend {
1031
936
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
1032
937
  }
1033
938
  #tsd-search .results li {
1034
- padding: 0 10px;
1035
939
  background-color: var(--color-background);
940
+ line-height: initial;
941
+ padding: 4px;
1036
942
  }
1037
943
  #tsd-search .results li:nth-child(even) {
1038
- background-color: var(--color-panel);
944
+ background-color: var(--color-background-secondary);
1039
945
  }
1040
946
  #tsd-search .results li.state {
1041
947
  display: none;
1042
948
  }
1043
- #tsd-search .results li.current,
1044
- #tsd-search .results li:hover {
1045
- background-color: var(--color-panel-divider);
949
+ #tsd-search .results li.current:not(.no-results),
950
+ #tsd-search .results li:hover:not(.no-results) {
951
+ background-color: var(--color-accent);
1046
952
  }
1047
953
  #tsd-search .results a {
1048
- display: block;
954
+ display: flex;
955
+ align-items: center;
956
+ padding: 0.25rem;
957
+ box-sizing: border-box;
1049
958
  }
1050
959
  #tsd-search .results a:before {
1051
960
  top: 10px;
@@ -1055,13 +964,14 @@ footer .tsd-legend {
1055
964
  font-weight: normal;
1056
965
  }
1057
966
  #tsd-search.has-focus {
1058
- background-color: var(--color-panel-divider);
967
+ background-color: var(--color-accent);
1059
968
  }
1060
969
  #tsd-search.has-focus .field input {
1061
970
  top: 0;
1062
971
  opacity: 1;
1063
972
  }
1064
- #tsd-search.has-focus .title {
973
+ #tsd-search.has-focus .title,
974
+ #tsd-search.has-focus #tsd-toolbar-links a {
1065
975
  z-index: 0;
1066
976
  opacity: 0;
1067
977
  }
@@ -1075,31 +985,34 @@ footer .tsd-legend {
1075
985
  display: block;
1076
986
  }
1077
987
 
988
+ #tsd-toolbar-links {
989
+ position: absolute;
990
+ top: 0;
991
+ right: 2rem;
992
+ height: 100%;
993
+ display: flex;
994
+ align-items: center;
995
+ justify-content: flex-end;
996
+ }
997
+ #tsd-toolbar-links a {
998
+ margin-left: 1.5rem;
999
+ }
1000
+ #tsd-toolbar-links a:hover {
1001
+ text-decoration: underline;
1002
+ }
1003
+
1078
1004
  .tsd-signature {
1079
- margin: 0 0 1em 0;
1080
- padding: 10px;
1081
- border: 1px solid var(--color-panel-divider);
1005
+ margin: 0 0 1rem 0;
1006
+ padding: 1rem 0.5rem;
1007
+ border: 1px solid var(--color-accent);
1082
1008
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1083
1009
  font-size: 14px;
1084
1010
  overflow-x: auto;
1085
1011
  }
1086
- .tsd-signature.tsd-kind-icon {
1087
- padding-left: 30px;
1088
- }
1089
- .tsd-signature.tsd-kind-icon:before {
1090
- top: 10px;
1091
- left: 10px;
1092
- }
1093
- .tsd-panel > .tsd-signature {
1094
- margin-left: -20px;
1095
- margin-right: -20px;
1096
- border-width: 1px 0;
1097
- }
1098
- .tsd-panel > .tsd-signature.tsd-kind-icon {
1099
- padding-left: 40px;
1100
- }
1101
- .tsd-panel > .tsd-signature.tsd-kind-icon:before {
1102
- left: 20px;
1012
+
1013
+ .tsd-signature-keyword {
1014
+ color: var(--color-ts-keyword);
1015
+ font-weight: normal;
1103
1016
  }
1104
1017
 
1105
1018
  .tsd-signature-symbol {
@@ -1115,123 +1028,60 @@ footer .tsd-legend {
1115
1028
  .tsd-signatures {
1116
1029
  padding: 0;
1117
1030
  margin: 0 0 1em 0;
1118
- border: 1px solid var(--color-panel-divider);
1031
+ list-style-type: none;
1119
1032
  }
1120
1033
  .tsd-signatures .tsd-signature {
1121
1034
  margin: 0;
1122
- border-width: 1px 0 0 0;
1123
- transition: background-color 0.1s;
1124
- }
1125
- .tsd-signatures .tsd-signature:first-child {
1126
- border-top-width: 0;
1127
- }
1128
- .tsd-signatures .tsd-signature.current {
1129
- background-color: var(--color-panel-divider);
1130
- }
1131
- .tsd-signatures.active > .tsd-signature {
1132
- cursor: pointer;
1133
- }
1134
- .tsd-panel > .tsd-signatures {
1135
- margin-left: -20px;
1136
- margin-right: -20px;
1035
+ border-color: var(--color-accent);
1137
1036
  border-width: 1px 0;
1037
+ transition: background-color 0.1s;
1138
1038
  }
1139
- .tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon {
1140
- padding-left: 40px;
1141
- }
1142
- .tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon:before {
1143
- left: 20px;
1144
- }
1145
- .tsd-panel > a.anchor + .tsd-signatures {
1146
- border-top-width: 0;
1147
- margin-top: -20px;
1148
- }
1149
-
1150
- ul.tsd-descriptions {
1151
- position: relative;
1152
- overflow: hidden;
1153
- padding: 0;
1154
- list-style: none;
1155
- }
1156
- ul.tsd-descriptions.active > .tsd-description {
1157
- display: none;
1158
- }
1159
- ul.tsd-descriptions.active > .tsd-description.current {
1160
- display: block;
1161
- }
1162
- ul.tsd-descriptions.active > .tsd-description.fade-in {
1163
- animation: fade-in-delayed 0.3s;
1164
- }
1165
- ul.tsd-descriptions.active > .tsd-description.fade-out {
1166
- animation: fade-out-delayed 0.3s;
1167
- position: absolute;
1168
- display: block;
1169
- top: 0;
1170
- left: 0;
1171
- right: 0;
1172
- opacity: 0;
1173
- visibility: hidden;
1174
- }
1175
- ul.tsd-descriptions h4,
1176
- ul.tsd-descriptions .tsd-index-panel h3,
1177
- .tsd-index-panel ul.tsd-descriptions h3 {
1178
- font-size: 16px;
1179
- margin: 1em 0 0.5em 0;
1039
+ .tsd-description .tsd-signatures .tsd-signature {
1040
+ border-width: 1px;
1180
1041
  }
1181
1042
 
1182
- ul.tsd-parameters,
1183
- ul.tsd-type-parameters {
1043
+ ul.tsd-parameter-list,
1044
+ ul.tsd-type-parameter-list {
1184
1045
  list-style: square;
1185
1046
  margin: 0;
1186
1047
  padding-left: 20px;
1187
1048
  }
1188
- ul.tsd-parameters > li.tsd-parameter-signature,
1189
- ul.tsd-type-parameters > li.tsd-parameter-signature {
1049
+ ul.tsd-parameter-list > li.tsd-parameter-signature,
1050
+ ul.tsd-type-parameter-list > li.tsd-parameter-signature {
1190
1051
  list-style: none;
1191
1052
  margin-left: -20px;
1192
1053
  }
1193
- ul.tsd-parameters h5,
1194
- ul.tsd-type-parameters h5 {
1054
+ ul.tsd-parameter-list h5,
1055
+ ul.tsd-type-parameter-list h5 {
1195
1056
  font-size: 16px;
1196
1057
  margin: 1em 0 0.5em 0;
1197
1058
  }
1198
- ul.tsd-parameters .tsd-comment,
1199
- ul.tsd-type-parameters .tsd-comment {
1200
- margin-top: -0.5em;
1201
- }
1202
-
1203
1059
  .tsd-sources {
1204
- font-size: 14px;
1205
- color: var(--color-text-aside);
1206
- margin: 0 0 1em 0;
1060
+ margin-top: 1rem;
1061
+ font-size: 0.875em;
1207
1062
  }
1208
1063
  .tsd-sources a {
1209
1064
  color: var(--color-text-aside);
1210
1065
  text-decoration: underline;
1211
1066
  }
1212
- .tsd-sources ul,
1213
- .tsd-sources p {
1214
- margin: 0 !important;
1215
- }
1216
1067
  .tsd-sources ul {
1217
1068
  list-style: none;
1218
1069
  padding: 0;
1219
1070
  }
1220
1071
 
1221
1072
  .tsd-page-toolbar {
1222
- position: fixed;
1073
+ position: sticky;
1223
1074
  z-index: 1;
1224
1075
  top: 0;
1225
1076
  left: 0;
1226
1077
  width: 100%;
1227
- height: 40px;
1228
- color: var(--color-toolbar-text);
1229
- background: var(--color-toolbar);
1230
- border-bottom: 1px solid var(--color-panel-divider);
1231
- transition: transform 0.3s linear;
1078
+ color: var(--color-text);
1079
+ background: var(--color-background-secondary);
1080
+ border-bottom: 1px var(--color-accent) solid;
1081
+ transition: transform 0.3s ease-in-out;
1232
1082
  }
1233
1083
  .tsd-page-toolbar a {
1234
- color: var(--color-toolbar-text);
1084
+ color: var(--color-text);
1235
1085
  text-decoration: none;
1236
1086
  }
1237
1087
  .tsd-page-toolbar a.title {
@@ -1240,13 +1090,13 @@ ul.tsd-type-parameters .tsd-comment {
1240
1090
  .tsd-page-toolbar a.title:hover {
1241
1091
  text-decoration: underline;
1242
1092
  }
1243
- .tsd-page-toolbar .table-wrap {
1244
- display: table;
1245
- width: 100%;
1246
- height: 40px;
1093
+ .tsd-page-toolbar .tsd-toolbar-contents {
1094
+ display: flex;
1095
+ justify-content: space-between;
1096
+ height: 2.5rem;
1097
+ margin: 0 auto;
1247
1098
  }
1248
1099
  .tsd-page-toolbar .table-cell {
1249
- display: table-cell;
1250
1100
  position: relative;
1251
1101
  white-space: nowrap;
1252
1102
  line-height: 40px;
@@ -1254,32 +1104,10 @@ ul.tsd-type-parameters .tsd-comment {
1254
1104
  .tsd-page-toolbar .table-cell:first-child {
1255
1105
  width: 100%;
1256
1106
  }
1257
-
1258
- .tsd-page-toolbar--hide {
1259
- transform: translateY(-100%);
1260
- }
1261
-
1262
- .tsd-select .tsd-select-list li:before,
1263
- .tsd-select .tsd-select-label:before,
1264
- .tsd-widget:before {
1265
- content: "";
1266
- display: inline-block;
1267
- width: 40px;
1268
- height: 40px;
1269
- margin: 0 -8px 0 0;
1270
- background-image: url(./widgets.png);
1271
- background-repeat: no-repeat;
1272
- text-indent: -1024px;
1273
- vertical-align: bottom;
1274
- filter: var(--icon-filter);
1275
- }
1276
- @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
1277
- .tsd-select .tsd-select-list li:before,
1278
- .tsd-select .tsd-select-label:before,
1279
- .tsd-widget:before {
1280
- background-image: url(./widgets@2x.png);
1281
- background-size: 320px 40px;
1282
- }
1107
+ .tsd-page-toolbar .tsd-toolbar-icon {
1108
+ box-sizing: border-box;
1109
+ line-height: 0;
1110
+ padding: 12px 0;
1283
1111
  }
1284
1112
 
1285
1113
  .tsd-widget {
@@ -1287,7 +1115,9 @@ ul.tsd-type-parameters .tsd-comment {
1287
1115
  overflow: hidden;
1288
1116
  opacity: 0.8;
1289
1117
  height: 40px;
1290
- transition: opacity 0.1s, background-color 0.2s;
1118
+ transition:
1119
+ opacity 0.1s,
1120
+ background-color 0.2s;
1291
1121
  vertical-align: bottom;
1292
1122
  cursor: pointer;
1293
1123
  }
@@ -1296,7 +1126,7 @@ ul.tsd-type-parameters .tsd-comment {
1296
1126
  }
1297
1127
  .tsd-widget.active {
1298
1128
  opacity: 1;
1299
- background-color: var(--color-panel-divider);
1129
+ background-color: var(--color-accent);
1300
1130
  }
1301
1131
  .tsd-widget.no-caption {
1302
1132
  width: 40px;
@@ -1304,25 +1134,11 @@ ul.tsd-type-parameters .tsd-comment {
1304
1134
  .tsd-widget.no-caption:before {
1305
1135
  margin: 0;
1306
1136
  }
1307
- .tsd-widget.search:before {
1308
- background-position: 0 0;
1309
- }
1310
- .tsd-widget.menu:before {
1311
- background-position: -40px 0;
1312
- }
1313
- .tsd-widget.options:before {
1314
- background-position: -80px 0;
1315
- }
1137
+
1316
1138
  .tsd-widget.options,
1317
1139
  .tsd-widget.menu {
1318
1140
  display: none;
1319
1141
  }
1320
- @media (max-width: 900px) {
1321
- .tsd-widget.options,
1322
- .tsd-widget.menu {
1323
- display: inline-block;
1324
- }
1325
- }
1326
1142
  input[type="checkbox"] + .tsd-widget:before {
1327
1143
  background-position: -120px 0;
1328
1144
  }
@@ -1330,85 +1146,269 @@ input[type="checkbox"]:checked + .tsd-widget:before {
1330
1146
  background-position: -160px 0;
1331
1147
  }
1332
1148
 
1333
- .tsd-select {
1334
- position: relative;
1335
- display: inline-block;
1336
- height: 40px;
1337
- transition: opacity 0.1s, background-color 0.2s;
1338
- vertical-align: bottom;
1339
- cursor: pointer;
1340
- }
1341
- .tsd-select .tsd-select-label {
1342
- opacity: 0.6;
1343
- transition: opacity 0.2s;
1149
+ img {
1150
+ max-width: 100%;
1344
1151
  }
1345
- .tsd-select .tsd-select-label:before {
1346
- background-position: -240px 0;
1152
+
1153
+ .tsd-anchor-icon {
1154
+ display: inline-flex;
1155
+ align-items: center;
1156
+ margin-left: 0.5rem;
1157
+ vertical-align: middle;
1158
+ color: var(--color-text);
1347
1159
  }
1348
- .tsd-select.active .tsd-select-label {
1349
- opacity: 0.8;
1160
+
1161
+ .tsd-anchor-icon svg {
1162
+ width: 1em;
1163
+ height: 1em;
1164
+ visibility: hidden;
1350
1165
  }
1351
- .tsd-select.active .tsd-select-list {
1166
+
1167
+ .tsd-anchor-link:hover > .tsd-anchor-icon svg {
1352
1168
  visibility: visible;
1353
- opacity: 1;
1354
- transition-delay: 0s;
1355
1169
  }
1356
- .tsd-select .tsd-select-list {
1357
- position: absolute;
1358
- visibility: hidden;
1359
- top: 40px;
1360
- left: 0;
1361
- margin: 0;
1362
- padding: 0;
1363
- opacity: 0;
1364
- list-style: none;
1365
- box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
1366
- transition: visibility 0s 0.2s, opacity 0.2s;
1170
+
1171
+ .deprecated {
1172
+ text-decoration: line-through !important;
1367
1173
  }
1368
- .tsd-select .tsd-select-list li {
1369
- padding: 0 20px 0 0;
1370
- background-color: var(--color-background);
1174
+
1175
+ .warning {
1176
+ padding: 1rem;
1177
+ color: var(--color-warning-text);
1178
+ background: var(--color-background-warning);
1179
+ }
1180
+
1181
+ .tsd-kind-project {
1182
+ color: var(--color-ts-project);
1183
+ }
1184
+ .tsd-kind-module {
1185
+ color: var(--color-ts-module);
1186
+ }
1187
+ .tsd-kind-namespace {
1188
+ color: var(--color-ts-namespace);
1189
+ }
1190
+ .tsd-kind-enum {
1191
+ color: var(--color-ts-enum);
1192
+ }
1193
+ .tsd-kind-enum-member {
1194
+ color: var(--color-ts-enum-member);
1195
+ }
1196
+ .tsd-kind-variable {
1197
+ color: var(--color-ts-variable);
1198
+ }
1199
+ .tsd-kind-function {
1200
+ color: var(--color-ts-function);
1201
+ }
1202
+ .tsd-kind-class {
1203
+ color: var(--color-ts-class);
1371
1204
  }
1372
- .tsd-select .tsd-select-list li:before {
1373
- background-position: 40px 0;
1205
+ .tsd-kind-interface {
1206
+ color: var(--color-ts-interface);
1207
+ }
1208
+ .tsd-kind-constructor {
1209
+ color: var(--color-ts-constructor);
1210
+ }
1211
+ .tsd-kind-property {
1212
+ color: var(--color-ts-property);
1213
+ }
1214
+ .tsd-kind-method {
1215
+ color: var(--color-ts-method);
1216
+ }
1217
+ .tsd-kind-call-signature {
1218
+ color: var(--color-ts-call-signature);
1219
+ }
1220
+ .tsd-kind-index-signature {
1221
+ color: var(--color-ts-index-signature);
1222
+ }
1223
+ .tsd-kind-constructor-signature {
1224
+ color: var(--color-ts-constructor-signature);
1225
+ }
1226
+ .tsd-kind-parameter {
1227
+ color: var(--color-ts-parameter);
1228
+ }
1229
+ .tsd-kind-type-literal {
1230
+ color: var(--color-ts-type-literal);
1231
+ }
1232
+ .tsd-kind-type-parameter {
1233
+ color: var(--color-ts-type-parameter);
1234
+ }
1235
+ .tsd-kind-accessor {
1236
+ color: var(--color-ts-accessor);
1237
+ }
1238
+ .tsd-kind-get-signature {
1239
+ color: var(--color-ts-get-signature);
1240
+ }
1241
+ .tsd-kind-set-signature {
1242
+ color: var(--color-ts-set-signature);
1243
+ }
1244
+ .tsd-kind-type-alias {
1245
+ color: var(--color-ts-type-alias);
1246
+ }
1247
+
1248
+ /* if we have a kind icon, don't color the text by kind */
1249
+ .tsd-kind-icon ~ span {
1250
+ color: var(--color-text);
1251
+ }
1252
+
1253
+ * {
1254
+ scrollbar-width: thin;
1255
+ scrollbar-color: var(--color-accent) var(--color-icon-background);
1374
1256
  }
1375
- .tsd-select .tsd-select-list li:nth-child(even) {
1376
- background-color: var(--color-panel);
1257
+
1258
+ *::-webkit-scrollbar {
1259
+ width: 0.75rem;
1377
1260
  }
1378
- .tsd-select .tsd-select-list li:hover {
1379
- background-color: var(--color-panel-divider);
1261
+
1262
+ *::-webkit-scrollbar-track {
1263
+ background: var(--color-icon-background);
1380
1264
  }
1381
- .tsd-select .tsd-select-list li.selected:before {
1382
- background-position: -200px 0;
1265
+
1266
+ *::-webkit-scrollbar-thumb {
1267
+ background-color: var(--color-accent);
1268
+ border-radius: 999rem;
1269
+ border: 0.25rem solid var(--color-icon-background);
1383
1270
  }
1384
- @media (max-width: 900px) {
1385
- .tsd-select .tsd-select-list {
1271
+
1272
+ /* mobile */
1273
+ @media (max-width: 769px) {
1274
+ .tsd-widget.options,
1275
+ .tsd-widget.menu {
1276
+ display: inline-block;
1277
+ }
1278
+
1279
+ .container-main {
1280
+ display: flex;
1281
+ }
1282
+ html .col-content {
1283
+ float: none;
1284
+ max-width: 100%;
1285
+ width: 100%;
1286
+ }
1287
+ html .col-sidebar {
1288
+ position: fixed !important;
1289
+ overflow-y: auto;
1290
+ -webkit-overflow-scrolling: touch;
1291
+ z-index: 1024;
1292
+ top: 0 !important;
1293
+ bottom: 0 !important;
1294
+ left: auto !important;
1295
+ right: 0 !important;
1296
+ padding: 1.5rem 1.5rem 0 0;
1297
+ width: 75vw;
1298
+ visibility: hidden;
1299
+ background-color: var(--color-background);
1300
+ transform: translate(100%, 0);
1301
+ }
1302
+ html .col-sidebar > *:last-child {
1303
+ padding-bottom: 20px;
1304
+ }
1305
+ html .overlay {
1306
+ content: "";
1307
+ display: block;
1308
+ position: fixed;
1309
+ z-index: 1023;
1386
1310
  top: 0;
1387
- left: auto;
1388
- right: 100%;
1389
- margin-right: -5px;
1311
+ left: 0;
1312
+ right: 0;
1313
+ bottom: 0;
1314
+ background-color: rgba(0, 0, 0, 0.75);
1315
+ visibility: hidden;
1316
+ }
1317
+
1318
+ .to-has-menu .overlay {
1319
+ animation: fade-in 0.4s;
1390
1320
  }
1391
- .tsd-select .tsd-select-label:before {
1392
- background-position: -280px 0;
1321
+
1322
+ .to-has-menu .col-sidebar {
1323
+ animation: pop-in-from-right 0.4s;
1393
1324
  }
1394
- }
1395
1325
 
1396
- img {
1397
- max-width: 100%;
1398
- }
1326
+ .from-has-menu .overlay {
1327
+ animation: fade-out 0.4s;
1328
+ }
1399
1329
 
1400
- .tsd-anchor-icon {
1401
- margin-left: 10px;
1402
- vertical-align: middle;
1403
- color: var(--color-text);
1330
+ .from-has-menu .col-sidebar {
1331
+ animation: pop-out-to-right 0.4s;
1332
+ }
1333
+
1334
+ .has-menu body {
1335
+ overflow: hidden;
1336
+ }
1337
+ .has-menu .overlay {
1338
+ visibility: visible;
1339
+ }
1340
+ .has-menu .col-sidebar {
1341
+ visibility: visible;
1342
+ transform: translate(0, 0);
1343
+ display: flex;
1344
+ flex-direction: column;
1345
+ gap: 1.5rem;
1346
+ max-height: 100vh;
1347
+ padding: 1rem 2rem;
1348
+ }
1349
+ .has-menu .tsd-navigation {
1350
+ max-height: 100%;
1351
+ }
1404
1352
  }
1405
1353
 
1406
- .tsd-anchor-icon svg {
1407
- width: 1em;
1408
- height: 1em;
1409
- visibility: hidden;
1354
+ /* one sidebar */
1355
+ @media (min-width: 770px) {
1356
+ .container-main {
1357
+ display: grid;
1358
+ grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
1359
+ grid-template-areas: "sidebar content";
1360
+ margin: 2rem auto;
1361
+ }
1362
+
1363
+ .col-sidebar {
1364
+ grid-area: sidebar;
1365
+ }
1366
+ .col-content {
1367
+ grid-area: content;
1368
+ padding: 0 1rem;
1369
+ }
1370
+ }
1371
+ @media (min-width: 770px) and (max-width: 1399px) {
1372
+ .col-sidebar {
1373
+ max-height: calc(100vh - 2rem - 42px);
1374
+ overflow: auto;
1375
+ position: sticky;
1376
+ top: 42px;
1377
+ padding-top: 1rem;
1378
+ }
1379
+ .site-menu {
1380
+ margin-top: 1rem;
1381
+ }
1410
1382
  }
1411
1383
 
1412
- .tsd-anchor-link:hover > .tsd-anchor-icon svg {
1413
- visibility: visible;
1384
+ /* two sidebars */
1385
+ @media (min-width: 1200px) {
1386
+ .container-main {
1387
+ grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem);
1388
+ grid-template-areas: "sidebar content toc";
1389
+ }
1390
+
1391
+ .col-sidebar {
1392
+ display: contents;
1393
+ }
1394
+
1395
+ .page-menu {
1396
+ grid-area: toc;
1397
+ padding-left: 1rem;
1398
+ }
1399
+ .site-menu {
1400
+ grid-area: sidebar;
1401
+ }
1402
+
1403
+ .site-menu {
1404
+ margin-top: 1rem 0;
1405
+ }
1406
+
1407
+ .page-menu,
1408
+ .site-menu {
1409
+ max-height: calc(100vh - 2rem - 42px);
1410
+ overflow: auto;
1411
+ position: sticky;
1412
+ top: 42px;
1413
+ }
1414
1414
  }