clean-jsdoc-theme 3.3.4 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/.eslintignore +4 -4
  2. package/.eslintrc.js +3 -3
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +43 -43
  4. package/.github/ISSUE_TEMPLATE/feature_request.md +27 -27
  5. package/.github/pull_request_template.md +16 -16
  6. package/.github/workflows/codeql-analysis.yml +67 -67
  7. package/.prettierignore +2 -2
  8. package/.prettierrc +5 -5
  9. package/.stylelintignore +3 -3
  10. package/.stylelintrc +23 -23
  11. package/.travis.yml +30 -30
  12. package/CHANGELOG.md +232 -216
  13. package/CODE_OF_CONDUCT.md +76 -76
  14. package/CODE_OF_CONDUCT_HINDI.md +46 -46
  15. package/CONTRIBUTING.md +24 -24
  16. package/LICENSE +21 -21
  17. package/README.md +439 -546
  18. package/SECURITY.md +21 -21
  19. package/helpers/down-arrow.js +9 -9
  20. package/jsdoc-config.json +62 -60
  21. package/minify.js +48 -0
  22. package/package.json +50 -46
  23. package/publish.js +1131 -1197
  24. package/static/fonts/Inconsolata-Regular.ttf +0 -0
  25. package/static/fonts/OpenSans-Regular.ttf +0 -0
  26. package/static/fonts/WorkSans-Bold.ttf +0 -0
  27. package/static/scripts/core.js +576 -0
  28. package/static/scripts/core.min.js +23 -0
  29. package/static/scripts/resize.js +90 -85
  30. package/static/scripts/search.js +244 -77
  31. package/static/scripts/search.min.js +11 -0
  32. package/static/scripts/third-party/Apache-License-2.0.txt +202 -202
  33. package/static/scripts/third-party/fuse.js +8 -8
  34. package/static/scripts/third-party/hljs-line-num.js +1 -0
  35. package/static/scripts/third-party/hljs.js +1173 -0
  36. package/static/scripts/third-party/popper.js +6 -0
  37. package/static/scripts/third-party/tippy.js +2 -0
  38. package/static/scripts/third-party/tocbot.js +1 -0
  39. package/static/styles/clean-jsdoc-theme-base.css +941 -393
  40. package/static/styles/clean-jsdoc-theme-dark.css +411 -324
  41. package/static/styles/clean-jsdoc-theme-light.css +392 -319
  42. package/static/styles/clean-jsdoc-theme.min.css +1 -0
  43. package/tmpl/augments.tmpl +10 -10
  44. package/tmpl/container.tmpl +190 -189
  45. package/tmpl/details.tmpl +208 -208
  46. package/tmpl/example.tmpl +3 -3
  47. package/tmpl/examples.tmpl +40 -38
  48. package/tmpl/exceptions.tmpl +32 -32
  49. package/tmpl/icons.tmpl +72 -34
  50. package/tmpl/layout.tmpl +146 -165
  51. package/tmpl/mainpage.tmpl +10 -10
  52. package/tmpl/members.tmpl +42 -43
  53. package/tmpl/method.tmpl +139 -140
  54. package/tmpl/mobile-sidebar.tmpl +21 -0
  55. package/tmpl/navbar-actions.tmpl +19 -0
  56. package/tmpl/navbar-menu.tmpl +21 -0
  57. package/tmpl/navbar.tmpl +14 -0
  58. package/tmpl/params.tmpl +124 -124
  59. package/tmpl/properties.tmpl +109 -109
  60. package/tmpl/returns.tmpl +18 -18
  61. package/tmpl/search.tmpl +17 -0
  62. package/tmpl/sidebar-items.tmpl +24 -0
  63. package/tmpl/sidebar-title.tmpl +10 -0
  64. package/tmpl/sidebar.tmpl +9 -0
  65. package/tmpl/source.tmpl +12 -7
  66. package/tmpl/toc.tmpl +4 -0
  67. package/tmpl/tutorial.tmpl +19 -19
  68. package/tmpl/type.tmpl +6 -6
  69. package/helpers/navbarBuilder.js +0 -0
  70. package/static/fonts/MavenPro-Regular.ttf +0 -0
  71. package/static/fonts/Montserrat-Regular.ttf +0 -0
  72. package/static/fonts/Muli-Black.ttf +0 -0
  73. package/static/fonts/OFL-hind.txt +0 -93
  74. package/static/fonts/OFL-montserrat.txt +0 -93
  75. package/static/scripts/fix-code-block.js +0 -53
  76. package/static/scripts/fix-navbar.js +0 -25
  77. package/static/scripts/linenumber.js +0 -25
  78. package/static/scripts/misc.js +0 -217
  79. package/static/scripts/third-party/lang-css.js +0 -2
  80. package/static/scripts/third-party/prettify.js +0 -28
  81. package/static/styles/reset.css +0 -351
  82. package/static/styles/third-party/ionicons.min.css +0 -11
  83. package/static/styles/third-party/prettify-jsdoc.css +0 -111
  84. package/static/styles/third-party/prettify-tomorrow.css +0 -5
@@ -1,324 +1,411 @@
1
- ::selection {
2
- background: #ffce76;
3
- color: #000;
4
- }
5
-
6
- body {
7
- background-color: #121216;
8
- color: #f8f8f9;
9
- }
10
-
11
- a,
12
- a:active {
13
- color: #00abff;
14
- }
15
-
16
- hr {
17
- border: 1px solid #333;
18
- }
19
-
20
- h1,
21
- h2,
22
- h3,
23
- h4,
24
- h5,
25
- h6 {
26
- color: #f8f8f9;
27
- }
28
-
29
- h1,
30
- h2 {
31
- border-bottom: 0.0625rem solid #333;
32
- }
33
-
34
- .navbar {
35
- background: #000;
36
- }
37
-
38
- .navbar-ham {
39
- background: #444;
40
- }
41
-
42
- .navbar-ham .first,
43
- .navbar-ham .second,
44
- .navbar-ham .third {
45
- background: #fff;
46
- }
47
-
48
- .navbar-resize {
49
- background: #222;
50
- }
51
-
52
- .resize-dots-container .dots {
53
- background-color: #fff;
54
- }
55
-
56
-
57
- .search-box-input-container {
58
- background: #2a2b2c;
59
- }
60
-
61
- .search-icon {
62
- fill: #aeaeae;
63
- }
64
-
65
- .search-box-input {
66
- color: #fff;
67
- }
68
-
69
- .search-box-input::placeholder {
70
- color: #aeaeae;
71
- }
72
-
73
- .search-box-input:focus + .search-icon {
74
- fill: #fff;
75
- }
76
-
77
- .search-item-ul {
78
- background: #333;
79
- }
80
-
81
- .search-item-ul li:hover {
82
- background: rgba(0, 0, 0, 0.1);
83
- }
84
-
85
- .search-item-ul a,
86
- .search-item-ul li {
87
- color: #fff;
88
- }
89
-
90
- .accordion-heading {
91
- color: #fff;
92
- fill: #fff;
93
- }
94
-
95
- .accordion-content {
96
- background: #111;
97
- }
98
-
99
- .accordion-content a {
100
- color: #fff;
101
- }
102
-
103
- .methods.accordion-content {
104
- background: #202020;
105
- }
106
-
107
- .menu-link {
108
- color: #fff;
109
- }
110
-
111
-
112
- tt,
113
- code,
114
- kbd,
115
- samp {
116
- background: #222;
117
- }
118
-
119
-
120
- .signature-attributes {
121
- color: #aaa;
122
- }
123
-
124
-
125
- .ancestors {
126
- color: #999;
127
- }
128
-
129
- .ancestors a {
130
- color: #999 !important;
131
- }
132
-
133
- .important {
134
- color: #950b02;
135
- }
136
-
137
- .type-signature {
138
- color: #00918e;
139
- }
140
-
141
- .name,
142
- .name a {
143
- color: #f7f7f7;
144
- }
145
-
146
- .details {
147
- background: #000;
148
- color: #fff;
149
- }
150
-
151
- .prettyprint,
152
- .pre-top-bar-container {
153
- background: #000;
154
- }
155
-
156
- .member-item-container strong,
157
- .method-member-container strong {
158
- color: #fff;
159
- }
160
-
161
- .pre-top-bar-container {
162
- background: #090909;
163
- }
164
-
165
- .prettyprint.source,
166
- .prettyprint code {
167
- background-color: #000;
168
- }
169
-
170
- .prettyprint.linenums li {
171
- border-left: 3px #222831 solid;
172
- }
173
-
174
- /* stylelint-disable */
175
- .prettyprint.linenums li.selected,
176
- .prettyprint.linenums li.selected * {
177
- background-color: #404040;
178
- }
179
- /* stylelint-enable */
180
-
181
- table .name,
182
- .params .name,
183
- .props .name,
184
- .name code {
185
- color: #fff;
186
- }
187
-
188
- table td,
189
- .params td {
190
- background-color: #000;
191
- border-top: 1px solid #191919;
192
- }
193
-
194
- table thead tr,
195
- .params thead tr,
196
- .props thead tr {
197
- background-color: #000;
198
- color: #fff;
199
- }
200
-
201
- /* stylelint-disable */
202
- table .params thead tr,
203
- .params .params thead tr,
204
- .props .props thead tr {
205
- background-color: #000;
206
- color: #fff;
207
- }
208
-
209
-
210
- .disabled {
211
- color: #aaaaaa;
212
- }
213
-
214
- .code-copy-icon-container {
215
- fill: #fff;
216
- }
217
-
218
- .code-copy-icon-container:hover {
219
- background-color: #333;
220
- }
221
-
222
- .code-lang-name {
223
- color: #ff8a00;
224
- }
225
-
226
- .tooltip {
227
- background: #ffce76;
228
- color: #000;
229
- }
230
-
231
- .tooltip .pun,
232
- .tooltip .typ {
233
- background: #ffce76;
234
- color: #000;
235
- }
236
-
237
- /* code */
238
- .pln {
239
- color: #ffdd4a;
240
- }
241
-
242
- .str {
243
- color: #56e39f;
244
- }
245
-
246
- /* a keyword */
247
- .kwd {
248
- color: #08b2e3;
249
- }
250
-
251
- /* a comment */
252
- .com {
253
- color: #999;
254
- }
255
-
256
- /* a type name */
257
- .typ {
258
- color: #ef6f6c;
259
- }
260
-
261
- /* a literal value */
262
- .lit {
263
- color: #f5d67b;
264
- }
265
-
266
- /* punctuation */
267
- .pun {
268
- color: #5adbff;
269
- }
270
-
271
- /* lisp open bracket */
272
- .opn {
273
- color: #72e0d1;
274
- }
275
-
276
- /* lisp close bracket */
277
- .clo {
278
- color: #72e0d1;
279
- }
280
-
281
- /* a markup tag name */
282
- .tag {
283
- color: #007bff;
284
- }
285
-
286
- /* a markup attribute name */
287
- .atn {
288
- color: #f5d67b;
289
- }
290
-
291
- /* a markup attribute value */
292
- .atv {
293
- color: #3e999f;
294
- }
295
-
296
- /* a declaration */
297
- .dec {
298
- color: #f5871f;
299
- }
300
-
301
- /* a variable name */
302
- .var {
303
- color: #f5d67b;
304
- }
305
-
306
- /* a function name */
307
- .fun {
308
- color: #4271ae;
309
- }
310
-
311
-
312
- blockquote {
313
- background: #202020;
314
- color: #fff;
315
- }
316
-
317
- ol.linenums li {
318
- color: #fff;
319
- }
320
-
321
- code {
322
- background: #333;
323
- color: #fff;
324
- }
1
+ ::selection {
2
+ background: #ffce76;
3
+ color: #222;
4
+ }
5
+
6
+ body {
7
+ background-color: #1a1a1a;
8
+ color: #fff;
9
+ }
10
+
11
+ a,
12
+ a:active {
13
+ color: #00bbff;
14
+ }
15
+
16
+ h1,
17
+ h2,
18
+ h3,
19
+ h4,
20
+ h5,
21
+ h6 {
22
+ color: #fff;
23
+ }
24
+
25
+ .sidebar {
26
+ background-color: #222;
27
+ color: #999;
28
+ }
29
+
30
+ .sidebar-title {
31
+ color: #999;
32
+ }
33
+
34
+ .sidebar-section-title {
35
+ color: #999;
36
+ }
37
+
38
+ .sidebar-section-title:hover {
39
+ background: #252525;
40
+ }
41
+
42
+ .with-arrow {
43
+ fill: #999;
44
+ }
45
+
46
+ .sidebar-section-children-container {
47
+ background: #292929;
48
+ }
49
+
50
+ .sidebar-section-children a:hover {
51
+ background: #2c2c2c;
52
+ }
53
+
54
+ .sidebar-section-children a {
55
+ color: #fff;
56
+ }
57
+
58
+ .navbar-container {
59
+ background: #1a1a1a;
60
+ }
61
+
62
+ .icon-button svg,
63
+ .navbar-item a {
64
+ color: #999;
65
+ fill: #999;
66
+ }
67
+
68
+ .font-size-tooltip .icon-button svg {
69
+ fill: #fff;
70
+ }
71
+
72
+ .font-size-tooltip .icon-button.disabled {
73
+ background: #999;
74
+ }
75
+
76
+ .icon-button:hover {
77
+ background: #333;
78
+ }
79
+
80
+ .icon-button:active {
81
+ background: #444;
82
+ }
83
+
84
+ .navbar-item a:active {
85
+ color: #aaa;
86
+ background-color: #222;
87
+ }
88
+
89
+ .navbar-item:hover {
90
+ background: #202020;
91
+ }
92
+
93
+ .footer {
94
+ background: #222;
95
+ color: #999;
96
+ }
97
+
98
+ .footer a {
99
+ color: #999;
100
+ }
101
+
102
+ .toc-link {
103
+ color: #777;
104
+ transition: color 0.3s;
105
+ font-size: 0.875rem;
106
+ }
107
+
108
+ .toc-link.is-active-link {
109
+ color: #fff;
110
+ }
111
+
112
+ .has-anchor .link-anchor {
113
+ color: #555;
114
+ }
115
+
116
+ .has-anchor .link-anchor:hover {
117
+ color: #888;
118
+ }
119
+
120
+ tt,
121
+ code,
122
+ kbd,
123
+ samp {
124
+ background: #222;
125
+ }
126
+
127
+ .signature-attributes {
128
+ color: #aaa;
129
+ }
130
+
131
+ .ancestors {
132
+ color: #999;
133
+ }
134
+
135
+ .ancestors a {
136
+ color: #999 !important;
137
+ }
138
+
139
+ .important {
140
+ color: #950b02;
141
+ }
142
+
143
+ .type-signature {
144
+ color: #00918e;
145
+ }
146
+
147
+ .name,
148
+ .name a {
149
+ color: #f7f7f7;
150
+ }
151
+
152
+ .details {
153
+ background: #222;
154
+ color: #fff;
155
+ }
156
+
157
+ .details a {
158
+ color: #fff;
159
+ }
160
+
161
+ .prettyprint {
162
+ background: #222;
163
+ }
164
+
165
+ .member-item-container strong,
166
+ .method-member-container strong {
167
+ color: #fff;
168
+ }
169
+
170
+ .pre-top-bar-container {
171
+ background: #292929;
172
+ }
173
+
174
+ .prettyprint.source,
175
+ .prettyprint code {
176
+ background-color: #222;
177
+ color: #c9d1d9;
178
+ }
179
+
180
+ .pre-div {
181
+ background-color: #222;
182
+ }
183
+
184
+ .hljs .hljs-ln-numbers {
185
+ color: #777;
186
+ }
187
+
188
+ .hljs .selected {
189
+ background: #444;
190
+ }
191
+
192
+ .hljs .selected .hljs-ln-numbers {
193
+ color: #eee;
194
+ }
195
+
196
+ /* stylelint-enable */
197
+
198
+ table .name,
199
+ .params .name,
200
+ .props .name,
201
+ .name code {
202
+ color: #fff;
203
+ }
204
+
205
+ table td,
206
+ .params td {
207
+ background-color: #292929;
208
+ }
209
+
210
+ table thead th,
211
+ .params thead th,
212
+ .props thead th {
213
+ background-color: #222;
214
+ color: #fff;
215
+ }
216
+
217
+ /* stylelint-disable */
218
+ table .params thead tr,
219
+ .params .params thead tr,
220
+ .props .props thead tr {
221
+ background-color: #222;
222
+ color: #fff;
223
+ }
224
+
225
+ .disabled {
226
+ color: #aaaaaa;
227
+ }
228
+
229
+ .code-copy-icon-container {
230
+ fill: #fff;
231
+ }
232
+
233
+ .code-copy-icon-container:hover {
234
+ background-color: #444;
235
+ }
236
+
237
+ .code-lang-name {
238
+ color: #ff8a00;
239
+ }
240
+
241
+ .tooltip {
242
+ background: #ffce76;
243
+ color: #222;
244
+ }
245
+
246
+ .tooltip .pun,
247
+ .tooltip .typ {
248
+ background: #ffce76;
249
+ color: #222;
250
+ }
251
+
252
+ /* code */
253
+ .hljs-comment {
254
+ color: #8b949e;
255
+ }
256
+
257
+ .hljs-doctag,
258
+ .hljs-keyword,
259
+ .hljs-template-tag,
260
+ .hljs-variable.language_ {
261
+ color: #ff7b72;
262
+ }
263
+
264
+ .hljs-template-variable,
265
+ .hljs-type {
266
+ color: #30ac7c;
267
+ }
268
+
269
+ .hljs-meta,
270
+ .hljs-string,
271
+ .hljs-regexp {
272
+ color: #a5d6ff;
273
+ }
274
+
275
+ .hljs-title.class_,
276
+ .hljs-title {
277
+ color: #ffa657;
278
+ }
279
+
280
+ .hljs-title.class_.inherited__,
281
+ .hljs-title.function_ {
282
+ color: #d2a8ff;
283
+ }
284
+
285
+ .hljs-attr,
286
+ .hljs-attribute,
287
+ .hljs-literal,
288
+ .hljs-meta,
289
+ .hljs-number,
290
+ .hljs-operator,
291
+ .hljs-selector-attr,
292
+ .hljs-selector-class,
293
+ .hljs-selector-id,
294
+ .hljs-variable {
295
+ color: #79c0ff;
296
+ }
297
+
298
+ .hljs-meta .hljs-string,
299
+ .hljs-regexp,
300
+ .hljs-string {
301
+ color: #a5d6ff;
302
+ }
303
+
304
+ .hljs-built_in,
305
+ .hljs-symbol {
306
+ color: #ffa657;
307
+ }
308
+
309
+ .hljs-code,
310
+ .hljs-comment,
311
+ .hljs-formula {
312
+ color: #8b949e;
313
+ }
314
+
315
+ .hljs-name,
316
+ .hljs-quote,
317
+ .hljs-selector-pseudo,
318
+ .hljs-selector-tag {
319
+ color: #7ee787;
320
+ }
321
+
322
+ .hljs-subst {
323
+ color: #c9d1d9;
324
+ }
325
+
326
+ .hljs-section {
327
+ color: #1f6feb;
328
+ font-weight: 700;
329
+ }
330
+
331
+ .hljs-bullet {
332
+ color: #f2cc60;
333
+ }
334
+
335
+ .hljs-emphasis {
336
+ color: #c9d1d9;
337
+ font-style: italic;
338
+ }
339
+
340
+ .hljs-strong {
341
+ color: #c9d1d9;
342
+ font-weight: 700;
343
+ }
344
+
345
+ /* code end*/
346
+
347
+ blockquote {
348
+ background: #222;
349
+ color: #fff;
350
+ }
351
+
352
+ .search-container {
353
+ background: rgba(255, 255, 255, 0.1);
354
+ }
355
+
356
+ .icon-button.search-close-button svg {
357
+ fill: #a00;
358
+ }
359
+
360
+ .search-container .wrapper {
361
+ background: #222;
362
+ }
363
+
364
+ .search-result-c {
365
+ color: #666;
366
+ }
367
+
368
+ .search-box-c {
369
+ fill: #333;
370
+ }
371
+
372
+ .search-input {
373
+ background: #333;
374
+ color: #fff;
375
+ }
376
+
377
+ .search-box-c svg {
378
+ fill: #fff;
379
+ }
380
+
381
+ .search-result-item {
382
+ background: #333;
383
+ }
384
+
385
+ .search-result-item:hover {
386
+ background: #444;
387
+ }
388
+
389
+ .search-result-item:active {
390
+ background: #555;
391
+ }
392
+
393
+ .search-result-item-title {
394
+ color: #fff;
395
+ }
396
+
397
+ .search-result-item-p {
398
+ color: #aaa;
399
+ }
400
+
401
+ .mobile-menu-icon-container .icon-button {
402
+ background: #333;
403
+ }
404
+
405
+ .mobile-sidebar-container {
406
+ background: #1a1a1a;
407
+ }
408
+
409
+ .mobile-sidebar-wrapper {
410
+ background: #222;
411
+ }