@wix/himalaya-cli 0.1741.0 → 0.1742.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/stdlib/wix-sdk/members-v1/src/index.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/pricing-plans/src/index.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +6 -0
- package/dist/cli.mjs +161 -73
- package/guides/getting-started.md +18 -7
- package/guides/himi-json-output.md +11 -0
- package/guides/himi-skill.md +18 -7
- package/guides/sdk-reference.json +11 -2
- package/guides/skill.md +24 -13
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/en.json +55 -0
- package/templates/beauty-salon/l10n/fr.json +297 -0
- package/templates/beauty-salon/l10n/he.json +319 -0
- package/templates/beauty-salon/recipes/blog-list-thumb-start.json +364 -0
- package/templates/beauty-salon/recipes/blog-list.json +364 -0
- package/templates/beauty-salon/recipes/blog-see-all.json +50 -0
- package/templates/beauty-salon/recipes/events-inline-list.json +203 -0
- package/templates/beauty-salon/recipes/events-inline.json +284 -0
- package/templates/beauty-salon/recipes/members-list.json +445 -0
- package/templates/beauty-salon/recipes/plans-card.json +811 -0
- package/templates/beauty-salon/recipes/programs-card.json +254 -0
- package/templates/beauty-salon/recipes/programs-carousel.json +234 -0
- package/templates/beauty-salon/recipes/section-error.json +58 -0
- package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/beauty-salon/tier5-src/_shared/event-registration.ts +86 -0
- package/templates/beauty-salon/tier5-src/_shared/events-card.ts +33 -0
- package/templates/beauty-salon/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/beauty-salon/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/beauty-salon/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/beauty-salon/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/beauty-salon/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/branded-lite/l10n/fr.json +10 -0
- package/templates/branded-lite/l10n/he.json +88 -0
- package/templates/branded-lite/recipes/blog-list-thumb-start.json +364 -0
- package/templates/branded-lite/recipes/blog-list.json +364 -0
- package/templates/branded-lite/recipes/blog-see-all.json +50 -0
- package/templates/branded-lite/recipes/events-inline-list.json +203 -0
- package/templates/branded-lite/recipes/events-inline.json +284 -0
- package/templates/branded-lite/recipes/members-list.json +445 -0
- package/templates/branded-lite/recipes/plans-card.json +811 -0
- package/templates/branded-lite/recipes/programs-card.json +254 -0
- package/templates/branded-lite/recipes/programs-carousel.json +234 -0
- package/templates/branded-lite/recipes/section-error.json +58 -0
- package/templates/branded-lite/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/branded-lite/tier5-src/_shared/events-card.ts +33 -0
- package/templates/branded-lite/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/branded-lite/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/branded-lite/tier5-src/_shared/member-row-extras.ts +1 -1
- package/templates/branded-lite/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/branded-lite/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/branded-lite/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/branded-lite/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/branded-lite/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/branded-lite/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/community-club/l10n/en.json +45 -0
- package/templates/community-club/l10n/fr.json +292 -0
- package/templates/community-club/l10n/he.json +315 -0
- package/templates/community-club/recipes/blog-list-thumb-start.json +364 -0
- package/templates/community-club/recipes/blog-list.json +364 -0
- package/templates/community-club/recipes/blog-see-all.json +50 -0
- package/templates/community-club/recipes/events-inline-list.json +203 -0
- package/templates/community-club/recipes/events-inline.json +284 -0
- package/templates/community-club/recipes/members-list.json +445 -0
- package/templates/community-club/recipes/plans-card.json +811 -0
- package/templates/community-club/recipes/programs-card.json +254 -0
- package/templates/community-club/recipes/programs-carousel.json +234 -0
- package/templates/community-club/recipes/section-error.json +58 -0
- package/templates/community-club/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/community-club/tier5-src/_shared/detail-presence.ts +51 -0
- package/templates/community-club/tier5-src/_shared/events-card.ts +33 -0
- package/templates/community-club/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/community-club/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/community-club/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/community-club/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/community-club/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/community-club/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/community-club/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/community-club/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/community-club/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/events-meetups/l10n/en.json +45 -0
- package/templates/events-meetups/l10n/fr.json +292 -0
- package/templates/events-meetups/l10n/he.json +315 -0
- package/templates/events-meetups/recipes/blog-list-thumb-start.json +364 -0
- package/templates/events-meetups/recipes/blog-list.json +364 -0
- package/templates/events-meetups/recipes/blog-see-all.json +50 -0
- package/templates/events-meetups/recipes/events-inline-list.json +203 -0
- package/templates/events-meetups/recipes/events-inline.json +284 -0
- package/templates/events-meetups/recipes/members-list.json +445 -0
- package/templates/events-meetups/recipes/plans-card.json +811 -0
- package/templates/events-meetups/recipes/programs-card.json +254 -0
- package/templates/events-meetups/recipes/programs-carousel.json +234 -0
- package/templates/events-meetups/recipes/section-error.json +58 -0
- package/templates/events-meetups/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/events-meetups/tier5-src/_shared/detail-presence.ts +51 -0
- package/templates/events-meetups/tier5-src/_shared/events-card.ts +33 -0
- package/templates/events-meetups/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/events-meetups/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/events-meetups/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/events-meetups/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/events-meetups/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/events-meetups/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/events-meetups/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/events-meetups/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/gym-fitness/l10n/en.json +45 -0
- package/templates/gym-fitness/l10n/fr.json +282 -0
- package/templates/gym-fitness/l10n/he.json +307 -0
- package/templates/gym-fitness/recipes/blog-list-thumb-start.json +364 -0
- package/templates/gym-fitness/recipes/blog-list.json +364 -0
- package/templates/gym-fitness/recipes/blog-see-all.json +50 -0
- package/templates/gym-fitness/recipes/events-inline-list.json +203 -0
- package/templates/gym-fitness/recipes/events-inline.json +284 -0
- package/templates/gym-fitness/recipes/members-list.json +445 -0
- package/templates/gym-fitness/recipes/plans-card.json +811 -0
- package/templates/gym-fitness/recipes/programs-card.json +254 -0
- package/templates/gym-fitness/recipes/programs-carousel.json +234 -0
- package/templates/gym-fitness/recipes/section-error.json +58 -0
- package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/gym-fitness/tier5-src/_shared/events-card.ts +33 -0
- package/templates/gym-fitness/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/gym-fitness/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/gym-fitness/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/gym-fitness/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/gym-fitness/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/nonprofit-cause/l10n/en.json +45 -0
- package/templates/nonprofit-cause/l10n/fr.json +267 -0
- package/templates/nonprofit-cause/l10n/he.json +295 -0
- package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +364 -0
- package/templates/nonprofit-cause/recipes/blog-list.json +364 -0
- package/templates/nonprofit-cause/recipes/blog-see-all.json +50 -0
- package/templates/nonprofit-cause/recipes/events-inline-list.json +203 -0
- package/templates/nonprofit-cause/recipes/events-inline.json +284 -0
- package/templates/nonprofit-cause/recipes/members-list.json +445 -0
- package/templates/nonprofit-cause/recipes/plans-card.json +811 -0
- package/templates/nonprofit-cause/recipes/programs-card.json +254 -0
- package/templates/nonprofit-cause/recipes/programs-carousel.json +234 -0
- package/templates/nonprofit-cause/recipes/section-error.json +58 -0
- package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/nonprofit-cause/tier5-src/_shared/events-card.ts +33 -0
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/nonprofit-cause/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/nonprofit-cause/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/nonprofit-cause/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/podcast-creator/l10n/en.json +45 -0
- package/templates/podcast-creator/l10n/fr.json +287 -0
- package/templates/podcast-creator/l10n/he.json +311 -0
- package/templates/podcast-creator/recipes/blog-list-thumb-start.json +364 -0
- package/templates/podcast-creator/recipes/blog-list.json +364 -0
- package/templates/podcast-creator/recipes/blog-see-all.json +50 -0
- package/templates/podcast-creator/recipes/events-inline-list.json +203 -0
- package/templates/podcast-creator/recipes/events-inline.json +284 -0
- package/templates/podcast-creator/recipes/members-list.json +445 -0
- package/templates/podcast-creator/recipes/plans-card.json +811 -0
- package/templates/podcast-creator/recipes/programs-card.json +254 -0
- package/templates/podcast-creator/recipes/programs-carousel.json +234 -0
- package/templates/podcast-creator/recipes/section-error.json +58 -0
- package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/podcast-creator/tier5-src/_shared/events-card.ts +33 -0
- package/templates/podcast-creator/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/podcast-creator/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/podcast-creator/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/podcast-creator/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/podcast-creator/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/portfolio-creative/l10n/en.json +45 -0
- package/templates/portfolio-creative/l10n/fr.json +317 -0
- package/templates/portfolio-creative/l10n/he.json +335 -0
- package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +364 -0
- package/templates/portfolio-creative/recipes/blog-list.json +364 -0
- package/templates/portfolio-creative/recipes/blog-see-all.json +50 -0
- package/templates/portfolio-creative/recipes/events-inline-list.json +203 -0
- package/templates/portfolio-creative/recipes/events-inline.json +284 -0
- package/templates/portfolio-creative/recipes/members-list.json +445 -0
- package/templates/portfolio-creative/recipes/plans-card.json +811 -0
- package/templates/portfolio-creative/recipes/programs-card.json +254 -0
- package/templates/portfolio-creative/recipes/programs-carousel.json +234 -0
- package/templates/portfolio-creative/recipes/section-error.json +58 -0
- package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/portfolio-creative/tier5-src/_shared/events-card.ts +33 -0
- package/templates/portfolio-creative/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/portfolio-creative/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/portfolio-creative/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/portfolio-creative/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/portfolio-creative/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/restaurant/l10n/en.json +45 -0
- package/templates/restaurant/l10n/fr.json +317 -0
- package/templates/restaurant/l10n/he.json +335 -0
- package/templates/restaurant/recipes/blog-list-thumb-start.json +364 -0
- package/templates/restaurant/recipes/blog-list.json +364 -0
- package/templates/restaurant/recipes/blog-see-all.json +50 -0
- package/templates/restaurant/recipes/events-inline-list.json +203 -0
- package/templates/restaurant/recipes/events-inline.json +284 -0
- package/templates/restaurant/recipes/members-list.json +445 -0
- package/templates/restaurant/recipes/plans-card.json +811 -0
- package/templates/restaurant/recipes/programs-card.json +254 -0
- package/templates/restaurant/recipes/programs-carousel.json +234 -0
- package/templates/restaurant/recipes/section-error.json +58 -0
- package/templates/restaurant/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/restaurant/tier5-src/_shared/events-card.ts +33 -0
- package/templates/restaurant/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/restaurant/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/restaurant/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/restaurant/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/restaurant/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/restaurant/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/restaurant/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/restaurant/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/retail-store/l10n/en.json +60 -0
- package/templates/retail-store/l10n/fr.json +342 -0
- package/templates/retail-store/l10n/he.json +355 -0
- package/templates/retail-store/recipes/blog-list-thumb-start.json +364 -0
- package/templates/retail-store/recipes/blog-list.json +364 -0
- package/templates/retail-store/recipes/blog-see-all.json +50 -0
- package/templates/retail-store/recipes/events-inline-list.json +203 -0
- package/templates/retail-store/recipes/events-inline.json +284 -0
- package/templates/retail-store/recipes/members-list.json +445 -0
- package/templates/retail-store/recipes/plans-card.json +811 -0
- package/templates/retail-store/recipes/programs-card.json +254 -0
- package/templates/retail-store/recipes/programs-carousel.json +234 -0
- package/templates/retail-store/recipes/section-error.json +58 -0
- package/templates/retail-store/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/retail-store/tier5-src/_shared/event-registration.ts +86 -0
- package/templates/retail-store/tier5-src/_shared/events-card.ts +33 -0
- package/templates/retail-store/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/retail-store/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/retail-store/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/retail-store/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/retail-store/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/retail-store/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/retail-store/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/retail-store/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/yoga-studio/l10n/en.json +24 -0
- package/templates/yoga-studio/l10n/fr.json +64 -0
- package/templates/yoga-studio/l10n/he.json +132 -0
- package/templates/yoga-studio/recipes/blog-list-thumb-start.json +364 -0
- package/templates/yoga-studio/recipes/blog-list.json +364 -0
- package/templates/yoga-studio/recipes/blog-see-all.json +50 -0
- package/templates/yoga-studio/recipes/events-inline-list.json +203 -0
- package/templates/yoga-studio/recipes/events-inline.json +284 -0
- package/templates/yoga-studio/recipes/members-list.json +445 -0
- package/templates/yoga-studio/recipes/plans-card.json +811 -0
- package/templates/yoga-studio/recipes/programs-card.json +254 -0
- package/templates/yoga-studio/recipes/programs-carousel.json +234 -0
- package/templates/yoga-studio/recipes/section-error.json +58 -0
- package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/yoga-studio/tier5-src/_shared/events-card.ts +33 -0
- package/templates/yoga-studio/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/yoga-studio/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/yoga-studio/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/yoga-studio/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/yoga-studio/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_recipe": "Inline events section, CARD layout: cover image, date badge, title, date, location, Share and the registration action. ONE node. Service: registerEventsInline(svc, { limit }); the page worker's onAppear calls tier5.<svc>.load with the copy pack. Generated from eventsInlineSection(); a test fails if they differ.",
|
|
3
|
+
"_placeholders": {
|
|
4
|
+
"svc": "service name the page worker registered with registerEventsInline(svc, { limit })",
|
|
5
|
+
"id": "unique node id prefix for this section. To switch Share or See-all OFF, drop the node with id {{id}}.share or {{id}}.see_all",
|
|
6
|
+
"shareLabel": "the Share button label (stock copy: Share)",
|
|
7
|
+
"seeAllLabel": "the See-all link label (stock copy: See all events)",
|
|
8
|
+
"seeAllScreen": "the screen See-all opens, default himi_events"
|
|
9
|
+
},
|
|
10
|
+
"node": {
|
|
11
|
+
"id": "{{id}}",
|
|
12
|
+
"body": {
|
|
13
|
+
"package": "himalaya",
|
|
14
|
+
"type": "VStack",
|
|
15
|
+
"props": {
|
|
16
|
+
"spacing": 12,
|
|
17
|
+
"alignment": "leading",
|
|
18
|
+
"children": [
|
|
19
|
+
{
|
|
20
|
+
"id": "{{id}}.list",
|
|
21
|
+
"body": {
|
|
22
|
+
"package": "himalaya",
|
|
23
|
+
"type": "Grid",
|
|
24
|
+
"props": {
|
|
25
|
+
"columns": 1,
|
|
26
|
+
"spacing": 12,
|
|
27
|
+
"itemsPath": "$service:{{svc}}.rows",
|
|
28
|
+
"items": [
|
|
29
|
+
{
|
|
30
|
+
"id": "{{id}}.row",
|
|
31
|
+
"body": {
|
|
32
|
+
"package": "himalaya",
|
|
33
|
+
"type": "VStack",
|
|
34
|
+
"props": {
|
|
35
|
+
"spacing": 12,
|
|
36
|
+
"alignment": "leading",
|
|
37
|
+
"children": [
|
|
38
|
+
{
|
|
39
|
+
"id": "",
|
|
40
|
+
"body": {
|
|
41
|
+
"package": "himalaya",
|
|
42
|
+
"type": "Image",
|
|
43
|
+
"props": {
|
|
44
|
+
"url": "$item.image",
|
|
45
|
+
"fillWidth": true,
|
|
46
|
+
"height": 150,
|
|
47
|
+
"contentMode": "fill",
|
|
48
|
+
"contentDescription": "$item.title"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"modifiers": {
|
|
52
|
+
"fillMaxWidth": true,
|
|
53
|
+
"hiddenPath": "$item.noImage"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "",
|
|
58
|
+
"body": {
|
|
59
|
+
"package": "himalaya",
|
|
60
|
+
"type": "HStack",
|
|
61
|
+
"props": {
|
|
62
|
+
"spacing": 14,
|
|
63
|
+
"alignment": "leading",
|
|
64
|
+
"children": [
|
|
65
|
+
{
|
|
66
|
+
"id": "{{id}}.date",
|
|
67
|
+
"body": {
|
|
68
|
+
"package": "himalaya",
|
|
69
|
+
"type": "Text",
|
|
70
|
+
"props": {
|
|
71
|
+
"text": "$item.dateBadge",
|
|
72
|
+
"style": "title2",
|
|
73
|
+
"maxLines": 2
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"modifiers": {
|
|
77
|
+
"hiddenPath": "$item.noDateBadge"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "",
|
|
82
|
+
"body": {
|
|
83
|
+
"package": "himalaya",
|
|
84
|
+
"type": "VStack",
|
|
85
|
+
"props": {
|
|
86
|
+
"spacing": 4,
|
|
87
|
+
"alignment": "leading",
|
|
88
|
+
"children": [
|
|
89
|
+
{
|
|
90
|
+
"id": "{{id}}.title",
|
|
91
|
+
"body": {
|
|
92
|
+
"package": "himalaya",
|
|
93
|
+
"type": "Text",
|
|
94
|
+
"props": {
|
|
95
|
+
"text": "$item.title",
|
|
96
|
+
"style": "bodyEmphasis",
|
|
97
|
+
"maxLines": 2
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "",
|
|
103
|
+
"body": {
|
|
104
|
+
"package": "himalaya",
|
|
105
|
+
"type": "Text",
|
|
106
|
+
"props": {
|
|
107
|
+
"text": "$item.dateLine",
|
|
108
|
+
"style": "footnote",
|
|
109
|
+
"color": "textSecondary",
|
|
110
|
+
"maxLines": 1,
|
|
111
|
+
"collapseWhenEmpty": true
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "",
|
|
117
|
+
"body": {
|
|
118
|
+
"package": "himalaya",
|
|
119
|
+
"type": "Text",
|
|
120
|
+
"props": {
|
|
121
|
+
"text": "$item.location",
|
|
122
|
+
"style": "footnote",
|
|
123
|
+
"color": "textSecondary",
|
|
124
|
+
"maxLines": 1,
|
|
125
|
+
"collapseWhenEmpty": true
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"modifiers": {
|
|
133
|
+
"fillMaxWidth": true
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"modifiers": {
|
|
140
|
+
"padding": {
|
|
141
|
+
"leading": 14,
|
|
142
|
+
"trailing": 14
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "",
|
|
148
|
+
"body": {
|
|
149
|
+
"package": "himalaya",
|
|
150
|
+
"type": "Divider",
|
|
151
|
+
"props": {}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": "",
|
|
156
|
+
"body": {
|
|
157
|
+
"package": "himalaya",
|
|
158
|
+
"type": "HStack",
|
|
159
|
+
"props": {
|
|
160
|
+
"spacing": 0,
|
|
161
|
+
"alignment": "center",
|
|
162
|
+
"children": [
|
|
163
|
+
{
|
|
164
|
+
"id": "{{id}}.share",
|
|
165
|
+
"body": {
|
|
166
|
+
"package": "himalaya",
|
|
167
|
+
"type": "Button",
|
|
168
|
+
"props": {
|
|
169
|
+
"title": "{{shareLabel}}",
|
|
170
|
+
"style": "link",
|
|
171
|
+
"leadingIcon": "share",
|
|
172
|
+
"action": {
|
|
173
|
+
"actionId": "tier5.{{svc}}.share",
|
|
174
|
+
"params": {
|
|
175
|
+
"id": "$item.id"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"modifiers": {
|
|
181
|
+
"fillMaxWidth": true
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"id": "{{id}}.action",
|
|
186
|
+
"body": {
|
|
187
|
+
"package": "himalaya",
|
|
188
|
+
"type": "Button",
|
|
189
|
+
"props": {
|
|
190
|
+
"title": "$item.actionLabel",
|
|
191
|
+
"style": "link",
|
|
192
|
+
"action": {
|
|
193
|
+
"actionId": "himi.open",
|
|
194
|
+
"params": {
|
|
195
|
+
"screenId": "$item.detailScreenId",
|
|
196
|
+
"id": "$item.id"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"modifiers": {
|
|
202
|
+
"fillMaxWidth": true,
|
|
203
|
+
"hiddenPath": "$item.noAction"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"modifiers": {
|
|
214
|
+
"background": {
|
|
215
|
+
"token": "surfaceElevated"
|
|
216
|
+
},
|
|
217
|
+
"border": {
|
|
218
|
+
"width": 1,
|
|
219
|
+
"color": {
|
|
220
|
+
"token": "border"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"cornerRadius": 8,
|
|
224
|
+
"onTap": {
|
|
225
|
+
"actionId": "himi.open",
|
|
226
|
+
"params": {
|
|
227
|
+
"screenId": "$item.detailScreenId",
|
|
228
|
+
"id": "$item.id"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"pressFeedback": "scale",
|
|
232
|
+
"haptic": "light",
|
|
233
|
+
"accessibilityLabel": "$item.title"
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"modifiers": {
|
|
240
|
+
"hiddenPath": "$service:{{svc}}.noRows"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"id": "{{id}}.empty",
|
|
245
|
+
"body": {
|
|
246
|
+
"package": "himalaya",
|
|
247
|
+
"type": "Text",
|
|
248
|
+
"props": {
|
|
249
|
+
"text": "$service:{{svc}}.emptyText",
|
|
250
|
+
"style": "footnote",
|
|
251
|
+
"color": "textSecondary",
|
|
252
|
+
"collapseWhenEmpty": true
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"modifiers": {
|
|
256
|
+
"hiddenPath": "$service:{{svc}}.noEmpty"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"id": "{{id}}.see_all",
|
|
261
|
+
"body": {
|
|
262
|
+
"package": "himalaya",
|
|
263
|
+
"type": "Button",
|
|
264
|
+
"props": {
|
|
265
|
+
"title": "{{seeAllLabel}}",
|
|
266
|
+
"style": "link",
|
|
267
|
+
"trailingIcon": "chevron_right",
|
|
268
|
+
"action": {
|
|
269
|
+
"actionId": "himi.open",
|
|
270
|
+
"params": {
|
|
271
|
+
"screenId": "{{seeAllScreen}}"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"modifiers": {
|
|
277
|
+
"hiddenPath": "$service:{{svc}}.noMore"
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
]
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|