solarite 0.1.0 → 0.1.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.
- package/build/build.bat +1 -0
- package/deno.lock +176 -0
- package/dist/Solarite-debug.js +456 -1118
- package/dist/Solarite.js +438 -1216
- package/dist/Solarite.min.js +2 -2
- package/docs/index.md +366 -216
- package/docs/js/codemirror/themeSolarIce.js +1 -1
- package/docs/js/documentation.js +1 -1
- package/docs/js/ui/FlexResizer.js +1 -2
- package/docs/media/documentation.css +2 -2
- package/index.html +40 -23
- package/package.json +1 -1
- package/readme.md +11 -1
- package/src/solarite/ExprPath.js +92 -3
- package/src/solarite/Globals.js +11 -0
- package/src/solarite/MultiValueMap.js +5 -1
- package/src/solarite/NodeGroup.js +54 -124
- package/src/solarite/NodeGroupManager.js +15 -125
- package/src/solarite/Shell.js +5 -5
- package/src/solarite/Solarite.js +5 -2
- package/src/solarite/Template.js +131 -8
- package/src/solarite/createSolarite.js +18 -6
- package/src/solarite/getArg.js +11 -11
- package/src/solarite/hash.js +1 -1
- package/src/solarite/r.js +24 -14
- package/src/solarite/watch.js +1 -1
- package/src/solarite/watch2.js +3 -2
- package/src/solarite/watch3.js +91 -0
- package/src/unused/onConnect.js +79 -0
- package/tests/Solarite.test.js +281 -34
- package/tests/Testimony.js +274 -67
- package/tests/index.html +3 -34
- package/tests/run.bat +2 -0
- package/tests/NodeGroup.test.js +0 -115
- package/tests/Shell.test.js +0 -75
|
@@ -146,7 +146,7 @@ function themeSolarIce(lang, isDark=false) {
|
|
|
146
146
|
tag: [t.atom], // Css value like 'Arial' or 'none'. Keyword 'super' in javascript
|
|
147
147
|
color: lang === 'js'
|
|
148
148
|
? (isDark ? '#26f' : '#00f')
|
|
149
|
-
: (isDark ? '#
|
|
149
|
+
: (isDark ? '#26f' : '')
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
tag: [t.unit],
|
package/docs/js/documentation.js
CHANGED
|
@@ -26,7 +26,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
|
26
26
|
</style>`;
|
|
27
27
|
let value = lines.join('\n');
|
|
28
28
|
|
|
29
|
-
let pg = new Playground({value, language: pre.getAttribute('lang'), width: 75, maxHeight:
|
|
29
|
+
let pg = new Playground({value, language: pre.getAttribute('lang'), width: 75, maxHeight: 1000, prefix, limitCodeEditorHeight: true})
|
|
30
30
|
pre.replaceWith(pg);
|
|
31
31
|
}
|
|
32
32
|
})
|
|
@@ -3,8 +3,7 @@ import Draggable2 from "../util/Draggable2.js";
|
|
|
3
3
|
import Util from "../util/Util.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Put this element between flex children to allow resizing them.
|
|
7
|
-
* TODO: Allow vertical resizing. */
|
|
6
|
+
* Put this element between flex children to allow resizing them. */
|
|
8
7
|
export default class FlexResizer extends Solarite {
|
|
9
8
|
|
|
10
9
|
onStart = Util.callback();
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
src: url("FiraCode400.woff2") format("woff")
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
html { background: var(--background) !important }
|
|
12
|
+
html { background: var(--background) !important; font-size: 16px !important }
|
|
13
13
|
body::before { content: ''; position: fixed; inset: 0;
|
|
14
14
|
opacity: .03; filter: grayscale(75%);
|
|
15
15
|
background: url('solarite-machine.webp') no-repeat -200px -200px / 140% auto ; }
|
|
@@ -41,7 +41,7 @@ html:not([dark]) #write h3 { color: #678; }
|
|
|
41
41
|
#write h6 { font-size: 100%; font-weight: normal; margin-top: .75em; margin-bottom: 0; text-decoration: underline }
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
#write :is(p, h2, h3, h4, h5, h6, ol, ul) { max-width:
|
|
44
|
+
#write :is(p, h2, h3, h4, h5, h6, ol, ul) { max-width: 700px }
|
|
45
45
|
#write p { text-align: justify }
|
|
46
46
|
#write a, #write a:visited { color: #08c; text-decoration: none}
|
|
47
47
|
#write a:hover { color: #08c; text-decoration: underline }
|