@webtides/element-js 0.7.3 → 1.0.0-alpha.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.
- package/README.md +2 -2
- package/dist/index.js +688 -969
- package/dist/index.js.map +4 -4
- package/index.js +2 -1
- package/package.json +16 -20
- package/src/BaseElement.js +102 -66
- package/src/StyledElement.js +34 -12
- package/src/TemplateElement.js +27 -7
- package/src/dom-parts/AttributePart.js +160 -0
- package/src/dom-parts/ChildNodePart.js +343 -0
- package/src/dom-parts/NodePart.js +37 -0
- package/src/dom-parts/Part.js +12 -0
- package/src/dom-parts/TemplatePart.js +140 -0
- package/src/dom-parts/TemplateResult.js +332 -0
- package/src/dom-parts/directives.js +109 -0
- package/src/dom-parts/html.js +12 -0
- package/src/dom-parts/render.js +10 -0
- package/src/util/AttributeParser.js +62 -29
- package/src/util/DOMHelper.js +247 -5
- package/src/util/Directive.js +35 -0
- package/src/util/Store.js +25 -4
- package/src/util/defineElement.js +2 -2
- package/src/util/i18n.js +3 -3
- package/src/util/toString.js +2 -2
- package/CHANGELOG.md +0 -142
- package/src/renderer/vanilla/TemplateElement.js +0 -50
- package/src/renderer/vanilla/index.js +0 -18
- package/src/renderer/vanilla/util/directives.js +0 -78
- package/src/renderer/vanilla/util/html.js +0 -65
- package/src/renderer/vanilla/util/render.js +0 -149
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# element-js
|
|
2
2
|
|
|
3
|
-
Simple and lightweight base classes for web components with a beautiful API
|
|
3
|
+
Simple and lightweight base classes for web components with a beautiful API. Dependency free.
|
|
4
4
|
|
|
5
5
|
## Introduction
|
|
6
6
|
|
|
7
|
-
`element-js` lets you write simple, declarative and beautiful web components without the boilerplate.
|
|
7
|
+
`element-js` lets you write simple, declarative and beautiful web components without the boilerplate.
|
|
8
8
|
|
|
9
9
|
## How to use
|
|
10
10
|
|