@nebularstreams/statify 3.0.3 → 3.0.6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebularstreams/statify",
3
- "version": "3.0.3",
3
+ "version": "3.0.6",
4
4
  "description": "Generate Cool Landing and Documentation Pages",
5
5
  "scripts": {
6
6
  "build:app": "node tool/cli.js app",
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable */
2
2
  const COOKIES_FOOTER_FULL = (productName = "Obscene Studio", domain="obscene.studio") => `
3
- <div id="cookies" class="screen d-none" role="alert" aria-label="GDPR-Compliant Cookie Constent Dialog">
3
+ <aside id="cookies" class="screen d-none" aria-label="GDPR-Compliant Cookie Constent Dialog">
4
4
  <div id="cookies-dialog" class="cookies-notice flexrow w-100 wrap" aria-label="Simplified Cookie Consent dialog">
5
5
  <p class="grows">
6
6
  ${productName}, and selected third parties, use cookies or similar technologies for technical purposes and, with your consent, for the purposes
@@ -21,7 +21,7 @@ const COOKIES_FOOTER_FULL = (productName = "Obscene Studio", domain="obscene.stu
21
21
  <button aria-label="Accept all cookies" class="col-4 bg-ok" data-action="accept">ACCEPT ALL</button>
22
22
  <div class="col-6 grows">Allow Analytics, and Third Party Videos and images</div>
23
23
  </div>
24
- </div>
24
+ </aside>
25
25
  </div>
26
26
  `;
27
27
 
@@ -1,3 +1,6 @@
1
+ nav.titlebar {
2
+ line-height: var(--unitsize);
3
+ }
1
4
 
2
5
  nav.tab-menu.flexrow {
3
6
 
@@ -1,5 +1,5 @@
1
1
 
2
- .obsvideo.inner {
2
+ .item-video.inner {
3
3
  margin: 1rem;
4
4
  border-radius: 0.5rem !important;
5
5
  overflow: hidden;
@@ -64,13 +64,6 @@
64
64
  "integrity": "sha512-lWvDp7jTjTpca2QH9EVGvjLFE+Vwv7yFUWV315GakGVvmcTl7KfPhnS/qf+FokyAAqtqDeN8uESr96TsZ7Vs3Q==",
65
65
  "requires": {
66
66
  "mithril": "^2.0.0"
67
- },
68
- "dependencies": {
69
- "mithril": {
70
- "version": "2.3.8",
71
- "resolved": "https://registry.npmjs.org/mithril/-/mithril-2.3.8.tgz",
72
- "integrity": "sha512-za/Yo7qXEckjm5syrSfaaI9Utf4tCUT3T1IOIYqH6Lrj7G0OZuYYLAY9SV4ygoaAf0+CNqU92MBt+7pmo53JVQ=="
73
- }
74
67
  }
75
68
  },
76
69
  "@nodelib/fs.scandir": {
@@ -395,9 +388,9 @@
395
388
  "dev": true
396
389
  },
397
390
  "baseline-browser-mapping": {
398
- "version": "2.11.24",
399
- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.24.tgz",
400
- "integrity": "sha512-hYrgxie335U08WqICoGqKRzV1HFXv6zdxwJE4ekCb80CM9a0SVVsN4QPwT67RraRo+9h8IATk6uxHJw7QSkdOg==",
391
+ "version": "2.11.25",
392
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.25.tgz",
393
+ "integrity": "sha512-gMmEShwwq7FJqMwvfRwvCl00v4kN+KOfJqXn+f4nrufak5gNHJOksd/60Dvjuz7sI8Y5WiSFBa8FEYr+zoyqCw==",
401
394
  "dev": true
402
395
  },
403
396
  "basic-auth": {
@@ -407,14 +400,6 @@
407
400
  "dev": true,
408
401
  "requires": {
409
402
  "safe-buffer": "5.1.2"
410
- },
411
- "dependencies": {
412
- "safe-buffer": {
413
- "version": "5.1.2",
414
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
415
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
416
- "dev": true
417
- }
418
403
  }
419
404
  },
420
405
  "boolbase": {
@@ -536,9 +521,9 @@
536
521
  "dev": true
537
522
  },
538
523
  "commander": {
539
- "version": "2.20.3",
540
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
541
- "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
524
+ "version": "7.2.0",
525
+ "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
526
+ "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
542
527
  "dev": true
543
528
  },
544
529
  "commondir": {
@@ -1905,6 +1890,12 @@
1905
1890
  "queue-microtask": "^1.2.2"
1906
1891
  }
1907
1892
  },
1893
+ "safe-buffer": {
1894
+ "version": "5.1.2",
1895
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
1896
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
1897
+ "dev": true
1898
+ },
1908
1899
  "safe-identifier": {
1909
1900
  "version": "0.4.2",
1910
1901
  "resolved": "https://registry.npmjs.org/safe-identifier/-/safe-identifier-0.4.2.tgz",
@@ -2061,14 +2052,6 @@
2061
2052
  "picocolors": "^1.0.0",
2062
2053
  "sax": "^1.5.0",
2063
2054
  "stable": "^0.1.8"
2064
- },
2065
- "dependencies": {
2066
- "commander": {
2067
- "version": "7.2.0",
2068
- "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
2069
- "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
2070
- "dev": true
2071
- }
2072
2055
  }
2073
2056
  },
2074
2057
  "terser": {
@@ -2081,6 +2064,14 @@
2081
2064
  "acorn": "^8.15.0",
2082
2065
  "commander": "^2.20.0",
2083
2066
  "source-map-support": "~0.5.20"
2067
+ },
2068
+ "dependencies": {
2069
+ "commander": {
2070
+ "version": "2.20.3",
2071
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
2072
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
2073
+ "dev": true
2074
+ }
2084
2075
  }
2085
2076
  },
2086
2077
  "to-regex-range": {
@@ -32,5 +32,11 @@ import "../../css/css-screens/screens-meta.css";
32
32
 
33
33
  import "../../css/css-unsplash/unsplash.css";
34
34
  import "../../css/css-videos/youtube.css";
35
+ import "../../css/css-videos/item-video.css";
35
36
  import "../../css/css-wiki/wiki.css";
36
37
  import "../../css/css-wiki/wiki.sidepane.css";
38
+
39
+ import "../../css/skin/skin.dark.css";
40
+ import "../../css/skin/skin.light.css";
41
+ import "../../css/skin/vars.font.css";
42
+ import "../../css/skin/vars.sizes.css";
@@ -7,6 +7,7 @@
7
7
  import "./css/cookies.css";
8
8
 
9
9
  import {get, set} from "../support/persistsettings.mjs"
10
+ import {start as startAnalytics} from "../core.cookies/analytics.mjs"
10
11
 
11
12
  function hasThirdParty() {
12
13
  return get("cookies.third");
@@ -90,9 +91,6 @@ function initServices(useAnalytics, useThidParty) {
90
91
  if (useAnalytics && SITE && SITE.analytics) {
91
92
 
92
93
  try {
93
- const
94
- [, , startAnalytics] = require("support/statify-v3/land/src/client/util.cookies/analytics.mjs");
95
-
96
94
  startAnalytics(SITE.analytics);
97
95
  } catch (e) {
98
96
  //
@@ -1,5 +1,7 @@
1
- import TimeUtils from "../support/timeutils"
2
- import QRCode from "../support/qrcode"
1
+ import TimeUtils from "../support/timeutils";
2
+ import QRCode from "../support/qrcode";
3
+ import initDoc from "../core.extra/extra.document.mjs";
4
+ import initContractable from "../core.extra/extra.faq.mjs";
3
5
 
4
6
  import "./css/howto.css";
5
7
  import "./css/faq.css";
@@ -50,8 +52,6 @@ function Common() {
50
52
  }
51
53
 
52
54
  const
53
- initDoc = require("support/statify-v3/src.website/src/core.extra/extra.document.mjs"),
54
- initContractable = require("support/statify-v3/src.website/src/core.extra/extra.faq.mjs"),
55
55
  Inits = {
56
56
  Markdown: initDoc,
57
57
  Faq: () => initContractable("question"),
@@ -4,11 +4,7 @@
4
4
  * @module app.utils
5
5
  */
6
6
 
7
- /* global ObjectAssign */
8
-
9
- // noinspection NpmUsedModulesInstalled
10
- const
11
- m = require("mithril");
7
+ import m from "mithril";
12
8
 
13
9
  function decodeTimeInterval(datems) {
14
10
  const date = new Date(datems);
@@ -82,11 +82,21 @@
82
82
  "content": "white"
83
83
  }
84
84
  ],
85
- "links": {
86
- "documents": {
87
- "static": true,
88
- "icon": "file",
89
- "class": "grows"
85
+
86
+ "navibar": {
87
+ "home": "/",
88
+ "logo": "res/logos/logo.medallion.png",
89
+ "displayTitle": false,
90
+ "autoHide": true,
91
+ "links": {
92
+ "documents": {
93
+ "static": true,
94
+ "icon": "file",
95
+ "class": "grows"
96
+ },
97
+ "SPACER": {
98
+ "separator": true
99
+ }
90
100
  }
91
101
  },
92
102
  "breadcrumb": {