@wix/himalaya-cli 0.1642.0 → 0.1644.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 (118) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +6 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +3 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +3 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +3 -1
  5. package/dist/browser-plane/assets.json +5 -5
  6. package/dist/browser-plane/preview-deferred/{3361f61ce6b490c8b7b252658ea67f733d88c6e9f95906d0e31eea4827141df3.bin → 155f61519885c85d61a39fa595197071a3ca07680da56055ccb1dcff2e709cd1.bin} +1 -1
  7. package/dist/browser-plane/sw.js +6 -6
  8. package/dist/cli.mjs +358 -144
  9. package/dist/preview-assets.generated.bin +0 -0
  10. package/guides/component-reference.json +1 -1
  11. package/guides/component-reference.md +6 -0
  12. package/guides/designing-himi-screens.md +18 -0
  13. package/guides/offline-reading.md +1 -1
  14. package/guides/recipe-four-state.md +17 -0
  15. package/guides/release-notes.md +21 -0
  16. package/guides/sdk-reference.json +1 -1
  17. package/package.json +2 -2
  18. package/template-icons/conference.png +0 -0
  19. package/templates/beauty-salon/tier5-src/_shared/iap-presentation.ts +5 -2
  20. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +6 -3
  21. package/templates/branded-lite/dev/index.ts +152 -88
  22. package/templates/branded-lite/l10n/en.json +1 -1
  23. package/templates/branded-lite/tier5-src/_shared/featured-event.ts +63 -0
  24. package/templates/branded-lite/tier5-src/_shared/iap-presentation.ts +5 -2
  25. package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +93 -11
  26. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +7 -3
  27. package/templates/community-club/dev/index.ts +152 -88
  28. package/templates/community-club/tier5-src/_shared/featured-event.ts +63 -0
  29. package/templates/community-club/tier5-src/_shared/iap-presentation.ts +5 -2
  30. package/templates/community-club/tier5-src/himi-events-detail/index.ts +93 -11
  31. package/templates/conference/README.md +53 -0
  32. package/templates/conference/config.ts +321 -0
  33. package/templates/conference/dev/index.ts +17252 -0
  34. package/templates/conference/himalaya.content.json +46 -0
  35. package/templates/conference/himalaya.template.json +15 -0
  36. package/templates/conference/icon.png +0 -0
  37. package/templates/conference/platforms.json +1 -0
  38. package/templates/conference/tier5-src/_shared/agenda-stars.ts +64 -0
  39. package/templates/conference/tier5-src/_shared/app-locale.ts +61 -0
  40. package/templates/conference/tier5-src/_shared/branded-lite-hosted.ts +279 -0
  41. package/templates/conference/tier5-src/_shared/branded-load-state.ts +109 -0
  42. package/templates/conference/tier5-src/_shared/business-chat-copy.ts +40 -0
  43. package/templates/conference/tier5-src/_shared/business-chat-history.ts +51 -0
  44. package/templates/conference/tier5-src/_shared/business-chat-message-model.ts +177 -0
  45. package/templates/conference/tier5-src/_shared/business-chat-model.ts +56 -0
  46. package/templates/conference/tier5-src/_shared/business-chat-presenter.ts +576 -0
  47. package/templates/conference/tier5-src/_shared/business-chat-transport.ts +148 -0
  48. package/templates/conference/tier5-src/_shared/collection-contract.ts +229 -0
  49. package/templates/conference/tier5-src/_shared/collection-query.ts +193 -0
  50. package/templates/conference/tier5-src/_shared/collection-service.ts +400 -0
  51. package/templates/conference/tier5-src/_shared/engine-intl.ts +508 -0
  52. package/templates/conference/tier5-src/_shared/event-agenda.ts +122 -0
  53. package/templates/conference/tier5-src/_shared/event-registration.ts +86 -0
  54. package/templates/conference/tier5-src/_shared/featured-event.ts +63 -0
  55. package/templates/conference/tier5-src/_shared/himi-account.ts +164 -0
  56. package/templates/conference/tier5-src/_shared/himi-copy.ts +89 -0
  57. package/templates/conference/tier5-src/_shared/himi-events.ts +65 -0
  58. package/templates/conference/tier5-src/_shared/himi-store.ts +7 -0
  59. package/templates/conference/tier5-src/_shared/hosted-checkout.ts +70 -0
  60. package/templates/conference/tier5-src/_shared/iap-attendance-form.ts +106 -0
  61. package/templates/conference/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  62. package/templates/conference/tier5-src/_shared/iap-attendance.ts +38 -0
  63. package/templates/conference/tier5-src/_shared/iap-worker.ts +125 -0
  64. package/templates/conference/tier5-src/_shared/inbox-rooms.ts +68 -0
  65. package/templates/conference/tier5-src/_shared/local-preferences.ts +38 -0
  66. package/templates/conference/tier5-src/_shared/member-access.ts +52 -0
  67. package/templates/conference/tier5-src/_shared/member-account-routes.ts +52 -0
  68. package/templates/conference/tier5-src/_shared/member-read.ts +52 -0
  69. package/templates/conference/tier5-src/_shared/member-screen.ts +99 -0
  70. package/templates/conference/tier5-src/_shared/offset-page.ts +10 -0
  71. package/templates/conference/tier5-src/_shared/online-actions.ts +76 -0
  72. package/templates/conference/tier5-src/_shared/owner-load-error.ts +348 -0
  73. package/templates/conference/tier5-src/_shared/payment-setup.ts +6 -0
  74. package/templates/conference/tier5-src/_shared/rich-body.ts +78 -0
  75. package/templates/conference/tier5-src/_shared/rich-content-link.ts +34 -0
  76. package/templates/conference/tier5-src/_shared/sign-in-sheet.ts +18 -0
  77. package/templates/conference/tier5-src/business-chat/index.ts +724 -0
  78. package/templates/conference/tier5-src/himi-conference-agenda/index.ts +183 -0
  79. package/templates/conference/tier5-src/himi-conference-home/index.ts +389 -0
  80. package/templates/conference/tier5-src/himi-events-account/index.ts +219 -0
  81. package/templates/conference/tier5-src/himi-events-detail/index.ts +1304 -0
  82. package/templates/conference/tier5-src/himi-events-list/index.ts +124 -0
  83. package/templates/conference/tier5-src/himi-events-my-events/index.ts +225 -0
  84. package/templates/conference/tier5-src/himi-events-rsvp/index.ts +230 -0
  85. package/templates/conference/tier5-src/himi-store-account/index.ts +998 -0
  86. package/templates/conference/tokens.json +365 -0
  87. package/templates/events-meetups/dev/index.ts +152 -88
  88. package/templates/events-meetups/tier5-src/_shared/featured-event.ts +63 -0
  89. package/templates/events-meetups/tier5-src/_shared/iap-presentation.ts +5 -2
  90. package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +93 -11
  91. package/templates/gym-fitness/dev/index.ts +152 -88
  92. package/templates/gym-fitness/tier5-src/_shared/featured-event.ts +63 -0
  93. package/templates/gym-fitness/tier5-src/_shared/iap-presentation.ts +5 -2
  94. package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +93 -11
  95. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +6 -3
  96. package/templates/nonprofit-cause/dev/index.ts +152 -88
  97. package/templates/nonprofit-cause/tier5-src/_shared/featured-event.ts +63 -0
  98. package/templates/nonprofit-cause/tier5-src/_shared/iap-presentation.ts +5 -2
  99. package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +93 -11
  100. package/templates/podcast-creator/dev/index.ts +152 -88
  101. package/templates/podcast-creator/tier5-src/_shared/featured-event.ts +63 -0
  102. package/templates/podcast-creator/tier5-src/_shared/iap-presentation.ts +5 -2
  103. package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +93 -11
  104. package/templates/portfolio-creative/dev/index.ts +152 -88
  105. package/templates/portfolio-creative/tier5-src/_shared/featured-event.ts +63 -0
  106. package/templates/portfolio-creative/tier5-src/_shared/iap-presentation.ts +5 -2
  107. package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +93 -11
  108. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +6 -3
  109. package/templates/restaurant/dev/index.ts +152 -88
  110. package/templates/restaurant/tier5-src/_shared/featured-event.ts +63 -0
  111. package/templates/restaurant/tier5-src/_shared/iap-presentation.ts +5 -2
  112. package/templates/restaurant/tier5-src/himi-events-detail/index.ts +93 -11
  113. package/templates/retail-store/tier5-src/_shared/iap-presentation.ts +5 -2
  114. package/templates/retail-store/tier5-src/himi-store-product/index.ts +7 -3
  115. package/templates/yoga-studio/dev/index.ts +152 -88
  116. package/templates/yoga-studio/tier5-src/_shared/featured-event.ts +63 -0
  117. package/templates/yoga-studio/tier5-src/_shared/iap-presentation.ts +5 -2
  118. package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +93 -11
Binary file
@@ -1279,7 +1279,7 @@
1279
1279
  "descriptor": {
1280
1280
  "ScreenDescriptor": "export interface ScreenDescriptor {\n screenId: string;\n renderer: RendererKind;\n title?: string;\n /** Present when `renderer` is `sdui_intent` or `sdui_layout`. */\n payload?: Component;\n /** A component pinned ABOVE the scrolling payload (sticky tab-header / toolbar).\n * Rendered by the host outside the screen scroll, so it stays put as content\n * scrolls. Optional; absent = no sticky header. */\n stickyHeader?: Component;\n /** A component pinned BELOW the scrolling payload (sticky footer — price/confirm\n * bar, peeking bottom-sheet). Rendered outside the screen scroll by the host. */\n stickyFooter?: Component;\n /** When true, the host wraps the screen in a scroll that starts pinned to the\n * bottom and shows a floating \"jump to latest\" button whenever the user scrolls\n * up (a chat transcript). Tapping it animates back to the bottom. Absent/false =\n * a normal top-anchored scroll. Honored by the app host (Router). */\n scrollToBottom?: boolean;\n /** The chat transcript scroll policy. On a send the host pins the\n * named component near the top and reserves the space the reply grows into;\n * when the reply outgrows it the host follows the tail. A drag pauses\n * following, and only then is a jump-to-latest control shown. */\n transcriptScroll?: TranscriptScroll;\n /** The page's title for a host that shows it in its own navigation bar (iOS `himalayaEmbedTitle`, Android\n * `ProvideHimalayaEmbedTitle`): it gets the title as soon as it has the descriptor, before the worker boots, and\n * `replaces` is not drawn. Every other host ignores it, so the in-content header stays. */\n hostTitle?: HostTitle;\n /** Present when `renderer` is `webview_native_bridge` or `webview_ds`. */\n url?: string;\n capabilitiesRequired?: string[];\n schemaVersion: number;\n togglesApplied?: string[];\n /** Per-session flag/experiment assignments baked in for this request. */\n assignments?: import(\"./flags.js\").Assignment[];\n /** Per-screen top bar (trailing actions +\n * leading/style override). Fully replaces `NavigationConfig.topBarDefault`. */\n topBar?: TopBarConfig;\n /** \"\" / \"visible\" (default) | \"hidden\": hide the bottom tab bar while this screen is the\n * visible top of its tab's stack. Static; no effect in a presentation. */\n tabBarVisibility?: string;\n etag?: string;\n cacheControl?: CacheControl;\n telemetryScreenName?: string;\n bundleSri?: string;\n manifestVersion?: number;\n /**\n * Present on Tier-5 screens. The presence of this field is the tier-5\n * signal — there is no separate `tier: 5` flag.\n */\n logicBundle?: LogicBundleRef;\n /**\n * Static per-screen input injected as `globalThis.himalaya.input` before the\n * Tier-5 worker bundle evaluates — the worker reads it synchronously in `load()`\n * (e.g. `himalaya.input.id` for a detail screen, or a baked catalog like\n * `himalaya.input.cmsCollections`).\n *\n * A push merges its navigation parameters into this object on web, iOS, and Android.\n * For example, `himi.open({ screenId: \"event\", id: \"$item.id\" })` makes the id\n * available as `himalaya.input.id` in the pushed worker; static `input` remains the\n * fallback for values baked into a descriptor or a templated route. The host also\n * supplies `screenId`. See docs/tier-5-add-a-screen.md → \"Navigate to a detail screen\".\n *\n * Arbitrary JSON object; consumed by the web host (ScreenController) and the\n * native JSWorker.\n */\n input?: Record<string, unknown>;\n /**\n * Tier 3 / Tier 4 — behavior of the hosted WebView. Ignored by SDUI tiers.\n * Authored in the descriptor builder (git); served OTA verbatim.\n */\n webViewConfig?: WebViewConfig;\n}",
1281
1281
  "Component": "export interface Component {\n id: string;\n body: ComponentBody;\n modifiers?: Modifiers;\n minVersion?: number;\n}",
1282
- "LogicBundleRef": "export interface LogicBundleRef {\n url: string;\n /** \"sha256-...\" SRI string. */\n integrity: string;\n contentType?: string;\n /** SDK capability ids the bundle is permitted to import / invoke. */\n declaredCapabilities: string[];\n /** Bundle refuses to load on a binary older than this (semver). */\n minBinaryVersion?: string;\n /** Bundle's own semver. */\n bundleVersion?: string;\n /** Base64 detached publisher signature over the bundle bytes\n * (authenticity beyond SRI). Verified by a host-injected verifier when present;\n * unsigned bundles load as today. */\n signature?: string;\n /** The publisher key id a host pins, paired with `signature`. */\n keyId?: string;\n /** Ambient refresh (gap G2): the host invokes `action` (a `tier5.<svc>.<action>`\n * path) every `intervalMs` while the screen is visible — workers have no timer\n * of their own, so the host owns the cadence. */\n refresh?: { intervalMs: number; action: string };\n}",
1282
+ "LogicBundleRef": "export interface LogicBundleRef {\n url: string;\n /** \"sha256-...\" SRI string. */\n integrity: string;\n contentType?: string;\n /** SDK capability ids the bundle is permitted to import / invoke. */\n declaredCapabilities: string[];\n /** Bundle refuses to load on a binary older than this (semver). */\n minBinaryVersion?: string;\n /** Bundle's own semver. */\n bundleVersion?: string;\n /** Base64 detached publisher signature over the bundle bytes\n * (authenticity beyond SRI). Verified by a host-injected verifier when present;\n * unsigned bundles load as today. */\n signature?: string;\n /** The publisher key id a host pins, paired with `signature`. */\n keyId?: string;\n /** Ambient refresh (gap G2): the host invokes `action` (a `tier5.<svc>.<action>`\n * path) every `intervalMs` while the screen is visible — workers have no timer\n * of their own, so the host owns the cadence. */\n refresh?: { intervalMs: number; action: string };\n /** The worker's boot state, `{ serviceName: initialState }`, baked into the descriptor from the\n * bundle when the screen is served (`extractBundleServices`). A host with no live worker and no saved snapshot paints the\n * first frame against it, so the screen's own loading state shows at once — its skeleton, its\n * title, its gates closed as the worker will close them — instead of a generic loader or every\n * fail-open branch. The live worker replaces it as soon as it boots. */\n bootState?: Record<string, unknown>;\n}",
1283
1283
  "Modifiers": "export interface Modifiers {\n /** Changing non-empty token: scroll this node into view and move accessibility focus to it. */\n scrollIntoViewPath?: string;\n padding?: EdgeInsets;\n background?: TokenRef;\n cornerRadius?: number;\n /** Fixed intrinsic width (pt/dp/px). Honored by iOS (`FrameIfPresent`), Android\n * (frame) and web (`modifiers.ts`). With no `ScrollView` in the vocabulary and\n * regions clipped at `maxHeight`, `width`/`height`/`fillMaxWidth` are the main\n * sizing tools for embed/host content. */\n width?: number;\n /** Fixed intrinsic height (pt/dp/px). See `width`. */\n height?: number;\n /** Fill the available cross-axis width (keeps any fixed `height`). Mirrors\n * Compose `fillMaxWidth` / SwiftUI `.frame(maxWidth: .infinity)`. See `width`. */\n fillMaxWidth?: boolean;\n /** CAP the node's laid-out width at this many points. It CONSTRAINS, it\n * does not SET: a node narrower than the cap keeps its intrinsic width, so a\n * short chat bubble stays short while a long one stops at the cap — the\n * asymmetry `width` cannot express and `weight` cannot either (weights divide\n * the *available* space, so every child lands on the same fraction).\n * The cap covers the node's TOTAL width, padding + border included (CSS\n * `max-width` under `box-sizing: border-box`). `fillMaxWidth` grabs the axis but\n * THE CAP WINS — fill + cap is exactly `maxWidth` wide; a literal `width` larger\n * than the cap is clamped to it too. POINTS, not a fraction: a modifier is\n * resolved with no portable notion of \"the row\" on any renderer — compose a\n * percentage from a weighted sibling gap instead. `0`/absent = no cap. */\n maxWidth?: number;\n /** Flex weight along the parent stack's MAIN axis (HStack = width, VStack =\n * height). The stack measures its intrinsic (unweighted) children first, then\n * divides what is LEFT among the weighted ones in proportion to their weights:\n * two children at `1` split the leftover equally, `2` and `1` split it 2:1.\n * Absent (or <= 0) keeps the node at its intrinsic size. Use this — not\n * `fillMaxWidth` — when a node should claim the remaining space *beside* its\n * siblings; a full-bleed fill grabs the whole axis and starves them. Ignored\n * outside an HStack/VStack.\n * CAVEAT — row-sharing controls have NO intrinsic width to measure first: in an\n * HStack a `Button` and a `Toggle` are implicitly weighted, so they DIVIDE the\n * row with your weighted child instead of taking a width ahead of it —\n * `[VStack(weight:1), Button, Button]` is a three-way split, not \"the VStack gets\n * the remainder\". To opt a Button out on EVERY renderer set `fullWidth: false`\n * (an explicit flag wins in both directions; absent falls back to the style\n * default, which is \"share\" for every style but `tertiary`/`link`), or use\n * `iconOnly`. Otherwise give the actions their own row.\n * See `himi docs designing-himi-screens` §4. */\n weight?: number;\n /** RTL — pin the subtree's writing direction: `\"ltr\"` | `\"rtl\"` | `\"locale\"`\n * (inherit). The common RTL pattern is the inverse of `Text.textDirection`: pin a\n * container `ltr` (a logotype, an attachment-tile row, a composer button row)\n * inside an otherwise-RTL screen. Absent = inherit the ambient direction. #1060. */\n layoutDirection?: \"ltr\" | \"rtl\" | \"locale\";\n /** Absolute visual translation (pt/dp/px). Applied as the OUTERMOST transform so\n * it shifts the fully-styled node WITHOUT changing its layout footprint — lets a\n * ZStack place polar/absolute children (e.g. AgentOrbit). Negative allowed. */\n offsetX?: number;\n offsetY?: number;\n onTap?: Action;\n /** Double-tap gesture (e.g. Instagram double-tap-to-like). Distinct from onTap. */\n onDoubleTap?: Action;\n accessibilityLabel?: string;\n hidden?: boolean;\n /** Data-bound conditional visibility: a `\"$service:<svc>.<field>\"`\n * or `\"$item.<field>\"` sentinel resolving to a bool at render; when true the\n * subtree fully COLLAPSES (zero layout, like `hidden`), overriding the\n * literal `hidden`. */\n hiddenPath?: string;\n /** Long-press gesture modifier. */\n onLongPress?: Action;\n /** Fires once when the component first appears on screen. */\n onAppear?: Action;\n /** Scoped token overrides for the subtree. */\n theme?: ThemeOverrides;\n /** Names a token from the app's `shadows` registry. */\n shadow?: TokenRef;\n /** Names a token from the app's `gradients` registry (background fill). */\n backgroundGradient?: TokenRef;\n /** Value-driven gradient: a `$service:`/`$item.` path resolving to a gradient\n * TOKEN NAME used as the live background (e.g. weather sky day→night). */\n backgroundGradientPath?: string;\n /** Value-driven background COLOR: a `$service:`/`$item.` path resolving to a\n * color TOKEN NAME used as the live background. Honored on iOS + Android\n * (`BoundBackgroundIfPresent`); web render support is tracked in #1057. */\n backgroundColorPath?: string;\n /** Value-driven background IMAGE: a `$service:`/`$item.` path resolving to an\n * image URL used as the live background. Honored on iOS + Android; web render\n * support is tracked in #1057. */\n backgroundImagePath?: string;\n /** #1051 — MEASURE (publish): report this node's laid-out size into the renderer's\n * self-contained (worker-free) measure store under the named keys, so a SIBLING can\n * feed the number back into its own layout via a `$measure:<key>` binding. The SDUI\n * equivalent of SwiftUI `.onGeometryChange` / Compose `onGloballyPositioned`; the\n * canonical use is a pinned bottom bar whose measured height becomes a scroll view's\n * bottom inset (sticky-footer + scroll-inset, unrepresentable before — #1051). */\n onMeasure?: Measure;\n /** #1051 — bound height: a `\"$measure:<key>\"` (measure store) or\n * `\"$service:<svc>.<field>\"` / `\"$item.<field>\"` (worker/row state) sentinel resolving\n * to a NUMBER at render. Wins over the literal `height`. String path only, so a\n * binding can never blank the node (never overload the numeric `height`). */\n heightPath?: string;\n /** #1051 — bound width. See `heightPath`. Wins over the literal `width`. */\n widthPath?: string;\n /** #1051 — bound TOP inset (the header-height → top-inset idiom). A `$measure:`/\n * `$service:`/`$item.` sentinel resolving to a number; added as top padding. */\n paddingTopPath?: string;\n /** #1051 — bound BOTTOM inset (the sticky-footer-height → bottom-inset idiom). A\n * `$measure:`/`$service:`/`$item.` sentinel resolving to a number; added as bottom\n * padding so the last scroll row clears a pinned bottom bar. */\n paddingBottomPath?: string;\n /** #1053 — INLINE gradient background paint. Distinct from `backgroundGradient`\n * (which names a `gradients` registry token an embed host can't register): this\n * carries its stops/colours in the descriptor, so it works anywhere. Painted as\n * a surface (behind children), below `material`/`backgroundGradient` if those are\n * also set. */\n gradient?: Gradient;\n /** #1053 — gradient ALPHA MASK: the node shows through where the gradient is\n * opaque and fades where it's transparent (a transparent-token stop = fully\n * clear). The material-under-gradient-scrim / scroll-fade-out idiom. Mirrors iOS\n * `.mask()`, Android `BlendMode.DstIn`, web `mask-image`. */\n mask?: Gradient;\n /** Inline border/stroke. */\n border?: Border;\n /** Subtree alpha 0.0–1.0; absent = opaque. */\n opacity?: number;\n /** #433 — constrain the subtree to a width:height ratio (e.g. `1` = square,\n * `1.777` = 16:9). Width-driven: the height derives from the resolved width.\n * Lets a data-bound Grid cell / photo tile hold its shape at any width. */\n aspectRatio?: number;\n /** Names a token from the app's `motions` registry; the subtree\n * fades + slides up on first appearance. */\n appear?: TokenRef;\n /** Surface material token (flat/glass/frosted). */\n material?: TokenRef;\n /** Per-node construction-language override. */\n variant?: string;\n /** Per-node density / motion override. */\n density?: string;\n motion?: string;\n /** Motion grammar (Batch 1) — press/tap feedback style\n * (auto|none|scale|highlight|scaleHighlight|lift); timing comes from `motion`.\n * Applied only when the node is interactive. Unknown degrades to `auto`. */\n pressFeedback?: string;\n /** Motion grammar (Batch 1) — press-coupled haptic\n * (none|selection|light|medium|heavy|success|warning|error); fires with onTap.\n * Default none (opt-in). Web is a no-op. */\n haptic?: string;\n /** Motion grammar (Batch 1) — animate this container's size changes instead of\n * snapping (iOS `.animation(value:)`, Android `animateContentSize`, web height\n * transition). Curve from the active `motion` personality. */\n animateContentSize?: boolean;\n /** Motion grammar (Batch 1) — enter/exit transition; supersedes `appear` when\n * both are present. */\n transition?: Transition;\n /** Motion grammar (Batch 2, scroll-driven) — defer the `transition` enter until\n * the node first crosses into the scroll viewport (reveal-on-scroll). Gated by\n * reduced motion (shown immediately when reduced). */\n revealOnScroll?: boolean;\n /** Motion grammar (Batch 2, scroll-driven) — parallax factor: the node drifts\n * vertically at this fraction of the scroll delta as it moves through the\n * viewport. Gated by reduced motion. Generalizes CollapsingHeader parallaxFactor. */\n parallax?: number;\n /** Motion grammar (Batch 4, rich visual) — when a backgroundGradient is present,\n * continuously drift/rotate it (animated gradient). Gated by reduced motion. */\n animatedGradient?: boolean;\n /** Motion grammar (Batch 3, hero/nav) — shared-element key: a matching\n * transitionId on the source + destination screen morphs that element across\n * navigation (web View Transitions / iOS matchedTransitionSource / Android\n * SharedTransitionLayout). Gated by reduced motion. */\n transitionId?: string;\n /** Motion grammar (Batch 4, rich visual) — render the backgroundGradient as a\n * mesh (overlapping multi-point blend) rather than a linear sweep; combine with\n * animatedGradient to drift it. */\n meshGradient?: boolean;\n /** Motion grammar (Batch 4, celebration) — burst a one-shot confetti overlay\n * within the node on appear. Gated by reduced motion. */\n confetti?: boolean;\n /** Motion grammar (Batch 2, scroll-driven) — pin this node to the top of its\n * scroll container (sticky section header). Functional positioning; not gated\n * by reduced motion. */\n sticky?: boolean;\n /** Motion grammar (Batch 2, scroll-driven) — turn this thin node into a\n * reading-progress bar that fills left→right with scroll (scaleX). web reads\n * window scroll; native reads the host scroll fraction. Functional. */\n scrollProgress?: boolean;\n /** Motion grammar (Batch 4, rich vector) — a named built-in vector animation\n * (\"loader\" | \"success\" | \"pulse\"), dependency-free. Gated by reduced motion.\n * Arbitrary Lottie/Rive JSON is the lib-backed superset follow-up. */\n vectorAnim?: string;\n /** Motion grammar (Batch 1, choreography) — delay this node's ENTER transition\n * by N ms so a screen can SEQUENCE its entrance beyond list stagger (\"title\n * fades, subtitle slides in 100ms later\"). Adds to any list `staggerMs`. Gated\n * by reduced motion. 0/absent = no extra delay. */\n enterDelayMs?: number;\n /** Motion grammar (Phase-3, per-node MotionSpec) — overrides the PRESS-feedback\n * curve with a `motions`-registry token, mirroring `Transition.motion` for the\n * enter curve. Absent → press uses the global `motion` personality. */\n pressMotion?: TokenRef;\n /** Motion grammar (Phase-3, gesture-driven) — finger-tracked drag-to-dismiss; past\n * threshold along `direction` it animates off and fires `action`, else springs back. */\n swipeDismiss?: SwipeDismiss;\n /** Motion grammar (Phase-4, reduced-motion) — per-node escape from the reduced-motion\n * gate. Default true (respect). false = \"must move anyway\" (transition/press animate\n * even when reduced motion is on). */\n respectReducedMotion?: boolean;\n /** #1052 — uniform scale (1 = no change). */\n scale?: number;\n /** #1052 — rotation in DEGREES. */\n rotation?: number;\n /** #1052 — stacking order within a ZStack/overlay. */\n zIndex?: number;\n /** #1052 — gaussian blur radius (pt/dp/px). */\n blur?: number;\n /** #1052 — `false` = decorative (ignores taps, unlike `hidden` which stays hit-testable);\n * `true` = force hit-testable (a clear tap target). */\n hitTestable?: boolean;\n /** #1052 — explicit drop shadow (colour + radius + offset), for upward / multi-layer\n * shadows the `shadow` token can't express. */\n boxShadow?: Shadow;\n /** The role assistive technology should announce. Absent = the\n * renderer INFERS it from the component type, so an author never restates the\n * obvious. `\"decorative\"` is node-local: the node itself stops being an\n * accessibility element (no role, not a stop) while its children stay\n * traversable — the ARIA `role=\"presentation\"` semantic. To remove the subtree\n * too, use `accessibilityHidden`. */\n accessibilityRole?: AccessibilityRole;\n /** The supplementary \"what happens if I act\" phrase\n * (iOS `accessibilityHint`, Android `onClickLabel`, ARIA `aria-describedby`).\n * Never a substitute for `accessibilityLabel`: AT may not speak a hint at all. */\n accessibilityHint?: string;\n /** Remove this node AND its subtree from the accessibility tree.\n * Distinct from `hidden` (which removes it visually too) and from the\n * `\"decorative\"` role (node-local; children stay reachable). */\n accessibilityHidden?: boolean;\n /** Mark the node as a heading at level 1–6, for rotor / heading\n * navigation. Implies the `\"heading\"` role when `accessibilityRole` is absent.\n * The LEVEL reaches iOS and web only: Android (Compose `heading()`) and React Native\n * (`accessibilityRole: \"header\"`) have no level primitive and mark a plain heading. */\n headingLevel?: number;\n /** An explicit SPOKEN value where the visual and spoken values\n * differ (a rating \"3 of 5\", a gauge \"72 percent\"). Where the value is derivable\n * from a prop the renderer computes it and this override is unnecessary. */\n accessibilityValue?: string;\n /** Additive state that a single role cannot carry. A node may\n * hold several. */\n accessibilityTraits?: AccessibilityTrait[];\n /** Explicit traversal index within the nearest focus group. Absent ⇒\n * the arm's visual / DOM order. The lower index is reached FIRST, which is why iOS\n * (whose `accessibilitySortPriority` is descending) negates it. */\n focusOrder?: number;\n /** This node's subtree is ONE traversal scope: children are ordered\n * relative to each other, then the group takes its parent's slot (iOS\n * `shouldGroupAccessibilityChildren`, Android `isTraversalGroup`, ARIA grouping). */\n focusGroup?: boolean;\n /** AT / keyboard focus lands here when the screen or a newly presented\n * modal appears. At most one per focus scope. */\n initialFocus?: boolean;\n /** A general live-region announcement, on any node and any transition.\n * The generalization of `FragmentSlotCase.accessibilityAnnouncement`, which only ever\n * fired on a fragment-slot case swap. */\n announce?: LiveRegion;\n /** Clip ANY node (content + surface) to a shape:\n * \"rectangle\" | \"roundedRectangle\" | \"capsule\" | \"circle\" | \"ellipse\". Unknown/empty =\n * no shape clip (`cornerRadius` keeps its meaning). When set it replaces the\n * corner-radius-only clip; a \"roundedRectangle\" uses `clipCornerRadii`, else `cornerRadius`. */\n clipShape?: string;\n /** Uneven corner radii for `clipShape: \"roundedRectangle\"`. */\n clipCornerRadii?: CornerRadii;\n /** A recurring, finite, transform-only motion on a decorative node: a\n * living character's idle `hop`, a `blink`, a working `breathe`. Never changes the\n * node's layout footprint. Stopped by reduced motion unless `respectReducedMotion`\n * is false. */\n ambientMotion?: AmbientMotion;\n /** amendment — BINDABLE TRANSFORMS. Each is a `\"$service:<svc>.<field>\"` /\n * `\"$item.<field>\"` sentinel resolving to a NUMBER at render. A bound value overrides its\n * static sibling (`scale`, `rotation`, `offsetX`, `offsetY`, `opacity`, `cornerRadius`); an\n * unresolved or non-numeric value falls back to that sibling (or identity). A change animates\n * with the node's `motion` token; reduced motion jumps. Render-only: transforms never affect\n * layout, the origin is the centre, and hit-testing follows the transformed frame. `$env:` is\n * rejected. Wire only: no renderer draws these yet, and a renderer that does not draw one ignores it. */\n scalePath?: string;\n /** Bound `rotation`, in DEGREES. See `scalePath`. */\n rotationPath?: string;\n /** Bound `offsetX`, in points. See `scalePath`. */\n offsetXPath?: string;\n /** Bound `offsetY`, in points. See `scalePath`. */\n offsetYPath?: string;\n /** Bound `opacity`, 0–1 (clamped). See `scalePath`. */\n opacityPath?: string;\n /** Bound `cornerRadius`, in points. See `scalePath`. */\n cornerRadiusPath?: string;\n /** amendment — a declarative scroll offset → transform/opacity mapping,\n * evaluated natively every frame (no worker round-trip). Wire only: no renderer draws it yet. */\n scrollLinked?: ScrollLinked;\n}",
1284
1284
  "TokenRef": "export interface TokenRef {\n token: TokenName;\n}",
1285
1285
  "Action": "export interface Action {\n actionId: string;\n /** : applied before the worker action; its returned legacy _nav is ignored. */\n nav?: ActionNavigation;\n /** Backwards-compatible string-only params. Prefer `args` for typed payloads. */\n params?: Record<string, string>;\n /** Typed action args; nested objects/arrays preserved end-to-end. With `presentation: \"sheet\"`,\n * `args.detents` (fractions of the height in (0, 1], e.g. `[0.5, 1]`) sizes the presented\n * sheet; absent ⇒ the default sheet. Applies on iOS, Android and web; a macOS (and tvOS)\n * screen sheet is a window-modal panel sized to its content, so there it is accepted and\n * ignored, as for the BottomSheet component. */\n args?: Record<string, Value>;\n /** Navigation hint for the router; ignored for non-nav actions. */\n presentation?: Presentation;\n}",
@@ -2503,6 +2503,12 @@ export interface LogicBundleRef {
2503
2503
  * path) every `intervalMs` while the screen is visible — workers have no timer
2504
2504
  * of their own, so the host owns the cadence. */
2505
2505
  refresh?: { intervalMs: number; action: string };
2506
+ /** The worker's boot state, `{ serviceName: initialState }`, baked into the descriptor from the
2507
+ * bundle when the screen is served (`extractBundleServices`). A host with no live worker and no saved snapshot paints the
2508
+ * first frame against it, so the screen's own loading state shows at once — its skeleton, its
2509
+ * title, its gates closed as the worker will close them — instead of a generic loader or every
2510
+ * fail-open branch. The live worker replaces it as soon as it boots. */
2511
+ bootState?: Record<string, unknown>;
2506
2512
  }
2507
2513
  ```
2508
2514
 
@@ -470,6 +470,24 @@ the user sees, and on a slow network it is the whole screen.
470
470
  (`loadingGraceMs`) and holds a painted skeleton long enough not to flicker (`loadingFloorMs`).
471
471
  `ActivityIndicator` suits a wait whose layout is not known in advance, or a short local wait
472
472
  such as a pull-to-refresh or a button's own pending state.
473
+ - **The first frame is the worker's boot state.** A host paints a Tier-5 screen before its worker
474
+ has booted, against the boot state baked into the served descriptor
475
+ (`logicBundle.bootState`: each `defineService` initial state). So the initial state IS the
476
+ loading state: the skeleton shows, and every error, empty, guard and hint flag is closed
477
+ (`notErrored: true`, the empty gate `true`, a hint `""`). Keep the title and the top-bar actions
478
+ in the descriptor, not in worker state, so the header is final on the first frame. Show no text
479
+ placeholder ("Loading…", "Refreshing…") and no element that pushes the layout when it goes.
480
+ Initial state that reads the clock or `Math.random` is not baked, and a screen that binds it
481
+ waits for the worker behind the generic loader. Initial state that reads `himalaya.input` or
482
+ `himalaya.storage` is baked as a first launch sees it: the host skips the boot state when the
483
+ visit adds input the bake did not see (a hosted site) or the device has saved a value under a
484
+ storage key it read. Read such values in `load()` when the first frame must not depend on them. Declare
485
+ every flag a `hiddenPath` gates in the initial state: a screen that gates a block on a key set
486
+ only in `load()` is not baked either. A screen opened with navigation arguments other than `id`
487
+ paints the generic loader first, because its initial state can depend on them.
488
+ - **A check that is still resolving is loading, not a refusal.** A price, an entitlement or a
489
+ checkout route that has no answer yet shows no "not available" message and no disabled reason:
490
+ keep the control in its loading or disabled state until the answer is final.
473
491
  - **Loading is its own state — not empty, not error.** Do not show the empty state while the data
474
492
  is still loading, and do not leave the skeleton up after a load has failed. Each state has its own
475
493
  node, driven by its own worker flag (see `himi docs recipe-four-state`).
@@ -8,7 +8,7 @@ Himalaya provides connectivity monitoring, an accessible shell bar, policy-contr
8
8
  | --- | --- |
9
9
  | Offline with an eligible snapshot | Keep the content, including a successfully loaded empty result. Show “You’re offline. Showing previously loaded content.” |
10
10
  | Offline without an eligible snapshot | Show “This content isn’t available offline. Connect to load it.” Never infer an empty result from a failed request. |
11
- | Reconnected | Keep the content while showing “Refreshing…”. Refresh the visible read participant in place. |
11
+ | Reconnected | Keep the content and refresh the visible read participant in place. The shell shows no text while it refreshes. |
12
12
  | Refresh failed | Keep the snapshot and show “Couldn’t refresh. Content may be outdated.” with Retry. Without a snapshot, show an unavailable state with Retry. |
13
13
  | Refresh succeeded | Apply the server result and clear the stale/error indication. Connectivity alone never means content is current. |
14
14
 
@@ -271,6 +271,23 @@ only when the screen shows the user something different for it.
271
271
  - **Initialize `status: "loading"` and kick `svc.load()` at the bottom of the
272
272
  worker file** — a screen that boots `ready`+empty flashes the empty state before
273
273
  data arrives.
274
+ - **The initial state is the first frame.** It is baked into the served
275
+ descriptor (`logicBundle.bootState`), and the host paints the screen against it
276
+ before the worker boots. Close every error and empty gate in it
277
+ (`hideOfflineError: true`, `notEmpty: true`, …) and keep the skeleton open
278
+ (`hideLoading: false`). Do
279
+ not read the clock or `Math.random` in it: a screen that binds such a value is
280
+ not baked, and shows the generic loader first. A value read from
281
+ `himalaya.input` or `himalaya.storage` is baked as a first launch sees it, and
282
+ the host skips the boot state when the device has saved a value under a key it
283
+ read. Declare every gated flag in the initial state too: a gate on a
284
+ key that only `load()` sets also keeps the screen unbaked.
285
+ - **A gate with no value yet shows its node.** Before any state exists, a
286
+ `hiddenPath` that has not resolved is not hidden. Add `hidden: true` beside a
287
+ `$service:` `hiddenPath` on an error, empty or guard node to keep it hidden until
288
+ the worker publishes the flag. (A list row's `$item.` gate is resolved with the
289
+ row, so it needs no fallback; do not add `hidden: true` there.) Older app binaries read `hidden: true` as always hidden, so
290
+ use it only in content that requires a runtime with this behaviour.
274
291
  - **Keep failed-load rows.** On a *refresh* failure, keep the old rows and show
275
292
  the `Banner` — never blank to a dead screen (set `status` and `errorKind`, keep
276
293
  `items`). `load-more` is the same: a broken page 2 must not blank page 1 — and
@@ -14,6 +14,27 @@ areas, always in the same order, so you can skim for the one you care about.
14
14
 
15
15
  ---
16
16
 
17
+ ## 2026-11-09
18
+
19
+ ### Logic, data & SDKs
20
+
21
+ - **A Tier-5 screen paints its own loading state on its first frame.** The served descriptor now
22
+ carries the worker's initial state (`logicBundle.bootState`), and a host with no live worker and no
23
+ saved state paints the screen against it: its title, top bar and skeleton show at once, and its
24
+ error, empty and hint blocks stay closed as the worker will close them. So write the initial state
25
+ as the loading state: skeleton open, every error and empty flag closed. Initial state that reads
26
+ the clock, `Math.random` or the opened item's `id` is not baked, nor is a screen that gates a block
27
+ on a flag its initial state does not declare; a screen opened with navigation arguments other
28
+ than `id` paints the old way. A block with `hidden: true` and a
29
+ `hiddenPath` now stays hidden until the path has a value. Needs updated iOS, macOS and Android
30
+ binaries or updated web-host assets; older hosts ignore the field. (#5451)
31
+
32
+ ### Branded Lite & Owner Lite
33
+
34
+ - First visits to Shop, a product and Events no longer flash "Loading…", "Something did not load",
35
+ the empty state, "Purchasing is not available yet." or a "?" icon in the product footer, and a
36
+ background refresh no longer shows "Refreshing…" above the header. (#5451)
37
+
17
38
  ## 2026-11-08
18
39
 
19
40
  ### Getting started & the CLI
@@ -1548,7 +1548,7 @@
1548
1548
  "name": "LogicBundleRef",
1549
1549
  "kind": "interface",
1550
1550
  "jsdoc": "/**\n * Tier-5 logic bundle reference. When present on a `ScreenDescriptor`, the shell\n * instantiates a per-screen JS worker, fetches the bundle from `url`, verifies\n * it against `integrity` (sha256 SRI), and binds the SDUI renderer to\n * worker-defined services. The bundle may invoke only the `declaredCapabilities`\n * listed here.\n */",
1551
- "decl": "export interface LogicBundleRef {\n url: string;\n /** \"sha256-...\" SRI string. */\n integrity: string;\n contentType?: string;\n /** SDK capability ids the bundle is permitted to import / invoke. */\n declaredCapabilities: string[];\n /** Bundle refuses to load on a binary older than this (semver). */\n minBinaryVersion?: string;\n /** Bundle's own semver. */\n bundleVersion?: string;\n /** Base64 detached publisher signature over the bundle bytes\n * (authenticity beyond SRI). Verified by a host-injected verifier when present;\n * unsigned bundles load as today. */\n signature?: string;\n /** The publisher key id a host pins, paired with `signature`. */\n keyId?: string;\n /** Ambient refresh (gap G2): the host invokes `action` (a `tier5.<svc>.<action>`\n * path) every `intervalMs` while the screen is visible — workers have no timer\n * of their own, so the host owns the cadence. */\n refresh?: { intervalMs: number; action: string };\n}",
1551
+ "decl": "export interface LogicBundleRef {\n url: string;\n /** \"sha256-...\" SRI string. */\n integrity: string;\n contentType?: string;\n /** SDK capability ids the bundle is permitted to import / invoke. */\n declaredCapabilities: string[];\n /** Bundle refuses to load on a binary older than this (semver). */\n minBinaryVersion?: string;\n /** Bundle's own semver. */\n bundleVersion?: string;\n /** Base64 detached publisher signature over the bundle bytes\n * (authenticity beyond SRI). Verified by a host-injected verifier when present;\n * unsigned bundles load as today. */\n signature?: string;\n /** The publisher key id a host pins, paired with `signature`. */\n keyId?: string;\n /** Ambient refresh (gap G2): the host invokes `action` (a `tier5.<svc>.<action>`\n * path) every `intervalMs` while the screen is visible — workers have no timer\n * of their own, so the host owns the cadence. */\n refresh?: { intervalMs: number; action: string };\n /** The worker's boot state, `{ serviceName: initialState }`, baked into the descriptor from the\n * bundle when the screen is served (`extractBundleServices`). A host with no live worker and no saved snapshot paints the\n * first frame against it, so the screen's own loading state shows at once — its skeleton, its\n * title, its gates closed as the worker will close them — instead of a generic loader or every\n * fail-open branch. The live worker replaces it as soon as it boots. */\n bootState?: Record<string, unknown>;\n}",
1552
1552
  "verificationChecked": true
1553
1553
  },
1554
1554
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1642.0",
3
+ "version": "0.1644.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -72,5 +72,5 @@
72
72
  "artifactId": "himalaya-cli"
73
73
  }
74
74
  },
75
- "falconPackageHash": "26b70f3c91e83f2a063539fb44536594804d3af047f6b39d8f60ff24"
75
+ "falconPackageHash": "b07b639cb7062785bc566d7b5a4ff69e7df3278cc8d478573e39e981"
76
76
  }
Binary file
@@ -11,7 +11,9 @@ export function withIapPresentation<S extends object>(options: {
11
11
  onCreate?(commerce: IapCommerce): void;
12
12
  onContent?(state: S): void;
13
13
  items(state: S): IapCatalogItem[];
14
- present(state: S, price: (id: string, commercePrice?: string) => string, allowed: (id: string) => boolean, appleIapOrResolving: (id: string) => boolean): S;
14
+ /** `resolving` is true while the checkout guard has no answer yet (a cold boot, a refresh): a
15
+ * screen reads it as loading, never as "not allowed". */
16
+ present(state: S, price: (id: string, commercePrice?: string) => string, allowed: (id: string) => boolean, appleIapOrResolving: (id: string) => boolean, resolving: (id: string) => boolean): S;
15
17
  contentActions: string[];
16
18
  /** Defaults to load/refresh/retry; mutations can explicitly request fresh mapping. */
17
19
  forcePriceRefreshActions?: string[];
@@ -74,11 +76,12 @@ export function withIapPresentation<S extends object>(options: {
74
76
  return view.route === "disabled" || view.route === "regular" ? commercePrice ?? item.commerceDisplayPrice ?? "" : iapPriceFields(view, iapPriceCopy(options.prefix)).priceText;
75
77
  };
76
78
  const allowed = (id: string) => commerce.pricing.checkoutGuard({ kind: "storesProduct", id }).allowed;
79
+ const resolving = (id: string) => commerce.pricing.checkoutGuard({ kind: "storesProduct", id }).route === "resolving";
77
80
  const appleIapOrResolving = (id: string) => ["appleIap", "resolving", "unavailable"].includes(presentationView(id).route);
78
81
  // Re-evaluate the cadence first. A checkout can enter/leave due work while a prior
79
82
  // projection is waiting to retry; a fresh directive supersedes the retained one.
80
83
  const poll = commerce.pollDirective(`${name}.iapPoll`) ?? retainedPoll;
81
- return { ...options.present(state, price, allowed, appleIapOrResolving), ...(poll ? { _poll: poll } : {}) };
84
+ return { ...options.present(state, price, allowed, appleIapOrResolving, resolving), ...(poll ? { _poll: poll } : {}) };
82
85
  };
83
86
  const mergeConcurrent = (before: S, next: S, current: S): S => {
84
87
  if (current === before) return next;
@@ -481,16 +481,19 @@ const defineService = withIapPresentation<S>({
481
481
  onCreate: commerce => { productPricing = commerce; }, prefix: "product",
482
482
  transientKeys: ["optionValidationTarget", "optionValidationRequest", "opt1ScrollRequest", "opt2ScrollRequest", "opt3ScrollRequest", "galleryIndex", "price", "optionsIncomplete", "cartHint", "cartHidden", "buyHidden", "buyLabel", "buyDisabled", "buyNote", "purchasedNote", "addedSheetPresented", "shareHint"], contentActions: ["load", "paintCached"], concurrentPublishActions: ["buy"],
483
483
  items: state => inputId() ? [{ reference: { kind: "storesProduct", id: inputId() }, commerceDisplayPrice: state.price }] : [],
484
- present: (state, price, allowed) => {
484
+ present: (state, price, allowed, _appleIapOrResolving, resolving) => {
485
485
  const purchase = applePurchase(state);
486
486
  const unavailable = iapPriceCopy("product").purchaseUnavailable;
487
- const blocked = lastProduct?.productType?.toLowerCase() === "digital" || (!state.optionsUnknown && !allowed(inputId()));
487
+ // A guard still resolving is loading, not a refusal (the core worker's rule, #5451): no
488
+ // "Purchasing is not available yet." until a final route blocks the purchase.
489
+ const pending = !state.optionsUnknown && resolving(inputId());
490
+ const blocked = lastProduct?.productType?.toLowerCase() === "digital" || (!state.optionsUnknown && !pending && !allowed(inputId()));
488
491
  const cartHint = state.cartHint === offlineWriteMessage ? state.cartHint
489
492
  : !purchase.appleRoute && blocked ? unavailable : state.cartHint === unavailable ? "" : state.cartHint;
490
493
  const productState = derive(state);
491
494
  return {
492
495
  ...state, price: price(inputId()), ...(purchase.appleRoute ? { wasPrice: "", wasPriceEmpty: false, notOnSale: true } : {}), optionsIncomplete: productState.optionsIncomplete || !allowed(inputId()) || lastProduct?.productType?.toLowerCase() === "digital",
493
- cartHint, noCartHint: !cartHint || state.added, addDisabled: productState.addDisabled || blocked,
496
+ cartHint, noCartHint: !cartHint || state.added, addDisabled: productState.addDisabled || blocked || pending,
494
497
  cartHidden: purchase.appleRoute,
495
498
  buyHidden: !purchase.appleRoute || purchase.accessReady, buyLabel: purchase.buyLabel, buyDisabled: purchase.buyDisabled,
496
499
  buyNote: state.buyNote === offlineWriteMessage ? state.buyNote : purchase.buyNote,
@@ -64350,6 +64350,7 @@ const SCREENS = runtimeSetting({
64350
64350
  "type": "HStack",
64351
64351
  "props": {
64352
64352
  "spacing": 10,
64353
+ "alignment": "center",
64353
64354
  "children": [
64354
64355
  {
64355
64356
  "id": "",
@@ -64363,7 +64364,8 @@ const SCREENS = runtimeSetting({
64363
64364
  }
64364
64365
  },
64365
64366
  "modifiers": {
64366
- "accessibilityRole": "decorative"
64367
+ "accessibilityRole": "decorative",
64368
+ "hiddenPath": "$service:himiMyEvents.signInRequired"
64367
64369
  }
64368
64370
  },
64369
64371
  {
@@ -64375,6 +64377,39 @@ const SCREENS = runtimeSetting({
64375
64377
  "text": "Something did not load.",
64376
64378
  "style": "bodyEmphasis"
64377
64379
  }
64380
+ },
64381
+ "modifiers": {
64382
+ "hiddenPath": "$service:himiMyEvents.signInRequired"
64383
+ }
64384
+ },
64385
+ {
64386
+ "id": "",
64387
+ "body": {
64388
+ "package": "himalaya",
64389
+ "type": "Icon",
64390
+ "props": {
64391
+ "name": "person",
64392
+ "size": 18,
64393
+ "tint": "textSecondary"
64394
+ }
64395
+ },
64396
+ "modifiers": {
64397
+ "accessibilityRole": "decorative",
64398
+ "hiddenPath": "$service:himiMyEvents.noSignIn"
64399
+ }
64400
+ },
64401
+ {
64402
+ "id": "",
64403
+ "body": {
64404
+ "package": "himalaya",
64405
+ "type": "Text",
64406
+ "props": {
64407
+ "text": "Sign in to see your events.",
64408
+ "style": "bodyEmphasis"
64409
+ }
64410
+ },
64411
+ "modifiers": {
64412
+ "hiddenPath": "$service:himiMyEvents.noSignIn"
64378
64413
  }
64379
64414
  }
64380
64415
  ]
@@ -104801,12 +104836,19 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
104801
104836
  }
104802
104837
  },
104803
104838
  {
104804
- "id": "",
104839
+ "id": "himi_event.full_schedule",
104805
104840
  "body": {
104806
104841
  "package": "himalaya",
104807
104842
  "type": "DisclosureGroup",
104808
104843
  "props": {
104809
104844
  "title": "See Full Schedule",
104845
+ "expandedPath": "$service:himiEventDetail.fullScheduleOpen",
104846
+ "onToggle": {
104847
+ "actionId": "tier5.himiEventDetail.toggleDisclosure",
104848
+ "params": {
104849
+ "id": "fullSchedule"
104850
+ }
104851
+ },
104810
104852
  "content": [
104811
104853
  {
104812
104854
  "id": "",
@@ -104992,12 +105034,19 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
104992
105034
  }
104993
105035
  },
104994
105036
  {
104995
- "id": "",
105037
+ "id": "himi_event.all_dates",
104996
105038
  "body": {
104997
105039
  "package": "himalaya",
104998
105040
  "type": "DisclosureGroup",
104999
105041
  "props": {
105000
105042
  "title": "See All Dates",
105043
+ "expandedPath": "$service:himiEventDetail.allDatesOpen",
105044
+ "onToggle": {
105045
+ "actionId": "tier5.himiEventDetail.toggleDisclosure",
105046
+ "params": {
105047
+ "id": "allDates"
105048
+ }
105049
+ },
105001
105050
  "content": [
105002
105051
  {
105003
105052
  "id": "",
@@ -105093,6 +105142,13 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
105093
105142
  "type": "DisclosureGroup",
105094
105143
  "props": {
105095
105144
  "title": "Policies",
105145
+ "expandedPath": "$service:himiEventDetail.policiesOpen",
105146
+ "onToggle": {
105147
+ "actionId": "tier5.himiEventDetail.toggleDisclosure",
105148
+ "params": {
105149
+ "id": "policies"
105150
+ }
105151
+ },
105096
105152
  "content": [
105097
105153
  {
105098
105154
  "id": "",
@@ -105241,8 +105297,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
105241
105297
  "props": {
105242
105298
  "presentedPath": "$service:himiEventDetail.ticketSheetOpen",
105243
105299
  "detents": [
105244
- 0.48,
105245
- 0.9
105300
+ 0.62
105246
105301
  ],
105247
105302
  "showGrabber": true,
105248
105303
  "dismissible": true,
@@ -105312,6 +105367,89 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
105312
105367
  }
105313
105368
  }
105314
105369
  },
105370
+ {
105371
+ "id": "himi_event.ticket_summary",
105372
+ "body": {
105373
+ "package": "himalaya",
105374
+ "type": "VStack",
105375
+ "props": {
105376
+ "spacing": 8,
105377
+ "children": [
105378
+ {
105379
+ "id": "",
105380
+ "body": {
105381
+ "package": "himalaya",
105382
+ "type": "Text",
105383
+ "props": {
105384
+ "text": "$service:himiEventDetail.ticketCountLabel",
105385
+ "style": "caption",
105386
+ "color": "textSecondary"
105387
+ }
105388
+ }
105389
+ },
105390
+ {
105391
+ "id": "",
105392
+ "body": {
105393
+ "package": "himalaya",
105394
+ "type": "HStack",
105395
+ "props": {
105396
+ "spacing": 12,
105397
+ "alignment": "center",
105398
+ "children": [
105399
+ {
105400
+ "id": "",
105401
+ "body": {
105402
+ "package": "himalaya",
105403
+ "type": "Text",
105404
+ "props": {
105405
+ "text": "$service:himiEventDetail.ticketTotal",
105406
+ "style": "title3",
105407
+ "monospacedDigits": true
105408
+ }
105409
+ }
105410
+ },
105411
+ {
105412
+ "id": "",
105413
+ "body": {
105414
+ "package": "himalaya",
105415
+ "type": "Spacer",
105416
+ "props": {}
105417
+ }
105418
+ },
105419
+ {
105420
+ "id": "himi_event.checkout",
105421
+ "body": {
105422
+ "package": "himalaya",
105423
+ "type": "Button",
105424
+ "props": {
105425
+ "title": "Checkout",
105426
+ "style": "primary",
105427
+ "disabledPath": "$service:himiEventDetail.checkoutDisabled",
105428
+ "action": {
105429
+ "actionId": "tier5.himiEventDetail.checkout"
105430
+ }
105431
+ }
105432
+ }
105433
+ }
105434
+ ]
105435
+ }
105436
+ }
105437
+ },
105438
+ {
105439
+ "id": "",
105440
+ "body": {
105441
+ "package": "himalaya",
105442
+ "type": "Divider",
105443
+ "props": {}
105444
+ }
105445
+ }
105446
+ ]
105447
+ }
105448
+ },
105449
+ "modifiers": {
105450
+ "hiddenPath": "$service:himiEventDetail.regularTicketsHidden"
105451
+ }
105452
+ },
105315
105453
  {
105316
105454
  "id": "",
105317
105455
  "body": {
@@ -105411,12 +105549,20 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
105411
105549
  }
105412
105550
  },
105413
105551
  {
105414
- "id": "",
105552
+ "id": "himi_event.ticket_terms",
105415
105553
  "body": {
105416
105554
  "package": "himalaya",
105417
105555
  "type": "DisclosureGroup",
105418
105556
  "props": {
105419
105557
  "title": "Ticket terms",
105558
+ "expandedPath": "$item.termsOpen",
105559
+ "onToggle": {
105560
+ "actionId": "tier5.himiEventDetail.toggleDisclosure",
105561
+ "params": {
105562
+ "id": "terms",
105563
+ "tier": "$item.id"
105564
+ }
105565
+ },
105420
105566
  "content": [
105421
105567
  {
105422
105568
  "id": "",
@@ -105931,88 +106077,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
105931
106077
  "modifiers": {
105932
106078
  "hiddenPath": "$service:himiEventDetail.iapBuyHidden"
105933
106079
  }
105934
- },
105935
- {
105936
- "id": "",
105937
- "body": {
105938
- "package": "himalaya",
105939
- "type": "VStack",
105940
- "props": {
105941
- "spacing": 8,
105942
- "children": [
105943
- {
105944
- "id": "",
105945
- "body": {
105946
- "package": "himalaya",
105947
- "type": "Divider",
105948
- "props": {}
105949
- }
105950
- },
105951
- {
105952
- "id": "",
105953
- "body": {
105954
- "package": "himalaya",
105955
- "type": "Text",
105956
- "props": {
105957
- "text": "$service:himiEventDetail.ticketCountLabel",
105958
- "style": "caption",
105959
- "color": "textSecondary"
105960
- }
105961
- }
105962
- },
105963
- {
105964
- "id": "",
105965
- "body": {
105966
- "package": "himalaya",
105967
- "type": "HStack",
105968
- "props": {
105969
- "spacing": 12,
105970
- "children": [
105971
- {
105972
- "id": "",
105973
- "body": {
105974
- "package": "himalaya",
105975
- "type": "Text",
105976
- "props": {
105977
- "text": "$service:himiEventDetail.ticketTotal",
105978
- "style": "title3",
105979
- "monospacedDigits": true
105980
- }
105981
- }
105982
- },
105983
- {
105984
- "id": "",
105985
- "body": {
105986
- "package": "himalaya",
105987
- "type": "Spacer",
105988
- "props": {}
105989
- }
105990
- },
105991
- {
105992
- "id": "btn_tier5_himieventdetail_checkout",
105993
- "body": {
105994
- "package": "himalaya",
105995
- "type": "Button",
105996
- "props": {
105997
- "title": "Checkout",
105998
- "style": "primary",
105999
- "disabledPath": "$service:himiEventDetail.checkoutDisabled",
106000
- "action": {
106001
- "actionId": "tier5.himiEventDetail.checkout"
106002
- }
106003
- }
106004
- }
106005
- }
106006
- ]
106007
- }
106008
- }
106009
- }
106010
- ]
106011
- }
106012
- },
106013
- "modifiers": {
106014
- "hiddenPath": "$service:himiEventDetail.regularTicketsHidden"
106015
- }
106016
106080
  }
106017
106081
  ]
106018
106082
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$source": "en",
3
- "$generated": "2026-11-10T10:43:25.380Z",
3
+ "$generated": "2026-11-10T16:25:29.005Z",
4
4
  "messages": {
5
5
  "h_042c862e4467": {
6
6
  "source": "Try again",