peachsim 0.1.695 → 0.1.697
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/detox/index.ts +21 -11
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/detox/index.cjs +747 -31
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +1 -1
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +1 -1
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +1 -1
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +1 -1
- package/dist-lib/vite.cjs +1 -1
- package/kotlin/fork/NOTICE +8 -3
- package/kotlin/fork/README.md +6 -1
- package/kotlin/fork/build.sh +9 -1
- package/kotlin/fork/compose-worker-globals.patch +106 -0
- package/kotlin/fork/fork.json +1 -1
- package/kotlin/toolchain.json +9 -9
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/plist.mjs
CHANGED
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/render-mode.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (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);
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.697 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/kotlin/fork/NOTICE
CHANGED
|
@@ -21,7 +21,12 @@ change clock and clipboard reads to globalThis rather than window, and add an
|
|
|
21
21
|
explicit ui-text locale provider and Skiko host OS provider whose defaults
|
|
22
22
|
retain upstream navigator behavior. Each modified file carries a notice saying so. The Skiko
|
|
23
23
|
loader build also reads import.meta.url instead of self.location.href, which
|
|
24
|
-
React Native tenants do not expose. The
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
React Native tenants do not expose. The Compose patch also formats UTC
|
|
25
|
+
timestamps at UTC, uses the Android
|
|
26
|
+
DefaultNavTransitions expressions in the web actual, and initializes the
|
|
27
|
+
Compose paint stroke join to Miter to agree with Skia and Android.
|
|
28
|
+
The built klibs are ui-wasm-js, ui-text-wasm-js, ui-skiko-wasm-js and
|
|
29
|
+
material3-wasm-js 1.13.0-alpha01, navigation-compose-wasm-js 2.10.0-beta01,
|
|
30
|
+
and skiko-wasm-js 0.152.0-alpha02 compiled from the patched sources.
|
|
31
|
+
skiko-wasm-0.152.0-alpha02.jar contains that worker-safe loader and
|
|
27
32
|
Skiko's own wasm runtime.
|
package/kotlin/fork/README.md
CHANGED
|
@@ -4,7 +4,8 @@ Peach runs Compose in a React Native tenant worker, with no `window`,
|
|
|
4
4
|
`document`, `location`, or browser navigator language/platform fields. The official
|
|
5
5
|
Compose UI 1.13.0-alpha01 and Skiko 0.152.0-alpha02 platform actuals assume
|
|
6
6
|
browser globals that this native host does not publish. Peach carries patched
|
|
7
|
-
builds until upstream supplies equivalent worker and native host hooks
|
|
7
|
+
builds until upstream supplies equivalent worker and native host hooks, and
|
|
8
|
+
Android behavior for the three approved web differences below.
|
|
8
9
|
|
|
9
10
|
| module | file | native host binding |
|
|
10
11
|
| --- | --- | --- |
|
|
@@ -12,6 +13,9 @@ builds until upstream supplies equivalent worker and native host hooks.
|
|
|
12
13
|
| Compose `ui` | `PlatformClipboard.web.kt` | worker-safe secure-context and clipboard reads |
|
|
13
14
|
| Compose `ui` | `SystemTheme.kt` | `LocalSystemTheme` visible to the host, which provides the device's night mode |
|
|
14
15
|
| Compose `ui-text` | `PlatformLocale.web.kt` | explicit `setPlatformLocaleProvider`; its default keeps upstream navigator behavior |
|
|
16
|
+
| Compose `ui-skiko` | `SkiaBackedPaint.nonAndroid.kt` | initial Miter join agrees with the backing paint and Android |
|
|
17
|
+
| Compose `material3` | `PlatformDateFormat.web.kt` | timestamp formatting uses UTC, as Android does |
|
|
18
|
+
| Navigation `navigation-compose` | `DefaultNavTransitions.web.kt` | Android forward fades and predictive pop defaults |
|
|
15
19
|
| Skiko | `OsArch.web.kt` | explicit `setHostOsProvider`; its default lazily retains upstream OS detection |
|
|
16
20
|
| Skiko | `Actuals.web.kt` | nanosecond clock reads `globalThis.performance.now()` |
|
|
17
21
|
| Skiko loader build | `OptimizeSkikoWasmTask.kt` | script directory reads `import.meta.url`, without `self.location` |
|
|
@@ -48,5 +52,6 @@ with an en-US browser.
|
|
|
48
52
|
|
|
49
53
|
Delete the fork when official releases provide worker-safe clocks/clipboard,
|
|
50
54
|
a location-independent loader and equivalent native locale/host OS provider hooks,
|
|
55
|
+
plus UTC date formatting, Android navigation defaults and the correct initial paint join,
|
|
51
56
|
then rematch the Android pins in `plans/peach/kotlin-everywhere.md`. The prepared
|
|
52
57
|
upstream issue names these hooks and the full guest regression vehicle.
|
package/kotlin/fork/build.sh
CHANGED
|
@@ -106,8 +106,13 @@ checkout 0
|
|
|
106
106
|
(
|
|
107
107
|
cd "${SOURCE}"
|
|
108
108
|
gradle -Pcompose.platforms=web -Pjetbrains.publication.version.COMPOSE=1.13.0-alpha01 \
|
|
109
|
+
-Pjetbrains.publication.version.COMPOSE_MATERIAL3=1.13.0-alpha01 \
|
|
110
|
+
-Pjetbrains.publication.version.NAVIGATION=2.10.0-beta01 \
|
|
109
111
|
:compose:ui:ui:publishWasmJsPublicationToMavenLocal \
|
|
110
|
-
:compose:ui:ui-text:publishWasmJsPublicationToMavenLocal
|
|
112
|
+
:compose:ui:ui-text:publishWasmJsPublicationToMavenLocal \
|
|
113
|
+
:compose:ui:ui-skiko:publishWasmJsPublicationToMavenLocal \
|
|
114
|
+
:compose:material3:material3:publishWasmJsPublicationToMavenLocal \
|
|
115
|
+
:navigation:navigation-compose:publishWasmJsPublicationToMavenLocal
|
|
111
116
|
)
|
|
112
117
|
|
|
113
118
|
checkout 1
|
|
@@ -121,6 +126,9 @@ checkout 1
|
|
|
121
126
|
|
|
122
127
|
cp "${M2}/org/jetbrains/compose/ui/ui-wasm-js/1.13.0-alpha01/ui-wasm-js-1.13.0-alpha01.klib" \
|
|
123
128
|
"${M2}/org/jetbrains/compose/ui/ui-text-wasm-js/1.13.0-alpha01/ui-text-wasm-js-1.13.0-alpha01.klib" \
|
|
129
|
+
"${M2}/org/jetbrains/compose/ui/ui-skiko-wasm-js/1.13.0-alpha01/ui-skiko-wasm-js-1.13.0-alpha01.klib" \
|
|
130
|
+
"${M2}/org/jetbrains/compose/material3/material3-wasm-js/1.13.0-alpha01/material3-wasm-js-1.13.0-alpha01.klib" \
|
|
131
|
+
"${M2}/org/jetbrains/androidx/navigation/navigation-compose-wasm-js/2.10.0-beta01/navigation-compose-wasm-js-2.10.0-beta01.klib" \
|
|
124
132
|
"${M2}/org/jetbrains/skiko/skiko-wasm-js/0.152.0-alpha02/skiko-wasm-js-0.152.0-alpha02.klib" \
|
|
125
133
|
"${DELIVER}/"
|
|
126
134
|
# the record travels with the klibs it describes, so publishing attaches what
|
|
@@ -131,3 +131,109 @@ index a14f182..9c4862d 100644
|
|
|
131
131
|
|
|
132
132
|
@InternalComposeUiApi
|
|
133
133
|
@Composable
|
|
134
|
+
diff --git a/compose/material3/material3/src/webMain/kotlin/androidx/compose/material3/internal/PlatformDateFormat.web.kt b/compose/material3/material3/src/webMain/kotlin/androidx/compose/material3/internal/PlatformDateFormat.web.kt
|
|
135
|
+
--- a/compose/material3/material3/src/webMain/kotlin/androidx/compose/material3/internal/PlatformDateFormat.web.kt
|
|
136
|
+
+++ b/compose/material3/material3/src/webMain/kotlin/androidx/compose/material3/internal/PlatformDateFormat.web.kt
|
|
137
|
+
@@ -12,6 +12,9 @@
|
|
138
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
139
|
+
* See the License for the specific language governing permissions and
|
|
140
|
+
* limitations under the License.
|
|
141
|
+
+ *
|
|
142
|
+
+ * modified for Peach: UTC date formatting matches Android independent of the browser time zone.
|
|
143
|
+
+ * see the fork record for the patch and upstream revision.
|
|
144
|
+
*/
|
|
145
|
+
|
|
146
|
+
@file:OptIn(ExperimentalTime::class)
|
|
147
|
+
@@ -74,6 +77,7 @@
|
|
148
|
+
jsDate.toLocaleDateString(
|
|
149
|
+
locales = locale.toLanguageTag(),
|
|
150
|
+
options = dateLocaleOptions {
|
|
151
|
+
+ timeZone = "UTC"
|
|
152
|
+
month = it
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
@@ -83,6 +87,7 @@
|
|
156
|
+
jsDate.toLocaleDateString(
|
|
157
|
+
locales = locale.toLanguageTag(),
|
|
158
|
+
options = dateLocaleOptions {
|
|
159
|
+
+ timeZone = "UTC"
|
|
160
|
+
weekday = it
|
|
161
|
+
}
|
|
162
|
+
)
|
|
163
|
+
@@ -106,6 +111,7 @@
|
|
164
|
+
return jsDate.toLocaleDateString(
|
|
165
|
+
locales = locale.toLanguageTag(),
|
|
166
|
+
options = dateLocaleOptions {
|
|
167
|
+
+ timeZone = "UTC"
|
|
168
|
+
when {
|
|
169
|
+
skeleton.contains("y", true) -> NUMERIC
|
|
170
|
+
else -> null
|
|
171
|
+
diff --git a/compose/ui/ui-skiko/src/nonAndroidMain/kotlin/androidx/compose/ui/graphics/SkiaBackedPaint.nonAndroid.kt b/compose/ui/ui-skiko/src/nonAndroidMain/kotlin/androidx/compose/ui/graphics/SkiaBackedPaint.nonAndroid.kt
|
|
172
|
+
--- a/compose/ui/ui-skiko/src/nonAndroidMain/kotlin/androidx/compose/ui/graphics/SkiaBackedPaint.nonAndroid.kt
|
|
173
|
+
+++ b/compose/ui/ui-skiko/src/nonAndroidMain/kotlin/androidx/compose/ui/graphics/SkiaBackedPaint.nonAndroid.kt
|
|
174
|
+
@@ -12,6 +12,9 @@
|
|
175
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
176
|
+
* See the License for the specific language governing permissions and
|
|
177
|
+
* limitations under the License.
|
|
178
|
+
+ *
|
|
179
|
+
+ * modified for Peach: initial stroke join matches the backing Skia paint and Android default.
|
|
180
|
+
+ * see the fork record for the patch and upstream revision.
|
|
181
|
+
*/
|
|
182
|
+
|
|
183
|
+
@file:JvmName("SkiaBackedPaint_skikoKt")
|
|
184
|
+
@@ -99,7 +102,7 @@
|
|
185
|
+
field = value
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
- override var strokeJoin: StrokeJoin = StrokeJoin.Round
|
|
189
|
+
+ override var strokeJoin: StrokeJoin = StrokeJoin.Miter
|
|
190
|
+
set(value) {
|
|
191
|
+
internalSkiaPaint.strokeJoin = value.toSkia()
|
|
192
|
+
field = value
|
|
193
|
+
diff --git a/navigation/navigation-compose/src/webMain/kotlin/androidx/navigation/compose/DefaultNavTransitions.web.kt b/navigation/navigation-compose/src/webMain/kotlin/androidx/navigation/compose/DefaultNavTransitions.web.kt
|
|
194
|
+
--- a/navigation/navigation-compose/src/webMain/kotlin/androidx/navigation/compose/DefaultNavTransitions.web.kt
|
|
195
|
+
+++ b/navigation/navigation-compose/src/webMain/kotlin/androidx/navigation/compose/DefaultNavTransitions.web.kt
|
|
196
|
+
@@ -12,6 +12,9 @@
|
|
197
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
198
|
+
* See the License for the specific language governing permissions and
|
|
199
|
+
* limitations under the License.
|
|
200
|
+
+ *
|
|
201
|
+
+ * modified for Peach: default navigation transitions match the pinned Android implementation.
|
|
202
|
+
+ * see the fork record for the patch and upstream revision.
|
|
203
|
+
*/
|
|
204
|
+
|
|
205
|
+
package androidx.navigation.compose
|
|
206
|
+
@@ -20,24 +23,29 @@
|
|
207
|
+
import androidx.compose.animation.EnterTransition
|
|
208
|
+
import androidx.compose.animation.ExitTransition
|
|
209
|
+
import androidx.compose.animation.SizeTransform
|
|
210
|
+
+import androidx.compose.animation.core.spring
|
|
211
|
+
+import androidx.compose.animation.core.tween
|
|
212
|
+
+import androidx.compose.animation.fadeIn
|
|
213
|
+
+import androidx.compose.animation.fadeOut
|
|
214
|
+
+import androidx.compose.animation.scaleOut
|
|
215
|
+
import androidx.navigation.NavBackStackEntry
|
|
216
|
+
|
|
217
|
+
public actual object DefaultNavTransitions {
|
|
218
|
+
public actual val enterTransition:
|
|
219
|
+
AnimatedContentTransitionScope<NavBackStackEntry>.() -> EnterTransition =
|
|
220
|
+
- { EnterTransition.None }
|
|
221
|
+
+ { fadeIn(animationSpec = tween(700)) }
|
|
222
|
+
|
|
223
|
+
public actual val exitTransition:
|
|
224
|
+
AnimatedContentTransitionScope<NavBackStackEntry>.() -> ExitTransition =
|
|
225
|
+
- { ExitTransition.None }
|
|
226
|
+
+ { fadeOut(animationSpec = tween(700)) }
|
|
227
|
+
|
|
228
|
+
public actual val predictivePopEnterTransition:
|
|
229
|
+
AnimatedContentTransitionScope<NavBackStackEntry>.(Int) -> EnterTransition =
|
|
230
|
+
- { EnterTransition.None }
|
|
231
|
+
+ { fadeIn(spring(dampingRatio = 1.0f, stiffness = 1600.0f)) }
|
|
232
|
+
|
|
233
|
+
public actual val predictivePopExitTransition:
|
|
234
|
+
AnimatedContentTransitionScope<NavBackStackEntry>.(Int) -> ExitTransition =
|
|
235
|
+
- { ExitTransition.None }
|
|
236
|
+
+ { scaleOut(targetScale = 0.7f) }
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
public actual val sizeTransform:
|
package/kotlin/fork/fork.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"tag": "v1.13.0-alpha01",
|
|
19
19
|
"commit": "a9e47e8aa04c95cfe572ab4297c770f3cbfb234e",
|
|
20
20
|
"patch": "compose-worker-globals.patch",
|
|
21
|
-
"patchSha256": "
|
|
21
|
+
"patchSha256": "1252368b10f9bb87f5f994d010aab47a35cfa9a97cf8cebdf36b88ae3b070f9e"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "skiko",
|
package/kotlin/toolchain.json
CHANGED
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"sha256": "d3469608beb11d460008b0902886080dd1b199b524edbe3a4073feaf6a00e259"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
|
-
"name": "material3-wasm-js-1.13.0-alpha01.klib",
|
|
32
|
-
"url": "https://
|
|
33
|
-
"sha256": "
|
|
31
|
+
"name": "material3-wasm-js-1.13.0-alpha01-peach-fc48b8999ea9.klib",
|
|
32
|
+
"url": "https://r2.rnxsim.com/peach-kotlin-fork/fc48b8999ea9812e86d9922d9b8ef1b022e9fb32ee07dcf929bcd80bac441d01/material3-wasm-js-1.13.0-alpha01.klib",
|
|
33
|
+
"sha256": "fc48b8999ea9812e86d9922d9b8ef1b022e9fb32ee07dcf929bcd80bac441d01"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "skiko-wasm-js-0.152.0-alpha02-peach-3834433e1790.klib",
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
"sha256": "63f16892ab6435778c60e217a0959516f4fcd46cad8862d6831f055ac30f09d8"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
|
-
"name": "ui-skiko-wasm-js-1.13.0-alpha01.klib",
|
|
72
|
-
"url": "https://
|
|
73
|
-
"sha256": "
|
|
71
|
+
"name": "ui-skiko-wasm-js-1.13.0-alpha01-peach-f369d63a5e9f.klib",
|
|
72
|
+
"url": "https://r2.rnxsim.com/peach-kotlin-fork/f369d63a5e9f64e09a66fd0aa7b1c71be01699987502b8155ef8bc605313f754/ui-skiko-wasm-js-1.13.0-alpha01.klib",
|
|
73
|
+
"sha256": "f369d63a5e9f64e09a66fd0aa7b1c71be01699987502b8155ef8bc605313f754"
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"name": "ui-text-wasm-js-1.13.0-alpha01-peach-10c54ff0fa5f.klib",
|
|
@@ -278,9 +278,9 @@
|
|
|
278
278
|
"sha256": "3682e0f481303d71f71e9713b1b1c160839567b4bea1644cc73635c141206be2"
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
|
-
"name": "navigation-compose-wasm-js-2.10.0-beta01.klib",
|
|
282
|
-
"url": "https://
|
|
283
|
-
"sha256": "
|
|
281
|
+
"name": "navigation-compose-wasm-js-2.10.0-beta01-peach-ac5d6b31ff78.klib",
|
|
282
|
+
"url": "https://r2.rnxsim.com/peach-kotlin-fork/ac5d6b31ff78d219c3d79e26023fce437e0450a6952f2da53dde3741a02fc0b4/navigation-compose-wasm-js-2.10.0-beta01.klib",
|
|
283
|
+
"sha256": "ac5d6b31ff78d219c3d79e26023fce437e0450a6952f2da53dde3741a02fc0b4"
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
286
|
"name": "material-icons-core-wasm-js-1.7.3.klib",
|