@leaders-tech/schemio-playground 0.1.3 → 0.1.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/README.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  This package registers a lazy-loaded `<schemio-playground>` custom element. It
4
4
  contains a Schemio editor, error diagnostics, a live debugger with several
5
- independent test cases, and optional browser-local saving.
5
+ independent test cases, an animated signal visualizer, and optional
6
+ browser-local saving.
6
7
 
7
8
  Edit this file when the package API, installation command, or release process
8
9
  changes. Copy it when another standalone web component needs a short package
@@ -40,20 +41,21 @@ Then put the element in a page or a framework template:
40
41
  ```html
41
42
  <schemio-playground storage-key="cs0040-prob-a-xor">
42
43
  <script type="text/plain">
43
- scheme (a b) xor (out):
44
- local either both not_both
45
- (a b) or (either)
46
- (a b) and (both)
47
- (both) not (not_both)
48
- (either not_both) and (out)
49
- end
44
+ scheme (a b) xor (out):
45
+ local either both not_both
46
+ (a b) or (either)
47
+ (a b) and (both)
48
+ (both) not (not_both)
49
+ (either not_both) and (out)
50
+ end
50
51
  </script>
51
52
  </schemio-playground>
52
53
  ```
53
54
 
54
55
  `storage-key` is strongly recommended: the user's code is saved under that
55
56
  key in `localStorage`. Add `storage="off"` to disable saving, or `readonly` to
56
- show a non-editable program.
57
+ show a non-editable program. The shared indentation inside `script` is removed,
58
+ so the program can be aligned neatly with the surrounding HTML.
57
59
 
58
60
  The element dispatches a bubbling `schemio-change` event after every edit. Its
59
61
  `event.detail` contains `{ source, isValid }`.
@@ -84,7 +86,7 @@ The archive includes its own `README.md` with the complete copy-paste example.
84
86
 
85
87
  The GitHub Actions workflow publishes the package after a tag named
86
88
  `schemio-playground-v<package version>` is pushed, for example
87
- `schemio-playground-v0.1.3`. It first runs the tests, builds the package, and
89
+ `schemio-playground-v0.1.6`. It first runs the tests, builds the package, and
88
90
  installs the resulting tarball with pnpm.
89
91
 
90
92
  For the same tag, it also attaches a browser-ready archive and SHA-256 checksum