peachsim 0.1.2235 → 0.1.2238

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.
Files changed (87) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +1 -1
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +1 -1
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +1 -1
  13. package/dist-lib/bundle-channel.cjs +2 -2
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +1 -1
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +1 -1
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +1 -1
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +1 -1
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +1 -1
  24. package/dist-lib/detox/index.cjs +2 -2
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +1 -1
  27. package/dist-lib/expo-swift-metadata.cjs +1 -1
  28. package/dist-lib/expo-swift-metadata.mjs +1 -1
  29. package/dist-lib/home-paths.cjs +1 -1
  30. package/dist-lib/host/bridge-host.cjs +2 -2
  31. package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
  32. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  34. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  35. package/dist-lib/host/websocket-proxy.cjs +1 -1
  36. package/dist-lib/index.cjs +2 -2
  37. package/dist-lib/jump-to-source-babel.cjs +1 -1
  38. package/dist-lib/jump-to-source-native.cjs +1 -1
  39. package/dist-lib/kotlin-host.cjs +1 -1
  40. package/dist-lib/menu.cjs +1 -1
  41. package/dist-lib/menu.mjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  44. package/dist-lib/metro-production-bundle.cjs +1 -1
  45. package/dist-lib/metro-production-bundle.mjs +1 -1
  46. package/dist-lib/metro.cjs +2 -2
  47. package/dist-lib/native-app-identity-project.cjs +1 -1
  48. package/dist-lib/native-app-identity-project.mjs +1 -1
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/pdfium-raster.cjs +1 -1
  54. package/dist-lib/pdfium-raster.mjs +1 -1
  55. package/dist-lib/plist.cjs +1 -1
  56. package/dist-lib/plist.mjs +1 -1
  57. package/dist-lib/profiles.cjs +1 -1
  58. package/dist-lib/public-brand.cjs +1 -1
  59. package/dist-lib/public-origins-lib-esm.json +24 -24
  60. package/dist-lib/public-origins-lib.json +53 -53
  61. package/dist-lib/react-native-host-modules.cjs +1 -1
  62. package/dist-lib/react-native-host-modules.mjs +1 -1
  63. package/dist-lib/reap-browser.cjs +1 -1
  64. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  65. package/dist-lib/sdk.cjs +1 -1
  66. package/dist-lib/sdk.mjs +1 -1
  67. package/dist-lib/skills.cjs +4 -4
  68. package/dist-lib/swift-compile.cjs +1 -1
  69. package/dist-lib/swift-compile.mjs +1 -1
  70. package/dist-lib/swift-package.cjs +1 -1
  71. package/dist-lib/swift-package.mjs +1 -1
  72. package/dist-lib/swift-submit.cjs +1 -1
  73. package/dist-lib/swift-submit.mjs +1 -1
  74. package/dist-lib/swift-toolchain.cjs +1 -1
  75. package/dist-lib/swift.cjs +1 -1
  76. package/dist-lib/vite-swift.cjs +1 -1
  77. package/dist-lib/vite.cjs +2 -2
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/dist-types/packages/peach-engine/src/engine/canvaskit-api.d.ts +3 -1
  81. package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +2 -1
  82. package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +3 -1
  83. package/dist-types/packages/peach-engine/src/engine/native-paragraph.d.ts +1 -1
  84. package/dist-types/packages/peach-engine/src/engine/types.d.ts +1 -0
  85. package/kotlin/sdk.tar.gz +0 -0
  86. package/package.json +1 -1
  87. package/runtime-companion.json +1 -1
package/dist-lib/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -8345,9 +8345,9 @@ var init_registry = __esm({
8345
8345
  {
8346
8346
  range: ">=6.0.0",
8347
8347
  coverage: 0.85,
8348
- note: "the published PagerView JS runs unchanged (10.0.0 turned the class into a function component taking ref as a prop; its native props, events and commands match 9.0.11), page wrappers and the iOS pageMargin margins included; RNCViewPager stands in for the SwiftUI page TabView with the engine's paging scroll view, which clips its pages to the pager's bounds whatever the pager's own overflow.",
8348
+ note: "the published PagerView JS runs unchanged (10.0.0 turned the class into a function component taking ref as a prop; its native props and events match 9.0.11; 10.0.2 adds an animation argument to the setPage command, where scroll is the existing behavior), page wrappers and the iOS pageMargin margins included; RNCViewPager stands in for the SwiftUI page TabView with the engine's paging scroll view, which clips its pages to the pager's bounds whatever the pager's own overflow.",
8349
8349
  working: "PagerView (default + named), initialPage, scrollEnabled and setScrollEnabled, orientation (horizontal/vertical), overdrag, keyboardDismissMode, pageMargin, onPageSelected, onPageScroll, onPageScrollStateChanged, setPage/setPageWithoutAnimation via ref, reanimated useEvent handlers",
8350
- missing: "layoutDirection rtl (the TabView's right-to-left layout is unmeasured), offscreenPageLimit and overScrollMode (Android only); 9.0.11 and 10.0.0 native behavior not modeled: iOS 26 back-gesture and paging arbitration and top edge effect, iOS 15 embedded paging scroll views, Android nested drag arbitration, focus and keyboard clearing on page changes, and settling/idle event timing"
8350
+ missing: "layoutDirection rtl (the TabView's right-to-left layout is unmeasured), offscreenPageLimit and overScrollMode (Android only); setPage animation direct (iOS 16 and later slides a page more than one away in from its neighbour, borrowing the page views; the seam scrolls through the pages as scroll does and as iOS 15 does); 9.0.11 to 10.0.2 native behavior not modeled: iOS 16 keyboard reveal scroll decline, safe-area propagation guard, stranded-slide snap, iOS 26 back-gesture and paging arbitration and top edge effect, iOS 15 embedded paging scroll views, Android nested drag arbitration, focus and keyboard clearing on page changes, and settling/idle event timing"
8351
8351
  }
8352
8352
  ]
8353
8353
  },
@@ -87714,7 +87714,7 @@ var init_one_sdk_bundle = __esm({
87714
87714
  var runtime_companion_default;
87715
87715
  var init_runtime_companion = __esm({
87716
87716
  "runtime-companion.json"() {
87717
- runtime_companion_default = { abi: 1, sha256: "de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335", file: "node/cli-de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335.cjs" };
87717
+ runtime_companion_default = { abi: 1, sha256: "6dd2e5a5b979d46f53a8f7d8fcabf5b355446ecdf5fd09affbffc3e9a5f2599d", file: "node/cli-6dd2e5a5b979d46f53a8f7d8fcabf5b355446ecdf5fd09affbffc3e9a5f2599d.cjs" };
87718
87718
  }
87719
87719
  });
87720
87720
 
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1072,7 +1072,7 @@ var init_src = __esm({
1072
1072
  var runtime_companion_default;
1073
1073
  var init_runtime_companion = __esm({
1074
1074
  "runtime-companion.json"() {
1075
- runtime_companion_default = { abi: 1, sha256: "de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335", file: "node/cli-de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335.cjs" };
1075
+ runtime_companion_default = { abi: 1, sha256: "6dd2e5a5b979d46f53a8f7d8fcabf5b355446ecdf5fd09affbffc3e9a5f2599d", file: "node/cli-6dd2e5a5b979d46f53a8f7d8fcabf5b355446ecdf5fd09affbffc3e9a5f2599d.cjs" };
1076
1076
  }
1077
1077
  });
1078
1078
 
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2238 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -50,10 +50,12 @@ export interface CanvasKitGifApi {
50
50
  _peachSkottieGifDemand(json: string, assets?: Record<string, ArrayBuffer | Uint8Array>): number;
51
51
  }
52
52
  export interface CanvasKitTextDataApi {
53
+ _peachBuildLayoutParagraph(slot: number, width: number): Paragraph | null;
54
+ _peachReleasePreparedParagraph(slot: number): void;
53
55
  _peachRetainLayoutParagraph(slot: number, paragraph: Paragraph): void;
54
56
  _peachLayoutParagraph(slot: number, width: number): Paragraph | null;
55
57
  _peachReleaseLayoutParagraph(slot: number): void;
56
- _peachMakeParagraph(collection: FontCollection, pointer: number, length: number): Paragraph | null;
58
+ _peachMakeParagraph(collection: FontCollection, pointer: number, length: number, slot: number, revision: number): Paragraph | null;
57
59
  HEAPU8: Uint8Array;
58
60
  _malloc(length: number): number;
59
61
  _free(pointer: number): void;
@@ -3,6 +3,7 @@ import type { DeviceSpec, RuntimePlatform } from '../../../../../src/device-cata
3
3
  import type { CanvasKitRenderingApi } from './canvaskit-api.d.ts';
4
4
  import type { SootSimStyle } from './types.d.ts';
5
5
  import type { FontMgr, ParagraphStyle } from 'canvaskit-wasm';
6
+ export declare function getTextFontWeightMap(ck: Pick<CanvasKitRenderingApi, 'FontWeight'>): Record<string, import("canvaskit-wasm").EmbindEnumEntity>;
6
7
  export declare const DEFAULT_FONT_FAMILY = "SF Pro";
7
8
  export declare const SF_PRO_VERTICAL_METRICS: {
8
9
  ascender: number;
@@ -105,7 +106,7 @@ export declare function noteTextSymbolRegistered(): void;
105
106
  export declare function registerEngineFontFamily(family: string): void;
106
107
  export declare function markSystemNamedFaceFamily(face: SystemNamedFace): void;
107
108
  export declare function registerLazySystemFontFamily(family: string): void;
108
- export declare function makeParagraphBuilder(ck: CanvasKitRenderingApi, style: ParagraphStyle, fontMgr: FontMgr): import("./native-paragraph.d.ts").NativeParagraphBuilder;
109
+ export declare function makeParagraphBuilder(ck: CanvasKitRenderingApi, style: ParagraphStyle, fontMgr: FontMgr, slot?: number, revision?: number): import("./native-paragraph.d.ts").NativeParagraphBuilder;
109
110
  export declare function registerEngineAppFontFace(aliases: readonly string[], face: AppFontFaceStyle): void;
110
111
  export declare function isFontFamilyRegistered(family: string): boolean;
111
112
  export declare function getRegisteredFontFamilies(): string[];
@@ -9,7 +9,8 @@ export type TextMeasureRecipe = [
9
9
  trim: number,
10
10
  widthPolicy: number,
11
11
  heightPolicy: number,
12
- padding: number
12
+ paddingTop: number,
13
+ paddingBottom: number
13
14
  ];
14
15
  export interface NativeLayoutExports {
15
16
  _peach_layout_dirty_mark(slot: number, mask: number): void;
@@ -46,6 +47,7 @@ export interface NativeLayoutExports {
46
47
  _peach_layout_text_revision(slot: number): number;
47
48
  _peach_layout_text_recipe(slot: number, revision: number, ...recipe: TextMeasureRecipe): void;
48
49
  _peach_layout_measure_result(width: number, height: number, cacheable: number): void;
50
+ _peach_layout_measure_paragraph(paragraph: number, width: number, ...recipe: TextMeasureRecipe): number;
49
51
  _peach_layout_force(slot: number): void;
50
52
  _peach_layout_force_subtree(slot: number): void;
51
53
  _peach_layout_seen(slot: number): void;
@@ -1,4 +1,4 @@
1
1
  import type { CanvasKitRenderingApi } from './canvaskit-api.d.ts';
2
2
  import type { FontCollection, ParagraphBuilder, ParagraphStyle } from 'canvaskit-wasm';
3
3
  export type NativeParagraphBuilder = Pick<ParagraphBuilder, 'addText' | 'pushStyle' | 'pop' | 'addPlaceholder' | 'build' | 'reset' | 'delete'>;
4
- export declare function makeNativeParagraphBuilder(ck: CanvasKitRenderingApi, style: ParagraphStyle, collection: FontCollection): NativeParagraphBuilder;
4
+ export declare function makeNativeParagraphBuilder(ck: CanvasKitRenderingApi, style: ParagraphStyle, collection: FontCollection, slot?: number, revision?: number): NativeParagraphBuilder;
@@ -477,6 +477,7 @@ export interface SootSimStyle {
477
477
  _swiftUIAlignmentGuide?: number;
478
478
  _swiftUIAlignmentFraction?: number;
479
479
  _swiftUIPlatformView?: true;
480
+ _swiftUIListCell?: true;
480
481
  _swiftUIFrameSnapped?: true;
481
482
  _uikitControlContent?: true;
482
483
  _numericText?: NumericTextPaintRequest;
package/kotlin/sdk.tar.gz CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.2235",
3
+ "version": "0.1.2238",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -1 +1 @@
1
- {"abi":1,"sha256":"de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335","file":"node/cli-de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335.cjs"}
1
+ {"abi":1,"sha256":"6dd2e5a5b979d46f53a8f7d8fcabf5b355446ecdf5fd09affbffc3e9a5f2599d","file":"node/cli-6dd2e5a5b979d46f53a8f7d8fcabf5b355446ecdf5fd09affbffc3e9a5f2599d.cjs"}