peachsim 0.1.1944 → 0.1.1946

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 (89) 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 +9 -10
  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 +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +4 -4
  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 +9 -10
  31. package/dist-lib/host/fetch-proxy-handler.cjs +1 -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 -3
  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 -3
  47. package/dist-lib/native-app-identity-project.cjs +2 -2
  48. package/dist-lib/native-app-identity-project.mjs +2 -2
  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 +14 -13
  68. package/dist-lib/swift-compile.cjs +2 -2
  69. package/dist-lib/swift-compile.mjs +2 -2
  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 +3 -3
  77. package/dist-lib/vite.cjs +1 -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-renderer.d.ts +2 -0
  81. package/dist-types/packages/peach-engine/src/engine/grapheme-segmenter.d.ts +1 -0
  82. package/dist-types/packages/peach-engine/src/engine/text-nested.d.ts +52 -0
  83. package/dist-types/packages/peach-engine/src/engine/text-runs.d.ts +43 -0
  84. package/package.json +1 -1
  85. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h +1 -1
  86. package/src/nitro-adapter.lock.json +267 -267
  87. package/src/nitro-superset.lock.json +4 -4
  88. package/src/swift-distribution.lock.json +63 -26
  89. package/src/turbo-runtime.lock.json +23 -23
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1944 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1946 | (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.1944 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1946 | (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.1944 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1946 | (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.1944 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1946 | (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.1944 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1946 | (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;
@@ -16447,7 +16447,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
16447
16447
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
16448
16448
  var MULTI_MANIFEST_VERSION = 66;
16449
16449
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
16450
- var compilerSourceDigest = true ? "ea8ee0a513e8f91eef1ab15f805965ba09275af4401419d8f9398c8d4b1aa9f7" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
16450
+ var compilerSourceDigest = true ? "d206ac7f2dd3ac07413fe6e3a1f0cf0ce1598850ace01d84428d65d0b3c4527b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
16451
16451
  function swiftArtifactHash(input, release, moduleRoot) {
16452
16452
  const hash = (0, import_node_crypto12.createHash)("sha256");
16453
16453
  hash.update(`swift-compile
@@ -29615,7 +29615,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
29615
29615
  return hash.digest("hex");
29616
29616
  }
29617
29617
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
29618
- var STANDIN_SOURCE_DIGEST = true ? "099cfb5cd501073779ae13ce3006bf5cab2331b7a9cbba21a1f1a0b7276da876" : standinSourceDigest();
29618
+ var STANDIN_SOURCE_DIGEST = true ? "fab9086c55f32bb50f7e8d86d13c7ce473a0cdcfe5daef1d191032e8b5365d35" : standinSourceDigest();
29619
29619
 
29620
29620
  // src/swift-standins.ts
29621
29621
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1944 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1946 | (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;
@@ -980,7 +980,6 @@ var LAZY_STUB_PATTERNS = [
980
980
  "@googlemaps/react-native-navigation-sdk",
981
981
  "@iterable/expo-plugin",
982
982
  "@kingstinct/react-native-healthkit",
983
- "@livekit/react-native",
984
983
  "@lodev09/react-native-exify",
985
984
  "@luciq/react-native",
986
985
  "@mattermost/react-native-paste-input",
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1944 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1946 | (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.1944 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1946 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -10,6 +10,7 @@ import { type DamageRect } from './damage-rect.d.ts';
10
10
  import { SootSimNode } from './node.d.ts';
11
11
  import { type TextHyphenation } from './text-line-break.d.ts';
12
12
  export { releaseRasterCachesInSubtree } from './paint-boundary.d.ts';
13
+ import { type TextParagraphLineHeight } from './text-nested.d.ts';
13
14
  import { type Paragraph } from './text-paragraph.d.ts';
14
15
  import type { SootSimStyle, RenderContext, PrewarmReach } from './types.d.ts';
15
16
  import type { Canvas, ColorFilter, Paint, FontMgr, Surface } from 'canvaskit-wasm';
@@ -93,6 +94,7 @@ export interface TextParagraphInputs {
93
94
  hasExplicitLineHeight: boolean;
94
95
  attachmentsStandOnBaseline: boolean;
95
96
  mixedParagraphs: boolean;
97
+ textKitLines: TextParagraphLineHeight['textKitLines'];
96
98
  paragraphLeading: number;
97
99
  letterSpacing: number;
98
100
  textOffset: {
@@ -0,0 +1 @@
1
+ export declare function segmentGraphemes(text: string): string[];
@@ -0,0 +1,52 @@
1
+ import { SootSimNode } from './node.d.ts';
2
+ import { type TextRunStyles } from './text-runs.d.ts';
3
+ import type { AttributedParagraphStyle } from './text-paragraphContract.d.ts';
4
+ import type { SootSimStyle } from './types.d.ts';
5
+ interface ParagraphBuilderLike {
6
+ setParagraphStyle?(style: AttributedParagraphStyle | undefined, restore?: boolean): void;
7
+ addText(text: string): void;
8
+ pushStyle(style: any): void;
9
+ pop(): void;
10
+ addPlaceholder?: (width?: number, height?: number, alignment?: any, baseline?: any, offset?: number) => void;
11
+ }
12
+ export declare function isInlineEmbedChild(node: SootSimNode): boolean;
13
+ export declare function attachmentSizesFromText(node: SootSimNode): boolean;
14
+ export declare function hasNestedTextNodes(node: SootSimNode): boolean;
15
+ export declare function nestedTextSignature(node: SootSimNode): string;
16
+ export interface TextParagraphLineHeight {
17
+ firstTextStyle: SootSimStyle | null;
18
+ hasExplicitLineHeight: boolean;
19
+ declaresLineHeight: boolean;
20
+ height: number | null;
21
+ leading: number;
22
+ mixedParagraphs: boolean;
23
+ textKitLines: {
24
+ heights: number[];
25
+ baselineOffset: number;
26
+ } | null;
27
+ }
28
+ export declare function resolveTextParagraphLineHeight(rootNode: SootSimNode | null, rootText: string, rootStyle: SootSimStyle, fontScale: number | null, resolveNaturalLineHeight: (style: SootSimStyle, scaledFontSize: number) => number | null, resolveRunStyle?: (style: SootSimStyle, node: SootSimNode | null) => SootSimStyle): TextParagraphLineHeight;
29
+ export interface InlineEmbedSlot {
30
+ node: SootSimNode;
31
+ width: number;
32
+ height: number;
33
+ placeholderIndex: number;
34
+ }
35
+ export declare function measureInlineTextAttachment(node: SootSimNode, rootNode: SootSimNode): {
36
+ width: number;
37
+ height: number;
38
+ };
39
+ export declare function inlineAttachmentsStandOnBaseline(rootStyle: SootSimStyle, lineHeight: TextParagraphLineHeight): boolean;
40
+ export declare const TEXTKIT_UNATTRIBUTED_METRICS: {
41
+ ascender: number;
42
+ descender: number;
43
+ lineHeight: number;
44
+ };
45
+ export declare function resolveTextKitAttachmentTop(node: SootSimNode, lineBottom: number, attachmentHeight: number): number | null;
46
+ export declare function resolveUnattributedTextAttachment(node: SootSimNode | null | undefined, text: string, slots: readonly InlineEmbedSlot[]): InlineEmbedSlot | null;
47
+ export declare function emitNestedTextRuns(builder: ParagraphBuilderLike, rootNode: SootSimNode, rootStyle: SootSimStyle, buildRunStyle: (mergedStyle: SootSimStyle, node: SootSimNode, natural: boolean) => Record<string, any> | null, rootStyles: TextRunStyles, embedPolicy?: {
48
+ addPlaceholder: (width: number, height: number, offset: number, natural: boolean) => number;
49
+ embedSlots: InlineEmbedSlot[];
50
+ naturalRootStyles?: TextRunStyles;
51
+ }): InlineEmbedSlot[];
52
+ export {};
@@ -0,0 +1,43 @@
1
+ export { segmentGraphemes } from './grapheme-segmenter.d.ts';
2
+ export declare function isEmojiGrapheme(segment: string): boolean;
3
+ export interface TextRun {
4
+ text: string;
5
+ kind: 'text' | 'emoji' | 'symbol' | 'language';
6
+ family?: string;
7
+ }
8
+ export interface TextTightening {
9
+ tracking: number;
10
+ spaceReduction: number;
11
+ leadingSpacing: number;
12
+ }
13
+ export declare function tighteningSpacingAt(graphemes: readonly string[], index: number, tightening: Pick<TextTightening, 'tracking' | 'spaceReduction'>): number;
14
+ export interface TextRunStyles {
15
+ base: Record<string, any> & {
16
+ _tightening?: TextTightening;
17
+ };
18
+ emoji: () => Record<string, any>;
19
+ sfSymbol: (style: Record<string, any>) => SfSymbolTextStyles;
20
+ }
21
+ export interface SfSymbolTextStyles {
22
+ add: (codePoint: number, style: Record<string, any>) => void;
23
+ addPlaceholder: () => void;
24
+ }
25
+ export declare function createSfSymbolTextStyleFactory(builder: {
26
+ addPlaceholder?: (width?: number, height?: number, alignment?: any, baseline?: any, offset?: number) => void;
27
+ }, alignment: any, baseline: any, nextPlaceholderIndex: () => number, onCodePoint?: (placeholderIndex: number, codePoint: number, style: Record<string, any>, size: number) => void): (style: Record<string, any>) => SfSymbolTextStyles;
28
+ export interface EmojiGrapheme {
29
+ grapheme: string;
30
+ start: number;
31
+ end: number;
32
+ }
33
+ export declare function normalizeTextForCanvasParagraph(text: string): string;
34
+ export declare function getEmojiGraphemes(text: string, preserveBufferOffsets?: boolean): EmojiGrapheme[];
35
+ export declare function buildEmojiTextStyle(baseStyle: Record<string, any>, weight: any, letterSpacing?: number): Record<string, any>;
36
+ export declare function iosEmojiAdvance(fontSize: number, systemFont: boolean): number;
37
+ export declare function addTextWithFallbackRuns(builder: {
38
+ preserveBufferOffsets?: boolean;
39
+ addText(text: string): void;
40
+ pushStyle(style: any): void;
41
+ pop(): void;
42
+ addPlaceholder?: (width?: number, height?: number, alignment?: any, baseline?: any, offset?: number) => void;
43
+ }, text: string, styles: TextRunStyles): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.1944",
3
+ "version": "0.1.1946",
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",
@@ -20,7 +20,7 @@ typedef NS_ENUM(NSInteger, UIProgressViewStyle) {
20
20
  } API_UNAVAILABLE(watchos);
21
21
 
22
22
  UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23
- @interface UIProgressView : UIView <NSCoding>
23
+ PEACH_SWIFT_CLASS(UIKitCore) @interface UIProgressView : UIView <NSCoding>
24
24
 
25
25
  - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
26
26
  - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;