eleva 1.2.7-alpha → 1.2.9-alpha
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/LICENSE +1 -1
- package/README.md +4 -5
- package/dist/eleva.cjs.js +812 -0
- package/dist/eleva.cjs.js.map +1 -0
- package/dist/eleva.d.ts +364 -82
- package/dist/eleva.esm.js +385 -167
- package/dist/eleva.esm.js.map +1 -1
- package/dist/eleva.min.js +2 -1
- package/dist/eleva.min.js.map +1 -1
- package/dist/eleva.umd.js +385 -167
- package/dist/eleva.umd.js.map +1 -1
- package/package.json +10 -13
- package/src/core/Eleva.js +246 -95
- package/src/modules/Emitter.js +48 -18
- package/src/modules/Renderer.js +23 -6
- package/src/modules/Signal.js +37 -21
- package/src/modules/TemplateEngine.js +42 -27
- package/types/core/Eleva.d.ts +202 -82
- package/types/core/Eleva.d.ts.map +1 -1
- package/types/modules/Emitter.d.ts +35 -19
- package/types/modules/Emitter.d.ts.map +1 -1
- package/types/modules/Renderer.d.ts +26 -9
- package/types/modules/Renderer.d.ts.map +1 -1
- package/types/modules/Signal.d.ts +29 -13
- package/types/modules/Signal.d.ts.map +1 -1
- package/types/modules/TemplateEngine.d.ts +35 -17
- package/types/modules/TemplateEngine.d.ts.map +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -29,10 +29,10 @@ Pure JavaScript, Pure Performance, Simply Elegant.
|
|
|
29
29
|
**A minimalist, lightweight, pure vanilla JavaScript frontend runtime framework.**
|
|
30
30
|
_Built with love for native JavaScript—because sometimes, less really is more!_ 😊
|
|
31
31
|
|
|
32
|
-
> **Stability Notice**: This is `v1.2.
|
|
32
|
+
> **Stability Notice**: This is `v1.2.9-alpha` - The core functionality is stable, but I'm seeking community feedback before the final v1.0.0 release.
|
|
33
33
|
> While suitable for production use, please be aware of the [known limitations](docs/known-limitations.md).
|
|
34
34
|
|
|
35
|
-
**Version:** `1.2.
|
|
35
|
+
**Version:** `1.2.9-alpha`
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
@@ -223,7 +223,7 @@ or
|
|
|
223
223
|
|
|
224
224
|
```html
|
|
225
225
|
<!-- unpkg -->
|
|
226
|
-
<script src="https://unpkg.com/eleva
|
|
226
|
+
<script src="https://unpkg.com/eleva"></script>
|
|
227
227
|
```
|
|
228
228
|
|
|
229
229
|
---
|
|
@@ -345,8 +345,7 @@ Interactive Demo: [CodePen](https://codepen.io/tarekraafat/pen/jEOyzYN?editors=1
|
|
|
345
345
|
- **`.component(name, definition)`**
|
|
346
346
|
Register a component.
|
|
347
347
|
- **`.mount(container, compName, props)`**
|
|
348
|
-
Mount a component to the DOM.
|
|
349
|
-
_Note:_ The mounting context now includes an `emitter` property (the full event emitter instance) for simplified event handling. Use `context.emitter.on(...)` and `context.emitter.emit(...)` for event management.
|
|
348
|
+
Mount a component to the DOM.
|
|
350
349
|
|
|
351
350
|
For detailed API documentation, please check the [docs](docs/index.md) folder.
|
|
352
351
|
|