@zsviczian/kplex-web 0.0.0-stage → 0.0.2

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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Meta Platforms, Inc. and affiliates.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Meta Platforms, Inc. and affiliates.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,4 @@
1
+ K-Plex Web 0.0.2 (pack 0.4.6)
2
+ Copyright K-Plex contributors. Distributed under AGPL-3.0-only.
3
+ Corresponding source: https://github.com/zsviczian/kplex/tree/34c94e334c88c7984fa7efea65188bb9d904548d
4
+ Use the source for the exact release that supplied this runtime. When redistributing a custom build, make its exact corresponding source available.
package/README.md CHANGED
@@ -1,3 +1,22 @@
1
- # Temporary Holding Version
1
+ # K-Plex Web
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The browser build of K-Plex Compass and Sidecar for read-only publications.
4
+ `compass.js` is an ES module and `compass.css` supplies its styles. Use the same
5
+ package release for both files when embedding the reader. On a static site,
6
+ keep the bundled runtime modules together in the same folder.
7
+
8
+ Import `mountCompass` from `compass.js` and pass a container, a K-Plex
9
+ publication manifest and an options object with the manifest's `publicationUrl`.
10
+ The returned handle supports `update(manifest)` and `dispose()`. The exported
11
+ `demo.js` opens a standalone publication with a separate stylesheet. Hosted
12
+ K-Plex exports use `@zsviczian/kplex-web@latest/cdn.js` on jsDelivr. This entry
13
+ includes the reader and its styles and opens earlier supported publication
14
+ formats. `offline.js` is the classic script
15
+ used by the offline exporter.
16
+
17
+ `runtime-pack.json` holds the same files and their checksums for importing into
18
+ the Obsidian export tool as data. The browser loads the runtime as JavaScript.
19
+ Exports can be hosted independently of the CDN.
20
+
21
+ The source and publishing guide are in the [K-Plex repository](https://github.com/zsviczian/kplex).
22
+ See `LICENSES/` for notices and the corresponding source reference.