wicked-crew 0.7.49 → 0.8.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.
- package/dist/api/discovery-source.d.ts +51 -0
- package/dist/api/discovery-source.d.ts.map +1 -0
- package/dist/api/discovery-source.js +176 -0
- package/dist/api/discovery-source.js.map +1 -0
- package/dist/api/governance-steering.d.ts +4 -5
- package/dist/api/governance-steering.d.ts.map +1 -1
- package/dist/api/governance-steering.js +11 -16
- package/dist/api/governance-steering.js.map +1 -1
- package/dist/api/recording.d.ts +23 -0
- package/dist/api/recording.d.ts.map +1 -1
- package/dist/api/recording.js +151 -4
- package/dist/api/recording.js.map +1 -1
- package/dist/api/routes.d.ts.map +1 -1
- package/dist/api/routes.js +28 -4
- package/dist/api/routes.js.map +1 -1
- package/dist/api/run-files.d.ts +13 -1
- package/dist/api/run-files.d.ts.map +1 -1
- package/dist/api/run-files.js +30 -6
- package/dist/api/run-files.js.map +1 -1
- package/dist/api/seat-standing.d.ts +16 -0
- package/dist/api/seat-standing.d.ts.map +1 -1
- package/dist/api/seat-standing.js +54 -4
- package/dist/api/seat-standing.js.map +1 -1
- package/dist/api/server.d.ts.map +1 -1
- package/dist/api/server.js +12 -0
- package/dist/api/server.js.map +1 -1
- package/dist/api/steering-landing.d.ts +7 -7
- package/dist/api/steering-landing.js +7 -7
- package/dist/core/adapter.d.ts +16 -1
- package/dist/core/adapter.d.ts.map +1 -1
- package/dist/core/adapter.js +35 -10
- package/dist/core/adapter.js.map +1 -1
- package/dist/interactive/doc-run-index.d.ts +10 -2
- package/dist/interactive/doc-run-index.d.ts.map +1 -1
- package/dist/interactive/doc-run-index.js +16 -3
- package/dist/interactive/doc-run-index.js.map +1 -1
- package/dist/projects/graph.d.ts.map +1 -1
- package/dist/projects/graph.js +10 -0
- package/dist/projects/graph.js.map +1 -1
- package/dist/projects/membership-index.d.ts +2 -0
- package/dist/projects/membership-index.d.ts.map +1 -1
- package/dist/projects/membership-index.js +8 -0
- package/dist/projects/membership-index.js.map +1 -1
- package/dist/qe/acceptance.d.ts +6 -1
- package/dist/qe/acceptance.d.ts.map +1 -1
- package/dist/qe/acceptance.js +11 -9
- package/dist/qe/acceptance.js.map +1 -1
- package/dist/qe/walkthrough-acceptance.d.ts +6 -0
- package/dist/qe/walkthrough-acceptance.d.ts.map +1 -1
- package/dist/qe/walkthrough-acceptance.js +12 -4
- package/dist/qe/walkthrough-acceptance.js.map +1 -1
- package/dist/studio/assets/archivo-latin-ext-wght-normal-C4zznr8T.woff2 +0 -0
- package/dist/studio/assets/archivo-latin-wght-normal-E0tuGl4L.woff2 +0 -0
- package/dist/studio/assets/index-BnJlrMxp.css +32 -0
- package/dist/studio/assets/index-DG0nwF7c.js +582 -0
- package/dist/studio/assets/inter-latin-ext-opsz-italic-BLMf5All.woff2 +0 -0
- package/dist/studio/assets/inter-latin-ext-opsz-normal-DpK-iCPk.woff2 +0 -0
- package/dist/studio/assets/inter-latin-opsz-italic-BbqH_2Ar.woff2 +0 -0
- package/dist/studio/assets/inter-latin-opsz-normal-BwkfbSeq.woff2 +0 -0
- package/dist/studio/assets/jetbrains-mono-latin-ext-wght-italic-BrDczivE.woff2 +0 -0
- package/dist/studio/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
- package/dist/studio/assets/jetbrains-mono-latin-wght-italic-B2M6KQje.woff2 +0 -0
- package/dist/studio/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
- package/dist/studio/editors/wicked-page/editor.json +35 -0
- package/dist/studio/editors/wicked-page/index.html +144 -0
- package/dist/studio/fonts/LICENSE-Archivo.txt +93 -0
- package/dist/studio/fonts/LICENSE-Inter.txt +93 -0
- package/dist/studio/fonts/LICENSE-JetBrainsMono.txt +93 -0
- package/dist/studio/index.html +3 -8
- package/dist/studio/testid-inventory.json +5801 -2440
- package/dist/watch/bounded-read.d.ts +26 -0
- package/dist/watch/bounded-read.d.ts.map +1 -0
- package/dist/watch/bounded-read.js +59 -0
- package/dist/watch/bounded-read.js.map +1 -0
- package/dist/watch/checks/discovery.d.ts +65 -0
- package/dist/watch/checks/discovery.d.ts.map +1 -0
- package/dist/watch/checks/discovery.js +168 -0
- package/dist/watch/checks/discovery.js.map +1 -0
- package/dist/watch/checks/index.d.ts.map +1 -1
- package/dist/watch/checks/index.js +7 -0
- package/dist/watch/checks/index.js.map +1 -1
- package/dist/watch/checks/scope-drift.d.ts +47 -0
- package/dist/watch/checks/scope-drift.d.ts.map +1 -0
- package/dist/watch/checks/scope-drift.js +212 -0
- package/dist/watch/checks/scope-drift.js.map +1 -0
- package/dist/watch/emit.d.ts +19 -0
- package/dist/watch/emit.d.ts.map +1 -1
- package/dist/watch/emit.js +144 -18
- package/dist/watch/emit.js.map +1 -1
- package/dist/watch/registry.d.ts +20 -11
- package/dist/watch/registry.d.ts.map +1 -1
- package/dist/watch/registry.js +50 -42
- package/dist/watch/registry.js.map +1 -1
- package/dist/watch/sources.d.ts +2 -1
- package/dist/watch/sources.d.ts.map +1 -1
- package/dist/watch/sources.js +2 -1
- package/dist/watch/sources.js.map +1 -1
- package/dist/watch/types.d.ts +42 -0
- package/dist/watch/types.d.ts.map +1 -1
- package/endpoint-manifest.json +14 -1
- package/package.json +3 -3
- package/watch/entries/added-by-hand.json +16 -0
- package/watch/entries/scope-drift.json +13 -0
- package/watch/entries/what-catches.json +16 -0
- package/dist/studio/assets/index-CvV5qITf.css +0 -32
- package/dist/studio/assets/index-jCOy6Ns7.js +0 -568
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "wicked-page",
|
|
3
|
+
"title": "Page editor",
|
|
4
|
+
"version": "0.6.0",
|
|
5
|
+
"protocol": [
|
|
6
|
+
1
|
|
7
|
+
],
|
|
8
|
+
"kinds": [
|
|
9
|
+
"page"
|
|
10
|
+
],
|
|
11
|
+
"entry": "index.html",
|
|
12
|
+
"sizes": [
|
|
13
|
+
"inline",
|
|
14
|
+
"pane",
|
|
15
|
+
"full"
|
|
16
|
+
],
|
|
17
|
+
"permissions": [
|
|
18
|
+
{
|
|
19
|
+
"id": "artifact.read",
|
|
20
|
+
"why": "to show the page and read its words"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "artifact.write",
|
|
24
|
+
"why": "to land what you type on an element as one version, with Undo"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "selection.chip",
|
|
28
|
+
"why": "to make the element you click the subject of your next message"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "network.media",
|
|
32
|
+
"why": "to show the page’s web images and fonts"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="wicked-editor" content="wicked-page">
|
|
6
|
+
<meta name="wicked-editor-version" content="0.6.0">
|
|
7
|
+
<title>Page editor</title>
|
|
8
|
+
<style>
|
|
9
|
+
/* The plugin's own chrome takes the host's tokens (`host.hello.theme` / `host.theme`), with plain
|
|
10
|
+
fallbacks for a host that passes none. The PAGE inside the nested frame styles itself. */
|
|
11
|
+
:root {
|
|
12
|
+
--surface-base: #ffffff; --surface-card: #f6f7f9; --ink-high: #0d1117; --ink-muted: #5b6673;
|
|
13
|
+
--border: #d5dae1; --accent: #224a5e; --status-fail: #b4232c; --font-sans: system-ui, sans-serif;
|
|
14
|
+
}
|
|
15
|
+
html, body { height: 100%; margin: 0; }
|
|
16
|
+
body { font: 13px var(--font-sans); color: var(--ink-high); background: var(--surface-base); overflow: hidden; }
|
|
17
|
+
.editor { position: relative; width: 100%; height: 100%; outline: none; }
|
|
18
|
+
.editor:focus { box-shadow: inset 0 0 0 2px var(--accent); }
|
|
19
|
+
.stage { position: absolute; inset: 0; }
|
|
20
|
+
.frame { display: block; width: 100%; height: 100%; border: 0; background: var(--surface-base); }
|
|
21
|
+
body[data-size="inline"] .editor { pointer-events: none; }
|
|
22
|
+
.box { position: absolute; pointer-events: none; border: 2px solid var(--accent); border-radius: 3px; box-sizing: border-box; }
|
|
23
|
+
.box--hover { border-style: dashed; opacity: .55; }
|
|
24
|
+
.handle { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
|
|
25
|
+
.input { position: absolute; box-sizing: border-box; font: inherit; line-height: 1.35; padding: 4px 6px; border: 2px solid var(--accent); border-radius: 3px; background: var(--surface-base); color: var(--ink-high); outline: none; z-index: 2; resize: none; overflow: auto; }
|
|
26
|
+
.hint, .note { position: absolute; left: 8px; bottom: 8px; margin: 0; padding: 2px 8px; font-size: 12px; color: var(--ink-muted); background: var(--surface-card); border: 1px solid var(--border); border-radius: 4px; pointer-events: none; max-width: calc(100% - 32px); }
|
|
27
|
+
.note { color: var(--status-fail); }
|
|
28
|
+
/* EP-P3: the width header and the picked element's peek. */
|
|
29
|
+
.tools { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 34px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 8px; border-bottom: 1px solid var(--border); background: var(--surface-card); }
|
|
30
|
+
.tools button, .peek button { font: inherit; font-size: 12px; line-height: 20px; padding: 1px 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface-base); color: var(--ink-high); cursor: pointer; }
|
|
31
|
+
.tools button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
|
|
32
|
+
.tools button:focus-visible, .peek button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
33
|
+
.stage { overflow: hidden; }
|
|
34
|
+
.peek { position: absolute; z-index: 3; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; max-width: calc(100% - 8px); padding: 4px 6px; background: var(--surface-base); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
|
|
35
|
+
.peek .danger { color: var(--status-fail); }
|
|
36
|
+
.swatches { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px; min-width: 0; }
|
|
37
|
+
.swatches .word { font-size: 11px; color: var(--ink-muted); margin: 0 2px 0 4px; }
|
|
38
|
+
.peek .swatch { width: 20px; height: 20px; padding: 0; border-radius: 50%; background: var(--swatch, transparent); }
|
|
39
|
+
.peek .swatch--default { width: auto; height: auto; border-radius: 4px; padding: 1px 6px; font-size: 11px; }
|
|
40
|
+
[hidden] { display: none !important; }
|
|
41
|
+
@media (prefers-reduced-motion: no-preference) { .box { transition: left 80ms linear, top 80ms linear; } }
|
|
42
|
+
</style>
|
|
43
|
+
</head>
|
|
44
|
+
<body data-size="pane">
|
|
45
|
+
<script>var wickedEditor=(function(P){"use strict";const me=/^slide-(\d+)-([a-z-]+)-(\d+)$/,be=/^section-(\d+)$/,ke={heading:"heading",paragraph:"paragraph","list-item":"list item",quote:"quote",caption:"caption",cell:"table cell",link:"link",button:"button",image:"image",block:"block",text:"line"},xe=/^[A-Za-z]{2,}(?:[-_ ][A-Za-z]{2,})*$/;function Y(o,r){const i=me.exec(o);if(i!==null){const p=Number(i[1]),d=ke[i[2]??""]??(i[2]??"").replace(/-+/g," "),u=Number(i[3]);return p===0?`${d} ${u}`:`${d} ${u} in section ${p+1}`}const c=be.exec(o);return c!==null?`section ${Number(c[1])+1}`:xe.test(o)?`the ${o.replace(/[-_]+/g," ").toLowerCase()}`:"this part"}function $e(o,r,i){return{left:o.left-(i.scrollX-r.scrollX),top:o.top-(i.scrollY-r.scrollY),width:o.width,height:o.height}}const Ee=/^[A-Za-z0-9_.:-]{1,100}$/;function g(o){return typeof o=="number"&&isFinite(o)}function Ae(o){if(typeof o!="object"||o===null)return!1;const r=o;return r.section!==void 0&&(typeof r.section!="string"||!Ee.test(r.section))?!1:typeof r.text=="string"&&typeof r.composite=="boolean"}function Se(o){if(typeof o!="object"||o===null)return!1;const r=o;return g(r.x)&&g(r.y)&&g(r.width)&&g(r.height)&&g(r.top)&&g(r.left)&&g(r.right)&&g(r.bottom)}function Te(o){if(typeof o!="object"||o===null)return null;const r=o;if(r.v!==1)return null;const i=r.type;if(i==="wid-inventory"){const c=r.widMap,p=r.scrollX,d=r.scrollY;if(typeof c!="object"||c===null||!g(p)||!g(d))return null;const u={};for(const[E,y]of Object.entries(c)){if(!Se(y))return null;u[E]=y}const w=r.blocks;if(w===void 0)return{v:1,type:"wid-inventory",widMap:u,scrollX:p,scrollY:d};if(typeof w!="object"||w===null)return null;const z={};for(const[E,y]of Object.entries(w)){if(!Ae(y))return null;z[E]={text:y.text,composite:y.composite,...y.cut===!0?{cut:!0}:{},...y.section!==void 0?{section:y.section}:{}}}return{v:1,type:"wid-inventory",widMap:u,scrollX:p,scrollY:d,blocks:z}}if(i==="scroll-state"){const c=r.scrollX,p=r.scrollY;return!g(c)||!g(p)?null:{v:1,type:"scroll-state",scrollX:c,scrollY:p}}if(i==="scroll-ack"){const c=r.wid;if(typeof c!="string"||c==="")return null;const p=r.scrollX,d=r.scrollY,u=r.seq;return{v:1,type:"scroll-ack",wid:c,...g(p)&&g(d)?{scrollX:p,scrollY:d}:{},...typeof u=="number"&&Number.isInteger(u)&&u>0?{seq:u}:{}}}if(i==="wid-click"){const c=r.wid;return typeof c!="string"||c===""?null:{v:1,type:"wid-click",wid:c}}if(i==="wid-hover"){const c=r.wid;return c!==null&&(typeof c!="string"||c==="")?null:{v:1,type:"wid-hover",wid:c}}return null}const Me=Object.freeze({v:1,type:"request-inventory"});function Oe(o,r){return r===void 0?{v:1,type:"scroll-to-wid",wid:o}:{v:1,type:"scroll-to-wid",wid:o,seq:r}}const Le="request-inventory";function Ce(o){return o.includes(Le)}const ze=`
|
|
46
|
+
(function () {
|
|
47
|
+
if (window.__wickedInstrumentBridge) return;
|
|
48
|
+
window.__wickedInstrumentBridge = 1;
|
|
49
|
+
function nearest(node) {
|
|
50
|
+
var el = node;
|
|
51
|
+
while (el) {
|
|
52
|
+
if (el.getAttribute && el.getAttribute('data-wid')) return el;
|
|
53
|
+
el = el.parentElement;
|
|
54
|
+
}
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
function inventory() {
|
|
58
|
+
var widMap = {};
|
|
59
|
+
var blocks = {};
|
|
60
|
+
var nodes = document.querySelectorAll('[data-wid]');
|
|
61
|
+
for (var i = 0; i < nodes.length; i++) {
|
|
62
|
+
var el = nodes[i];
|
|
63
|
+
var wid = el.getAttribute('data-wid');
|
|
64
|
+
var r = el.getBoundingClientRect();
|
|
65
|
+
widMap[wid] = { x: r.x, y: r.y, width: r.width, height: r.height,
|
|
66
|
+
top: r.top, left: r.left, right: r.right, bottom: r.bottom };
|
|
67
|
+
var text = (el.textContent || '').replace(/\\s+/g, ' ').trim();
|
|
68
|
+
var composite = el.querySelector('[data-wid]') !== null;
|
|
69
|
+
var cap = composite ? 400 : 20000;
|
|
70
|
+
blocks[wid] = { text: text.length > cap ? text.slice(0, cap) : text, composite: composite };
|
|
71
|
+
if (text.length > cap) blocks[wid].cut = true;
|
|
72
|
+
var sec = el.parentElement ? el.parentElement.closest('section[data-wid], [data-wid^="section-"]') : null;
|
|
73
|
+
var secWid = sec ? sec.getAttribute('data-wid') : null;
|
|
74
|
+
// Only an id the parent's parser accepts: an odd one would invalidate the whole inventory.
|
|
75
|
+
if (secWid && /^[A-Za-z0-9_.:-]{1,100}$/.test(secWid)) blocks[wid].section = secWid;
|
|
76
|
+
}
|
|
77
|
+
return { v: 1, type: 'wid-inventory', widMap: widMap, blocks: blocks,
|
|
78
|
+
scrollX: window.scrollX, scrollY: window.scrollY };
|
|
79
|
+
}
|
|
80
|
+
function post(msg) { parent.postMessage(msg, '*'); }
|
|
81
|
+
window.addEventListener('message', function (e) {
|
|
82
|
+
var m = e.data;
|
|
83
|
+
if (!m || m.v !== 1) return;
|
|
84
|
+
if (m.type === 'request-inventory') {
|
|
85
|
+
post(inventory());
|
|
86
|
+
} else if (m.type === 'scroll-to-wid' && typeof m.wid === 'string') {
|
|
87
|
+
var el = document.querySelector('[data-wid="' + m.wid.replace(/["\\\\]/g, '') + '"]');
|
|
88
|
+
// An instant jump, whatever the document's own scroll-behavior: the position read on the
|
|
89
|
+
// next line is then where it landed.
|
|
90
|
+
if (el && el.scrollIntoView) el.scrollIntoView({ block: 'center', behavior: 'instant' });
|
|
91
|
+
post({ v: 1, type: 'scroll-ack', wid: m.wid, seq: m.seq, scrollX: window.scrollX, scrollY: window.scrollY });
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
document.addEventListener('scroll', function (e) {
|
|
95
|
+
if (e.target === document || e.target === document.documentElement || e.target === document.body) {
|
|
96
|
+
post({ v: 1, type: 'scroll-state', scrollX: window.scrollX, scrollY: window.scrollY });
|
|
97
|
+
} else {
|
|
98
|
+
post(inventory());
|
|
99
|
+
}
|
|
100
|
+
}, { passive: true, capture: true });
|
|
101
|
+
window.addEventListener('resize', function () { post(inventory()); });
|
|
102
|
+
document.addEventListener('click', function (e) {
|
|
103
|
+
var el = nearest(e.target);
|
|
104
|
+
if (!el) return;
|
|
105
|
+
e.preventDefault();
|
|
106
|
+
post({ v: 1, type: 'wid-click', wid: el.getAttribute('data-wid') });
|
|
107
|
+
});
|
|
108
|
+
var lastHover = null;
|
|
109
|
+
document.addEventListener('mousemove', function (e) {
|
|
110
|
+
var el = nearest(e.target);
|
|
111
|
+
var wid = el ? el.getAttribute('data-wid') : null;
|
|
112
|
+
if (wid !== lastHover) {
|
|
113
|
+
lastHover = wid;
|
|
114
|
+
post({ v: 1, type: 'wid-hover', wid: wid });
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
if (document.readyState === 'loading') {
|
|
118
|
+
document.addEventListener('DOMContentLoaded', function () { post(inventory()); });
|
|
119
|
+
} else {
|
|
120
|
+
post(inventory());
|
|
121
|
+
}
|
|
122
|
+
})();
|
|
123
|
+
`;function De(o){const r=`<script>${ze}<\/script>`;return/<\/body>/i.test(o)?o.replace(/<\/body>/i,()=>`${r}</body>`):`${o}${r}`}const O=String.raw`\s*-?(?:\d+(?:\.\d+)?|\.\d+)%?\s*`,Ke=new RegExp(`^(?:#(?:[0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})|rgba?\\((?:${O},){2}${O}(?:,${O})?\\)|hsla?\\(\\s*-?\\d+(?:\\.\\d+)?(?:deg)?\\s*,${O},${O}(?:,${O})?\\)|var\\(--wi-[a-z0-9-]{1,40}\\)|revert-layer)$`,"i");function Re(o,r=new Set){if(!Ke.test(o))return!1;const i=/^var\((--wi-[a-z0-9-]+)\)$/i.exec(o);return i===null||r.has(i[1].toLowerCase())}const Ye=[["--wi-bg","Background"],["--wi-surface","Surface"],["--wi-card-bg","Card"],["--wi-primary","Primary"],["--wi-secondary","Secondary"],["--wi-accent","Accent"],["--wi-text","Text"],["--wi-text-secondary","Secondary text"],["--wi-muted","Muted"],["--wi-border","Border"]],H="revert-layer";function Xe(o){const r=new Map;for(const p of o.matchAll(/(--wi-[a-z-]{1,40})\s*:\s*([^;}{]{1,80})/gi))r.set(p[1].toLowerCase(),p[2].trim());const i=new Set,c=[];for(const[p,d]of Ye){const u=r.get(p);if(u===void 0)continue;const w=u.startsWith("#")?u.toLowerCase():u;!Re(w)||i.has(w.toLowerCase())||(i.add(w.toLowerCase()),c.push({token:p,value:w,label:d}))}return c}const L="wicked.editor",C=1,je="wicked-page",Ne=[[390,"Phone"],[820,"Tablet"],[1280,"Desktop"]],U=34,We=[0,250,750,1500],Ie=`
|
|
124
|
+
<div data-testid="page-editor" id="editor" class="editor" data-kind="page" data-head="" data-pickable="false" data-selected="" data-size="pane" data-width="" tabindex="0" role="application" aria-label="The page">
|
|
125
|
+
<div data-testid="page-tools" id="tools" class="tools" role="toolbar" aria-label="Page width">
|
|
126
|
+
${Ne.map(([o,r])=>`<button type="button" data-testid="page-width" data-width="${o}" aria-pressed="false" title="${r} · ${o} px wide">${r} ${o}</button>`).join("")}
|
|
127
|
+
</div>
|
|
128
|
+
<div id="stage" class="stage"></div>
|
|
129
|
+
<div data-testid="page-hover-box" id="hover" class="box box--hover" hidden></div>
|
|
130
|
+
<div data-testid="page-selected-box" id="selected" class="box" data-wid="" hidden></div>
|
|
131
|
+
<textarea data-testid="page-edit-input" id="input" class="input" rows="1" aria-label="New text" hidden></textarea>
|
|
132
|
+
<div data-testid="page-handle" id="handle" class="handle" tabindex="-1"></div>
|
|
133
|
+
<p data-testid="page-hint" id="hint" class="hint" hidden></p>
|
|
134
|
+
<p data-testid="page-note" id="note" class="note" hidden></p>
|
|
135
|
+
<div data-testid="page-peek" id="peek" class="peek" role="group" aria-label="The picked element" hidden>
|
|
136
|
+
<button type="button" data-testid="page-section" id="to-section" hidden>Whole section</button>
|
|
137
|
+
<button type="button" data-testid="page-remove" id="remove" class="danger" title="Remove it (⌘⌫ / Ctrl+Backspace) — Undo puts it back">Remove</button>
|
|
138
|
+
<span class="swatches" data-testid="page-swatches" data-prop="background" id="fills"><span class="word">Fill</span></span>
|
|
139
|
+
<span class="swatches" data-testid="page-swatches" data-prop="color" id="inks"><span class="word">Text</span></span>
|
|
140
|
+
</div>
|
|
141
|
+
</div>`;function v(o){const r=document.getElementById(o);if(r===null)throw new Error(`wicked-page: no #${o}`);return r}function oe(o,r){const i=o?.blocks[r];return o===null||o.widMap[r]===void 0||i===void 0?"unmeasured":i.composite?"container":i.cut===!0?"cut":"yes"}function F(o){return`${o.charAt(0).toUpperCase()}${o.slice(1)}`}function re(){document.body.insertAdjacentHTML("afterbegin",Ie);const o=v("editor"),r=v("stage");let i=null;const c=v("hover"),p=v("selected"),d=v("input"),u=v("handle"),w=v("hint"),z=v("note"),E=v("tools"),y=v("peek"),le=v("to-section"),_e=v("remove"),qe=v("fills"),Be=v("inks");let A=null,ie=[],S="pane",Pe=0;const Z=new Map,T=(e,t)=>{A?.postMessage({p:L,v:C,type:e,payload:t})},se=(e,t)=>new Promise(n=>{if(A===null){n({ok:!1,error:{code:"unavailable",message:"no host yet"}});return}const l=`wp-${++Pe}`;Z.set(l,n),A.postMessage({p:L,v:C,type:e,id:l,payload:t})}),X=e=>T("ui.status",{line:e.slice(0,120)});let x=null,h=null,j={scrollX:0,scrollY:0},N=null,s=null,b=null,k=!1,ae=[],$=null,V=0,ce=-1,D=null,G=null,de=0,W=[],Q=!1,J=null,I=null;const ue=e=>{i?.contentWindow?.postMessage(e,"*")},He=e=>{if(e===i){ce=V;for(const t of W)clearTimeout(t);W=We.map(t=>setTimeout(()=>ue(Me),t))}},Ue=e=>{const t=document.createElement("iframe");for(const[l,f]of Object.entries({"data-testid":"page-frame",sandbox:"allow-scripts",title:"The page",class:"frame"}))t.setAttribute(l,f);t.addEventListener("load",()=>He(t));const n=i;i=t;for(const l of W)clearTimeout(l);t.srcdoc=e,r.appendChild(t),n?.remove(),_()},pe=()=>{const e=S==="inline"?0:U;if($===null)return{x:0,y:e,s:1};const t=r.clientWidth,n=t>0?Math.min(1,t/$):1;return{x:Math.max(0,(t-$*n)/2),y:e,s:n}},_=()=>{r.style.top=`${S==="inline"?0:U}px`,o.dataset.width=$===null?"":String($);for(const n of Array.from(E.querySelectorAll("[data-width]")))n.setAttribute("aria-pressed",String(Number(n.dataset.width)===$));if(i===null)return;if($===null){i.style.cssText="";return}const e=pe(),t=r.clientHeight>0?r.clientHeight/e.s:0;i.style.cssText=`position:absolute;left:${e.x}px;top:0;width:${$}px;${t>0?`height:${t}px;`:""}transform:scale(${e.s});transform-origin:0 0`},q=e=>{if(e===null||h===null)return null;const t=h.widMap[e];if(t===void 0)return null;const n=$e(t,h.measured,j),l=pe();return{left:l.x+n.left*l.s,top:l.y+n.top*l.s,width:n.width*l.s,height:n.height*l.s}},ee=(e,t,n=0,l=0)=>{if(t===null){e.hidden=!0;return}e.hidden=!1,e.style.left=`${t.left}px`,e.style.top=`${t.top}px`,e.style.width=`${Math.max(t.width,n)}px`,e.style.height=`${Math.max(t.height,l)}px`},te=()=>S!=="inline"&&h!==null,m=()=>{if(o.dataset.head=x===null?"":String(x),o.dataset.pickable=String(te()),o.dataset.selected=s??"",o.dataset.size=S,ee(c,N!==s&&b===null?q(N):null),p.dataset.wid=s??"",ee(p,b===null?q(s):null),b!==null?ee(d,q(b.wid),160,30):d.hidden=!0,E.hidden=S==="inline",Fe(),!te()||b!==null){w.hidden=!0;return}if(w.hidden=!1,s===null){w.removeAttribute("data-editable"),w.textContent="Click an element to make it the subject · type on it to change it";return}const e=Y(s),t=oe(h,s);w.dataset.editable=String(t==="yes"),w.textContent=t==="yes"?`Type to change ${e} · Enter to edit its text · Esc to let go`:t==="container"?`${F(e)} holds other parts — click a line of text inside it to change the words · Esc to let go`:t==="cut"?`${F(e)} is too long to change by typing — say what to change in the message box · Esc to let go`:`${F(e)} can’t be changed by typing — say what to change in the message box · Esc to let go`},Fe=()=>{const e=te()&&b===null&&!k?q(s):null;if(e===null||s===null){y.hidden=!0;return}y.hidden=!1,le.hidden=h?.blocks[s]?.section===void 0;const t=y.offsetHeight||30,n=e.top+e.height+6,l=o.clientHeight===0||n+t<=o.clientHeight-4,f=y.offsetWidth,a=o.clientWidth>0?o.clientWidth-f-4:1/0;y.style.left=`${Math.max(4,Math.min(e.left,a))}px`,y.style.top=`${l?n:Math.max(U+2,e.top-t-6)}px`},fe=(e,t)=>{for(const l of Array.from(e.querySelectorAll("button")))l.remove();const n=(l,f)=>{const a=document.createElement("button");a.type="button",a.className=l===H?"swatch swatch--default":"swatch";for(const[R,tt]of Object.entries({"data-testid":"page-swatch"}))a.setAttribute(R,tt);a.dataset.prop=t,a.dataset.value=l,a.title=`${t==="background"?"Fill":"Text"}: ${f}`,a.setAttribute("aria-label",a.title),l===H?a.textContent="Default":a.style.setProperty("--swatch",l),a.addEventListener("click",()=>{s!==null&&Ge(s,t,l,f)}),e.appendChild(a)};for(const l of ae)n(l.value,l.label);n(H,"Default")},M=()=>{b!==null&&(b=null,d.hidden=!0,d.value="",m())},B=e=>{s=e,M(),m(),e!==null&&(ie.includes("selection.chip")&&T("selection.set",{anchors:[{kind:"element",id:e}]}),u.focus())},Ze=e=>{de+=1,ue(Oe(e,de))},K=async e=>{if(Q){if(e!==void 0&&e===J)return;I=e===void 0?{}:{version:e};return}Q=!0,J=e??null;try{const t=await se("artifact.read",e===void 0?{}:{version:e});if(!t.ok){z.hidden=!1,z.textContent=t.error.code==="not_granted"?"This editor may not read the page here.":`The page could not be read (${t.error.code}).`;return}z.hidden=!0;const n=t.payload.content,l=typeof n?.html=="string"?n.html:"";x=typeof t.payload.version=="number"?t.payload.version:x,ae=Xe(l),fe(qe,"background"),fe(Be,"color"),V+=1,G=D,D=null,h=null,N=null,s=null,M(),m(),Ue(Ce(l)?l:De(l))}finally{if(Q=!1,J=null,I!==null){const t=I;I=null,(t.version===void 0||t.version!==x)&&K(t.version)}}};window.addEventListener("message",e=>{if(i===null||i.contentWindow===null||e.source!==i.contentWindow||ce!==V)return;const t=Te(e.data);if(t!==null){if(t.type==="wid-inventory"){for(const l of W)clearTimeout(l);h={widMap:t.widMap,blocks:t.blocks??{},measured:{scrollX:t.scrollX,scrollY:t.scrollY}},j={scrollX:t.scrollX,scrollY:t.scrollY};const n=G;G=null,n!==null&&t.widMap[n]!==void 0&&Ze(n),m()}else if(t.type==="scroll-state")j={scrollX:t.scrollX,scrollY:t.scrollY},m();else if(t.type==="scroll-ack")t.scrollX!==void 0&&t.scrollY!==void 0&&(j={scrollX:t.scrollX,scrollY:t.scrollY},m());else if(t.type==="wid-hover")N=t.wid,m();else if(t.type==="wid-click"){if(S==="inline")return;const n=t.wid===s?h?.blocks[t.wid]?.section:void 0;B(n!==void 0&&h?.widMap[n]!==void 0?n:t.wid)}}});const ye=(e,t)=>{if(k||h===null||oe(h,e)!=="yes")return;const n=h.blocks[e]?.text??"";b={wid:e,before:n},d.value=t??n,m(),d.focus(),t===null?d.select():d.setSelectionRange(d.value.length,d.value.length)},ne=async(e,t,n,l)=>{if(x===null||k)return;k=!0,m(),X(n);const f=l;try{const a=await se("version.write",{base:x,ops:e,summary:t});if(a.ok)D=f,await K(typeof a.payload.version=="number"?a.payload.version:void 0);else if(a.error.code==="stale"||a.error.code==="head_moved"){X(a.error.code==="stale"&&a.error.message?a.error.message:"Not changed: it moved while you typed"),D=f;const R=a.payload?.head;typeof R=="number"&&R!==x&&await K(R)}else a.error.code==="timeout"||(a.error.code==="refused"?X(a.error.message||"Nothing changed"):X(`Not changed: ${a.error.message||a.error.code}`))}finally{k=!1,m()}},Ve=async()=>{if(b===null||x===null||k)return;const{wid:e,before:t}=b,n=d.value.replace(/\s*\n\s*/g," ");if(M(),u.focus(),n===t)return;const l=Y(e);await ne([{op:"text",anchor:e,value:n,before:t}],l,`Changing ${l}…`,e)},he=async e=>{if(k||h?.widMap[e]===void 0)return;const t=Y(e),n=h.blocks[e]?.section??null;u.focus(),await ne([{op:"remove",anchor:e}],t,`Removing ${t}…`,n)},Ge=async(e,t,n,l)=>{if(k||h?.widMap[e]===void 0)return;const f=Y(e);u.focus(),await ne([{op:"style",anchor:e,style:{[t]:n}}],f,`${t==="background"?"Filling":"Colouring the text of"} ${f}: ${l.toLowerCase()}…`,e)},we=e=>{const t=h?.blocks[e]?.section;return t===void 0||h?.widMap[t]===void 0?!1:(B(t),!0)};le.addEventListener("click",()=>{s!==null&&we(s)}),_e.addEventListener("click",()=>{s!==null&&he(s)});for(const e of Array.from(E.querySelectorAll("[data-width]")))e.addEventListener("click",()=>{const t=Number(e.dataset.width);$=$===t?null:t,_(),m()});window.addEventListener("resize",()=>{_(),m()}),d.addEventListener("keydown",e=>{e.stopPropagation(),e.key==="Enter"?(e.preventDefault(),Ve()):e.key==="Escape"&&(e.preventDefault(),M(),u.focus())}),d.addEventListener("blur",()=>{M()});const Qe=()=>[...Array.from(E.querySelectorAll("button")).filter(()=>!E.hidden),u,...Array.from(y.querySelectorAll("button")).filter(e=>!y.hidden&&!e.hidden)];o.addEventListener("keydown",e=>{if(e.target===d)return;const t=e.target?.tagName==="BUTTON";if(!(t&&(e.key==="Enter"||e.key===" "))){if(e.key==="Escape"){if(s!==null){e.preventDefault(),B(null);return}e.preventDefault(),T("ui.key",{key:"Escape"});return}if((e.metaKey||e.ctrlKey)&&!e.altKey&&e.key.toLowerCase()==="k"){e.preventDefault(),T("ui.key",{key:"Mod+K"});return}if((e.metaKey||e.ctrlKey)&&!e.altKey&&(e.key==="Backspace"||e.key==="Delete")){e.preventDefault(),s!==null&&!k&&he(s);return}if(e.altKey&&!e.metaKey&&!e.ctrlKey&&e.key==="ArrowUp"){e.preventDefault(),s!==null&&we(s);return}if(e.altKey&&!e.metaKey&&!e.ctrlKey&&/^Key[A-Z]$/.test(e.code)){e.preventDefault(),T("ui.key",{key:`Alt+${e.code.slice(3)}`});return}if(e.key==="Tab"){e.preventDefault();const n=Qe(),l=n.indexOf(document.activeElement),f=l===-1&&document.activeElement===o&&!e.shiftKey?0:l+(e.shiftKey?-1:1);if(l===-1&&f!==0||f<0||f>=n.length){T("ui.key",{key:e.shiftKey?"Shift+Tab":"Tab"});return}n[f].focus();return}if(!(e.metaKey||e.ctrlKey||e.altKey)&&!(t&&e.key.length!==1)){if(e.key==="Enter"){s!==null&&!k&&(e.preventDefault(),ye(s,null));return}if(e.key.length===1){if(e.preventDefault(),s!==null&&!k){ye(s,e.key);return}T("ui.typed",{grapheme:e.key})}}}});const ge=e=>{S=e,document.body.dataset.size=e,e==="inline"&&(M(),B(null),document.activeElement?.blur?.()),_(),m()},ve=e=>{if(!(typeof e!="object"||e===null))for(const[t,n]of Object.entries(e))/^--[a-z0-9-]+$/.test(t)&&typeof n=="string"&&n.length<=200&&!/url\(/i.test(n)&&document.documentElement.style.setProperty(t,n)},Je=e=>{const t=e.data;try{if(t===null||typeof t!="object"||t.p!==L||t.v!==C)return;if(typeof t.re=="string"){const l=Z.get(t.re);if(l===void 0)return;Z.delete(t.re);const f=typeof t.payload=="object"&&t.payload!==null?t.payload:{};t.ok===!0?l({ok:!0,payload:f}):l({ok:!1,error:t.error??{code:"unavailable",message:"no answer"},payload:f});return}const n=typeof t.payload=="object"&&t.payload!==null?t.payload:{};switch(t.type){case"host.ping":typeof t.id=="string"&&A?.postMessage({p:L,v:C,re:t.id,ok:!0,payload:{}});return;case"host.size":(n.size==="inline"||n.size==="pane"||n.size==="full")&&ge(n.size);return;case"host.theme":ve(n.theme);return;case"artifact.changed":{const l=n.version;typeof l=="number"&&l!==x&&(D=D??s,K(l));return}case"selection.cleared":s!==null&&(s=null,M(),m());return;default:return}}catch{}};window.addEventListener("message",e=>{const t=e.data;if(A!==null||t===null||typeof t!="object"||t.p!==L||t.type!=="host.hello"||e.ports[0]===void 0)return;A=e.ports[0],A.onmessage=Je;const n=typeof t.payload=="object"&&t.payload!==null?t.payload:{};ie=Array.isArray(n.grants)?n.grants.filter(l=>typeof l=="string"):[],ve(n.theme),ge(n.size==="inline"||n.size==="full"?n.size:"pane"),K()});const et=document.querySelector('meta[name="wicked-editor-version"]')?.getAttribute("content")??"0.0.0";parent.postMessage({p:L,v:C,type:"plugin.ready",payload:{editor:je,version:et,protocol:[C]}},"*")}return re(),P.start=re,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"}),P})({});
|
|
142
|
+
</script>
|
|
143
|
+
</body>
|
|
144
|
+
</html>
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo) Archivo-Italic[wdth,wght].ttf: Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
package/dist/studio/index.html
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
|
-
<html lang="en" data-skin="
|
|
2
|
+
<html lang="en" data-skin="desk">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>wicked-studio</title>
|
|
7
|
-
<
|
|
8
|
-
<link rel="
|
|
9
|
-
<!-- The two faces of DES-VISION-001 §2.8: Inter (the --font-sans token names it;
|
|
10
|
-
the legacy Archivo load was reconciled away in slice 3) + JetBrains Mono. -->
|
|
11
|
-
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap" rel="stylesheet" />
|
|
12
|
-
<script type="module" crossorigin src="/assets/index-jCOy6Ns7.js"></script>
|
|
13
|
-
<link rel="stylesheet" crossorigin href="/assets/index-CvV5qITf.css">
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-DG0nwF7c.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BnJlrMxp.css">
|
|
14
9
|
</head>
|
|
15
10
|
<body>
|
|
16
11
|
<div id="root"></div>
|