essor 0.0.6-beta.13 → 0.0.6-beta.14
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/essor.cjs.js +18 -18
- package/dist/essor.cjs.js.map +1 -1
- package/dist/essor.d.cts +9 -5
- package/dist/essor.d.ts +9 -5
- package/dist/essor.dev.cjs.js +19 -13
- package/dist/essor.dev.esm.js +19 -13
- package/dist/essor.esm.js +3 -3
- package/dist/essor.esm.js.map +1 -1
- package/package.json +2 -2
- package/types/jsx.d.ts +8 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "essor",
|
|
3
|
-
"version": "0.0.6-beta.
|
|
3
|
+
"version": "0.0.6-beta.14",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [],
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"jsdelivr": "dist/essor.esm.js",
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"csstype": "^3.1.3",
|
|
57
|
-
"essor-shared": "0.0.6-beta.
|
|
57
|
+
"essor-shared": "0.0.6-beta.14"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "tsup && cross-env NODE_ENV=production tsup --clean=false --treeshake --sourcemap=false",
|
package/types/jsx.d.ts
CHANGED
|
@@ -154,7 +154,11 @@ declare global {
|
|
|
154
154
|
interface DirectiveFunctions {
|
|
155
155
|
[x: string]: (el: DOMElement, accessor: Accessor<any>) => void;
|
|
156
156
|
}
|
|
157
|
-
interface ExplicitProperties {
|
|
157
|
+
interface ExplicitProperties<T> {
|
|
158
|
+
value: Signal<T>;
|
|
159
|
+
updateValue: (value: T) => void;
|
|
160
|
+
}
|
|
161
|
+
|
|
158
162
|
interface ExplicitAttributes {}
|
|
159
163
|
interface CustomEvents {}
|
|
160
164
|
interface CustomCaptureEvents {}
|
|
@@ -164,12 +168,12 @@ declare global {
|
|
|
164
168
|
CustomCaptureEvents[Key]
|
|
165
169
|
>;
|
|
166
170
|
};
|
|
167
|
-
type PropAttributes = {
|
|
168
|
-
[Key in keyof ExplicitProperties
|
|
171
|
+
type PropAttributes<T> = {
|
|
172
|
+
[Key in keyof ExplicitProperties]?: ExplicitProperties<T>[Key];
|
|
169
173
|
};
|
|
170
174
|
interface DOMAttributes<T>
|
|
171
175
|
extends CustomAttributes<T>,
|
|
172
|
-
PropAttributes
|
|
176
|
+
PropAttributes<T>,
|
|
173
177
|
OnCaptureAttributes<T>,
|
|
174
178
|
CustomEventHandlersCamelCase<T>,
|
|
175
179
|
CustomEventHandlersLowerCase<T> {
|