@azerothjs/core 0.2.0-alpha.2 → 0.3.0-alpha.2
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/index.d.ts +9 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/package.json +45 -43
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
export { createSignal, createEffect, createMemo, batch, untrack, on, onCleanup, createRoot, createDeferred, createSelector } from '@azerothjs/reactivity';
|
|
2
|
-
export type { CleanupFn, Getter, Setter, Signal, Subscriber, EffectFn, DisposeFn, EqualsFn, SignalOptions, EffectOptions } from '@azerothjs/reactivity';
|
|
3
|
-
export { h, render, Show, For, Switch, Match, Portal, destroyPortal, Dynamic, createRef, classList, styleMap } from '@azerothjs/renderer';
|
|
4
|
-
export type { Props, Child, ShowProps, ForProps, MatchCase, PortalProps, DynamicProps, Ref, ClassObject, StyleObject } from '@azerothjs/renderer';
|
|
5
|
-
export { defineComponent, destroyComponent, onMount, onDestroy, AzerothComponent } from '@azerothjs/component';
|
|
6
|
-
export type { Component, ComponentSetup, LifecycleHook, ReactiveState } from '@azerothjs/component';
|
|
1
|
+
export { createSignal, createEffect, createMemo, batch, untrack, on, onCleanup, onRootDispose, createRoot, createDeferred, createSelector, createResource, createStream, catchError } from '@azerothjs/reactivity';
|
|
2
|
+
export type { CleanupFn, Getter, Setter, Signal, Subscriber, EffectFn, DisposeFn, EqualsFn, SignalOptions, EffectOptions, Resource, Stream, StreamOptions, StreamParseMode } from '@azerothjs/reactivity';
|
|
3
|
+
export { h, render, Show, For, Switch, Match, Portal, destroyPortal, Dynamic, Suspense, Transition, createRef, classList, styleMap } from '@azerothjs/renderer';
|
|
4
|
+
export type { Props, Child, ShowProps, ForProps, MatchCase, PortalProps, DynamicProps, SuspenseProps, TransitionProps, Ref, ClassObject, StyleObject } from '@azerothjs/renderer';
|
|
5
|
+
export { defineComponent, destroyComponent, onMount, onDestroy, AzerothComponent, ErrorBoundary } from '@azerothjs/component';
|
|
6
|
+
export type { Component, ComponentSetup, LifecycleHook, ReactiveState, ErrorBoundaryProps } from '@azerothjs/component';
|
|
7
|
+
export { createStore } from '@azerothjs/store';
|
|
8
|
+
export { createForm, required, minLength, maxLength, min, max, pattern, email, url, oneOf, combine, phone, countries, getCountry } from '@azerothjs/form';
|
|
9
|
+
export type { FormConfig, FormApi, FieldValidator, RegisteredFieldProps, PhoneOptions, CountryInfo } from '@azerothjs/form';
|
|
7
10
|
//# 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":"AAkBA,OAAO,EACH,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,KAAK,EACL,OAAO,EACP,EAAE,EACF,SAAS,EACT,UAAU,EACV,cAAc,EACd,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAkBA,OAAO,EACH,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,KAAK,EACL,OAAO,EACP,EAAE,EACF,SAAS,EACT,aAAa,EACb,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,YAAY,EACZ,UAAU,EACb,MAAM,uBAAuB,CAAC;AAE/B,YAAY,EACR,SAAS,EACT,MAAM,EACN,MAAM,EACN,MAAM,EACN,UAAU,EACV,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,aAAa,EACb,aAAa,EACb,QAAQ,EACR,MAAM,EACN,aAAa,EACb,eAAe,EAClB,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EACH,CAAC,EACD,MAAM,EACN,IAAI,EACJ,GAAG,EACH,MAAM,EACN,KAAK,EACL,MAAM,EACN,aAAa,EACb,OAAO,EACP,QAAQ,EACR,UAAU,EACV,SAAS,EACT,SAAS,EACT,QAAQ,EACX,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EACR,KAAK,EACL,KAAK,EACL,SAAS,EACT,QAAQ,EACR,SAAS,EACT,WAAW,EACX,YAAY,EACZ,aAAa,EACb,eAAe,EACf,GAAG,EACH,WAAW,EACX,WAAW,EACd,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EACH,eAAe,EACf,gBAAgB,EAChB,OAAO,EACP,SAAS,EACT,gBAAgB,EAChB,aAAa,EAChB,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EACR,SAAS,EACT,cAAc,EACd,aAAa,EACb,aAAa,EACb,kBAAkB,EACrB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAI/C,OAAO,EACH,UAAU,EACV,QAAQ,EACR,SAAS,EACT,SAAS,EACT,GAAG,EACH,GAAG,EACH,OAAO,EACP,KAAK,EACL,GAAG,EACH,KAAK,EACL,OAAO,EACP,KAAK,EACL,SAAS,EACT,UAAU,EACb,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EACR,UAAU,EACV,OAAO,EACP,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,WAAW,EACd,MAAM,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -14,9 +14,13 @@
|
|
|
14
14
|
//
|
|
15
15
|
// ============================================================================
|
|
16
16
|
// ── Reactivity ───────────────────────────────────────────────────────────────
|
|
17
|
-
export { createSignal, createEffect, createMemo, batch, untrack, on, onCleanup, createRoot, createDeferred, createSelector } from '@azerothjs/reactivity';
|
|
17
|
+
export { createSignal, createEffect, createMemo, batch, untrack, on, onCleanup, onRootDispose, createRoot, createDeferred, createSelector, createResource, createStream, catchError } from '@azerothjs/reactivity';
|
|
18
18
|
// ── Renderer ─────────────────────────────────────────────────────────────────
|
|
19
|
-
export { h, render, Show, For, Switch, Match, Portal, destroyPortal, Dynamic, createRef, classList, styleMap } from '@azerothjs/renderer';
|
|
19
|
+
export { h, render, Show, For, Switch, Match, Portal, destroyPortal, Dynamic, Suspense, Transition, createRef, classList, styleMap } from '@azerothjs/renderer';
|
|
20
20
|
// ── Component ───────────────────────────────────────────────────────────────
|
|
21
|
-
export { defineComponent, destroyComponent, onMount, onDestroy, AzerothComponent } from '@azerothjs/component';
|
|
21
|
+
export { defineComponent, destroyComponent, onMount, onDestroy, AzerothComponent, ErrorBoundary } from '@azerothjs/component';
|
|
22
|
+
// ── Store ───────────────────────────────────────────────────────────────────
|
|
23
|
+
export { createStore } from '@azerothjs/store';
|
|
24
|
+
// ── Form ────────────────────────────────────────────────────────────────────
|
|
25
|
+
export { createForm, required, minLength, maxLength, min, max, pattern, email, url, oneOf, combine, phone, countries, getCountry } from '@azerothjs/form';
|
|
22
26
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,iDAAiD;AACjD,+EAA+E;AAC/E,EAAE;AACF,yEAAyE;AACzE,kEAAkE;AAClE,EAAE;AACF,wEAAwE;AACxE,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,0DAA0D;AAC1D,6CAA6C;AAC7C,EAAE;AACF,+EAA+E;AAE/E,gFAAgF;AAEhF,OAAO,EACH,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,KAAK,EACL,OAAO,EACP,EAAE,EACF,SAAS,EACT,UAAU,EACV,cAAc,EACd,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,iDAAiD;AACjD,+EAA+E;AAC/E,EAAE;AACF,yEAAyE;AACzE,kEAAkE;AAClE,EAAE;AACF,wEAAwE;AACxE,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,0DAA0D;AAC1D,6CAA6C;AAC7C,EAAE;AACF,+EAA+E;AAE/E,gFAAgF;AAEhF,OAAO,EACH,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,KAAK,EACL,OAAO,EACP,EAAE,EACF,SAAS,EACT,aAAa,EACb,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,YAAY,EACZ,UAAU,EACb,MAAM,uBAAuB,CAAC;AAmB/B,gFAAgF;AAEhF,OAAO,EACH,CAAC,EACD,MAAM,EACN,IAAI,EACJ,GAAG,EACH,MAAM,EACN,KAAK,EACL,MAAM,EACN,aAAa,EACb,OAAO,EACP,QAAQ,EACR,UAAU,EACV,SAAS,EACT,SAAS,EACT,QAAQ,EACX,MAAM,qBAAqB,CAAC;AAiB7B,+EAA+E;AAE/E,OAAO,EACH,eAAe,EACf,gBAAgB,EAChB,OAAO,EACP,SAAS,EACT,gBAAgB,EAChB,aAAa,EAChB,MAAM,sBAAsB,CAAC;AAU9B,+EAA+E;AAE/E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,+EAA+E;AAE/E,OAAO,EACH,UAAU,EACV,QAAQ,EACR,SAAS,EACT,SAAS,EACT,GAAG,EACH,GAAG,EACH,OAAO,EACP,KAAK,EACL,GAAG,EACH,KAAK,EACL,OAAO,EACP,KAAK,EACL,SAAS,EACT,UAAU,EACb,MAAM,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,43 +1,45 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@azerothjs/core",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "AzerothJS core — umbrella package re-exporting all AzerothJS APIs",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/index.js",
|
|
13
|
-
"default": "./dist/index.js"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"dist"
|
|
18
|
-
],
|
|
19
|
-
"sideEffects": false,
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "tsc -p tsconfig.build.json",
|
|
22
|
-
"prepublishOnly": "npm run build"
|
|
23
|
-
},
|
|
24
|
-
"dependencies": {
|
|
25
|
-
"@azerothjs/reactivity": "0.
|
|
26
|
-
"@azerothjs/renderer": "0.
|
|
27
|
-
"@azerothjs/component": "0.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@azerothjs/core",
|
|
3
|
+
"version": "0.3.0-alpha.2",
|
|
4
|
+
"description": "AzerothJS core — umbrella package re-exporting all AzerothJS APIs",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc -p tsconfig.build.json",
|
|
22
|
+
"prepublishOnly": "npm run build"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@azerothjs/reactivity": "0.3.0-alpha.2",
|
|
26
|
+
"@azerothjs/renderer": "0.3.0-alpha.2",
|
|
27
|
+
"@azerothjs/component": "0.3.0-alpha.2",
|
|
28
|
+
"@azerothjs/store": "0.3.0-alpha.2",
|
|
29
|
+
"@azerothjs/form": "0.3.0-alpha.2"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
34
|
+
"author": "IntelligentQuantum",
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/IntelligentQuantum-Dev/AzerothJS.git",
|
|
39
|
+
"directory": "packages/core"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://github.com/IntelligentQuantum-Dev/AzerothJS/tree/main/packages/core",
|
|
42
|
+
"bugs": {
|
|
43
|
+
"url": "https://github.com/IntelligentQuantum-Dev/AzerothJS/issues"
|
|
44
|
+
}
|
|
45
|
+
}
|