@t007/input 0.0.36 → 0.0.38

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  (() => {
3
- // ../../../sia-reactor/dist/chunk-PJTPFVEG.js
3
+ // ../../../sia-reactor/dist/chunk-4SGW3Y6X.js
4
4
  function createEl(tag, props, dataset, styles, el = tag ? document?.createElement(tag) : null) {
5
5
  return assignEl(el, props, dataset, styles);
6
6
  }
@@ -24,7 +24,7 @@
24
24
  return el;
25
25
  }
26
26
 
27
- // ../../../sia-reactor/dist/chunk-LZJYX2LE.js
27
+ // ../../../sia-reactor/dist/chunk-GH5QAGIC.js
28
28
  var RTR_BATCH = "undefined" !== typeof window ? ("undefined" !== typeof queueMicrotask ? queueMicrotask : setTimeout).bind(window) : "undefined" !== typeof process && process.nextTick ? process.nextTick : setTimeout;
29
29
  var RTR_LOG = console.log.bind(console, "[S.I.A Reactor]");
30
30
  var NIL = Object.freeze({});
@@ -56,7 +56,7 @@
56
56
  };
57
57
  var CTX = globalThis[/* @__PURE__ */ Symbol.for("S.I.A_CTX")] ??= CTX_BUILD;
58
58
 
59
- // ../utils/dist/chunk-ZFW6HNGO.js
59
+ // ../utils/dist/chunk-RCSOMCIC.js
60
60
  var INTERACTIVE_SELECTOR = ":is(button,[href],input:not([type='hidden']),select,textarea,details>summary,[contenteditable],iframe,audio[controls],video[controls],[tabindex]):not([disabled],[tabindex='-1'],[data-focus-guard],[inert],[inert] *)";
61
61
  var VIRTUAL_RESOURCE = /* @__PURE__ */ Symbol.for("T007_VIRTUAL_RESOURCE");
62
62
  function loadResource(req, type = "style", { module, media, crossOrigin, integrity, referrerPolicy, nonce, fetchPriority, attempts = 3, retryKey = false } = {}, win = window) {
@@ -72,7 +72,7 @@
72
72
  el?.remove?.();
73
73
  if (remaining > 1) {
74
74
  setTimeout(tryLoad, 1e3, remaining - 1);
75
- console.warn(`Retrying ${type} load for "${src}" (${attempts - remaining + 1})...`);
75
+ console.warn(`Retrying ${type} load for "${src}" (${attempts - remaining + 1}/${attempts})...`);
76
76
  } else {
77
77
  delete win.t007._resourceCache[src];
78
78
  reject(new Error(`${capitalize(type)} load failed for "${src}"`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t007/input",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "description": "A lightweight, pure JS input system.",
5
5
  "author": "Oketade Oluwatobiloba <tobioketade007@gmail.com>",
6
6
  "license": "MIT",
@@ -69,7 +69,7 @@
69
69
  "react-dom": "^18.3.1"
70
70
  },
71
71
  "dependencies": {
72
- "@t007/utils": "^0.0.38"
72
+ "@t007/utils": "^0.0.40"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": "^18.0.0"