diff --git a/README.md b/README.md index 911635a..0232b52 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ The `html` template tag will parse the content as XHTML and returns a `TemplateR In the below example, two reactive items `who` and `count` are defined. `who` is set as the value of an input element: the value of `who` is updated whenever the text field in question receives input. `who` is also rendered as text below, so as the user types, the text below will update in real time. `count` on the other hand is just a number which is incremented once a second; the seconds counter is automatically rerendered every time the count changes. ```js -import { Component, html, reactive, register } from "https://code.okku.dev/destiny-ui/v0.6.0/dist/mod.js"; +import { Component, html, reactive, register } from "https://code.okku.dev/destiny-ui/v0.7.0/dist/mod.js"; register(class ExampleComponent extends Component { who = reactive("visitor"); @@ -73,7 +73,7 @@ The library figures out what the appropriate DOM operation for each slot is from You can also make arrays reactive. ReactiveArrays will behave generally akin to normal arrays, except that they will give you reactive properties instead of normal ones. You can manipulate the array like you would normal arrays and the DOM and other dependents will update with it; forget immutability! Here's an example of using a reactive array: ```js -import { html, reactive } from "https://code.okku.dev/destiny-ui/v0.6.0/dist/mod.js"; +import { html, reactive } from "https://code.okku.dev/destiny-ui/v0.7.0/dist/mod.js"; const thingsILike = reactive(["cats", "JavaScript", "sleep"]); diff --git a/package-lock.json b/package-lock.json index ea5413a..3770f4a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "destiny", - "version": "0.6.0", + "name": "destiny-ui", + "version": "0.7.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "destiny", - "version": "0.6.0", + "name": "destiny-ui", + "version": "0.7.0", "license": "OSL-3.0", "devDependencies": { "@typescript-eslint/eslint-plugin": "^4.28.1", @@ -1637,9 +1637,9 @@ } }, "node_modules/typescript": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.4.tgz", - "integrity": "sha512-uauPG7XZn9F/mo+7MrsRjyvbxFpzemRjKEZXS4AK83oP2KKOJPvb+9cO/gmnv8arWZvhnjVOXz7B49m1l0e9Ew==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", + "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -2876,9 +2876,9 @@ "dev": true }, "typescript": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.4.tgz", - "integrity": "sha512-uauPG7XZn9F/mo+7MrsRjyvbxFpzemRjKEZXS4AK83oP2KKOJPvb+9cO/gmnv8arWZvhnjVOXz7B49m1l0e9Ew==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", + "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==", "dev": true }, "uri-js": { diff --git a/package.json b/package.json index 9c5cdd7..2d60fb1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "destiny", + "name": "destiny-ui", "description": "A reactive UI library for JavaScript and TypeScript.", - "version": "0.6.0", + "version": "0.7.0", "main": "./dist/examples/main.js", "types": "./src/mod.ts", "type": "module",