@eldrex/papyr-animate 3.0.1 β†’ 3.0.3

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
@@ -1,111 +1,109 @@
1
- # πŸ“„ Papyr.js β€” Simple Inside, Beautiful Outside
2
-
3
- > **Write modern, secure, and reactive web applications with zero dependencies and zero compile steps.**
4
-
5
- ---
6
-
7
- ## ⏱️ Start in 60 Seconds
8
-
9
- Create an HTML file and run this minimal working code:
10
-
11
- ```html
12
- <!DOCTYPE html>
13
- <html lang="en">
14
- <head>
15
- <meta charset="UTF-8">
16
- <title>Hello Papyr.js</title>
17
- <!-- Include CDN -->
18
- <script src="https://papyrus-js.vercel.app/papyr-complete.js"></script>
19
- </head>
20
- <body>
21
- <div id="app"></div>
22
- <script>
23
- // Create reactive state
24
- let count = papyr.state(0);
25
-
26
- // Render UI
27
- let app = papyr.div({ style: { padding: '40px', fontFamily: 'sans-serif' } },
28
- papyr.h1("Greetings from Papyr.js! πŸš€"),
29
- papyr.button(
30
- () => `Clicked ${count.value} times`,
31
- {
32
- onclick: () => count.value++,
33
- style: { padding: '10px 20px', borderRadius: '6px', cursor: 'pointer' }
34
- }
35
- )
36
- );
37
-
38
- papyr.mount("#app", app);
39
- </script>
40
- </body>
41
- </html>
42
- ```
43
-
44
- ---
45
-
46
- ## πŸ’‘ What is Papyr?
47
- * **Direct DOM Rendering:** Updates only the targeted DOM nodes when state changesβ€”bypassing Virtual DOM diff overhead.
48
- * **Reactive State Engine:** Precise, dependency-tracking subscription-based reactivity (inspired by SolidJS and Vue).
49
- * **Zero Dependencies:** A single unified file that packages layout grids, animations, local storage databases, and AI helpers.
50
-
51
- ---
52
-
53
- ## πŸ› οΈ What You Can Build
54
- * **Aesthetic Portals & Dashboards:** Built-in HSL theme engines, collapsible persistent sidebars, and responsive viewport folding structures.
55
- * **Offline-First CRUD Apps:** Synchronized SQLite, IndexedDB, and LocalStorage drivers.
56
- * **Cinematic Micro-Interactions:** Touch gesture trackers, particle backgrounds, and hardware-accelerated Verlet physics integrations.
57
-
58
- ---
59
-
60
- ## 🎯 Core Idea
61
-
62
- $$ \text{State} \rightarrow \text{UI updates automatically} $$
63
-
64
- When a state's `.value` mutations occur, the Papyr Runtime Engine executes targeted updates specifically on the elements that referenced that state.
65
-
66
- ---
67
-
68
- ## πŸ“š Learn Next
69
-
70
- Explore the official documentation:
71
-
72
- * πŸš€ [Getting Started](file:///c:/Users/Eldrex/Downloads/Papyr.js-main/Papyr.js-main/docs/getting-started.md) β€” Turn from a beginner into a user in 10 minutes.
73
- * 🧠 [The Papyr Way](file:///c:/Users/Eldrex/Downloads/Papyr.js-main/Papyr.js-main/docs/papyr-way.md) β€” Master the architectural mental models.
74
- * πŸ“¦ [Core Concepts](file:///c:/Users/Eldrex/Downloads/Papyr.js-main/Papyr.js-main/docs/core-concepts.md) β€” Understand reactivity flow, state, and rendering.
75
- * πŸ“– [Master API Reference](file:///c:/Users/Eldrex/Downloads/Papyr.js-main/Papyr.js-main/docs/api/) β€” Read the individual subsystem reference modules.
76
- * πŸ” [Practical Recipes](file:///c:/Users/Eldrex/Downloads/Papyr.js-main/Papyr.js-main/docs/recipes/) β€” Copy-paste common UI/data patterns.
77
- * πŸ›‘οΈ [Security & WATT](file:///c:/Users/Eldrex/Downloads/Papyr.js-main/Papyr.js-main/docs/guides/security.md) β€” Learn about Web Access Transparency Toolkit.
78
-
79
- ---
80
-
81
- ## πŸ§ͺ Interactive Demos
82
-
83
- Run and inspect the interactive test suites inside the browser:
84
- * πŸ“ [Interactive Todo Checklist](file:///c:/Users/Eldrex/Downloads/Papyr.js-main/Papyr.js-main/tests/todo.html)
85
- * πŸ’Ύ [Multi-Engine CRUD Database Sandbox](file:///c:/Users/Eldrex/Downloads/Papyr.js-main/Papyr.js-main/tests/crud.html)
86
- * 🎬 [Touch Gestures & Spring Physics Sandbox](file:///c:/Users/Eldrex/Downloads/Papyr.js-main/Papyr.js-main/tests/animation.html)
87
- * πŸ“ˆ [Canvas Formula Graphing Plotter](file:///c:/Users/Eldrex/Downloads/Papyr.js-main/Papyr.js-main/tests/charts.html)
88
-
89
- ---
90
-
91
- ## βš™οΈ Installation
92
-
93
- ### CDN (Zero Build Setup)
94
- Include the compiled single runtime module inside your HTML:
95
- ```html
96
- <script src="https://papyrus-js.vercel.app/papyr-complete.js"></script>
97
- ```
98
-
99
- ### Package Manager
100
- ```bash
101
- npm install @eldrex/papyr
102
- ```
103
-
104
- ```javascript
105
- import { papyr } from '@eldrex/papyr';
106
- ```
107
-
108
- ---
109
-
110
- ## πŸ“„ License
111
- Papyr.js is distributed under the [MIT License](file:///c:/Users/Eldrex/Downloads/Papyr.js-main/Papyr.js-main/LICENSE).
1
+ # πŸ“„ Papyr.js β€” Simple Inside, Beautiful Outside
2
+
3
+ > **Write modern, secure, and reactive web applications with zero dependencies and zero compile steps.**
4
+
5
+ ---
6
+
7
+ ## ⏱️ Start in 60 Seconds
8
+
9
+ Create an HTML file and run this minimal working code:
10
+
11
+ ```html
12
+ <!DOCTYPE html>
13
+ <html lang="en">
14
+ <head>
15
+ <meta charset="UTF-8">
16
+ <title>Hello Papyr.js</title>
17
+ <!-- Include CDN -->
18
+ <script src="https://papyrus-js.vercel.app/papyr-complete.js"></script>
19
+ </head>
20
+ <body>
21
+ <div id="app"></div>
22
+ <script>
23
+ // Create reactive state
24
+ let count = papyr.state(0);
25
+
26
+ // Render UI
27
+ let app = papyr.div({ style: { padding: '40px', fontFamily: 'sans-serif' } },
28
+ papyr.h1("Greetings from Papyr.js! πŸš€"),
29
+ papyr.button(
30
+ () => `Clicked ${count.value} times`,
31
+ {
32
+ onclick: () => count.value++,
33
+ style: { padding: '10px 20px', borderRadius: '6px', cursor: 'pointer' }
34
+ }
35
+ )
36
+ );
37
+
38
+ papyr.mount("#app", app);
39
+ </script>
40
+ </body>
41
+ </html>
42
+ ```
43
+
44
+ ---
45
+
46
+ ## πŸ’‘ What is Papyr?
47
+ * **Direct DOM Rendering:** Updates only the targeted DOM nodes when state changesβ€”bypassing Virtual DOM diff overhead.
48
+ * **Reactive State Engine:** Precise, dependency-tracking subscription-based reactivity (inspired by SolidJS and Vue).
49
+ * **Zero Dependencies:** A single unified file that packages layout grids, animations, local storage databases, and AI helpers.
50
+
51
+ ---
52
+
53
+ ## πŸ› οΈ What You Can Build
54
+ * **Aesthetic Portals & Dashboards:** Built-in HSL theme engines, collapsible persistent sidebars, and responsive viewport folding structures.
55
+ * **Offline-First CRUD Apps:** Synchronized SQLite, IndexedDB, and LocalStorage drivers.
56
+ * **Cinematic Micro-Interactions:** Touch gesture trackers, particle backgrounds, and hardware-accelerated Verlet physics integrations.
57
+
58
+ ---
59
+
60
+ ## 🎯 Core Idea
61
+
62
+ $$ \text{State} \rightarrow \text{UI updates automatically} $$
63
+
64
+ When a state's `.value` mutations occur, the Papyr Runtime Engine executes targeted updates specifically on the elements that referenced that state.
65
+
66
+ ---
67
+
68
+ ## πŸ“š Learn Next
69
+
70
+ Explore the official documentation:
71
+
72
+ * πŸš€ [Getting Started](https://github.com/EldrexDelosReyesBula/PapyrusJS/blob/main/docs/getting-started.md)
73
+ * 🧠 [The Papyr Way](https://github.com/EldrexDelosReyesBula/PapyrusJS/blob/main/docs/papyr-way.md)
74
+ * πŸ“¦ [Core Concepts](https://github.com/EldrexDelosReyesBula/PapyrusJS/blob/main/docs/core-concepts.md)
75
+ * πŸ“– [Master API Reference](https://github.com/EldrexDelosReyesBula/PapyrusJS/blob/main/docs/api/)
76
+ * πŸ” [Practical Recipes](https://github.com/EldrexDelosReyesBula/PapyrusJS/blob/main/docs/recipes/)
77
+ * πŸ›‘οΈ [Security & WATT](https://github.com/EldrexDelosReyesBula/PapyrusJS/blob/main/docs/guides/security.md)
78
+ ---
79
+
80
+ ## πŸ§ͺ Interactive Demos
81
+
82
+ Run and inspect the interactive test suites inside the browser:
83
+ * πŸ“ [Interactive Todo Checklist](https://github.com/EldrexDelosReyesBula/PapyrusJS/blob/main/tests/todo.html)
84
+ * πŸ’Ύ [Multi-Engine CRUD Database Sandbox](https://github.com/EldrexDelosReyesBula/PapyrusJS/blob/main/tests/crud.html)
85
+ * 🎬 [Touch Gestures & Spring Physics Sandbox](https://github.com/EldrexDelosReyesBula/PapyrusJS/blob/main/tests/animation.html)
86
+ * πŸ“ˆ [Canvas Formula Graphing Plotter](https://github.com/EldrexDelosReyesBula/PapyrusJS/blob/main/tests/charts.html)
87
+ ---
88
+
89
+ ## βš™οΈ Installation
90
+
91
+ ### CDN (Zero Build Setup)
92
+ Include the compiled single runtime module inside your HTML:
93
+ ```html
94
+ <script src="https://papyrus-js.vercel.app/papyr-complete.js"></script>
95
+ ```
96
+
97
+ ### Package Manager
98
+ ```bash
99
+ npm install @eldrex/papyr
100
+ ```
101
+
102
+ ```javascript
103
+ import { papyr } from '@eldrex/papyr';
104
+ ```
105
+
106
+ ---
107
+
108
+ ## πŸ“„ License
109
+ Papyr.js is distributed under the [MIT License](https://github.com/EldrexDelosReyesBula/PapyrusJS/blob/main/LICENSE).
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * PAPYR STATIC SITE LIBRARY - UI & Layout Modular Bundle
3
- * v3.0.1 - Core Reactivity, SPA Routing, Layouts, Design Engine, and Premium UI Components
3
+ * v3.0.3 - Core Reactivity, SPA Routing, Layouts, Design Engine, and Premium UI Components
4
4
  * Released under MIT License.
5
5
  */
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eldrex/papyr-animate",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "Animations and spring physics engine for Papyr.js",
5
5
  "main": "dist/papyr-animate.js",
6
6
  "module": "dist/papyr-animate.esm.js",
@@ -11,7 +11,7 @@
11
11
  "LICENSE"
12
12
  ],
13
13
  "peerDependencies": {
14
- "@eldrex/papyr": "^3.0.1"
14
+ "@eldrex/papyr": "^3.0.3"
15
15
  },
16
16
  "keywords": [
17
17
  "animate",