@praxisjs/fsm 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/CHANGELOG.md +10 -9
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
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
|
+
|
|
3
13
|
## 1.0.10
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -89,39 +99,31 @@
|
|
|
89
99
|
- 3372878: Migrate all packages from functional APIs to a decorator-first design.
|
|
90
100
|
|
|
91
101
|
**`@praxisjs/core`**
|
|
92
|
-
|
|
93
102
|
- Added `Composable` abstract base class for building class-based composables
|
|
94
103
|
- Removed `resource`, `createResource`, `Resource`, `ResourceStatus`, `ResourceOptions` from public exports — use `@Resource` from `@praxisjs/decorators` instead
|
|
95
104
|
|
|
96
105
|
**`@praxisjs/motion`**
|
|
97
|
-
|
|
98
106
|
- Replaced `useMotion`, `tween`, `spring`, `createTransition`, `Animate`, `easings`, `resolveEasing` with `@Tween` and `@Spring` decorators
|
|
99
107
|
|
|
100
108
|
**`@praxisjs/di`**
|
|
101
|
-
|
|
102
109
|
- Replaced `useService` and `createScope` with a `@Scope` decorator
|
|
103
110
|
- Renamed exported type `Scope` to `ScopeType` to free the name for the new decorator
|
|
104
111
|
|
|
105
112
|
**`@praxisjs/fsm`**
|
|
106
|
-
|
|
107
113
|
- Removed `createMachine` — use the `@StateMachine` and `@Transition` decorators directly
|
|
108
114
|
|
|
109
115
|
**`@praxisjs/router`**
|
|
110
|
-
|
|
111
116
|
- Removed `createRouter`, `lazy`, `useRouter`, `useParams`, `useQuery`, `useLocation`
|
|
112
117
|
- Added `@RouterConfig`, `@Lazy`, `@InjectRouter`, `@Params`, `@Query`, `@Location` decorators
|
|
113
118
|
|
|
114
119
|
**`@praxisjs/store`**
|
|
115
|
-
|
|
116
120
|
- Removed `createStore` — use the `@Store` and `@UseStore` decorators directly
|
|
117
121
|
|
|
118
122
|
**`@praxisjs/composables`**
|
|
119
|
-
|
|
120
123
|
- Replaced all `use*` composable functions with class-based composables extending `Composable`:
|
|
121
124
|
`WindowSize`, `ScrollPosition`, `ElementSize`, `Intersection`, `Focus`, `MediaQuery`, `ColorScheme`, `Mouse`, `KeyCombo`, `Idle`, `Clipboard`, `Geolocation`, `TimeAgo`, `Pagination`
|
|
122
125
|
|
|
123
126
|
**`@praxisjs/concurrent`**
|
|
124
|
-
|
|
125
127
|
- Removed `task`, `queue`, `pool` and their instance types — use `@Task`, `@Queue`, `@Pool` decorators instead
|
|
126
128
|
|
|
127
129
|
### Patch Changes
|
|
@@ -157,7 +159,6 @@
|
|
|
157
159
|
### Minor Changes
|
|
158
160
|
|
|
159
161
|
- bb0d4f8: **Refactor decorator system and component architecture across PraxisJS packages**
|
|
160
|
-
|
|
161
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`.
|
|
162
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.
|
|
163
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": {
|