clean-jsdoc-theme 3.3.1 → 3.3.4

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 +216 -210
  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 +546 -535
  18. package/SECURITY.md +21 -21
  19. package/helpers/down-arrow.js +9 -9
  20. package/jsdoc-config.json +60 -60
  21. package/package.json +46 -46
  22. package/publish.js +1197 -1195
  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 -217
  30. package/static/scripts/resize.js +85 -85
  31. package/static/scripts/search.js +77 -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 -351
  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 -208
  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 +165 -171
  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,351 +1,351 @@
1
- * {
2
- box-sizing: border-box;
3
- margin: 0;
4
- padding: 0;
5
- }
6
-
7
- html,
8
- body {
9
- min-height: 100%;
10
- width: 100%;
11
- }
12
-
13
- body {
14
- font-family: 'body';
15
- font-size: 16px;
16
- overflow-x: hidden;
17
- position: relative;
18
- }
19
-
20
- h1,
21
- h2,
22
- h3,
23
- h4,
24
- h5,
25
- h6 {
26
- font-family: 'heading';
27
- font-weight: 400;
28
- margin: 1rem;
29
- }
30
-
31
- h1 {
32
- font-size: 42px;
33
- margin: 2rem 0;
34
- padding-bottom: 0.5rem;
35
- }
36
-
37
- h2,
38
- h3 {
39
- margin: 1rem 0;
40
- padding-bottom: 0.5rem;
41
- }
42
-
43
- img {
44
- max-width: 100%;
45
- }
46
-
47
- a {
48
- text-decoration: none;
49
- }
50
-
51
- a:hover {
52
- text-decoration: underline;
53
- }
54
-
55
- p {
56
- margin: 1rem 0;
57
- }
58
-
59
- article ul {
60
- list-style: none;
61
- padding-left: 1rem;
62
- }
63
-
64
- article ul li::before {
65
- content: '\2014\a0';
66
- margin-right: 0.5rem;
67
- }
68
-
69
- article ul li,
70
- article ol li {
71
- padding: 0.5rem 0;
72
- }
73
-
74
- article ol {
75
- padding-left: 1rem;
76
- }
77
-
78
- /* stylelint-disable-next-line */
79
- ol.linenums li {
80
- padding: 0;
81
- }
82
-
83
- .variation {
84
- display: none;
85
- }
86
-
87
- .signature-attributes {
88
- font-size: 60%;
89
- font-style: italic;
90
- font-weight: lighter;
91
- }
92
-
93
- .ancestors a {
94
- text-decoration: none;
95
- }
96
-
97
- .important {
98
- font-weight: bold;
99
- }
100
-
101
- .yes-def {
102
- text-indent: -1000px;
103
- }
104
-
105
- .signature {
106
- font-family: 'code';
107
- font-size: 80%;
108
- }
109
-
110
- .name {
111
- font-family: 'code';
112
- font-size: 110%;
113
- font-weight: bold;
114
- }
115
-
116
- .name a {
117
- font-size: 90%;
118
- }
119
-
120
- .details {
121
- margin: 1rem 0;
122
- padding: 0.625rem 1rem;
123
- }
124
-
125
- .details .details-item-container {
126
- display: flex;
127
- margin: 10px 0;
128
- }
129
-
130
- .details dt {
131
- float: left;
132
- min-width: 180px;
133
- padding: 0 10px;
134
- }
135
-
136
- .details ul {
137
- margin: 0;
138
- }
139
-
140
- .details ul {
141
- list-style-type: none;
142
- }
143
-
144
- .details ul li {
145
- display: inline-block;
146
- margin-right: 10px;
147
- padding: 0;
148
- word-break: break-word;
149
- }
150
-
151
- .details ul li::before {
152
- content: '';
153
- margin: 0;
154
- }
155
-
156
- /* stylelint-disable-next-line */
157
- .details ul li p {
158
- margin: 0;
159
- }
160
-
161
- /* stylelint-disable */
162
- .details pre.prettyprint {
163
- margin: 0;
164
- }
165
- /* stylelint-enable */
166
-
167
- .details .object-value {
168
- padding-top: 0;
169
- }
170
-
171
- .description {
172
- margin-bottom: 32px;
173
- }
174
-
175
- .method-member-container table {
176
- margin-top: 15px;
177
- }
178
-
179
- .code-caption {
180
- font-size: 90%;
181
- }
182
-
183
- .prettyprint {
184
- border-radius: 8px;
185
- font-size: 14px;
186
- margin: 30px 0;
187
- overflow: auto;
188
- padding-top: 5px;
189
- }
190
-
191
- .prettyprint.source {
192
- width: inherit;
193
- }
194
-
195
- .prettyprint code {
196
- display: block;
197
- /*
198
- display is set to table if supported.
199
- */
200
- display: table;
201
- font-size: 0.875rem;
202
- line-height: 1rem;
203
- padding: 1rem 2rem;
204
- }
205
-
206
- .prettyprint > code {
207
- padding: 30px;
208
- }
209
-
210
- .prettyprint .linenums code {
211
- padding: 0 15px;
212
- }
213
-
214
- /* stylelint-disable */
215
- .prettyprint .linenums li:first-of-type code {
216
- padding-top: 15px;
217
- }
218
-
219
- .prettyprint code span.line {
220
- display: inline-block;
221
- }
222
-
223
- .prettyprint.linenums {
224
- user-select: none;
225
- user-select: none;
226
- user-select: none;
227
- user-select: none;
228
- }
229
-
230
- .prettyprint.linenums > div {
231
- margin-top: 1.6rem;
232
- padding-left: 4.7rem;
233
- }
234
-
235
- .prettyprint > div {
236
- overflow: auto;
237
- }
238
-
239
- .prettyprint.linenums ol {
240
- padding-left: 0;
241
- }
242
-
243
- .prettyprint.linenums code,
244
- .prettyprint.linenums li {
245
- min-height: 25px;
246
- }
247
-
248
- .prettyprint.linenums code {
249
- display: inline;
250
- }
251
-
252
- .prettyprint.linenums li.selected,
253
- .prettyprint.linenums li.selected * {
254
- padding: 1px;
255
- }
256
- /* stylelint-enable */
257
-
258
- .prettyprint.linenums li * {
259
- user-select: text;
260
- user-select: text;
261
- user-select: text;
262
- user-select: text;
263
- }
264
-
265
- .params,
266
- .props,
267
- table {
268
- border-collapse: collapse;
269
- border-radius: 8px;
270
- border-spacing: 0;
271
- font-size: 14px;
272
- margin: 0;
273
- width: 100%;
274
- }
275
-
276
- .params .name,
277
- .props .name,
278
- .name code {
279
- font-family: 'code';
280
- font-size: 100%;
281
- }
282
-
283
- .params td,
284
- .params th,
285
- .props td,
286
- .props th,
287
- th,
288
- td {
289
- display: table-cell;
290
- margin: 0;
291
- padding: 15px;
292
- text-align: left;
293
- vertical-align: top;
294
- }
295
-
296
- .params thead tr,
297
- .props thead tr {
298
- font-weight: bold;
299
- }
300
-
301
- /* stylelint-disable */
302
- .params .params thead tr,
303
- .props .props thead tr {
304
- font-weight: bold;
305
- }
306
-
307
- .params td.description > p:first-child,
308
- .props td.description > p:first-child {
309
- margin-top: 0;
310
- padding-top: 0;
311
- }
312
-
313
- .params td.description > p:last-child,
314
- .props td.description > p:last-child {
315
- margin-bottom: 0;
316
- padding-bottom: 0;
317
- }
318
-
319
- dl.param-type {
320
- margin-bottom: 30px;
321
- padding-bottom: 30px;
322
- }
323
-
324
- /* stylelint-enable */
325
-
326
- .param-type dt,
327
- .param-type dd {
328
- display: inline-block;
329
- }
330
-
331
- .param-type dd {
332
- font-family: 'code';
333
- font-size: 80%;
334
- }
335
-
336
- code {
337
- border-radius: 0.3rem;
338
- font-family: 'code';
339
- font-size: 0.8rem;
340
- padding: 0.1rem 0.4rem;
341
- }
342
-
343
- .mt-20 {
344
- margin-top: 20px;
345
- }
346
-
347
- .codepen-form {
348
- bottom: 0;
349
- position: absolute;
350
- right: 10px;
351
- }
1
+ * {
2
+ box-sizing: border-box;
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+
7
+ html,
8
+ body {
9
+ min-height: 100%;
10
+ width: 100%;
11
+ }
12
+
13
+ body {
14
+ font-family: 'body';
15
+ font-size: 16px;
16
+ overflow-x: hidden;
17
+ position: relative;
18
+ }
19
+
20
+ h1,
21
+ h2,
22
+ h3,
23
+ h4,
24
+ h5,
25
+ h6 {
26
+ font-family: 'heading';
27
+ font-weight: 400;
28
+ margin: 1rem;
29
+ }
30
+
31
+ h1 {
32
+ font-size: 42px;
33
+ margin: 2rem 0;
34
+ padding-bottom: 0.5rem;
35
+ }
36
+
37
+ h2,
38
+ h3 {
39
+ margin: 1rem 0;
40
+ padding-bottom: 0.5rem;
41
+ }
42
+
43
+ img {
44
+ max-width: 100%;
45
+ }
46
+
47
+ a {
48
+ text-decoration: none;
49
+ }
50
+
51
+ a:hover {
52
+ text-decoration: underline;
53
+ }
54
+
55
+ p {
56
+ margin: 1rem 0;
57
+ }
58
+
59
+ article ul {
60
+ list-style: none;
61
+ padding-left: 1rem;
62
+ }
63
+
64
+ article ul li::before {
65
+ content: '\2014\a0';
66
+ margin-right: 0.5rem;
67
+ }
68
+
69
+ article ul li,
70
+ article ol li {
71
+ padding: 0.5rem 0;
72
+ }
73
+
74
+ article ol {
75
+ padding-left: 1rem;
76
+ }
77
+
78
+ /* stylelint-disable-next-line */
79
+ ol.linenums li {
80
+ padding: 0;
81
+ }
82
+
83
+ .variation {
84
+ display: none;
85
+ }
86
+
87
+ .signature-attributes {
88
+ font-size: 60%;
89
+ font-style: italic;
90
+ font-weight: lighter;
91
+ }
92
+
93
+ .ancestors a {
94
+ text-decoration: none;
95
+ }
96
+
97
+ .important {
98
+ font-weight: bold;
99
+ }
100
+
101
+ .yes-def {
102
+ text-indent: -1000px;
103
+ }
104
+
105
+ .signature {
106
+ font-family: 'code';
107
+ font-size: 80%;
108
+ }
109
+
110
+ .name {
111
+ font-family: 'code';
112
+ font-size: 110%;
113
+ font-weight: bold;
114
+ }
115
+
116
+ .name a {
117
+ font-size: 90%;
118
+ }
119
+
120
+ .details {
121
+ margin: 1rem 0;
122
+ padding: 0.625rem 1rem;
123
+ }
124
+
125
+ .details .details-item-container {
126
+ display: flex;
127
+ margin: 10px 0;
128
+ }
129
+
130
+ .details dt {
131
+ float: left;
132
+ min-width: 180px;
133
+ padding: 0 10px;
134
+ }
135
+
136
+ .details ul {
137
+ margin: 0;
138
+ }
139
+
140
+ .details ul {
141
+ list-style-type: none;
142
+ }
143
+
144
+ .details ul li {
145
+ display: inline-block;
146
+ margin-right: 10px;
147
+ padding: 0;
148
+ word-break: break-word;
149
+ }
150
+
151
+ .details ul li::before {
152
+ content: '';
153
+ margin: 0;
154
+ }
155
+
156
+ /* stylelint-disable-next-line */
157
+ .details ul li p {
158
+ margin: 0;
159
+ }
160
+
161
+ /* stylelint-disable */
162
+ .details pre.prettyprint {
163
+ margin: 0;
164
+ }
165
+ /* stylelint-enable */
166
+
167
+ .details .object-value {
168
+ padding-top: 0;
169
+ }
170
+
171
+ .description {
172
+ margin-bottom: 32px;
173
+ }
174
+
175
+ .method-member-container table {
176
+ margin-top: 15px;
177
+ }
178
+
179
+ .code-caption {
180
+ font-size: 90%;
181
+ }
182
+
183
+ .prettyprint {
184
+ border-radius: 8px;
185
+ font-size: 14px;
186
+ margin: 30px 0;
187
+ overflow: auto;
188
+ padding-top: 5px;
189
+ }
190
+
191
+ .prettyprint.source {
192
+ width: inherit;
193
+ }
194
+
195
+ .prettyprint code {
196
+ display: block;
197
+ /*
198
+ display is set to table if supported.
199
+ */
200
+ display: table;
201
+ font-size: 0.875rem;
202
+ line-height: 1rem;
203
+ padding: 1rem 2rem;
204
+ }
205
+
206
+ .prettyprint > code {
207
+ padding: 30px;
208
+ }
209
+
210
+ .prettyprint .linenums code {
211
+ padding: 0 15px;
212
+ }
213
+
214
+ /* stylelint-disable */
215
+ .prettyprint .linenums li:first-of-type code {
216
+ padding-top: 15px;
217
+ }
218
+
219
+ .prettyprint code span.line {
220
+ display: inline-block;
221
+ }
222
+
223
+ .prettyprint.linenums {
224
+ user-select: none;
225
+ user-select: none;
226
+ user-select: none;
227
+ user-select: none;
228
+ }
229
+
230
+ .prettyprint.linenums > div {
231
+ margin-top: 1.6rem;
232
+ padding-left: 4.7rem;
233
+ }
234
+
235
+ .prettyprint > div {
236
+ overflow: auto;
237
+ }
238
+
239
+ .prettyprint.linenums ol {
240
+ padding-left: 0;
241
+ }
242
+
243
+ .prettyprint.linenums code,
244
+ .prettyprint.linenums li {
245
+ min-height: 25px;
246
+ }
247
+
248
+ .prettyprint.linenums code {
249
+ display: inline;
250
+ }
251
+
252
+ .prettyprint.linenums li.selected,
253
+ .prettyprint.linenums li.selected * {
254
+ padding: 1px;
255
+ }
256
+ /* stylelint-enable */
257
+
258
+ .prettyprint.linenums li * {
259
+ user-select: text;
260
+ user-select: text;
261
+ user-select: text;
262
+ user-select: text;
263
+ }
264
+
265
+ .params,
266
+ .props,
267
+ table {
268
+ border-collapse: collapse;
269
+ border-radius: 8px;
270
+ border-spacing: 0;
271
+ font-size: 14px;
272
+ margin: 0;
273
+ width: 100%;
274
+ }
275
+
276
+ .params .name,
277
+ .props .name,
278
+ .name code {
279
+ font-family: 'code';
280
+ font-size: 100%;
281
+ }
282
+
283
+ .params td,
284
+ .params th,
285
+ .props td,
286
+ .props th,
287
+ th,
288
+ td {
289
+ display: table-cell;
290
+ margin: 0;
291
+ padding: 15px;
292
+ text-align: left;
293
+ vertical-align: top;
294
+ }
295
+
296
+ .params thead tr,
297
+ .props thead tr {
298
+ font-weight: bold;
299
+ }
300
+
301
+ /* stylelint-disable */
302
+ .params .params thead tr,
303
+ .props .props thead tr {
304
+ font-weight: bold;
305
+ }
306
+
307
+ .params td.description > p:first-child,
308
+ .props td.description > p:first-child {
309
+ margin-top: 0;
310
+ padding-top: 0;
311
+ }
312
+
313
+ .params td.description > p:last-child,
314
+ .props td.description > p:last-child {
315
+ margin-bottom: 0;
316
+ padding-bottom: 0;
317
+ }
318
+
319
+ dl.param-type {
320
+ margin-bottom: 30px;
321
+ padding-bottom: 30px;
322
+ }
323
+
324
+ /* stylelint-enable */
325
+
326
+ .param-type dt,
327
+ .param-type dd {
328
+ display: inline-block;
329
+ }
330
+
331
+ .param-type dd {
332
+ font-family: 'code';
333
+ font-size: 80%;
334
+ }
335
+
336
+ code {
337
+ border-radius: 0.3rem;
338
+ font-family: 'code';
339
+ font-size: 0.8rem;
340
+ padding: 0.1rem 0.4rem;
341
+ }
342
+
343
+ .mt-20 {
344
+ margin-top: 20px;
345
+ }
346
+
347
+ .codepen-form {
348
+ bottom: 0;
349
+ position: absolute;
350
+ right: 10px;
351
+ }