@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.
Files changed (86) hide show
  1. package/README.md +1 -0
  2. package/{dist/components → components}/OneOf.js +1 -1
  3. package/package.json +5 -7
  4. /package/{dist/clean.d.ts → clean.d.ts} +0 -0
  5. /package/{dist/clean.js → clean.js} +0 -0
  6. /package/{dist/components → components}/Attribute.d.ts +0 -0
  7. /package/{dist/components → components}/Attribute.js +0 -0
  8. /package/{dist/components → components}/BooleanAttribute.d.ts +0 -0
  9. /package/{dist/components → components}/BooleanAttribute.js +0 -0
  10. /package/{dist/components → components}/ClassName.d.ts +0 -0
  11. /package/{dist/components → components}/ClassName.js +0 -0
  12. /package/{dist/components → components}/El.d.ts +0 -0
  13. /package/{dist/components → components}/El.js +0 -0
  14. /package/{dist/components → components}/FadeIn.d.ts +0 -0
  15. /package/{dist/components → components}/FadeIn.js +0 -0
  16. /package/{dist/components → components}/FadeOut.d.ts +0 -0
  17. /package/{dist/components → components}/FadeOut.js +0 -0
  18. /package/{dist/components → components}/For.d.ts +0 -0
  19. /package/{dist/components → components}/For.js +0 -0
  20. /package/{dist/components → components}/Fragment.d.ts +0 -0
  21. /package/{dist/components → components}/Fragment.js +0 -0
  22. /package/{dist/components → components}/HiddenWhenEmpty.d.ts +0 -0
  23. /package/{dist/components → components}/HiddenWhenEmpty.js +0 -0
  24. /package/{dist/components → components}/If.d.ts +0 -0
  25. /package/{dist/components → components}/If.js +0 -0
  26. /package/{dist/components → components}/InnerHTML.d.ts +0 -0
  27. /package/{dist/components → components}/InnerHTML.js +0 -0
  28. /package/{dist/components → components}/Lifecycle.d.ts +0 -0
  29. /package/{dist/components → components}/Lifecycle.js +0 -0
  30. /package/{dist/components → components}/Match.d.ts +0 -0
  31. /package/{dist/components → components}/Match.js +0 -0
  32. /package/{dist/components → components}/NotEmpty.d.ts +0 -0
  33. /package/{dist/components → components}/NotEmpty.js +0 -0
  34. /package/{dist/components → components}/On.d.ts +0 -0
  35. /package/{dist/components → components}/On.js +0 -0
  36. /package/{dist/components → components}/OnRemove.d.ts +0 -0
  37. /package/{dist/components → components}/OnRemove.js +0 -0
  38. /package/{dist/components → components}/OneOf.d.ts +0 -0
  39. /package/{dist/components → components}/Portal.d.ts +0 -0
  40. /package/{dist/components → components}/Portal.js +0 -0
  41. /package/{dist/components → components}/Property.d.ts +0 -0
  42. /package/{dist/components → components}/Property.js +0 -0
  43. /package/{dist/components → components}/Provider.d.ts +0 -0
  44. /package/{dist/components → components}/Provider.js +0 -0
  45. /package/{dist/components → components}/Repeat.d.ts +0 -0
  46. /package/{dist/components → components}/Repeat.js +0 -0
  47. /package/{dist/components → components}/Shadow.d.ts +0 -0
  48. /package/{dist/components → components}/Shadow.js +0 -0
  49. /package/{dist/components → components}/Show.d.ts +0 -0
  50. /package/{dist/components → components}/Show.js +0 -0
  51. /package/{dist/components → components}/Text.d.ts +0 -0
  52. /package/{dist/components → components}/Text.js +0 -0
  53. /package/{dist/components → components}/TextContent.d.ts +0 -0
  54. /package/{dist/components → components}/TextContent.js +0 -0
  55. /package/{dist/components → components}/Tween.d.ts +0 -0
  56. /package/{dist/components → components}/Tween.js +0 -0
  57. /package/{dist/components → components}/animatable.d.ts +0 -0
  58. /package/{dist/components → components}/animatable.js +0 -0
  59. /package/{dist/dom-context.d.ts → dom-context.d.ts} +0 -0
  60. /package/{dist/dom-context.js → dom-context.js} +0 -0
  61. /package/{dist/helpers → helpers}/handle-anchor-click.d.ts +0 -0
  62. /package/{dist/helpers → helpers}/handle-anchor-click.js +0 -0
  63. /package/{dist/helpers → helpers}/handle-text-input.d.ts +0 -0
  64. /package/{dist/helpers → helpers}/handle-text-input.js +0 -0
  65. /package/{dist/helpers → helpers}/is-empty-element.d.ts +0 -0
  66. /package/{dist/helpers → helpers}/is-empty-element.js +0 -0
  67. /package/{dist/index.d.ts → index.d.ts} +0 -0
  68. /package/{dist/index.js → index.js} +0 -0
  69. /package/{dist/jsx-dev-runtime.d.ts → jsx-dev-runtime.d.ts} +0 -0
  70. /package/{dist/jsx-dev-runtime.js → jsx-dev-runtime.js} +0 -0
  71. /package/{dist/jsx-runtime.d.ts → jsx-runtime.d.ts} +0 -0
  72. /package/{dist/jsx-runtime.js → jsx-runtime.js} +0 -0
  73. /package/{dist/jsx.d.ts → jsx.d.ts} +0 -0
  74. /package/{dist/jsx.js → jsx.js} +0 -0
  75. /package/{dist/prop.d.ts → prop.d.ts} +0 -0
  76. /package/{dist/prop.js → prop.js} +0 -0
  77. /package/{dist/render.d.ts → render.d.ts} +0 -0
  78. /package/{dist/render.js → render.js} +0 -0
  79. /package/{dist/renderable.d.ts → renderable.d.ts} +0 -0
  80. /package/{dist/renderable.js → renderable.js} +0 -0
  81. /package/{dist/types → types}/clean.d.ts +0 -0
  82. /package/{dist/types → types}/clean.js +0 -0
  83. /package/{dist/types → types}/idom-context.d.ts +0 -0
  84. /package/{dist/types → types}/idom-context.js +0 -0
  85. /package/{dist/types → types}/renderable.d.ts +0 -0
  86. /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.1",
4
- "main": "dist/index.js",
5
- "types": "dist/index.d.ts",
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:publish": "yarn publish --access public"
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
File without changes
File without changes
File without changes
File without changes