@wix/himalaya-cli 0.1824.0 → 0.1825.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.
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{bd3af4c2614772cc835149b9c31f3be8c6eb760ffaeababe232f0b738d67ef81.bin → e44b8b1db6e556b34b518a5b036c3444bcc7ade9d9908576ebe14e5ecce16f29.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +84 -69
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/designing-himi-screens.md +16 -4
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -41015,6 +41015,7 @@ function resolveIdiom(tokens2, ctx = {}) {
|
|
|
41015
41015
|
var IDIOM_CONTEXTS, UNSAFE_KEYS;
|
|
41016
41016
|
var init_idiom = __esm({
|
|
41017
41017
|
"../../core/ts/src/idiom.ts"() {
|
|
41018
|
+
"use strict";
|
|
41018
41019
|
init_define_HHP_CATALOG();
|
|
41019
41020
|
IDIOM_CONTEXTS = {
|
|
41020
41021
|
ios: { native: ["ios"] },
|
|
@@ -138272,21 +138273,21 @@ function ensureInitialFocusRuntime() {
|
|
|
138272
138273
|
initialFocusScheduled = false;
|
|
138273
138274
|
const targets = Array.from(document.querySelectorAll("[data-himalaya-initial-focus]"));
|
|
138274
138275
|
const active2 = document.activeElement;
|
|
138275
|
-
const
|
|
138276
|
+
const unplaced2 = active2 == null || active2 === document.body || active2.hasAttribute?.("data-himalaya-focus-landing") === true;
|
|
138276
138277
|
const fresh = targets.filter((t2) => !focusRootState(focusRootOf(t2)).seen.has(t2));
|
|
138277
138278
|
let presented;
|
|
138278
138279
|
let presentedScope = null;
|
|
138279
138280
|
for (const t2 of fresh) {
|
|
138280
138281
|
const scope3 = t2.closest(PRESENTED_SCOPE);
|
|
138281
138282
|
if (!scope3 || active2 && scope3.contains(active2)) continue;
|
|
138282
|
-
if (!
|
|
138283
|
+
if (!unplaced2 && !focusBelongsTo(active2, scope3)) continue;
|
|
138283
138284
|
presented = t2;
|
|
138284
138285
|
presentedScope = scope3;
|
|
138285
138286
|
}
|
|
138286
138287
|
for (const t2 of fresh) focusRootState(focusRootOf(t2)).seen.add(t2);
|
|
138287
|
-
const el2 = presented ?? (
|
|
138288
|
+
const el2 = presented ?? (unplaced2 ? fresh[0] : void 0);
|
|
138288
138289
|
if (el2 && typeof el2.focus === "function") {
|
|
138289
|
-
if (presented && presentedScope && !
|
|
138290
|
+
if (presented && presentedScope && !unplaced2 && active2 instanceof HTMLElement) {
|
|
138290
138291
|
restoreFocusOnDismiss(presentedScope, active2);
|
|
138291
138292
|
}
|
|
138292
138293
|
el2.focus();
|
|
@@ -138961,7 +138962,7 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
138961
138962
|
const n2 = normalize2(c2);
|
|
138962
138963
|
return n2.type === "Spacer" || wantsRowStretch(c2) || Number(n2.modifiers?.weight ?? 0) > 0;
|
|
138963
138964
|
});
|
|
138964
|
-
return /* @__PURE__ */ jsx15("div", { style: { display: "flex", flexDirection: "row", gap: gap(props2.spacing), alignItems: hAlignItems(props2.alignment), ...rowFills ? { alignSelf: "stretch" } : {}, ...wrap }, children: rowKids(props2.children, ctx) });
|
|
138965
|
+
return /* @__PURE__ */ jsx15("div", { style: { display: "flex", flexDirection: "row", gap: gap(props2.spacing), alignItems: hAlignItems(props2.alignment), ...rowFills ? { alignSelf: "stretch", ...columnPlaceStyle(ctx.columnPlace) } : {}, ...wrap }, children: rowKids(props2.children, unplaced(ctx)) });
|
|
138965
138966
|
}
|
|
138966
138967
|
case "ZStack": {
|
|
138967
138968
|
const hasW = modifiers?.width != null || modifiers?.fillMaxWidth === true;
|
|
@@ -138970,7 +138971,7 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
138970
138971
|
const fillsWidth = !hasW && !hListItem;
|
|
138971
138972
|
const hasFillLayer = Array.isArray(props2.children) && props2.children.some(fillsZLayer);
|
|
138972
138973
|
if (hasFillLayer) ensureZFillStyles();
|
|
138973
|
-
return /* @__PURE__ */ jsx15("div", { style: { position: "relative", display: "grid", justifyItems, alignItems: "center", ...fillsWidth ? { width: "100%" } : {}, ...hasH ? {} : { minHeight: 40 }, ...hasFillLayer ? { isolation: "isolate" } : {}, ...wrap }, children: (props2.children ?? []).map((c2, i2) => /* @__PURE__ */ jsx15("div", { ...fillsZLayer(c2) ? { "data-himalaya-zfill": "1" } : {}, style: { gridArea: "1 / 1", display: "grid", justifyItems, width: "100%", ...fillsZLayer(c2) ? { alignSelf: "stretch", alignItems: "stretch" } : { alignItems: "center" }, ...hasFillLayer && zLayerIndex(c2) !== void 0 ? { zIndex: zLayerIndex(c2) } : {} }, children: renderNode(c2, ctx) }, c2?.id ?? i2)) });
|
|
138974
|
+
return /* @__PURE__ */ jsx15("div", { style: { position: "relative", display: "grid", justifyItems, alignItems: "center", ...fillsWidth ? { width: "100%" } : {}, ...hasH ? {} : { minHeight: 40 }, ...hasFillLayer ? { isolation: "isolate" } : {}, ...columnPlaceStyle(ctx.columnPlace), ...wrap }, children: (props2.children ?? []).map((c2, i2) => /* @__PURE__ */ jsx15("div", { ...fillsZLayer(c2) ? { "data-himalaya-zfill": "1" } : {}, style: { gridArea: "1 / 1", display: "grid", justifyItems, width: "100%", ...fillsZLayer(c2) ? { alignSelf: "stretch", alignItems: "stretch" } : { alignItems: "center" }, ...hasFillLayer && zLayerIndex(c2) !== void 0 ? { zIndex: zLayerIndex(c2) } : {} }, children: renderNode(c2, unplaced(ctx)) }, c2?.id ?? i2)) });
|
|
138974
138975
|
}
|
|
138975
138976
|
case "LazyList": {
|
|
138976
138977
|
const itemsPath = props2.itemsPath ?? props2.items_path;
|
|
@@ -139208,7 +139209,7 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
139208
139209
|
const wrapShadow = wrap.boxShadow;
|
|
139209
139210
|
const explicit3 = m2?.shadow != null || m2?.boxShadow != null || m2?.box_shadow != null;
|
|
139210
139211
|
const elevationShadow = !elevation ? wrapShadow : explicit3 ? elevationBoxShadow({ border: elevation.border, shadow: wrapShadow }) : [elevationBoxShadow(elevation), wrapShadow].filter(Boolean).join(", ") || void 0;
|
|
139211
|
-
return /* @__PURE__ */ jsx15("div", { style: { display: "flex", flexDirection: "column", gap: props2.spacing == null ? 8 : ctx.sp(props2.spacing), padding: props2.padding == null ? 12 : ctx.sp(props2.padding), background: elevation?.tint ? mixColor(fill3, elevation.tint.color, elevation.tint.alpha) : fill3, borderRadius: ctx.radius(props2.cornerRadius ?? "md", 10), overflow: "hidden", alignSelf: "stretch", ...props2.alignment ? { alignItems: props2.alignment === "center" ? "center" : props2.alignment === "trailing" ? "flex-end" : "flex-start" } : {}, ...wrap, ...elevationShadow ? { boxShadow: elevationShadow } : {} }, children: kids2(props2.children, ctx) });
|
|
139212
|
+
return /* @__PURE__ */ jsx15("div", { style: { display: "flex", flexDirection: "column", gap: props2.spacing == null ? 8 : ctx.sp(props2.spacing), padding: props2.padding == null ? 12 : ctx.sp(props2.padding), background: elevation?.tint ? mixColor(fill3, elevation.tint.color, elevation.tint.alpha) : fill3, borderRadius: ctx.radius(props2.cornerRadius ?? "md", 10), overflow: "hidden", alignSelf: "stretch", ...props2.alignment ? { alignItems: props2.alignment === "center" ? "center" : props2.alignment === "trailing" ? "flex-end" : "flex-start" } : {}, ...columnPlaceStyle(ctx.columnPlace), ...wrap, ...elevationShadow ? { boxShadow: elevationShadow } : {} }, children: kids2(props2.children, unplaced(ctx)) });
|
|
139212
139213
|
}
|
|
139213
139214
|
case "SplitView":
|
|
139214
139215
|
return /* @__PURE__ */ jsx15(SplitViewNode, { props: props2, ctx, wrap });
|
|
@@ -139301,7 +139302,10 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
139301
139302
|
const accessoryGlyph = props2.accessory === "chevron" ? "\u203A" : props2.accessory === "checkmark" ? "\u2713" : null;
|
|
139302
139303
|
const rowDisabled = props2.disabled === true || modifiers?.disabled === true || modifiers?.hitTestable === false || modifiers?.hit_testable === false;
|
|
139303
139304
|
const onClick = ctx.onAction && props2.onTap && !rowDisabled ? () => ctx.onAction(resolveItemDeep2(props2.onTap, ctx)) : void 0;
|
|
139304
|
-
const
|
|
139305
|
+
const rtlRow = layoutIsRTL(ctx);
|
|
139306
|
+
const ellDir = rtlRow ? { dir: "auto" } : {};
|
|
139307
|
+
const ellTxt = rtlRow ? txtRaw : txt;
|
|
139308
|
+
const ell = { display: "block", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", ...rtlRow ? { textAlign: "right" } : {} };
|
|
139305
139309
|
const modifierTap = modifiers?.onTap ?? modifiers?.on_tap;
|
|
139306
139310
|
const keyboardOperable = !!ctx.onAction && !rowDisabled && !!(props2.onTap || modifierTap);
|
|
139307
139311
|
const slotInteractive = (slot) => keyboardOperable && slot != null && hasInteractiveDescendant({ type: "ListItem", props: { slot } });
|
|
@@ -139334,9 +139338,9 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
139334
139338
|
const titleMd = mdCell(props2.title);
|
|
139335
139339
|
const subtitleMd = mdCell(props2.subtitle);
|
|
139336
139340
|
const textEl = /* @__PURE__ */ jsxs12("div", { style: { flex: 1, minWidth: 0, display: "flex", flexDirection: "column", gap: 2 }, children: [
|
|
139337
|
-
props2.overline != null && /* @__PURE__ */ jsx15("span", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(11), fontWeight: 600, letterSpacing: 0.4, textTransform: "uppercase", color: C2(props2.overlineColor ?? "textSecondary", "#888"), ...ell }, children:
|
|
139338
|
-
titleMd != null ? /* @__PURE__ */ jsx15("span", { style: { fontFamily: fontStack(titleF.family, ctx.idiom), fontSize: titleF.remSize, fontWeight: titleF.weight, color: C2(props2.titleColor ?? "textPrimary", "#13171e"), ...ell }, dangerouslySetInnerHTML: mdInline(titleMd, accentTextColor(ctx)) }) : /* @__PURE__ */ jsx15("span", { style: { fontFamily: fontStack(titleF.family, ctx.idiom), fontSize: titleF.remSize, fontWeight: titleF.weight, color: C2(props2.titleColor ?? "textPrimary", "#13171e"), ...ell }, children:
|
|
139339
|
-
props2.subtitle != null && (subtitleMd != null ? /* @__PURE__ */ jsx15("span", { style: { fontFamily: fontStack(subF.family, ctx.idiom), fontSize: subF.remSize, color: C2(props2.subtitleColor ?? "textSecondary", "#888"), ...ell }, dangerouslySetInnerHTML: mdInline(subtitleMd, accentTextColor(ctx)) }) : /* @__PURE__ */ jsx15("span", { style: { fontFamily: fontStack(subF.family, ctx.idiom), fontSize: subF.remSize, color: C2(props2.subtitleColor ?? "textSecondary", "#888"), ...ell }, children:
|
|
139341
|
+
props2.overline != null && /* @__PURE__ */ jsx15("span", { ...ellDir, style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(11), fontWeight: 600, letterSpacing: 0.4, textTransform: "uppercase", color: C2(props2.overlineColor ?? "textSecondary", "#888"), ...ell }, children: ellTxt(props2.overline, ctx) }),
|
|
139342
|
+
titleMd != null ? /* @__PURE__ */ jsx15("span", { ...ellDir, style: { fontFamily: fontStack(titleF.family, ctx.idiom), fontSize: titleF.remSize, fontWeight: titleF.weight, color: C2(props2.titleColor ?? "textPrimary", "#13171e"), ...ell }, dangerouslySetInnerHTML: mdInline(titleMd, accentTextColor(ctx)) }) : /* @__PURE__ */ jsx15("span", { ...ellDir, style: { fontFamily: fontStack(titleF.family, ctx.idiom), fontSize: titleF.remSize, fontWeight: titleF.weight, color: C2(props2.titleColor ?? "textPrimary", "#13171e"), ...ell }, children: ellTxt(props2.title, ctx) ?? (ctx.empty ? "" : "") }),
|
|
139343
|
+
props2.subtitle != null && (subtitleMd != null ? /* @__PURE__ */ jsx15("span", { ...ellDir, style: { fontFamily: fontStack(subF.family, ctx.idiom), fontSize: subF.remSize, color: C2(props2.subtitleColor ?? "textSecondary", "#888"), ...ell }, dangerouslySetInnerHTML: mdInline(subtitleMd, accentTextColor(ctx)) }) : /* @__PURE__ */ jsx15("span", { ...ellDir, style: { fontFamily: fontStack(subF.family, ctx.idiom), fontSize: subF.remSize, color: C2(props2.subtitleColor ?? "textSecondary", "#888"), ...ell }, children: ellTxt(props2.subtitle, ctx) }))
|
|
139340
139344
|
] });
|
|
139341
139345
|
return /* @__PURE__ */ jsxs12("div", { onClick, ...splitButton ? void 0 : buttonA11y, style: { display: "flex", alignItems: "center", gap: 12, width: "100%", padding: "10px 4px", boxSizing: "border-box", cursor: onClick ? "pointer" : void 0, ...wrap }, children: [
|
|
139342
139346
|
splitButton ? /* @__PURE__ */ jsxs12(Fragment5, { children: [
|
|
@@ -139692,7 +139696,7 @@ function listSeparatorStyle(separator, horizontal) {
|
|
|
139692
139696
|
const insetLeading = Math.max(0, Number(s5.insetLeading ?? s5.inset_leading ?? 0) || 0);
|
|
139693
139697
|
return { token, thickness, insetLeading };
|
|
139694
139698
|
}
|
|
139695
|
-
var AppearanceActionContext, rowValue, loadPdfFetch, WebViewBridgeHost2, useIsomorphicLayoutEffect3, GridColumnsContext, GridBoundList, GRID_SPAN_ALL, ResponsiveGrid, MasonryCells, SPLIT_EXPANDED_MIN_WIDTH, SPLIT_COLUMN_GAP, ResponsiveSplitView, appearKeyframesInjected, valueSwapKeyframesInjected, NUMERIC_TEXT, shimmerKeyframesInjected, APPEAR_KEYFRAMES, linkedEntranceKeyframesInjected, pressStylesInjected, REVEAL_ON_FOCUS_ATTR, FOCUS_RING_CSS, focusStylesInjected, HLIST_CHILD_CSS, hListStylesInjected, listAnimateRuntimeInstalled, transitionKeyframesInjected, ENTER_KEYFRAMES, countUpRuntimeInjected, MEASURE_PREFIX, measureRuntimeInjected, revealRuntimeInjected, AMBIENT_HOST_STYLE, AmbientMotionBox, vectorAnimStylesInjected, scrollProgressRuntimeInjected, scrollLinkedRuntime, confettiRuntimeInjected, lottieRuntimeInjected, lottieAssetHeaders, LOTTIE_RUNTIME_ATTRIBUTES, lottieAnims, riveRuntimeInjected, gradientKeyframesInjected, parallaxRuntimeInjected, spinKeyframesInjected, marqueeKeyframesInjected, alignItems, zJustifyItems, fillsZLayer, presentsFromOwnSurface, zLayerIndex, ZFILL_CSS, zFillStylesInjected, hAlignItems, bodyFont, kids2, columnKids, columnPlaceStyle, rowKidCtx, rowKids, staggeredKids, asTextL10n, asFinalTextL10n, asBoundText, useBoundString, asBoundCopy, useBoundCopy, InterpolatedTextView, txt, txtRaw, selectFragmentCase, fragmentValueHash, fragmentSlotContent, FragmentSlotNode, RichContentEditorNode, MediaFieldNode, WorkerSubtreeNode, RichContentNode, substituteItemDeep, resolveItemDeep2, resolveRowAction2, resolveSwipeActions, resolveModBindings, resolvedComponentId, directServiceBindings, withRootStyle, InScreenMorphHost, ReactiveDirectScalars, resolveNodeBoundTransforms, HiddenGate, ExitPresence, StatefulSectionNode, KEYBOARD_INPUT_MODES, AUTOCAPITALIZE_VALUES, ENTER_KEY_HINTS, AUTOGROW_CEILING, EditableField, MENU_ANCHOR_CONTROL, MenuNode, MENU_LONG_PRESS_MS, menuOpensOnLongPress, LoadMoreSentinel, FieldErrorNode, FormView, MediaSlotProvider, MEDIA_ITEM_BINDABLE, MediaPlayerView, VideoNode, PdfDocumentCanvas, PdfViewNode, WebViewNode, InteractivePicker, InteractiveDatePicker, InteractiveSearchField, InteractiveStepper, NODE_EXTRAS_TARGET, SYNTHETIC_TAP_ROLE, SYNTHETIC_TABINDEX, INFERRED_DECORATIVE, SELF_RENDERED_LEAF, ROLE_WHEN_NAMED, AUTHORED_ROLE, PENDING_RANGE, RANGE_ROLES, NODE_A11Y_ATTRS, INTERACTIVE_ROLES, ALWAYS_INTERACTIVE_COMPONENT_TYPES, TAP_ACTIVATOR_ATTR, TAP_GROUP_ATTR, NESTED_CONTROL_SELECTOR, VISUALLY_HIDDEN, NAME_SKIP_SELECTOR, activatorNameObservers, ACTIVATOR_STATE_ATTRS, controlNode, ToggleNode, SliderNode, SelectionControlNode, TabsNode, SegmentedControlNode, DisclosureGroupNode, GridNode, SplitViewNode, REVEAL_RELEASE_MS, REVEAL_FADE_MS, REVEAL_BUFFER, revealProgress, countWords, RevealText, TextNode, ImageNode, ANIMATION_LEAF, LottieNode, RiveNode, AvatarNode, IconNode, EMPTY_STATE_SPACING, EmptyStateNode, ERROR_STATE_VARIANTS, ERROR_STATE_SPACING, ErrorStateNode, ButtonNode, OtpInputNode, ProgressBarNode, SnackbarNode, ACTIVITY_DEFAULT_NAME, ACTIVITY_RING_ARC, ActivityIndicatorNode, NATIVELY_TABBABLE, BottomSheetNode, BOTTOM_DRAWER_HOST_STACK_EVENT, ModalBottomSheetNode, BottomDrawerNode, PRESENTED_OVERLAY_ATTR, TooltipNode, PopoverNode, ChipsInputNode, ChipNode, TableNode, GaugeRing, GaugeNode, RATING_METRICS, ratingMetrics, RatingNode, AvatarStripNode, CHART_STROKE_CYCLE, chartStrokeAt, chartBarCenter, ChartNode, donutSliceOpacity, DonutChartNode, QrCodeNode, ShapeNode, LegendMarker, LegendNode, cellAlign, dataTableProbe, DataTableNode, voiceNoteState, voiceNoteDelivery, VOICE_NOTE_DEFAULT_BARS, clampBarCount, VoiceNoteNode, LiveWaveformNode, PageControlNode, TimelineNode, ECHO_WINDOW_MS, heldPageIndex, LiveWindowMeasured, LiveWindowPage, PagingNode, WheelPickerNode, ColorPickerNode, FilterChipsNode, TILE_PX, MAX_MERCATOR_LAT, DEFAULT_TILE_MAX_ZOOM, CIRCLE_SEGMENTS, METRES_PER_DEG_LAT, MARKER_HIT_RADIUS, SHAPE_HIT_RADIUS, MapNode, CAROUSEL_SETTLE_MS, railScrollLeft, carouselScrollLeft, scrollCarouselTo, CarouselNode, BannerNode, CollapsingHeaderNode, UnsupportedOnSurface, CALENDAR_DATE_ONLY_RE, CAL_DEFAULT_MAX_DOTS, CAL_AGENDA_INITIAL_DAYS, CAL_AGENDA_PAGE_DAYS, CAL_DEFAULT_SNAP_MINUTES, CAL_UNASSIGNED_LANE_ID, MonthCalendarNode, TimeGridNode, AgendaNode, ARIA_ROLE, initialFocusScheduled, PRESENTED_SCOPE, focusRoots, A11yHintDescription, rowRenderers, railRowFrame, renderRailRow, RowAnchors, reportedUnknownComponents, UnknownComponentNode, WebRenderer, ScrollIntoViewNode;
|
|
139699
|
+
var AppearanceActionContext, rowValue, loadPdfFetch, WebViewBridgeHost2, useIsomorphicLayoutEffect3, GridColumnsContext, GridBoundList, GRID_SPAN_ALL, ResponsiveGrid, MasonryCells, SPLIT_EXPANDED_MIN_WIDTH, SPLIT_COLUMN_GAP, ResponsiveSplitView, appearKeyframesInjected, valueSwapKeyframesInjected, NUMERIC_TEXT, shimmerKeyframesInjected, APPEAR_KEYFRAMES, linkedEntranceKeyframesInjected, pressStylesInjected, REVEAL_ON_FOCUS_ATTR, FOCUS_RING_CSS, focusStylesInjected, HLIST_CHILD_CSS, hListStylesInjected, listAnimateRuntimeInstalled, transitionKeyframesInjected, ENTER_KEYFRAMES, countUpRuntimeInjected, MEASURE_PREFIX, measureRuntimeInjected, revealRuntimeInjected, AMBIENT_HOST_STYLE, AmbientMotionBox, vectorAnimStylesInjected, scrollProgressRuntimeInjected, scrollLinkedRuntime, confettiRuntimeInjected, lottieRuntimeInjected, lottieAssetHeaders, LOTTIE_RUNTIME_ATTRIBUTES, lottieAnims, riveRuntimeInjected, gradientKeyframesInjected, parallaxRuntimeInjected, spinKeyframesInjected, marqueeKeyframesInjected, alignItems, zJustifyItems, fillsZLayer, presentsFromOwnSurface, zLayerIndex, ZFILL_CSS, zFillStylesInjected, hAlignItems, bodyFont, kids2, columnKids, PLACED_TYPES, unplaced, columnPlaceStyle, rowKidCtx, rowKids, staggeredKids, asTextL10n, asFinalTextL10n, asBoundText, useBoundString, asBoundCopy, useBoundCopy, InterpolatedTextView, txt, oneLineDir, txtRaw, selectFragmentCase, fragmentValueHash, fragmentSlotContent, FragmentSlotNode, RichContentEditorNode, MediaFieldNode, WorkerSubtreeNode, RichContentNode, substituteItemDeep, resolveItemDeep2, resolveRowAction2, resolveSwipeActions, resolveModBindings, resolvedComponentId, directServiceBindings, withRootStyle, InScreenMorphHost, ReactiveDirectScalars, resolveNodeBoundTransforms, HiddenGate, ExitPresence, StatefulSectionNode, KEYBOARD_INPUT_MODES, AUTOCAPITALIZE_VALUES, ENTER_KEY_HINTS, AUTOGROW_CEILING, EditableField, MENU_ANCHOR_CONTROL, MenuNode, MENU_LONG_PRESS_MS, menuOpensOnLongPress, LoadMoreSentinel, FieldErrorNode, FormView, MediaSlotProvider, MEDIA_ITEM_BINDABLE, MediaPlayerView, VideoNode, PdfDocumentCanvas, PdfViewNode, WebViewNode, InteractivePicker, InteractiveDatePicker, InteractiveSearchField, InteractiveStepper, NODE_EXTRAS_TARGET, SYNTHETIC_TAP_ROLE, SYNTHETIC_TABINDEX, INFERRED_DECORATIVE, SELF_RENDERED_LEAF, ROLE_WHEN_NAMED, AUTHORED_ROLE, PENDING_RANGE, RANGE_ROLES, NODE_A11Y_ATTRS, INTERACTIVE_ROLES, ALWAYS_INTERACTIVE_COMPONENT_TYPES, TAP_ACTIVATOR_ATTR, TAP_GROUP_ATTR, NESTED_CONTROL_SELECTOR, VISUALLY_HIDDEN, NAME_SKIP_SELECTOR, activatorNameObservers, ACTIVATOR_STATE_ATTRS, controlNode, ToggleNode, SliderNode, SelectionControlNode, TabsNode, SegmentedControlNode, DisclosureGroupNode, GridNode, SplitViewNode, REVEAL_RELEASE_MS, REVEAL_FADE_MS, REVEAL_BUFFER, revealProgress, countWords, RevealText, TextNode, ImageNode, ANIMATION_LEAF, LottieNode, RiveNode, AvatarNode, IconNode, EMPTY_STATE_SPACING, EmptyStateNode, ERROR_STATE_VARIANTS, ERROR_STATE_SPACING, ErrorStateNode, ButtonNode, OtpInputNode, ProgressBarNode, SnackbarNode, ACTIVITY_DEFAULT_NAME, ACTIVITY_RING_ARC, ActivityIndicatorNode, NATIVELY_TABBABLE, BottomSheetNode, BOTTOM_DRAWER_HOST_STACK_EVENT, ModalBottomSheetNode, BottomDrawerNode, PRESENTED_OVERLAY_ATTR, TooltipNode, PopoverNode, ChipsInputNode, ChipNode, TableNode, GaugeRing, GaugeNode, RATING_METRICS, ratingMetrics, RatingNode, AVATAR_RING_INSET, AVATAR_BORDER_INSET, AvatarStripNode, CHART_STROKE_CYCLE, chartStrokeAt, chartBarCenter, ChartNode, donutSliceOpacity, DonutChartNode, QrCodeNode, ShapeNode, LegendMarker, LegendNode, cellAlign, dataTableProbe, DataTableNode, voiceNoteState, voiceNoteDelivery, VOICE_NOTE_DEFAULT_BARS, clampBarCount, VoiceNoteNode, LiveWaveformNode, PageControlNode, TimelineNode, ECHO_WINDOW_MS, heldPageIndex, LiveWindowMeasured, LiveWindowPage, PagingNode, WheelPickerNode, ColorPickerNode, FilterChipsNode, TILE_PX, MAX_MERCATOR_LAT, DEFAULT_TILE_MAX_ZOOM, CIRCLE_SEGMENTS, METRES_PER_DEG_LAT, MARKER_HIT_RADIUS, SHAPE_HIT_RADIUS, MapNode, CAROUSEL_SETTLE_MS, railScrollLeft, carouselScrollLeft, scrollCarouselTo, CarouselNode, BannerNode, CollapsingHeaderNode, UnsupportedOnSurface, CALENDAR_DATE_ONLY_RE, CAL_DEFAULT_MAX_DOTS, CAL_AGENDA_INITIAL_DAYS, CAL_AGENDA_PAGE_DAYS, CAL_DEFAULT_SNAP_MINUTES, CAL_UNASSIGNED_LANE_ID, MonthCalendarNode, TimeGridNode, AgendaNode, ARIA_ROLE, initialFocusScheduled, PRESENTED_SCOPE, focusRoots, A11yHintDescription, rowRenderers, railRowFrame, renderRailRow, RowAnchors, reportedUnknownComponents, UnknownComponentNode, WebRenderer, ScrollIntoViewNode;
|
|
139696
139700
|
var init_renderNode = __esm({
|
|
139697
139701
|
"../../core/web-renderer/src/renderNode.tsx"() {
|
|
139698
139702
|
"use strict";
|
|
@@ -140023,15 +140027,17 @@ var init_renderNode = __esm({
|
|
|
140023
140027
|
const place = alignment === "center" ? "center" : alignment === "trailing" ? layoutIsRTL(ctx) ? "left" : "right" : void 0;
|
|
140024
140028
|
if (!place && ctx.columnPlace === void 0) return kids2(arr3, ctx);
|
|
140025
140029
|
if (!Array.isArray(arr3)) return null;
|
|
140026
|
-
const plain5 =
|
|
140030
|
+
const plain5 = unplaced(ctx);
|
|
140027
140031
|
const placed = place ? derivedContext(plain5, `columnPlace:${place}`, () => ({ ...plain5, columnPlace: place })) : void 0;
|
|
140028
140032
|
return arr3.map((n2, i2) => {
|
|
140029
140033
|
const norm3 = placed && n2 && typeof n2 === "object" ? normalize2(n2) : void 0;
|
|
140030
140034
|
const mw = Number(norm3?.modifiers?.maxWidth ?? norm3?.modifiers?.max_width ?? 0);
|
|
140031
|
-
const c2 = placed && norm3
|
|
140035
|
+
const c2 = placed && norm3 && PLACED_TYPES.has(norm3.type) && mw > 0 ? placed : plain5;
|
|
140032
140036
|
return /* @__PURE__ */ jsx15(React22.Fragment, { children: renderNode(n2, c2) }, n2?.id ?? i2);
|
|
140033
140037
|
});
|
|
140034
140038
|
};
|
|
140039
|
+
PLACED_TYPES = /* @__PURE__ */ new Set(["VStack", "Card", "HStack", "ZStack"]);
|
|
140040
|
+
unplaced = (ctx) => ctx.columnPlace === void 0 ? ctx : derivedContext(ctx, "columnPlace:none", () => ({ ...ctx, columnPlace: void 0 }));
|
|
140035
140041
|
columnPlaceStyle = (place) => place === "center" ? { width: "100%", marginLeft: "auto", marginRight: "auto" } : place === "right" ? { width: "100%", marginLeft: "auto" } : place === "left" ? { width: "100%", marginRight: "auto" } : {};
|
|
140036
140042
|
rowKidCtx = (n2, ctx) => wantsRowStretch(n2) ? { ...ctx, rowStretch: true } : normalize2(n2).type === "Divider" ? { ...ctx, rowDivider: true } : ctx;
|
|
140037
140043
|
rowKids = (arr3, ctx) => Array.isArray(arr3) ? arr3.map((n2, i2) => /* @__PURE__ */ jsx15(React22.Fragment, { children: renderNode(n2, rowKidCtx(n2, ctx)) }, n2?.id ?? i2)) : null;
|
|
@@ -140078,6 +140084,7 @@ var init_renderNode = __esm({
|
|
|
140078
140084
|
return /* @__PURE__ */ jsx15(Fragment5, { children: formatInterpolated(pattern, params, resolved3, ctx) });
|
|
140079
140085
|
};
|
|
140080
140086
|
txt = (v2, ctx) => isolateRun(txtRaw(v2, ctx), ctx);
|
|
140087
|
+
oneLineDir = (ctx) => layoutIsRTL(ctx) ? { attrs: { dir: "auto" }, style: { textAlign: "right" } } : { attrs: {}, style: {} };
|
|
140081
140088
|
txtRaw = (v2, ctx) => {
|
|
140082
140089
|
if (!isBinding(v2)) return asText2(v2);
|
|
140083
140090
|
if (v2.startsWith(TRANSLATION_PREFIX)) return asText2(resolveTranslation(v2, ctx.catalog));
|
|
@@ -141819,9 +141826,9 @@ var init_renderNode = __esm({
|
|
|
141819
141826
|
] }) : isYouTube ? /* @__PURE__ */ jsx15("iframe", { title: String(item2?.title ?? "YouTube video"), src: `https://www.youtube-nocookie.com/embed/${encodeURIComponent(youtubeId(item2))}?playsinline=1&autoplay=${props2.autoplay === "never" ? 0 : 1}&mute=${props2.muted === true ? 1 : 0}&controls=${chrome === "none" ? 0 : 1}`, allow: "autoplay; encrypted-media; picture-in-picture; fullscreen", allowFullScreen: true, style: { border: 0, width: "100%", flex: 1, minHeight: 0 } }, mediaKey2) : isAudio ? /* @__PURE__ */ jsxs12("div", { style: { position: "relative", flex: 1, minHeight: 0, display: "grid", gridTemplateColumns: props2.presentation === "compact" || props2.presentation === "mini" ? "72px 1fr" : "1fr", alignItems: "center", gap: 16, padding: hidden ? 0 : 16, boxSizing: "border-box" }, children: [
|
|
141820
141827
|
poster && /* @__PURE__ */ jsx15("img", { src: poster, alt: "", style: chrome === "custom" ? { position: "absolute", inset: 0, width: "100%", height: "100%", objectFit: "cover", opacity: 0.62 } : { width: props2.presentation === "compact" || props2.presentation === "mini" ? 72 : "min(55%, 260px)", aspectRatio: "1", objectFit: "cover", borderRadius: ctx.radius("md", 8), justifySelf: "center" } }),
|
|
141821
141828
|
chrome === "custom" && /* @__PURE__ */ jsx15("div", { style: { position: "absolute", inset: 0, background: "linear-gradient(transparent,rgba(0,0,0,.75))" } }),
|
|
141822
|
-
!hidden && chrome !== "custom" && /* @__PURE__ */ jsxs12("div", { style: { textAlign: props2.presentation === "compact" || props2.presentation === "mini" ? "left" : "center", minWidth: 0 }, children: [
|
|
141823
|
-
/* @__PURE__ */ jsx15("div", { style: { fontWeight: 700, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children:
|
|
141824
|
-
/* @__PURE__ */ jsx15("div", { style: { opacity: 0.7, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children:
|
|
141829
|
+
!hidden && chrome !== "custom" && /* @__PURE__ */ jsxs12("div", { style: { textAlign: props2.presentation === "compact" || props2.presentation === "mini" ? layoutIsRTL(ctx) ? "right" : "left" : "center", minWidth: 0 }, children: [
|
|
141830
|
+
/* @__PURE__ */ jsx15("div", { ...layoutIsRTL(ctx) ? { dir: "auto" } : {}, style: { fontWeight: 700, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: String(item2?.title ?? "Untitled") }),
|
|
141831
|
+
/* @__PURE__ */ jsx15("div", { ...layoutIsRTL(ctx) ? { dir: "auto" } : {}, style: { opacity: 0.7, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: String(item2?.artist ?? item2?.album ?? "") })
|
|
141825
141832
|
] }),
|
|
141826
141833
|
/* @__PURE__ */ jsx15("audio", { ref: (el2) => {
|
|
141827
141834
|
mediaRef.current = el2;
|
|
@@ -144324,6 +144331,8 @@ var init_renderNode = __esm({
|
|
|
144324
144331
|
return onClickStar(i2) ? /* @__PURE__ */ jsx15("button", { type: "button", "aria-label": `Rate ${i2 + 1} ${i2 === 0 ? "star" : "stars"}`, "aria-pressed": i2 + 1 === Math.round(cv), onClick: onClickStar(i2), style: { display: "inline-grid", placeItems: "center", width: m2.cell, height: m2.cell, padding: 0, border: 0, background: "transparent", cursor: "pointer", opacity: filled2 ? 1 : 0.28 }, children: iconSvg(filled2 ? `${base2}_fill` : base2, { size: m2.glyph, color: col }) }, i2) : /* @__PURE__ */ jsx15("span", { style: { display: "inline-grid", placeItems: "center", width: m2.cell, height: m2.cell, opacity: filled2 ? 1 : 0.28 }, children: iconSvg(filled2 ? `${base2}_fill` : base2, { size: m2.glyph, color: col }) }, i2);
|
|
144325
144332
|
}) });
|
|
144326
144333
|
});
|
|
144334
|
+
AVATAR_RING_INSET = 2.5;
|
|
144335
|
+
AVATAR_BORDER_INSET = 2;
|
|
144327
144336
|
AvatarStripNode = withExtras("AvatarStripNode", ({ props: props2, ctx, wrap }) => {
|
|
144328
144337
|
const C2 = ctx.color;
|
|
144329
144338
|
const path2 = props2.avatarsPath ?? props2.avatars_path;
|
|
@@ -144334,16 +144343,21 @@ var init_renderNode = __esm({
|
|
|
144334
144343
|
const maxVisible = props2.maxVisible ?? 4;
|
|
144335
144344
|
const shown3 = avatars.slice(0, maxVisible);
|
|
144336
144345
|
const overflow = (props2.showOverflow ?? props2.show_overflow) === false ? 0 : props2.overflowCount || Math.max(0, avatars.length - maxVisible);
|
|
144337
|
-
const shift = Math.round(size * (1 - (props2.overlapRatio ?? 0.67)));
|
|
144346
|
+
const shift = Math.round(size * (1 - Math.min(1, Math.max(0, Number(props2.overlapRatio ?? 0.67) || 0))));
|
|
144338
144347
|
const caption = useBoundString(props2.caption, ctx).trim();
|
|
144339
144348
|
const count3 = shown3.length + overflow;
|
|
144340
144349
|
const countText = count3 > 0 ? `${count3} ${count3 === 1 ? "person" : "people"}` : "";
|
|
144341
144350
|
const groupName = [caption, countText].filter(Boolean).join(", ");
|
|
144351
|
+
const ring = props2.ringGradient ? ctx.gradient(props2.ringGradient) : void 0;
|
|
144352
|
+
const ringInset = ring ? AVATAR_RING_INSET : AVATAR_BORDER_INSET;
|
|
144342
144353
|
return /* @__PURE__ */ jsxs12("div", { role: "group", "aria-label": groupName || void 0, "data-a11y-value": countText || void 0, ...{ [SELF_RENDERED_LEAF]: true, [A11Y_PART]: "root" }, style: { width: "100%", ...wrap }, children: [
|
|
144343
|
-
/* @__PURE__ */ jsxs12("div", { role: "list", style: { display: "flex" }, children: [
|
|
144354
|
+
/* @__PURE__ */ jsxs12("div", { role: "list", style: { display: "flex", isolation: "isolate" }, children: [
|
|
144344
144355
|
shown3.map((a3, i2) => {
|
|
144345
|
-
const
|
|
144346
|
-
const
|
|
144356
|
+
const inset2 = ringInset;
|
|
144357
|
+
const pull = i2 === 0 ? 0 : -(size - shift + inset2 + inset2);
|
|
144358
|
+
const stack = { position: "relative", zIndex: i2 };
|
|
144359
|
+
const box = { ...stack, marginLeft: pull, width: size + 2 * inset2, height: size + 2 * inset2, boxSizing: "border-box", flex: "none", borderRadius: "50%" };
|
|
144360
|
+
const wrapStyle = ring ? { ...box, background: ring, padding: inset2 } : { ...box, border: `${inset2}px solid ${C2("surfacePrimary", "#fff")}` };
|
|
144347
144361
|
const who2 = asText2(a3.initials).trim();
|
|
144348
144362
|
const initials = avatarCircle(who2 || "?", size, C2, true, bodyFont(ctx), true);
|
|
144349
144363
|
const photo = typeof a3.imageUrl === "string" && a3.imageUrl && !isBinding(a3.imageUrl) ? a3.imageUrl : "";
|
|
@@ -144357,7 +144371,7 @@ var init_renderNode = __esm({
|
|
|
144357
144371
|
) : initials;
|
|
144358
144372
|
return who2 ? /* @__PURE__ */ jsx15("div", { role: "listitem", style: wrapStyle, children: React22.cloneElement(circle, { role: "img", "aria-label": who2 }) }, i2) : /* @__PURE__ */ jsx15("div", { "aria-hidden": "true", style: wrapStyle, children: circle }, i2);
|
|
144359
144373
|
}),
|
|
144360
|
-
overflow > 0 && /* @__PURE__ */ jsx15("div", { role: "listitem", style: { marginLeft: -(size - shift), width: size, height: size, borderRadius: "50%", border:
|
|
144374
|
+
overflow > 0 && /* @__PURE__ */ jsx15("div", { role: "listitem", style: { position: "relative", zIndex: shown3.length, marginLeft: shown3.length === 0 ? 0 : -(size - shift + ringInset + AVATAR_BORDER_INSET), width: size + 2 * AVATAR_BORDER_INSET, height: size + 2 * AVATAR_BORDER_INSET, boxSizing: "border-box", flex: "none", borderRadius: "50%", border: `${AVATAR_BORDER_INSET}px solid ${C2("surfacePrimary", "#fff")}`, background: C2("surfaceTertiary", "#e6e6e6"), color: C2("textPrimary", "#111"), display: "grid", placeItems: "center", fontSize: avatarStripInitialsFontSize(`+${overflow}`, size), whiteSpace: "nowrap", fontWeight: 700, fontFamily: bodyFont(ctx) }, children: /* @__PURE__ */ jsxs12("span", { role: "img", "aria-label": `${overflow} more`, children: [
|
|
144361
144375
|
"+",
|
|
144362
144376
|
overflow
|
|
144363
144377
|
] }) })
|
|
@@ -144678,7 +144692,7 @@ var init_renderNode = __esm({
|
|
|
144678
144692
|
...wrap
|
|
144679
144693
|
}, children: items.map((it2, i2) => /* @__PURE__ */ jsxs12("li", { style: { display: "flex", alignItems: "center", gap: 6, minWidth: 0 }, children: [
|
|
144680
144694
|
/* @__PURE__ */ jsx15(LegendMarker, { marker: it2.marker, color: it2.color ? C2(it2.color, "#116DFF") : C2("accentPrimary", "#116DFF") }),
|
|
144681
|
-
/* @__PURE__ */ jsx15("span", { style: { fontSize: pxToRem(13), color: C2("textSecondary", "#888"), minWidth: 0, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children:
|
|
144695
|
+
/* @__PURE__ */ jsx15("span", { ...oneLineDir(ctx).attrs, style: { fontSize: pxToRem(13), color: C2("textSecondary", "#888"), minWidth: 0, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap", ...oneLineDir(ctx).style }, children: txtRaw(it2.label, ctx) }),
|
|
144682
144696
|
it2.value && /* @__PURE__ */ jsx15("span", { style: { fontSize: pxToRem(13), fontWeight: 600, color: C2("textPrimary", "#111") }, children: txt(it2.value, ctx) })
|
|
144683
144697
|
] }, i2)) });
|
|
144684
144698
|
});
|
|
@@ -146412,8 +146426,9 @@ var init_renderNode = __esm({
|
|
|
146412
146426
|
onKeyDown: calKeyActivate(!!ctx.onAction && tappable, () => onSelect(ev)),
|
|
146413
146427
|
role: tappable ? "button" : void 0,
|
|
146414
146428
|
tabIndex: ctx.onAction && tappable ? 0 : void 0,
|
|
146415
|
-
style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(11), fontWeight: 600, padding: "2px 6px", borderRadius: 4, background: C2(ev?.colorToken ?? "accentPrimary", "#116DFF"), color: C2("textOnAccent", "#fff"), whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", cursor: ctx.onAction && tappable ? "pointer" : "default" },
|
|
146416
|
-
|
|
146429
|
+
style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(11), fontWeight: 600, padding: "2px 6px", borderRadius: 4, background: C2(ev?.colorToken ?? "accentPrimary", "#116DFF"), color: C2("textOnAccent", "#fff"), whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", ...oneLineDir(ctx).style, cursor: ctx.onAction && tappable ? "pointer" : "default" },
|
|
146430
|
+
...oneLineDir(ctx).attrs,
|
|
146431
|
+
children: asText2(ev?.title)
|
|
146417
146432
|
},
|
|
146418
146433
|
j2
|
|
146419
146434
|
);
|
|
@@ -146504,7 +146519,7 @@ var init_renderNode = __esm({
|
|
|
146504
146519
|
boxSizing: "border-box"
|
|
146505
146520
|
},
|
|
146506
146521
|
children: [
|
|
146507
|
-
/* @__PURE__ */ jsx15("div", { style: { fontWeight: 700, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children:
|
|
146522
|
+
/* @__PURE__ */ jsx15("div", { ...oneLineDir(ctx).attrs, style: { fontWeight: 700, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", ...oneLineDir(ctx).style }, children: asText2(p2.ev?.title) }),
|
|
146508
146523
|
editable && /* @__PURE__ */ jsxs12(Fragment5, { children: [
|
|
146509
146524
|
/* @__PURE__ */ jsx15(
|
|
146510
146525
|
"button",
|
|
@@ -146688,7 +146703,7 @@ var init_renderNode = __esm({
|
|
|
146688
146703
|
/* @__PURE__ */ jsx15("div", { style: { width: 6, height: 6, borderRadius: "50%", background: C2(ev?.colorToken ?? "accentPrimary", "#116DFF"), flex: "none" } }),
|
|
146689
146704
|
/* @__PURE__ */ jsx15("div", { style: { width: 52, flex: "none", fontFamily: bodyFont(ctx), fontSize: pxToRem(12), color: C2("textSecondary", "#888") }, children: timeStr }),
|
|
146690
146705
|
/* @__PURE__ */ jsxs12("div", { style: { flex: 1, minWidth: 0 }, children: [
|
|
146691
|
-
/* @__PURE__ */ jsx15("div", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(15), fontWeight: 600, color: C2("textPrimary", "#13171e"), whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children:
|
|
146706
|
+
/* @__PURE__ */ jsx15("div", { ...oneLineDir(ctx).attrs, style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(15), fontWeight: 600, color: C2("textPrimary", "#13171e"), whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", ...oneLineDir(ctx).style }, children: asText2(ev?.title) }),
|
|
146692
146707
|
ev?.subtitle != null && /* @__PURE__ */ jsx15("div", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(13), color: C2("textSecondary", "#636b78") }, children: isolateRun(asText2(ev.subtitle), ctx) })
|
|
146693
146708
|
] })
|
|
146694
146709
|
]
|
|
@@ -222661,9 +222676,9 @@ var init_validate2 = __esm({
|
|
|
222661
222676
|
};
|
|
222662
222677
|
if (prices.some((p2) => territoryOf3(p2) === baseTerritory && !ended(p2)))
|
|
222663
222678
|
return [];
|
|
222664
|
-
const
|
|
222665
|
-
if (
|
|
222666
|
-
return unverified(`the territory of ${
|
|
222679
|
+
const unplaced2 = prices.filter((p2) => !territoryOf3(p2)).length;
|
|
222680
|
+
if (unplaced2)
|
|
222681
|
+
return unverified(`the territory of ${unplaced2} manual price(s) could not be read, so the base territory may still have one`);
|
|
222667
222682
|
return [{ id: "pricing.base_price.missing", severity: "error", field: "manualPrices", resourceType: "appPriceSchedule", resourceId: scheduleId, message: `the app has no price for its base territory ${baseTerritory}`, remediation: `Price it (free counts): asc-node pricing set --app APP --territory ${baseTerritory} --price 0.00 (or the price it sells for)` }];
|
|
222668
222683
|
}
|
|
222669
222684
|
/** Upstream pricing_availability.go `availabilityChecks`: availability configured, with at least one territory available. */
|
|
@@ -253906,52 +253921,52 @@ var init_preview_assets_generated = __esm({
|
|
|
253906
253921
|
init_define_HHP_CATALOG();
|
|
253907
253922
|
init_preview_assets_format();
|
|
253908
253923
|
PREVIEW_ASSET_MANIFEST = [
|
|
253909
|
-
{ key: "assets/DashboardHost-
|
|
253910
|
-
{ key: "assets/DevDrawer-
|
|
253911
|
-
{ key: "assets/IdiomCompare-
|
|
253912
|
-
{ key: "assets/LightboxViewer-
|
|
253913
|
-
{ key: "assets/OfflineReadingBar-
|
|
253914
|
-
{ key: "assets/PhonePreviewControl-
|
|
253915
|
-
{ key: "assets/SchemeCompare-
|
|
253916
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
253924
|
+
{ key: "assets/DashboardHost-KfOLBVdd.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "6346819c94d8de09f88d637bec8a6474a0db6374a51809614c5c3ba9fec35f60" },
|
|
253925
|
+
{ key: "assets/DevDrawer-cQi-UVy8.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "0e4f4b18c083971f8444b5a2498287ab20c05dd3d7fcbd936777ec125230e91c" },
|
|
253926
|
+
{ key: "assets/IdiomCompare-D-Vhqxho.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "7ede7cded89854bb4e068ebf87259dd3e96e1cc11b5689d0216633e3ec31f51f" },
|
|
253927
|
+
{ key: "assets/LightboxViewer-BRMV9tzm.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 15615, sha256: "07af495f5736869147c2a47598ed4097081d25ea71327be2f1219c370552666b" },
|
|
253928
|
+
{ key: "assets/OfflineReadingBar-BKK8V8oI.js", contentType: "application/javascript; charset=utf-8", offset: 37317, length: 1646, sha256: "208ff2eb93be76d01ae29f6e6ba99e89ae5351321f200d3b035610af2ca42b50" },
|
|
253929
|
+
{ key: "assets/PhonePreviewControl-CTHscVCL.js", contentType: "application/javascript; charset=utf-8", offset: 38963, length: 37851, sha256: "28adc203b4a184044b38bbd6b04d2acfa71527d654dc18a7133c0d552ea8f7ff" },
|
|
253930
|
+
{ key: "assets/SchemeCompare-B8PuuvK5.js", contentType: "application/javascript; charset=utf-8", offset: 76814, length: 1858, sha256: "0cb3ef7743d9e55655d6d101fbb576111aa10e7b4001cec5ec0ef9e09baa72d7" },
|
|
253931
|
+
{ key: "assets/WixFrogTelemetrySink-CE1WGJZw.js", contentType: "application/javascript; charset=utf-8", offset: 78672, length: 3515, sha256: "a05e5e2addd3acbc440662fd3be015b60ccda31f2748835f4171706b1355788d" },
|
|
253917
253932
|
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 82187, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
253918
253933
|
{ key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 84379, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
|
|
253919
|
-
{ key: "assets/catalogFontFaces-
|
|
253934
|
+
{ key: "assets/catalogFontFaces-CcYAPzAu.js", contentType: "application/javascript; charset=utf-8", offset: 120005, length: 1111, sha256: "08cb8d85bd98e44fef3abf939929fce6bb10f2b2f574da2f1a7d7f8a1fc1429e" },
|
|
253920
253935
|
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 121116, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
253921
|
-
{ key: "assets/files-transfer-
|
|
253936
|
+
{ key: "assets/files-transfer-BAnvsEvc.js", contentType: "application/javascript; charset=utf-8", offset: 123683, length: 6446, sha256: "917b8d8bd74abbff612a935099fb9cfa379cda56215437b30413e1dda7fce678" },
|
|
253922
253937
|
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 130129, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
|
|
253923
|
-
{ key: "assets/frogApiRules-
|
|
253938
|
+
{ key: "assets/frogApiRules-60javI12.js", contentType: "application/javascript; charset=utf-8", offset: 131301, length: 2207, sha256: "d412d1b454e4d003aa686609035c769893bdb3504ca5e8fad8ba75b090b345ef" },
|
|
253924
253939
|
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 133508, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
|
|
253925
253940
|
{ key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 134575, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
|
|
253926
253941
|
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 141153, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
253927
|
-
{ key: "assets/index-
|
|
253928
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
253929
|
-
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
253930
|
-
{ key: "assets/pdf-
|
|
253931
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
253932
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
253933
|
-
{ key: "assets/pdfDocument-
|
|
253934
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
253935
|
-
{ key: "assets/scrollLinkedRuntime-
|
|
253936
|
-
{ key: "assets/webviewBridgeHost-
|
|
253937
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
253938
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
253939
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
253940
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
253941
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
253942
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
253943
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
253944
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
253945
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
253946
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
253947
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
253948
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
253949
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
253950
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
253951
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
253952
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
253953
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
253954
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
253942
|
+
{ key: "assets/index-Bi6en3VG.js", contentType: "application/javascript; charset=utf-8", offset: 143857, length: 1636819, sha256: "4feacb48ead122a92c308810d05ec8c474a1c6acd5ee4baacb179a9205d2478a" },
|
|
253943
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1780676, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
253944
|
+
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1788427, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
|
|
253945
|
+
{ key: "assets/pdf-Cb89eFI-.js", contentType: "application/javascript; charset=utf-8", offset: 1798958, length: 488215, sha256: "e44b8b1db6e556b34b518a5b036c3444bcc7ade9d9908576ebe14e5ecce16f29" },
|
|
253946
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2287173, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
253947
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2287263, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
253948
|
+
{ key: "assets/pdfDocument-DLmGuOim.js", contentType: "application/javascript; charset=utf-8", offset: 3604297, length: 3470, sha256: "655ab3a35156ee92edb295aa5680c299385faa66d2d577f8de1f07d5c6dbaf51" },
|
|
253949
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3607767, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
253950
|
+
{ key: "assets/scrollLinkedRuntime-BxH9PPC_.js", contentType: "application/javascript; charset=utf-8", offset: 3610033, length: 2278, sha256: "cbd30e49be5f6dea911c2af3c1c6a96ac631ce383d4f4d305450e37c888278df" },
|
|
253951
|
+
{ key: "assets/webviewBridgeHost-KWRDYj8P.js", contentType: "application/javascript; charset=utf-8", offset: 3612311, length: 9889, sha256: "801c654d7bc790790a65be7128712bb298640ef2495ca5b83ec2290efe26e5dd" },
|
|
253952
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3622200, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
253953
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3626810, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
253954
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4115394, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
253955
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4206318, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
253956
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4297302, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
253957
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4388282, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
253958
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4479154, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
253959
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4570134, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
253960
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4678770, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
253961
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4787854, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
253962
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4896902, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
253963
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 5004602, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
253964
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5092710, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
253965
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5099528, length: 4924, sha256: "775d491294c5133562f92ae2cd533b46c60fff8162accb4fa4fca2f373d05f4c" },
|
|
253966
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5104452, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
|
|
253967
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5115909, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
253968
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5117080, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
|
|
253969
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5141383, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
|
|
253955
253970
|
];
|
|
253956
253971
|
}
|
|
253957
253972
|
});
|
|
Binary file
|
|
@@ -33,6 +33,9 @@ they decide what a phone screen looks like, and this guide decides how to compos
|
|
|
33
33
|
never a filled one: a filled button on every row is a wall of primary buttons, and `himi
|
|
34
34
|
validate` warns about it (`repeated_prominent_row_action`). One featured object may be a single
|
|
35
35
|
`Card`.
|
|
36
|
+
- **A row's trailing meta sits at the same height on every row.** A two-part meta (a time and an
|
|
37
|
+
unread count) is a hand-built row with the time on the name line and the badge on the preview
|
|
38
|
+
line, as Messages and Gmail draw it (recipe in §4); a one-part meta is a `ListItem` `trailing`.
|
|
36
39
|
- **When people choose by the photo, the photo leads.** Products, books, a portfolio and projects
|
|
37
40
|
are image tiles, not rows with a small thumbnail: a `Grid` with `columns: 2` (`columnsMedium: 3`,
|
|
38
41
|
`columnsExpanded: 4`) for products and projects, `columns: 3` with `spacing: 2` and no captions
|
|
@@ -57,6 +60,8 @@ they decide what a phone screen looks like, and this guide decides how to compos
|
|
|
57
60
|
- **The step that finishes the task sits in `stickyFooter`** — one primary `Button`, not a button
|
|
58
61
|
inside the last card. It is the screen's only filled button; every other one is `tonal`,
|
|
59
62
|
`secondary` or `tertiary` (`himi validate` warns on two filled buttons: `multiple_prominent_actions`).
|
|
63
|
+
The one exception is a screen that splits into columns on a tablet, where the button moves into
|
|
64
|
+
the column it finishes (see Tablets below).
|
|
60
65
|
- **Every tap target is at least 44 points** (48 dp on Android). A `Button` grows its own hit area;
|
|
61
66
|
an `Icon`, an `Image` or a stack with `modifiers.onTap` does not, so give it `padding` until it
|
|
62
67
|
reaches 44, or use an `iconOnly` `Button` (`himi validate` warns: `touch_target_too_small`).
|
|
@@ -78,10 +83,16 @@ they decide what a phone screen looks like, and this guide decides how to compos
|
|
|
78
83
|
splits from 600 on every platform.
|
|
79
84
|
- A short, bounded screen (a cart, a form, sign-in, settings) splits its parts with the same
|
|
80
85
|
grid: the items beside the order summary, the fields beside the explanation or the art, one
|
|
81
|
-
settings section beside the next.
|
|
82
|
-
|
|
83
|
-
`
|
|
84
|
-
|
|
86
|
+
settings section beside the next. When a screen splits like this, the step that finishes it
|
|
87
|
+
stays with the part it finishes: the summary `card` ends with the total and the primary
|
|
88
|
+
`Button`, and the screen has no `stickyFooter`. A footer bar across both columns is a phone bar
|
|
89
|
+
stretched under the split, far from the summary it belongs to; the summary's own button is how
|
|
90
|
+
a store's cart draws on a tablet. On a phone the grid stacks and that card is the last thing in
|
|
91
|
+
the scroll, which is where the total and the button are expected. Keep `stickyFooter` for a
|
|
92
|
+
screen that is one column on every width. Do not centre a capped column with spacers: on iOS the
|
|
93
|
+
spacers take two thirds of the row and the column gets the rest. A `maxWidth` `vstack`, `card`,
|
|
94
|
+
`hstack` or `zstack` inside a `center` column is centred on iOS, macOS, Android and the web.
|
|
95
|
+
React Native leaves it at the leading edge. A long or paged list (a chat list, a feed) stays the scroll root (see Fast screens
|
|
85
96
|
below), with its rows at full width and the time or count in `trailing`, as Mail and Messages
|
|
86
97
|
draw a list on a tablet. That is the wide layout for it, not a stretched phone layout.
|
|
87
98
|
|
|
@@ -431,6 +442,7 @@ Concrete patterns lifted from real usage:
|
|
|
431
442
|
- *Still saving:* give Save an `onLoadingTimeout` next to its `loadingPath`; the shell shows "Still saving…" at 10 s and calls it at 30 s so the worker can show the failed state.
|
|
432
443
|
- *Modes:* `selection: { activePath, countPath, onClose, items }` for bulk actions ("3 selected"), `edit: { activePath, onEdit, onDone, onCancel }` with `dirtyPath` for in-place editing. Bind each `activePath` to a worker bool; the bar swaps itself while it is true.
|
|
433
444
|
- **Cell list** — one `Section` with `inset: true` and a `header`, its children the `ListItem` cells; the cells own their own dividers and padding. A schedule, a service menu and a session list are this shape too, not a `Card` around each item.
|
|
445
|
+
- **Inbox row with a two-part meta** — `ListItem` centres `trailing` on the row, so a time alone sits mid-row while a time-over-badge stack sits higher, and the trailing column jumps from row to row down an inbox. When the meta has two parts (a time and an unread count, a price and a status), build the row yourself with the time on the name line and the badge on the preview line, as Messages and Gmail draw it: `hstack({ alignment: "leading", spacing: 12, children: [avatar, vstack({ spacing: 2, children: [hstack({ children: [name, spacer(), time] }), hstack({ children: [preview, spacer(), badge] })] })] })`, with `maxLines: 1` on the name and the preview. Every row keeps that shape; a row without a badge leaves the slot empty rather than changing layout. A one-part meta (a price, a chevron, a value) is a `ListItem` with it in `trailing`.
|
|
434
446
|
- **Photo tile** — `vstack({ spacing: 6, alignment: "leading", children: [ image({ url, fillWidth: true, aspectRatio: 0.8, contentMode: "fill", placeholder: "surfaceSecondary", contentDescription }) + cornerRadius 8, text(name, "body"), text(price, "callout", { color: "textSecondary" }) ] })` with `modifiers.onTap` on the stack, inside `grid({ columns: 2, columnsMedium: 3, columnsExpanded: 4, spacing: 12 })`. A shelf is the same tile at a fixed `width` (about 110) in `lazyList({ horizontal: true, spacing: 12 })`.
|
|
435
447
|
- **A website page with native UI around it** — `vstack({ children: [ header, sitePage(site, { path: "/book-online" }), stickyBar ] })`, where `site` is the app's `site` block (a `SiteShellConfig`) and `sitePage` comes from `@wix/himalaya/sdui`. It emits a `WebView` with `role: "primary"`, `fill`, its own scrolling, `modifiers.weight: 1` and the site preset as its config (the same URL and behaviour a site-shell tab gets; `webView: { … }` overrides it). `title` becomes the page's accessible name (`modifiers.accessibilityLabel`, which every `WebView` needs); without one the site's host is used. The weight gives the page only the height the header and bar leave. Put it at the screen root or directly in a root `VStack`, `HStack` or `ZStack`, and use one per screen. The validator rejects it inside a `LazyList`, `Pager`, `Carousel` or `CollapsingHeader`, or with its weight removed. A site-shell app already gets this form: `siteScreens(site)` gives each page both forms in one descriptor, the Tier-3 screen every app binary renders plus this tree in `payload`, which a newer binary draws instead. To put native UI around one page of a site-shell app and keep it working on older binaries, use `dualFormSiteScreen(defineSiteTab(site, page), vstack({ children: [ header, sitePage(site, { path: page.path, title: page.title }), stickyBar ] }))`. The page inside must load the same URL, with the same config and the same native capability scope (`capabilitiesRequired`), as the Tier-3 screen; `sitePage` scopes a page to no capability, as a site tab is. The validator checks all three (`dual_form_mismatch`), and the screen can carry no `logicBundle`. Older binaries draw only the Tier-3 page, without the header and bar. `siteScreens(site, { form: "node" })` serves the node form alone, for an app whose binaries all support it, and `desugarSiteScreen(descriptor)` converts one Tier-3 site screen. To let native UI follow the page (a cart badge, the page title), give the screen a `logicBundle` that declares `"webview"` and write `sitePage(site, { path, bridge: "worker" })`: the page talks to the worker through `@wix/himalaya/webview-page`, and the worker answers with `@himalaya/webview` ([webview-page-sdk.md](webview-page-sdk.md#a-site-page-that-talks-to-its-screens-worker)). Such a screen carries a worker, so it is a node-form screen (`sdui_layout`), not a dual-form one.
|
|
436
448
|
- **Overlay** — `zstack({ alignment: "center", children: [ backdropImage(cornerRadius 12), withModifiers(label, { padding, background: { token: "accentPrimary" }, cornerRadius: 10 }) ] })`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1825.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": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "3d4780e708fb2bd30472b34c3e2148c6983c5e459209d85755d35184"
|
|
86
86
|
}
|