@wix/himalaya-cli 0.1516.0 → 0.1518.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +8 -0
- package/dist/cli.mjs +78 -47
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/recipe-dynamic-list.md +19 -11
- package/package.json +2 -2
- package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +1 -2
- package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/branded-lite/config.ts +6 -13
- package/templates/branded-lite/dev/index.ts +5 -100
- package/templates/branded-lite/himalaya.content.json +1 -4
- package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +1 -2
- package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +1 -2
- package/templates/community-club/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +1 -2
- package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +1 -2
- package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +1 -2
- package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +1 -2
- package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +1 -2
- package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +1 -2
- package/templates/restaurant/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +1 -2
- package/templates/retail-store/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +1 -2
- package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +0 -1
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +0 -1
|
@@ -1677,6 +1677,13 @@ export declare function grid(props: {
|
|
|
1677
1677
|
/** RFC 0037 — per-cell entrance delay (`index * staggerMs`); cells need their own
|
|
1678
1678
|
* `transition`/`appear` for it to show. Honored on the `itemsPath` path too. */
|
|
1679
1679
|
staggerMs?: number;
|
|
1680
|
+
/** #4672 — LazyList's pull-to-refresh and cursor pagination, same semantics. */
|
|
1681
|
+
onPullToRefresh?: ActionShape;
|
|
1682
|
+
pagination?: {
|
|
1683
|
+
cursor?: string;
|
|
1684
|
+
onLoadMore: ActionShape;
|
|
1685
|
+
pageSize?: number;
|
|
1686
|
+
};
|
|
1680
1687
|
}, opts?: {
|
|
1681
1688
|
id?: string;
|
|
1682
1689
|
}): Component;
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts
CHANGED
|
@@ -540,6 +540,14 @@ export interface GridProps {
|
|
|
540
540
|
* row. Reduced motion collapses it to 0. Absent/0 ⇒ no cascade, which is the back-compat
|
|
541
541
|
* default. */
|
|
542
542
|
staggerMs?: number;
|
|
543
|
+
/** #4672 — pull-to-refresh, exactly as on `LazyList`: the screen's refresh gesture dispatches
|
|
544
|
+
* this action (the shells find the first `onPullToRefresh` in the payload, list or grid). */
|
|
545
|
+
onPullToRefresh?: Action;
|
|
546
|
+
/** #4672 — infinite scroll, as on `LazyList`: `onLoadMore` fires once per published non-empty
|
|
547
|
+
* `cursor` (usually a `$service:` binding) when the grid's trailing edge comes into view; a cursor
|
|
548
|
+
* the worker publishes again (a refresh back to page 2) pages again. An empty cursor is
|
|
549
|
+
* exhausted, and nothing fires. Works with `items` and `itemsPath`. */
|
|
550
|
+
pagination?: Pagination;
|
|
543
551
|
}
|
|
544
552
|
export interface CardProps {
|
|
545
553
|
children: Component[];
|