@domicile-desktop/sdk 0.0.0-alpha-8ac4e992d484 → 0.0.0-alpha-7ebfeec7620d

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.
@@ -136,6 +136,11 @@ export declare const WEBVIEW_FIND_CHANGE_EVENT = "domicile-find-change";
136
136
  * Bubbles.
137
137
  */
138
138
  export declare const WEBVIEW_CONTENT_SIZE_CHANGE_EVENT = "domicile-content-size-change";
139
+ /**
140
+ * Fired when {@link HTMLWebViewElement.pageFullscreen} changes. Carries no
141
+ * payload. Bubbles.
142
+ */
143
+ export declare const WEBVIEW_PAGE_FULLSCREEN_CHANGE_EVENT = "domicile-page-fullscreen-change";
139
144
  /**
140
145
  * Fired when the page needs a file picked: an `<input type="file">` or a
141
146
  * download. Bubbles.
@@ -300,6 +305,15 @@ declare global {
300
305
  */
301
306
  readonly contentWidth: number;
302
307
  readonly contentHeight: number;
308
+ /**
309
+ * Whether the page is fullscreen, as a video's fullscreen button makes it.
310
+ * The page fills the view's box; the shell grows the view to fill the
311
+ * screen. Escape in the page ends it. Changes fire
312
+ * {@link WEBVIEW_PAGE_FULLSCREEN_CHANGE_EVENT}.
313
+ */
314
+ readonly pageFullscreen: boolean;
315
+ /** Take the page out of fullscreen, as Escape does. */
316
+ exitPageFullscreen(): void;
303
317
  /**
304
318
  * Open DevTools for the page in a new browser window. If DevTools is
305
319
  * already open, the view showing it fires
@@ -146,6 +146,11 @@ export const WEBVIEW_FIND_CHANGE_EVENT = "domicile-find-change";
146
146
  * Bubbles.
147
147
  */
148
148
  export const WEBVIEW_CONTENT_SIZE_CHANGE_EVENT = "domicile-content-size-change";
149
+ /**
150
+ * Fired when {@link HTMLWebViewElement.pageFullscreen} changes. Carries no
151
+ * payload. Bubbles.
152
+ */
153
+ export const WEBVIEW_PAGE_FULLSCREEN_CHANGE_EVENT = "domicile-page-fullscreen-change";
149
154
  /**
150
155
  * Fired when the page needs a file picked: an `<input type="file">` or a
151
156
  * download. Bubbles.
package/package.json CHANGED
@@ -120,7 +120,7 @@
120
120
  "test:unit": "bun test"
121
121
  },
122
122
  "type": "module",
123
- "version": "0.0.0-alpha-8ac4e992d484",
123
+ "version": "0.0.0-alpha-7ebfeec7620d",
124
124
  "repository": {
125
125
  "type": "git",
126
126
  "url": "git+https://github.com/cprussin/domicile.git",