sigx 0.1.8 → 0.1.9
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/hydration.d.ts +2 -1
- package/dist/hydration.d.ts.map +1 -1
- package/dist/hydration.js +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/internals.d.ts +16 -0
- package/dist/internals.d.ts.map +1 -0
- package/dist/internals.js +3 -0
- package/dist/sigx.js +2 -2
- package/package.json +9 -5
package/dist/hydration.d.ts
CHANGED
|
@@ -11,5 +11,6 @@
|
|
|
11
11
|
* import { getHydrationDirective, filterClientDirectives } from 'sigx/hydration';
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
|
14
|
-
export { CLIENT_DIRECTIVE_PREFIX, CLIENT_DIRECTIVES, type ClientDirective, type HydrationStrategy, type HydrationDirective
|
|
14
|
+
export { CLIENT_DIRECTIVE_PREFIX, CLIENT_DIRECTIVES, type ClientDirective, type HydrationStrategy, type HydrationDirective } from '@sigx/runtime-core';
|
|
15
|
+
export { filterClientDirectives, getHydrationDirective, hasClientDirective, serializeProps, createEmit } from '@sigx/runtime-core/internals';
|
|
15
16
|
//# sourceMappingURL=hydration.d.ts.map
|
package/dist/hydration.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hydration.d.ts","sourceRoot":"","sources":["../src/hydration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EACH,uBAAuB,EACvB,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,
|
|
1
|
+
{"version":3,"file":"hydration.d.ts","sourceRoot":"","sources":["../src/hydration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EACH,uBAAuB,EACvB,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EAC1B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACH,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,EACd,UAAU,EACb,MAAM,8BAA8B,CAAC"}
|
package/dist/hydration.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { CLIENT_DIRECTIVES, CLIENT_DIRECTIVE_PREFIX
|
|
1
|
+
import { CLIENT_DIRECTIVES, CLIENT_DIRECTIVE_PREFIX } from "@sigx/runtime-core";
|
|
2
|
+
import { createEmit, filterClientDirectives, getHydrationDirective, hasClientDirective, serializeProps } from "@sigx/runtime-core/internals";
|
|
2
3
|
export { CLIENT_DIRECTIVES, CLIENT_DIRECTIVE_PREFIX, createEmit, filterClientDirectives, getHydrationDirective, hasClientDirective, serializeProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '@sigx/runtime-dom';
|
|
2
2
|
export * from '@sigx/reactivity';
|
|
3
3
|
export * from '@sigx/runtime-core';
|
|
4
|
-
export
|
|
4
|
+
export { render, Portal, supportsMoveBefore, moveNode, show } from '@sigx/runtime-dom';
|
|
5
|
+
export type { DOMDirective } from '@sigx/runtime-dom';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,mBAAmB,CAAC;AAG3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AAGnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACvF,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* sigx internal APIs
|
|
3
|
+
*
|
|
4
|
+
* ⚠️ These are low-level primitives for building SSR renderers, hydration,
|
|
5
|
+
* and framework plugins. They are NOT part of the public API and may change
|
|
6
|
+
* without notice.
|
|
7
|
+
*
|
|
8
|
+
* If you're building an app with SignalX, you should NOT import from 'sigx/internals'.
|
|
9
|
+
* Use the main 'sigx' entry point instead.
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export * from '@sigx/reactivity/internals';
|
|
14
|
+
export * from '@sigx/runtime-core/internals';
|
|
15
|
+
export * from '@sigx/runtime-dom/internals';
|
|
16
|
+
//# sourceMappingURL=internals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internals.d.ts","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC"}
|
package/dist/sigx.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "@sigx/runtime-dom";
|
|
2
|
-
export * from "@sigx/runtime-dom";
|
|
1
|
+
import { Portal, moveNode, render, show, supportsMoveBefore } from "@sigx/runtime-dom";
|
|
3
2
|
export * from "@sigx/reactivity";
|
|
4
3
|
export * from "@sigx/runtime-core";
|
|
4
|
+
export { Portal, moveNode, render, show, supportsMoveBefore };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sigx",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "SignalX - Lightweight reactive component framework with signals and TSX support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/sigx.js",
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
"./jsx-dev-runtime": {
|
|
22
22
|
"import": "./dist/sigx.js",
|
|
23
23
|
"types": "./dist/index.d.ts"
|
|
24
|
+
},
|
|
25
|
+
"./internals": {
|
|
26
|
+
"import": "./dist/internals.js",
|
|
27
|
+
"types": "./dist/internals.d.ts"
|
|
24
28
|
}
|
|
25
29
|
},
|
|
26
30
|
"files": [
|
|
@@ -41,14 +45,14 @@
|
|
|
41
45
|
"url": "https://github.com/signalxjs/core/issues"
|
|
42
46
|
},
|
|
43
47
|
"dependencies": {
|
|
44
|
-
"@sigx/
|
|
45
|
-
"@sigx/
|
|
46
|
-
"@sigx/runtime-
|
|
48
|
+
"@sigx/runtime-core": "^0.1.9",
|
|
49
|
+
"@sigx/reactivity": "^0.1.9",
|
|
50
|
+
"@sigx/runtime-dom": "^0.1.9"
|
|
47
51
|
},
|
|
48
52
|
"devDependencies": {
|
|
49
53
|
"typescript": "^5.9.3",
|
|
50
54
|
"vite": "^8.0.0-beta.9",
|
|
51
|
-
"@sigx/vite": "^0.1.
|
|
55
|
+
"@sigx/vite": "^0.1.9"
|
|
52
56
|
},
|
|
53
57
|
"scripts": {
|
|
54
58
|
"build": "vite build && tsc --emitDeclarationOnly",
|