fynixui 1.0.10 → 1.0.11
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/package.json +35 -37
- package/{dist → dist-types}/context/context.d.ts +0 -1
- package/{dist → dist-types}/custom/button.d.ts +0 -1
- package/{dist → dist-types}/custom/index.d.ts +0 -1
- package/{dist → dist-types}/custom/path.d.ts +0 -1
- package/{dist → dist-types}/error/errorOverlay.d.ts +0 -1
- package/{dist → dist-types}/fynix/index.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixAsync.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixAsyncCache.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixAsyncDebounce.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixAsyncQuery.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixCallback.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixComputed.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixDebounce.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixEffect.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixFor.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixForm.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixFormAsync.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixInterval.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixLazy.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixLazyAsync.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixLazyFormAsync.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixLocalStorage.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixMemo.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixPrevious.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixRef.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixState.d.ts +0 -1
- package/{dist → dist-types}/hooks/nixStore.d.ts +0 -1
- package/{dist → dist-types}/plugins/vite-plugin-res.d.ts +0 -1
- package/{dist → dist-types}/router/router.d.ts +0 -1
- package/{dist → dist-types}/runtime.d.ts +0 -1
- package/package.json +38 -38
- package/dist/context/context.d.ts.map +0 -1
- package/dist/context/context.js.map +0 -7
- package/dist/custom/button.d.ts.map +0 -1
- package/dist/custom/button.js.map +0 -7
- package/dist/custom/index.d.ts.map +0 -1
- package/dist/custom/index.js.map +0 -7
- package/dist/custom/path.d.ts.map +0 -1
- package/dist/custom/path.js.map +0 -7
- package/dist/error/errorOverlay.d.ts.map +0 -1
- package/dist/error/errorOverlay.js.map +0 -7
- package/dist/fynix/index.d.ts.map +0 -1
- package/dist/fynix/index.js.map +0 -7
- package/dist/hooks/nixAsync.d.ts.map +0 -1
- package/dist/hooks/nixAsync.js.map +0 -7
- package/dist/hooks/nixAsyncCache.d.ts.map +0 -1
- package/dist/hooks/nixAsyncCache.js.map +0 -7
- package/dist/hooks/nixAsyncDebounce.d.ts.map +0 -1
- package/dist/hooks/nixAsyncDebounce.js.map +0 -7
- package/dist/hooks/nixAsyncQuery.d.ts.map +0 -1
- package/dist/hooks/nixAsyncQuery.js.map +0 -7
- package/dist/hooks/nixCallback.d.ts.map +0 -1
- package/dist/hooks/nixCallback.js.map +0 -7
- package/dist/hooks/nixComputed.d.ts.map +0 -1
- package/dist/hooks/nixComputed.js.map +0 -7
- package/dist/hooks/nixDebounce.d.ts.map +0 -1
- package/dist/hooks/nixDebounce.js.map +0 -7
- package/dist/hooks/nixEffect.d.ts.map +0 -1
- package/dist/hooks/nixEffect.js.map +0 -7
- package/dist/hooks/nixFor.d.ts.map +0 -1
- package/dist/hooks/nixFor.js.map +0 -7
- package/dist/hooks/nixForm.d.ts.map +0 -1
- package/dist/hooks/nixForm.js.map +0 -7
- package/dist/hooks/nixFormAsync.d.ts.map +0 -1
- package/dist/hooks/nixFormAsync.js.map +0 -7
- package/dist/hooks/nixInterval.d.ts.map +0 -1
- package/dist/hooks/nixInterval.js.map +0 -7
- package/dist/hooks/nixLazy.d.ts.map +0 -1
- package/dist/hooks/nixLazy.js.map +0 -7
- package/dist/hooks/nixLazyAsync.d.ts.map +0 -1
- package/dist/hooks/nixLazyAsync.js.map +0 -7
- package/dist/hooks/nixLazyFormAsync.d.ts.map +0 -1
- package/dist/hooks/nixLazyFormAsync.js.map +0 -7
- package/dist/hooks/nixLocalStorage.d.ts.map +0 -1
- package/dist/hooks/nixLocalStorage.js.map +0 -7
- package/dist/hooks/nixMemo.d.ts.map +0 -1
- package/dist/hooks/nixMemo.js.map +0 -7
- package/dist/hooks/nixPrevious.d.ts.map +0 -1
- package/dist/hooks/nixPrevious.js.map +0 -7
- package/dist/hooks/nixRef.d.ts.map +0 -1
- package/dist/hooks/nixRef.js.map +0 -7
- package/dist/hooks/nixState.d.ts.map +0 -1
- package/dist/hooks/nixState.js.map +0 -7
- package/dist/hooks/nixStore.d.ts.map +0 -1
- package/dist/hooks/nixStore.js.map +0 -7
- package/dist/plugins/vite-plugin-res.d.ts.map +0 -1
- package/dist/plugins/vite-plugin-res.js.map +0 -7
- package/dist/router/router.d.ts.map +0 -1
- package/dist/router/router.js.map +0 -7
- package/dist/runtime.d.ts.map +0 -1
- package/dist/runtime.js.map +0 -7
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fynixui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Core package for Fynix UI framework - A lightweight, reactive UI framework with TypeScript support.",
|
|
6
6
|
"main": "./dist/fynix/index.js",
|
|
@@ -8,125 +8,125 @@
|
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"types": "./dist/fynix/index.d.ts",
|
|
11
|
+
"types": "./dist-types/fynix/index.d.ts",
|
|
12
12
|
"import": "./dist/fynix/index.js",
|
|
13
13
|
"default": "./dist/fynix/index.js"
|
|
14
14
|
},
|
|
15
15
|
"./runtime": {
|
|
16
|
-
"types": "./dist/runtime.d.ts",
|
|
16
|
+
"types": "./dist-types/runtime.d.ts",
|
|
17
17
|
"import": "./dist/runtime.js"
|
|
18
18
|
},
|
|
19
19
|
"./context": {
|
|
20
|
-
"types": "./dist/context/context.d.ts",
|
|
20
|
+
"types": "./dist-types/context/context.d.ts",
|
|
21
21
|
"import": "./dist/context/context.js"
|
|
22
22
|
},
|
|
23
23
|
"./custom": {
|
|
24
|
-
"types": "./dist/custom/index.d.ts",
|
|
24
|
+
"types": "./dist-types/custom/index.d.ts",
|
|
25
25
|
"import": "./dist/custom/index.js"
|
|
26
26
|
},
|
|
27
27
|
"./custom/button": {
|
|
28
|
-
"types": "./dist/custom/button.d.ts",
|
|
28
|
+
"types": "./dist-types/custom/button.d.ts",
|
|
29
29
|
"import": "./dist/custom/button.js"
|
|
30
30
|
},
|
|
31
31
|
"./custom/path": {
|
|
32
|
-
"types": "./dist/custom/path.d.ts",
|
|
32
|
+
"types": "./dist-types/custom/path.d.ts",
|
|
33
33
|
"import": "./dist/custom/path.js"
|
|
34
34
|
},
|
|
35
35
|
"./error": {
|
|
36
|
-
"types": "./dist/error/errorOverlay.d.ts",
|
|
36
|
+
"types": "./dist-types/error/errorOverlay.d.ts",
|
|
37
37
|
"import": "./dist/error/errorOverlay.js"
|
|
38
38
|
},
|
|
39
39
|
"./router": {
|
|
40
|
-
"types": "./dist/router/router.d.ts",
|
|
40
|
+
"types": "./dist-types/router/router.d.ts",
|
|
41
41
|
"import": "./dist/router/router.js"
|
|
42
42
|
},
|
|
43
43
|
"./hooks/nixState": {
|
|
44
|
-
"types": "./dist/hooks/nixState.d.ts",
|
|
44
|
+
"types": "./dist-types/hooks/nixState.d.ts",
|
|
45
45
|
"import": "./dist/hooks/nixState.js"
|
|
46
46
|
},
|
|
47
47
|
"./hooks/nixStore": {
|
|
48
|
-
"types": "./dist/hooks/nixStore.d.ts",
|
|
48
|
+
"types": "./dist-types/hooks/nixStore.d.ts",
|
|
49
49
|
"import": "./dist/hooks/nixStore.js"
|
|
50
50
|
},
|
|
51
51
|
"./hooks/nixEffect": {
|
|
52
|
-
"types": "./dist/hooks/nixEffect.d.ts",
|
|
52
|
+
"types": "./dist-types/hooks/nixEffect.d.ts",
|
|
53
53
|
"import": "./dist/hooks/nixEffect.js"
|
|
54
54
|
},
|
|
55
55
|
"./hooks/nixAsync": {
|
|
56
|
-
"types": "./dist/hooks/nixAsync.d.ts",
|
|
56
|
+
"types": "./dist-types/hooks/nixAsync.d.ts",
|
|
57
57
|
"import": "./dist/hooks/nixAsync.js"
|
|
58
58
|
},
|
|
59
59
|
"./hooks/nixAsyncCache": {
|
|
60
|
-
"types": "./dist/hooks/nixAsyncCache.d.ts",
|
|
60
|
+
"types": "./dist-types/hooks/nixAsyncCache.d.ts",
|
|
61
61
|
"import": "./dist/hooks/nixAsyncCache.js"
|
|
62
62
|
},
|
|
63
63
|
"./hooks/nixAsyncDebounce": {
|
|
64
|
-
"types": "./dist/hooks/nixAsyncDebounce.d.ts",
|
|
64
|
+
"types": "./dist-types/hooks/nixAsyncDebounce.d.ts",
|
|
65
65
|
"import": "./dist/hooks/nixAsyncDebounce.js"
|
|
66
66
|
},
|
|
67
67
|
"./hooks/nixAsyncQuery": {
|
|
68
|
-
"types": "./dist/hooks/nixAsyncQuery.d.ts",
|
|
68
|
+
"types": "./dist-types/hooks/nixAsyncQuery.d.ts",
|
|
69
69
|
"import": "./dist/hooks/nixAsyncQuery.js"
|
|
70
70
|
},
|
|
71
71
|
"./hooks/nixCallback": {
|
|
72
|
-
"types": "./dist/hooks/nixCallback.d.ts",
|
|
72
|
+
"types": "./dist-types/hooks/nixCallback.d.ts",
|
|
73
73
|
"import": "./dist/hooks/nixCallback.js"
|
|
74
74
|
},
|
|
75
75
|
"./hooks/nixComputed": {
|
|
76
|
-
"types": "./dist/hooks/nixComputed.d.ts",
|
|
76
|
+
"types": "./dist-types/hooks/nixComputed.d.ts",
|
|
77
77
|
"import": "./dist/hooks/nixComputed.js"
|
|
78
78
|
},
|
|
79
79
|
"./hooks/nixDebounce": {
|
|
80
|
-
"types": "./dist/hooks/nixDebounce.d.ts",
|
|
80
|
+
"types": "./dist-types/hooks/nixDebounce.d.ts",
|
|
81
81
|
"import": "./dist/hooks/nixDebounce.js"
|
|
82
82
|
},
|
|
83
83
|
"./hooks/nixForm": {
|
|
84
|
-
"types": "./dist/hooks/nixForm.d.ts",
|
|
84
|
+
"types": "./dist-types/hooks/nixForm.d.ts",
|
|
85
85
|
"import": "./dist/hooks/nixForm.js"
|
|
86
86
|
},
|
|
87
87
|
"./hooks/nixFormAsync": {
|
|
88
|
-
"types": "./dist/hooks/nixFormAsync.d.ts",
|
|
88
|
+
"types": "./dist-types/hooks/nixFormAsync.d.ts",
|
|
89
89
|
"import": "./dist/hooks/nixFormAsync.js"
|
|
90
90
|
},
|
|
91
91
|
"./hooks/nixInterval": {
|
|
92
|
-
"types": "./dist/hooks/nixInterval.d.ts",
|
|
92
|
+
"types": "./dist-types/hooks/nixInterval.d.ts",
|
|
93
93
|
"import": "./dist/hooks/nixInterval.js"
|
|
94
94
|
},
|
|
95
95
|
"./hooks/nixLazy": {
|
|
96
|
-
"types": "./dist/hooks/nixLazy.d.ts",
|
|
96
|
+
"types": "./dist-types/hooks/nixLazy.d.ts",
|
|
97
97
|
"import": "./dist/hooks/nixLazy.js"
|
|
98
98
|
},
|
|
99
99
|
"./hooks/nixLazyAsync": {
|
|
100
|
-
"types": "./dist/hooks/nixLazyAsync.d.ts",
|
|
100
|
+
"types": "./dist-types/hooks/nixLazyAsync.d.ts",
|
|
101
101
|
"import": "./dist/hooks/nixLazyAsync.js"
|
|
102
102
|
},
|
|
103
103
|
"./hooks/nixLazyFormAsync": {
|
|
104
|
-
"types": "./dist/hooks/nixLazyFormAsync.d.ts",
|
|
104
|
+
"types": "./dist-types/hooks/nixLazyFormAsync.d.ts",
|
|
105
105
|
"import": "./dist/hooks/nixLazyFormAsync.js"
|
|
106
106
|
},
|
|
107
107
|
"./hooks/nixLocalStorage": {
|
|
108
|
-
"types": "./dist/hooks/nixLocalStorage.d.ts",
|
|
108
|
+
"types": "./dist-types/hooks/nixLocalStorage.d.ts",
|
|
109
109
|
"import": "./dist/hooks/nixLocalStorage.js"
|
|
110
110
|
},
|
|
111
111
|
"./hooks/nixMemo": {
|
|
112
|
-
"types": "./dist/hooks/nixMemo.d.ts",
|
|
112
|
+
"types": "./dist-types/hooks/nixMemo.d.ts",
|
|
113
113
|
"import": "./dist/hooks/nixMemo.js"
|
|
114
114
|
},
|
|
115
115
|
"./hooks/nixPrevious": {
|
|
116
|
-
"types": "./dist/hooks/nixPrevious.d.ts",
|
|
116
|
+
"types": "./dist-types/hooks/nixPrevious.d.ts",
|
|
117
117
|
"import": "./dist/hooks/nixPrevious.js"
|
|
118
118
|
},
|
|
119
119
|
"./hooks/nixRef": {
|
|
120
|
-
"types": "./dist/hooks/nixRef.d.ts",
|
|
120
|
+
"types": "./dist-types/hooks/nixRef.d.ts",
|
|
121
121
|
"import": "./dist/hooks/nixRef.js"
|
|
122
122
|
},
|
|
123
123
|
"./plugins/vite-plugin-res": {
|
|
124
|
-
"types": "./dist/plugins/vite-plugin-res.d.ts",
|
|
124
|
+
"types": "./dist-types/plugins/vite-plugin-res.d.ts",
|
|
125
125
|
"import": "./dist/plugins/vite-plugin-res.js"
|
|
126
126
|
},
|
|
127
127
|
"./typescript-plugin": {
|
|
128
128
|
"import": "./dist/typescript-fynix-plugin/index.js",
|
|
129
|
-
"types": "./dist/typescript-fynix-plugin/index.d.ts"
|
|
129
|
+
"types": "./dist-types/typescript-fynix-plugin/index.d.ts"
|
|
130
130
|
},
|
|
131
131
|
"./types": {
|
|
132
132
|
"types": "./types/index.d.ts"
|
|
@@ -141,13 +141,14 @@
|
|
|
141
141
|
"types": "./types/fnx.d.ts"
|
|
142
142
|
},
|
|
143
143
|
"./hooks/nixFor": {
|
|
144
|
-
"types": "./dist/hooks/nixFor.d.ts",
|
|
144
|
+
"types": "./dist-types/hooks/nixFor.d.ts",
|
|
145
145
|
"import": "./dist/hooks/nixFor.js"
|
|
146
146
|
},
|
|
147
147
|
"./package.json": "./package.json"
|
|
148
148
|
},
|
|
149
149
|
"files": [
|
|
150
150
|
"dist/",
|
|
151
|
+
"dist-types/",
|
|
151
152
|
"types/",
|
|
152
153
|
"README.md",
|
|
153
154
|
"LICENSE"
|
|
@@ -201,7 +202,7 @@
|
|
|
201
202
|
"typesVersions": {
|
|
202
203
|
"*": {
|
|
203
204
|
"*": [
|
|
204
|
-
"./dist/*"
|
|
205
|
+
"./dist-types/*"
|
|
205
206
|
],
|
|
206
207
|
"types": [
|
|
207
208
|
"./types/index.d.ts"
|
|
@@ -214,8 +215,5 @@
|
|
|
214
215
|
]
|
|
215
216
|
}
|
|
216
217
|
},
|
|
217
|
-
"dependencies": {
|
|
218
|
-
"fdir": "^6.5.0",
|
|
219
|
-
"rollup": "^4.56.0"
|
|
220
|
-
}
|
|
218
|
+
"dependencies": {}
|
|
221
219
|
}
|
|
@@ -8,4 +8,3 @@ export type DebouncedFunction<T extends (...args: any[]) => any> = ((...args: Pa
|
|
|
8
8
|
cancel: () => void;
|
|
9
9
|
};
|
|
10
10
|
export declare function nixDebounce<T extends (...args: any[]) => any>(fn: T, delay?: number, options?: NixDebounceOptions): DebouncedFunction<T>;
|
|
11
|
-
//# sourceMappingURL=nixDebounce.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export declare function nixEffect(effect: () => void | (() => void), deps?: any[]): void;
|
|
2
2
|
export declare function nixEffectOnce(effect: () => void | (() => void)): void;
|
|
3
3
|
export declare function nixEffectAlways(effect: () => void | (() => void)): void;
|
|
4
|
-
//# sourceMappingURL=nixEffect.d.ts.map
|
|
@@ -121,4 +121,3 @@ export declare function renderComponent(Component: ComponentFunction, props?: an
|
|
|
121
121
|
export declare function patch(parent: Node, newVNode: VNode | string | number | null | undefined, oldVNode: VNode | string | number | null | undefined): Promise<void>;
|
|
122
122
|
export declare function mount(AppComponent: ComponentFunction, root: string | Element, props?: any): void;
|
|
123
123
|
export { Button, createFynix, nixAsync, nixAsyncCached, nixAsyncDebounce, nixAsyncQuery, nixCallback, nixComputed, nixDebounce, nixEffect, nixEffectAlways, nixEffectOnce, nixForm, nixFormAsync, nixInterval, nixLazy, nixLazyAsync, nixLazyFormAsync, nixLocalStorage, nixMemo, nixPrevious, nixRef, nixState, nixStore, Path, Suspense, };
|
|
124
|
-
//# sourceMappingURL=runtime.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fynixui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Core package for Fynix UI framework - A lightweight, reactive UI framework with TypeScript support.",
|
|
6
6
|
"main": "./dist/fynix/index.js",
|
|
@@ -8,125 +8,125 @@
|
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"types": "./dist/fynix/index.d.ts",
|
|
11
|
+
"types": "./dist-types/fynix/index.d.ts",
|
|
12
12
|
"import": "./dist/fynix/index.js",
|
|
13
13
|
"default": "./dist/fynix/index.js"
|
|
14
14
|
},
|
|
15
15
|
"./runtime": {
|
|
16
|
-
"types": "./dist/runtime.d.ts",
|
|
16
|
+
"types": "./dist-types/runtime.d.ts",
|
|
17
17
|
"import": "./dist/runtime.js"
|
|
18
18
|
},
|
|
19
19
|
"./context": {
|
|
20
|
-
"types": "./dist/context/context.d.ts",
|
|
20
|
+
"types": "./dist-types/context/context.d.ts",
|
|
21
21
|
"import": "./dist/context/context.js"
|
|
22
22
|
},
|
|
23
23
|
"./custom": {
|
|
24
|
-
"types": "./dist/custom/index.d.ts",
|
|
24
|
+
"types": "./dist-types/custom/index.d.ts",
|
|
25
25
|
"import": "./dist/custom/index.js"
|
|
26
26
|
},
|
|
27
27
|
"./custom/button": {
|
|
28
|
-
"types": "./dist/custom/button.d.ts",
|
|
28
|
+
"types": "./dist-types/custom/button.d.ts",
|
|
29
29
|
"import": "./dist/custom/button.js"
|
|
30
30
|
},
|
|
31
31
|
"./custom/path": {
|
|
32
|
-
"types": "./dist/custom/path.d.ts",
|
|
32
|
+
"types": "./dist-types/custom/path.d.ts",
|
|
33
33
|
"import": "./dist/custom/path.js"
|
|
34
34
|
},
|
|
35
35
|
"./error": {
|
|
36
|
-
"types": "./dist/error/errorOverlay.d.ts",
|
|
36
|
+
"types": "./dist-types/error/errorOverlay.d.ts",
|
|
37
37
|
"import": "./dist/error/errorOverlay.js"
|
|
38
38
|
},
|
|
39
39
|
"./router": {
|
|
40
|
-
"types": "./dist/router/router.d.ts",
|
|
40
|
+
"types": "./dist-types/router/router.d.ts",
|
|
41
41
|
"import": "./dist/router/router.js"
|
|
42
42
|
},
|
|
43
43
|
"./hooks/nixState": {
|
|
44
|
-
"types": "./dist/hooks/nixState.d.ts",
|
|
44
|
+
"types": "./dist-types/hooks/nixState.d.ts",
|
|
45
45
|
"import": "./dist/hooks/nixState.js"
|
|
46
46
|
},
|
|
47
47
|
"./hooks/nixStore": {
|
|
48
|
-
"types": "./dist/hooks/nixStore.d.ts",
|
|
48
|
+
"types": "./dist-types/hooks/nixStore.d.ts",
|
|
49
49
|
"import": "./dist/hooks/nixStore.js"
|
|
50
50
|
},
|
|
51
51
|
"./hooks/nixEffect": {
|
|
52
|
-
"types": "./dist/hooks/nixEffect.d.ts",
|
|
52
|
+
"types": "./dist-types/hooks/nixEffect.d.ts",
|
|
53
53
|
"import": "./dist/hooks/nixEffect.js"
|
|
54
54
|
},
|
|
55
55
|
"./hooks/nixAsync": {
|
|
56
|
-
"types": "./dist/hooks/nixAsync.d.ts",
|
|
56
|
+
"types": "./dist-types/hooks/nixAsync.d.ts",
|
|
57
57
|
"import": "./dist/hooks/nixAsync.js"
|
|
58
58
|
},
|
|
59
59
|
"./hooks/nixAsyncCache": {
|
|
60
|
-
"types": "./dist/hooks/nixAsyncCache.d.ts",
|
|
60
|
+
"types": "./dist-types/hooks/nixAsyncCache.d.ts",
|
|
61
61
|
"import": "./dist/hooks/nixAsyncCache.js"
|
|
62
62
|
},
|
|
63
63
|
"./hooks/nixAsyncDebounce": {
|
|
64
|
-
"types": "./dist/hooks/nixAsyncDebounce.d.ts",
|
|
64
|
+
"types": "./dist-types/hooks/nixAsyncDebounce.d.ts",
|
|
65
65
|
"import": "./dist/hooks/nixAsyncDebounce.js"
|
|
66
66
|
},
|
|
67
67
|
"./hooks/nixAsyncQuery": {
|
|
68
|
-
"types": "./dist/hooks/nixAsyncQuery.d.ts",
|
|
68
|
+
"types": "./dist-types/hooks/nixAsyncQuery.d.ts",
|
|
69
69
|
"import": "./dist/hooks/nixAsyncQuery.js"
|
|
70
70
|
},
|
|
71
71
|
"./hooks/nixCallback": {
|
|
72
|
-
"types": "./dist/hooks/nixCallback.d.ts",
|
|
72
|
+
"types": "./dist-types/hooks/nixCallback.d.ts",
|
|
73
73
|
"import": "./dist/hooks/nixCallback.js"
|
|
74
74
|
},
|
|
75
75
|
"./hooks/nixComputed": {
|
|
76
|
-
"types": "./dist/hooks/nixComputed.d.ts",
|
|
76
|
+
"types": "./dist-types/hooks/nixComputed.d.ts",
|
|
77
77
|
"import": "./dist/hooks/nixComputed.js"
|
|
78
78
|
},
|
|
79
79
|
"./hooks/nixDebounce": {
|
|
80
|
-
"types": "./dist/hooks/nixDebounce.d.ts",
|
|
80
|
+
"types": "./dist-types/hooks/nixDebounce.d.ts",
|
|
81
81
|
"import": "./dist/hooks/nixDebounce.js"
|
|
82
82
|
},
|
|
83
83
|
"./hooks/nixForm": {
|
|
84
|
-
"types": "./dist/hooks/nixForm.d.ts",
|
|
84
|
+
"types": "./dist-types/hooks/nixForm.d.ts",
|
|
85
85
|
"import": "./dist/hooks/nixForm.js"
|
|
86
86
|
},
|
|
87
87
|
"./hooks/nixFormAsync": {
|
|
88
|
-
"types": "./dist/hooks/nixFormAsync.d.ts",
|
|
88
|
+
"types": "./dist-types/hooks/nixFormAsync.d.ts",
|
|
89
89
|
"import": "./dist/hooks/nixFormAsync.js"
|
|
90
90
|
},
|
|
91
91
|
"./hooks/nixInterval": {
|
|
92
|
-
"types": "./dist/hooks/nixInterval.d.ts",
|
|
92
|
+
"types": "./dist-types/hooks/nixInterval.d.ts",
|
|
93
93
|
"import": "./dist/hooks/nixInterval.js"
|
|
94
94
|
},
|
|
95
95
|
"./hooks/nixLazy": {
|
|
96
|
-
"types": "./dist/hooks/nixLazy.d.ts",
|
|
96
|
+
"types": "./dist-types/hooks/nixLazy.d.ts",
|
|
97
97
|
"import": "./dist/hooks/nixLazy.js"
|
|
98
98
|
},
|
|
99
99
|
"./hooks/nixLazyAsync": {
|
|
100
|
-
"types": "./dist/hooks/nixLazyAsync.d.ts",
|
|
100
|
+
"types": "./dist-types/hooks/nixLazyAsync.d.ts",
|
|
101
101
|
"import": "./dist/hooks/nixLazyAsync.js"
|
|
102
102
|
},
|
|
103
103
|
"./hooks/nixLazyFormAsync": {
|
|
104
|
-
"types": "./dist/hooks/nixLazyFormAsync.d.ts",
|
|
104
|
+
"types": "./dist-types/hooks/nixLazyFormAsync.d.ts",
|
|
105
105
|
"import": "./dist/hooks/nixLazyFormAsync.js"
|
|
106
106
|
},
|
|
107
107
|
"./hooks/nixLocalStorage": {
|
|
108
|
-
"types": "./dist/hooks/nixLocalStorage.d.ts",
|
|
108
|
+
"types": "./dist-types/hooks/nixLocalStorage.d.ts",
|
|
109
109
|
"import": "./dist/hooks/nixLocalStorage.js"
|
|
110
110
|
},
|
|
111
111
|
"./hooks/nixMemo": {
|
|
112
|
-
"types": "./dist/hooks/nixMemo.d.ts",
|
|
112
|
+
"types": "./dist-types/hooks/nixMemo.d.ts",
|
|
113
113
|
"import": "./dist/hooks/nixMemo.js"
|
|
114
114
|
},
|
|
115
115
|
"./hooks/nixPrevious": {
|
|
116
|
-
"types": "./dist/hooks/nixPrevious.d.ts",
|
|
116
|
+
"types": "./dist-types/hooks/nixPrevious.d.ts",
|
|
117
117
|
"import": "./dist/hooks/nixPrevious.js"
|
|
118
118
|
},
|
|
119
119
|
"./hooks/nixRef": {
|
|
120
|
-
"types": "./dist/hooks/nixRef.d.ts",
|
|
120
|
+
"types": "./dist-types/hooks/nixRef.d.ts",
|
|
121
121
|
"import": "./dist/hooks/nixRef.js"
|
|
122
122
|
},
|
|
123
123
|
"./plugins/vite-plugin-res": {
|
|
124
|
-
"types": "./dist/plugins/vite-plugin-res.d.ts",
|
|
124
|
+
"types": "./dist-types/plugins/vite-plugin-res.d.ts",
|
|
125
125
|
"import": "./dist/plugins/vite-plugin-res.js"
|
|
126
126
|
},
|
|
127
127
|
"./typescript-plugin": {
|
|
128
128
|
"import": "./dist/typescript-fynix-plugin/index.js",
|
|
129
|
-
"types": "./dist/typescript-fynix-plugin/index.d.ts"
|
|
129
|
+
"types": "./dist-types/typescript-fynix-plugin/index.d.ts"
|
|
130
130
|
},
|
|
131
131
|
"./types": {
|
|
132
132
|
"types": "./types/index.d.ts"
|
|
@@ -141,13 +141,14 @@
|
|
|
141
141
|
"types": "./types/fnx.d.ts"
|
|
142
142
|
},
|
|
143
143
|
"./hooks/nixFor": {
|
|
144
|
-
"types": "./dist/hooks/nixFor.d.ts",
|
|
144
|
+
"types": "./dist-types/hooks/nixFor.d.ts",
|
|
145
145
|
"import": "./dist/hooks/nixFor.js"
|
|
146
146
|
},
|
|
147
147
|
"./package.json": "./package.json"
|
|
148
148
|
},
|
|
149
149
|
"files": [
|
|
150
150
|
"dist/",
|
|
151
|
+
"dist-types/",
|
|
151
152
|
"types/",
|
|
152
153
|
"README.md",
|
|
153
154
|
"LICENSE"
|
|
@@ -192,7 +193,7 @@
|
|
|
192
193
|
"build:types": "tsc --project tsconfig.build.json",
|
|
193
194
|
"type-check": "tsc --noEmit",
|
|
194
195
|
"type-check:watch": "tsc --noEmit --watch",
|
|
195
|
-
"clean": "rimraf dist",
|
|
196
|
+
"clean": "rimraf dist dist-types",
|
|
196
197
|
"lint": "eslint . --ext .fnx,.ts,.tsx,.js,.jsx --max-warnings 0",
|
|
197
198
|
"lint:fix": "eslint . --ext .fnx,.ts,.tsx,.js,.jsx --fix",
|
|
198
199
|
"format": "prettier --write \"**/*.{.fnx,ts,tsx,js,jsx,json,css,md}\"",
|
|
@@ -212,8 +213,10 @@
|
|
|
212
213
|
"@vitest/coverage-v8": "^2.1.8",
|
|
213
214
|
"esbuild": "^0.24.2",
|
|
214
215
|
"eslint": "^9.18.0",
|
|
216
|
+
"fdir": "^6.5.0",
|
|
215
217
|
"prettier": "^3.4.2",
|
|
216
218
|
"rimraf": "^6.1.2",
|
|
219
|
+
"rollup": "^4.56.0",
|
|
217
220
|
"typescript": "^5.9.3",
|
|
218
221
|
"vitest": "^2.1.8",
|
|
219
222
|
"vite": "^7.1.11"
|
|
@@ -234,7 +237,7 @@
|
|
|
234
237
|
"typesVersions": {
|
|
235
238
|
"*": {
|
|
236
239
|
"*": [
|
|
237
|
-
"./dist/*"
|
|
240
|
+
"./dist-types/*"
|
|
238
241
|
],
|
|
239
242
|
"types": [
|
|
240
243
|
"./types/index.d.ts"
|
|
@@ -247,8 +250,5 @@
|
|
|
247
250
|
]
|
|
248
251
|
}
|
|
249
252
|
},
|
|
250
|
-
"dependencies": {
|
|
251
|
-
"fdir": "^6.5.0",
|
|
252
|
-
"rollup": "^4.56.0"
|
|
253
|
-
}
|
|
253
|
+
"dependencies": {}
|
|
254
254
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../context/context.ts"],"names":[],"mappings":"AA8CA,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,QAAQ,EAAE,CAAC;IACpB,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,aAAa,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;IAC1B,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;IACzB,qBAAqB,EAAE,QAAQ,EAAE,CAAC;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAC9B,SAAS,EAAE,QAAQ,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;CACzB;AAMD,eAAO,IAAI,aAAa,EAAE,gBAAgB,GAAG,IAAW,CAAC;AASzD,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,gBAAgB,GAAG,IAAI,GAAG,IAAI,CAEnE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../context/context.ts"],
|
|
4
|
-
"sourcesContent": ["/* MIT License\r\n\r\n* Copyright (c) 2026 Resty Gonzales\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy\r\nof this software and associated documentation files (the \"Software\"), to deal\r\nin the Software without restriction, including without limitation the rights\r\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\ncopies of the Software, and to permit persons to whom the Software is\r\nfurnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\n* SOFTWARE.\r\n */\r\n/**\r\n * @fileoverview Component context management for Fynix framework.\r\n * Tracks the currently rendering component to enable hooks to access component state.\r\n */\r\n\r\n/**\r\n * @typedef {Object} ComponentContext\r\n * @property {Array<any>} hooks - Array of hook states\r\n * @property {number} hookIndex - Current hook index during render\r\n * @property {Array<Function>} effects - Array of effect cleanup functions\r\n * @property {Array<Function>} cleanups - Array of cleanup functions\r\n * @property {Array<Function>} [stateCleanups] - Array of state cleanup functions\r\n * @property {Object} _vnode - Associated virtual node\r\n * @property {Set<any>} _accessedStates - Set of states accessed during render\r\n * @property {Set<any>} _subscriptions - Set of active subscriptions\r\n * @property {Array<Function>} _subscriptionCleanups - Array of subscription cleanup functions\r\n * @property {number} version - Component version for tracking updates\r\n * @property {Function|null} rerender - Function to trigger component re-render\r\n * @property {Function} Component - Component function\r\n * @property {boolean} _isMounted - Whether component is mounted\r\n * @property {boolean} _isRerendering - Whether component is currently re-rendering\r\n */\r\n\r\n// TypeScript interface for ComponentContext\r\nexport interface ComponentContext {\r\n hooks: any[];\r\n hookIndex: number;\r\n effects: Function[];\r\n cleanups: Function[];\r\n stateCleanups?: Function[];\r\n _vnode: object;\r\n _accessedStates: Set<any>;\r\n _subscriptions: Set<any>;\r\n _subscriptionCleanups: Function[];\r\n version: number;\r\n rerender: (() => void) | null;\r\n Component: Function;\r\n _isMounted: boolean;\r\n _isRerendering: boolean;\r\n}\r\n\r\n/**\r\n * The currently active component context.\r\n * This is set during component rendering to allow hooks to access the component's state.\r\n */\r\nexport let activeContext: ComponentContext | null = null;\r\n\r\n/**\r\n * Set the active component context.\r\n * Called internally by the runtime when entering/exiting component rendering.\r\n *\r\n * @param ctx - The component context to set as active, or null to clear\r\n * @returns void\r\n */\r\nexport function setActiveContext(ctx: ComponentContext | null): void {\r\n activeContext = ctx;\r\n}\r\n"],
|
|
5
|
-
"mappings": ";;AAmEO,IAAI,gBAAyC;AAS7C,SAAS,iBAAiB,KAAoC;AACnE,kBAAgB;AAClB;AAFgB;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../custom/button.ts"],"names":[],"mappings":"AAkEA,wBAAgB,MAAM,CAAC,EAAE,KAAU,EAAE,GAAG,KAAK,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,CAEzE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../custom/button.ts"],
|
|
4
|
-
"sourcesContent": ["/* MIT License\r\n\r\n* Copyright (c) 2026 Resty Gonzales\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy\r\nof this software and associated documentation files (the \"Software\"), to deal\r\nin the Software without restriction, including without limitation the rights\r\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\ncopies of the Software, and to permit persons to whom the Software is\r\nfurnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\n* SOFTWARE.\r\n */\r\n/**\r\n * @fileoverview Button component for Fynix applications.\r\n * Simple wrapper around native button element with Fynix integration.\r\n */\r\n\r\nimport { Fynix } from \"../runtime.js\";\r\n\r\n/**\r\n * @typedef {Object} ButtonProps\r\n * @property {string} [value=\"\"] - Button text content\r\n * @property {string} [type=\"button\"] - Button type (button, submit, reset)\r\n * @property {boolean} [disabled=false] - Whether button is disabled\r\n * @property {string} [rc] - Reactive class attribute (Fynix-specific)\r\n * @property {string} [class] - CSS class names\r\n * @property {(this: HTMLElement, event: MouseEvent) => void} [r-click] - Click event handler\r\n */\r\n\r\n/**\r\n * Button component for Fynix applications.\r\n * Renders a native HTML button element with Fynix event handling.\r\n *\r\n * @param {ButtonProps & Record<string, any>} props - Component props\r\n * @returns {VNode} Button element virtual node\r\n *\r\n * @example\r\n * // Basic button\r\n * <Button value=\"Click Me\" />\r\n *\r\n * @example\r\n * // With click handler\r\n * <Button\r\n * value=\"Submit\"\r\n * r-click={() => console.log('Clicked!')}\r\n * />\r\n *\r\n * @example\r\n * // Submit button with styling\r\n * <Button\r\n * value=\"Save\"\r\n * type=\"submit\"\r\n * rc=\"px-4 py-2 bg-blue-500 text-white rounded\"\r\n * />\r\n */\r\n// Use 'any' as the return type to avoid the VNode type export error\r\nexport function Button({ value = \"\", ...props }: Record<string, any>): any {\r\n return Fynix(\"button\", props, value);\r\n}\r\n"],
|
|
5
|
-
"mappings": ";;AA2BA,SAAS,aAAa;AAuCf,SAAS,OAAO,EAAE,QAAQ,IAAI,GAAG,MAAM,GAA6B;AACzE,SAAO,MAAM,UAAU,OAAO,KAAK;AACrC;AAFgB;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|