@glissade/element 0.2.0 → 0.4.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 +24 -0
- package/package.json +5 -5
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# @glissade/element
|
|
2
|
+
|
|
3
|
+
`<gs-player>` — a shadow-DOM custom element wrapping `mount()`: controls (play/pause, scrubber, time readout) gated by an attribute, CSS-part themable, ≤ 5 kB gz on top of the base path.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm i @glissade/element
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
```html
|
|
10
|
+
<gs-player controls loop autoplay></gs-player>
|
|
11
|
+
<script type="module">
|
|
12
|
+
import '@glissade/element';
|
|
13
|
+
document.querySelector('gs-player').scene = sceneModule; // { createScene, timeline }
|
|
14
|
+
</script>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Part of glissade
|
|
18
|
+
|
|
19
|
+
*(glide & slide)* — programmatic motion graphics for TypeScript: realtime-first in any web page, deterministic headless video export from the same code, a visual studio over the same document. No generator functions.
|
|
20
|
+
|
|
21
|
+
- [Repository & full README](https://github.com/tyevco/glissade)
|
|
22
|
+
- [Getting started](https://github.com/tyevco/glissade/blob/main/docs/getting-started.md) · [Concepts](https://github.com/tyevco/glissade/blob/main/docs/concepts.md) · [Interactivity](https://github.com/tyevco/glissade/blob/main/docs/interactivity.md)
|
|
23
|
+
|
|
24
|
+
Apache-2.0.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glissade/element",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "glissade <gs-player> custom element: zero-framework embedding with minimal, CSS-part themable controls.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@glissade/backend-canvas2d": "0.
|
|
19
|
-
"@glissade/core": "0.
|
|
20
|
-
"@glissade/player": "0.
|
|
21
|
-
"@glissade/scene": "0.
|
|
18
|
+
"@glissade/backend-canvas2d": "0.4.0",
|
|
19
|
+
"@glissade/core": "0.4.0",
|
|
20
|
+
"@glissade/player": "0.4.0",
|
|
21
|
+
"@glissade/scene": "0.4.0"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|