@fictjs/runtime 0.0.12 → 0.0.13

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/src/slim.ts DELETED
@@ -1,69 +0,0 @@
1
- /**
2
- * Slim fine-grained runtime entry for bundle-sensitive builds.
3
- *
4
- * Exposes only the DOM + signals surface required by compiler output and
5
- * leaves out stores, resources, SSR, devtools, etc.
6
- */
7
-
8
- // Reactive primitives
9
- export { createSignal, createSelector, $state } from './signal'
10
- export { createMemo } from './memo'
11
- export { createEffect, createRenderEffect } from './effect'
12
- export { effectScope, createScope, runInScope, type ReactiveScope } from './scope'
13
- export { batch, untrack } from './scheduler'
14
-
15
- // DOM rendering
16
- export { render, template, createElement } from './dom'
17
- export { Fragment } from './jsx'
18
-
19
- // Core bindings used by compiler output
20
- export {
21
- insert,
22
- bindText,
23
- bindAttribute,
24
- bindProperty,
25
- bindClass,
26
- bindStyle,
27
- bindEvent,
28
- bindRef,
29
- createConditional,
30
- createList,
31
- delegateEvents,
32
- clearDelegatedEvents,
33
- } from './binding'
34
-
35
- // Keyed list helpers (fine-grained DOM)
36
- export {
37
- createKeyedListContainer,
38
- createKeyedList,
39
- createKeyedBlock,
40
- moveMarkerBlock,
41
- destroyMarkerBlock,
42
- insertNodesBefore,
43
- removeNodes,
44
- toNodeArray,
45
- getFirstNodeAfter,
46
- } from './list-helpers'
47
-
48
- // Minimal hooks surface for builds that rely on hook helpers
49
- export {
50
- __fictUseContext,
51
- __fictUseSignal,
52
- __fictUseMemo,
53
- __fictUseEffect,
54
- __fictRender,
55
- __fictPushContext,
56
- __fictPopContext,
57
- __fictResetContext,
58
- } from './hooks'
59
-
60
- // Props helpers (kept minimal for compatibility with compiler output)
61
- export {
62
- __fictProp,
63
- __fictProp as prop,
64
- __fictPropsRest,
65
- mergeProps,
66
- useProp,
67
- createPropsProxy,
68
- } from './props'
69
- export { onDestroy } from './lifecycle'