@wix/himalaya-cli 0.1804.0 → 0.1805.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.
Binary file
@@ -42,7 +42,7 @@
42
42
  "itemsPath",
43
43
  "scrollToItemPath"
44
44
  ],
45
- "propsSource": "export interface LazyListProps {\n items: Component[];\n horizontal?: boolean;\n spacing?: number;\n /** Motion grammar (Batch 1) — staggered entrance: each child's enter\n * transition/appear is delayed by index × staggerMs (ms). 0/absent = no\n * stagger. Gated by reduced motion.\n *\n * Honored on every renderer, on BOTH the static `items` and the service-bound\n * `itemsPath` paths. The delay modulates an ENTRANCE, so it only cascades a row\n * that carries a `transition`/`appear` — a delay on a row with no entrance\n * animates nothing. */\n staggerMs?: number;\n /** List enrichments. */\n onPullToRefresh?: Action;\n pagination?: Pagination;\n stickyHeader?: Component;\n rowSwipeActions?: SwipeActionSet;\n /**\n * Tier-5 service-bound list: a `$service:`-style path to an array in the\n * worker's state (e.g. \"ownerSites.sites\"). When set, `items[0]` is the row\n * TEMPLATE — instantiated once per array element with `$item.<field>`\n * substitution (ServiceBoundList). Requires a serviceProvider at render.\n */\n itemsPath?: string;\n /** Motion grammar (Phase-3, layout animation) — animate item insert/remove/reorder\n * as the list's contents change (needs stable `Component.id`s). Reduced-motion gated. */\n animateItems?: boolean;\n /**\n * #1054 (WS-3 scroll) — bottom-anchored / reversed layout. When true the list\n * lays out from the BOTTOM (item[0] at the bottom, later items stacking upward)\n * and rests scrolled to the bottom — a chat transcript / live caption that\n * pins to the latest without the 180°-rotation hack. Vertical lists only; not\n * combined with a `stickyHeader`.\n */\n reverseLayout?: boolean;\n /**\n * #1054 (WS-3 scroll) — content insets (points): pad the scroll CONTENT at the\n * top/bottom while the scroller still paints edge-to-edge, so rows scroll\n * *under* floating chrome (a translucent header/footer) instead of being\n * clipped. 0/absent ⇒ no inset.\n */\n contentInsetTop?: number;\n contentInsetBottom?: number;\n /**\n * Jump to a row of a bound (`itemsPath`) list: a `$service:` path whose value names a row by\n * its item's `id`. When the value CHANGES to a non-empty one, the row's top is brought to the\n * top of the visible area (the list's scroll, or the screen's when the list sits in it).\n * Only the part before the first \"|\" is the id, so a worker can re-trigger the same row\n * (\"cat:yoga|2\"). Unknown id ⇒ nothing.\n */\n scrollToItemPath?: string;\n /**\n * Fired with args `{ id }` when the bound row at the top of the visible area changes because\n * the user scrolled: on a change only, after the scroll settles, never for a\n * `scrollToItemPath` jump, not on first render. Rows with no `id` are skipped.\n */\n onTopItemChange?: Action;\n /**\n * Horizontal lists only — content insets (points) at the leading / trailing ends of the\n * scroll content, so a carousel can bleed to the screen edge while its first card still\n * starts at the page padding. Mirrors under RTL. Absent ⇒ 0 on every renderer (#5958 dropped\n * the 16 iOS's static `items` strip used to add). A vertical list ignores them.\n */\n contentInsetLeading?: number;\n contentInsetTrailing?: number;\n}"
45
+ "propsSource": "export interface LazyListProps {\n items: Component[];\n horizontal?: boolean;\n spacing?: number;\n /** Motion grammar (Batch 1) — staggered entrance: each child's enter\n * transition/appear is delayed by index × staggerMs (ms). 0/absent = no\n * stagger. Gated by reduced motion.\n *\n * Honored on every renderer, on BOTH the static `items` and the service-bound\n * `itemsPath` paths. The delay modulates an ENTRANCE, so it only cascades a row\n * that carries a `transition`/`appear` — a delay on a row with no entrance\n * animates nothing. */\n staggerMs?: number;\n /** List enrichments. */\n onPullToRefresh?: Action;\n pagination?: Pagination;\n stickyHeader?: Component;\n rowSwipeActions?: SwipeActionSet;\n /**\n * Tier-5 service-bound list: a `$service:`-style path to an array in the\n * worker's state (e.g. \"ownerSites.sites\"). When set, `items[0]` is the row\n * TEMPLATE — instantiated once per array element with `$item.<field>`\n * substitution (ServiceBoundList). Requires a serviceProvider at render.\n */\n itemsPath?: string;\n /** Motion grammar (Phase-3, layout animation) — animate item insert/remove/reorder\n * as the list's contents change (needs stable `Component.id`s). Reduced-motion gated. */\n animateItems?: boolean;\n /**\n * #1054 (WS-3 scroll) — bottom-anchored / reversed layout. When true the list\n * lays out from the BOTTOM (item[0] at the bottom, later items stacking upward)\n * and rests scrolled to the bottom — a chat transcript / live caption that\n * pins to the latest without the 180°-rotation hack. Vertical lists only; not\n * combined with a `stickyHeader`.\n */\n reverseLayout?: boolean;\n /**\n * #1054 (WS-3 scroll) — content insets (points): pad the scroll CONTENT at the\n * top/bottom while the scroller still paints edge-to-edge, so rows scroll\n * *under* floating chrome (a translucent header/footer) instead of being\n * clipped. 0/absent ⇒ no inset.\n */\n contentInsetTop?: number;\n contentInsetBottom?: number;\n /**\n * Jump to a row of a bound (`itemsPath`) list: a `$service:` path whose value names a row by\n * its item's `id`. When the value CHANGES to a non-empty one, the row's top is brought to the\n * top of the visible area (the list's scroll, or the screen's when the list sits in it).\n * Only the part before the first \"|\" is the id, so a worker can re-trigger the same row\n * (\"cat:yoga|2\"). Unknown id ⇒ nothing.\n */\n scrollToItemPath?: string;\n /**\n * Fired with args `{ id }` when the bound row at the top of the visible area changes because\n * the user scrolled: on a change only, after the scroll settles, never for a\n * `scrollToItemPath` jump, not on first render. Rows with no `id` are skipped.\n */\n onTopItemChange?: Action;\n /**\n * Horizontal lists only — content insets (points) at the leading / trailing ends of the\n * scroll content, so a carousel can bleed to the screen edge while its first card still\n * starts at the page padding. Mirrors under RTL. Absent ⇒ 0 on every renderer (#5958 dropped\n * the 16 iOS's static `items` strip used to add). A vertical list ignores them.\n */\n contentInsetLeading?: number;\n contentInsetTrailing?: number;\n /**\n * Vertical lists only — a line BETWEEN rows, never after the last one (Nano's member list: inset\n * dividers, none under the final row). Absent ⇒ no separators. A horizontal list ignores it.\n */\n separator?: ListSeparator;\n}"
46
46
  },
47
47
  {
48
48
  "name": "Grid",
@@ -1300,6 +1300,7 @@
1300
1300
  "TabItem": "export interface TabItem {\n id: string;\n label: string;\n badge?: string;\n}",
1301
1301
  "PickerOption": "export interface PickerOption {\n id: string;\n label: string;\n /** #3801 — a colour chip before the label: a colour token name or \"#RRGGBB\". Drawn first. */\n swatch?: string;\n /** #3801 — a small remote thumbnail before the label (drawn when there is no swatch). */\n imageUrl?: string;\n /** #3801 — a leading icon name (drawn when there is no swatch or image). */\n icon?: IconRef;\n /** #3801 — shown but not choosable; never dispatched through `onChange`. */\n disabled?: boolean;\n}",
1302
1302
  "PickerFieldStyle": "export interface PickerFieldStyle {\n borderColor?: string;\n borderWidth?: number;\n cornerRadius?: number;\n minHeight?: number;\n padding?: number;\n chevronIcon?: string;\n placeholderColor?: string;\n}",
1303
+ "ListSeparator": "export interface ListSeparator {\n /** Colour token; absent or unknown ⇒ \"border\". */\n color?: TokenRef;\n /** Thickness (pt); absent or < 1 ⇒ 1. */\n thickness?: number;\n /** Inset from the leading edge (pt), so the line starts under the row's text; mirrors under RTL. Absent ⇒ 0. */\n insetLeading?: number;\n}",
1303
1304
  "AlertButtonRole": "export type AlertButtonRole = \"default\" | \"cancel\" | \"destructive\";",
1304
1305
  "AlertButton": "export interface AlertButton {\n id: string;\n label: string;\n /** `\"cancel\"` (at most one) takes the cancel position and is what scrim/back/Esc dismissal\n * resolves as; `\"destructive\"` draws with the `danger` token. Default `\"default\"`. */\n role?: AlertButtonRole;\n /** Runs on press. */\n action?: Action;\n}",
1305
1306
  "GaugeRing": "export interface GaugeRing {\n /** Fraction 0..1 for this ring. */\n value?: number;\n /** `$service:`/`$item.` binding → a live number (overrides `value`). */\n valuePath?: string;\n tint?: TokenName;\n}",
@@ -321,6 +321,11 @@ export interface LazyListProps {
321
321
  */
322
322
  contentInsetLeading?: number;
323
323
  contentInsetTrailing?: number;
324
+ /**
325
+ * Vertical lists only — a line BETWEEN rows, never after the last one (Nano's member list: inset
326
+ * dividers, none under the final row). Absent ⇒ no separators. A horizontal list ignores it.
327
+ */
328
+ separator?: ListSeparator;
324
329
  }
325
330
  ```
326
331
 
@@ -2611,7 +2616,8 @@ export interface LogicBundleRef {
2611
2616
  A few props take a typed **object** rather than nested components. Some are arrays of them:
2612
2617
  `FilterChips.chips` is a `FilterChip[]`, `SegmentedControl.options` / `Tabs.tabs` are a
2613
2618
  `TabItem[]`, `Picker.options` / `WheelPicker.options` are a `PickerOption[]` (and
2614
- `Picker.field` is a single `PickerFieldStyle`, the drawn field's look), and
2619
+ `Picker.field` is a single `PickerFieldStyle`, the drawn field's look, and `LazyList.separator` a
2620
+ single `ListSeparator`, the line between rows), and
2615
2621
  `Gauge.rings` is a `GaugeRing[]` (concentric rings, drawn outer→inner), and
2616
2622
  `RichContentEditor.tools` is a `RichContentEditorTool[]` (a fixed list of toolbar buttons), and
2617
2623
  `AlertDialog.buttons` is an `AlertButton[]` (1–3 buttons, at most one `cancel`; it replaces
@@ -2661,6 +2667,15 @@ export interface PickerFieldStyle {
2661
2667
  placeholderColor?: string;
2662
2668
  }
2663
2669
 
2670
+ export interface ListSeparator {
2671
+ /** Colour token; absent or unknown ⇒ "border". */
2672
+ color?: TokenRef;
2673
+ /** Thickness (pt); absent or < 1 ⇒ 1. */
2674
+ thickness?: number;
2675
+ /** Inset from the leading edge (pt), so the line starts under the row's text; mirrors under RTL. Absent ⇒ 0. */
2676
+ insetLeading?: number;
2677
+ }
2678
+
2664
2679
  export interface GaugeRing {
2665
2680
  /** Fraction 0..1 for this ring. */
2666
2681
  value?: number;
@@ -757,7 +757,7 @@ one of the first three.
757
757
  Lists & collections, says what "plain" means); the same list
758
758
  as the screen's root, inside a `Card` or a nested stack, or carrying `stickyHeader`,
759
759
  `rowSwipeActions`, `staggerMs`, `animateItems`, `reverseLayout`, content insets, negative `spacing`,
760
- scroll anchors or modifiers, keeps every row it has built. Warning:
760
+ scroll anchors, a `separator` or modifiers, keeps every row it has built. Warning:
761
761
  `paged_list_not_at_scroll_root`, for a list with `pagination` in any of those places.
762
762
  - **Give every row a stable id.** Each item a worker returns for a list, grid or carousel carries its
763
763
  own unique `id`. With one, a row keeps its identity when items are inserted or reordered. Without
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1804.0",
3
+ "version": "0.1805.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": "171f7d0e76f1d1898b584f4d64851495fe32850561b5cd8d831c0644"
85
+ "falconPackageHash": "4cf7dfa13b3f9276c5cd802e8f59256b25fead319d56c696fb5e3d1f"
86
86
  }