@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,445 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_recipe": "Members directory in the One App look: search field with the member count, FLAT rows with dividers, grey letter bands, role line, badge chips with +N, Follow. ROOT-LEVEL siblings (a paged list must be a direct child of the page root). Every extra hides itself when its option is off or its data is unknown.",
|
|
3
|
+
"_placeholders": {
|
|
4
|
+
"svc": "service name registered with registerMembersDirectory",
|
|
5
|
+
"id": "unique node id prefix for this section",
|
|
6
|
+
"detailScreen": "member profile screen id, himi_member"
|
|
7
|
+
},
|
|
8
|
+
"nodes": [
|
|
9
|
+
{
|
|
10
|
+
"id": "{{id}}.search",
|
|
11
|
+
"body": {
|
|
12
|
+
"package": "himalaya",
|
|
13
|
+
"type": "SearchField",
|
|
14
|
+
"props": {
|
|
15
|
+
"placeholder": "Search members",
|
|
16
|
+
"debounceMs": 200,
|
|
17
|
+
"onChange": {
|
|
18
|
+
"actionId": "tier5.{{svc}}.filter"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"modifiers": {
|
|
23
|
+
"hiddenPath": "$service:{{svc}}.hideSearch"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "{{id}}.count",
|
|
28
|
+
"body": {
|
|
29
|
+
"package": "himalaya",
|
|
30
|
+
"type": "Text",
|
|
31
|
+
"props": {
|
|
32
|
+
"text": "$service:{{svc}}.searchLabel",
|
|
33
|
+
"style": "caption",
|
|
34
|
+
"color": "textSecondary",
|
|
35
|
+
"maxLines": 1,
|
|
36
|
+
"collapseWhenEmpty": true
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"modifiers": {
|
|
40
|
+
"hiddenPath": "$service:{{svc}}.hideSearch",
|
|
41
|
+
"padding": {
|
|
42
|
+
"leading": 0,
|
|
43
|
+
"trailing": 0,
|
|
44
|
+
"top": 0,
|
|
45
|
+
"bottom": 0
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "{{id}}.loading",
|
|
51
|
+
"body": {
|
|
52
|
+
"package": "himalaya",
|
|
53
|
+
"type": "Skeleton",
|
|
54
|
+
"props": {
|
|
55
|
+
"height": 64,
|
|
56
|
+
"count": 6,
|
|
57
|
+
"cornerRadius": 12
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"modifiers": {
|
|
61
|
+
"padding": {
|
|
62
|
+
"leading": 0,
|
|
63
|
+
"trailing": 0,
|
|
64
|
+
"top": 0,
|
|
65
|
+
"bottom": 0
|
|
66
|
+
},
|
|
67
|
+
"hiddenPath": "$service:{{svc}}.notLoading"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "{{id}}.error",
|
|
72
|
+
"body": {
|
|
73
|
+
"package": "himalaya",
|
|
74
|
+
"type": "VStack",
|
|
75
|
+
"props": {
|
|
76
|
+
"spacing": 8,
|
|
77
|
+
"alignment": "leading",
|
|
78
|
+
"children": [
|
|
79
|
+
{
|
|
80
|
+
"id": "{{id}}.error.text",
|
|
81
|
+
"body": {
|
|
82
|
+
"package": "himalaya",
|
|
83
|
+
"type": "Text",
|
|
84
|
+
"props": {
|
|
85
|
+
"text": "$service:{{svc}}.error",
|
|
86
|
+
"style": "body",
|
|
87
|
+
"maxLines": 3,
|
|
88
|
+
"color": "textSecondary"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "{{id}}.retry",
|
|
94
|
+
"body": {
|
|
95
|
+
"package": "himalaya",
|
|
96
|
+
"type": "Button",
|
|
97
|
+
"props": {
|
|
98
|
+
"title": "Try again",
|
|
99
|
+
"style": "secondary",
|
|
100
|
+
"size": "sm",
|
|
101
|
+
"fullWidth": false,
|
|
102
|
+
"action": {
|
|
103
|
+
"actionId": "tier5.{{svc}}.retry"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"modifiers": {
|
|
112
|
+
"padding": {
|
|
113
|
+
"leading": 0,
|
|
114
|
+
"trailing": 0,
|
|
115
|
+
"top": 0,
|
|
116
|
+
"bottom": 0
|
|
117
|
+
},
|
|
118
|
+
"hiddenPath": "$service:{{svc}}.notErrored"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "{{id}}.rows",
|
|
123
|
+
"body": {
|
|
124
|
+
"package": "himalaya",
|
|
125
|
+
"type": "LazyList",
|
|
126
|
+
"props": {
|
|
127
|
+
"itemsPath": "$service:{{svc}}.members",
|
|
128
|
+
"items": [
|
|
129
|
+
{
|
|
130
|
+
"id": "{{id}}.item",
|
|
131
|
+
"body": {
|
|
132
|
+
"package": "himalaya",
|
|
133
|
+
"type": "VStack",
|
|
134
|
+
"props": {
|
|
135
|
+
"spacing": 0,
|
|
136
|
+
"alignment": "leading",
|
|
137
|
+
"children": [
|
|
138
|
+
{
|
|
139
|
+
"id": "{{id}}.band",
|
|
140
|
+
"body": {
|
|
141
|
+
"package": "himalaya",
|
|
142
|
+
"type": "Text",
|
|
143
|
+
"props": {
|
|
144
|
+
"text": "$item.sectionTitle",
|
|
145
|
+
"style": "bodyEmphasis",
|
|
146
|
+
"maxLines": 1,
|
|
147
|
+
"color": "textSecondary",
|
|
148
|
+
"collapseWhenEmpty": true
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"modifiers": {
|
|
152
|
+
"background": {
|
|
153
|
+
"token": "surfaceTertiary"
|
|
154
|
+
},
|
|
155
|
+
"fillMaxWidth": true,
|
|
156
|
+
"padding": {
|
|
157
|
+
"leading": 16,
|
|
158
|
+
"trailing": 16,
|
|
159
|
+
"top": 6,
|
|
160
|
+
"bottom": 6
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "{{id}}.row",
|
|
166
|
+
"body": {
|
|
167
|
+
"package": "himalaya",
|
|
168
|
+
"type": "HStack",
|
|
169
|
+
"props": {
|
|
170
|
+
"spacing": 12,
|
|
171
|
+
"alignment": "center",
|
|
172
|
+
"children": [
|
|
173
|
+
{
|
|
174
|
+
"id": "{{id}}.avatar",
|
|
175
|
+
"body": {
|
|
176
|
+
"package": "himalaya",
|
|
177
|
+
"type": "Image",
|
|
178
|
+
"props": {
|
|
179
|
+
"url": "$item.photo",
|
|
180
|
+
"initials": "$item.initial",
|
|
181
|
+
"width": 48,
|
|
182
|
+
"height": 48,
|
|
183
|
+
"contentMode": "fill",
|
|
184
|
+
"shape": "circle",
|
|
185
|
+
"contentDescription": "$item.name"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"id": "{{id}}.text",
|
|
191
|
+
"body": {
|
|
192
|
+
"package": "himalaya",
|
|
193
|
+
"type": "VStack",
|
|
194
|
+
"props": {
|
|
195
|
+
"spacing": 3,
|
|
196
|
+
"alignment": "leading",
|
|
197
|
+
"children": [
|
|
198
|
+
{
|
|
199
|
+
"id": "{{id}}.name",
|
|
200
|
+
"body": {
|
|
201
|
+
"package": "himalaya",
|
|
202
|
+
"type": "Text",
|
|
203
|
+
"props": {
|
|
204
|
+
"text": "$item.name",
|
|
205
|
+
"style": "bodyEmphasis",
|
|
206
|
+
"maxLines": 1
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "{{id}}.role",
|
|
212
|
+
"body": {
|
|
213
|
+
"package": "himalaya",
|
|
214
|
+
"type": "Text",
|
|
215
|
+
"props": {
|
|
216
|
+
"text": "$item.roleLine",
|
|
217
|
+
"style": "caption",
|
|
218
|
+
"maxLines": 1,
|
|
219
|
+
"color": "textSecondary"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"modifiers": {
|
|
223
|
+
"hiddenPath": "$item.noRoleLine"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"id": "{{id}}.badges",
|
|
228
|
+
"body": {
|
|
229
|
+
"package": "himalaya",
|
|
230
|
+
"type": "HStack",
|
|
231
|
+
"props": {
|
|
232
|
+
"spacing": 6,
|
|
233
|
+
"alignment": "center",
|
|
234
|
+
"children": [
|
|
235
|
+
{
|
|
236
|
+
"id": "",
|
|
237
|
+
"body": {
|
|
238
|
+
"package": "himalaya",
|
|
239
|
+
"type": "Tag",
|
|
240
|
+
"props": {
|
|
241
|
+
"text": "$item.badge1Label",
|
|
242
|
+
"tokenPath": "$item.badge1Token"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"modifiers": {
|
|
246
|
+
"hiddenPath": "$item.noBadge1"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"id": "",
|
|
251
|
+
"body": {
|
|
252
|
+
"package": "himalaya",
|
|
253
|
+
"type": "Tag",
|
|
254
|
+
"props": {
|
|
255
|
+
"text": "$item.badgeOverflow",
|
|
256
|
+
"token": "textSecondary"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"modifiers": {
|
|
260
|
+
"hiddenPath": "$item.noOverflow"
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"modifiers": {
|
|
267
|
+
"hiddenPath": "$item.noBadges"
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"modifiers": {
|
|
274
|
+
"weight": 1
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"id": "{{id}}.follow",
|
|
279
|
+
"body": {
|
|
280
|
+
"package": "himalaya",
|
|
281
|
+
"type": "Text",
|
|
282
|
+
"props": {
|
|
283
|
+
"text": "$item.followLabel",
|
|
284
|
+
"style": "bodyEmphasis",
|
|
285
|
+
"maxLines": 1,
|
|
286
|
+
"color": "accentPrimary"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"modifiers": {
|
|
290
|
+
"onTap": {
|
|
291
|
+
"actionId": "tier5.{{svc}}.follow",
|
|
292
|
+
"params": {
|
|
293
|
+
"id": "$item.id"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"pressFeedback": "scale",
|
|
297
|
+
"haptic": "light",
|
|
298
|
+
"accessibilityLabel": "$item.followLabel",
|
|
299
|
+
"padding": {
|
|
300
|
+
"leading": 8,
|
|
301
|
+
"trailing": 0,
|
|
302
|
+
"top": 8,
|
|
303
|
+
"bottom": 8
|
|
304
|
+
},
|
|
305
|
+
"hiddenPath": "$item.noFollow"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"modifiers": {
|
|
312
|
+
"padding": {
|
|
313
|
+
"leading": 16,
|
|
314
|
+
"trailing": 16,
|
|
315
|
+
"top": 10,
|
|
316
|
+
"bottom": 10
|
|
317
|
+
},
|
|
318
|
+
"onTap": {
|
|
319
|
+
"actionId": "himi.open",
|
|
320
|
+
"params": {
|
|
321
|
+
"screenId": "{{detailScreen}}",
|
|
322
|
+
"id": "$item.id"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"accessibilityLabel": "$item.name"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"id": "",
|
|
330
|
+
"body": {
|
|
331
|
+
"package": "himalaya",
|
|
332
|
+
"type": "Divider",
|
|
333
|
+
"props": {}
|
|
334
|
+
},
|
|
335
|
+
"modifiers": {
|
|
336
|
+
"padding": {
|
|
337
|
+
"leading": 16
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
]
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
"spacing": 0,
|
|
347
|
+
"pagination": {
|
|
348
|
+
"cursor": "$service:{{svc}}.nextCursor",
|
|
349
|
+
"onLoadMore": {
|
|
350
|
+
"actionId": "tier5.{{svc}}.loadMore"
|
|
351
|
+
},
|
|
352
|
+
"pageSize": 50
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"modifiers": {
|
|
357
|
+
"padding": {
|
|
358
|
+
"leading": 0,
|
|
359
|
+
"trailing": 0,
|
|
360
|
+
"top": 0,
|
|
361
|
+
"bottom": 0
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"id": "{{id}}.message",
|
|
367
|
+
"body": {
|
|
368
|
+
"package": "himalaya",
|
|
369
|
+
"type": "Text",
|
|
370
|
+
"props": {
|
|
371
|
+
"text": "$service:{{svc}}.actionMessage",
|
|
372
|
+
"style": "caption",
|
|
373
|
+
"maxLines": 1,
|
|
374
|
+
"color": "textSecondary",
|
|
375
|
+
"collapseWhenEmpty": true
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"id": "{{id}}.page_error",
|
|
381
|
+
"body": {
|
|
382
|
+
"package": "himalaya",
|
|
383
|
+
"type": "VStack",
|
|
384
|
+
"props": {
|
|
385
|
+
"spacing": 8,
|
|
386
|
+
"alignment": "leading",
|
|
387
|
+
"children": [
|
|
388
|
+
{
|
|
389
|
+
"id": "{{id}}.page_error.text",
|
|
390
|
+
"body": {
|
|
391
|
+
"package": "himalaya",
|
|
392
|
+
"type": "Text",
|
|
393
|
+
"props": {
|
|
394
|
+
"text": "$service:{{svc}}.error",
|
|
395
|
+
"style": "body",
|
|
396
|
+
"maxLines": 1,
|
|
397
|
+
"color": "textSecondary"
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"id": "{{id}}.page_retry",
|
|
403
|
+
"body": {
|
|
404
|
+
"package": "himalaya",
|
|
405
|
+
"type": "Button",
|
|
406
|
+
"props": {
|
|
407
|
+
"title": "Try again",
|
|
408
|
+
"style": "secondary",
|
|
409
|
+
"size": "sm",
|
|
410
|
+
"fullWidth": false,
|
|
411
|
+
"action": {
|
|
412
|
+
"actionId": "tier5.{{svc}}.retry"
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
]
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"modifiers": {
|
|
421
|
+
"padding": {
|
|
422
|
+
"leading": 0,
|
|
423
|
+
"trailing": 0,
|
|
424
|
+
"top": 0,
|
|
425
|
+
"bottom": 0
|
|
426
|
+
},
|
|
427
|
+
"hiddenPath": "$service:{{svc}}.noPageError"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"id": "{{id}}.empty",
|
|
432
|
+
"body": {
|
|
433
|
+
"package": "himalaya",
|
|
434
|
+
"type": "Text",
|
|
435
|
+
"props": {
|
|
436
|
+
"text": "$service:{{svc}}.emptyText",
|
|
437
|
+
"style": "body",
|
|
438
|
+
"maxLines": 1,
|
|
439
|
+
"color": "textSecondary",
|
|
440
|
+
"collapseWhenEmpty": true
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
}
|