@vertz/ui 0.2.30 → 0.2.32
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/dist/shared/{chunk-1j59xzqm.js → chunk-dh32wkrv.js} +19 -6
- package/dist/shared/{chunk-5vcnmqck.js → chunk-gz7rj5tv.js} +4 -4
- package/dist/shared/{chunk-5xm1w16j.js → chunk-jt34jcfg.js} +1 -1
- package/dist/shared/{chunk-n824qrvk.js → chunk-xyg724n1.js} +1 -1
- package/dist/shared/{chunk-pwmjtxpn.js → chunk-zkh9sysw.js} +1 -1
- package/dist/src/css/public.js +2 -2
- package/dist/src/index.js +5 -5
- package/dist/src/internals.js +4 -4
- package/dist/src/query/public.js +1 -1
- package/dist/src/router/public.js +2 -2
- package/package.json +3 -3
|
@@ -139,14 +139,27 @@ function __child(fn) {
|
|
|
139
139
|
const managed2 = [];
|
|
140
140
|
const childCleanups2 = { value: [] };
|
|
141
141
|
let sibling = anchor2.nextSibling;
|
|
142
|
+
let depth = 0;
|
|
142
143
|
while (sibling) {
|
|
143
144
|
const next = sibling.nextSibling;
|
|
144
|
-
if (sibling.nodeType === 8
|
|
145
|
-
sibling.
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
145
|
+
if (sibling.nodeType === 8) {
|
|
146
|
+
const data = sibling.data.trim();
|
|
147
|
+
if (data === "/child") {
|
|
148
|
+
if (depth > 0) {
|
|
149
|
+
depth--;
|
|
150
|
+
sibling.parentNode?.removeChild(sibling);
|
|
151
|
+
sibling = next;
|
|
152
|
+
continue;
|
|
153
|
+
}
|
|
154
|
+
sibling.parentNode?.removeChild(sibling);
|
|
155
|
+
break;
|
|
156
|
+
}
|
|
157
|
+
if (data === "child") {
|
|
158
|
+
depth++;
|
|
159
|
+
sibling.parentNode?.removeChild(sibling);
|
|
160
|
+
sibling = next;
|
|
161
|
+
continue;
|
|
162
|
+
}
|
|
150
163
|
}
|
|
151
164
|
sibling.parentNode?.removeChild(sibling);
|
|
152
165
|
sibling = next;
|
|
@@ -844,6 +844,8 @@ function query(source, options = {}) {
|
|
|
844
844
|
return result.data;
|
|
845
845
|
}, { ...options, key: source._key, _entityMeta: entityMeta2 });
|
|
846
846
|
}
|
|
847
|
+
let unsubscribeBus;
|
|
848
|
+
let unregisterFromRegistry;
|
|
847
849
|
const thunk = source;
|
|
848
850
|
const {
|
|
849
851
|
initialData,
|
|
@@ -1144,8 +1146,6 @@ function query(source, options = {}) {
|
|
|
1144
1146
|
getInflight().delete(key);
|
|
1145
1147
|
refetchTrigger.value = refetchTrigger.peek() + 1;
|
|
1146
1148
|
}
|
|
1147
|
-
let unsubscribeBus;
|
|
1148
|
-
let unregisterFromRegistry;
|
|
1149
1149
|
let disposeFn;
|
|
1150
1150
|
let isFirst = true;
|
|
1151
1151
|
disposeFn = lifecycleEffect(() => {
|
|
@@ -1295,7 +1295,7 @@ function query(source, options = {}) {
|
|
|
1295
1295
|
startFetch(promise, key);
|
|
1296
1296
|
}
|
|
1297
1297
|
});
|
|
1298
|
-
|
|
1298
|
+
const dispose = () => {
|
|
1299
1299
|
if (referencedKeys.size > 0) {
|
|
1300
1300
|
const store = getEntityStore();
|
|
1301
1301
|
for (const key of referencedKeys) {
|
|
@@ -1319,7 +1319,7 @@ function query(source, options = {}) {
|
|
|
1319
1319
|
getInflight().delete(key);
|
|
1320
1320
|
}
|
|
1321
1321
|
inflightKeys.clear();
|
|
1322
|
-
}
|
|
1322
|
+
};
|
|
1323
1323
|
function createClearData(meta) {
|
|
1324
1324
|
return () => {
|
|
1325
1325
|
untrack(() => {
|
package/dist/src/css/public.js
CHANGED
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
globalCss,
|
|
9
9
|
s,
|
|
10
10
|
variants
|
|
11
|
-
} from "../../shared/chunk-
|
|
12
|
-
import"../../shared/chunk-
|
|
11
|
+
} from "../../shared/chunk-zkh9sysw.js";
|
|
12
|
+
import"../../shared/chunk-dh32wkrv.js";
|
|
13
13
|
import"../../shared/chunk-h1fsr8kv.js";
|
|
14
14
|
import"../../shared/chunk-1yd6jfw5.js";
|
|
15
15
|
export {
|
package/dist/src/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
slideOutToTop,
|
|
26
26
|
zoomIn,
|
|
27
27
|
zoomOut
|
|
28
|
-
} from "../shared/chunk-
|
|
28
|
+
} from "../shared/chunk-xyg724n1.js";
|
|
29
29
|
import {
|
|
30
30
|
ErrorBoundary,
|
|
31
31
|
Link,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
getCurrentErrorHandler,
|
|
37
37
|
parseSearchParams,
|
|
38
38
|
useSearchParams
|
|
39
|
-
} from "../shared/chunk-
|
|
39
|
+
} from "../shared/chunk-jt34jcfg.js";
|
|
40
40
|
import {
|
|
41
41
|
beginDeferringMounts,
|
|
42
42
|
discardDeferredMounts,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
query,
|
|
67
67
|
registerRelationSchema,
|
|
68
68
|
resetRelationSchemas_TEST_ONLY
|
|
69
|
-
} from "../shared/chunk-
|
|
69
|
+
} from "../shared/chunk-gz7rj5tv.js";
|
|
70
70
|
import"../shared/chunk-jrtrk5z4.js";
|
|
71
71
|
import {
|
|
72
72
|
ThemeProvider,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
resolveChildren,
|
|
84
84
|
s,
|
|
85
85
|
variants
|
|
86
|
-
} from "../shared/chunk-
|
|
86
|
+
} from "../shared/chunk-zkh9sysw.js";
|
|
87
87
|
import {
|
|
88
88
|
RENDER_NODE_BRAND,
|
|
89
89
|
__append,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
getAdapter,
|
|
97
97
|
isRenderNode,
|
|
98
98
|
setAdapter
|
|
99
|
-
} from "../shared/chunk-
|
|
99
|
+
} from "../shared/chunk-dh32wkrv.js";
|
|
100
100
|
import"../shared/chunk-h1fsr8kv.js";
|
|
101
101
|
import {
|
|
102
102
|
RouterContext,
|
package/dist/src/internals.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
deserializeProps,
|
|
4
4
|
onAnimationsComplete,
|
|
5
5
|
resolveComponent
|
|
6
|
-
} from "../shared/chunk-
|
|
6
|
+
} from "../shared/chunk-xyg724n1.js";
|
|
7
7
|
import {
|
|
8
8
|
__discardMountFrame,
|
|
9
9
|
__flushMountFrame,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
MemoryCache,
|
|
21
21
|
QueryEnvelopeStore,
|
|
22
22
|
deriveKey
|
|
23
|
-
} from "../shared/chunk-
|
|
23
|
+
} from "../shared/chunk-gz7rj5tv.js";
|
|
24
24
|
import"../shared/chunk-jrtrk5z4.js";
|
|
25
25
|
import {
|
|
26
26
|
ALIGNMENT_MAP,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
SIZE_KEYWORDS,
|
|
42
42
|
SPACING_SCALE,
|
|
43
43
|
compileTheme
|
|
44
|
-
} from "../shared/chunk-
|
|
44
|
+
} from "../shared/chunk-zkh9sysw.js";
|
|
45
45
|
import {
|
|
46
46
|
RENDER_NODE_BRAND,
|
|
47
47
|
__append,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
getAdapter,
|
|
61
61
|
isRenderNode,
|
|
62
62
|
setAdapter
|
|
63
|
-
} from "../shared/chunk-
|
|
63
|
+
} from "../shared/chunk-dh32wkrv.js";
|
|
64
64
|
import {
|
|
65
65
|
SVG_NS,
|
|
66
66
|
normalizeSVGAttr,
|
package/dist/src/query/public.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
createLink,
|
|
7
7
|
parseSearchParams,
|
|
8
8
|
useSearchParams
|
|
9
|
-
} from "../../shared/chunk-
|
|
9
|
+
} from "../../shared/chunk-jt34jcfg.js";
|
|
10
10
|
import"../../shared/chunk-mntc8w0g.js";
|
|
11
11
|
import {
|
|
12
12
|
createRouter
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
defineRoutes
|
|
16
16
|
} from "../../shared/chunk-ah86rm07.js";
|
|
17
17
|
import"../../shared/chunk-jrtrk5z4.js";
|
|
18
|
-
import"../../shared/chunk-
|
|
18
|
+
import"../../shared/chunk-dh32wkrv.js";
|
|
19
19
|
import"../../shared/chunk-h1fsr8kv.js";
|
|
20
20
|
import {
|
|
21
21
|
RouterContext,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertz/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Vertz UI framework — signals, components, JSX runtime",
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
"typecheck": "tsc --noEmit"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@vertz/fetch": "^0.2.
|
|
77
|
+
"@vertz/fetch": "^0.2.30"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@happy-dom/global-registrator": "^20.7.0",
|
|
81
|
-
"@vertz/schema": "^0.2.
|
|
81
|
+
"@vertz/schema": "^0.2.30",
|
|
82
82
|
"bunup": "^0.16.31",
|
|
83
83
|
"happy-dom": "^20.7.0",
|
|
84
84
|
"typescript": "^5.7.0"
|