@wix/himalaya-cli 0.838.0 → 0.840.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.
@@ -500,13 +500,29 @@ export type TextContent = {
500
500
  text: string;
501
501
  } | {
502
502
  template: InterpolatedText;
503
+ } | {
504
+ timeRef: WidgetTimeRef;
503
505
  };
506
+ /** Lever D (RFC 0002 OS-widget reactive leaf) — a sanctioned DECLARATIVE live time the OS
507
+ * ticks with NO worker and NO refresh, so it is a frozen literal rather than a
508
+ * `$service:`/`$item.` binding. `at` is epoch SECONDS. Mirrors iOS `WidgetTimeRef` and
509
+ * Android `WidgetTimeRef`; `core/ts/src/validator.ts` pins the same `{ at, style? }` shape
510
+ * and style set for widget snapshots. */
511
+ export interface WidgetTimeRef {
512
+ /** Epoch seconds the style counts from/to. */
513
+ at: number;
514
+ /** SwiftUI `Text.DateStyle` / Android time style (default "timer"). */
515
+ style?: "timer" | "relative" | "date" | "time" | "offset";
516
+ }
504
517
  export type TextProps = TextContent & {
505
518
  style?: TokenName;
506
519
  /** Foreground color token (default "textPrimary"). */
507
520
  color?: TokenName;
508
521
  /** Tail-truncate after N lines (absent = unlimited). */
509
522
  maxLines?: number;
523
+ /** Lever D — a live time value (countdown/relative) the OS ticks with no refresh.
524
+ * When present it OVERRIDES `text`. Widget-safe render only. */
525
+ timeRef?: WidgetTimeRef;
510
526
  /** RFC 0009 — render `text` as a constrained Markdown subset. */
511
527
  markdown?: boolean;
512
528
  /** RFC 0034 — capability enrichments. */
@@ -730,6 +746,9 @@ export interface AvatarStripProps {
730
746
  caption?: string;
731
747
  /** Fired when tapping any avatar. */
732
748
  onTap?: Action;
749
+ /** Gradient token painted as a ring around each avatar — the "story" ring.
750
+ * Resolved through the gradient tokens, not the colour ones. */
751
+ ringGradient?: TokenName;
733
752
  }
734
753
  export interface BadgeProps {
735
754
  /** Badge text — binding-aware ("$item."/"$service:") on web, iOS and Android. */
@@ -1215,6 +1234,14 @@ export interface TableProps {
1215
1234
  rows?: TableRow[];
1216
1235
  rowsPath?: string;
1217
1236
  }
1237
+ /** One ring of a concentric multi-ring Gauge (Apple-Fitness style). */
1238
+ export interface GaugeRing {
1239
+ /** Fraction 0..1 for this ring. */
1240
+ value?: number;
1241
+ /** `$service:`/`$item.` binding → a live number (overrides `value`). */
1242
+ valuePath?: string;
1243
+ tint?: TokenName;
1244
+ }
1218
1245
  export interface GaugeProps {
1219
1246
  value?: number;
1220
1247
  /** `$service:`/`$item.` binding → a live number (overrides `value`). */
@@ -1224,6 +1251,9 @@ export interface GaugeProps {
1224
1251
  label?: string;
1225
1252
  kind?: "radial" | "linear";
1226
1253
  tint?: TokenName;
1254
+ /** Concentric multi-ring gauge, drawn outer→inner. When present it overrides the
1255
+ * single `value`/`valuePath` radial. */
1256
+ rings?: GaugeRing[];
1227
1257
  /** Motion grammar (Batch 1, item 4) — tween the fill on value change instead of
1228
1258
  * snapping; gated by reduced motion. Mirror of ProgressBarProps.animated. */
1229
1259
  animated?: boolean;