Skip to content

Commit

Permalink
0.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
caracal7 committed Mar 10, 2024
1 parent b13334b commit 8b090b9
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 32 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Modern state-of-art user interfaces are always animated. So why shouldn't state

**Please <b style="color:red">be careful</b> if you're using this project in production**. Is still in development, it might have bugs and breaking changes.

**ui.js** v0.7.3 pre-alpha
**ui.js** v0.7.4 pre-alpha

- [ui.js](../dist/ui.js) - IIFE (Default)
- [ui.esm.js](../dist/ui.esm.js) - ES module
Expand Down
17 changes: 8 additions & 9 deletions dist/ui.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -1110,6 +1110,10 @@ function isBooleanAttr(tag, key) {
if (["disabled", "multiple"].includes(key))
return true;
}
if (tag === "select") {
if (["disabled"].includes(key))
return true;
}
return false;
}

Expand Down Expand Up @@ -1545,15 +1549,10 @@ function U_IF_SINGLE(container, tag, state, index, childIndex, __i__) {
if (__i__.exit) {
return childIndex + 1;
} else {
let isExitNow = Exit_Single(
container.__rendererName ? container._childNodes[childIndex] : container.childNodes[childIndex],
tag,
state,
container,
index
);
let _childNodes = container.__rendererName ? container._childNodes : container.childNodes;
let isExitNow = Exit_Single(_childNodes[childIndex], tag, state, container, index);
if (isExitNow) {
return childIndex;
return childIndex < _childNodes.length - 1 ? childIndex + 1 : childIndex;
} else {
return childIndex + 1;
}
Expand Down Expand Up @@ -8178,7 +8177,7 @@ async function processScripts() {
}

// src/index.js
var VERSION = "0.7.3-dev";
var VERSION = "0.7.4-dev";
!VERSION.endsWith("-dev") && console.log(`ui.js \u2764\uFE0F ${VERSION} alpha experiment. Make user interfaces great again!`);
var UIjs = {
VERSION,
Expand Down
17 changes: 8 additions & 9 deletions dist/ui.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,10 @@ function isBooleanAttr(tag, key) {
if (["disabled", "multiple"].includes(key))
return true;
}
if (tag === "select") {
if (["disabled"].includes(key))
return true;
}
return false;
}

Expand Down Expand Up @@ -1514,15 +1518,10 @@ function U_IF_SINGLE(container, tag, state, index, childIndex, __i__) {
if (__i__.exit) {
return childIndex + 1;
} else {
let isExitNow = Exit_Single(
container.__rendererName ? container._childNodes[childIndex] : container.childNodes[childIndex],
tag,
state,
container,
index
);
let _childNodes = container.__rendererName ? container._childNodes : container.childNodes;
let isExitNow = Exit_Single(_childNodes[childIndex], tag, state, container, index);
if (isExitNow) {
return childIndex;
return childIndex < _childNodes.length - 1 ? childIndex + 1 : childIndex;
} else {
return childIndex + 1;
}
Expand Down Expand Up @@ -8147,7 +8146,7 @@ async function processScripts() {
}

// src/index.js
var VERSION = "0.7.3-dev";
var VERSION = "0.7.4-dev";
!VERSION.endsWith("-dev") && console.log(`ui.js \u2764\uFE0F ${VERSION} alpha experiment. Make user interfaces great again!`);
var UIjs = {
VERSION,
Expand Down
17 changes: 8 additions & 9 deletions dist/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,10 @@
if (["disabled", "multiple"].includes(key))
return true;
}
if (tag === "select") {
if (["disabled"].includes(key))
return true;
}
return false;
}

Expand Down Expand Up @@ -1515,15 +1519,10 @@
if (__i__.exit) {
return childIndex + 1;
} else {
let isExitNow = Exit_Single(
container.__rendererName ? container._childNodes[childIndex] : container.childNodes[childIndex],
tag,
state,
container,
index
);
let _childNodes = container.__rendererName ? container._childNodes : container.childNodes;
let isExitNow = Exit_Single(_childNodes[childIndex], tag, state, container, index);
if (isExitNow) {
return childIndex;
return childIndex < _childNodes.length - 1 ? childIndex + 1 : childIndex;
} else {
return childIndex + 1;
}
Expand Down Expand Up @@ -8148,7 +8147,7 @@ Parse Error: ${e.stack}`);
}

// src/index.js
var VERSION = "0.7.3-dev";
var VERSION = "0.7.4-dev";
!VERSION.endsWith("-dev") && console.log(`ui.js \u2764\uFE0F ${VERSION} alpha experiment. Make user interfaces great again!`);
var UIjs = {
VERSION,
Expand Down
4 changes: 0 additions & 4 deletions examples/examples/demo/minesweeper.tag
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,7 @@
}

connected() {
console.log('connected')

this.reset();

console.log(this.state)
}


Expand Down

0 comments on commit 8b090b9

Please sign in to comment.