u2ui 1.4.5 → 1.4.6
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/attr/confirm/confirm.js +2 -1
- package/class/unstyle/unstyle.css +1 -0
- package/el/toc/toc.js +2 -0
- package/package.json +1 -1
- package/u2/auto.js +3 -8
package/attr/confirm/confirm.js
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
let resentConfirmed = false;
|
|
3
3
|
|
|
4
4
|
// submit
|
|
5
|
-
//
|
|
5
|
+
// idea: test if it works inside shadow dom
|
|
6
|
+
// idea: Alt+click to skip confirmation? but how in the submit path?
|
|
6
7
|
|
|
7
8
|
document.addEventListener('submit', e=>{
|
|
8
9
|
if (resentConfirmed) return; // dont check again
|
package/el/toc/toc.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "u2ui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.6",
|
|
4
4
|
"description": "HTML Advanced: More Capabilities, Same Feel, Same Simplicity",
|
|
5
5
|
"keywords": ["web-components","pattern-library","component-library","ui-toolkit","design-system"],
|
|
6
6
|
"author": "Tobias Buschor",
|
package/u2/auto.js
CHANGED
|
@@ -7,16 +7,11 @@ let rootUrl = root.toString();
|
|
|
7
7
|
|
|
8
8
|
if (root.host === 'localhost') debug = true;
|
|
9
9
|
|
|
10
|
-
//let min = '.min';
|
|
11
|
-
|
|
12
|
-
// get faster cdn updates? https://purge.jsdelivr.net/gh/nuxodin/cleanup.js@latest/
|
|
13
|
-
|
|
14
10
|
if (debug) { // top level await safari >= 15.1
|
|
15
|
-
//min = '';
|
|
16
11
|
await Promise.all([
|
|
17
|
-
//import('https://cdn.jsdelivr.net/gh/nuxodin/lazyfill/mod.
|
|
18
|
-
//import('https://cdn.jsdelivr.net/gh/nuxodin/lazyfill/htmlfills.
|
|
19
|
-
//import('https://cdn.jsdelivr.net/gh/nuxodin/cleanup.js/mod.
|
|
12
|
+
//import('https://cdn.jsdelivr.net/gh/nuxodin/lazyfill/mod.js'),
|
|
13
|
+
//import('https://cdn.jsdelivr.net/gh/nuxodin/lazyfill/htmlfills.js'),
|
|
14
|
+
//import('https://cdn.jsdelivr.net/gh/nuxodin/cleanup.js/mod.js'),
|
|
20
15
|
]);
|
|
21
16
|
}
|
|
22
17
|
|