@visulima/dev-toolbar 1.0.0-alpha.23 → 1.0.0-alpha.25

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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## @visulima/dev-toolbar [1.0.0-alpha.25](https://github.com/visulima/visulima/compare/@visulima/dev-toolbar@1.0.0-alpha.24...@visulima/dev-toolbar@1.0.0-alpha.25) (2026-05-16)
2
+
3
+ ## @visulima/dev-toolbar [1.0.0-alpha.24](https://github.com/visulima/visulima/compare/@visulima/dev-toolbar@1.0.0-alpha.23...@visulima/dev-toolbar@1.0.0-alpha.24) (2026-05-14)
4
+
5
+ ### Bug Fixes
6
+
7
+ * **dev-toolbar:** cast form element to AnnotationElement shape ([618e91e](https://github.com/visulima/visulima/commit/618e91e5535a75f1d2d0132e0f7085987af79b34))
8
+ * **dev-toolbar:** scope JSX inject to enclosing function ([1b7e82a](https://github.com/visulima/visulima/commit/1b7e82af78cd599bd35b58a2f3e232c25b7e5192))
9
+ * **dev-toolbar:** silence unnecessary-type-assertion on form element cast ([86282de](https://github.com/visulima/visulima/commit/86282de06a3581be69210a12f12e307ac6ca99c8))
10
+
11
+ ### Miscellaneous Chores
12
+
13
+ * **error:** apply prettier and eslint formatting sweep ([25c5eaf](https://github.com/visulima/visulima/commit/25c5eaf4989bddfe860b52aea113b3e229fea84f))
14
+
1
15
  ## @visulima/dev-toolbar [1.0.0-alpha.23](https://github.com/visulima/visulima/compare/@visulima/dev-toolbar@1.0.0-alpha.22...@visulima/dev-toolbar@1.0.0-alpha.23) (2026-05-11)
2
16
 
3
17
  ## @visulima/dev-toolbar [1.0.0-alpha.22](https://github.com/visulima/visulima/compare/@visulima/dev-toolbar@1.0.0-alpha.21...@visulima/dev-toolbar@1.0.0-alpha.22) (2026-05-11)
package/dist/index.d.ts CHANGED
@@ -1,54 +1,11 @@
1
1
  import { D as DevToolbarApp, T as ToolbarSettings } from "./packem_shared/app.d-SmKEDxsI.js";
2
2
  export { A as AppView, b as DEFAULT_TOOLBAR_SETTINGS, a as DevToolbarAppState, F as FrameState, N as NotificationLevel, P as PositionAnchor, S as ServerFunctions, c as ServerHelpers, d as ToolbarAppEventTarget, e as ToolbarPlacement } from "./packem_shared/app.d-SmKEDxsI.js";
3
- import { T as TimelineEvent, D as DevToolbarHook, C as ClientFunctions, a as ClientRPCContext, S as ServerFunctions, b as ServerRPCContext, c as TimelineGroup } from "./packem_shared/global-api.d-BLfn-OUA.js";
4
- export { A as AccessibilityInfo, d as Annotation, e as AnnotationIntent, f as AnnotationSeverity, g as AnnotationStatus, B as BoundingBox, h as CreateAnnotationData, i as DEFAULT_TIMELINE_GROUPS, F as FrameworkContext, H as HookEvents, j as ThreadMessage, k as TimelineEventLevel, U as UpdateAnnotationData, V as VisulimaDevTools } from "./packem_shared/global-api.d-BLfn-OUA.js";
3
+ import { T as TimelineEvent, D as DevToolbarHook, C as ClientFunctions, a as ClientRPCContext, S as ServerFunctions, b as ServerRPCContext, c as TimelineGroup } from "./packem_shared/global-api.d-DG2WYakl.js";
4
+ export { A as AccessibilityInfo, d as Annotation, e as AnnotationIntent, f as AnnotationSeverity, g as AnnotationStatus, B as BoundingBox, h as CreateAnnotationData, i as DEFAULT_TIMELINE_GROUPS, F as FrameworkContext, H as HookEvents, j as ThreadMessage, k as TimelineEventLevel, U as UpdateAnnotationData, V as VisulimaDevTools } from "./packem_shared/global-api.d-DG2WYakl.js";
5
5
  import { ViteDevServer } from 'vite';
6
6
  export { DevToolbar } from "./toolbar/index.js";
7
7
  import 'preact';
8
8
  /**
9
- * Message channel interface for bidirectional communication
10
- */
11
- interface MessageChannel<TEvents extends Record<string, (...args: any[]) => void>> {
12
- /**
13
- * Unsubscribe from an event
14
- * @param event Event name
15
- * @param handler Optional specific handler to remove
16
- */
17
- off: <K extends keyof TEvents>(event: K, handler?: TEvents[K]) => void;
18
- /**
19
- * Subscribe to an event
20
- * @param event Event name
21
- * @param handler Event handler
22
- * @returns Unsubscribe function
23
- */
24
- on: <K extends keyof TEvents>(event: K, handler: TEvents[K]) => () => void;
25
- /**
26
- * Subscribe to an event once
27
- * @param event Event name
28
- * @param handler Event handler
29
- */
30
- once: <K extends keyof TEvents>(event: K, handler: TEvents[K]) => void;
31
- /**
32
- * Send a message/event
33
- * @param event Event name
34
- * @param data Event data
35
- */
36
- send: <K extends keyof TEvents>(event: K, ...args: Parameters<TEvents[K]>) => void;
37
- }
38
- /**
39
- * Channel factory function
40
- */
41
- type ChannelFactory<TEvents extends Record<string, (...args: any[]) => void>> = () => MessageChannel<TEvents>;
42
- /**
43
- * Factory result providing a method to instantiate named message channels.
44
- */
45
- interface MessageChannelContext<TEvents extends Record<string, (...args: any[]) => void>> {
46
- /**
47
- * Creates and returns a new channel instance.
48
- */
49
- createChannel: () => MessageChannel<TEvents>;
50
- }
51
- /**
52
9
  * Creates a dev toolbar hook instance.
53
10
  * @param onRegisterApp Callback when app is registered.
54
11
  * @param onTimelineEvent Callback when timeline event is added.
@@ -125,6 +82,49 @@ declare class TimelineStore {
125
82
  */
126
83
  declare const getTimelineStore: () => TimelineStore;
127
84
  /**
85
+ * Message channel interface for bidirectional communication
86
+ */
87
+ interface MessageChannel<TEvents extends Record<string, (...args: any[]) => void>> {
88
+ /**
89
+ * Unsubscribe from an event
90
+ * @param event Event name
91
+ * @param handler Optional specific handler to remove
92
+ */
93
+ off: <K extends keyof TEvents>(event: K, handler?: TEvents[K]) => void;
94
+ /**
95
+ * Subscribe to an event
96
+ * @param event Event name
97
+ * @param handler Event handler
98
+ * @returns Unsubscribe function
99
+ */
100
+ on: <K extends keyof TEvents>(event: K, handler: TEvents[K]) => () => void;
101
+ /**
102
+ * Subscribe to an event once
103
+ * @param event Event name
104
+ * @param handler Event handler
105
+ */
106
+ once: <K extends keyof TEvents>(event: K, handler: TEvents[K]) => void;
107
+ /**
108
+ * Send a message/event
109
+ * @param event Event name
110
+ * @param data Event data
111
+ */
112
+ send: <K extends keyof TEvents>(event: K, ...args: Parameters<TEvents[K]>) => void;
113
+ }
114
+ /**
115
+ * Channel factory function
116
+ */
117
+ type ChannelFactory<TEvents extends Record<string, (...args: any[]) => void>> = () => MessageChannel<TEvents>;
118
+ /**
119
+ * Factory result providing a method to instantiate named message channels.
120
+ */
121
+ interface MessageChannelContext<TEvents extends Record<string, (...args: any[]) => void>> {
122
+ /**
123
+ * Creates and returns a new channel instance.
124
+ */
125
+ createChannel: () => MessageChannel<TEvents>;
126
+ }
127
+ /**
128
128
  * Loads settings from localStorage, merging with defaults.
129
129
  * @returns Toolbar settings.
130
130
  */