@krate/runtime 0.5.0-alpha.4 → 0.5.0-beta.1
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/action-context.d.ts +5 -1
- package/dist/action-context.js +33 -3
- package/dist/action-context.test.js +26 -1
- package/dist/actions.d.ts +12 -1
- package/dist/actions.js +83 -4
- package/dist/actions.test.js +61 -1
- package/dist/cache-scope.js +4 -1
- package/dist/cache.test.js +16 -0
- package/dist/class-helpers.d.ts +4 -4
- package/dist/class-helpers.js +357 -32
- package/dist/class-helpers.test.d.ts +1 -0
- package/dist/class-helpers.test.js +169 -0
- package/dist/context.d.ts +16 -2
- package/dist/context.js +44 -3
- package/dist/dev-overlay.js +75 -2
- package/dist/dev-overlay.test.js +22 -0
- package/dist/dom.d.ts +7 -0
- package/dist/dom.js +69 -3
- package/dist/error-overlay.js +4 -4
- package/dist/hook-args.d.ts +7 -0
- package/dist/hook-args.js +10 -0
- package/dist/htmlspec-attributes.d.ts +1 -0
- package/dist/htmlspec-attributes.js +159 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/krate-core.js +2 -0
- package/dist/krate-dev.js +65 -2
- package/dist/krate-f-actions.js +2 -0
- package/dist/krate-f-classes.js +8 -0
- package/dist/krate-f-helpers.js +2 -0
- package/dist/krate-f-list.js +2 -0
- package/dist/krate-f-router-lite.js +2 -0
- package/dist/krate-f-router.js +2 -0
- package/dist/krate-features.json +239 -0
- package/dist/krate-hydrate-lite.js +5 -5
- package/dist/krate-hydrate.js +5 -5
- package/dist/krate-runtime.js +5 -5
- package/dist/patterns.test.d.ts +1 -0
- package/dist/patterns.test.js +98 -0
- package/dist/reactivity-core.test.d.ts +1 -0
- package/dist/reactivity-core.test.js +152 -0
- package/dist/reconcile.js +4 -2
- package/dist/router-nav.test.js +38 -0
- package/dist/router-speculation.test.d.ts +1 -0
- package/dist/router-speculation.test.js +25 -0
- package/dist/router-styles.test.d.ts +1 -0
- package/dist/router-styles.test.js +98 -0
- package/dist/router.js +116 -32
- package/dist/server-async.test.js +20 -0
- package/dist/server-renderer.js +109 -22
- package/dist/server.d.ts +1 -0
- package/dist/server.js +90 -11
- package/dist/server.test.js +20 -0
- package/dist/signal.d.ts +3 -2
- package/dist/signal.js +104 -19
- package/dist/slots.js +12 -1
- package/package.json +2 -2
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"core": {
|
|
4
|
+
"file": "krate-core.js",
|
|
5
|
+
"exports": [
|
|
6
|
+
"BLOCKED_URL",
|
|
7
|
+
"KRATE_CONTEXT",
|
|
8
|
+
"adoptValue",
|
|
9
|
+
"afterFlush",
|
|
10
|
+
"appendChild",
|
|
11
|
+
"clearBetween",
|
|
12
|
+
"clearNodes",
|
|
13
|
+
"clearPersisted",
|
|
14
|
+
"createCSSChoice",
|
|
15
|
+
"createCSSFlags",
|
|
16
|
+
"createCSSGroup",
|
|
17
|
+
"createCSSRange",
|
|
18
|
+
"createCSSStack",
|
|
19
|
+
"createCSSToggle",
|
|
20
|
+
"createCallbackDeps",
|
|
21
|
+
"createContext",
|
|
22
|
+
"createEffect",
|
|
23
|
+
"createEffectDeps",
|
|
24
|
+
"createMemo",
|
|
25
|
+
"createMemoDeps",
|
|
26
|
+
"createReducer",
|
|
27
|
+
"createResource",
|
|
28
|
+
"createRoot",
|
|
29
|
+
"createScope",
|
|
30
|
+
"createScopeFlags",
|
|
31
|
+
"createSignal",
|
|
32
|
+
"disposeAll",
|
|
33
|
+
"disposeNode",
|
|
34
|
+
"flushPassive",
|
|
35
|
+
"forwardRef",
|
|
36
|
+
"h",
|
|
37
|
+
"hydrate",
|
|
38
|
+
"insert",
|
|
39
|
+
"insertAt",
|
|
40
|
+
"isDerivedGetter",
|
|
41
|
+
"isSignalGetter",
|
|
42
|
+
"krateApplyStyle",
|
|
43
|
+
"krateAttachRef",
|
|
44
|
+
"krateBindRef",
|
|
45
|
+
"krateCommitSnapshot",
|
|
46
|
+
"krateCommitting",
|
|
47
|
+
"krateCondActivity",
|
|
48
|
+
"krateCondDetached",
|
|
49
|
+
"krateCondReset",
|
|
50
|
+
"krateCondSwap",
|
|
51
|
+
"krateContextRows",
|
|
52
|
+
"krateControl",
|
|
53
|
+
"krateCurrentScope",
|
|
54
|
+
"krateDepsOf",
|
|
55
|
+
"krateDerived",
|
|
56
|
+
"krateDisposeExcept",
|
|
57
|
+
"krateDisposeOwner",
|
|
58
|
+
"krateDisposeScopes",
|
|
59
|
+
"krateEnterScope",
|
|
60
|
+
"krateEpoch",
|
|
61
|
+
"krateEventName",
|
|
62
|
+
"krateEventRoot",
|
|
63
|
+
"krateFlushSync",
|
|
64
|
+
"krateForgetOwner",
|
|
65
|
+
"krateGetOwner",
|
|
66
|
+
"krateHook",
|
|
67
|
+
"krateHookState",
|
|
68
|
+
"krateIsDiscrete",
|
|
69
|
+
"krateKeepScopes",
|
|
70
|
+
"krateLeaveScope",
|
|
71
|
+
"krateMount",
|
|
72
|
+
"krateMountFields",
|
|
73
|
+
"krateMountPortals",
|
|
74
|
+
"krateOn",
|
|
75
|
+
"krateOnAfterFlush",
|
|
76
|
+
"krateOnBeforeFlush",
|
|
77
|
+
"krateOnDispose",
|
|
78
|
+
"krateOnHookError",
|
|
79
|
+
"krateOnLayoutCommit",
|
|
80
|
+
"krateOnSettle",
|
|
81
|
+
"krateOnUnmount",
|
|
82
|
+
"krateOwner",
|
|
83
|
+
"krateOwnerId",
|
|
84
|
+
"kratePendingFlush",
|
|
85
|
+
"kratePortalFind",
|
|
86
|
+
"kratePortalMount",
|
|
87
|
+
"kratePortalReset",
|
|
88
|
+
"kratePortalScan",
|
|
89
|
+
"kratePortalTarget",
|
|
90
|
+
"kratePortalUnmount",
|
|
91
|
+
"kratePortalsEnter",
|
|
92
|
+
"kratePortalsIn",
|
|
93
|
+
"kratePortalsLeave",
|
|
94
|
+
"kratePruneSnapshots",
|
|
95
|
+
"krateReadAt",
|
|
96
|
+
"krateRefsEnter",
|
|
97
|
+
"krateRefsFlush",
|
|
98
|
+
"krateRefsHold",
|
|
99
|
+
"krateRefsLeave",
|
|
100
|
+
"krateRenderPhase",
|
|
101
|
+
"krateRequestFlush",
|
|
102
|
+
"krateRunEvent",
|
|
103
|
+
"krateSanitizeAttr",
|
|
104
|
+
"krateScopeOfId",
|
|
105
|
+
"krateSetControl",
|
|
106
|
+
"krateSetOwner",
|
|
107
|
+
"krateSetRef",
|
|
108
|
+
"krateSlotReplaced",
|
|
109
|
+
"krateSpread",
|
|
110
|
+
"krateSynthetic",
|
|
111
|
+
"krateTagOwner",
|
|
112
|
+
"krateTakeSyncLane",
|
|
113
|
+
"krateTrackNode",
|
|
114
|
+
"krateTransitionWrites",
|
|
115
|
+
"krateUnmount",
|
|
116
|
+
"krateWithOwner",
|
|
117
|
+
"mount",
|
|
118
|
+
"onCleanup",
|
|
119
|
+
"onMount",
|
|
120
|
+
"readDurableState",
|
|
121
|
+
"readPersisted",
|
|
122
|
+
"removeRest",
|
|
123
|
+
"resetContexts",
|
|
124
|
+
"resolvePersist",
|
|
125
|
+
"runAfterFlush",
|
|
126
|
+
"sameValue",
|
|
127
|
+
"setOwnerHooks",
|
|
128
|
+
"subscribePersist",
|
|
129
|
+
"trackEffect",
|
|
130
|
+
"untrack",
|
|
131
|
+
"useRef",
|
|
132
|
+
"withDOM",
|
|
133
|
+
"withVNodes",
|
|
134
|
+
"writePersisted"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"features": {
|
|
138
|
+
"router": {
|
|
139
|
+
"file": "krate-f-router.js",
|
|
140
|
+
"exports": [
|
|
141
|
+
"compareRouteSpecificity",
|
|
142
|
+
"destroyRouter",
|
|
143
|
+
"getHistoryState",
|
|
144
|
+
"getNavigationState",
|
|
145
|
+
"initRouter",
|
|
146
|
+
"invalidatePrefetchCache",
|
|
147
|
+
"krateRouter",
|
|
148
|
+
"matchRoutePattern",
|
|
149
|
+
"navigate",
|
|
150
|
+
"pageAssetURLs",
|
|
151
|
+
"reinitRouter",
|
|
152
|
+
"subscribeNavigation"
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"router-lite": {
|
|
156
|
+
"file": "krate-f-router-lite.js",
|
|
157
|
+
"exports": [
|
|
158
|
+
"destroyRouter",
|
|
159
|
+
"getHistoryState",
|
|
160
|
+
"getNavigationState",
|
|
161
|
+
"initRouter",
|
|
162
|
+
"invalidatePrefetchCache",
|
|
163
|
+
"krateRouter",
|
|
164
|
+
"navigate",
|
|
165
|
+
"reinitRouter",
|
|
166
|
+
"subscribeNavigation"
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
"helpers": {
|
|
170
|
+
"file": "krate-f-helpers.js",
|
|
171
|
+
"exports": [
|
|
172
|
+
"Slot",
|
|
173
|
+
"cloneElement",
|
|
174
|
+
"clsx",
|
|
175
|
+
"cn",
|
|
176
|
+
"cva",
|
|
177
|
+
"twMerge"
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
"list": {
|
|
181
|
+
"file": "krate-f-list.js",
|
|
182
|
+
"exports": [
|
|
183
|
+
"krateBindList",
|
|
184
|
+
"krateList",
|
|
185
|
+
"longestIncreasingSubsequence"
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
"actions": {
|
|
189
|
+
"file": "krate-f-actions.js",
|
|
190
|
+
"exports": [
|
|
191
|
+
"ACTION_ARGS_FIELD",
|
|
192
|
+
"ServerActionError",
|
|
193
|
+
"__krateAction",
|
|
194
|
+
"__krateActionState",
|
|
195
|
+
"__krateAssignRef",
|
|
196
|
+
"__krateBeginAction",
|
|
197
|
+
"__krateBindFormAction",
|
|
198
|
+
"__krateFormStatusMount",
|
|
199
|
+
"__krateOptimistic",
|
|
200
|
+
"callServerAction",
|
|
201
|
+
"getFormStatus",
|
|
202
|
+
"installActionForms",
|
|
203
|
+
"isActionPending",
|
|
204
|
+
"isServerAction",
|
|
205
|
+
"reportActionError",
|
|
206
|
+
"requestFormReset",
|
|
207
|
+
"runActionTransition",
|
|
208
|
+
"setActionTransitionRunner",
|
|
209
|
+
"submitFormAction",
|
|
210
|
+
"takeFlash"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
"classes": {
|
|
214
|
+
"file": "krate-f-classes.js",
|
|
215
|
+
"exports": [
|
|
216
|
+
"__krateClass",
|
|
217
|
+
"__krateClassError",
|
|
218
|
+
"__krateCondPost",
|
|
219
|
+
"__krateCondPre",
|
|
220
|
+
"__krateOnError",
|
|
221
|
+
"__krateOwn",
|
|
222
|
+
"__krateOwner",
|
|
223
|
+
"componentStack",
|
|
224
|
+
"createOwner",
|
|
225
|
+
"getOwner",
|
|
226
|
+
"handleError",
|
|
227
|
+
"inCommitPhaseError",
|
|
228
|
+
"mountClassElement",
|
|
229
|
+
"mountOwner",
|
|
230
|
+
"onOwnerCleanup",
|
|
231
|
+
"remountChildren",
|
|
232
|
+
"runWithOwner",
|
|
233
|
+
"setBoundary",
|
|
234
|
+
"unmountChildren",
|
|
235
|
+
"unmountOwner"
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|