@wix/himalaya-cli 0.1646.0 → 0.1648.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 (155) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -1
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +6 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/blog-v3/src/extensions.d.ts +21 -3
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/media/src/rendition.d.ts +6 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +5 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +1 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +4 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +1 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-blog.mjs +8 -3
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-events.mjs +4 -0
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-media.mjs +22 -4
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +5 -0
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-rich-content.mjs +4 -0
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores-collections.mjs +4 -0
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +4 -0
  17. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-video.mjs +4 -0
  18. package/dist/browser-plane/assets.json +5 -5
  19. package/dist/browser-plane/preview-deferred/{155f61519885c85d61a39fa595197071a3ca07680da56055ccb1dcff2e709cd1.bin → 4ef4d326496b4d7809746936207067b4c921f5db9878ecc7030aa3a9e4d2aaeb.bin} +1 -1
  20. package/dist/browser-plane/sw.js +5 -5
  21. package/dist/cli.mjs +4100 -3355
  22. package/dist/preview-assets.generated.bin +0 -0
  23. package/guides/component-reference.json +1 -1
  24. package/guides/component-reference.md +2 -0
  25. package/guides/designing-himi-screens.md +4 -0
  26. package/guides/himi-skill.md +6 -0
  27. package/guides/image-preview.md +92 -0
  28. package/guides/index.json +7 -0
  29. package/guides/release-notes.md +6 -0
  30. package/guides/sdk-reference.json +42 -3
  31. package/package.json +2 -2
  32. package/templates/beauty-salon/config.ts +1 -1
  33. package/templates/beauty-salon/dev/index.ts +2773 -2969
  34. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +0 -1
  35. package/templates/beauty-salon/tier5-src/_shared/himi-blog-post-row.ts +210 -0
  36. package/templates/beauty-salon/tier5-src/_shared/himi-blog-saved.ts +0 -10
  37. package/templates/beauty-salon/tier5-src/himi-blog-feed/index.ts +220 -95
  38. package/templates/beauty-salon/tier5-src/himi-blog-post/index.ts +436 -140
  39. package/templates/beauty-salon/tier5-src/himi-blog-saved/index.ts +97 -39
  40. package/templates/beauty-salon-owner/dev/index.ts +7 -0
  41. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +0 -1
  42. package/templates/branded-lite/config.ts +1 -1
  43. package/templates/branded-lite/dev/index.ts +2741 -2937
  44. package/templates/branded-lite/l10n/en.json +12 -12
  45. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +0 -1
  46. package/templates/branded-lite/tier5-src/_shared/himi-blog-post-row.ts +210 -0
  47. package/templates/branded-lite/tier5-src/_shared/himi-blog-saved.ts +0 -10
  48. package/templates/branded-lite/tier5-src/himi-blog-feed/index.ts +220 -95
  49. package/templates/branded-lite/tier5-src/himi-blog-post/index.ts +436 -140
  50. package/templates/branded-lite/tier5-src/himi-blog-saved/index.ts +97 -39
  51. package/templates/community-club/config.ts +1 -1
  52. package/templates/community-club/dev/index.ts +2799 -2995
  53. package/templates/community-club/tier5-src/_shared/collection-contract.ts +0 -1
  54. package/templates/community-club/tier5-src/_shared/himi-blog-post-row.ts +210 -0
  55. package/templates/community-club/tier5-src/_shared/himi-blog-saved.ts +0 -10
  56. package/templates/community-club/tier5-src/himi-blog-feed/index.ts +220 -95
  57. package/templates/community-club/tier5-src/himi-blog-post/index.ts +436 -140
  58. package/templates/community-club/tier5-src/himi-blog-saved/index.ts +97 -39
  59. package/templates/community-club-owner/dev/index.ts +7 -0
  60. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +0 -1
  61. package/templates/conference/tier5-src/_shared/collection-contract.ts +0 -1
  62. package/templates/events-meetups/config.ts +1 -1
  63. package/templates/events-meetups/dev/index.ts +2859 -3055
  64. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +0 -1
  65. package/templates/events-meetups/tier5-src/_shared/himi-blog-post-row.ts +210 -0
  66. package/templates/events-meetups/tier5-src/_shared/himi-blog-saved.ts +0 -10
  67. package/templates/events-meetups/tier5-src/himi-blog-feed/index.ts +220 -95
  68. package/templates/events-meetups/tier5-src/himi-blog-post/index.ts +436 -140
  69. package/templates/events-meetups/tier5-src/himi-blog-saved/index.ts +97 -39
  70. package/templates/events-meetups-owner/dev/index.ts +7 -0
  71. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +0 -1
  72. package/templates/gym-fitness/config.ts +1 -1
  73. package/templates/gym-fitness/dev/index.ts +2733 -2929
  74. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +0 -1
  75. package/templates/gym-fitness/tier5-src/_shared/himi-blog-post-row.ts +210 -0
  76. package/templates/gym-fitness/tier5-src/_shared/himi-blog-saved.ts +0 -10
  77. package/templates/gym-fitness/tier5-src/himi-blog-feed/index.ts +220 -95
  78. package/templates/gym-fitness/tier5-src/himi-blog-post/index.ts +436 -140
  79. package/templates/gym-fitness/tier5-src/himi-blog-saved/index.ts +97 -39
  80. package/templates/gym-fitness-owner/dev/index.ts +7 -0
  81. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +0 -1
  82. package/templates/nonprofit-cause/config.ts +1 -1
  83. package/templates/nonprofit-cause/dev/index.ts +2813 -3009
  84. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +0 -1
  85. package/templates/nonprofit-cause/tier5-src/_shared/himi-blog-post-row.ts +210 -0
  86. package/templates/nonprofit-cause/tier5-src/_shared/himi-blog-saved.ts +0 -10
  87. package/templates/nonprofit-cause/tier5-src/himi-blog-feed/index.ts +220 -95
  88. package/templates/nonprofit-cause/tier5-src/himi-blog-post/index.ts +436 -140
  89. package/templates/nonprofit-cause/tier5-src/himi-blog-saved/index.ts +97 -39
  90. package/templates/nonprofit-cause-owner/dev/index.ts +7 -0
  91. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +0 -1
  92. package/templates/owner-lite/dev/index.ts +7 -0
  93. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +0 -1
  94. package/templates/podcast-creator/config.ts +1 -1
  95. package/templates/podcast-creator/dev/index.ts +2862 -3058
  96. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +0 -1
  97. package/templates/podcast-creator/tier5-src/_shared/himi-blog-post-row.ts +210 -0
  98. package/templates/podcast-creator/tier5-src/_shared/himi-blog-saved.ts +0 -10
  99. package/templates/podcast-creator/tier5-src/himi-blog-feed/index.ts +220 -95
  100. package/templates/podcast-creator/tier5-src/himi-blog-post/index.ts +436 -140
  101. package/templates/podcast-creator/tier5-src/himi-blog-saved/index.ts +97 -39
  102. package/templates/podcast-creator-owner/dev/index.ts +7 -0
  103. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +0 -1
  104. package/templates/portfolio-creative/config.ts +1 -1
  105. package/templates/portfolio-creative/dev/index.ts +2803 -2999
  106. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +0 -1
  107. package/templates/portfolio-creative/tier5-src/_shared/himi-blog-post-row.ts +210 -0
  108. package/templates/portfolio-creative/tier5-src/_shared/himi-blog-saved.ts +0 -10
  109. package/templates/portfolio-creative/tier5-src/himi-blog-feed/index.ts +220 -95
  110. package/templates/portfolio-creative/tier5-src/himi-blog-post/index.ts +436 -140
  111. package/templates/portfolio-creative/tier5-src/himi-blog-saved/index.ts +97 -39
  112. package/templates/portfolio-creative-owner/dev/index.ts +7 -0
  113. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +0 -1
  114. package/templates/restaurant/config.ts +1 -1
  115. package/templates/restaurant/dev/index.ts +2845 -3041
  116. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +0 -1
  117. package/templates/restaurant/tier5-src/_shared/himi-blog-post-row.ts +210 -0
  118. package/templates/restaurant/tier5-src/_shared/himi-blog-saved.ts +0 -10
  119. package/templates/restaurant/tier5-src/himi-blog-feed/index.ts +220 -95
  120. package/templates/restaurant/tier5-src/himi-blog-post/index.ts +436 -140
  121. package/templates/restaurant/tier5-src/himi-blog-saved/index.ts +97 -39
  122. package/templates/restaurant-owner/dev/index.ts +7 -0
  123. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +0 -1
  124. package/templates/retail-store/config.ts +1 -1
  125. package/templates/retail-store/dev/index.ts +2809 -3005
  126. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +0 -1
  127. package/templates/retail-store/tier5-src/_shared/himi-blog-post-row.ts +210 -0
  128. package/templates/retail-store/tier5-src/_shared/himi-blog-saved.ts +0 -10
  129. package/templates/retail-store/tier5-src/himi-blog-feed/index.ts +220 -95
  130. package/templates/retail-store/tier5-src/himi-blog-post/index.ts +436 -140
  131. package/templates/retail-store/tier5-src/himi-blog-saved/index.ts +97 -39
  132. package/templates/retail-store-owner/dev/index.ts +7 -0
  133. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +0 -1
  134. package/templates/salon-spa/tier5-src/_shared/collection-contract.ts +0 -1
  135. package/templates/yoga-studio/config.ts +1 -1
  136. package/templates/yoga-studio/dev/index.ts +2752 -2948
  137. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +0 -1
  138. package/templates/yoga-studio/tier5-src/_shared/himi-blog-post-row.ts +210 -0
  139. package/templates/yoga-studio/tier5-src/_shared/himi-blog-saved.ts +0 -10
  140. package/templates/yoga-studio/tier5-src/himi-blog-feed/index.ts +220 -95
  141. package/templates/yoga-studio/tier5-src/himi-blog-post/index.ts +436 -140
  142. package/templates/yoga-studio/tier5-src/himi-blog-saved/index.ts +97 -39
  143. package/templates/yoga-studio-owner/dev/index.ts +7 -0
  144. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +0 -1
  145. package/templates/beauty-salon/tier5-src/_shared/himi-blog-collection.ts +0 -7
  146. package/templates/branded-lite/tier5-src/_shared/himi-blog-collection.ts +0 -7
  147. package/templates/community-club/tier5-src/_shared/himi-blog-collection.ts +0 -7
  148. package/templates/events-meetups/tier5-src/_shared/himi-blog-collection.ts +0 -7
  149. package/templates/gym-fitness/tier5-src/_shared/himi-blog-collection.ts +0 -7
  150. package/templates/nonprofit-cause/tier5-src/_shared/himi-blog-collection.ts +0 -7
  151. package/templates/podcast-creator/tier5-src/_shared/himi-blog-collection.ts +0 -7
  152. package/templates/portfolio-creative/tier5-src/_shared/himi-blog-collection.ts +0 -7
  153. package/templates/restaurant/tier5-src/_shared/himi-blog-collection.ts +0 -7
  154. package/templates/retail-store/tier5-src/_shared/himi-blog-collection.ts +0 -7
  155. package/templates/yoga-studio/tier5-src/_shared/himi-blog-collection.ts +0 -7
Binary file
@@ -1280,7 +1280,7 @@
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
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
- "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}",
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 /** Inherited preview scope; unknown values inherit. */\n imagePreview?: 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}",
1286
1286
  "Presentation": "export type Presentation =\n | \"push\"\n | \"sheet\"\n | \"replace\"\n | \"dismiss\"\n | \"back\"\n | \"full_screen\"\n | \"alert\"\n | \"snackbar\";",
@@ -2630,6 +2630,8 @@ way round — see [Token slots](#token-slots-tokenref-object-vs-bare-tokenname-s
2630
2630
  export interface Modifiers {
2631
2631
  /** Changing non-empty token: scroll this node into view and move accessibility focus to it. */
2632
2632
  scrollIntoViewPath?: string;
2633
+ /** Inherited preview scope; unknown values inherit. */
2634
+ imagePreview?: string;
2633
2635
  padding?: EdgeInsets;
2634
2636
  background?: TokenRef;
2635
2637
  cornerRadius?: number;
@@ -358,6 +358,10 @@ motion media; `Map` for location; `Avatar` for a person; `QrCode` to share a lin
358
358
  as a code generated on the device (bind `valuePath`; keep the payload short, since a literal over the
359
359
  level's capacity fails validation); `WebView` only when native can't express it.
360
360
  *Fill-width media gets a `cornerRadius` so it doesn't fight the card edges.*
361
+ Images preview by default: a tap opens one full screen and pages through the screen's other images.
362
+ Opt out with `modifiers.imagePreview: "off"` on an image or subtree that should not open; use `"view"`
363
+ when people may inspect but should not see export controls, and `"on"` on a post's row template for a
364
+ gallery per post. Existing tap actions keep their behavior. See [image and video preview](image-preview.md).
361
365
  For audio apps, keep playback UI in SDUI and call `@himalaya/media-playback` from the Tier-5 worker:
362
366
  compose artwork with `Image`, transport controls with icon buttons, scrubbing with `Slider`, buffering
363
367
  and download state with `ProgressBar`, overflow actions with `Menu`, and queue/details surfaces with
@@ -581,6 +581,12 @@ A screen is fast when it builds only the rows in view and opens the next screen
581
581
  worker answers; the reducer keeps returning the same `_nav` for older apps.
582
582
  - Horizontal rails stay short, and row images have a fixed `height` or `aspectRatio`.
583
583
 
584
+ ## Images
585
+
586
+ Images preview by default: a tap opens one full screen and pages through the screen's other images.
587
+ Opt out with `modifiers.imagePreview: "off"` on an image or subtree that should not open
588
+ (`himi docs image-preview`).
589
+
584
590
  `himi validate` warns on the first three (`paged_list_not_at_scroll_root`,
585
591
  `bound_rows_without_stable_id`, `declared_navigation_available`). Resolve them before preview.
586
592
 
@@ -0,0 +1,92 @@
1
+ # Image and video preview
2
+
3
+ A screen's images preview by default: a tap opens one full screen and pages through the screen's other images. Set `modifiers.imagePreview` on a photo, a gallery, a post or the screen payload to change that.
4
+
5
+ | Value | Behavior |
6
+ | --- | --- |
7
+ | `"on"` | Preview with Save and Share where the platform supports them. |
8
+ | `"view"` | Preview without Save or Share. |
9
+ | `"off"` | Disable inherited preview for this subtree. |
10
+ | absent | Inherit the nearest explicit value. A screen payload without one is `"on"`. |
11
+
12
+ An explicit `on` or `view` starts a separate gallery. A screen payload's flag also covers its sticky header and footer. It does not include top-bar icons.
13
+
14
+ Opt out with `"off"` where a picture should not open: on the image, its subtree, or the screen payload for the whole screen (which then runs no preview code). Images inside a tap owner (a card or row that navigates, a button) never preview, so they need nothing. A region embedded in another app previews only under an explicit `"on"` or `"view"`.
15
+
16
+ ```json
17
+ {
18
+ "id": "photos",
19
+ "modifiers": { "imagePreview": "on" },
20
+ "body": {
21
+ "package": "himalaya",
22
+ "type": "Grid",
23
+ "props": {
24
+ "columns": 2,
25
+ "items": [
26
+ {
27
+ "id": "mountain",
28
+ "body": {
29
+ "package": "himalaya",
30
+ "type": "Image",
31
+ "props": {
32
+ "url": "https://example.com/mountain.jpg",
33
+ "contentDescription": "Mountain at sunset",
34
+ "fillWidth": true,
35
+ "height": 144,
36
+ "contentMode": "fill"
37
+ }
38
+ }
39
+ },
40
+ {
41
+ "id": "lake",
42
+ "body": {
43
+ "package": "himalaya",
44
+ "type": "Image",
45
+ "props": {
46
+ "url": "https://example.com/lake.jpg",
47
+ "contentDescription": "Lake and forest",
48
+ "fillWidth": true,
49
+ "height": 144,
50
+ "contentMode": "fill"
51
+ }
52
+ }
53
+ }
54
+ ]
55
+ }
56
+ }
57
+ }
58
+ ```
59
+
60
+ ## Choosing the gallery
61
+
62
+ Put the flag on the collection to page through its photos. Put it on a feed's **row template** to give each post its own gallery. Nested explicit galleries and `off` subtrees stay out of their parent gallery.
63
+
64
+ A row's own photos (a list, grid or carousel inside the row with `itemsPath: "$item.photos"`) page with the rest of the gallery. Each photo is told apart by its row and its element: the element's `id`, else the tile's id when it is unique, else its position. It is never told apart by its URL, so rows that share photos open at the one tapped. A paged carousel's pages work the same way.
65
+
66
+ For worker-backed collections, keep your existing `itemsPath`, row template, stable item IDs and pagination. The gallery reads current data when someone taps, including rows that have not been built on screen. While it is open, appended items can join; replacing, shrinking or reordering the existing prefix waits until the next opening. Paging brings the corresponding source into view for the return animation.
67
+
68
+ Only photo-like `Image` nodes participate. Glyphs, initials, tinted/template images, circle avatars, backgrounds and hidden content do not. Existing tap and double-tap actions keep ownership, including actions on an ancestor. Use `contentDescription` for the spoken image description.
69
+
70
+ ## Using the viewer
71
+
72
+ Images support paging, pinch zoom, double-tap zoom, pan while zoomed, and dismissal. A multi-image gallery has a thumbnail strip for jumping between pages. Close, keyboard arrows/Escape on desktop, and accessibility paging remain available.
73
+
74
+ An inline `Video` gets an expand control. Preview keeps its existing player, controls and playback position; video does not offer image zoom or image Save/Share. React Native's optional video adapter presents its own existing native player. The demo adapter supplies this through Expo AV's fullscreen API.
75
+
76
+ ## Save and Share
77
+
78
+ - **iOS:** Save uses Photos add-only access, so the app asks for it the first time someone taps Save. Every app's build includes the photo-library purpose strings, whether or not it declares the `photos` capability, so Save and Share appear together as on Android. To word the prompt for your app, override the copy in `native-config.overrides.json`. Share uses the system share sheet.
79
+ - **Android:** Save uses MediaStore on Android 10 and later, without a storage permission. Earlier Android versions offer Share only. Share grants temporary read access through the system chooser.
80
+ - **macOS:** Save uses the system Save panel; sandboxed apps need the `file_picker` capability's user-selected-file entitlement. Share uses the system sharing picker.
81
+ - **Web:** Save downloads a blob when the image permits cross-origin fetching. File sharing is available when the browser supports it. A refused export reports an error.
82
+ - **React Native:** Share uses the platform share sheet. Save is not offered.
83
+
84
+ Exports use the original declared source where available, with the displayed image as an offline fallback on iOS, Android and macOS. Temporary native exports are bounded and retired with their cache owner. `view` removes both export actions.
85
+
86
+ ## Platforms and cost
87
+
88
+ The flag is supported on iOS, Android, macOS, web and React Native. macOS opens in the app window with a fade. tvOS and watchOS ignore the automatic flag; their existing explicit lightbox action remains available.
89
+
90
+ There is no gallery scan or frame measurement while the viewer is closed. The first tap prepares the gallery and reads its source frame. Image previews use the shared image loading path, retain only the current full-size page and immediate neighbours, and use small strip thumbnails. Phone previews opt into a 2048-pixel ceiling; desktop keeps the larger ceiling. A tile's own picture is fetched whole rather than cropped by the CDN, so the viewer opens with the whole picture; an image nothing opens keeps its crop.
91
+
92
+ Native clients need a build containing this feature; older clients ignore the new modifier. Web and React Native hosts need the updated renderer/viewer code.
package/guides/index.json CHANGED
@@ -26,6 +26,7 @@
26
26
  "Bindings ($service:<svc>.<path>, $item.<field>, $flag:<key>) are plain strings in ANY prop — INCLUDING Modifiers token refs (background, color, tint), so a worker can drive per-item theming, not just text. They CANNOT target strict-enum fields (style, size, alignment, severity, presentation, …) — those fail at render, not validation.",
27
27
  "A screen that loads data asynchronously ships a designed LOADING state with it — a `Skeleton` shaped like the loaded layout when that layout is known (`StatefulSection` or `ActivityIndicator` when they fit the behavior better) — and a REDESIGN of a data screen reviews and updates that loading state in the same change, so it never shows the old layout. Loading is its own state, never the empty or the error state; a static screen gets no loading state (`himi docs designing-himi-screens` §5).",
28
28
  "CLASSIFY every error before you show it: offline, server failure, sign-in, site membership and permission each show an `ErrorState` (gated by `hiddenPath`): `variantPath` bound to the worker's error kind switches the copy and glyph, but `cta`, `title`, `body` and `ctaLabel` apply to every variant, so offline and server share one node with the retry `cta` while sign-in, permission and membership (`variant: \"permission\"` with its own `title`/`body`) keep a node each; user-facing copy — never `e.message`, a status code or an API error string — and a `cta` ONLY for a real recovery (Try again for offline, server and failed writes; the app's auth flow for sign-in; the site's join flow for `NotSiteMember` when available; none for permission, empty results or field errors). Empty results are the empty state, not an error. A refresh that fails KEEPS the rows and adds a `Banner` with retry; a load-more that fails keeps the rows and ends the list with a \"Couldn't load more\" row that retries the SAME cursor (`himi docs recipe-dynamic-list`), never the Banner, which reloads page 1. A sign-in, membership or permission failure CLEARS the rows instead — they are no longer the user's to see. Field errors stay in the field's slot; a failed action shows next to the action. (`himi docs designing-himi-screens` §5, `himi docs recipe-four-state`).",
29
+ "Images preview by default: a tap opens one full screen and pages through the screen's other images. Opt out with `modifiers.imagePreview: \"off\"` on an image or subtree that should not open (`himi docs image-preview`).",
29
30
  "Workers are sandboxed: no DOM, no timers, no raw fetch. Produce state synchronously in actions; do not rely on an ambient refresh tick.",
30
31
  "Keep screens FAST (`himi docs designing-himi-screens`, §7b): put a long or paged list directly in the screen's root VStack, give every list item the worker returns a stable `id`, declare `nav` on an action whose tap always opens the same screen, keep horizontal rails short, and give row images a fixed size. Validation warns on the first three (`paged_list_not_at_scroll_root`, `bound_rows_without_stable_id`, `declared_navigation_available`).",
31
32
  "Declare every capability a worker uses in TWO places: the calling screen's logicBundle.declaredCapabilities (wix_platform, stream, camera, location, …) — undeclared calls are blocked — AND config.ts `capabilities`, the app-level list a binary is built with. The `capabilities` guide shows each id's import, what the binary needs and which shells serve it; validate flags an unknown id, an undeclared call, and (with `shell` in himalaya.content.json) an id that shell's binary does not serve. A capability with a native footprint (camera, location, push, …) only arrives with a new binary — an over-the-air push cannot add it. EXCEPTION: the Wix REST bridge (wix_api — the @himalaya/wix-* clients / wixApi.call) is ungated today (installed unconditionally), so it works WITHOUT a declaration; declaring wix_api is still recommended — it is where the platform is heading, and it documents what your worker touches.",
@@ -171,6 +172,12 @@
171
172
  "category": "Recipes",
172
173
  "file": "recipe-onboarding.md"
173
174
  },
175
+ {
176
+ "id": "image-preview",
177
+ "title": "Image and video preview",
178
+ "category": "Design & UX",
179
+ "file": "image-preview.md"
180
+ },
174
181
  {
175
182
  "id": "designing-himi-screens",
176
183
  "title": "Designing great screens",
@@ -47,6 +47,12 @@ areas, always in the same order, so you can skim for the one you care about.
47
47
  a screen, clone the closest one: `--show <closest>`, edit it, then
48
48
  `--add <new> --from <file> --display-name "<title>"`. (#5422)
49
49
 
50
+ ## 2026-11-06
51
+
52
+ ### Authoring screens
53
+
54
+ - Tapping a photo or video on a screen now opens it full screen, with zoom, paging through the screen's other images and a thumbnail strip; supported platforms offer Save and Share. Set `imagePreview: "view"` to hide export controls, or `"off"` on media that should not open. <!-- Add this feature's PR reference when its PR is opened. -->
55
+
50
56
  ## 2026-11-04
51
57
 
52
58
  ### Branded Lite & Owner Lite
@@ -10953,7 +10953,7 @@
10953
10953
  {
10954
10954
  "name": "getPost",
10955
10955
  "kind": "function",
10956
- "jsdoc": "/** Fetch a single PUBLISHED post by id — GET /blog/v3/posts/{id}. The list\n * (queryPosts) returns published posts, so the detail reads them here (draft\n * ids are a different space — getDraftPost is for the edit/create flow).\n *\n * Body fieldsets (#826): Blog v3 `GET /posts/{id}` returns 200 but only the\n * LIST projection (title / excerpt / meta) unless the caller asks for the body —\n * the bare GET has NO `richContent` / `contentText`. So we request\n * RICH_CONTENT + CONTENT_TEXT by default and the article body loads on the happy\n * path; callers can override via `req.fieldsets`. (Supersedes the old #507 note:\n * the 502 this GET once returned for anonymous visitors is gone — it 200s now —\n * but a body-less 200 was never the \"body preserved whenever the backend is\n * healthy\" the earlier comment claimed; the body was simply never requested.)\n *\n * On network / backend rejection we still fall back to a queryPosts\n * filter-by-id — a graceful degrade to the LIST projection (no body) that keeps\n * blog detail + saved screens rendering instead of erroring out. `queryPosts`'s\n * request type has no `fieldsets` field, so that fallback path cannot carry the\n * body. Detail readers can opt into `preserveAccessErrors` to keep HTTP 401/403\n * refusals instead of a public metadata fallback; default callers are unchanged.\n *\n * When that fallback ALSO finds nothing — a deleted post, or one this visitor\n * may not see — we reject rather than resolve. `WixGetPostResponse.post`\n * is non-optional, so returning `{ post: resp.posts?.[0] }` would hand callers an\n * `undefined` the type promises is present, and the `post.title` access that type\n * licenses throws a `TypeError` deep inside the caller — the exact hard error\n * this fallback exists to prevent, and harder to diagnose than a clean rejection.\n * Every call site rides its own rejection path (cached-post state, draft-only\n * `catch`, or an `allSettled` filter), so rejecting is what routes them into the\n * graceful degrade they already implement. The originating failure travels as\n * `cause`, so the 404-vs-network distinction is not lost. */",
10956
+ "jsdoc": "/** Fetch a single PUBLISHED post by id — GET /blog/v3/posts/{id}. The list\n * (queryPosts) returns published posts, so the detail reads them here (draft\n * ids are a different space — getDraftPost is for the edit/create flow).\n *\n * Body fieldsets (#826): Blog v3 `GET /posts/{id}` returns 200 but only the\n * LIST projection (title / excerpt / meta) unless the caller asks for the body —\n * the bare GET has NO `richContent` / `contentText`. So we request\n * RICH_CONTENT + CONTENT_TEXT by default and the article body loads on the happy\n * path; callers can override via `req.fieldsets`. (Supersedes the old #507 note:\n * the 502 this GET once returned for anonymous visitors is gone — it 200s now —\n * but a body-less 200 was never the \"body preserved whenever the backend is\n * healthy\" the earlier comment claimed; the body was simply never requested.)\n *\n * On network / backend rejection we still fall back to a queryPosts\n * filter-by-id — a graceful degrade to the LIST projection (no body) that keeps\n * blog detail + saved screens rendering instead of erroring out. That list read\n * cannot carry the body; it forwards only a requested METRICS / URL fieldset,\n * so counts and the post link survive the fallback. Detail readers can opt into `preserveAccessErrors` to keep HTTP 401/403\n * refusals instead of a public metadata fallback; default callers are unchanged.\n *\n * When that fallback ALSO finds nothing — a deleted post, or one this visitor\n * may not see — we reject rather than resolve. `WixGetPostResponse.post`\n * is non-optional, so returning `{ post: resp.posts?.[0] }` would hand callers an\n * `undefined` the type promises is present, and the `post.title` access that type\n * licenses throws a `TypeError` deep inside the caller — the exact hard error\n * this fallback exists to prevent, and harder to diagnose than a clean rejection.\n * Every call site rides its own rejection path (cached-post state, draft-only\n * `catch`, or an `allSettled` filter), so rejecting is what routes them into the\n * graceful degrade they already implement. The originating failure travels as\n * `cause`, so the 404-vs-network distinction is not lost. */",
10957
10957
  "decl": "export function getPost(\n postId: string,\n req: WixGetPostRequest = {}, readOptions?: WixCallOptions & { preserveAccessErrors?: boolean },\n): Promise<WixGetPostResponse>;",
10958
10958
  "http": "GET /blog/v3/posts/{…}",
10959
10959
  "verificationChecked": true
@@ -11072,6 +11072,29 @@
11072
11072
  "jsdoc": "/** Cancel a post's schedule — PATCH /draft-posts/{id} {action:\"UPDATE_CANCEL_SCHEDULE\"}. */",
11073
11073
  "decl": "export function cancelScheduleDraftPost(postId: string): Promise<WixUpdateDraftPostResponse>;",
11074
11074
  "verificationChecked": true
11075
+ },
11076
+ {
11077
+ "name": "WixBlogTag",
11078
+ "kind": "interface",
11079
+ "jsdoc": "",
11080
+ "decl": "export interface WixBlogTag { id: string; label?: string; slug?: string; publishedPostCount?: number }",
11081
+ "verificationChecked": true
11082
+ },
11083
+ {
11084
+ "name": "WixQueryTagsResponse",
11085
+ "kind": "interface",
11086
+ "jsdoc": "",
11087
+ "decl": "export interface WixQueryTagsResponse { tags: WixBlogTag[] }",
11088
+ "verificationChecked": true
11089
+ },
11090
+ {
11091
+ "name": "queryTags",
11092
+ "kind": "function",
11093
+ "jsdoc": "/** Query blog tags — POST /blog/v3/tags/query.\n * @scope visitor — public tag labels; a visitor token reads them. */",
11094
+ "decl": "export function queryTags(req: { filter?: Record<string, unknown>; paging?: { limit?: number; offset?: number } } = {}, opts?: WixCallOptions): Promise<WixQueryTagsResponse>;",
11095
+ "http": "POST /blog/v3/tags/query",
11096
+ "scope": "visitor",
11097
+ "verificationChecked": true
11075
11098
  }
11076
11099
  ]
11077
11100
  },
@@ -27841,7 +27864,14 @@
27841
27864
  "name": "ImageTarget",
27842
27865
  "kind": "interface",
27843
27866
  "jsdoc": "/** Pure rendition policy shared by web/RN. Native mirrors use the same request fixtures. */",
27844
- "decl": "export interface ImageTarget {\n width: number;\n height: number;\n scale: number;\n mode?: string;\n maxEdge?: number;\n}",
27867
+ "decl": "export interface ImageTarget {\n width: number;\n height: number;\n scale: number;\n mode?: string;\n maxEdge?: number;\n /** The image opens the image preview: fetched whole, never cropped by the server. */\n previewable?: boolean;\n}",
27868
+ "verificationChecked": true
27869
+ },
27870
+ {
27871
+ "name": "imagePreviewMaxEdge",
27872
+ "kind": "function",
27873
+ "jsdoc": "/** Full-screen preview opts into 2048px on phones; desktop/TV keep their larger ceiling. */",
27874
+ "decl": "export function imagePreviewMaxEdge(platformMaxEdge = 1400): number;",
27845
27875
  "verificationChecked": true
27846
27876
  },
27847
27877
  {
@@ -27869,7 +27899,7 @@
27869
27899
  "name": "imageCandidates",
27870
27900
  "kind": "function",
27871
27901
  "jsdoc": "/**\n * The renditions a renderer offers for one image, smallest first, so the HOST picks among them by\n * its own layout and pixel density (web `srcset`, a React Native `source` array) with no\n * measurement code of ours. A fixed box gets one candidate per screen density; a fluid one (no\n * numeric width) gets fluid widths, its height from `ratio` when known. A source that cannot be\n * resized safely yields exactly itself.\n */",
27872
- "decl": "export function imageCandidates(\n source: string,\n box: { width?: number; height?: number; ratio?: number; mode?: string },\n scales: number[] = [1, 2, 3],\n): ImageCandidate[];",
27902
+ "decl": "export function imageCandidates(\n source: string,\n box: { width?: number; height?: number; ratio?: number; mode?: string; maxEdge?: number; previewable?: boolean },\n scales: number[] = [1, 2, 3],\n): ImageCandidate[];",
27873
27903
  "verificationChecked": true
27874
27904
  }
27875
27905
  ]
@@ -28006,6 +28036,15 @@
28006
28036
  "http": "POST /members/v1/members/query",
28007
28037
  "verificationChecked": true
28008
28038
  },
28039
+ {
28040
+ "name": "getPublicMember",
28041
+ "kind": "function",
28042
+ "jsdoc": "/** A member's PUBLIC profile (nickname, photo) by id — GET /members/v1/members/{id}?fieldsets=PUBLIC.\n * Readable by a visitor even where the member directory (`queryMembers`) is private.\n * Verified live 2026-11-08 with a visitor token on the amit1 demo site (200).\n * @scope visitor — public profile fields only. */",
28043
+ "decl": "export function getPublicMember(id: string, options?: WixCallOptions): Promise<WixGetMemberResponse>;",
28044
+ "http": "GET /members/v1/members/{…}?fieldsets=PUBLIC",
28045
+ "scope": "visitor",
28046
+ "verificationChecked": true
28047
+ },
28009
28048
  {
28010
28049
  "name": "getMember",
28011
28050
  "kind": "function",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1646.0",
3
+ "version": "0.1648.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": "ebd7d82d917b742cfef3eb2492d0984c04bdf5fb43971d14b93b0776"
75
+ "falconPackageHash": "b501912e267e8d89a41412f55685957a8a98a1ef946742c75b796b7b"
76
76
  }
@@ -37,7 +37,7 @@ export default defineApp({
37
37
  actions: "http://localhost:8190/v1/actions",
38
38
  sync: "http://localhost:8190/v1/sync",
39
39
  },
40
- capabilities: ["live_activity","push","share","secure_storage","open_url","calendar","local_database","wix_api","wix_platform","app_info","iap","release_control","clipboard","theme","wix_cashier"],
40
+ capabilities: ["live_activity","push","share","secure_storage","open_url","calendar","local_database","wix_api","wix_platform","app_info","iap","release_control","clipboard","theme","ui","wix_cashier"],
41
41
  cache: {
42
42
  "rules": [
43
43
  {