@wix/himalaya-cli 0.1986.0 → 0.1987.0

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 (33) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +8 -2
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +3 -1
  3. package/dist/browser-plane/assets.json +5 -5
  4. package/dist/browser-plane/preview-deferred/{dd1ab57b35f99c571d48e6f87b0b43cb84e090091d517c830ea4f3dc02631fbd.bin → 319e52f63699eae3650079ff77edd0b89f9ffbadb84fd7813c62e78558613560.bin} +1 -1
  5. package/dist/browser-plane/sw.js +9 -9
  6. package/dist/cli.mjs +63 -47
  7. package/dist/preview-assets.generated.bin +0 -0
  8. package/guides/sdk-reference.json +1 -1
  9. package/guides/splash-screens.md +32 -21
  10. package/package.json +2 -2
  11. package/templates/beauty-salon/config.ts +1 -1
  12. package/templates/beauty-salon/dev/index.ts +3 -3
  13. package/templates/branded-lite/config.ts +1 -1
  14. package/templates/branded-lite/dev/index.ts +3 -3
  15. package/templates/community-club/config.ts +1 -1
  16. package/templates/community-club/dev/index.ts +3 -3
  17. package/templates/events-meetups/config.ts +1 -1
  18. package/templates/events-meetups/dev/index.ts +3 -3
  19. package/templates/gym-fitness/config.ts +1 -1
  20. package/templates/gym-fitness/dev/index.ts +3 -3
  21. package/templates/nonprofit-cause/config.ts +1 -1
  22. package/templates/nonprofit-cause/dev/index.ts +3 -3
  23. package/templates/personal-fitness-trainer/dev/index.ts +3 -3
  24. package/templates/podcast-creator/config.ts +1 -1
  25. package/templates/podcast-creator/dev/index.ts +3 -3
  26. package/templates/portfolio-creative/config.ts +1 -1
  27. package/templates/portfolio-creative/dev/index.ts +3 -3
  28. package/templates/restaurant/config.ts +1 -1
  29. package/templates/restaurant/dev/index.ts +3 -3
  30. package/templates/retail-store/config.ts +1 -1
  31. package/templates/retail-store/dev/index.ts +3 -3
  32. package/templates/yoga-studio/config.ts +1 -1
  33. package/templates/yoga-studio/dev/index.ts +3 -3
@@ -3728,7 +3728,9 @@ export interface SplashConfig {
3728
3728
  * match. Unknown coalesces to "token" on device. */
3729
3729
  appearance?: SplashAppearance;
3730
3730
  /** "circle" ⇒ the Android launch-icon crop on every surface: the logo's central 2/3 inside a
3731
- * circle of `logoWidth`. Absent ⇒ drawn as is. */
3731
+ * circle of `logoWidth`. "roundedSquare" ⇒ the whole logo at `logoWidth`, its corners rounded at
3732
+ * {@link SPLASH_ROUNDED_SQUARE_CORNER_FRACTION} of it (an app icon's corners). Absent ⇒ drawn as is.
3733
+ * A binary that does not know "roundedSquare" draws its own default (Branded Lite's circle). */
3732
3734
  logoShape?: SplashLogoShape;
3733
3735
  /** The optional T5 stage (docs/splash-screens.md, "The T5 stage"). Absent ⇒ the native
3734
3736
  * surface is the whole splash. */
@@ -3740,7 +3742,11 @@ export type SplashExitTransition = "" | "fade" | "cut";
3740
3742
  * error), in a shell that mounts its content under the splash (the core launch gate). */
3741
3743
  export type SplashReadySignal = "" | "seeded" | "first_content" | "first_screen";
3742
3744
  export type SplashAppearance = "system" | "light" | "dark" | "token";
3743
- export type SplashLogoShape = "circle";
3745
+ export type SplashLogoShape = "circle" | "roundedSquare";
3746
+ /** `logoShape: "roundedSquare"`'s corner radius, as a fraction of `logoWidth` (an app icon's 22.37%).
3747
+ * Mirrored in Swift (`SplashConfig.roundedSquareCornerFraction`), Kotlin (HimalayaSplash.kt) and
3748
+ * tools/native-config/splash.ts; splash-parity.test.ts pins the four. */
3749
+ export declare const SPLASH_ROUNDED_SQUARE_CORNER_FRACTION = 0.2237;
3744
3750
  /**
3745
3751
  * The T5 stage of a launch splash. When the first screen has not painted by `afterMs`, the shell
3746
3752
  * mounts `screenId` under the native surface and, once that screen reports `splash.presented`,
@@ -6899,6 +6899,7 @@ var CHROME_OUTLET_KINDS = [
6899
6899
  function resolveTabBarPresentation(raw) {
6900
6900
  return raw === "kit" ? "kit" : "native";
6901
6901
  }
6902
+ var SPLASH_ROUNDED_SQUARE_CORNER_FRACTION = 0.2237;
6902
6903
  var HIDE_SELECTORS_MAX = 32;
6903
6904
  var HIDE_SELECTOR_MAX_LENGTH = 200;
6904
6905
 
@@ -8620,7 +8621,7 @@ var SPLASH_READY_SIGNALS = ["", "seeded", "first_content", "first_screen"];
8620
8621
  var SPLASH_EXIT_TRANSITIONS = ["", "fade", "cut"];
8621
8622
  var SPLASH_STATUS_BAR_STYLES = ["", "light-content", "dark-content"];
8622
8623
  var SPLASH_APPEARANCES = ["system", "light", "dark", "token"];
8623
- var SPLASH_LOGO_SHAPES = ["circle"];
8624
+ var SPLASH_LOGO_SHAPES = ["circle", "roundedSquare"];
8624
8625
  var SPLASH_EXTENDED_AFTER_MS_MAX = 8e3;
8625
8626
  var SPLASH_EXTENDED_CROSSFADE_MS_MAX = 2e3;
8626
8627
  var SPLASH_EXTENDED_MIN_DWELL_MS_MAX = 3e3;
@@ -17196,6 +17197,7 @@ export {
17196
17197
  SPLASH_EXTENDED_MIN_DWELL_MS_MAX,
17197
17198
  SPLASH_MAX_HOLD_MS_MAX,
17198
17199
  SPLASH_MIN_VISIBLE_MS_MAX,
17200
+ SPLASH_ROUNDED_SQUARE_CORNER_FRACTION,
17199
17201
  STREAM_POLICY_VERSION,
17200
17202
  SUPPORTED_LOCALES,
17201
17203
  SURFACE_GROUPS,
@@ -2,7 +2,7 @@
2
2
  "files": [
3
3
  {
4
4
  "name": "sw.js",
5
- "bytes": 2838448
5
+ "bytes": 2838588
6
6
  },
7
7
  {
8
8
  "name": "host.html",
@@ -21,7 +21,7 @@
21
21
  "bytes": 24320
22
22
  },
23
23
  {
24
- "name": "preview-deferred/dd1ab57b35f99c571d48e6f87b0b43cb84e090091d517c830ea4f3dc02631fbd.bin",
24
+ "name": "preview-deferred/319e52f63699eae3650079ff77edd0b89f9ffbadb84fd7813c62e78558613560.bin",
25
25
  "bytes": 488215
26
26
  },
27
27
  {
@@ -79,10 +79,10 @@
79
79
  ],
80
80
  "deferred": [
81
81
  {
82
- "key": "assets/pdf-C2Hy2Nzg.js",
82
+ "key": "assets/pdf-DL23yVPz.js",
83
83
  "contentType": "application/javascript; charset=utf-8",
84
- "sha256": "dd1ab57b35f99c571d48e6f87b0b43cb84e090091d517c830ea4f3dc02631fbd",
85
- "file": "preview-deferred/dd1ab57b35f99c571d48e6f87b0b43cb84e090091d517c830ea4f3dc02631fbd.bin"
84
+ "sha256": "319e52f63699eae3650079ff77edd0b89f9ffbadb84fd7813c62e78558613560",
85
+ "file": "preview-deferred/319e52f63699eae3650079ff77edd0b89f9ffbadb84fd7813c62e78558613560.bin"
86
86
  },
87
87
  {
88
88
  "key": "assets/pdf.worker.min-BGnVRhRG.js",