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,319 +1,392 @@
1
- ::selection {
2
- background: #ffce76;
3
- color: #1d1919;
4
- }
5
-
6
- body {
7
- background-color: #fff;
8
- color: #2f343a;
9
- }
10
-
11
- a,
12
- a:active {
13
- color: #530fff;
14
- }
15
-
16
- hr {
17
- border: 1px solid #eee;
18
- }
19
-
20
- h1,
21
- h2,
22
- h3,
23
- h4,
24
- h5,
25
- h6 {
26
- color: #2f343a;
27
- }
28
-
29
- h1,
30
- h2 {
31
- border-bottom: 0.0625rem solid #eee;
32
- }
33
-
34
- .navbar {
35
- background: #f8f8fa;
36
- }
37
-
38
- .navbar-ham {
39
- background: #ddd;
40
- }
41
-
42
- .navbar-ham .first,
43
- .navbar-ham .second,
44
- .navbar-ham .third {
45
- background: #000;
46
- }
47
-
48
- .navbar-resize {
49
- background: #eee;
50
- }
51
-
52
- .resize-dots-container .dots {
53
- background-color: #000;
54
- }
55
-
56
- blockquote {
57
- background: #f7f7f7;
58
- color: #888;
59
- }
60
-
61
-
62
- .search-box-input-container {
63
- background: rgba(0, 0, 0, 0.02);
64
- }
65
-
66
- .search-icon {
67
- fill: #888;
68
- }
69
-
70
- .search-box-input {
71
- color: #000;
72
- }
73
-
74
- .search-box-input::placeholder {
75
- color: #888;
76
- }
77
-
78
- .search-box-input:focus + .search-icon {
79
- fill: #000;
80
- }
81
-
82
- .search-item-ul {
83
- background: #eee;
84
- }
85
-
86
- .search-item-ul li:hover {
87
- background: rgba(0, 0, 0, 0.1);
88
- }
89
-
90
- .search-item-ul a,
91
- .search-item-ul li {
92
- color: #000;
93
- }
94
-
95
- .accordion-heading {
96
- color: #000;
97
- fill: #000;
98
- }
99
-
100
- .accordion-content {
101
- background: rgba(0, 0, 0, 0.02);
102
- }
103
-
104
- .accordion-content a {
105
- color: #000;
106
- }
107
-
108
- .methods.accordion-content {
109
- background: #e9e9e9;
110
- }
111
-
112
- .menu-link {
113
- color: #000;
114
- }
115
-
116
- .signature-attributes {
117
- color: #aaa;
118
- }
119
-
120
- .ancestors {
121
- color: #999;
122
- }
123
-
124
- .ancestors a {
125
- color: #999 !important;
126
- }
127
-
128
- .important {
129
- color: #950b02;
130
- }
131
-
132
- .type-signature {
133
- color: #00918e;
134
- }
135
-
136
- .name,
137
- .name a {
138
- color: #293a80;
139
- }
140
-
141
- .details {
142
- background: #f9f9f9;
143
- color: #101010;
144
- }
145
-
146
- .member-item-container strong,
147
- .method-member-container strong {
148
- color: #000;
149
- }
150
-
151
- .prettyprint,
152
- .pre-top-bar-container {
153
- background: #000;
154
- }
155
-
156
- .prettyprint code {
157
- background-color: #000;
158
- }
159
-
160
- .prettyprint.linenums li {
161
- border-left: 3px #222831 solid;
162
- }
163
-
164
- /* stylelint-disable */
165
- .prettyprint.linenums li.selected,
166
- .prettyprint.linenums li.selected * {
167
- background-color: #404040;
168
- }
169
- /* stylelint-enable */
170
-
171
- table,
172
- .params,
173
- .props {
174
- box-shadow: 0 0 15px -4px rgba(0, 0, 0, 0.1);
175
- }
176
-
177
- table .name,
178
- .params .name,
179
- .props .name,
180
- .name code {
181
- color: #4d4e53;
182
- }
183
-
184
- table td,
185
- .params td {
186
- border-top: 1px solid #eee;
187
- }
188
-
189
- table thead tr,
190
- .params thead tr,
191
- .props thead tr {
192
- background-color: #fff;
193
- color: #000;
194
- }
195
-
196
- /* stylelint-disable */
197
- table .params thead tr,
198
- .params .params thead tr,
199
- .props .props thead tr {
200
- background-color: #fff;
201
- color: #000;
202
- }
203
-
204
- /* dl.param-type {
205
- border-bottom: 1px solid hsl(0, 0%, 87%);
206
- } */
207
-
208
- .disabled {
209
- color: #454545;
210
- }
211
-
212
-
213
- .code-copy-icon-container {
214
- fill: #fff;
215
- }
216
-
217
- .code-copy-icon-container:hover {
218
- background-color: #fff;
219
- fill: #000;
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
- .pln {
238
- color: #f5d67b;
239
- }
240
-
241
- /* string content */
242
- .str {
243
- color: #55ae95;
244
- }
245
-
246
- /* a keyword */
247
- .kwd {
248
- color: #5edfff;
249
- }
250
-
251
- /* a comment */
252
- .com {
253
- color: #a0a0a0;
254
- }
255
-
256
- /* a type name */
257
- .typ {
258
- color: #f5d67b;
259
- }
260
-
261
- /* a literal value */
262
- .lit {
263
- color: #f5d67b;
264
- }
265
-
266
- /* punctuation */
267
- .pun {
268
- color: #72e0d1;
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
- ol.linenums li {
312
- color: #fff;
313
- }
314
-
315
-
316
- code {
317
- background: #eee;
318
- color: #000;
319
- }
1
+ .light ::selection {
2
+ background: #ffce76;
3
+ color: #1d1919;
4
+ }
5
+
6
+ body.light {
7
+ background-color: #fff;
8
+ color: #111;
9
+ }
10
+
11
+ .light a,
12
+ .light a:active {
13
+ color: #007bff;
14
+ }
15
+
16
+ .light h1,
17
+ .light h2,
18
+ .light h3,
19
+ .light h4,
20
+ .light h5,
21
+ .light h6 {
22
+ color: #111;
23
+ }
24
+
25
+ .light .sidebar {
26
+ background-color: #f7f7f7;
27
+ color: #222;
28
+ }
29
+
30
+ .light .sidebar-title {
31
+ color: #222;
32
+ }
33
+
34
+ .light .sidebar-section-title {
35
+ color: #222;
36
+ }
37
+
38
+ .light .sidebar-section-title:hover {
39
+ background: #eee;
40
+ }
41
+
42
+ .light .with-arrow {
43
+ fill: #111;
44
+ }
45
+
46
+ .light .sidebar-section-children-container {
47
+ background: #eee;
48
+ }
49
+
50
+ .light .sidebar-section-children a:hover {
51
+ background: #e0e0e0;
52
+ }
53
+
54
+ .light .sidebar-section-children a {
55
+ color: #111;
56
+ }
57
+
58
+ .light .navbar-container {
59
+ background: #fff;
60
+ }
61
+
62
+ .light .icon-button svg,
63
+ .light .navbar-item a {
64
+ color: #222;
65
+ fill: #222;
66
+ }
67
+
68
+ .light .tippy-box {
69
+ background: #eee;
70
+ color: #111;
71
+ }
72
+
73
+ .light .tippy-arrow {
74
+ color: #f1f1f1;
75
+ }
76
+
77
+ .light .font-size-tooltip .icon-button svg {
78
+ fill: #111;
79
+ }
80
+
81
+ .light .font-size-tooltip .icon-button.disabled svg {
82
+ fill: #999;
83
+ }
84
+
85
+ .light .icon-button:hover {
86
+ background: #f1f1f1;
87
+ }
88
+
89
+ .light .icon-button:active {
90
+ background: #e5e5e5;
91
+ }
92
+
93
+ .light .navbar-item a:active {
94
+ color: #333;
95
+ background-color: #eee;
96
+ }
97
+
98
+ .light .navbar-item:hover {
99
+ background: #f7f7f7;
100
+ }
101
+
102
+ .light .footer {
103
+ background: #f7f7f7;
104
+ color: #111;
105
+ }
106
+
107
+ .light .footer a {
108
+ color: #111;
109
+ }
110
+
111
+ .light .toc-link {
112
+ color: #999;
113
+ transition: color 0.3s;
114
+ font-size: 0.875rem;
115
+ }
116
+
117
+ .light .toc-link.is-active-link {
118
+ color: #111;
119
+ }
120
+
121
+ .light .has-anchor .link-anchor {
122
+ color: #ddd;
123
+ }
124
+
125
+ .light .has-anchor .link-anchor:hover {
126
+ color: #ccc;
127
+ }
128
+
129
+ .light .signature-attributes {
130
+ color: #aaa;
131
+ }
132
+
133
+ .light .ancestors {
134
+ color: #999;
135
+ }
136
+
137
+ .light .ancestors a {
138
+ color: #999 !important;
139
+ }
140
+
141
+ .light .important {
142
+ color: #950b02;
143
+ }
144
+
145
+ .light .type-signature {
146
+ color: #00918e;
147
+ }
148
+
149
+ .light .name,
150
+ .light .name a {
151
+ color: #293a80;
152
+ }
153
+
154
+ .light .details {
155
+ background: #f9f9f9;
156
+ color: #101010;
157
+ }
158
+
159
+ .light .details a {
160
+ color: #111;
161
+ }
162
+
163
+ .light .member-item-container strong,
164
+ .light .method-member-container strong {
165
+ color: #000;
166
+ }
167
+
168
+ .light .prettyprint {
169
+ background: #f7f7f7;
170
+ }
171
+
172
+ .light .pre-div {
173
+ background: #f7f7f7;
174
+ }
175
+
176
+ .light .hljs .hljs-ln-numbers {
177
+ color: #aaa;
178
+ }
179
+
180
+ .light .hljs .selected {
181
+ background: #ccc;
182
+ }
183
+
184
+ .light table.hljs-ln td {
185
+ background: none;
186
+ }
187
+
188
+ .light .hljs .selected .hljs-ln-numbers {
189
+ color: #444;
190
+ }
191
+
192
+ .light .pre-top-bar-container {
193
+ background-color: #eee;
194
+ }
195
+
196
+ .light .prettyprint code {
197
+ background-color: #f7f7f7;
198
+ }
199
+
200
+ .light table .name,
201
+ .light .params .name,
202
+ .light .props .name,
203
+ .light .name code {
204
+ color: #4d4e53;
205
+ }
206
+
207
+ .light table td,
208
+ .light .params td {
209
+ background: #f7f7f7;
210
+ }
211
+
212
+ .light table thead th,
213
+ .light .params thead th,
214
+ .light .props thead th {
215
+ background-color: #eee;
216
+ color: #111;
217
+ }
218
+
219
+ /* stylelint-disable */
220
+ .light table .params thead tr,
221
+ .light .params .params thead tr,
222
+ .light .props .props thead tr {
223
+ background-color: #eee;
224
+ color: #111;
225
+ }
226
+
227
+ .light .disabled {
228
+ color: #454545;
229
+ }
230
+
231
+ .light .code-copy-icon-container {
232
+ fill: #111;
233
+ }
234
+
235
+ .light .code-copy-icon-container:hover {
236
+ background-color: #ddd;
237
+ }
238
+
239
+ .light .code-lang-name {
240
+ color: #ff0000;
241
+ }
242
+
243
+ .light .tooltip {
244
+ background: #ffce76;
245
+ color: #000;
246
+ }
247
+
248
+ .light .tooltip .pun,
249
+ .light .tooltip .typ {
250
+ background: #ffce76;
251
+ color: #000;
252
+ }
253
+
254
+ /* Code */
255
+
256
+ .light .hljs-comment,
257
+ .light .hljs-quote {
258
+ color: #a0a1a7;
259
+ }
260
+
261
+ .light .hljs-doctag,
262
+ .light .hljs-keyword,
263
+ .light .hljs-formula {
264
+ color: #a626a4;
265
+ }
266
+
267
+ .light .hljs-section,
268
+ .light .hljs-name,
269
+ .light .hljs-selector-tag,
270
+ .light .hljs-deletion,
271
+ .light .hljs-subst {
272
+ color: #e45649;
273
+ }
274
+
275
+ .light .hljs-literal {
276
+ color: #0184bb;
277
+ }
278
+
279
+ .light .hljs-string,
280
+ .light .hljs-regexp,
281
+ .light .hljs-addition,
282
+ .light .hljs-attribute,
283
+ .light .hljs-meta .hljs-string {
284
+ color: #50a14f;
285
+ }
286
+
287
+ .light .hljs-attr,
288
+ .light .hljs-variable,
289
+ .light .hljs-template-variable,
290
+ .light .hljs-type,
291
+ .light .hljs-selector-class,
292
+ .light .hljs-selector-attr,
293
+ .light .hljs-selector-pseudo,
294
+ .light .hljs-number {
295
+ color: #986801;
296
+ }
297
+
298
+ .light .hljs-symbol,
299
+ .light .hljs-bullet,
300
+ .light .hljs-link,
301
+ .light .hljs-meta,
302
+ .light .hljs-selector-id,
303
+ .light .hljs-title {
304
+ color: #4078f2;
305
+ }
306
+
307
+ .light .hljs-built_in,
308
+ .light .hljs-title.class_,
309
+ .light .hljs-class .hljs-title {
310
+ color: #c18401;
311
+ }
312
+
313
+ .light .hljs-emphasis {
314
+ font-style: italic;
315
+ }
316
+
317
+ .light .hljs-strong {
318
+ font-weight: bold;
319
+ }
320
+
321
+ .light .hljs-link {
322
+ text-decoration: underline;
323
+ }
324
+
325
+ /* Code Ends */
326
+
327
+ .light blockquote {
328
+ background: #eee;
329
+ color: #111;
330
+ }
331
+
332
+ .light code {
333
+ background: #eee;
334
+ color: #000;
335
+ }
336
+
337
+ .light .search-container {
338
+ background: rgba(0, 0, 0, 0.1);
339
+ }
340
+
341
+ .light .search-close-button svg {
342
+ fill: #f00;
343
+ }
344
+
345
+ .light .search-container .wrapper {
346
+ background: #eee;
347
+ }
348
+
349
+ .light .search-result-c {
350
+ color: #aaa;
351
+ }
352
+
353
+ .light .search-box-c svg {
354
+ fill: #333;
355
+ }
356
+
357
+ .light .search-input {
358
+ background: #f7f7f7;
359
+ color: #111;
360
+ }
361
+
362
+ .light .search-result-item {
363
+ background: #f7f7f7;
364
+ }
365
+
366
+ .light .search-result-item:hover {
367
+ background: #e9e9e9;
368
+ }
369
+
370
+ .light .search-result-item:active {
371
+ background: #f7f7f7;
372
+ }
373
+
374
+ .light .search-result-item-title {
375
+ color: #111;
376
+ }
377
+
378
+ .light .search-result-item-p {
379
+ color: #aaa;
380
+ }
381
+
382
+ .light .mobile-menu-icon-container .icon-button {
383
+ background: #e5e5e5;
384
+ }
385
+
386
+ .light .mobile-sidebar-container {
387
+ background: #fff;
388
+ }
389
+
390
+ .light .mobile-sidebar-wrapper {
391
+ background: #f7f7f7;
392
+ }