Skip to content

Commit

Permalink
BLD: Release 1.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sanand0 committed Sep 28, 2021
1 parent 34958a5 commit b736f33
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1296,13 +1296,14 @@ Then run:

```bash
git commit . -m"BLD: Release x.x.x"
git push --tags
git tag -m"" -a vx.x.x
git push --follow-tags
npm publish
```

## Change log

- 1.20.0 (WIP):
- 1.20.0 (28 Sep 2021):
- `<script type="text/html" $block="name">` adds a [re-usable template block](#add-re-usable-blocks-with-script-typetexthtml-block)
- `this.$id` holds a [unique ID for each component](#thisid-hold-a-unique-id-for-each-component)
- 1.19.0 (25 Sep 2021):
Expand Down
4 changes: 2 additions & 2 deletions docs/network-chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This is useful when creating force directed layouts like:
Add this code anywhere in your HTML page:

```html
<script src="https://cdn.jsdelivr.net/npm/uifactory@1.19.0/dist/uifactory.min.js" import="@network-chart"></script>
<script src="https://cdn.jsdelivr.net/npm/uifactory@1.20.0/dist/uifactory.min.js" import="@network-chart"></script>
<script>
/* exported nodes, links */
var nodes = [
Expand Down Expand Up @@ -115,7 +115,7 @@ document.querySelector('network-chart').nodeFill = 'green'
Loading network...
</network-chart>

<script src="https://cdn.jsdelivr.net/npm/uifactory@1.19.0/dist/uifactory.min.js" import="@network-chart"></script>
<script src="https://cdn.jsdelivr.net/npm/uifactory@1.20.0/dist/uifactory.min.js" import="@network-chart"></script>
<script>
/* exported nodes, links */
var nodes = [
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ We'll build a simple dashboard showing KPI cards that looks like this:
Add this line to your HTML file. This links directly to UIFactory from the CDN. No need to install anything.

```html
<script src="https://cdn.jsdelivr.net/npm/uifactory@1.19.0/dist/uifactory.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/uifactory@1.20.0/dist/uifactory.min.js"></script>
```

[See on CodePen](https://codepen.io/sanand0/pen/QWgaXmg?editors=1000)
Expand Down Expand Up @@ -340,7 +340,7 @@ convention. This component is saved at [`kpi-dashboard.html`](kpi-dashboard.html
To use it in your application, add:

```html
<script src="https://cdn.jsdelivr.net/npm/uifactory@1.19.0/dist/uifactory.min.js" import="kpi-dashboard.html"></script>
<script src="https://cdn.jsdelivr.net/npm/uifactory@1.20.0/dist/uifactory.min.js" import="kpi-dashboard.html"></script>
```

Note the `import="kpi-dashboard.html"` in the 2nd line. That makes `<kpi-dashboard>` available to
Expand Down
2 changes: 1 addition & 1 deletion docs/svg-chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This is useful when creating:
Add this code anywhere in your HTML page:

```html
<script src="https://cdn.jsdelivr.net/npm/uifactory@1.19.0/dist/uifactory.min.js" import="@svg-chart"></script>
<script src="https://cdn.jsdelivr.net/npm/uifactory@1.20.0/dist/uifactory.min.js" import="@svg-chart"></script>

<svg-chart src:urltext="https://cdn.glitch.com/00ca098e-1db3-4b35-aa48-6155f65df538%2Fphone.svg?v=1623937023597"
data:js="{ phone: 'iPhone', hours: 2.3 }"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uifactory",
"version": "1.19.0",
"version": "1.20.0",
"description": "Simple HTML components",
"main": "dist/uifactory.min.js",
"jsdelivr": "dist/uifactory.min.js",
Expand Down
2 changes: 1 addition & 1 deletion src/uifactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(function (window) {
let uifactory = window.uifactory = window.uifactory || {
version: '1.19.0',
version: '1.20.0',
// List of all UI components and their configuration
components: {},
// Registry of all attribute types and their convertors
Expand Down

0 comments on commit b736f33

Please sign in to comment.