@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.
|
@@ -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}"`));
|
package/dist/hooks/react.js
CHANGED
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
initFocusTrap,
|
|
12
12
|
initOutsideClick,
|
|
13
13
|
rippleHandler
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-34CRZ3Z7.js";
|
|
15
15
|
import {
|
|
16
16
|
INTERACTIVE_SELECTOR,
|
|
17
17
|
getActiveEl
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-RCSOMCIC.js";
|
|
19
19
|
|
|
20
20
|
// src/ts/hooks/react/useScrollAssist.ts
|
|
21
21
|
import { useEffect, useRef, useCallback } from "react";
|
package/dist/hooks/vanilla.js
CHANGED
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
removeOutsideClick,
|
|
12
12
|
rippleHandler,
|
|
13
13
|
syncFocusTrap
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-34CRZ3Z7.js";
|
|
15
15
|
import {
|
|
16
16
|
INTERACTIVE_SELECTOR,
|
|
17
17
|
createEl,
|
|
18
18
|
getActiveEl
|
|
19
|
-
} from "../chunk-
|
|
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