@swiftbrowser/web 0.26.4 → 0.26.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swiftbrowser/web",
3
- "version": "0.26.4",
3
+ "version": "0.26.6",
4
4
  "type": "module",
5
5
  "description": "SwiftBrowser web renderer and dev server: applies render ops from a Swift/Wasm app to the DOM inside an iPhone frame.",
6
6
  "repository": {
@@ -34,14 +34,14 @@ export const DEVICE_FRAMES: readonly { id: DeviceFrame; label: string }[] = [
34
34
  /**
35
35
  * The safe area each device gives the app: an iPhone 15 Pro's status bar and
36
36
  * home indicator, an iPad's (24 and 20 points, as iPadOS draws them in
37
- * landscape), a Mac window's 28-point title bar (its traffic lights drawn
37
+ * landscape), a Mac window's 32-point title bar (macOS 26's compact one) (its traffic lights drawn
38
38
  * by the page over the app, as the iPhone's status bar is), and none
39
39
  * without a device.
40
40
  */
41
41
  export const FRAME_SAFE_AREAS: Readonly<Record<DeviceFrame, EdgeInsets>> = {
42
42
  iphone: { top: 59, leading: 0, bottom: 34, trailing: 0 },
43
43
  ipad: { top: 24, leading: 0, bottom: 20, trailing: 0 },
44
- mac: { top: 28, leading: 0, bottom: 0, trailing: 0 },
44
+ mac: { top: 32, leading: 0, bottom: 0, trailing: 0 },
45
45
  none: { top: 0, leading: 0, bottom: 0, trailing: 0 },
46
46
  };
47
47