@tempots/dom 5.0.1 → 5.0.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 +1 -0
- package/{dist/components → components}/OneOf.js +1 -1
- package/package.json +5 -7
- /package/{dist/clean.d.ts → clean.d.ts} +0 -0
- /package/{dist/clean.js → clean.js} +0 -0
- /package/{dist/components → components}/Attribute.d.ts +0 -0
- /package/{dist/components → components}/Attribute.js +0 -0
- /package/{dist/components → components}/BooleanAttribute.d.ts +0 -0
- /package/{dist/components → components}/BooleanAttribute.js +0 -0
- /package/{dist/components → components}/ClassName.d.ts +0 -0
- /package/{dist/components → components}/ClassName.js +0 -0
- /package/{dist/components → components}/El.d.ts +0 -0
- /package/{dist/components → components}/El.js +0 -0
- /package/{dist/components → components}/FadeIn.d.ts +0 -0
- /package/{dist/components → components}/FadeIn.js +0 -0
- /package/{dist/components → components}/FadeOut.d.ts +0 -0
- /package/{dist/components → components}/FadeOut.js +0 -0
- /package/{dist/components → components}/For.d.ts +0 -0
- /package/{dist/components → components}/For.js +0 -0
- /package/{dist/components → components}/Fragment.d.ts +0 -0
- /package/{dist/components → components}/Fragment.js +0 -0
- /package/{dist/components → components}/HiddenWhenEmpty.d.ts +0 -0
- /package/{dist/components → components}/HiddenWhenEmpty.js +0 -0
- /package/{dist/components → components}/If.d.ts +0 -0
- /package/{dist/components → components}/If.js +0 -0
- /package/{dist/components → components}/InnerHTML.d.ts +0 -0
- /package/{dist/components → components}/InnerHTML.js +0 -0
- /package/{dist/components → components}/Lifecycle.d.ts +0 -0
- /package/{dist/components → components}/Lifecycle.js +0 -0
- /package/{dist/components → components}/Match.d.ts +0 -0
- /package/{dist/components → components}/Match.js +0 -0
- /package/{dist/components → components}/NotEmpty.d.ts +0 -0
- /package/{dist/components → components}/NotEmpty.js +0 -0
- /package/{dist/components → components}/On.d.ts +0 -0
- /package/{dist/components → components}/On.js +0 -0
- /package/{dist/components → components}/OnRemove.d.ts +0 -0
- /package/{dist/components → components}/OnRemove.js +0 -0
- /package/{dist/components → components}/OneOf.d.ts +0 -0
- /package/{dist/components → components}/Portal.d.ts +0 -0
- /package/{dist/components → components}/Portal.js +0 -0
- /package/{dist/components → components}/Property.d.ts +0 -0
- /package/{dist/components → components}/Property.js +0 -0
- /package/{dist/components → components}/Provider.d.ts +0 -0
- /package/{dist/components → components}/Provider.js +0 -0
- /package/{dist/components → components}/Repeat.d.ts +0 -0
- /package/{dist/components → components}/Repeat.js +0 -0
- /package/{dist/components → components}/Shadow.d.ts +0 -0
- /package/{dist/components → components}/Shadow.js +0 -0
- /package/{dist/components → components}/Show.d.ts +0 -0
- /package/{dist/components → components}/Show.js +0 -0
- /package/{dist/components → components}/Text.d.ts +0 -0
- /package/{dist/components → components}/Text.js +0 -0
- /package/{dist/components → components}/TextContent.d.ts +0 -0
- /package/{dist/components → components}/TextContent.js +0 -0
- /package/{dist/components → components}/Tween.d.ts +0 -0
- /package/{dist/components → components}/Tween.js +0 -0
- /package/{dist/components → components}/animatable.d.ts +0 -0
- /package/{dist/components → components}/animatable.js +0 -0
- /package/{dist/dom-context.d.ts → dom-context.d.ts} +0 -0
- /package/{dist/dom-context.js → dom-context.js} +0 -0
- /package/{dist/helpers → helpers}/handle-anchor-click.d.ts +0 -0
- /package/{dist/helpers → helpers}/handle-anchor-click.js +0 -0
- /package/{dist/helpers → helpers}/handle-text-input.d.ts +0 -0
- /package/{dist/helpers → helpers}/handle-text-input.js +0 -0
- /package/{dist/helpers → helpers}/is-empty-element.d.ts +0 -0
- /package/{dist/helpers → helpers}/is-empty-element.js +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/index.js → index.js} +0 -0
- /package/{dist/jsx-dev-runtime.d.ts → jsx-dev-runtime.d.ts} +0 -0
- /package/{dist/jsx-dev-runtime.js → jsx-dev-runtime.js} +0 -0
- /package/{dist/jsx-runtime.d.ts → jsx-runtime.d.ts} +0 -0
- /package/{dist/jsx-runtime.js → jsx-runtime.js} +0 -0
- /package/{dist/jsx.d.ts → jsx.d.ts} +0 -0
- /package/{dist/jsx.js → jsx.js} +0 -0
- /package/{dist/prop.d.ts → prop.d.ts} +0 -0
- /package/{dist/prop.js → prop.js} +0 -0
- /package/{dist/render.d.ts → render.d.ts} +0 -0
- /package/{dist/render.js → render.js} +0 -0
- /package/{dist/renderable.d.ts → renderable.d.ts} +0 -0
- /package/{dist/renderable.js → renderable.js} +0 -0
- /package/{dist/types → types}/clean.d.ts +0 -0
- /package/{dist/types → types}/clean.js +0 -0
- /package/{dist/types → types}/idom-context.d.ts +0 -0
- /package/{dist/types → types}/idom-context.js +0 -0
- /package/{dist/types → types}/renderable.d.ts +0 -0
- /package/{dist/types → types}/renderable.js +0 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# @tempots/dom
|
|
@@ -11,8 +11,8 @@ export class OneOfImpl {
|
|
|
11
11
|
const pair = this.match.get();
|
|
12
12
|
let key = pair[0];
|
|
13
13
|
const value = pair[1];
|
|
14
|
+
const stableCtx = ctx.makeReference();
|
|
14
15
|
let prop = new Prop(value);
|
|
15
|
-
let stableCtx = ctx.makeReference();
|
|
16
16
|
let newCtx = stableCtx.makeReference();
|
|
17
17
|
let clear = makeRenderable(this.cases[key](prop)).appendTo(newCtx);
|
|
18
18
|
const cancel = this.match.subscribe(([newKey, newValue]) => {
|
package/package.json
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tempots/dom",
|
|
3
|
-
"version": "5.0.
|
|
4
|
-
"main": "
|
|
5
|
-
"types": "
|
|
3
|
+
"version": "5.0.2",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"types": "index.d.ts",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"watch": "tsc --watch",
|
|
8
8
|
"build": "tsc",
|
|
9
9
|
"test": "jest",
|
|
10
10
|
"test:watch": "jest --watch",
|
|
11
11
|
"coverage": "jest --coverage",
|
|
12
|
-
"npm:
|
|
12
|
+
"npm:prep": "yarn build && cp README.md package.json dist",
|
|
13
|
+
"npm:publish": "yarn npm:prep && (cd dist && yarn publish --access public)"
|
|
13
14
|
},
|
|
14
|
-
"files": [
|
|
15
|
-
"dist"
|
|
16
|
-
],
|
|
17
15
|
"dependencies": {},
|
|
18
16
|
"devDependencies": {
|
|
19
17
|
"@happy-dom/jest-environment": "^9.1.7",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist/jsx.js → jsx.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|