@t007/utils 0.0.39 → 0.0.40

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.
@@ -4,7 +4,7 @@ import {
4
4
  createEl,
5
5
  getActiveEl,
6
6
  isInteractive
7
- } from "./chunk-ZFW6HNGO.js";
7
+ } from "./chunk-RCSOMCIC.js";
8
8
 
9
9
  // src/ts/hooks/vanilla/outsideClick.ts
10
10
  import { NIL, NOOP } from "sia-reactor";
@@ -18,7 +18,7 @@ function loadResource(req, type = "style", { module, media, crossOrigin, integri
18
18
  el?.remove?.();
19
19
  if (remaining > 1) {
20
20
  setTimeout(tryLoad, 1e3, remaining - 1);
21
- console.warn(`Retrying ${type} load for "${src}" (${attempts - remaining + 1})...`);
21
+ console.warn(`Retrying ${type} load for "${src}" (${attempts - remaining + 1}/${attempts})...`);
22
22
  } else {
23
23
  delete win.t007._resourceCache[src];
24
24
  reject(new Error(`${capitalize(type)} load failed for "${src}"`));
@@ -11,11 +11,11 @@ import {
11
11
  initFocusTrap,
12
12
  initOutsideClick,
13
13
  rippleHandler
14
- } from "../chunk-GCJ5LPEB.js";
14
+ } from "../chunk-34CRZ3Z7.js";
15
15
  import {
16
16
  INTERACTIVE_SELECTOR,
17
17
  getActiveEl
18
- } from "../chunk-ZFW6HNGO.js";
18
+ } from "../chunk-RCSOMCIC.js";
19
19
 
20
20
  // src/ts/hooks/react/useScrollAssist.ts
21
21
  import { useEffect, useRef, useCallback } from "react";
@@ -11,12 +11,12 @@ import {
11
11
  removeOutsideClick,
12
12
  rippleHandler,
13
13
  syncFocusTrap
14
- } from "../chunk-GCJ5LPEB.js";
14
+ } from "../chunk-34CRZ3Z7.js";
15
15
  import {
16
16
  INTERACTIVE_SELECTOR,
17
17
  createEl,
18
18
  getActiveEl
19
- } from "../chunk-ZFW6HNGO.js";
19
+ } from "../chunk-RCSOMCIC.js";
20
20
 
21
21
  // src/ts/hooks/vanilla/scrollAssist.ts
22
22
  import { NIL } from "sia-reactor";
package/dist/index.cjs CHANGED
@@ -104,7 +104,7 @@ function loadResource(req, type = "style", { module: module2, media, crossOrigin
104
104
  el?.remove?.();
105
105
  if (remaining > 1) {
106
106
  setTimeout(tryLoad, 1e3, remaining - 1);
107
- console.warn(`Retrying ${type} load for "${src}" (${attempts - remaining + 1})...`);
107
+ console.warn(`Retrying ${type} load for "${src}" (${attempts - remaining + 1}/${attempts})...`);
108
108
  } else {
109
109
  delete win.t007._resourceCache[src];
110
110
  reject(new Error(`${capitalize(type)} load failed for "${src}"`));
package/dist/index.js CHANGED
@@ -60,7 +60,7 @@ import {
60
60
  throttle,
61
61
  uid,
62
62
  uncamelize
63
- } from "./chunk-ZFW6HNGO.js";
63
+ } from "./chunk-RCSOMCIC.js";
64
64
  export {
65
65
  INTERACTIVE_SELECTOR,
66
66
  KEYS_BLOCKS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t007/utils",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "description": "High-performance utilities for the t007 ecosystem.",
5
5
  "author": "Oketade Oluwatobiloba <tobioketade007@gmail.com>",
6
6
  "license": "MIT",