clean-jsdoc-theme 3.3.4 → 4.0.3

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 (86) 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 → codeql.yml} +72 -67
  7. package/.github/workflows/greetings.yml +16 -0
  8. package/.prettierignore +2 -2
  9. package/.prettierrc +5 -5
  10. package/.stylelintignore +3 -3
  11. package/.stylelintrc +23 -23
  12. package/.travis.yml +30 -30
  13. package/CHANGELOG.md +232 -216
  14. package/CODE_OF_CONDUCT.md +76 -76
  15. package/CODE_OF_CONDUCT_HINDI.md +46 -46
  16. package/CONTRIBUTING.md +24 -24
  17. package/LICENSE +21 -21
  18. package/README.md +441 -546
  19. package/SECURITY.md +21 -21
  20. package/helpers/down-arrow.js +9 -9
  21. package/jsdoc-config.json +62 -60
  22. package/minify.js +52 -0
  23. package/package.json +50 -46
  24. package/publish.js +1131 -1197
  25. package/static/fonts/Inconsolata-Regular.ttf +0 -0
  26. package/static/fonts/OpenSans-Regular.ttf +0 -0
  27. package/static/fonts/WorkSans-Bold.ttf +0 -0
  28. package/static/scripts/core.js +576 -0
  29. package/static/scripts/core.min.js +23 -0
  30. package/static/scripts/resize.js +90 -85
  31. package/static/scripts/search.js +244 -77
  32. package/static/scripts/search.min.js +11 -0
  33. package/static/scripts/third-party/Apache-License-2.0.txt +202 -202
  34. package/static/scripts/third-party/fuse.js +8 -8
  35. package/static/scripts/third-party/hljs-line-num.js +1 -0
  36. package/static/scripts/third-party/hljs-original.js +5162 -0
  37. package/static/scripts/third-party/hljs.js +1 -0
  38. package/static/scripts/third-party/popper.js +6 -0
  39. package/static/scripts/third-party/tippy.js +2 -0
  40. package/static/scripts/third-party/tocbot.js +1 -0
  41. package/static/styles/clean-jsdoc-theme-base.css +959 -393
  42. package/static/styles/clean-jsdoc-theme-dark.css +407 -324
  43. package/static/styles/clean-jsdoc-theme-light.css +388 -319
  44. package/static/styles/clean-jsdoc-theme.min.css +1 -0
  45. package/tmpl/augments.tmpl +10 -10
  46. package/tmpl/container.tmpl +190 -189
  47. package/tmpl/details.tmpl +208 -208
  48. package/tmpl/example.tmpl +3 -3
  49. package/tmpl/examples.tmpl +40 -38
  50. package/tmpl/exceptions.tmpl +32 -32
  51. package/tmpl/icons.tmpl +72 -34
  52. package/tmpl/layout.tmpl +146 -165
  53. package/tmpl/mainpage.tmpl +10 -10
  54. package/tmpl/members.tmpl +42 -43
  55. package/tmpl/method.tmpl +139 -140
  56. package/tmpl/mobile-sidebar.tmpl +21 -0
  57. package/tmpl/navbar-actions.tmpl +19 -0
  58. package/tmpl/navbar-menu.tmpl +25 -0
  59. package/tmpl/navbar.tmpl +14 -0
  60. package/tmpl/params.tmpl +124 -124
  61. package/tmpl/properties.tmpl +109 -109
  62. package/tmpl/returns.tmpl +18 -18
  63. package/tmpl/search.tmpl +17 -0
  64. package/tmpl/sidebar-items.tmpl +24 -0
  65. package/tmpl/sidebar-title.tmpl +10 -0
  66. package/tmpl/sidebar.tmpl +9 -0
  67. package/tmpl/source.tmpl +12 -7
  68. package/tmpl/toc.tmpl +4 -0
  69. package/tmpl/tutorial.tmpl +19 -19
  70. package/tmpl/type.tmpl +6 -6
  71. package/helpers/navbarBuilder.js +0 -0
  72. package/static/fonts/MavenPro-Regular.ttf +0 -0
  73. package/static/fonts/Montserrat-Regular.ttf +0 -0
  74. package/static/fonts/Muli-Black.ttf +0 -0
  75. package/static/fonts/OFL-hind.txt +0 -93
  76. package/static/fonts/OFL-montserrat.txt +0 -93
  77. package/static/scripts/fix-code-block.js +0 -53
  78. package/static/scripts/fix-navbar.js +0 -25
  79. package/static/scripts/linenumber.js +0 -25
  80. package/static/scripts/misc.js +0 -217
  81. package/static/scripts/third-party/lang-css.js +0 -2
  82. package/static/scripts/third-party/prettify.js +0 -28
  83. package/static/styles/reset.css +0 -351
  84. package/static/styles/third-party/ionicons.min.css +0 -11
  85. package/static/styles/third-party/prettify-jsdoc.css +0 -111
  86. package/static/styles/third-party/prettify-tomorrow.css +0 -5
@@ -1,324 +1,407 @@
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: #333;
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-lang-name {
230
+ color: #ff8a00;
231
+ }
232
+
233
+ .tooltip {
234
+ background: #ffce76;
235
+ color: #222;
236
+ }
237
+
238
+ /* code */
239
+ .hljs-comment {
240
+ color: #8b949e;
241
+ }
242
+
243
+ .hljs-doctag,
244
+ .hljs-keyword,
245
+ .hljs-template-tag,
246
+ .hljs-variable.language_ {
247
+ color: #ff7b72;
248
+ }
249
+
250
+ .hljs-template-variable,
251
+ .hljs-type {
252
+ color: #30ac7c;
253
+ }
254
+
255
+ .hljs-meta,
256
+ .hljs-string,
257
+ .hljs-regexp {
258
+ color: #a5d6ff;
259
+ }
260
+
261
+ .hljs-title.class_,
262
+ .hljs-title {
263
+ color: #ffa657;
264
+ }
265
+
266
+ .hljs-title.class_.inherited__,
267
+ .hljs-title.function_ {
268
+ color: #d2a8ff;
269
+ }
270
+
271
+ .hljs-attr,
272
+ .hljs-attribute,
273
+ .hljs-literal,
274
+ .hljs-meta,
275
+ .hljs-number,
276
+ .hljs-operator,
277
+ .hljs-selector-attr,
278
+ .hljs-selector-class,
279
+ .hljs-selector-id,
280
+ .hljs-variable {
281
+ color: #79c0ff;
282
+ }
283
+
284
+ .hljs-meta .hljs-string,
285
+ .hljs-regexp,
286
+ .hljs-string {
287
+ color: #a5d6ff;
288
+ }
289
+
290
+ .hljs-built_in,
291
+ .hljs-symbol {
292
+ color: #ffa657;
293
+ }
294
+
295
+ .hljs-code,
296
+ .hljs-comment,
297
+ .hljs-formula {
298
+ color: #8b949e;
299
+ }
300
+
301
+ .hljs-name,
302
+ .hljs-quote,
303
+ .hljs-selector-pseudo,
304
+ .hljs-selector-tag {
305
+ color: #7ee787;
306
+ }
307
+
308
+ .hljs-subst {
309
+ color: #c9d1d9;
310
+ }
311
+
312
+ .hljs-section {
313
+ color: #1f6feb;
314
+ font-weight: 700;
315
+ }
316
+
317
+ .hljs-bullet {
318
+ color: #f2cc60;
319
+ }
320
+
321
+ .hljs-emphasis {
322
+ color: #c9d1d9;
323
+ font-style: italic;
324
+ }
325
+
326
+ .hljs-strong {
327
+ color: #c9d1d9;
328
+ font-weight: 700;
329
+ }
330
+
331
+ /* code end*/
332
+
333
+ blockquote {
334
+ background: #222;
335
+ color: #fff;
336
+ }
337
+
338
+ .search-container {
339
+ background: rgba(255, 255, 255, 0.1);
340
+ }
341
+
342
+ .icon-button.search-close-button svg {
343
+ fill: #a00;
344
+ }
345
+
346
+ .search-container .wrapper {
347
+ background: #222;
348
+ }
349
+
350
+ .search-result-c {
351
+ color: #666;
352
+ }
353
+
354
+ .search-box-c {
355
+ fill: #333;
356
+ }
357
+
358
+ .search-input {
359
+ background: #333;
360
+ color: #fff;
361
+ }
362
+
363
+ .search-box-c svg {
364
+ fill: #fff;
365
+ }
366
+
367
+ .search-result-item {
368
+ background: #333;
369
+ }
370
+
371
+ .search-result-item:hover {
372
+ background: #444;
373
+ }
374
+
375
+ .search-result-item:active {
376
+ background: #555;
377
+ }
378
+
379
+ .search-result-item-title {
380
+ color: #fff;
381
+ }
382
+
383
+ .search-result-item-p {
384
+ color: #aaa;
385
+ }
386
+
387
+ .mobile-menu-icon-container .icon-button {
388
+ background: #333;
389
+ }
390
+
391
+ .mobile-sidebar-container {
392
+ background: #1a1a1a;
393
+ }
394
+
395
+ .mobile-sidebar-wrapper {
396
+ background: #222;
397
+ }
398
+
399
+ /* scroll bar */
400
+ ::-webkit-scrollbar-track {
401
+ background: #333;
402
+ }
403
+
404
+ ::-webkit-scrollbar-thumb {
405
+ background: #555;
406
+ outline: 0.06125rem solid #555;
407
+ }