@yoltra/react 0.5.0 → 0.6.0
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/README.md +20 -20
- package/dist/index.cjs +2 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -22
- package/dist/index.mjs.map +1 -1
- package/dist/types/hooks/createHooks.d.ts +2 -2
- package/dist/types/hooks/hooks.d.ts +2 -2
- package/dist/types/hooks/suspense.d.ts +22 -3
- package/dist/types/index.d.ts +1 -0
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @yoltra/react v0.
|
|
2
|
+
* @yoltra/react v0.6.0
|
|
3
3
|
* (c) 2026 Manu Ramirez <@pixerael>
|
|
4
4
|
* License: MIT
|
|
5
5
|
* Homepage: https://yoltra.dev
|
|
@@ -14,20 +14,11 @@ import we, { createContext as me, useRef as P, useMemo as A, useCallback as he,
|
|
|
14
14
|
import { createStore as Te } from "@yoltra/core";
|
|
15
15
|
const be = me(null);
|
|
16
16
|
var G = { exports: {} }, z = {};
|
|
17
|
-
/**
|
|
18
|
-
* @license React
|
|
19
|
-
* react-jsx-runtime.production.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/
|
|
26
17
|
var ae;
|
|
27
18
|
function ke() {
|
|
28
19
|
if (ae) return z;
|
|
29
20
|
ae = 1;
|
|
30
|
-
var t = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
|
|
21
|
+
var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), e = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
31
22
|
function n(o, s, c) {
|
|
32
23
|
var u = null;
|
|
33
24
|
if (c !== void 0 && (u = "" + c), s.key !== void 0 && (u = "" + s.key), "key" in s) {
|
|
@@ -46,15 +37,6 @@ function ke() {
|
|
|
46
37
|
return z.Fragment = e, z.jsx = n, z.jsxs = n, z;
|
|
47
38
|
}
|
|
48
39
|
var W = {};
|
|
49
|
-
/**
|
|
50
|
-
* @license React
|
|
51
|
-
* react-jsx-runtime.development.js
|
|
52
|
-
*
|
|
53
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
54
|
-
*
|
|
55
|
-
* This source code is licensed under the MIT license found in the
|
|
56
|
-
* LICENSE file in the root directory of this source tree.
|
|
57
|
-
*/
|
|
58
40
|
var ie;
|
|
59
41
|
function xe() {
|
|
60
42
|
return ie || (ie = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
@@ -249,7 +231,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
249
231
|
function i(r) {
|
|
250
232
|
typeof r == "object" && r !== null && r.$$typeof === l && r._store && (r._store.validated = 1);
|
|
251
233
|
}
|
|
252
|
-
var d = we, l = Symbol.for("react.transitional.element"), y = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), w = Symbol.for("react.consumer"), g = Symbol.for("react.context"), O = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), F = Symbol.for("react.suspense_list"), $ = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), N = Symbol.for("react.activity"), B = Symbol.for("react.client.reference"), T = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, q = Array.isArray, H = console.createTask ? console.createTask : function() {
|
|
234
|
+
var d = we, l = /* @__PURE__ */ Symbol.for("react.transitional.element"), y = /* @__PURE__ */ Symbol.for("react.portal"), h = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), j = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.consumer"), g = /* @__PURE__ */ Symbol.for("react.context"), O = /* @__PURE__ */ Symbol.for("react.forward_ref"), D = /* @__PURE__ */ Symbol.for("react.suspense"), F = /* @__PURE__ */ Symbol.for("react.suspense_list"), $ = /* @__PURE__ */ Symbol.for("react.memo"), R = /* @__PURE__ */ Symbol.for("react.lazy"), N = /* @__PURE__ */ Symbol.for("react.activity"), B = /* @__PURE__ */ Symbol.for("react.client.reference"), T = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, q = Array.isArray, H = console.createTask ? console.createTask : function() {
|
|
253
235
|
return null;
|
|
254
236
|
};
|
|
255
237
|
d = {
|
|
@@ -313,7 +295,7 @@ function Ce(t) {
|
|
|
313
295
|
return e(n.reducer) + e(String(o.length)) + o.map(e).join("");
|
|
314
296
|
}).join("");
|
|
315
297
|
}
|
|
316
|
-
const Ee = Symbol("yoltra.pathSegments");
|
|
298
|
+
const Ee = /* @__PURE__ */ Symbol("yoltra.pathSegments");
|
|
317
299
|
function Ae(t) {
|
|
318
300
|
const e = () => {
|
|
319
301
|
};
|