squiffy-compiler 6.0.0-alpha.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/README.md +3 -0
- package/dist/compiler.d.ts +51 -0
- package/dist/compiler.js +542 -0
- package/dist/compiler.test.d.ts +1 -0
- package/dist/compiler.test.js +73 -0
- package/dist/external-files.d.ts +5 -0
- package/dist/external-files.js +21 -0
- package/dist/index.template.html +39 -0
- package/dist/packager.d.ts +1 -0
- package/dist/packager.js +78 -0
- package/dist/server.d.ts +1 -0
- package/dist/server.js +15 -0
- package/dist/squiffy.d.ts +1 -0
- package/dist/squiffy.js +29 -0
- package/dist/squiffy.runtime.d.ts +34 -0
- package/dist/squiffy.template.d.ts +29 -0
- package/dist/squiffy.template.js +598 -0
- package/dist/style.template.css +52 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +1 -0
- package/examples/attributes/attributes.squiffy +81 -0
- package/examples/clearscreen/clearscreen.squiffy +15 -0
- package/examples/continue/continue.squiffy +18 -0
- package/examples/helloworld/helloworld.squiffy +1 -0
- package/examples/import/file2.squiffy +8 -0
- package/examples/import/test.js +3 -0
- package/examples/import/test.squiffy +5 -0
- package/examples/input/input.squiffy +22 -0
- package/examples/last/last.squiffy +32 -0
- package/examples/master/master.squiffy +35 -0
- package/examples/replace/replace.squiffy +27 -0
- package/examples/rotate/rotate.squiffy +25 -0
- package/examples/sectiontrack/sectiontrack.squiffy +16 -0
- package/examples/start/start.squiffy +7 -0
- package/examples/test/example.squiffy +52 -0
- package/examples/textprocessor/textprocessor.squiffy +21 -0
- package/examples/transitions/transitions.squiffy +53 -0
- package/examples/turncount/turncount.squiffy +41 -0
- package/examples/warnings/warnings.squiffy +23 -0
- package/examples/warnings/warnings2.squiffy +3 -0
- package/package.json +46 -0
- package/src/__snapshots__/compiler.test.ts.snap +716 -0
- package/src/compiler.test.ts +86 -0
- package/src/compiler.ts +546 -0
- package/src/external-files.ts +22 -0
- package/src/index.template.html +39 -0
- package/src/packager.ts +97 -0
- package/src/server.ts +19 -0
- package/src/squiffy.runtime.ts +670 -0
- package/src/squiffy.ts +36 -0
- package/src/style.template.css +52 -0
- package/src/version.ts +1 -0
- package/tsconfig.json +22 -0
- package/tsconfig.runtime.json +12 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
a.squiffy-link
|
|
2
|
+
{
|
|
3
|
+
text-decoration: underline;
|
|
4
|
+
color: Blue;
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
}
|
|
7
|
+
a.squiffy-link.disabled
|
|
8
|
+
{
|
|
9
|
+
text-decoration: inherit;
|
|
10
|
+
color: inherit !important;
|
|
11
|
+
cursor: inherit;
|
|
12
|
+
}
|
|
13
|
+
button.squiffy-header-button
|
|
14
|
+
{
|
|
15
|
+
text-decoration: underline;
|
|
16
|
+
color: Blue;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
background: none;
|
|
19
|
+
border: none;
|
|
20
|
+
font-family: inherit;
|
|
21
|
+
}
|
|
22
|
+
div#squiffy-container
|
|
23
|
+
{
|
|
24
|
+
max-width: 700px;
|
|
25
|
+
margin-left: auto;
|
|
26
|
+
margin-right: auto;
|
|
27
|
+
font-family: Georgia, serif;
|
|
28
|
+
}
|
|
29
|
+
div#squiffy-header
|
|
30
|
+
{
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
text-align: right;
|
|
33
|
+
}
|
|
34
|
+
div#squiffy
|
|
35
|
+
{
|
|
36
|
+
font-size: 18px;
|
|
37
|
+
}
|
|
38
|
+
hr {
|
|
39
|
+
border: 0;
|
|
40
|
+
height: 0;
|
|
41
|
+
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
42
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
|
43
|
+
margin-top: 16px; margin-bottom: 16px;
|
|
44
|
+
}
|
|
45
|
+
.fade-out {
|
|
46
|
+
opacity: 0;
|
|
47
|
+
transition: opacity 1000ms;
|
|
48
|
+
}
|
|
49
|
+
.fade-in {
|
|
50
|
+
opacity: 1;
|
|
51
|
+
transition: opacity 1000ms;
|
|
52
|
+
}
|
package/src/version.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const SQUIFFY_VERSION = '6.0.0-alpha.0';
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2020",
|
|
4
|
+
"useDefineForClassFields": true,
|
|
5
|
+
"module": "NodeNext",
|
|
6
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
7
|
+
"skipLibCheck": true,
|
|
8
|
+
"alwaysStrict": true,
|
|
9
|
+
"outDir": "dist",
|
|
10
|
+
"declaration": true,
|
|
11
|
+
|
|
12
|
+
"moduleResolution": "NodeNext",
|
|
13
|
+
"resolveJsonModule": true,
|
|
14
|
+
"isolatedModules": true,
|
|
15
|
+
|
|
16
|
+
"strict": true,
|
|
17
|
+
"noUnusedLocals": true,
|
|
18
|
+
"noUnusedParameters": true,
|
|
19
|
+
"noFallthroughCasesInSwitch": true
|
|
20
|
+
},
|
|
21
|
+
"include": ["src"]
|
|
22
|
+
}
|