@asyra/ui-context 0.5.1 → 0.5.3
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/README.md +41 -5
- package/package.json +13 -7
package/README.md
CHANGED
|
@@ -1,13 +1,49 @@
|
|
|
1
1
|
# `@asyra/ui-context`
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
Optional derived UI-property registration and aggregation runtime.
|
|
4
|
+
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
- Node.js 24.x
|
|
8
|
+
- Yarn 4.3.1 for this repository's maintained workflows
|
|
9
|
+
|
|
10
|
+
## Install
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install @asyra/ui-context
|
|
14
|
+
```
|
|
5
15
|
|
|
6
16
|
```ts
|
|
7
17
|
import uiContext from '@asyra/ui-context'
|
|
8
18
|
```
|
|
9
19
|
|
|
10
|
-
|
|
20
|
+
Use only the package root and the explicitly documented public subpaths.
|
|
21
|
+
|
|
22
|
+
## Owns
|
|
23
|
+
|
|
24
|
+
- derived property definitions, compute callbacks, managed observables, aggregate/mixed/empty semantics, and cleanup
|
|
25
|
+
|
|
26
|
+
## Does not own
|
|
27
|
+
|
|
28
|
+
- canonical model state, mirror stores, automatic controls, field mappings, App command policy, or polling-based recompute
|
|
29
|
+
|
|
30
|
+
## Start here
|
|
31
|
+
|
|
32
|
+
Use it when panels and controls need reusable derived values. A custom App may derive directly from public owner subscriptions.
|
|
33
|
+
|
|
34
|
+
## Lifecycle and composition
|
|
35
|
+
|
|
36
|
+
Registration creates one managed derived source; canonical dependency changes request recompute and only the final derived value is published. Compute failure is a UI derivation failure and cannot replace or roll back canonical state.
|
|
37
|
+
|
|
38
|
+
## Learn more
|
|
39
|
+
|
|
40
|
+
- [Complete package guide](https://github.com/karote00/asyra/blob/main/docs/public/reference/packages/ui-context.md)
|
|
41
|
+
- [Framework release support](https://github.com/karote00/asyra/blob/main/docs/ai/framework/RELEASE_SUPPORT.md)
|
|
42
|
+
|
|
43
|
+
## Support and policy
|
|
11
44
|
|
|
12
|
-
|
|
13
|
-
|
|
45
|
+
This repository does not accept external issues or contributions. You may use,
|
|
46
|
+
inspect, and fork the package under the [MIT License](https://github.com/karote00/asyra/blob/main/LICENSE).
|
|
47
|
+
Follow the [security policy](https://github.com/karote00/asyra/blob/main/SECURITY.md) for
|
|
48
|
+
security-sensitive reports and the [root policy](https://github.com/karote00/asyra) for the
|
|
49
|
+
current support boundary.
|
package/package.json
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asyra/ui-context",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Manages and optimizes data from data contexts for UI consumption, ensuring efficient rendering and framework flexibility.",
|
|
5
5
|
"author": "Asa Tsai",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/karote00/asyra.git",
|
|
10
|
+
"directory": "packages/ui-context"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://asyra-framework.vercel.app",
|
|
7
13
|
"type": "module",
|
|
8
14
|
"engines": {
|
|
9
15
|
"node": "24.x"
|
|
@@ -37,15 +43,15 @@
|
|
|
37
43
|
},
|
|
38
44
|
"devDependencies": {
|
|
39
45
|
"@types/lodash": "^4",
|
|
40
|
-
"@vitest/coverage-v8": "^2.
|
|
46
|
+
"@vitest/coverage-v8": "^3.2.6",
|
|
41
47
|
"typescript": "^5.7.2",
|
|
42
|
-
"vitest": "^2.
|
|
48
|
+
"vitest": "^3.2.6"
|
|
43
49
|
},
|
|
44
50
|
"dependencies": {
|
|
45
|
-
"@asyra/scene-tree": "0.5.
|
|
46
|
-
"@asyra/selection": "0.5.
|
|
47
|
-
"@asyra/utils": "0.5.
|
|
48
|
-
"lodash": "^4.
|
|
51
|
+
"@asyra/scene-tree": "0.5.3",
|
|
52
|
+
"@asyra/selection": "0.5.2",
|
|
53
|
+
"@asyra/utils": "0.5.1",
|
|
54
|
+
"lodash": "^4.18.1",
|
|
49
55
|
"rxjs": "^7.8.1"
|
|
50
56
|
}
|
|
51
57
|
}
|