@wix/himalaya-cli 0.1799.0 → 0.1801.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.
@@ -3330,6 +3330,48 @@ export interface TopBarConfig {
3330
3330
  /** RFC 0066 amendment "Title, leading and trailing completion" — "" / "auto" (default) | "leading" | "center".
3331
3331
  * Unknown values read as "auto". Per screen; `NavigationConfig.topBarTitleAlign` is the app-wide twin. */
3332
3332
  titleAlign?: string;
3333
+ /** RFC 0066 amendment "Bar types, styles, search, save and modes" — the tone of the cover image under an
3334
+ * `style: "immersive"` bar: "" / "dark" (default, white icons) | "light" (`#1A1B20` icons). Unknown ⇒ "dark". */
3335
+ coverTone?: string;
3336
+ /** RFC 0066 amendment "Bar types, styles, search, save and modes" (cover to solid) — a transparent or immersive bar stays
3337
+ * clear until this edge, then fades to its fill over 24pt. Unset ⇒ the 0→8pt ramp of a transparent bar. */
3338
+ solidAfter?: TopBarScrollEdge;
3339
+ /** RFC 0066 amendment "Bar types, styles, search, save and modes" — selection mode. */
3340
+ selection?: TopBarSelection;
3341
+ /** RFC 0066 amendment "Bar types, styles, search, save and modes" — edit mode. Uses `dirtyPath`. */
3342
+ edit?: TopBarEdit;
3343
+ }
3344
+ /** RFC 0066 amendment "Bar types, styles, search, save and modes" — where a transparent or immersive bar turns solid.
3345
+ * The fade starts when the bottom edge of the content node `nodeId` reaches the bar's bottom edge; with no
3346
+ * `nodeId`, or one the screen does not have, at the scroll `offset` (points). Both unset ⇒ 0. */
3347
+ export interface TopBarScrollEdge {
3348
+ nodeId?: string;
3349
+ offset?: number;
3350
+ }
3351
+ /** RFC 0066 amendment — selection mode. While `activePath` is truthy the bar shows Close (`onClose`), the count
3352
+ * title and the bulk `items`, which are disabled while the count is 0. */
3353
+ export interface TopBarSelection {
3354
+ /** `$service:` bool. Unset or unresolved ⇒ false: no mode. */
3355
+ activePath?: string;
3356
+ /** `$service:` number of selected items. Unresolved ⇒ 0. */
3357
+ countPath?: string;
3358
+ /** "{count}" is replaced by the count. "" ⇒ the localized "{count} selected". */
3359
+ titleFormat?: string;
3360
+ /** Close: the worker clears the selection and sets `activePath` false. */
3361
+ onClose?: Action;
3362
+ /** Bulk actions. iOS draws them in a bottom toolbar; Android two icons + More Actions. */
3363
+ items?: ToolbarItem[];
3364
+ /** Optional Select all: in More Actions on Android, a bar item on iOS and web. */
3365
+ selectAll?: ToolbarItem;
3366
+ }
3367
+ /** RFC 0066 amendment — edit mode. Outside the mode the bar shows Edit (`onEdit`); in it Done (`onDone`, disabled
3368
+ * until `TopBarConfig.dirtyPath` is truthy) and Cancel (`onCancel`, which asks to discard first when dirty). */
3369
+ export interface TopBarEdit {
3370
+ /** `$service:` bool. Unset or unresolved ⇒ false: not editing. */
3371
+ activePath?: string;
3372
+ onEdit?: Action;
3373
+ onDone?: Action;
3374
+ onCancel?: Action;
3333
3375
  }
3334
3376
  /** RFC 0066 §1 (+ its "top-bar gap items" amendment) — one top-bar item. Test id `toolbar.<id>`
3335
3377
  * (`toolbar-<id>` on web and React Native). Every tap carries an existing `Action`
@@ -3369,6 +3411,10 @@ export interface ToolbarItem {
3369
3411
  * the item's `onTap` and `onLongPress` fire. `avatarsPath` resolves on the screen, like the other
3370
3412
  * top-bar bindings. An "overflow" item draws its label row instead. */
3371
3413
  avatarStrip?: AvatarStripProps;
3414
+ /** RFC 0066 amendment "Bar types, styles, search, save and modes" — with `loadingPath` truthy for 30 s the shell
3415
+ * stops the spinner and dispatches this; the worker shows the failed state. Unset ⇒ the spinner stays.
3416
+ * "Still saving…" shows under the bar at 10 s either way. */
3417
+ onLoadingTimeout?: Action;
3372
3418
  }
3373
3419
  /** RFC 0066 amendment — an avatar item. Images are absolute https URLs (resolve a Wix
3374
3420
  * media id with `wixMediaUrl` before publishing). */
@@ -3829,9 +3875,10 @@ export interface SearchableConfig {
3829
3875
  onCancel?: Action;
3830
3876
  /** `$service:` bool: the search is busy. */
3831
3877
  loadingPath?: string;
3832
- /** Static suggestions. On the wire for a later release: no shell draws them yet (RFC 0010 decision 11). */
3878
+ /** Static suggestions, shown while the user types (RFC 0066 amendment "Bar types, styles, search, save and modes").
3879
+ * The validator warns until every shell draws them. */
3833
3880
  suggestions?: SearchSuggestion[];
3834
- /** `$service:` array of `{ id, label, icon? }`. Not drawn yet (decision 11). */
3881
+ /** `$service:` array of `{ id, label, icon? }`. */
3835
3882
  suggestionsPath?: string;
3836
3883
  /** `args.id` (+ `args.label`) of the tapped suggestion; a static suggestion's own `onTap` wins. */
3837
3884
  onSuggestionTap?: Action;
@@ -3841,6 +3888,18 @@ export interface SearchableConfig {
3841
3888
  scopePath?: string;
3842
3889
  /** `args.selectedId`. */
3843
3890
  onScopeChange?: Action;
3891
+ /** RFC 0066 amendment "Bar types, styles, search, save and modes" — `$service:` array of recent query strings,
3892
+ * shown while the query is empty. None ⇒ an empty area, no message. */
3893
+ recentsPath?: string;
3894
+ /** `args.value` (the recent query). Unset ⇒ the shell puts the query in the field and runs `onSubmit`. */
3895
+ onRecentTap?: Action;
3896
+ /** Clears the recents. Unset ⇒ no Clear control. */
3897
+ onClearRecents?: Action;
3898
+ /** `$service:` "" (results, default) | "empty" ("No results", the query kept) | "error" (the message and
3899
+ * Try Again). Unknown ⇒ "". */
3900
+ resultsStatePath?: string;
3901
+ /** Try Again of the error state. Unset ⇒ `onSubmit` with the same query. */
3902
+ onRetry?: Action;
3844
3903
  }
3845
3904
  /** RFC 0066 §2 — one static search suggestion (`SearchableConfig.suggestions`). */
3846
3905
  export interface SearchSuggestion {
@@ -485,6 +485,75 @@ export declare const screenDescriptorSchema: {
485
485
  readonly titleAlign: {
486
486
  readonly type: "string";
487
487
  };
488
+ readonly coverTone: {
489
+ readonly type: "string";
490
+ };
491
+ readonly solidAfter: {
492
+ readonly $ref: "#/$defs/topBarScrollEdge";
493
+ };
494
+ readonly selection: {
495
+ readonly $ref: "#/$defs/topBarSelection";
496
+ };
497
+ readonly edit: {
498
+ readonly $ref: "#/$defs/topBarEdit";
499
+ };
500
+ };
501
+ };
502
+ readonly topBarScrollEdge: {
503
+ readonly type: "object";
504
+ readonly additionalProperties: false;
505
+ readonly properties: {
506
+ readonly nodeId: {
507
+ readonly type: "string";
508
+ };
509
+ readonly offset: {
510
+ readonly type: "number";
511
+ };
512
+ };
513
+ };
514
+ readonly topBarSelection: {
515
+ readonly type: "object";
516
+ readonly additionalProperties: false;
517
+ readonly properties: {
518
+ readonly activePath: {
519
+ readonly type: "string";
520
+ };
521
+ readonly countPath: {
522
+ readonly type: "string";
523
+ };
524
+ readonly titleFormat: {
525
+ readonly type: "string";
526
+ };
527
+ readonly onClose: {
528
+ readonly $ref: "#/$defs/action";
529
+ };
530
+ readonly items: {
531
+ readonly type: "array";
532
+ readonly items: {
533
+ readonly $ref: "#/$defs/toolbarItem";
534
+ };
535
+ };
536
+ readonly selectAll: {
537
+ readonly $ref: "#/$defs/toolbarItem";
538
+ };
539
+ };
540
+ };
541
+ readonly topBarEdit: {
542
+ readonly type: "object";
543
+ readonly additionalProperties: false;
544
+ readonly properties: {
545
+ readonly activePath: {
546
+ readonly type: "string";
547
+ };
548
+ readonly onEdit: {
549
+ readonly $ref: "#/$defs/action";
550
+ };
551
+ readonly onDone: {
552
+ readonly $ref: "#/$defs/action";
553
+ };
554
+ readonly onCancel: {
555
+ readonly $ref: "#/$defs/action";
556
+ };
488
557
  };
489
558
  };
490
559
  readonly searchableConfig: {
@@ -542,6 +611,21 @@ export declare const screenDescriptorSchema: {
542
611
  readonly onScopeChange: {
543
612
  readonly $ref: "#/$defs/action";
544
613
  };
614
+ readonly recentsPath: {
615
+ readonly type: "string";
616
+ };
617
+ readonly onRecentTap: {
618
+ readonly $ref: "#/$defs/action";
619
+ };
620
+ readonly onClearRecents: {
621
+ readonly $ref: "#/$defs/action";
622
+ };
623
+ readonly resultsStatePath: {
624
+ readonly type: "string";
625
+ };
626
+ readonly onRetry: {
627
+ readonly $ref: "#/$defs/action";
628
+ };
545
629
  };
546
630
  };
547
631
  readonly searchSuggestion: {
@@ -638,6 +722,9 @@ export declare const screenDescriptorSchema: {
638
722
  readonly avatarStrip: {
639
723
  readonly $ref: "#/$defs/toolbarAvatarStrip";
640
724
  };
725
+ readonly onLoadingTimeout: {
726
+ readonly $ref: "#/$defs/action";
727
+ };
641
728
  };
642
729
  };
643
730
  readonly toolbarAvatarStrip: {
@@ -2067,6 +2154,75 @@ export declare const widgetSnapshotSchema: {
2067
2154
  readonly titleAlign: {
2068
2155
  readonly type: "string";
2069
2156
  };
2157
+ readonly coverTone: {
2158
+ readonly type: "string";
2159
+ };
2160
+ readonly solidAfter: {
2161
+ readonly $ref: "#/$defs/topBarScrollEdge";
2162
+ };
2163
+ readonly selection: {
2164
+ readonly $ref: "#/$defs/topBarSelection";
2165
+ };
2166
+ readonly edit: {
2167
+ readonly $ref: "#/$defs/topBarEdit";
2168
+ };
2169
+ };
2170
+ };
2171
+ readonly topBarScrollEdge: {
2172
+ readonly type: "object";
2173
+ readonly additionalProperties: false;
2174
+ readonly properties: {
2175
+ readonly nodeId: {
2176
+ readonly type: "string";
2177
+ };
2178
+ readonly offset: {
2179
+ readonly type: "number";
2180
+ };
2181
+ };
2182
+ };
2183
+ readonly topBarSelection: {
2184
+ readonly type: "object";
2185
+ readonly additionalProperties: false;
2186
+ readonly properties: {
2187
+ readonly activePath: {
2188
+ readonly type: "string";
2189
+ };
2190
+ readonly countPath: {
2191
+ readonly type: "string";
2192
+ };
2193
+ readonly titleFormat: {
2194
+ readonly type: "string";
2195
+ };
2196
+ readonly onClose: {
2197
+ readonly $ref: "#/$defs/action";
2198
+ };
2199
+ readonly items: {
2200
+ readonly type: "array";
2201
+ readonly items: {
2202
+ readonly $ref: "#/$defs/toolbarItem";
2203
+ };
2204
+ };
2205
+ readonly selectAll: {
2206
+ readonly $ref: "#/$defs/toolbarItem";
2207
+ };
2208
+ };
2209
+ };
2210
+ readonly topBarEdit: {
2211
+ readonly type: "object";
2212
+ readonly additionalProperties: false;
2213
+ readonly properties: {
2214
+ readonly activePath: {
2215
+ readonly type: "string";
2216
+ };
2217
+ readonly onEdit: {
2218
+ readonly $ref: "#/$defs/action";
2219
+ };
2220
+ readonly onDone: {
2221
+ readonly $ref: "#/$defs/action";
2222
+ };
2223
+ readonly onCancel: {
2224
+ readonly $ref: "#/$defs/action";
2225
+ };
2070
2226
  };
2071
2227
  };
2072
2228
  readonly searchableConfig: {
@@ -2124,6 +2280,21 @@ export declare const widgetSnapshotSchema: {
2124
2280
  readonly onScopeChange: {
2125
2281
  readonly $ref: "#/$defs/action";
2126
2282
  };
2283
+ readonly recentsPath: {
2284
+ readonly type: "string";
2285
+ };
2286
+ readonly onRecentTap: {
2287
+ readonly $ref: "#/$defs/action";
2288
+ };
2289
+ readonly onClearRecents: {
2290
+ readonly $ref: "#/$defs/action";
2291
+ };
2292
+ readonly resultsStatePath: {
2293
+ readonly type: "string";
2294
+ };
2295
+ readonly onRetry: {
2296
+ readonly $ref: "#/$defs/action";
2297
+ };
2127
2298
  };
2128
2299
  };
2129
2300
  readonly searchSuggestion: {
@@ -2220,6 +2391,9 @@ export declare const widgetSnapshotSchema: {
2220
2391
  readonly avatarStrip: {
2221
2392
  readonly $ref: "#/$defs/toolbarAvatarStrip";
2222
2393
  };
2394
+ readonly onLoadingTimeout: {
2395
+ readonly $ref: "#/$defs/action";
2396
+ };
2223
2397
  };
2224
2398
  };
2225
2399
  readonly toolbarAvatarStrip: {
@@ -9259,11 +9259,47 @@ var screenDescriptorSchema = {
9259
9259
  dirtyPath: { type: "string" },
9260
9260
  // RFC 0066 amendment "long press, bar visibility, tab-bar visibility" (field 15).
9261
9261
  visibilityPath: { type: "string" },
9262
- // RFC 0066 amendment "Title, leading and trailing completion" (field 17; 16 is `cover_tone`).
9263
- titleAlign: { type: "string" }
9262
+ // RFC 0066 amendment "Title, leading and trailing completion" (field 17).
9263
+ titleAlign: { type: "string" },
9264
+ // RFC 0066 amendment "Bar types, styles, search, save and modes" (fields 16, 18–20).
9265
+ coverTone: { type: "string" },
9266
+ solidAfter: { $ref: "#/$defs/topBarScrollEdge" },
9267
+ selection: { $ref: "#/$defs/topBarSelection" },
9268
+ edit: { $ref: "#/$defs/topBarEdit" }
9264
9269
  }
9265
9270
  },
9266
- // RFC 0010 "Native top-bar search" (SearchableConfig fields 1–15). `placement` stays a free string.
9271
+ topBarScrollEdge: {
9272
+ type: "object",
9273
+ additionalProperties: false,
9274
+ properties: {
9275
+ nodeId: { type: "string" },
9276
+ offset: { type: "number" }
9277
+ }
9278
+ },
9279
+ topBarSelection: {
9280
+ type: "object",
9281
+ additionalProperties: false,
9282
+ properties: {
9283
+ activePath: { type: "string" },
9284
+ countPath: { type: "string" },
9285
+ titleFormat: { type: "string" },
9286
+ onClose: { $ref: "#/$defs/action" },
9287
+ items: { type: "array", items: { $ref: "#/$defs/toolbarItem" } },
9288
+ selectAll: { $ref: "#/$defs/toolbarItem" }
9289
+ }
9290
+ },
9291
+ topBarEdit: {
9292
+ type: "object",
9293
+ additionalProperties: false,
9294
+ properties: {
9295
+ activePath: { type: "string" },
9296
+ onEdit: { $ref: "#/$defs/action" },
9297
+ onDone: { $ref: "#/$defs/action" },
9298
+ onCancel: { $ref: "#/$defs/action" }
9299
+ }
9300
+ },
9301
+ // RFC 0010 "Native top-bar search" (SearchableConfig fields 1–15) + RFC 0066 amendment "Bar types, styles,
9302
+ // search, save and modes" (16–20). `placement` and the results state stay free strings.
9267
9303
  searchableConfig: {
9268
9304
  type: "object",
9269
9305
  additionalProperties: false,
@@ -9282,7 +9318,12 @@ var screenDescriptorSchema = {
9282
9318
  onSuggestionTap: { $ref: "#/$defs/action" },
9283
9319
  scopes: { type: "array", items: { $ref: "#/$defs/searchScope" } },
9284
9320
  scopePath: { type: "string" },
9285
- onScopeChange: { $ref: "#/$defs/action" }
9321
+ onScopeChange: { $ref: "#/$defs/action" },
9322
+ recentsPath: { type: "string" },
9323
+ onRecentTap: { $ref: "#/$defs/action" },
9324
+ onClearRecents: { $ref: "#/$defs/action" },
9325
+ resultsStatePath: { type: "string" },
9326
+ onRetry: { $ref: "#/$defs/action" }
9286
9327
  }
9287
9328
  },
9288
9329
  searchSuggestion: {
@@ -9328,7 +9369,9 @@ var screenDescriptorSchema = {
9328
9369
  onLongPress: { $ref: "#/$defs/action" },
9329
9370
  badge: { $ref: "#/$defs/navBadge" },
9330
9371
  // RFC 0066 amendment "Top-bar avatar strip" (field 16) — the AvatarStrip props, drawn in the bar.
9331
- avatarStrip: { $ref: "#/$defs/toolbarAvatarStrip" }
9372
+ avatarStrip: { $ref: "#/$defs/toolbarAvatarStrip" },
9373
+ // RFC 0066 amendment "Bar types, styles, search, save and modes" (field 17).
9374
+ onLoadingTimeout: { $ref: "#/$defs/action" }
9332
9375
  }
9333
9376
  },
9334
9377
  // The proto `AvatarStripProps` as a toolbar item carries it. `caption`, `ringGradient` and `onTap` are
@@ -7271,11 +7271,47 @@ var screenDescriptorSchema = {
7271
7271
  dirtyPath: { type: "string" },
7272
7272
  // RFC 0066 amendment "long press, bar visibility, tab-bar visibility" (field 15).
7273
7273
  visibilityPath: { type: "string" },
7274
- // RFC 0066 amendment "Title, leading and trailing completion" (field 17; 16 is `cover_tone`).
7275
- titleAlign: { type: "string" }
7274
+ // RFC 0066 amendment "Title, leading and trailing completion" (field 17).
7275
+ titleAlign: { type: "string" },
7276
+ // RFC 0066 amendment "Bar types, styles, search, save and modes" (fields 16, 18–20).
7277
+ coverTone: { type: "string" },
7278
+ solidAfter: { $ref: "#/$defs/topBarScrollEdge" },
7279
+ selection: { $ref: "#/$defs/topBarSelection" },
7280
+ edit: { $ref: "#/$defs/topBarEdit" }
7276
7281
  }
7277
7282
  },
7278
- // RFC 0010 "Native top-bar search" (SearchableConfig fields 1–15). `placement` stays a free string.
7283
+ topBarScrollEdge: {
7284
+ type: "object",
7285
+ additionalProperties: false,
7286
+ properties: {
7287
+ nodeId: { type: "string" },
7288
+ offset: { type: "number" }
7289
+ }
7290
+ },
7291
+ topBarSelection: {
7292
+ type: "object",
7293
+ additionalProperties: false,
7294
+ properties: {
7295
+ activePath: { type: "string" },
7296
+ countPath: { type: "string" },
7297
+ titleFormat: { type: "string" },
7298
+ onClose: { $ref: "#/$defs/action" },
7299
+ items: { type: "array", items: { $ref: "#/$defs/toolbarItem" } },
7300
+ selectAll: { $ref: "#/$defs/toolbarItem" }
7301
+ }
7302
+ },
7303
+ topBarEdit: {
7304
+ type: "object",
7305
+ additionalProperties: false,
7306
+ properties: {
7307
+ activePath: { type: "string" },
7308
+ onEdit: { $ref: "#/$defs/action" },
7309
+ onDone: { $ref: "#/$defs/action" },
7310
+ onCancel: { $ref: "#/$defs/action" }
7311
+ }
7312
+ },
7313
+ // RFC 0010 "Native top-bar search" (SearchableConfig fields 1–15) + RFC 0066 amendment "Bar types, styles,
7314
+ // search, save and modes" (16–20). `placement` and the results state stay free strings.
7279
7315
  searchableConfig: {
7280
7316
  type: "object",
7281
7317
  additionalProperties: false,
@@ -7294,7 +7330,12 @@ var screenDescriptorSchema = {
7294
7330
  onSuggestionTap: { $ref: "#/$defs/action" },
7295
7331
  scopes: { type: "array", items: { $ref: "#/$defs/searchScope" } },
7296
7332
  scopePath: { type: "string" },
7297
- onScopeChange: { $ref: "#/$defs/action" }
7333
+ onScopeChange: { $ref: "#/$defs/action" },
7334
+ recentsPath: { type: "string" },
7335
+ onRecentTap: { $ref: "#/$defs/action" },
7336
+ onClearRecents: { $ref: "#/$defs/action" },
7337
+ resultsStatePath: { type: "string" },
7338
+ onRetry: { $ref: "#/$defs/action" }
7298
7339
  }
7299
7340
  },
7300
7341
  searchSuggestion: {
@@ -7340,7 +7381,9 @@ var screenDescriptorSchema = {
7340
7381
  onLongPress: { $ref: "#/$defs/action" },
7341
7382
  badge: { $ref: "#/$defs/navBadge" },
7342
7383
  // RFC 0066 amendment "Top-bar avatar strip" (field 16) — the AvatarStrip props, drawn in the bar.
7343
- avatarStrip: { $ref: "#/$defs/toolbarAvatarStrip" }
7384
+ avatarStrip: { $ref: "#/$defs/toolbarAvatarStrip" },
7385
+ // RFC 0066 amendment "Bar types, styles, search, save and modes" (field 17).
7386
+ onLoadingTimeout: { $ref: "#/$defs/action" }
7344
7387
  }
7345
7388
  },
7346
7389
  // The proto `AvatarStripProps` as a toolbar item carries it. `caption`, `ringGradient` and `onTap` are
package/dist/cli.mjs CHANGED
@@ -19120,11 +19120,47 @@ var init_validator = __esm({
19120
19120
  dirtyPath: { type: "string" },
19121
19121
  // RFC 0066 amendment "long press, bar visibility, tab-bar visibility" (field 15).
19122
19122
  visibilityPath: { type: "string" },
19123
- // RFC 0066 amendment "Title, leading and trailing completion" (field 17; 16 is `cover_tone`).
19124
- titleAlign: { type: "string" }
19123
+ // RFC 0066 amendment "Title, leading and trailing completion" (field 17).
19124
+ titleAlign: { type: "string" },
19125
+ // RFC 0066 amendment "Bar types, styles, search, save and modes" (fields 16, 18–20).
19126
+ coverTone: { type: "string" },
19127
+ solidAfter: { $ref: "#/$defs/topBarScrollEdge" },
19128
+ selection: { $ref: "#/$defs/topBarSelection" },
19129
+ edit: { $ref: "#/$defs/topBarEdit" }
19125
19130
  }
19126
19131
  },
19127
- // RFC 0010 "Native top-bar search" (SearchableConfig fields 1–15). `placement` stays a free string.
19132
+ topBarScrollEdge: {
19133
+ type: "object",
19134
+ additionalProperties: false,
19135
+ properties: {
19136
+ nodeId: { type: "string" },
19137
+ offset: { type: "number" }
19138
+ }
19139
+ },
19140
+ topBarSelection: {
19141
+ type: "object",
19142
+ additionalProperties: false,
19143
+ properties: {
19144
+ activePath: { type: "string" },
19145
+ countPath: { type: "string" },
19146
+ titleFormat: { type: "string" },
19147
+ onClose: { $ref: "#/$defs/action" },
19148
+ items: { type: "array", items: { $ref: "#/$defs/toolbarItem" } },
19149
+ selectAll: { $ref: "#/$defs/toolbarItem" }
19150
+ }
19151
+ },
19152
+ topBarEdit: {
19153
+ type: "object",
19154
+ additionalProperties: false,
19155
+ properties: {
19156
+ activePath: { type: "string" },
19157
+ onEdit: { $ref: "#/$defs/action" },
19158
+ onDone: { $ref: "#/$defs/action" },
19159
+ onCancel: { $ref: "#/$defs/action" }
19160
+ }
19161
+ },
19162
+ // RFC 0010 "Native top-bar search" (SearchableConfig fields 1–15) + RFC 0066 amendment "Bar types, styles,
19163
+ // search, save and modes" (16–20). `placement` and the results state stay free strings.
19128
19164
  searchableConfig: {
19129
19165
  type: "object",
19130
19166
  additionalProperties: false,
@@ -19143,7 +19179,12 @@ var init_validator = __esm({
19143
19179
  onSuggestionTap: { $ref: "#/$defs/action" },
19144
19180
  scopes: { type: "array", items: { $ref: "#/$defs/searchScope" } },
19145
19181
  scopePath: { type: "string" },
19146
- onScopeChange: { $ref: "#/$defs/action" }
19182
+ onScopeChange: { $ref: "#/$defs/action" },
19183
+ recentsPath: { type: "string" },
19184
+ onRecentTap: { $ref: "#/$defs/action" },
19185
+ onClearRecents: { $ref: "#/$defs/action" },
19186
+ resultsStatePath: { type: "string" },
19187
+ onRetry: { $ref: "#/$defs/action" }
19147
19188
  }
19148
19189
  },
19149
19190
  searchSuggestion: {
@@ -19189,7 +19230,9 @@ var init_validator = __esm({
19189
19230
  onLongPress: { $ref: "#/$defs/action" },
19190
19231
  badge: { $ref: "#/$defs/navBadge" },
19191
19232
  // RFC 0066 amendment "Top-bar avatar strip" (field 16) — the AvatarStrip props, drawn in the bar.
19192
- avatarStrip: { $ref: "#/$defs/toolbarAvatarStrip" }
19233
+ avatarStrip: { $ref: "#/$defs/toolbarAvatarStrip" },
19234
+ // RFC 0066 amendment "Bar types, styles, search, save and modes" (field 17).
19235
+ onLoadingTimeout: { $ref: "#/$defs/action" }
19193
19236
  }
19194
19237
  },
19195
19238
  // The proto `AvatarStripProps` as a toolbar item carries it. `caption`, `ringGradient` and `onTap` are
@@ -20223,7 +20266,13 @@ var init_declared_navigation_lint = __esm({
20223
20266
  "onRemove",
20224
20267
  "onCreate",
20225
20268
  "onCancel",
20226
- "onSubmit"
20269
+ "onSubmit",
20270
+ // RFC 0066 amendment "Bar types, styles, search, save and modes": the mode buttons and the recent-search rows.
20271
+ "onClose",
20272
+ "onEdit",
20273
+ "onDone",
20274
+ "onRecentTap",
20275
+ "onClearRecents"
20227
20276
  ]);
20228
20277
  tapField = (at2) => {
20229
20278
  const m2 = /(?:^|\.)([A-Za-z]+)(?:\[\d+\])?\.actionId$/.exec(at2);
@@ -23897,6 +23946,47 @@ function topBarFindings(descriptor) {
23897
23946
  out2.push({ path: `topBar.items[${idx}].badge`, ruleCode: "top_bar_badge_on_overflow", message: `An item in More Actions (${i2.placement === "overflow" ? '`placement: "overflow"`' : "moved there because the bar has more than two trailing slots (R2)"}) has a \`badge\`, and the menu row draws none. Move the item to a visible slot, or put the count in its \`label\`` });
23898
23947
  }
23899
23948
  });
23949
+ const setStr = (v2) => typeof v2 === "string" && v2 !== "";
23950
+ if (setStr(b3.coverTone)) {
23951
+ if (b3.style !== "immersive") {
23952
+ out2.push({ path: "topBar.coverTone", ruleCode: "top_bar_cover_tone_not_immersive", message: `\`coverTone\` is set, but \`style\` is ${JSON.stringify(b3.style ?? "")}, not "immersive". Only an immersive bar floats over a cover image, so every shell ignores the tone. Set \`style: "immersive"\`, or remove \`coverTone\`` });
23953
+ }
23954
+ if (!TOP_BAR_COVER_TONE_VALUES.has(b3.coverTone)) {
23955
+ out2.push({ path: "topBar.coverTone", ruleCode: "top_bar_unknown_cover_tone", message: `\`coverTone\` ${JSON.stringify(b3.coverTone)} is not a known value, so every shell reads it as "dark" (white icons). Use "dark" or "light"` });
23956
+ }
23957
+ }
23958
+ const solidAfter = b3.solidAfter;
23959
+ if (solidAfter && typeof solidAfter === "object" && !Array.isArray(solidAfter)) {
23960
+ if (!TOP_BAR_SCROLL_STYLES.has(String(b3.style ?? ""))) {
23961
+ out2.push({ path: "topBar.solidAfter", ruleCode: "top_bar_solid_after_opaque", message: `\`solidAfter\` is set, but \`style\` is ${JSON.stringify(b3.style ?? "")}. An opaque bar is solid from the start, so it is ignored. Set \`style: "transparent"\` or \`"immersive"\`, or remove \`solidAfter\`` });
23962
+ }
23963
+ const nodeId = solidAfter.nodeId;
23964
+ if (setStr(nodeId) && !nodeId.includes("$") && !componentNodes(descriptor).some((v2) => v2.node.id === nodeId)) {
23965
+ const raw = solidAfter.offset;
23966
+ const fallback = typeof raw === "number" && Number.isFinite(raw) ? Math.max(0, raw) : 0;
23967
+ const what = fallback === 0 ? "so the bar starts to fill as soon as the screen scrolls" : `so the bar stays clear for ${fallback}pt of scroll and then fades in, whatever the hero's height`;
23968
+ out2.push({ path: "topBar.solidAfter.nodeId", ruleCode: "top_bar_solid_after_unknown_node", message: `\`solidAfter.nodeId\` ${JSON.stringify(nodeId)} names no component on this screen. Every shell falls back to offset ${fallback}, ${what}. Give the hero image (or the node whose bottom edge ends the clear bar) this \`id\`` });
23969
+ }
23970
+ }
23971
+ const block = (v2) => v2 && typeof v2 === "object" && !Array.isArray(v2) ? v2 : null;
23972
+ for (const mode of ["selection", "edit"]) {
23973
+ const m2 = block(b3[mode]);
23974
+ if (m2 && !setStr(m2.activePath)) {
23975
+ out2.push({ path: `topBar.${mode}`, ruleCode: "top_bar_mode_no_active_path", message: `\`${mode}\` has no \`activePath\`, so the mode is never on and no shell draws it. Bind \`activePath\` to a \`$service:\` bool that the worker sets while the screen is in ${mode === "selection" ? "selection" : "edit"} mode` });
23976
+ }
23977
+ }
23978
+ const sel = block(b3.selection);
23979
+ const timed = [
23980
+ ...items.map((i2, idx) => [`topBar.items[${idx}]`, i2]),
23981
+ ...Array.isArray(sel?.items) ? sel.items.map((i2, idx) => [`topBar.selection.items[${idx}]`, i2]) : [],
23982
+ ...sel?.selectAll != null ? [["topBar.selection.selectAll", sel.selectAll]] : []
23983
+ ];
23984
+ for (const [at2, raw] of timed) {
23985
+ const i2 = raw;
23986
+ if (i2 && typeof i2 === "object" && i2.onLoadingTimeout != null && !setStr(i2.loadingPath)) {
23987
+ out2.push({ path: `${at2}.onLoadingTimeout`, ruleCode: "top_bar_loading_timeout_no_loading_path", message: "`onLoadingTimeout` is set on an item with no `loadingPath`. The 30-second timer runs only while `loadingPath` is truthy, so it never fires. Bind `loadingPath` to the busy flag of this item's own action (the save, the delete)" });
23988
+ }
23989
+ }
23900
23990
  const notHttps = (v2) => {
23901
23991
  if (typeof v2 !== "string" || v2 === "") return false;
23902
23992
  if (!/^https:\/\/[^/?#\s]/i.test(v2)) return true;
@@ -23966,6 +24056,16 @@ function topBarFindings(descriptor) {
23966
24056
  if (scopeKeys.length > 0) {
23967
24057
  out2.push({ path: `topBar.searchable.${scopeKeys[0]}`, ruleCode: "top_bar_search_scopes_not_drawn", message: `Search scopes are on the wire for a later release: no shell draws ${scopeKeys.join(", ")} yet (RFC 0010). Draw scope controls as the screen's own content` });
23968
24058
  }
24059
+ const stateKeys = ["resultsStatePath", "recentsPath"].filter((k3) => setStr(s5[k3]));
24060
+ if (stateKeys.length > 0 && s5.onChange == null && s5.onSubmit == null) {
24061
+ out2.push({ path: `topBar.searchable.${stateKeys[0]}`, ruleCode: "top_bar_search_states_no_query", message: `\`${stateKeys.join("`, `")}\` ${stateKeys.length > 1 ? "are" : "is"} set on a search with no \`onChange\` or \`onSubmit\`, so no query reaches the worker and the states never change. Add the handler that runs the search` });
24062
+ }
24063
+ if (s5.onRetry != null && !setStr(s5.resultsStatePath)) {
24064
+ out2.push({ path: "topBar.searchable.onRetry", ruleCode: "top_bar_search_retry_no_state", message: "`onRetry` is set with no `resultsStatePath`. Try Again shows only in the error state, which `resultsStatePath` reports, so it never shows. Bind `resultsStatePath`" });
24065
+ }
24066
+ if ((s5.onRecentTap != null || s5.onClearRecents != null) && !setStr(s5.recentsPath)) {
24067
+ out2.push({ path: `topBar.searchable.${s5.onRecentTap != null ? "onRecentTap" : "onClearRecents"}`, ruleCode: "top_bar_search_recents_no_path", message: "`onRecentTap` / `onClearRecents` is set with no `recentsPath`, so no recent search is drawn and nothing can be tapped or cleared. Bind `recentsPath`" });
24068
+ }
23969
24069
  for (const key4 of TOP_BAR_SEARCH_BINDINGS) {
23970
24070
  const v2 = s5[key4];
23971
24071
  if (typeof v2 === "string" && v2.startsWith("$local:")) {
@@ -25145,7 +25245,7 @@ function validateAppWebViewInstances(screens, opts) {
25145
25245
  ];
25146
25246
  return webViewEmbeddedIssues(findings).map((issue3, i2) => ({ ...issue3, screenId: findings[i2].screenId }));
25147
25247
  }
25148
- var CRAWL_BLOCKING_PASSES, BOOT_EVAL_TIMEOUT_MS, BUNDLE_FILENAME, DRIFT_PROBES, DEVICE_NETWORK_WITHHELD, DEVICE_STRIPPED_HOST_GLOBALS, DEVICE_WITHHELD, DEVICE_PARITY_CANDIDATES, DEVICE_PARITY_WITHHELD, defaultEvaluator, bootEvaluator, actionEvaluator, NATIVE_PROP_ENUMS, KNOWN_PROPS, IN_ARRAY_BINDING_PROPS, SERVICE_SIGIL, INTEGER_PROPS, NESTED_COMPONENT_SLOTS, NESTED_SLOT_DECODE_KILL, NATIVE_REQUIRED_PROPS, bareNestedClass, NATIVE_NESTED_CLASSES, NATIVE_MODIFIERS_CLASS, NATIVE_NESTED_SCALARS, NATIVE_DESCRIPTOR_CLASS, NATIVE_DESCRIPTOR_NESTED, NATIVE_NESTED_PROPS, LENIENT_TOP_BAR_BLOCKS, MODIFIER_KEYS, INTEGER_MODIFIERS, MODIFIER_KINDS, SCHEMA_SCORED_NODES, CORE_PACKAGES, LEGACY_UNSCORED_KEYS, DYNAMIC_PLACEHOLDER, LITERAL_ONLY_PROPS, SERVICE_ONLY_BINDING_PROPS, WHOLE_VALUE_BINDING, EMBEDDED_BINDING, OPTIONS_BINDING_PROPS, EDITOR_SERVICE_NAME, SHEET_PLACEMENTS, UNSAFE_TO_RECURSE_DEPTH, TOP_BAR_TRAILING_LIMIT, TOP_BAR_NON_TRAILING, TOP_BAR_TITLE_ALIGN_VALUES, TOP_BAR_TITLE_DISPLAY_VALUES, TOP_BAR_SEARCH_BINDINGS, TOP_BAR_SEARCH_GATE, PRESS_PROPS, PRESS_OWNING_SLOTS, TAB_BAR_KINDS_WITHOUT_BOTTOM_TABS, ORIENTATION_NAMES, DEFAULT_ENVELOPE, BUTTON_STYLES, PROP_VALUE_ENUMS, PROP_VALUE_DEFAULTS, EMPTY_STATE_ACTION_STYLES, EMPTY_STATE_ACTION_SIZES;
25248
+ var CRAWL_BLOCKING_PASSES, BOOT_EVAL_TIMEOUT_MS, BUNDLE_FILENAME, DRIFT_PROBES, DEVICE_NETWORK_WITHHELD, DEVICE_STRIPPED_HOST_GLOBALS, DEVICE_WITHHELD, DEVICE_PARITY_CANDIDATES, DEVICE_PARITY_WITHHELD, defaultEvaluator, bootEvaluator, actionEvaluator, NATIVE_PROP_ENUMS, KNOWN_PROPS, IN_ARRAY_BINDING_PROPS, SERVICE_SIGIL, INTEGER_PROPS, NESTED_COMPONENT_SLOTS, NESTED_SLOT_DECODE_KILL, NATIVE_REQUIRED_PROPS, bareNestedClass, NATIVE_NESTED_CLASSES, NATIVE_MODIFIERS_CLASS, NATIVE_NESTED_SCALARS, NATIVE_DESCRIPTOR_CLASS, NATIVE_DESCRIPTOR_NESTED, NATIVE_NESTED_PROPS, LENIENT_TOP_BAR_BLOCKS, MODIFIER_KEYS, INTEGER_MODIFIERS, MODIFIER_KINDS, SCHEMA_SCORED_NODES, CORE_PACKAGES, LEGACY_UNSCORED_KEYS, DYNAMIC_PLACEHOLDER, LITERAL_ONLY_PROPS, SERVICE_ONLY_BINDING_PROPS, WHOLE_VALUE_BINDING, EMBEDDED_BINDING, OPTIONS_BINDING_PROPS, EDITOR_SERVICE_NAME, SHEET_PLACEMENTS, UNSAFE_TO_RECURSE_DEPTH, TOP_BAR_TRAILING_LIMIT, TOP_BAR_NON_TRAILING, TOP_BAR_TITLE_ALIGN_VALUES, TOP_BAR_TITLE_DISPLAY_VALUES, TOP_BAR_COVER_TONE_VALUES, TOP_BAR_SCROLL_STYLES, TOP_BAR_SEARCH_BINDINGS, TOP_BAR_SEARCH_GATE, PRESS_PROPS, PRESS_OWNING_SLOTS, TAB_BAR_KINDS_WITHOUT_BOTTOM_TABS, ORIENTATION_NAMES, DEFAULT_ENVELOPE, BUTTON_STYLES, PROP_VALUE_ENUMS, PROP_VALUE_DEFAULTS, EMPTY_STATE_ACTION_STYLES, EMPTY_STATE_ACTION_SIZES;
25149
25249
  var init_validate_descriptor_core = __esm({
25150
25250
  "../../core/dev-server/src/validate-descriptor.core.ts"() {
25151
25251
  init_define_HHP_CATALOG();
@@ -26343,7 +26443,9 @@ var init_validate_descriptor_core = __esm({
26343
26443
  TOP_BAR_NON_TRAILING = /* @__PURE__ */ new Set(["leading", "principal", "bottom", "keyboard", "overflow"]);
26344
26444
  TOP_BAR_TITLE_ALIGN_VALUES = /* @__PURE__ */ new Set(["", "auto", "leading", "center"]);
26345
26445
  TOP_BAR_TITLE_DISPLAY_VALUES = /* @__PURE__ */ new Set(["", "automatic", "large", "inline", "hidden"]);
26346
- TOP_BAR_SEARCH_BINDINGS = ["valuePath", "focusPath", "loadingPath", "suggestionsPath", "scopePath"];
26446
+ TOP_BAR_COVER_TONE_VALUES = /* @__PURE__ */ new Set(["", "dark", "light"]);
26447
+ TOP_BAR_SCROLL_STYLES = /* @__PURE__ */ new Set(["transparent", "immersive"]);
26448
+ TOP_BAR_SEARCH_BINDINGS = ["valuePath", "focusPath", "loadingPath", "suggestionsPath", "scopePath", "recentsPath", "resultsStatePath"];
26347
26449
  TOP_BAR_SEARCH_GATE = "$env:topBarSearch";
26348
26450
  PRESS_PROPS = /* @__PURE__ */ new Set(["action", "onTap"]);
26349
26451
  PRESS_OWNING_SLOTS = /* @__PURE__ */ new Set(["anchor", "submitButton"]);
@@ -40430,7 +40532,6 @@ function resolveIdiom(tokens2, ctx = {}) {
40430
40532
  var IDIOM_CONTEXTS, UNSAFE_KEYS;
40431
40533
  var init_idiom = __esm({
40432
40534
  "../../core/ts/src/idiom.ts"() {
40433
- "use strict";
40434
40535
  init_define_HHP_CATALOG();
40435
40536
  IDIOM_CONTEXTS = {
40436
40537
  ios: { native: ["ios"] },
@@ -42166,7 +42267,6 @@ function shouldRevealError(args) {
42166
42267
  var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
42167
42268
  var init_validation = __esm({
42168
42269
  "../../core/ts/src/validation.ts"() {
42169
- "use strict";
42170
42270
  init_define_HHP_CATALOG();
42171
42271
  EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
42172
42272
  URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
@@ -180760,6 +180860,33 @@ var init_surface_lint = __esm({
180760
180860
  }
180761
180861
  });
180762
180862
 
180863
+ // ../../core/ts/src/top-bar-fill.ts
180864
+ function topBarFill(color) {
180865
+ const fill2 = color.slice(0, 7).toUpperCase();
180866
+ const light = contrastRatio4(fill2, TOP_BAR_LIGHT_FOREGROUND);
180867
+ const dark = contrastRatio4(fill2, TOP_BAR_DARK_FOREGROUND);
180868
+ const foreground = light >= dark ? TOP_BAR_LIGHT_FOREGROUND : TOP_BAR_DARK_FOREGROUND;
180869
+ const drawn = deriveAccentText(fill2, foreground);
180870
+ return {
180871
+ fill: fill2,
180872
+ foreground,
180873
+ ratio: round2(Math.max(light, dark)),
180874
+ drawn,
180875
+ drawnRatio: round2(contrastRatio4(drawn, foreground)),
180876
+ nudged: drawn !== fill2
180877
+ };
180878
+ }
180879
+ var TOP_BAR_DARK_FOREGROUND, TOP_BAR_LIGHT_FOREGROUND, round2;
180880
+ var init_top_bar_fill = __esm({
180881
+ "../../core/ts/src/top-bar-fill.ts"() {
180882
+ init_define_HHP_CATALOG();
180883
+ init_brand_color_math();
180884
+ TOP_BAR_DARK_FOREGROUND = "#1A1B20";
180885
+ TOP_BAR_LIGHT_FOREGROUND = "#FFFFFF";
180886
+ round2 = (n2) => Math.round(n2 * 100) / 100;
180887
+ }
180888
+ });
180889
+
180763
180890
  // src/token-lint.ts
180764
180891
  import { existsSync as existsSync68, readFileSync as readFileSync74 } from "node:fs";
180765
180892
  import { join as join64 } from "node:path";
@@ -180994,6 +181121,8 @@ function tokenColorIssues(dir, tokensPathOverride) {
180994
181121
  }
180995
181122
  const base2 = contrastFindings(colors);
180996
181123
  for (const f2 of base2) (f2.invisible ? error : warn4)(`${tokensPath}: ${f2.render(f2.schemes)}`);
181124
+ for (const message5 of topBarFillWarnings(colors)) warn4(`${tokensPath}: ${message5}`);
181125
+ const baseBarKeys = topBarFillNudgedKeys(colors);
180997
181126
  if (idiom !== null && typeof idiom === "object" && !Array.isArray(idiom)) {
180998
181127
  const seen = new Set(base2.flatMap((f2) => f2.schemes.map((s5) => `${f2.key}|${s5}`)));
180999
181128
  for (const [overlay, layer] of Object.entries(idiom)) {
@@ -181004,10 +181133,39 @@ function tokenColorIssues(dir, tokensPathOverride) {
181004
181133
  const added = f2.schemes.filter((s5) => !seen.has(`${f2.key}|${s5}`));
181005
181134
  if (added.length) (f2.invisible ? error : warn4)(`${tokensPath}: under the idiom.${overlay} overlay, ${f2.render(added)}`);
181006
181135
  }
181136
+ for (const message5 of topBarFillWarnings(merged, baseBarKeys)) {
181137
+ warn4(`${tokensPath}: under the idiom.${overlay} overlay, ${message5}`);
181138
+ }
181007
181139
  }
181008
181140
  }
181009
181141
  return issues;
181010
181142
  }
181143
+ function topBarFillNudgedKeys(colors) {
181144
+ const keys2 = /* @__PURE__ */ new Set();
181145
+ for (const scheme of SCHEMES) {
181146
+ const hex2 = schemeValue(colors.accentPrimary, scheme);
181147
+ if (hex2 && topBarFill(hex2).nudged) keys2.add(`${topBarFill(hex2).fill}|${scheme}`);
181148
+ }
181149
+ return keys2;
181150
+ }
181151
+ function topBarFillWarnings(colors, already = /* @__PURE__ */ new Set()) {
181152
+ const token = colors.accentPrimary;
181153
+ const byValue = /* @__PURE__ */ new Map();
181154
+ for (const scheme of SCHEMES) {
181155
+ const hex2 = schemeValue(token, scheme);
181156
+ if (hex2 && !already.has(`${topBarFill(hex2).fill}|${scheme}`)) byValue.set(hex2, [...byValue.get(hex2) ?? [], scheme]);
181157
+ }
181158
+ const out2 = [];
181159
+ for (const [hex2, schemes] of byValue) {
181160
+ const fill2 = topBarFill(hex2);
181161
+ if (!fill2.nudged) continue;
181162
+ const where = schemes.length === SCHEMES.length ? "" : ` (in ${schemes.join(" / ")})`;
181163
+ out2.push(
181164
+ `colors.accentPrimary ${fill2.fill}${where} reaches only ${fill2.ratio.toFixed(2)}:1 with ${fill2.foreground} text, under ${AA_TEXT}:1. A brand top bar draws ${fill2.drawn} instead (${fill2.drawnRatio.toFixed(2)}:1; RFC 0066 S-CONTR). ${TOP_BAR_LOW_CONTRAST_MESSAGE}`
181165
+ );
181166
+ }
181167
+ return out2;
181168
+ }
181011
181169
  function schemeValue(token, scheme) {
181012
181170
  let v2 = token;
181013
181171
  if (token !== null && typeof token === "object" && !Array.isArray(token)) {
@@ -181172,7 +181330,7 @@ function accentOnSurfacesFor(fgName, role, colors, declared, findings) {
181172
181330
  }
181173
181331
  }
181174
181332
  }
181175
- var INTEGER_TOKEN_FIELDS, INTEGER_TOKEN_MAPS, AA_TEXT, INVISIBLE_TEXT, CONTRAST_PAIRS, SCHEMES, channels3, toHex2, mixHex, onLightSide, SURFACE_TEXT_USE, SURFACE_TEXT_TOKENS;
181333
+ var INTEGER_TOKEN_FIELDS, INTEGER_TOKEN_MAPS, TOP_BAR_LOW_CONTRAST_MESSAGE, AA_TEXT, INVISIBLE_TEXT, CONTRAST_PAIRS, SCHEMES, channels3, toHex2, mixHex, onLightSide, SURFACE_TEXT_USE, SURFACE_TEXT_TOKENS;
181176
181334
  var init_token_lint = __esm({
181177
181335
  "src/token-lint.ts"() {
181178
181336
  init_define_HHP_CATALOG();
@@ -181180,12 +181338,14 @@ var init_token_lint = __esm({
181180
181338
  init_token_colors();
181181
181339
  init_idiom();
181182
181340
  init_brand_color_math();
181341
+ init_top_bar_fill();
181183
181342
  INTEGER_TOKEN_FIELDS = [
181184
181343
  { group: "typography", field: "size", unit: "points" },
181185
181344
  { group: "typography", field: "weight", unit: "a font weight such as 400 or 700" },
181186
181345
  { group: "motions", field: "duration", unit: "milliseconds" }
181187
181346
  ];
181188
181347
  INTEGER_TOKEN_MAPS = ["spacing", "radius"];
181348
+ TOP_BAR_LOW_CONTRAST_MESSAGE = "Text on this color may be hard to read. We adjusted the top bar so members can read it.";
181189
181349
  AA_TEXT = 4.5;
181190
181350
  INVISIBLE_TEXT = 1.5;
181191
181351
  CONTRAST_PAIRS = [
@@ -190240,6 +190400,21 @@ __export(nav_lint_exports, {
190240
190400
  navSharedIdErrors: () => navSharedIdErrors,
190241
190401
  pushRouteAdvisories: () => pushRouteAdvisories
190242
190402
  });
190403
+ function screenOnlyDefaultMessage(key4, value2) {
190404
+ const at2 = `navigation.topBarDefault.${key4}`;
190405
+ switch (key4) {
190406
+ case "scrollBehavior":
190407
+ return `${at2} ${JSON.stringify(value2)} makes the bar of EVERY screen that sets no \`topBar\` hide on scroll, forms and presented screens included. Set \`topBar.scrollBehavior\` on the screens that scroll long content.`;
190408
+ case "coverTone":
190409
+ case "solidAfter":
190410
+ return `${at2} describes one screen's cover image (its tone, or the node the bar turns solid after), but the default is copied onto every screen that sets no \`topBar\`, and those have a different hero or none. Set \`topBar.${key4}\` on the screen that draws the cover.`;
190411
+ case "selection":
190412
+ case "edit":
190413
+ return `${at2} is a mode bound to one screen's state: the default is copied onto every screen that sets no \`topBar\`, and each would resolve its \`activePath\` against its own worker. Set \`topBar.${key4}\` on the screen that has the mode.`;
190414
+ default:
190415
+ return `${at2} is a binding to one screen's state: the default is copied onto every screen that sets no \`topBar\`, and each would resolve it against its own worker. Set \`topBar.${key4}\` on the screen that owns the value.`;
190416
+ }
190417
+ }
190243
190418
  async function navIssues(dir, strict) {
190244
190419
  const issues = [];
190245
190420
  const push = (severity, ruleCode, message5) => issues.push({ screen: null, pass: "nav", severity, message: message5, ruleCode });
@@ -190384,11 +190559,8 @@ async function navIssues(dir, strict) {
190384
190559
  if (isPlainObject4(topBarDefault)) {
190385
190560
  for (const key4 of SCREEN_ONLY_TOP_BAR_KEYS) {
190386
190561
  const value2 = topBarDefault[key4];
190387
- if (value2 === void 0 || value2 === null || value2 === "" || key4 === "scrollBehavior" && value2 === "pinned") continue;
190388
- warn4(
190389
- "nav-topbar-default-screen-field",
190390
- key4 === "scrollBehavior" ? `navigation.topBarDefault.scrollBehavior ${JSON.stringify(value2)} makes the bar of EVERY screen that sets no \`topBar\` hide on scroll, forms and presented screens included. Set \`topBar.scrollBehavior\` on the screens that scroll long content.` : `navigation.topBarDefault.${key4} is a binding to one screen's state: the default is copied onto every screen that sets no \`topBar\`, and each would resolve it against its own worker. Set \`topBar.${key4}\` on the screen that owns the value.`
190391
- );
190562
+ if (value2 === void 0 || value2 === null || value2 === "" || key4 === "scrollBehavior" && value2 === "pinned" || key4 === "coverTone" && value2 === "dark") continue;
190563
+ warn4("nav-topbar-default-screen-field", screenOnlyDefaultMessage(key4, value2));
190392
190564
  }
190393
190565
  }
190394
190566
  if (isPlainObject4(topBarDefault)) {
@@ -190647,7 +190819,7 @@ var init_nav_lint = __esm({
190647
190819
  "deepLinkPatterns",
190648
190820
  "linkableScreens"
190649
190821
  ];
190650
- SCREEN_ONLY_TOP_BAR_KEYS = ["scrollBehavior", "dirtyPath", "visibilityPath"];
190822
+ SCREEN_ONLY_TOP_BAR_KEYS = ["scrollBehavior", "dirtyPath", "visibilityPath", "coverTone", "solidAfter", "selection", "edit"];
190651
190823
  isPlainObject4 = (v2) => typeof v2 === "object" && v2 !== null && !Array.isArray(v2);
190652
190824
  itemCount = (v2) => isPlainObject4(v2) && Array.isArray(v2.items) ? v2.items.length : 0;
190653
190825
  }
@@ -253477,8 +253649,9 @@ async function runStoreApp(input, deps = {}) {
253477
253649
  }
253478
253650
  if (!input.app || !isValidAppId(input.app)) return fail10("invalid_usage", input.app ? `--app "${input.app}" is not a valid app id` : "--app <id> is required", { usage: STORE_APP_USAGE });
253479
253651
  if (!input.site || !SITE_RE6.test(input.site)) return fail10("invalid_usage", "--site <msid> (the site's metaSiteId, a UUID) is required", { usage: STORE_APP_USAGE });
253480
- if (op === "set" && !input.androidPackage) return fail10("invalid_usage", "set needs --android-package himi.<name>", { usage: STORE_APP_USAGE });
253481
- const problem = op === "set" ? storePackageNameProblem(input.androidPackage) : null;
253652
+ if (input.linkOnly && (op !== "set" || input.androidPackage !== void 0)) return fail10("invalid_usage", "--link-only is for `store app set`, without --android-package", { usage: STORE_APP_USAGE });
253653
+ if (op === "set" && !input.linkOnly && !input.androidPackage) return fail10("invalid_usage", "set needs --android-package himi.<name> (or --link-only for an owner-signed app)", { usage: STORE_APP_USAGE });
253654
+ const problem = op === "set" && !input.linkOnly ? storePackageNameProblem(input.androidPackage) : null;
253482
253655
  if (problem) {
253483
253656
  return fail10("invalid_usage", PACKAGE_PROBLEMS[problem], { usage: STORE_APP_USAGE, reason: problem });
253484
253657
  }
@@ -253514,7 +253687,7 @@ async function runStoreApp(input, deps = {}) {
253514
253687
  Authorization: wixToken,
253515
253688
  ...target.previewRoute ? { "x-wix-route-serve": target.previewRoute } : {}
253516
253689
  },
253517
- ...op === "set" ? { body: JSON.stringify({ app: input.app, site: input.site, android: { packageName: input.androidPackage } }) } : {}
253690
+ ...op === "set" ? { body: JSON.stringify(input.linkOnly ? { app: input.app, site: input.site, linkOnly: true } : { app: input.app, site: input.site, android: { packageName: input.androidPackage } }) } : {}
253518
253691
  });
253519
253692
  status2 = response.status;
253520
253693
  body = await response.json().catch(() => ({}));
@@ -253588,7 +253761,7 @@ var init_store_app = __esm({
253588
253761
  package_name_prefix_required: `--android-package must start with "${STORE_PACKAGE_PREFIX}." (himi.<name>)`,
253589
253762
  invalid_package_name: `--android-package must be ${STORE_PACKAGE_PREFIX}. then dot-separated segments of a lowercase letter followed by lowercase letters, digits or _, at most 100 characters`
253590
253763
  };
253591
- STORE_APP_USAGE = "himi store app set --app <id> --site <msid> --android-package himi.<name> | show --app <id> --site <msid> [--target <name>] [--control-url <url>] [--control-token <t>]";
253764
+ STORE_APP_USAGE = "himi store app set --app <id> --site <msid> (--android-package himi.<name> | --link-only) | show --app <id> --site <msid> [--target <name>] [--control-url <url>] [--control-token <t>]";
253592
253765
  STORE_APP_CODES = [
253593
253766
  "invalid_usage",
253594
253767
  "insecure_target",
@@ -283236,6 +283409,7 @@ var REPEATABLE_FLAGS = /* @__PURE__ */ new Set(["data", "image", "set", "attach"
283236
283409
  var BOOLEAN_FLAGS = /* @__PURE__ */ new Set([
283237
283410
  "no-network",
283238
283411
  "group-only",
283412
+ "link-only",
283239
283413
  "unpin",
283240
283414
  "browser",
283241
283415
  "no-open",
@@ -284042,13 +284216,15 @@ var USAGE = `himi \u2014 the Himalaya authoring CLI (remote dev loop)
284042
284216
  team (guideline 4.2.6), declared per-app as
284043
284217
  ios.credentialProfile in store.config.yaml and resolved
284044
284218
  from ~/.himalaya/store-credentials/<name>.json.
284045
- himi store app set --app <id> --site <msid> --android-package himi.<name>
284219
+ himi store app set --app <id> --site <msid> (--android-package himi.<name> | --link-only)
284046
284220
  give an app YOUR account owns the Google Play store app of
284047
284221
  a Wix site your account owns: LINKS the app to the site (it
284048
284222
  stays your account's app; himi login keeps working) and
284049
284223
  saves the package name, so himi dist --aab makes its
284050
284224
  WixOne-signed store build. Sends your control token plus
284051
284225
  the account wix token, which proves you own both.
284226
+ --link-only links and holds the site with no package,
284227
+ for an owner-signed app (your own Play package).
284052
284228
  himi store app show --app <id> --site <msid>
284053
284229
  the store build's checks without building: saved package
284054
284230
  name, the site's store app, the plan (premium_plan_required).
@@ -284465,7 +284641,7 @@ var COMMANDS = [
284465
284641
  { name: "visibility", summary: "read (no value) or set whether the public registry (/v1/apps + the Himi Player picker) LISTS the app. `public` lists it for everyone; `unlisted` hides it from listings while direct reads by app id \u2014 deep links, previews \u2014 keep working. App from --app or the content dir. Setting it needs no republish.", required: "[public|unlisted] [--app <a>] [--content <dir>] (--control-token)" },
284466
284642
  { name: "dist", summary: "build an INSTALLABLE QA binary (signed IPA / APK) on the Wix Job Service Mac pool and return an install link \u2014 the serve plane brokers the job, the pool builds it. WAITS for the build by default (~4 min) and prints the install link; `--no-wait` returns a jobId immediately instead. Omitting `--release` builds whatever is LIVE for the app. A named draft is refused unless `--allow-draft` makes that exceptional build explicit. `status <jobId>` / `watch <jobId>` / `list --app <a>` / `cancel <jobId>` inspect and stop builds (`watch` reports up front whether the job mints its own signing identity or borrows one, so a doomed iOS build is cancellable in seconds rather than after the archive). Off-repo, name a target \u2014 `--target wix` for a self-serve Wix login or `--target bo` for the internal employee path (the in-repo default is a local dev plane that isn't reachable off-repo); self-serve callers may build their OWN apps under a tighter budget (2 in flight / 5 per 24h), while a manage-only owner-role credential is refused. `--shell` picks the native host to sign into (branded-lite | owner-lite | brandy | base44 | game | player | demo-app) and defaults to the content package's himalaya.content.json `shell` (templates carry the one they were written for), else branded-lite. The per-app shells ADD the release's declared capabilities to the binary, while Himi Player and demo-app refuse a release declaring one they lack; `--plan` previews it without building; `brandy` builds a site-shell app (the customer's own website as native-framed tabs) on the branded-lite binary under Brandy's bundle ids, so an installed Brandy app updates in place \u2014 it needs a release that serves its own site block (`release_site_missing` otherwise); `game` is the Godot game shell, the only one that serves `godot`. `--signing` defaults to `wix-managed` \u2014 the Wix Apple account mints a per-app signing identity for the build, so the caller provisions no Apple credentials of their own; `--signing byo --site <id>` reuses an existing customer ad-hoc profile and certificate for iOS; requires an owned site and a completed personal signing binding. `--android-signing` is the Android counterpart and a SEPARATE axis (a keystore, not an Apple account): `qa-keystore` (default \u2014 the repo's committed QA key, identical on every pool machine, so a build installs over the previous one), `wix-keystore` (the Wix key the pool machine carries; the build FAILS naming the paths searched if it carries none, rather than quietly signing with something else), or `debug` (the old per-machine key \u2014 QA must uninstall any previous build first). `--aab` builds an Android App Bundle (.aab) for the owner to upload to Google Play AND an APK from the same build \u2014 a download link for the .aab, an install link and QR for the APK; Android only; the bundle is signed with the Wix production key (`wix-keystore`, the upload key Branded apps use) \u2014 any other `--android-signing` is refused \u2014 and the APK with the committed QA key; a self-serve caller gets one only as the store build of its own Containers app (it must own the app's site, and `--aab` sends your Wix login); any other self-serve `--aab` gets 403 android_format_not_allowed. `--app-name <name> --app-icon-url <url>` (together; the icon a `https://static.wixstatic.com/media/<file>` URL) give the binary a name and icon in place of the release's, and a Containers app's store build (`--aab`, or its TestFlight build) needs both. NOT the normal way to ship: screens, Tier-5 bundles, tokens and app-config all go over the air with `himi push` in seconds \u2014 a binary trip is only needed for a NATIVE delta (a new SDUI component, a new declared capability/entitlement, a new bundle id, or a minBinaryVersion floor bump). Refuses to build an app whose launcher icon is missing, a placeholder, or one a store would reject \u2014 the one thing a binary carries that no later OTA push can fix; `--force` builds anyway. Also refuses a release whose member login (WixConsumerAuthProvider) names no siteId, or not in lower case, when Wix says its site requires a member CAPTCHA \u2014 such a binary ships without the CAPTCHA key and every member sign-in fails; whatever it cannot read (the release, the site's setting) only warns and builds; `--skip-captcha-check` builds anyway", required: "[--app <a>] [--platform ios,android] [--release <id>] [--allow-draft] [--target <t>] [--shell branded-lite|owner-lite|brandy|base44|game|player|demo-app] [--signing wix-managed|byo] [--site <id>] [--android-signing qa-keystore|wix-keystore|debug] [--aab] [--min-version-code <n>] [--app-name <name> --app-icon-url <url>] [--borrow-ios-id <bundleId>] [--no-wait] [--force] [--skip-captcha-check] [--plan] | status <jobId> [--target <t>] | watch <jobId> [--target <t>] [--interval <ms>] | list --app <a> [--target <t>] | cancel <jobId> [--target <t>]" },
284467
284643
  { name: "testflight", summary: 'build, sign and upload an app to TestFlight (internal testers \u2014 no Beta App Review), then WAIT until App Store Connect finishes processing it. Sugar for `store upload --track testflight`. Prompts first: a build number is consumed permanently on a real Apple account and cannot be reused \u2014 `--yes` for CI, `--dry-run` to see the plan without touching anything. The wait is the real check, not a nicety: fastlane prints "Successfully uploaded" for a binary App Store Connect then rejects in processing, and a rejected binary leaves NO build record at all (the reason is emailed). Public App Store review is deliberately NOT automatable here \u2014 `--track appstore` is refused; use /submit-ios-app when you mean to go public', required: "<app> [--track testflight|internal] [--profile <name>] [--yes] [--dry-run] [--skip-build] [--no-wait] [--json]" },
284468
- { name: "store", summary: "`app set --app <id> --site <msid> --android-package himi.<name>` gives an app YOUR account owns (one made with `himi init`) the Google Play store app of a Wix site your account also owns, so `himi dist --aab` makes its Wix-signed (WixOne) Play bundle: the app is LINKED to the site, never converted into a site app, so your `himi login` token keeps working for push and the rest. One site per app and one app per site; the package name is permanent once a build locks it. `app show --app <id> --site <msid>` runs the store build's checks without building (saved package name, the site's Premium plan). Both send your `himi login` control token plus the account `wix token`, which the plane uses to verify your account owns the app and the site (`himi docs qa-builds`). `apple-keys setup|status` onboards the owner\u2019s ASC and In-App Purchase keys independently of push and signing profiles. `connect` and `submission status|plan|apply|rejection|reply` submit an app to the App Store from YOUR computer under YOUR Apple account, off-repo (Node 24+): `connect` opens a sign-in page on 127.0.0.1 where you type your Apple ID password and 2FA code (no flag takes them) and creates an Admin API key saved in this computer's keychain, shared with Wix for App Store builds when the app's store/app-store.json names its site; `submission plan` plans the next ordered batch and `apply` applies it only after you type the plan hash's first 8 characters (or click Approve on a local page). The same steps are the store_* tools of `himi mcp` (`himi docs store-submission`). `--platform android` takes `connect` and `submission status|plan|apply|rejection|reply` to Google Play instead: `connect` signs you in to Google in your browser (the OAuth client file from GPLAY_OAUTH_CLIENT_FILE or gplay-node's state dir, else a gcloud sign-in), the facts come from the app's store/google-play.json (category, contactEmail, privacyPolicyUrl, targetAudience, contentRatingCategory, packageName), a site-linked himi.<name> app is Wix-signed (`himi dist --aab`) and any other owner-signed (`--android-signing owner --google-services <file>`, then `google keygen <package>` makes the upload key once and `google resign <in.aab> --keystore <file.p12> --storepass-file <file>` signs the bundle, both on this computer), `apply` takes one `--job`, and `submission approve-reply --platform android --issue <id> --kind appeal|resubmit --text <reply>` records your typed yes on one exact policy reply (no --yes), the only way `reply` or store_reply can plan it. `record show|refresh|sync|pull` reads the app's store record on this computer (~/.himi/store, or HIMI_STORE_HOME / --record-dir): what each store showed when last read, what was last sent and what is drafted, with ages and drift; `refresh --platform android [--part status|tracks|listing|app-content|account|policy|all]` reads Google again into it; `sync` exchanges it with the copy Wix keeps for the app and `pull` only fetches it, for a new computer, with your himi login: the site's owner writes it, and so does the Wix person helping with the app while the owner lets Wix submit it (`wix-submit start`), while a `--read-only` consent only lets them pull; after a job verifies, the record is pushed on its own (a failure is a warning; HIMI_STORE_RECORD_SYNC=off turns it off). `handoff` uploads the app's asc-node records (allowlisted ids, statuses and outcomes; never keys, cookies or passwords) so Wix can take the submission over, `--out`/`--dry-run` keep it local. `wix-submit start [--platform ios|android] [--read-only] [--yes]` lets Wix submit the app for you: after your yes it records your consent for 90 days (read and submit; on Android also Wix-signed builds and Play Console work; `--read-only` is read alone), sends the handoff, and on Android adds the Wix person helping with your app to YOUR Google Play account for 90 days, showing their name and email first, after a typed yes at a terminal (`--yes` answers the consent only; with no one named yet, Wix contacts you and you run start again); `wix-submit stop` withdraws the consent and removes everyone Wix added to your Google Play account for the app (non-zero while anyone may remain); `wix-submit status` shows the consent (scopes, recorded, expires), who is helping and whether they are on your Play account. All are site-owner only (`himi store wix-submit --help`). `google create-app --name <n>` creates the app in your own Play Console after you read Google's Create app declarations and type yes. The App Store Connect group behind `testflight`. `preflight <app>` checks readiness offline (icon, entitlements, encryption flag, version, store.config ids, listing + review record); `upload <app>` is what `testflight` runs; `status <app>` reads live build + processing state. `--profile` selects WHICH App Store Connect account: an app built for a Wix customer ships under the CUSTOMER's Apple team (Apple guideline 4.2.6 forbids an app-generation service submitting on a client's behalf), declared per-app as ios.credentialProfile in store.config.yaml and resolved from ~/.himalaya/store-credentials/<name>.json \u2014 the .p8 itself never enters the repo. `iap draft|plan|apply|status|connect|screenshots|check|mappings` registers an app owner's digital products as in-app purchases (non-consumables, or consumable price tiers): draft reads the Wix catalog and writes the manifest, plan and status only read, apply is the one App Store mutation boundary, connect readies the Wix site to sell them (purchases app, In-App Purchase key, appleIAP provider, product mappings; --preview-tag routes only its Serve calls to a deploy preview), legacy screenshots --profile renders each product's purchase screen from the app (--content) as a bound iPhone shows it to a signed-in member and names the 1290\xD72796 PNG as the item's App Review screenshot, and none of them builds, signs or needs a checkout (`himi docs iap-products`) IAP provisioning defaults to Catalog; managed apply generates screenshots on the server with no local .p8 or profile fallback; --managed is optional and --profile selects legacy mode; --catalog-route or HIMI_IAP_CATALOG_ROUTE has no default.", required: "app set --app <id> --site <msid> --android-package himi.<name> | app show --app <id> --site <msid> | connect [--dir <app>] [--app <id> --site <msid>] [--no-key] [--profile <name>] | submission status|plan|rejection [--dir <app>] [--apple-id <id>] [--profile <name>] | submission apply (--batch <id> | --job <id>) --plan-hash <hash> | submission reply --text <reply> [--attach <file>]\u2026 [--thread <id>] [--dir <app>] | connect --platform android | submission status|plan|rejection --platform android [--dir <app>] [--issue <id>] | submission apply --platform android --job <id> --plan-hash <hash> | submission reply|approve-reply --platform android --issue <id> --kind appeal|resubmit --text <reply> [--dir <app>] | record show [--dir <app>] [--platform android|ios] [--part <part>] [--record-dir <dir>] | record refresh [--dir <app>] [--platform android] [--part <part>] | record sync|pull [--dir <app>] [--app <id> --site <msid>] [--record-dir <dir>] | handoff [--dir <app>] [--app <id> --site <msid>] [--apple-app-id <id>] [--out <file> | --dry-run] | wix-submit start [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--read-only] [--yes] [--developer <id>] [--android-package himi.<name>] | wix-submit stop [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--yes] [--developer <id>] | wix-submit status [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--developer <id>] | google create-app --name <app name> [--app <id> --site <msid>] [--developer <id>] [--android-package himi.<name>] | google testers pool-add|pool-remove|pool-check [--dir <app>] [--track himi-pool] | google testers consent grant|revoke|status [--dir <app>] | google keygen <package> [--out <file.p12>] [--alias <name>] [--name <certificate name>] | google resign <in.aab> --keystore <file.p12> (--storepass-file <file> | --storepass-env <NAME>) [--alias <name>] [--out <file.aab>] | apple-keys setup|status --app <slug> --site <metaSiteId> --bundle-id <id> [--asc-key-file <p8> --asc-key-id <id> --asc-issuer-id <issuer>] [--iap-key <p8> --iap-key-id <id> --iap-issuer-id <issuer>] [--yes|--dry-run] [--json] | preflight <app> [--profile <n>] | upload <app> [--track <t>] [--profile <n>] [--yes] [--dry-run] | status <app> [--profile <n>] | iap draft --site <msid> " + IAP_CREDENTIAL_OPTIONS + " --apple-app <id> --bundle <id> --base-territory <t> --out <f> [--territories <a,b>] [--locale <l>] [--mode per-item|tiers] [--merge <f>] [--report <f>] [--json] | iap plan --manifest <f> " + IAP_CREDENTIAL_OPTIONS + " --out <f> [--json] | iap apply --plan <f> " + IAP_CREDENTIAL_OPTIONS + " --out <f> [--yes] [--limit <n>] [--no-submit] [--json] | iap status --manifest <f> " + IAP_CREDENTIAL_OPTIONS + " [--out <f>] [--json] | iap connect --manifest <f> [--profile <n>] [--catalog-route <prefix>] [--iap-key <AuthKey.p8> --iap-key-id <id>] [--content <dir>] [--preview-tag dp-<tag>] [--dry-run] [--yes] [--out <f>] [--json] | iap screenshots --manifest <f> --content <dir> --profile <n> [--out-dir <d>] [--only <id,\u2026>] [--force] [--dry-run] [--json] | iap check --manifest <f> --catalog-route <prefix> [--purchases-app <id>] [--content <dir>] [--plist <file>] [--visitor-client <id>] [--json] | iap mappings --site <msid> --purchases-app <id> --catalog-route <prefix> [--product <id> --active true|false --yes] [--json]" },
284644
+ { name: "store", summary: "`app set --app <id> --site <msid> --android-package himi.<name>` gives an app YOUR account owns (one made with `himi init`) the Google Play store app of a Wix site your account also owns, so `himi dist --aab` makes its Wix-signed (WixOne) Play bundle: the app is LINKED to the site, never converted into a site app, so your `himi login` token keeps working for push and the rest. `app set --link-only` links and holds the site with no package, for an owner-signed app whose Play package is your own. One site per app and one app per site; the package name is permanent once a build locks it. `app show --app <id> --site <msid>` runs the store build's checks without building (saved package name, the site's Premium plan). Both send your `himi login` control token plus the account `wix token`, which the plane uses to verify your account owns the app and the site (`himi docs qa-builds`). `apple-keys setup|status` onboards the owner\u2019s ASC and In-App Purchase keys independently of push and signing profiles. `connect` and `submission status|plan|apply|rejection|reply` submit an app to the App Store from YOUR computer under YOUR Apple account, off-repo (Node 24+): `connect` opens a sign-in page on 127.0.0.1 where you type your Apple ID password and 2FA code (no flag takes them) and creates an Admin API key saved in this computer's keychain, shared with Wix for App Store builds when the app's store/app-store.json names its site; `submission plan` plans the next ordered batch and `apply` applies it only after you type the plan hash's first 8 characters (or click Approve on a local page). The same steps are the store_* tools of `himi mcp` (`himi docs store-submission`). `--platform android` takes `connect` and `submission status|plan|apply|rejection|reply` to Google Play instead: `connect` signs you in to Google in your browser (the OAuth client file from GPLAY_OAUTH_CLIENT_FILE or gplay-node's state dir, else a gcloud sign-in), the facts come from the app's store/google-play.json (category, contactEmail, privacyPolicyUrl, targetAudience, contentRatingCategory, packageName), a site-linked himi.<name> app is Wix-signed (`himi dist --aab`) and any other owner-signed (`--android-signing owner --google-services <file>`, then `google keygen <package>` makes the upload key once and `google resign <in.aab> --keystore <file.p12> --storepass-file <file>` signs the bundle, both on this computer), `apply` takes one `--job`, and `submission approve-reply --platform android --issue <id> --kind appeal|resubmit --text <reply>` records your typed yes on one exact policy reply (no --yes), the only way `reply` or store_reply can plan it. `record show|refresh|sync|pull` reads the app's store record on this computer (~/.himi/store, or HIMI_STORE_HOME / --record-dir): what each store showed when last read, what was last sent and what is drafted, with ages and drift; `refresh --platform android [--part status|tracks|listing|app-content|account|policy|all]` reads Google again into it; `sync` exchanges it with the copy Wix keeps for the app and `pull` only fetches it, for a new computer, with your himi login: the site's owner writes it, and so does the Wix person helping with the app while the owner lets Wix submit it (`wix-submit start`), while a `--read-only` consent only lets them pull; after a job verifies, the record is pushed on its own (a failure is a warning; HIMI_STORE_RECORD_SYNC=off turns it off). `handoff` uploads the app's asc-node records (allowlisted ids, statuses and outcomes; never keys, cookies or passwords) so Wix can take the submission over, `--out`/`--dry-run` keep it local. `wix-submit start [--platform ios|android] [--read-only] [--yes]` lets Wix submit the app for you: after your yes it records your consent for 90 days (read and submit; on Android also Wix-signed builds and Play Console work; `--read-only` is read alone), sends the handoff, and on Android adds the Wix person helping with your app to YOUR Google Play account for 90 days, showing their name and email first, after a typed yes at a terminal (`--yes` answers the consent only; with no one named yet, Wix contacts you and you run start again); `wix-submit stop` withdraws the consent and removes everyone Wix added to your Google Play account for the app (non-zero while anyone may remain); `wix-submit status` shows the consent (scopes, recorded, expires), who is helping and whether they are on your Play account. All are site-owner only (`himi store wix-submit --help`). `google create-app --name <n>` creates the app in your own Play Console after you read Google's Create app declarations and type yes. The App Store Connect group behind `testflight`. `preflight <app>` checks readiness offline (icon, entitlements, encryption flag, version, store.config ids, listing + review record); `upload <app>` is what `testflight` runs; `status <app>` reads live build + processing state. `--profile` selects WHICH App Store Connect account: an app built for a Wix customer ships under the CUSTOMER's Apple team (Apple guideline 4.2.6 forbids an app-generation service submitting on a client's behalf), declared per-app as ios.credentialProfile in store.config.yaml and resolved from ~/.himalaya/store-credentials/<name>.json \u2014 the .p8 itself never enters the repo. `iap draft|plan|apply|status|connect|screenshots|check|mappings` registers an app owner's digital products as in-app purchases (non-consumables, or consumable price tiers): draft reads the Wix catalog and writes the manifest, plan and status only read, apply is the one App Store mutation boundary, connect readies the Wix site to sell them (purchases app, In-App Purchase key, appleIAP provider, product mappings; --preview-tag routes only its Serve calls to a deploy preview), legacy screenshots --profile renders each product's purchase screen from the app (--content) as a bound iPhone shows it to a signed-in member and names the 1290\xD72796 PNG as the item's App Review screenshot, and none of them builds, signs or needs a checkout (`himi docs iap-products`) IAP provisioning defaults to Catalog; managed apply generates screenshots on the server with no local .p8 or profile fallback; --managed is optional and --profile selects legacy mode; --catalog-route or HIMI_IAP_CATALOG_ROUTE has no default.", required: "app set --app <id> --site <msid> (--android-package himi.<name> | --link-only) | app show --app <id> --site <msid> | connect [--dir <app>] [--app <id> --site <msid>] [--no-key] [--profile <name>] | submission status|plan|rejection [--dir <app>] [--apple-id <id>] [--profile <name>] | submission apply (--batch <id> | --job <id>) --plan-hash <hash> | submission reply --text <reply> [--attach <file>]\u2026 [--thread <id>] [--dir <app>] | connect --platform android | submission status|plan|rejection --platform android [--dir <app>] [--issue <id>] | submission apply --platform android --job <id> --plan-hash <hash> | submission reply|approve-reply --platform android --issue <id> --kind appeal|resubmit --text <reply> [--dir <app>] | record show [--dir <app>] [--platform android|ios] [--part <part>] [--record-dir <dir>] | record refresh [--dir <app>] [--platform android] [--part <part>] | record sync|pull [--dir <app>] [--app <id> --site <msid>] [--record-dir <dir>] | handoff [--dir <app>] [--app <id> --site <msid>] [--apple-app-id <id>] [--out <file> | --dry-run] | wix-submit start [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--read-only] [--yes] [--developer <id>] [--android-package himi.<name>] | wix-submit stop [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--yes] [--developer <id>] | wix-submit status [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--developer <id>] | google create-app --name <app name> [--app <id> --site <msid>] [--developer <id>] [--android-package himi.<name>] | google testers pool-add|pool-remove|pool-check [--dir <app>] [--track himi-pool] | google testers consent grant|revoke|status [--dir <app>] | google keygen <package> [--out <file.p12>] [--alias <name>] [--name <certificate name>] | google resign <in.aab> --keystore <file.p12> (--storepass-file <file> | --storepass-env <NAME>) [--alias <name>] [--out <file.aab>] | apple-keys setup|status --app <slug> --site <metaSiteId> --bundle-id <id> [--asc-key-file <p8> --asc-key-id <id> --asc-issuer-id <issuer>] [--iap-key <p8> --iap-key-id <id> --iap-issuer-id <issuer>] [--yes|--dry-run] [--json] | preflight <app> [--profile <n>] | upload <app> [--track <t>] [--profile <n>] [--yes] [--dry-run] | status <app> [--profile <n>] | iap draft --site <msid> " + IAP_CREDENTIAL_OPTIONS + " --apple-app <id> --bundle <id> --base-territory <t> --out <f> [--territories <a,b>] [--locale <l>] [--mode per-item|tiers] [--merge <f>] [--report <f>] [--json] | iap plan --manifest <f> " + IAP_CREDENTIAL_OPTIONS + " --out <f> [--json] | iap apply --plan <f> " + IAP_CREDENTIAL_OPTIONS + " --out <f> [--yes] [--limit <n>] [--no-submit] [--json] | iap status --manifest <f> " + IAP_CREDENTIAL_OPTIONS + " [--out <f>] [--json] | iap connect --manifest <f> [--profile <n>] [--catalog-route <prefix>] [--iap-key <AuthKey.p8> --iap-key-id <id>] [--content <dir>] [--preview-tag dp-<tag>] [--dry-run] [--yes] [--out <f>] [--json] | iap screenshots --manifest <f> --content <dir> --profile <n> [--out-dir <d>] [--only <id,\u2026>] [--force] [--dry-run] [--json] | iap check --manifest <f> --catalog-route <prefix> [--purchases-app <id>] [--content <dir>] [--plist <file>] [--visitor-client <id>] [--json] | iap mappings --site <msid> --purchases-app <id> --catalog-route <prefix> [--product <id> --active true|false --yes] [--json]" },
284469
284645
  { name: "guide", summary: "print the Himalaya overview + headless dev loop + available topics (offline)", required: "[--json]" },
284470
284646
  { name: "docs", summary: "print bundled/verified cached guides offline; status reports kit identity; refresh downloads compatible reference content independently of CLI without changing app source", required: "[<topic>|catalog [kind]|status|refresh] [--pin <version|digest>] [--unpin] [--no-network] [--json]" },
284471
284647
  { name: "components", summary: "print the SDUI component vocabulary + props; a name = that component (offline)", required: "[<Name>] [--json]" },
@@ -290138,7 +290314,8 @@ async function testflightCommand(ctx) {
290138
290314
  op: pos[2],
290139
290315
  app: str3(flags.app),
290140
290316
  site: str3(flags.site),
290141
- androidPackage: str3(flags["android-package"]),
290317
+ androidPackage: flags["link-only"] !== void 0 && flags["android-package"] !== void 0 ? String(flags["android-package"]) : str3(flags["android-package"]),
290318
+ linkOnly: flags["link-only"] === true || flags["link-only"] === "true",
290142
290319
  target: str3(flags.target),
290143
290320
  // Off-repo, `himi login` stores its token under `wix`; resolve where it did.
290144
290321
  defaultTarget: ctx.contextualDefaultTarget,
@@ -421,6 +421,13 @@ Concrete patterns lifted from real usage:
421
421
  - **Row with a leading label and trailing detail** — `hstack({ spacing: 8, children: [ icon, text, spacer(), trailingText ] })`. The `spacer()` does the push; don't hand-pad.
422
422
  - **Fill-width controls share a row** — put fill-width controls in **one** `HStack` and let them share it (weight/flex), rather than stacking `fillMaxWidth` elements. This is a real iOS↔Android parity requirement, not a preference — a full-width control alone in an HStack renders differently across platforms.
423
423
  - **A screen that owns its top bar (search beside back)** — set `topBar: { leading: "none" }` and put the row in `stickyHeader`: `hstack([ iconButton({ icon: "arrow_left", accessibilityLabel: "Back", action: { actionId: "nav.back", presentation: "back" } }), withModifiers(textField({ placeholder: "Search", … }), { weight: 1 }) ])`. With **both** set, every shell draws no bar and no back control of its own (iOS hides the system bar, Android floats no chevron and reserves no band, web hides its bar on every look), so the row is the only top bar. `leading: "none"` without a `stickyHeader` keeps the bar's title and trailing actions but drops the back control (and the hamburger, for that screen). System back — hardware, gesture, edge swipe, browser — still pops. Any other `leading` value keeps today's chrome; demo: `gallery_search_topbar`, linked from the gallery's "Lists & data".
424
+ - **Top-bar styles and modes (contract only for now — check the status table before you rely on one)** — the bar, not your content, draws these; declare them on `topBar`:
425
+ - *Root titles:* `titleDisplay: "large"` on a tab root (a large title that collapses as you scroll; lists), `"inline"` for short task screens. `""` keeps today's look.
426
+ - *Cover:* `style: "immersive"` with your hero as the first content node, plus `coverTone: "dark"` (white icons, the default) or `"light"` — pick it from the image under the bar, not the theme. Add `solidAfter: { nodeId: "<hero id>" }` to turn the bar solid once the hero scrolls away; `style: "transparent"` alone fills over the first 8pt.
427
+ - *Brand fill:* `background: { token: "accentPrimary" }`. The shell picks white or `#1A1B20` text and darkens or lightens a mid-tone just enough for 4.5:1; `himi validate` says so when your brand colour needs it.
428
+ - *Search states:* bind `searchable.recentsPath` (recent queries while the field is empty) and `searchable.resultsStatePath` (`"empty"` / `"error"`); the bar draws "No results" and the error with Try Again (`onRetry`). Do not draw these in the page.
429
+ - *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.
430
+ - *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.
424
431
  - **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.
425
432
  - **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 })`.
426
433
  - **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.
@@ -1195,14 +1195,15 @@ keystore password is never printed.
1195
1195
 
1196
1196
  ## `himi store app` codes
1197
1197
 
1198
- `himi store app set|show --app <id> --site <msid>` prints one envelope. A refusal from the publishing
1199
- service keeps the service's own code in `serverError` (for example `forbidden_app`,
1198
+ `himi store app set|show --app <id> --site <msid>` prints one envelope (`set --link-only` answers `linkOnly: true`
1199
+ and no `android` unless a package was already saved). A refusal from the publishing
1200
+ service keeps the service's own code in `serverError` (for example `invalid_link_only`, `forbidden_app`,
1200
1201
  `store_app_linked_to_other_site`, `store_app_site_taken`, `store_app_site_bound`, `store_id_missing`)
1201
1202
  and its HTTP `status`; the CLI `code` is one of:
1202
1203
 
1203
1204
  | Code | Meaning |
1204
1205
  |---|---|
1205
- | `invalid_usage` | Missing or malformed op, `--app`, `--site` or (for `set`) `--android-package`, which is checked with the plane's own rule (`reason`: `package_name_prefix_required`, `invalid_package_name` or `package_name_reserved`). No Wix token was minted and nothing was sent. |
1206
+ | `invalid_usage` | Missing or malformed op, `--app`, `--site` or (for `set`) `--android-package` (or `--link-only` with `--android-package`, even empty, or on `show`), which is checked with the plane's own rule (`reason`: `package_name_prefix_required`, `invalid_package_name` or `package_name_reserved`). No Wix token was minted and nothing was sent. |
1206
1207
  | `insecure_target` | The target's control URL is not an https `wix.com` host (or loopback), so the Wix credential was neither minted nor sent. Nothing was sent. |
1207
1208
  | `control_token_required` | No control token for the target — run `himi login`. Nothing was sent. |
1208
1209
  | `wix_token_unavailable` | The account Wix token (`wix token`) could not be minted; the publishing service needs it to verify you own the app and the site. Nothing was sent. |
@@ -1445,6 +1445,7 @@ himi dist --app <app> --platform android --aab --wait --target bo
1445
1445
 
1446
1446
  ```bash
1447
1447
  himi store app set --app <app> --site <msid> --android-package himi.<name> # link + save the package name
1448
+ himi store app set --app <app> --site <msid> --link-only # owner-signed app: link + hold, no package
1448
1449
  himi store app show --app <app> --site <msid> # the store build's checks, no build
1449
1450
  himi dist --app <app> --platform android --shell branded-lite --aab \
1450
1451
  --app-name "My App" --app-icon-url https://…/icon.png
@@ -1604,7 +1604,7 @@
1604
1604
  "name": "TopBarConfig",
1605
1605
  "kind": "interface",
1606
1606
  "jsdoc": "/** The shell-owned top bar. The shell paints\n * `ScreenDescriptor.title` and computes the leading slot (back XOR menu) from\n * nav depth; this adds the trailing action cluster + leading/style overrides.\n * Lives on `ScreenDescriptor.topBar` (authoritative) and\n * `NavigationConfig.topBarDefault` (app-level fallback, fully replaced). */",
1607
- "decl": "export interface TopBarConfig {\n /** Trailing (right-edge) actions, authored order = leading→trailing. */\n actions?: TopBarAction[];\n /** Leading override: \"\" | \"auto\" (shell-computed) | \"back\" | \"menu\" | \"none\". */\n leading?: string;\n /** Content-under-bar: \"\" | \"opaque\" (default) | \"transparent\" | \"immersive\". */\n style?: string;\n /** Toolbar items (drawn after the legacy `actions`). */\n items?: ToolbarItem[];\n /** \"\" / \"automatic\" (default) | \"large\" | \"inline\" | \"hidden\". `\"hidden\"` draws no title and keeps\n * the title as the screen name for screen readers (amendment \"Title, leading and trailing completion\"). */\n titleDisplay?: string;\n /** The literal subtitle (the fallback for `subtitlePath`). */\n subtitle?: string;\n /** \"\" / \"visible\" (default) | \"hidden\". */\n visibility?: string;\n /** Bar fill token. iOS 26 keeps the system glass (amendment R12). */\n background?: TokenRef;\n /** \"Native top-bar search\" — the screen's search, drawn by whoever draws its bar natively (an embed's host\n * today: iOS `himalayaEmbedSearch`, Android `ProvideHimalayaEmbedSearch`). Read per screen only. */\n searchable?: SearchableConfig;\n /** amendment — the screen's logo; overrides `NavigationConfig.topBarLogo`. */\n logo?: TopBarLogo;\n /** amendment — the title as a menu. */\n titleMenu?: TopBarTitleMenu;\n /** amendment — live subtitle (`$service:`); `subtitle` is the fallback. */\n subtitlePath?: string;\n /** amendment — \"\" / \"pinned\" (default) | \"hide_on_scroll\". */\n scrollBehavior?: string;\n /** amendment — truthy ⇒ leaving the presentation asks to discard. Unset/unresolved ⇒ false. */\n dirtyPath?: string;\n /** amendment — live `visibility` (`$service:`). Resolves to \"visible\" | \"hidden\";\n * anything else, or unresolved, falls back to `visibility`. Not a truthy boolean. */\n visibilityPath?: string;\n /** amendment \"Title, leading and trailing completion\" — \"\" / \"auto\" (default) | \"leading\" | \"center\".\n * Unknown values read as \"auto\". Per screen; `NavigationConfig.topBarTitleAlign` is the app-wide twin. */\n titleAlign?: string;\n}",
1607
+ "decl": "export interface TopBarConfig {\n /** Trailing (right-edge) actions, authored order = leading→trailing. */\n actions?: TopBarAction[];\n /** Leading override: \"\" | \"auto\" (shell-computed) | \"back\" | \"menu\" | \"none\". */\n leading?: string;\n /** Content-under-bar: \"\" | \"opaque\" (default) | \"transparent\" | \"immersive\". */\n style?: string;\n /** Toolbar items (drawn after the legacy `actions`). */\n items?: ToolbarItem[];\n /** \"\" / \"automatic\" (default) | \"large\" | \"inline\" | \"hidden\". `\"hidden\"` draws no title and keeps\n * the title as the screen name for screen readers (amendment \"Title, leading and trailing completion\"). */\n titleDisplay?: string;\n /** The literal subtitle (the fallback for `subtitlePath`). */\n subtitle?: string;\n /** \"\" / \"visible\" (default) | \"hidden\". */\n visibility?: string;\n /** Bar fill token. iOS 26 keeps the system glass (amendment R12). */\n background?: TokenRef;\n /** \"Native top-bar search\" — the screen's search, drawn by whoever draws its bar natively (an embed's host\n * today: iOS `himalayaEmbedSearch`, Android `ProvideHimalayaEmbedSearch`). Read per screen only. */\n searchable?: SearchableConfig;\n /** amendment — the screen's logo; overrides `NavigationConfig.topBarLogo`. */\n logo?: TopBarLogo;\n /** amendment — the title as a menu. */\n titleMenu?: TopBarTitleMenu;\n /** amendment — live subtitle (`$service:`); `subtitle` is the fallback. */\n subtitlePath?: string;\n /** amendment — \"\" / \"pinned\" (default) | \"hide_on_scroll\". */\n scrollBehavior?: string;\n /** amendment — truthy ⇒ leaving the presentation asks to discard. Unset/unresolved ⇒ false. */\n dirtyPath?: string;\n /** amendment — live `visibility` (`$service:`). Resolves to \"visible\" | \"hidden\";\n * anything else, or unresolved, falls back to `visibility`. Not a truthy boolean. */\n visibilityPath?: string;\n /** amendment \"Title, leading and trailing completion\" — \"\" / \"auto\" (default) | \"leading\" | \"center\".\n * Unknown values read as \"auto\". Per screen; `NavigationConfig.topBarTitleAlign` is the app-wide twin. */\n titleAlign?: string;\n /** amendment \"Bar types, styles, search, save and modes\" — the tone of the cover image under an\n * `style: \"immersive\"` bar: \"\" / \"dark\" (default, white icons) | \"light\" (`#1A1B20` icons). Unknown ⇒ \"dark\". */\n coverTone?: string;\n /** amendment \"Bar types, styles, search, save and modes\" (cover to solid) — a transparent or immersive bar stays\n * clear until this edge, then fades to its fill over 24pt. Unset ⇒ the 0→8pt ramp of a transparent bar. */\n solidAfter?: TopBarScrollEdge;\n /** amendment \"Bar types, styles, search, save and modes\" — selection mode. */\n selection?: TopBarSelection;\n /** amendment \"Bar types, styles, search, save and modes\" — edit mode. Uses `dirtyPath`. */\n edit?: TopBarEdit;\n}",
1608
1608
  "verificationChecked": true
1609
1609
  },
1610
1610
  {
@@ -1681,7 +1681,7 @@
1681
1681
  "name": "ToolbarItem",
1682
1682
  "kind": "interface",
1683
1683
  "jsdoc": "/** One top-bar item. Test id `toolbar.<id>`\n * (`toolbar-<id>` on web and React Native). Every tap carries an existing `Action`\n *. Bindings are `$service:` sentinels resolved by the screen host. */",
1684
- "decl": "export interface ToolbarItem {\n id: string;\n /** \"leading\" | \"trailing\" (default) | \"principal\" | \"bottom\" | \"keyboard\" | \"overflow\". */\n placement?: string;\n /** Text button when there is no icon; the accessible name always. */\n label?: string;\n icon?: IconRef;\n onTap?: Action;\n /** \"\" | \"cancel\" | \"confirm\" | \"destructive\". */\n role?: string;\n disabled?: boolean;\n /** OR'd with `disabled`. For Save, bind \"nothing to save\" (e.g. `cannotSave`), never the dirty flag. */\n disabledPath?: string;\n /** Non-empty ⇒ the item opens a menu. */\n menu?: MenuItem[];\n /** \"principal\" only: a custom title view. */\n content?: Component;\n /** Truthy ⇒ a progress indicator replaces the item. Unset/unresolved ⇒ false. */\n loadingPath?: string;\n /** Set ⇒ the item draws an avatar; `label` stays the accessible name (\"Profile\" by default). */\n avatar?: ToolbarAvatar;\n /** Live label; `label` is the fallback. */\n labelPath?: string;\n /** Long press (touch), secondary click (pointer) or the \"More options\" accessibility action.\n * Never also fires `onTap`; ignored while disabled or loading, in More Actions, and with a `menu`. */\n onLongPress?: Action;\n /** amendment \"Title, leading and trailing completion\" — dot or count overlay. Ignored on an\n * \"overflow\" item. `badge.countLabel` is the noun the shell speaks after the count. */\n badge?: NavBadge;\n /** amendment \"Top-bar avatar strip\" — set ⇒ the item draws overlapping circular avatars\n * instead of its icon or label: size 20 and 3 visible plus a \"+N\" bubble unless set. `label` stays the\n * accessible name (\"Members, 5\"). The strip's `caption`, `ringGradient` and `onTap` are ignored in the bar:\n * the item's `onTap` and `onLongPress` fire. `avatarsPath` resolves on the screen, like the other\n * top-bar bindings. An \"overflow\" item draws its label row instead. */\n avatarStrip?: AvatarStripProps;\n}",
1684
+ "decl": "export interface ToolbarItem {\n id: string;\n /** \"leading\" | \"trailing\" (default) | \"principal\" | \"bottom\" | \"keyboard\" | \"overflow\". */\n placement?: string;\n /** Text button when there is no icon; the accessible name always. */\n label?: string;\n icon?: IconRef;\n onTap?: Action;\n /** \"\" | \"cancel\" | \"confirm\" | \"destructive\". */\n role?: string;\n disabled?: boolean;\n /** OR'd with `disabled`. For Save, bind \"nothing to save\" (e.g. `cannotSave`), never the dirty flag. */\n disabledPath?: string;\n /** Non-empty ⇒ the item opens a menu. */\n menu?: MenuItem[];\n /** \"principal\" only: a custom title view. */\n content?: Component;\n /** Truthy ⇒ a progress indicator replaces the item. Unset/unresolved ⇒ false. */\n loadingPath?: string;\n /** Set ⇒ the item draws an avatar; `label` stays the accessible name (\"Profile\" by default). */\n avatar?: ToolbarAvatar;\n /** Live label; `label` is the fallback. */\n labelPath?: string;\n /** Long press (touch), secondary click (pointer) or the \"More options\" accessibility action.\n * Never also fires `onTap`; ignored while disabled or loading, in More Actions, and with a `menu`. */\n onLongPress?: Action;\n /** amendment \"Title, leading and trailing completion\" — dot or count overlay. Ignored on an\n * \"overflow\" item. `badge.countLabel` is the noun the shell speaks after the count. */\n badge?: NavBadge;\n /** amendment \"Top-bar avatar strip\" — set ⇒ the item draws overlapping circular avatars\n * instead of its icon or label: size 20 and 3 visible plus a \"+N\" bubble unless set. `label` stays the\n * accessible name (\"Members, 5\"). The strip's `caption`, `ringGradient` and `onTap` are ignored in the bar:\n * the item's `onTap` and `onLongPress` fire. `avatarsPath` resolves on the screen, like the other\n * top-bar bindings. An \"overflow\" item draws its label row instead. */\n avatarStrip?: AvatarStripProps;\n /** amendment \"Bar types, styles, search, save and modes\" — with `loadingPath` truthy for 30 s the shell\n * stops the spinner and dispatches this; the worker shows the failed state. Unset ⇒ the spinner stays.\n * \"Still saving…\" shows under the bar at 10 s either way. */\n onLoadingTimeout?: Action;\n}",
1685
1685
  "verificationChecked": true
1686
1686
  },
1687
1687
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1799.0",
3
+ "version": "0.1801.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": "1a0c1ae9a8c6e2d248299c6cacc3dd8a06c5cf27dc0de7048925b263"
85
+ "falconPackageHash": "27cfcb257ee1f6bf4e1e39fc3b4e805590e6993b5d80011fd3b42fe2"
86
86
  }