ensojs 1.0.0-rc.6 → 1.0.0-rc.7

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Enso
2
2
 
3
- <img src="docs/icon.svg" width="100">
3
+ <img src="public/icon.svg" width="100">
4
4
 
5
5
  ![npm version](https://img.shields.io/npm/v/ensojs?color=ca2e2e)
6
6
  ![bundle size](https://img.shields.io/bundlephobia/minzip/ensojs?label=size&color=ca2e2e&labelColor=333333)
@@ -50,7 +50,7 @@ class MyComponent extends WebComponent {
50
50
  }
51
51
  ```
52
52
 
53
- As real-world components grew, new sources of repetitive boilerplate appeared. For instance, querying the DOM for child elements. To solve this, a quick and simple processing step was added to the template parsing, to extract `#ref="myRef"` attributes, and insert them as fields on the component, for a simple access `this.myRef`. But it soon became apparent that there was still a great deal of boilerplate, attaching events and the `@<event>=""` attribute evolved to replace calls to `this.myRef.addEventListener(...)`. As more features were added, Enso started to form.
53
+ As real-world components grew, new sources of repetitive boilerplate appeared. For instance, querying the DOM for child elements. To solve this, a quick and simple processing step was added to the template parsing, to extract `#ref="myRef"` attributes, and insert them as fields on the component, for simple access via the class: `this.myRef`. But it soon became apparent that there was still a great deal of boilerplate, attaching events and the `@<event>=""` attribute evolved to replace calls to `this.myRef.addEventListener(...)`. As more features were added, Enso started to form.
54
54
 
55
55
  From:
56
56
 
@@ -87,7 +87,7 @@ Or via CDN:
87
87
 
88
88
  A simple reactive counter component:
89
89
 
90
- ![rendered image of tiny-counter component](docs/tiny-counter.png)
90
+ ![rendered image of tiny-counter component](public/tiny-counter.png)
91
91
 
92
92
  ```javascript
93
93
  import Enso, { css, html, attr } from 'ensojs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ensojs",
3
- "version": "1.0.0-rc.6",
3
+ "version": "1.0.0-rc.7",
4
4
  "type": "module",
5
5
 
6
6
  "description": "A lightweight Web Component framework focused on clarity, reactivity, and minimal boilerplate.",