@praxisjs/devtools 0.2.2 → 0.2.4
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 +30 -0
- package/dist/index.js +371 -364
- package/package.json +5 -5
- package/src/plugins/timeline/components/timeline-row.tsx +5 -3
- package/src/ui/dev-tools.tsx +5 -11
- package/src/ui/panel.tsx +53 -46
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @praxisjs/devtools
|
|
2
2
|
|
|
3
|
+
## 0.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9fa8dd1: fix(devtools): guard against undefined `entry` in `TimelineRow`
|
|
8
|
+
|
|
9
|
+
`entry` is typed as `TimelineEntry | undefined`, but `render()` accessed `entry.data` unconditionally, which would throw at runtime when no entry is provided. Added an early `null` return guard and a local `const entry = this.entry` binding that also fixes bare `entry` references in JSX that were missing the `this.` prefix.
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [fe39901]
|
|
12
|
+
- Updated dependencies [fe39901]
|
|
13
|
+
- @praxisjs/decorators@0.4.2
|
|
14
|
+
- @praxisjs/core@0.4.1
|
|
15
|
+
- @praxisjs/runtime@0.2.3
|
|
16
|
+
- @praxisjs/jsx@0.3.2
|
|
17
|
+
|
|
18
|
+
## 0.2.3
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- 966efdc: Fix JSX prop typing for `StatelessComponent` to automatically accept reactive values (`() => T`) without requiring manual declaration. `LibraryManagedAttributes` now uses `InstancePropsOf` directly instead of intersecting with the raw constructor props, preventing the erroneous `T | (T & (() => T))` type expansion.
|
|
23
|
+
|
|
24
|
+
`InstancePropsOf` now uses `_rawProps` to infer props for class components decorated with `@Prop()`, providing accurate JSX prop types without manual interface declarations.
|
|
25
|
+
|
|
26
|
+
The `@Emit` decorator type signature was relaxed from `unknown` to `any` to allow broader method compatibility. Devtools `Panel` and `DevToolsApp` components were refactored to use `@Prop()` and `@Emit()` decorators instead of manual props casting.
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [966efdc]
|
|
29
|
+
- @praxisjs/jsx@0.3.1
|
|
30
|
+
- @praxisjs/decorators@0.4.1
|
|
31
|
+
- @praxisjs/runtime@0.2.2
|
|
32
|
+
|
|
3
33
|
## 0.2.2
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|