web-documentation 1.0.18 → 1.0.20
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.
- package/package.json +6 -6
- package/source/index.css +20 -20
- package/source/index.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-documentation",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "Declarative multilanguage documentation website generator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"documentation",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"watch": "weboptimizer build --watch"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@aws-sdk/client-s3": "^3.
|
|
54
|
-
"@babel/eslint-parser": "^7.
|
|
55
|
-
"@babel/runtime": "^7.29.
|
|
53
|
+
"@aws-sdk/client-s3": "^3.1053.0",
|
|
54
|
+
"@babel/eslint-parser": "^7.29.7",
|
|
55
|
+
"@babel/runtime": "^7.29.7",
|
|
56
56
|
"@eslint/js": "^10.0.1",
|
|
57
57
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
58
58
|
"@types/archiver": "^7.0.0",
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
"ua-parser-js": "^2.0.10",
|
|
106
106
|
"unzipper": "^0.12.3",
|
|
107
107
|
"web-component-wrapper": "^0.0.592",
|
|
108
|
-
"web-internationalization": "^2.0.
|
|
108
|
+
"web-internationalization": "^2.0.34",
|
|
109
109
|
"weboptimizer": "^3.0.24",
|
|
110
110
|
"webpack-dev-server": "^5.2.4",
|
|
111
|
-
"website-utilities": "^1.0.
|
|
111
|
+
"website-utilities": "^1.0.438"
|
|
112
112
|
},
|
|
113
113
|
"engines": {
|
|
114
114
|
"node": ">=24",
|
package/source/index.css
CHANGED
|
@@ -18,13 +18,13 @@ endregion */
|
|
|
18
18
|
|
|
19
19
|
:root {
|
|
20
20
|
/* region extra small dimension */
|
|
21
|
-
@custom-media --
|
|
22
|
-
@custom-media --
|
|
21
|
+
@custom-media --wu-extra-extra-small (min-width: 360px);
|
|
22
|
+
@custom-media --wu-extra-small (min-width: 500px);
|
|
23
23
|
/* endregion */
|
|
24
24
|
/* region default media query dimensions */
|
|
25
|
-
@custom-media --
|
|
26
|
-
@custom-media --
|
|
27
|
-
@custom-media --
|
|
25
|
+
@custom-media --wu-small (min-width: 768px);
|
|
26
|
+
@custom-media --wu-medium (min-width: 992px);
|
|
27
|
+
@custom-media --wu-large (min-width: 1200px);
|
|
28
28
|
/* endregion */
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -89,7 +89,7 @@ body {
|
|
|
89
89
|
|
|
90
90
|
background-image: url("image/arrowDown.png");
|
|
91
91
|
background-position: 0 0;
|
|
92
|
-
height: var(--
|
|
92
|
+
height: var(--wu-default-space);
|
|
93
93
|
width: 20px;
|
|
94
94
|
}
|
|
95
95
|
/* stylelint-enable at-rule-no-unknown */
|
|
@@ -102,7 +102,7 @@ body {
|
|
|
102
102
|
background-color: var(--color8);
|
|
103
103
|
color: var(--color7);
|
|
104
104
|
|
|
105
|
-
font-family: var(--
|
|
105
|
+
font-family: var(--wu-typography-font-family);
|
|
106
106
|
font-size: 14px;
|
|
107
107
|
|
|
108
108
|
margin: 0;
|
|
@@ -120,7 +120,7 @@ body {
|
|
|
120
120
|
position: relative;
|
|
121
121
|
|
|
122
122
|
margin: 0 auto;
|
|
123
|
-
padding: var(--
|
|
123
|
+
padding: var(--wu-default-space) calc(var(--wu-default-space) / 2);
|
|
124
124
|
}
|
|
125
125
|
/** endregion */
|
|
126
126
|
/** region headline */
|
|
@@ -132,7 +132,7 @@ body {
|
|
|
132
132
|
h6 {
|
|
133
133
|
color: var(--color8);
|
|
134
134
|
|
|
135
|
-
font-family: var(--
|
|
135
|
+
font-family: var(--wu-typography-font-family-headline);
|
|
136
136
|
font-size: 2em;
|
|
137
137
|
|
|
138
138
|
letter-spacing: -1px;
|
|
@@ -302,7 +302,7 @@ body {
|
|
|
302
302
|
|
|
303
303
|
display: none;
|
|
304
304
|
float: right;
|
|
305
|
-
margin-left: var(--
|
|
305
|
+
margin-left: var(--wu-default-space);
|
|
306
306
|
margin-top: 39px;
|
|
307
307
|
}
|
|
308
308
|
/* region download buttons */
|
|
@@ -318,7 +318,7 @@ body {
|
|
|
318
318
|
font-size: 1.2em;
|
|
319
319
|
font-weight: bolder;
|
|
320
320
|
height: 66px;
|
|
321
|
-
margin-right: calc(var(--
|
|
321
|
+
margin-right: calc(var(--wu-default-space) / 2);
|
|
322
322
|
overflow: hidden;
|
|
323
323
|
padding-top: 29px;
|
|
324
324
|
text-align: center;
|
|
@@ -374,7 +374,7 @@ body {
|
|
|
374
374
|
|
|
375
375
|
.section__home {
|
|
376
376
|
p {
|
|
377
|
-
margin: var(--
|
|
377
|
+
margin: var(--wu-default-space) 0 0 0;
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
code {
|
|
@@ -391,7 +391,7 @@ body {
|
|
|
391
391
|
|
|
392
392
|
border: 1px solid var(--color4);
|
|
393
393
|
|
|
394
|
-
margin: var(--
|
|
394
|
+
margin: var(--wu-default-space) 0 0 0;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
.show-example-wrapper {
|
|
@@ -401,15 +401,15 @@ body {
|
|
|
401
401
|
border-top: 0;
|
|
402
402
|
|
|
403
403
|
margin-top: -14px;
|
|
404
|
-
padding: calc(var(--
|
|
404
|
+
padding: calc(var(--wu-default-space) / 2);
|
|
405
405
|
|
|
406
406
|
h3 {
|
|
407
407
|
color: var(--color5);
|
|
408
|
-
font-family: var(--
|
|
408
|
+
font-family: var(--wu-typography-font-family);
|
|
409
409
|
font-size: 0.9em;
|
|
410
410
|
font-weight: bold;
|
|
411
411
|
letter-spacing: 1px;
|
|
412
|
-
margin-bottom: calc(var(--
|
|
412
|
+
margin-bottom: calc(var(--wu-default-space) / 2);
|
|
413
413
|
margin-top: 0;
|
|
414
414
|
}
|
|
415
415
|
|
|
@@ -422,14 +422,14 @@ body {
|
|
|
422
422
|
/* endregion */
|
|
423
423
|
/* region responsive */
|
|
424
424
|
/** region extra extra small */
|
|
425
|
-
@media (--
|
|
425
|
+
@media (--wu-extra-extra-small) {
|
|
426
426
|
/** region extra small */
|
|
427
|
-
@media (--
|
|
427
|
+
@media (--wu-extra-small) {
|
|
428
428
|
.header__inner__links__api-link span {
|
|
429
429
|
display: initial;
|
|
430
430
|
}
|
|
431
431
|
|
|
432
|
-
@media (--
|
|
432
|
+
@media (--wu-small) {
|
|
433
433
|
/* region small */
|
|
434
434
|
/** region headline */
|
|
435
435
|
h2 {
|
|
@@ -464,7 +464,7 @@ body {
|
|
|
464
464
|
}
|
|
465
465
|
/* endregion */
|
|
466
466
|
/* region medium */
|
|
467
|
-
@media (--
|
|
467
|
+
@media (--wu-medium) {
|
|
468
468
|
.top-link { right: 45px; }
|
|
469
469
|
|
|
470
470
|
.section__home code {
|
package/source/index.ts
CHANGED
|
@@ -30,7 +30,6 @@ import {
|
|
|
30
30
|
Logger,
|
|
31
31
|
Mapping,
|
|
32
32
|
NOOP,
|
|
33
|
-
timeout,
|
|
34
33
|
wrap
|
|
35
34
|
} from 'clientnode'
|
|
36
35
|
import {func, object} from 'clientnode/property-types'
|
|
@@ -291,7 +290,8 @@ export class WebDocumentation<
|
|
|
291
290
|
(event) => {
|
|
292
291
|
event.preventDefault()
|
|
293
292
|
|
|
294
|
-
const selector =
|
|
293
|
+
const selector =
|
|
294
|
+
(event.target as Element | null)?.getAttribute('href')
|
|
295
295
|
if (selector) {
|
|
296
296
|
const targetDomNode =
|
|
297
297
|
this.hostDomNode.querySelector(selector)
|