@autono/pinbox-toolbar 0.7.0 → 0.9.0
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/dist/{index-DnhwJYxE.d.ts → index-DK_kVd2Z.d.ts} +16 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +1 -1
- package/dist/{src-D1qn1iet.js → src-ChTPrRo5.js} +567 -6
- package/dist/svelte.d.ts +1 -1
- package/dist/svelte.js +1 -1
- package/dist/toolbar.iife.js +567 -6
- package/dist/vue.d.ts +1 -1
- package/dist/vue.js +1 -1
- package/package.json +2 -2
|
@@ -38,6 +38,12 @@ interface ToolbarState {
|
|
|
38
38
|
connection: "connecting" | "live" | "offline" | "incompatible";
|
|
39
39
|
/** Outbox-queued pin ids (offline creates) — flagged "queued" in the UI until the flush. */
|
|
40
40
|
queuedIds: ReadonlySet<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Bar collapsed to the floating puck. The RESTING state only — the minimize
|
|
43
|
+
* controller owns transitions and writes this when a toggle settles; pins,
|
|
44
|
+
* chips, and cards stay live either way.
|
|
45
|
+
*/
|
|
46
|
+
minimized: boolean;
|
|
41
47
|
}
|
|
42
48
|
interface Store {
|
|
43
49
|
get(): ToolbarState;
|
|
@@ -103,6 +109,11 @@ declare class PinboxToolbarElement extends BaseElement {
|
|
|
103
109
|
*/
|
|
104
110
|
attributeChangedCallback(): void;
|
|
105
111
|
disconnectedCallback(): void;
|
|
112
|
+
/** Public: collapse the bar to the floating puck. Bar surfaces close first —
|
|
113
|
+
* the morph must never sweep over an open card, drawer, or armed reticle. */
|
|
114
|
+
minimize(keyboard?: boolean): void;
|
|
115
|
+
/** Public: bring the bar back from the puck. */
|
|
116
|
+
restore(keyboard?: boolean): void;
|
|
106
117
|
}
|
|
107
118
|
//#endregion
|
|
108
119
|
//#region src/transport/mirror.d.ts
|
|
@@ -214,6 +225,11 @@ interface PinboxConfig {
|
|
|
214
225
|
* pixels.
|
|
215
226
|
*/
|
|
216
227
|
screenshots?: boolean;
|
|
228
|
+
/**
|
|
229
|
+
* Start with the bar collapsed to the floating puck. Default false. A
|
|
230
|
+
* visitor's own choice, persisted per endpoint, wins over this on reload.
|
|
231
|
+
*/
|
|
232
|
+
minimized?: boolean;
|
|
217
233
|
}
|
|
218
234
|
/** Register <pinbox-toolbar>; no-op outside a browser or when already defined. */
|
|
219
235
|
declare function defineToolbarElement(): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as applyHubEvent, a as HubEvent, b as upsertPin, c as WebSocketLike, d as PinboxToolbarElement, f as Draft, g as appendThreadMessage, h as UiStatus, i as ConnectionState, l as HubError, m as ToolbarState, n as PinboxConfig, o as HubTransport, p as Store, r as defineToolbarElement, s as TransportOptions, t as Pinbox, u as StorageLike, v as createStore, x as CaptureResult, y as deriveUiStatus } from "./index-
|
|
1
|
+
import { _ as applyHubEvent, a as HubEvent, b as upsertPin, c as WebSocketLike, d as PinboxToolbarElement, f as Draft, g as appendThreadMessage, h as UiStatus, i as ConnectionState, l as HubError, m as ToolbarState, n as PinboxConfig, o as HubTransport, p as Store, r as defineToolbarElement, s as TransportOptions, t as Pinbox, u as StorageLike, v as createStore, x as CaptureResult, y as deriveUiStatus } from "./index-DK_kVd2Z.js";
|
|
2
2
|
export { type CaptureResult, type ConnectionState, type Draft, HubError, type HubEvent, HubTransport, Pinbox, PinboxConfig, PinboxToolbarElement, type StorageLike, type Store, type ToolbarState, type TransportOptions, type UiStatus, type WebSocketLike, appendThreadMessage, applyHubEvent, createStore, defineToolbarElement, deriveUiStatus, upsertPin };
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as HubError, c as createStore, i as HubTransport, l as deriveUiStatus, n as defineToolbarElement, o as appendThreadMessage, r as PinboxToolbarElement, s as applyHubEvent, t as Pinbox, u as upsertPin } from "./src-
|
|
1
|
+
import { a as HubError, c as createStore, i as HubTransport, l as deriveUiStatus, n as defineToolbarElement, o as appendThreadMessage, r as PinboxToolbarElement, s as applyHubEvent, t as Pinbox, u as upsertPin } from "./src-ChTPrRo5.js";
|
|
2
2
|
export { HubError, HubTransport, Pinbox, PinboxToolbarElement, appendThreadMessage, applyHubEvent, createStore, defineToolbarElement, deriveUiStatus, upsertPin };
|
package/dist/react.d.ts
CHANGED
package/dist/react.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineToolbarElement, r as PinboxToolbarElement } from "./src-
|
|
1
|
+
import { n as defineToolbarElement, r as PinboxToolbarElement } from "./src-ChTPrRo5.js";
|
|
2
2
|
import { createElement, useEffect, useRef } from "react";
|
|
3
3
|
//#region src/react.ts
|
|
4
4
|
/**
|