@praxisjs/fsm 1.0.9 → 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/CHANGELOG.md +17 -9
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @praxisjs/fsm
|
|
2
2
|
|
|
3
|
+
## 1.0.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [954e456]
|
|
8
|
+
- Updated dependencies [a0bf339]
|
|
9
|
+
- Updated dependencies [a0bf339]
|
|
10
|
+
- Updated dependencies [a8df1e1]
|
|
11
|
+
- @praxisjs/decorators@1.0.0
|
|
12
|
+
|
|
13
|
+
## 1.0.10
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [9c7a165]
|
|
18
|
+
- @praxisjs/decorators@0.8.1
|
|
19
|
+
|
|
3
20
|
## 1.0.9
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -82,39 +99,31 @@
|
|
|
82
99
|
- 3372878: Migrate all packages from functional APIs to a decorator-first design.
|
|
83
100
|
|
|
84
101
|
**`@praxisjs/core`**
|
|
85
|
-
|
|
86
102
|
- Added `Composable` abstract base class for building class-based composables
|
|
87
103
|
- Removed `resource`, `createResource`, `Resource`, `ResourceStatus`, `ResourceOptions` from public exports — use `@Resource` from `@praxisjs/decorators` instead
|
|
88
104
|
|
|
89
105
|
**`@praxisjs/motion`**
|
|
90
|
-
|
|
91
106
|
- Replaced `useMotion`, `tween`, `spring`, `createTransition`, `Animate`, `easings`, `resolveEasing` with `@Tween` and `@Spring` decorators
|
|
92
107
|
|
|
93
108
|
**`@praxisjs/di`**
|
|
94
|
-
|
|
95
109
|
- Replaced `useService` and `createScope` with a `@Scope` decorator
|
|
96
110
|
- Renamed exported type `Scope` to `ScopeType` to free the name for the new decorator
|
|
97
111
|
|
|
98
112
|
**`@praxisjs/fsm`**
|
|
99
|
-
|
|
100
113
|
- Removed `createMachine` — use the `@StateMachine` and `@Transition` decorators directly
|
|
101
114
|
|
|
102
115
|
**`@praxisjs/router`**
|
|
103
|
-
|
|
104
116
|
- Removed `createRouter`, `lazy`, `useRouter`, `useParams`, `useQuery`, `useLocation`
|
|
105
117
|
- Added `@RouterConfig`, `@Lazy`, `@InjectRouter`, `@Params`, `@Query`, `@Location` decorators
|
|
106
118
|
|
|
107
119
|
**`@praxisjs/store`**
|
|
108
|
-
|
|
109
120
|
- Removed `createStore` — use the `@Store` and `@UseStore` decorators directly
|
|
110
121
|
|
|
111
122
|
**`@praxisjs/composables`**
|
|
112
|
-
|
|
113
123
|
- Replaced all `use*` composable functions with class-based composables extending `Composable`:
|
|
114
124
|
`WindowSize`, `ScrollPosition`, `ElementSize`, `Intersection`, `Focus`, `MediaQuery`, `ColorScheme`, `Mouse`, `KeyCombo`, `Idle`, `Clipboard`, `Geolocation`, `TimeAgo`, `Pagination`
|
|
115
125
|
|
|
116
126
|
**`@praxisjs/concurrent`**
|
|
117
|
-
|
|
118
127
|
- Removed `task`, `queue`, `pool` and their instance types — use `@Task`, `@Queue`, `@Pool` decorators instead
|
|
119
128
|
|
|
120
129
|
### Patch Changes
|
|
@@ -150,7 +159,6 @@
|
|
|
150
159
|
### Minor Changes
|
|
151
160
|
|
|
152
161
|
- bb0d4f8: **Refactor decorator system and component architecture across PraxisJS packages**
|
|
153
|
-
|
|
154
162
|
- Replaced legacy decorator signatures (`constructor`, `target`, `propertyKey`, method descriptor) with the standard TC39 decorator context API (`ClassDecoratorContext`, `ClassFieldDecoratorContext`, `ClassMethodDecoratorContext`) across `@praxisjs/decorators`, `@praxisjs/store`, `@praxisjs/concurrent`, `@praxisjs/router`, `@praxisjs/motion`, `@praxisjs/di`, and `@praxisjs/fsm`.
|
|
155
163
|
- Introduced `StatefulComponent` and `StatelessComponent` as the new base classes, replacing the deprecated `BaseComponent`/`Function Component` pattern, across `@praxisjs/core`, `@praxisjs/runtime`, `@praxisjs/devtools`, and templates.
|
|
156
164
|
- Implemented core rendering functionality in `@praxisjs/runtime` (`mountChildren`, `mountComponent`, reactive scope management) and removed the deprecated `renderer.ts`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisjs/fsm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@praxisjs/core": "1.5.0",
|
|
18
|
-
"@praxisjs/decorators": "0.
|
|
18
|
+
"@praxisjs/decorators": "1.0.0",
|
|
19
19
|
"@praxisjs/shared": "0.2.0"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|