clean-jsdoc-theme 3.2.8 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) 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 +210 -191
  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 +535 -500
  18. package/SECURITY.md +21 -21
  19. package/helpers/down-arrow.js +9 -9
  20. package/jsdoc-config.json +60 -59
  21. package/package.json +46 -46
  22. package/publish.js +1195 -941
  23. package/static/fonts/Montserrat-Regular.ttf +0 -0
  24. package/static/fonts/OFL-hind.txt +0 -0
  25. package/static/fonts/OFL-montserrat.txt +0 -0
  26. package/static/scripts/fix-code-block.js +53 -53
  27. package/static/scripts/fix-navbar.js +25 -25
  28. package/static/scripts/linenumber.js +25 -25
  29. package/static/scripts/misc.js +217 -210
  30. package/static/scripts/resize.js +85 -85
  31. package/static/scripts/search.js +83 -83
  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/lang-css.js +2 -2
  35. package/static/scripts/third-party/prettify.js +28 -28
  36. package/static/styles/clean-jsdoc-theme-base.css +393 -393
  37. package/static/styles/clean-jsdoc-theme-dark.css +324 -324
  38. package/static/styles/clean-jsdoc-theme-light.css +319 -319
  39. package/static/styles/reset.css +351 -346
  40. package/static/styles/third-party/ionicons.min.css +11 -11
  41. package/static/styles/third-party/prettify-jsdoc.css +111 -111
  42. package/static/styles/third-party/prettify-tomorrow.css +5 -5
  43. package/tmpl/augments.tmpl +10 -10
  44. package/tmpl/container.tmpl +189 -189
  45. package/tmpl/details.tmpl +208 -209
  46. package/tmpl/example.tmpl +3 -3
  47. package/tmpl/examples.tmpl +38 -38
  48. package/tmpl/exceptions.tmpl +32 -32
  49. package/tmpl/icons.tmpl +34 -34
  50. package/tmpl/layout.tmpl +171 -167
  51. package/tmpl/mainpage.tmpl +10 -10
  52. package/tmpl/members.tmpl +43 -43
  53. package/tmpl/method.tmpl +140 -140
  54. package/tmpl/params.tmpl +124 -124
  55. package/tmpl/properties.tmpl +109 -109
  56. package/tmpl/returns.tmpl +18 -18
  57. package/tmpl/source.tmpl +7 -7
  58. package/tmpl/tutorial.tmpl +19 -19
  59. package/tmpl/type.tmpl +6 -6
@@ -1,393 +1,393 @@
1
- @font-face {
2
- font-family: 'heading';
3
- src: url('../fonts/Muli-Black.ttf') format('truetype');
4
- }
5
-
6
- @font-face {
7
- font-family: 'body';
8
- src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
9
- }
10
-
11
- @font-face {
12
- font-family: 'code';
13
- src: url('../fonts/MavenPro-Regular.ttf') format('truetype');
14
- }
15
-
16
- /*
17
- * Padding horizontal normal
18
- */
19
-
20
- .p-h-n {
21
- padding: 0.4rem 1rem;
22
- }
23
-
24
- .main-content {
25
- /**
26
- * This should match with the width of the nav / sidebar.
27
- */
28
- margin-left: 18.75rem;
29
- overflow-x: auto;
30
- padding: 1rem 2rem;
31
- }
32
-
33
- .navbar {
34
- bottom: 0;
35
- left: 0;
36
- overflow: hidden;
37
- position: fixed;
38
- top: 0;
39
- width: 18.75rem;
40
- z-index: 10;
41
-
42
- }
43
-
44
- .navbar-ham {
45
- bottom: 1rem;
46
- cursor: pointer;
47
- display: none;
48
- height: 2.5rem;
49
- padding-top: 0.2rem;
50
- position: fixed;
51
- right: 1rem;
52
- width: 3rem;
53
- z-index: 100;
54
- }
55
-
56
- .navbar-ham .first,
57
- .navbar-ham .second,
58
- .navbar-ham .third {
59
- height: 0.125rem;
60
- left: 0.5rem;
61
- position: absolute;
62
- transition: 0.3s;
63
- width: 2rem;
64
- }
65
-
66
- .navbar-ham div {
67
- height: 2.1rem;
68
- overflow: hidden;
69
- position: relative;
70
- width: 3rem;
71
- }
72
-
73
- .navbar-ham .first {
74
- top: 0.5rem;
75
- }
76
-
77
- .navbar-ham .second {
78
- top: 1rem;
79
- }
80
-
81
- .navbar-ham .third {
82
- top: 1.5rem;
83
- }
84
-
85
- .navbar-ham.expanded .first {
86
- transform: rotate(45deg) translate(0.3125rem, 0.3125rem);
87
- }
88
-
89
- .navbar-ham.expanded .second {
90
- transform: translateX(200%);
91
- }
92
-
93
- .navbar-ham.expanded .third {
94
- transform: rotate(135deg) translate(-0.4rem, 0.3125rem);
95
- }
96
-
97
- .navbar-resize {
98
- bottom: 0;
99
- cursor: col-resize;
100
- display: none;
101
- left: auto;
102
- position: absolute;
103
- right: 0;
104
- top: 0;
105
- width: 0.5rem;
106
- }
107
-
108
- .navbar:hover .navbar-resize {
109
- display: block;
110
- }
111
-
112
- .resize-dots-container {
113
- align-items: center;
114
- display: flex;
115
- flex-direction: column;
116
- height: 100%;
117
- justify-content: center;
118
- position: relative;
119
- }
120
-
121
- .resize-dots-container .dots {
122
- border-radius: 50%;
123
- height: 0.25rem;
124
- margin: 0.125rem 0;
125
- width: 0.25rem;
126
- }
127
-
128
-
129
- .footer {
130
- font-size: 0.8rem;
131
- margin-left: 18.75rem;
132
- margin-top: 1rem;
133
- padding: 1rem 2rem;
134
- }
135
-
136
- .navbar h1,
137
- .navbar h2,
138
- .navbar h3,
139
- .navbar h4,
140
- .navbar h5,
141
- .navbar h6 {
142
- border: 0;
143
- margin: 0;
144
- padding: 0;
145
- }
146
-
147
- .navbar-heading {
148
- display: flex;
149
- justify-content: flex-start;
150
- padding: 2rem 1rem;
151
- }
152
-
153
- .navbar-heading a:hover {
154
- text-decoration: none;
155
- }
156
-
157
- .navbar-heading-text {
158
- font-size: 1.8rem;
159
- }
160
-
161
- .search-box {
162
- margin-bottom: 1rem;
163
- padding: 0 1rem;
164
- position: relative;
165
- }
166
-
167
- .search-box-input-container {
168
- align-items: center;
169
- display: flex;
170
- padding: 0.5rem 1rem;
171
- }
172
-
173
- .search-icon {
174
- height: 1rem;
175
- width: 1rem;
176
-
177
- }
178
-
179
- .search-box-input {
180
- background-color: transparent;
181
- border: 0;
182
- display: inline-block;
183
- font-family: 'body';
184
- font-size: 1rem;
185
- margin-right: 0.5rem;
186
- outline: 0;
187
- width: 100%;
188
- }
189
-
190
- .search-item-container {
191
- left: 0;
192
- position: absolute;
193
- right: 0;
194
- /**
195
- * height of search container.
196
- */
197
- top: 2.3125rem;
198
- z-index: 10;
199
- }
200
-
201
- .search-item-ul {
202
- list-style: none;
203
- margin: 0 1rem;
204
- max-height: 18.75rem;
205
- overflow: auto;
206
- }
207
-
208
- .search-item-ul li {
209
- display: flex;
210
- }
211
-
212
- .search-item-ul a {
213
- flex: 1;
214
- font-size: 0.8rem;
215
- padding: 0.4rem 1rem;
216
- }
217
-
218
- .sidebar-main-content {
219
- margin: 1rem;
220
- overflow: auto;
221
- }
222
-
223
- .accordion {
224
- margin: 1rem 0;
225
- }
226
-
227
-
228
- .accordion-heading {
229
- cursor: pointer;
230
- display: flex;
231
- justify-content: space-between;
232
- padding-right: 1rem;
233
- }
234
-
235
- .accordion-heading svg {
236
- height: 1rem;
237
- width: 1rem;
238
- }
239
-
240
- .accordion-content {
241
- list-style: none;
242
- margin: 1rem 0;
243
- overflow: hidden;
244
- padding: 0;
245
- transition: 0.3s;
246
- }
247
-
248
- .accordion.collapsed .accordion-content {
249
- height: 0;
250
- margin: 0;
251
- }
252
-
253
- .accordion svg {
254
- transition: 0.3s;
255
- }
256
-
257
- .accordion.collapsed svg {
258
- transform: rotate(180deg);
259
- }
260
-
261
- .accordion-list {
262
- margin: 0.5rem 1rem;
263
- }
264
-
265
- .accordion-heading.child {
266
- padding: 0.5rem 1rem;
267
-
268
- }
269
-
270
- .accordion [data-type=method] {
271
- margin: 0.5rem 1rem;
272
- }
273
-
274
-
275
- .accordion.child {
276
- margin: 0;
277
- padding: 0;
278
- }
279
-
280
- .methods.accordion-content {
281
- margin: 0;
282
- }
283
-
284
-
285
- .menu-li {
286
- margin: 1rem 0;
287
- }
288
-
289
-
290
- pre {
291
- position: relative;
292
- }
293
-
294
- .pre-top-bar-container {
295
- align-items: center;
296
- display: flex;
297
- justify-content: space-between;
298
- left: 0;
299
- padding: 0.3125rem 1.5rem;
300
- position: absolute;
301
- right: 0;
302
- top: 0;
303
- }
304
-
305
- .code-copy-icon-container {
306
- align-items: center;
307
- border-radius: 50%;
308
- cursor: pointer;
309
- display: flex;
310
- height: 1.875rem;
311
- justify-content: center;
312
- transition: 0.3s;
313
- width: 1.875rem;
314
- }
315
-
316
- .code-copy-icon-container > div {
317
- margin-top: 0.25rem;
318
- position: relative;
319
- }
320
-
321
- .sm-icon {
322
- height: 1rem;
323
- width: 1rem;
324
- }
325
-
326
- .code-lang-name {
327
- font-family: 'code';
328
- font-size: 12px;
329
- }
330
-
331
- .tooltip {
332
- border-radius: 5px;
333
- opacity: 0;
334
- padding: 3px 8px;
335
- position: absolute;
336
- right: 30px;
337
- top: -2px;
338
- transform: scale(0);
339
- transition: 0.3s;
340
- }
341
-
342
- .show-tooltip {
343
- opacity: 1;
344
- transform: scale(1);
345
- }
346
-
347
- blockquote {
348
- font-size: 0.875rem;
349
- padding: 0.0625rem 1.25rem;
350
- }
351
-
352
- .allow-overflow {
353
- overflow: auto;
354
- }
355
-
356
-
357
-
358
- @media screen and (max-width: 50rem) {
359
-
360
- .navbar-ham {
361
- display: block;
362
- }
363
-
364
- .navbar {
365
- transition: 0.3s;
366
- width: 0 !important;
367
- }
368
-
369
- .navbar.expanded {
370
- right: 0;
371
- width: 100% !important;
372
- }
373
-
374
- .navbar:hover .navbar-resize,
375
- .navbar-resize {
376
- display: none;
377
- }
378
-
379
- .main-content,
380
- .footer {
381
- margin-left: 0 !important;
382
- padding: 1rem;
383
- }
384
-
385
- .method-member-container {
386
- overflow: auto;
387
- }
388
-
389
- }
390
-
391
- .rel {
392
- position: relative;
393
- }
1
+ @font-face {
2
+ font-family: 'heading';
3
+ src: url('../fonts/Muli-Black.ttf') format('truetype');
4
+ }
5
+
6
+ @font-face {
7
+ font-family: 'body';
8
+ src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
9
+ }
10
+
11
+ @font-face {
12
+ font-family: 'code';
13
+ src: url('../fonts/MavenPro-Regular.ttf') format('truetype');
14
+ }
15
+
16
+ /*
17
+ * Padding horizontal normal
18
+ */
19
+
20
+ .p-h-n {
21
+ padding: 0.4rem 1rem;
22
+ }
23
+
24
+ .main-content {
25
+ /**
26
+ * This should match with the width of the nav / sidebar.
27
+ */
28
+ margin-left: 18.75rem;
29
+ overflow-x: auto;
30
+ padding: 1rem 2rem;
31
+ }
32
+
33
+ .navbar {
34
+ bottom: 0;
35
+ left: 0;
36
+ overflow: hidden;
37
+ position: fixed;
38
+ top: 0;
39
+ width: 18.75rem;
40
+ z-index: 10;
41
+
42
+ }
43
+
44
+ .navbar-ham {
45
+ bottom: 1rem;
46
+ cursor: pointer;
47
+ display: none;
48
+ height: 2.5rem;
49
+ padding-top: 0.2rem;
50
+ position: fixed;
51
+ right: 1rem;
52
+ width: 3rem;
53
+ z-index: 100;
54
+ }
55
+
56
+ .navbar-ham .first,
57
+ .navbar-ham .second,
58
+ .navbar-ham .third {
59
+ height: 0.125rem;
60
+ left: 0.5rem;
61
+ position: absolute;
62
+ transition: 0.3s;
63
+ width: 2rem;
64
+ }
65
+
66
+ .navbar-ham div {
67
+ height: 2.1rem;
68
+ overflow: hidden;
69
+ position: relative;
70
+ width: 3rem;
71
+ }
72
+
73
+ .navbar-ham .first {
74
+ top: 0.5rem;
75
+ }
76
+
77
+ .navbar-ham .second {
78
+ top: 1rem;
79
+ }
80
+
81
+ .navbar-ham .third {
82
+ top: 1.5rem;
83
+ }
84
+
85
+ .navbar-ham.expanded .first {
86
+ transform: rotate(45deg) translate(0.3125rem, 0.3125rem);
87
+ }
88
+
89
+ .navbar-ham.expanded .second {
90
+ transform: translateX(200%);
91
+ }
92
+
93
+ .navbar-ham.expanded .third {
94
+ transform: rotate(135deg) translate(-0.4rem, 0.3125rem);
95
+ }
96
+
97
+ .navbar-resize {
98
+ bottom: 0;
99
+ cursor: col-resize;
100
+ display: none;
101
+ left: auto;
102
+ position: absolute;
103
+ right: 0;
104
+ top: 0;
105
+ width: 0.5rem;
106
+ }
107
+
108
+ .navbar:hover .navbar-resize {
109
+ display: block;
110
+ }
111
+
112
+ .resize-dots-container {
113
+ align-items: center;
114
+ display: flex;
115
+ flex-direction: column;
116
+ height: 100%;
117
+ justify-content: center;
118
+ position: relative;
119
+ }
120
+
121
+ .resize-dots-container .dots {
122
+ border-radius: 50%;
123
+ height: 0.25rem;
124
+ margin: 0.125rem 0;
125
+ width: 0.25rem;
126
+ }
127
+
128
+
129
+ .footer {
130
+ font-size: 0.8rem;
131
+ margin-left: 18.75rem;
132
+ margin-top: 1rem;
133
+ padding: 1rem 2rem;
134
+ }
135
+
136
+ .navbar h1,
137
+ .navbar h2,
138
+ .navbar h3,
139
+ .navbar h4,
140
+ .navbar h5,
141
+ .navbar h6 {
142
+ border: 0;
143
+ margin: 0;
144
+ padding: 0;
145
+ }
146
+
147
+ .navbar-heading {
148
+ display: flex;
149
+ justify-content: flex-start;
150
+ padding: 2rem 1rem;
151
+ }
152
+
153
+ .navbar-heading a:hover {
154
+ text-decoration: none;
155
+ }
156
+
157
+ .navbar-heading-text {
158
+ font-size: 1.8rem;
159
+ }
160
+
161
+ .search-box {
162
+ margin-bottom: 1rem;
163
+ padding: 0 1rem;
164
+ position: relative;
165
+ }
166
+
167
+ .search-box-input-container {
168
+ align-items: center;
169
+ display: flex;
170
+ padding: 0.5rem 1rem;
171
+ }
172
+
173
+ .search-icon {
174
+ height: 1rem;
175
+ width: 1rem;
176
+
177
+ }
178
+
179
+ .search-box-input {
180
+ background-color: transparent;
181
+ border: 0;
182
+ display: inline-block;
183
+ font-family: 'body';
184
+ font-size: 1rem;
185
+ margin-right: 0.5rem;
186
+ outline: 0;
187
+ width: 100%;
188
+ }
189
+
190
+ .search-item-container {
191
+ left: 0;
192
+ position: absolute;
193
+ right: 0;
194
+ /**
195
+ * height of search container.
196
+ */
197
+ top: 2.3125rem;
198
+ z-index: 10;
199
+ }
200
+
201
+ .search-item-ul {
202
+ list-style: none;
203
+ margin: 0 1rem;
204
+ max-height: 18.75rem;
205
+ overflow: auto;
206
+ }
207
+
208
+ .search-item-ul li {
209
+ display: flex;
210
+ }
211
+
212
+ .search-item-ul a {
213
+ flex: 1;
214
+ font-size: 0.8rem;
215
+ padding: 0.4rem 1rem;
216
+ }
217
+
218
+ .sidebar-main-content {
219
+ margin: 1rem;
220
+ overflow: auto;
221
+ }
222
+
223
+ .accordion {
224
+ margin: 1rem 0;
225
+ }
226
+
227
+
228
+ .accordion-heading {
229
+ cursor: pointer;
230
+ display: flex;
231
+ justify-content: space-between;
232
+ padding-right: 1rem;
233
+ }
234
+
235
+ .accordion-heading svg {
236
+ height: 1rem;
237
+ width: 1rem;
238
+ }
239
+
240
+ .accordion-content {
241
+ list-style: none;
242
+ margin: 1rem 0;
243
+ overflow: hidden;
244
+ padding: 0;
245
+ transition: 0.3s;
246
+ }
247
+
248
+ .accordion.collapsed .accordion-content {
249
+ height: 0;
250
+ margin: 0;
251
+ }
252
+
253
+ .accordion svg {
254
+ transition: 0.3s;
255
+ }
256
+
257
+ .accordion.collapsed svg {
258
+ transform: rotate(180deg);
259
+ }
260
+
261
+ .accordion-list {
262
+ margin: 0.5rem 1rem;
263
+ }
264
+
265
+ .accordion-heading.child {
266
+ padding: 0.5rem 1rem;
267
+
268
+ }
269
+
270
+ .accordion [data-type=method] {
271
+ margin: 0.5rem 1rem;
272
+ }
273
+
274
+
275
+ .accordion.child {
276
+ margin: 0;
277
+ padding: 0;
278
+ }
279
+
280
+ .methods.accordion-content {
281
+ margin: 0;
282
+ }
283
+
284
+
285
+ .menu-li {
286
+ margin: 1rem 0;
287
+ }
288
+
289
+
290
+ pre {
291
+ position: relative;
292
+ }
293
+
294
+ .pre-top-bar-container {
295
+ align-items: center;
296
+ display: flex;
297
+ justify-content: space-between;
298
+ left: 0;
299
+ padding: 0.3125rem 1.5rem;
300
+ position: absolute;
301
+ right: 0;
302
+ top: 0;
303
+ }
304
+
305
+ .code-copy-icon-container {
306
+ align-items: center;
307
+ border-radius: 50%;
308
+ cursor: pointer;
309
+ display: flex;
310
+ height: 1.875rem;
311
+ justify-content: center;
312
+ transition: 0.3s;
313
+ width: 1.875rem;
314
+ }
315
+
316
+ .code-copy-icon-container > div {
317
+ margin-top: 0.25rem;
318
+ position: relative;
319
+ }
320
+
321
+ .sm-icon {
322
+ height: 1rem;
323
+ width: 1rem;
324
+ }
325
+
326
+ .code-lang-name {
327
+ font-family: 'code';
328
+ font-size: 12px;
329
+ }
330
+
331
+ .tooltip {
332
+ border-radius: 5px;
333
+ opacity: 0;
334
+ padding: 3px 8px;
335
+ position: absolute;
336
+ right: 30px;
337
+ top: -2px;
338
+ transform: scale(0);
339
+ transition: 0.3s;
340
+ }
341
+
342
+ .show-tooltip {
343
+ opacity: 1;
344
+ transform: scale(1);
345
+ }
346
+
347
+ blockquote {
348
+ font-size: 0.875rem;
349
+ padding: 0.0625rem 1.25rem;
350
+ }
351
+
352
+ .allow-overflow {
353
+ overflow: auto;
354
+ }
355
+
356
+
357
+
358
+ @media screen and (max-width: 50rem) {
359
+
360
+ .navbar-ham {
361
+ display: block;
362
+ }
363
+
364
+ .navbar {
365
+ transition: 0.3s;
366
+ width: 0 !important;
367
+ }
368
+
369
+ .navbar.expanded {
370
+ right: 0;
371
+ width: 100% !important;
372
+ }
373
+
374
+ .navbar:hover .navbar-resize,
375
+ .navbar-resize {
376
+ display: none;
377
+ }
378
+
379
+ .main-content,
380
+ .footer {
381
+ margin-left: 0 !important;
382
+ padding: 1rem;
383
+ }
384
+
385
+ .method-member-container {
386
+ overflow: auto;
387
+ }
388
+
389
+ }
390
+
391
+ .rel {
392
+ position: relative;
393
+ }