@wix/himalaya-cli 0.1953.0 → 0.1955.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.
Files changed (120) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/auth-providers/wix/src/index.d.ts +5 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-auth.mjs +2 -1
  3. package/dist/cli.mjs +224 -98
  4. package/guides/one-app-section-mappings.md +4 -4
  5. package/guides/one-app-to-himi-app.md +14 -10
  6. package/package.json +2 -2
  7. package/templates/bare-fashion/tier5-src/_shared/engine-intl.ts +6 -0
  8. package/templates/beauty-salon/tier5-src/_shared/agenda-calendar.ts +95 -0
  9. package/templates/beauty-salon/tier5-src/_shared/booking-session.ts +10 -0
  10. package/templates/beauty-salon/tier5-src/_shared/class-sessions.ts +113 -0
  11. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +6 -0
  12. package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  13. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +6 -0
  14. package/templates/beauty-salon-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  15. package/templates/branded-lite/l10n/ar.json +10 -0
  16. package/templates/branded-lite/l10n/cs.json +10 -0
  17. package/templates/branded-lite/l10n/da.json +10 -0
  18. package/templates/branded-lite/l10n/de.json +10 -0
  19. package/templates/branded-lite/l10n/el.json +10 -0
  20. package/templates/branded-lite/l10n/es.json +10 -0
  21. package/templates/branded-lite/l10n/fi.json +10 -0
  22. package/templates/branded-lite/l10n/fr.json +10 -0
  23. package/templates/branded-lite/l10n/he.json +9 -0
  24. package/templates/branded-lite/l10n/hu.json +10 -0
  25. package/templates/branded-lite/l10n/id.json +10 -0
  26. package/templates/branded-lite/l10n/it.json +10 -0
  27. package/templates/branded-lite/l10n/ja.json +10 -0
  28. package/templates/branded-lite/l10n/ko.json +10 -0
  29. package/templates/branded-lite/l10n/lt.json +10 -0
  30. package/templates/branded-lite/l10n/nl.json +10 -0
  31. package/templates/branded-lite/l10n/no.json +10 -0
  32. package/templates/branded-lite/l10n/pl.json +10 -0
  33. package/templates/branded-lite/l10n/pt.json +10 -0
  34. package/templates/branded-lite/l10n/ru.json +10 -0
  35. package/templates/branded-lite/l10n/sv.json +10 -0
  36. package/templates/branded-lite/l10n/th.json +10 -0
  37. package/templates/branded-lite/l10n/tr.json +10 -0
  38. package/templates/branded-lite/l10n/uk.json +10 -0
  39. package/templates/branded-lite/l10n/vi.json +10 -0
  40. package/templates/branded-lite/l10n/zh.json +10 -0
  41. package/templates/branded-lite/recipes/blog-carousel-classic.json +335 -0
  42. package/templates/branded-lite/recipes/blog-carousel-full.json +374 -0
  43. package/templates/branded-lite/recipes/class-calendar.json +707 -0
  44. package/templates/branded-lite/recipes/events-inline-carousel.json +308 -0
  45. package/templates/branded-lite/recipes/galleries-carousel.json +51 -2
  46. package/templates/branded-lite/recipes/galleries-collage.json +51 -2
  47. package/templates/branded-lite/recipes/galleries-list.json +51 -2
  48. package/templates/branded-lite/recipes/groups-cards.json +194 -86
  49. package/templates/branded-lite/recipes/groups-list.json +209 -62
  50. package/templates/branded-lite/recipes/upcoming-sessions.json +280 -0
  51. package/templates/branded-lite/tier5-src/_shared/agenda-calendar.ts +95 -0
  52. package/templates/branded-lite/tier5-src/_shared/blog-list.ts +5 -1
  53. package/templates/branded-lite/tier5-src/_shared/booking-session.ts +10 -0
  54. package/templates/branded-lite/tier5-src/_shared/class-calendar-section.ts +280 -0
  55. package/templates/branded-lite/tier5-src/_shared/class-sessions.ts +113 -0
  56. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +6 -0
  57. package/templates/branded-lite/tier5-src/_shared/galleries-section.ts +70 -23
  58. package/templates/branded-lite/tier5-src/_shared/groups-section.ts +297 -26
  59. package/templates/branded-lite/tier5-src/_shared/upcoming-sessions-section.ts +121 -0
  60. package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  61. package/templates/brandy/tier5-src/_shared/engine-intl.ts +6 -0
  62. package/templates/community-club/tier5-src/_shared/engine-intl.ts +6 -0
  63. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +6 -0
  64. package/templates/community-club-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  65. package/templates/conference/tier5-src/_shared/engine-intl.ts +6 -0
  66. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +6 -0
  67. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +6 -0
  68. package/templates/events-meetups-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  69. package/templates/fitness-gym/tier5-src/_shared/agenda-calendar.ts +95 -0
  70. package/templates/fitness-gym/tier5-src/_shared/booking-session.ts +10 -0
  71. package/templates/fitness-gym/tier5-src/_shared/class-sessions.ts +113 -0
  72. package/templates/fitness-gym/tier5-src/_shared/engine-intl.ts +6 -0
  73. package/templates/fitness-gym/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  74. package/templates/gym-fitness/tier5-src/_shared/agenda-calendar.ts +95 -0
  75. package/templates/gym-fitness/tier5-src/_shared/booking-session.ts +10 -0
  76. package/templates/gym-fitness/tier5-src/_shared/class-sessions.ts +113 -0
  77. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +6 -0
  78. package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  79. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +6 -0
  80. package/templates/gym-fitness-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  81. package/templates/medical-services/tier5-src/_shared/booking-session.ts +10 -0
  82. package/templates/medical-services/tier5-src/_shared/engine-intl.ts +6 -0
  83. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +6 -0
  84. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +6 -0
  85. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  86. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +6 -0
  87. package/templates/owner-lite/tier5-src/_shared/owner-selected-site.ts +13 -0
  88. package/templates/personal-fitness-trainer/tier5-src/_shared/agenda-calendar.ts +95 -0
  89. package/templates/personal-fitness-trainer/tier5-src/_shared/booking-session.ts +10 -0
  90. package/templates/personal-fitness-trainer/tier5-src/_shared/class-sessions.ts +113 -0
  91. package/templates/personal-fitness-trainer/tier5-src/_shared/engine-intl.ts +6 -0
  92. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  93. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +6 -0
  94. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +6 -0
  95. package/templates/podcast-creator-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  96. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +6 -0
  97. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +6 -0
  98. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  99. package/templates/professional-services/tier5-src/_shared/booking-session.ts +10 -0
  100. package/templates/professional-services/tier5-src/_shared/engine-intl.ts +6 -0
  101. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +6 -0
  102. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +6 -0
  103. package/templates/restaurant-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  104. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +6 -0
  105. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +6 -0
  106. package/templates/retail-store-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  107. package/templates/salon-spa/tier5-src/_shared/agenda-calendar.ts +95 -0
  108. package/templates/salon-spa/tier5-src/_shared/booking-session.ts +10 -0
  109. package/templates/salon-spa/tier5-src/_shared/class-sessions.ts +113 -0
  110. package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +6 -0
  111. package/templates/salon-spa/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  112. package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +6 -0
  113. package/templates/yoga-studio/tier5-src/_shared/agenda-calendar.ts +95 -0
  114. package/templates/yoga-studio/tier5-src/_shared/booking-session.ts +10 -0
  115. package/templates/yoga-studio/tier5-src/_shared/class-sessions.ts +113 -0
  116. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +6 -0
  117. package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  118. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +6 -0
  119. package/templates/yoga-studio-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  120. package/templates/branded-lite/recipes/blog-hero.json +0 -95
@@ -1,9 +1,13 @@
1
1
  {
2
- "_recipe": "A page's groups: a list of rows (cover, name, teaser, member count; a tap opens the group), the section's own View All button when there are more groups than it shows, and the empty text. ONE node, always mounted. Service: registerGroupsSection(svc, { groupIds, limit }).",
2
+ "_recipe": "A page's groups: the section's title with its Search link (the source's call to action), which opens a search field over every group the section may show, a list of rows (cover, name, teaser, member count; a tap opens the group) each with the viewer's join control (Join group, Request to join) or membership status (Joined, Pending request), the section's own View All button when there are more groups than it shows, the join message and the empty text. ONE node, always mounted. Service: registerGroupsSection(svc, { groupIds, limit }).",
3
3
  "_placeholders": {
4
4
  "svc": "service name the page worker registered with registerGroupsSection",
5
5
  "id": "unique node id prefix for this section",
6
+ "title": "the section's title. The header keeps exactly one flexing child: the generator removes {{id}}.headSpacer when the title shows (the title takes the row) and {{id}}.headTitle when the source hides it (the spacer keeps the link trailing)",
7
+ "headLabel": "the header link's label (the source's section call to action: Search); it opens and closes the section's search field",
8
+ "searchPlaceholder": "the search field's placeholder",
6
9
  "detailScreen": "group screen id, himi_group",
10
+ "signInScreen": "the app's sign-in screen, himi_sign_in: a visitor's join control signs in first and then opens the group",
7
11
  "seeAllLabel": "the View All button's label (the source's own expand text)",
8
12
  "seeAllScreen": "the screen View All opens, himi_groups"
9
13
  },
@@ -16,6 +20,78 @@
16
20
  "spacing": 12,
17
21
  "alignment": "leading",
18
22
  "children": [
23
+ {
24
+ "id": "{{id}}.head",
25
+ "body": {
26
+ "package": "himalaya",
27
+ "type": "HStack",
28
+ "props": {
29
+ "spacing": 8,
30
+ "alignment": "center",
31
+ "children": [
32
+ {
33
+ "id": "{{id}}.headTitle",
34
+ "body": {
35
+ "package": "himalaya",
36
+ "type": "Text",
37
+ "props": {
38
+ "text": "{{title}}",
39
+ "style": "title3",
40
+ "maxLines": 2
41
+ }
42
+ },
43
+ "modifiers": {
44
+ "weight": 1
45
+ }
46
+ },
47
+ {
48
+ "id": "{{id}}.headSpacer",
49
+ "body": {
50
+ "package": "himalaya",
51
+ "type": "Spacer",
52
+ "props": {}
53
+ }
54
+ },
55
+ {
56
+ "id": "{{id}}.all",
57
+ "body": {
58
+ "package": "himalaya",
59
+ "type": "Button",
60
+ "props": {
61
+ "title": "{{headLabel}}",
62
+ "style": "tertiary",
63
+ "size": "md",
64
+ "action": {
65
+ "actionId": "tier5.{{svc}}.toggleSearch"
66
+ }
67
+ }
68
+ }
69
+ }
70
+ ]
71
+ }
72
+ },
73
+ "modifiers": {
74
+ "fillMaxWidth": true
75
+ }
76
+ },
77
+ {
78
+ "id": "{{id}}.search",
79
+ "body": {
80
+ "package": "himalaya",
81
+ "type": "SearchField",
82
+ "props": {
83
+ "placeholder": "{{searchPlaceholder}}",
84
+ "debounceMs": 200,
85
+ "value": "$service:{{svc}}.query",
86
+ "onChange": {
87
+ "actionId": "tier5.{{svc}}.search"
88
+ }
89
+ }
90
+ },
91
+ "modifiers": {
92
+ "hiddenPath": "$service:{{svc}}.noSearch"
93
+ }
94
+ },
19
95
  {
20
96
  "id": "{{id}}.loading",
21
97
  "body": {
@@ -47,108 +123,179 @@
47
123
  "itemsPath": "$service:{{svc}}.rows",
48
124
  "items": [
49
125
  {
50
- "id": "{{id}}.row",
126
+ "id": "{{id}}.item",
51
127
  "body": {
52
128
  "package": "himalaya",
53
- "type": "HStack",
129
+ "type": "VStack",
54
130
  "props": {
55
- "spacing": 12,
56
- "alignment": "center",
131
+ "spacing": 8,
132
+ "alignment": "leading",
57
133
  "children": [
58
134
  {
59
- "id": "{{id}}.cover",
135
+ "id": "{{id}}.row",
60
136
  "body": {
61
137
  "package": "himalaya",
62
- "type": "Image",
138
+ "type": "HStack",
63
139
  "props": {
64
- "url": "$item.image",
65
- "initials": "$item.initial",
66
- "width": 72,
67
- "height": 72,
68
- "shape": "rounded",
69
- "contentMode": "fill",
70
- "contentDescription": "$item.title"
71
- }
72
- }
73
- },
74
- {
75
- "id": "{{id}}.text",
76
- "body": {
77
- "package": "himalaya",
78
- "type": "VStack",
79
- "props": {
80
- "spacing": 4,
81
- "alignment": "leading",
140
+ "spacing": 12,
141
+ "alignment": "center",
82
142
  "children": [
83
143
  {
84
- "id": "{{id}}.title",
85
- "body": {
86
- "package": "himalaya",
87
- "type": "Text",
88
- "props": {
89
- "text": "$item.title",
90
- "style": "bodyEmphasis",
91
- "maxLines": 2
92
- }
93
- }
94
- },
95
- {
96
- "id": "{{id}}.subtitle",
144
+ "id": "{{id}}.cover",
97
145
  "body": {
98
146
  "package": "himalaya",
99
- "type": "Text",
147
+ "type": "Image",
100
148
  "props": {
101
- "text": "$item.subtitle",
102
- "style": "caption",
103
- "maxLines": 2,
104
- "color": "textSecondary"
149
+ "url": "$item.image",
150
+ "initials": "$item.initial",
151
+ "width": 72,
152
+ "height": 72,
153
+ "shape": "rounded",
154
+ "contentMode": "fill",
155
+ "contentDescription": "$item.title"
105
156
  }
106
157
  }
107
158
  },
108
159
  {
109
- "id": "{{id}}.meta",
160
+ "id": "{{id}}.text",
110
161
  "body": {
111
162
  "package": "himalaya",
112
- "type": "Text",
163
+ "type": "VStack",
113
164
  "props": {
114
- "text": "$item.meta",
115
- "style": "caption",
116
- "maxLines": 1,
117
- "color": "textSecondary",
118
- "collapseWhenEmpty": true
165
+ "spacing": 4,
166
+ "alignment": "leading",
167
+ "children": [
168
+ {
169
+ "id": "{{id}}.title",
170
+ "body": {
171
+ "package": "himalaya",
172
+ "type": "Text",
173
+ "props": {
174
+ "text": "$item.title",
175
+ "style": "bodyEmphasis",
176
+ "maxLines": 2
177
+ }
178
+ }
179
+ },
180
+ {
181
+ "id": "{{id}}.subtitle",
182
+ "body": {
183
+ "package": "himalaya",
184
+ "type": "Text",
185
+ "props": {
186
+ "text": "$item.subtitle",
187
+ "style": "caption",
188
+ "maxLines": 2,
189
+ "color": "textSecondary"
190
+ }
191
+ }
192
+ },
193
+ {
194
+ "id": "{{id}}.meta",
195
+ "body": {
196
+ "package": "himalaya",
197
+ "type": "Text",
198
+ "props": {
199
+ "text": "$item.meta",
200
+ "style": "caption",
201
+ "maxLines": 1,
202
+ "color": "textSecondary",
203
+ "collapseWhenEmpty": true
204
+ }
205
+ },
206
+ "modifiers": {
207
+ "hiddenPath": "$item.noMeta"
208
+ }
209
+ }
210
+ ]
119
211
  }
120
212
  },
121
213
  "modifiers": {
122
- "hiddenPath": "$item.noMeta"
214
+ "weight": 1
123
215
  }
124
216
  }
125
217
  ]
126
218
  }
127
219
  },
128
220
  "modifiers": {
129
- "weight": 1
221
+ "fillMaxWidth": true,
222
+ "onTap": {
223
+ "actionId": "himi.open",
224
+ "params": {
225
+ "screenId": "{{detailScreen}}",
226
+ "id": "$item.id"
227
+ }
228
+ },
229
+ "pressFeedback": "scale",
230
+ "accessibilityLabel": "$item.title"
231
+ }
232
+ },
233
+ {
234
+ "id": "{{id}}.join",
235
+ "body": {
236
+ "package": "himalaya",
237
+ "type": "Button",
238
+ "props": {
239
+ "title": "$item.actionLabel",
240
+ "style": "secondary",
241
+ "size": "md",
242
+ "fullWidth": true,
243
+ "action": {
244
+ "actionId": "tier5.{{svc}}.join",
245
+ "params": {
246
+ "id": "$item.id",
247
+ "signInScreenId": "{{signInScreen}}"
248
+ }
249
+ }
250
+ }
251
+ },
252
+ "modifiers": {
253
+ "hiddenPath": "$item.noAction"
254
+ }
255
+ },
256
+ {
257
+ "id": "{{id}}.status",
258
+ "body": {
259
+ "package": "himalaya",
260
+ "type": "Text",
261
+ "props": {
262
+ "text": "$item.statusLabel",
263
+ "style": "caption",
264
+ "maxLines": 1,
265
+ "color": "textSecondary",
266
+ "collapseWhenEmpty": true
267
+ }
268
+ },
269
+ "modifiers": {
270
+ "hiddenPath": "$item.noStatus"
130
271
  }
131
272
  }
132
273
  ]
133
274
  }
134
275
  },
135
276
  "modifiers": {
136
- "fillMaxWidth": true,
137
- "onTap": {
138
- "actionId": "himi.open",
139
- "params": {
140
- "screenId": "{{detailScreen}}",
141
- "id": "$item.id"
142
- }
143
- },
144
- "pressFeedback": "scale",
145
- "accessibilityLabel": "$item.title"
277
+ "fillMaxWidth": true
146
278
  }
147
279
  }
148
280
  ]
149
281
  }
150
282
  }
151
283
  },
284
+ {
285
+ "id": "{{id}}.message",
286
+ "body": {
287
+ "package": "himalaya",
288
+ "type": "Text",
289
+ "props": {
290
+ "text": "$service:{{svc}}.message",
291
+ "style": "caption",
292
+ "color": "textSecondary"
293
+ }
294
+ },
295
+ "modifiers": {
296
+ "hiddenPath": "$service:{{svc}}.noMessage"
297
+ }
298
+ },
152
299
  {
153
300
  "id": "{{id}}.more",
154
301
  "body": {
@@ -0,0 +1,280 @@
1
+ {
2
+ "_recipe": "A page's upcoming sessions (the One App's platform_general_upcoming_section): the section's title with a View All button to the Agenda, then the business's next sessions in the source's time window as rows: a date block (day over month), the class, the day and local times, its coach, and the member's own place (Booked, On waitlist) as a badge. A row opens the class on that session. Then the empty text. ONE node, always mounted. Service: registerUpcomingSessionsSection(svc, { limit, interval }).",
3
+ "_placeholders": {
4
+ "svc": "service name the page worker registered with registerUpcomingSessionsSection",
5
+ "id": "unique node id prefix for this section",
6
+ "title": "the section's title. The header keeps exactly one flexing child: the generator removes {{id}}.headSpacer when the title shows (the title takes the row) and {{id}}.title when the source hides it (the spacer keeps See All trailing)",
7
+ "seeAllLabel": "the View All button's label",
8
+ "seeAllScreen": "the Agenda screen, himi_agenda",
9
+ "serviceScreen": "the service screen, himi_service: a row opens it on the session"
10
+ },
11
+ "node": {
12
+ "id": "{{id}}.upcoming",
13
+ "body": {
14
+ "package": "himalaya",
15
+ "type": "VStack",
16
+ "props": {
17
+ "spacing": 12,
18
+ "alignment": "leading",
19
+ "children": [
20
+ {
21
+ "id": "{{id}}.head",
22
+ "body": {
23
+ "package": "himalaya",
24
+ "type": "HStack",
25
+ "props": {
26
+ "spacing": 8,
27
+ "alignment": "center",
28
+ "children": [
29
+ {
30
+ "id": "{{id}}.title",
31
+ "body": {
32
+ "package": "himalaya",
33
+ "type": "Text",
34
+ "props": {
35
+ "text": "{{title}}",
36
+ "style": "title3",
37
+ "maxLines": 2
38
+ }
39
+ },
40
+ "modifiers": {
41
+ "weight": 1
42
+ }
43
+ },
44
+ {
45
+ "id": "{{id}}.headSpacer",
46
+ "body": {
47
+ "package": "himalaya",
48
+ "type": "Spacer",
49
+ "props": {}
50
+ }
51
+ },
52
+ {
53
+ "id": "{{id}}.all",
54
+ "body": {
55
+ "package": "himalaya",
56
+ "type": "Button",
57
+ "props": {
58
+ "title": "{{seeAllLabel}}",
59
+ "style": "tertiary",
60
+ "size": "md",
61
+ "action": {
62
+ "actionId": "himi.open",
63
+ "params": {
64
+ "screenId": "{{seeAllScreen}}"
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ ]
71
+ }
72
+ },
73
+ "modifiers": {
74
+ "fillMaxWidth": true
75
+ }
76
+ },
77
+ {
78
+ "id": "{{id}}.loading",
79
+ "body": {
80
+ "package": "himalaya",
81
+ "type": "Skeleton",
82
+ "props": {
83
+ "height": 56,
84
+ "count": 2,
85
+ "cornerRadius": 12
86
+ }
87
+ },
88
+ "modifiers": {
89
+ "hiddenPath": "$service:{{svc}}.notLoading"
90
+ }
91
+ },
92
+ {
93
+ "id": "{{id}}.list",
94
+ "body": {
95
+ "package": "himalaya",
96
+ "type": "LazyList",
97
+ "props": {
98
+ "spacing": 12,
99
+ "itemsPath": "$service:{{svc}}.rows",
100
+ "items": [
101
+ {
102
+ "id": "{{id}}.row",
103
+ "body": {
104
+ "package": "himalaya",
105
+ "type": "HStack",
106
+ "props": {
107
+ "spacing": 16,
108
+ "alignment": "center",
109
+ "children": [
110
+ {
111
+ "id": "{{id}}.date",
112
+ "body": {
113
+ "package": "himalaya",
114
+ "type": "VStack",
115
+ "props": {
116
+ "spacing": 0,
117
+ "alignment": "center",
118
+ "children": [
119
+ {
120
+ "id": "{{id}}.dayNumber",
121
+ "body": {
122
+ "package": "himalaya",
123
+ "type": "Text",
124
+ "props": {
125
+ "text": "$item.dayNumber",
126
+ "style": "title2",
127
+ "maxLines": 1,
128
+ "monospacedDigits": true
129
+ }
130
+ }
131
+ },
132
+ {
133
+ "id": "{{id}}.month",
134
+ "body": {
135
+ "package": "himalaya",
136
+ "type": "Text",
137
+ "props": {
138
+ "text": "$item.month",
139
+ "style": "caption",
140
+ "color": "textSecondary",
141
+ "maxLines": 1
142
+ }
143
+ }
144
+ }
145
+ ]
146
+ }
147
+ },
148
+ "modifiers": {
149
+ "width": 44
150
+ }
151
+ },
152
+ {
153
+ "id": "{{id}}.text",
154
+ "body": {
155
+ "package": "himalaya",
156
+ "type": "VStack",
157
+ "props": {
158
+ "spacing": 2,
159
+ "alignment": "leading",
160
+ "children": [
161
+ {
162
+ "id": "{{id}}.name",
163
+ "body": {
164
+ "package": "himalaya",
165
+ "type": "Text",
166
+ "props": {
167
+ "text": "$item.title",
168
+ "style": "bodyEmphasis",
169
+ "maxLines": 2
170
+ }
171
+ }
172
+ },
173
+ {
174
+ "id": "{{id}}.when",
175
+ "body": {
176
+ "package": "himalaya",
177
+ "type": "Text",
178
+ "props": {
179
+ "text": "$item.when",
180
+ "style": "footnote",
181
+ "color": "textSecondary",
182
+ "maxLines": 1
183
+ }
184
+ }
185
+ },
186
+ {
187
+ "id": "{{id}}.coach",
188
+ "body": {
189
+ "package": "himalaya",
190
+ "type": "Text",
191
+ "props": {
192
+ "text": "$item.coach",
193
+ "style": "footnote",
194
+ "color": "textSecondary",
195
+ "maxLines": 2
196
+ }
197
+ },
198
+ "modifiers": {
199
+ "hiddenPath": "$item.noCoach"
200
+ }
201
+ }
202
+ ]
203
+ }
204
+ },
205
+ "modifiers": {
206
+ "weight": 1
207
+ }
208
+ },
209
+ {
210
+ "id": "{{id}}.place",
211
+ "body": {
212
+ "package": "himalaya",
213
+ "type": "Text",
214
+ "props": {
215
+ "text": "$item.place",
216
+ "style": "caption",
217
+ "color": "textPrimary",
218
+ "maxLines": 1
219
+ }
220
+ },
221
+ "modifiers": {
222
+ "hiddenPath": "$item.noPlace",
223
+ "background": {
224
+ "token": "surfaceSecondary"
225
+ },
226
+ "cornerRadius": 12,
227
+ "padding": {
228
+ "leading": 10,
229
+ "trailing": 10,
230
+ "top": 4,
231
+ "bottom": 4
232
+ }
233
+ }
234
+ }
235
+ ]
236
+ }
237
+ },
238
+ "modifiers": {
239
+ "fillMaxWidth": true,
240
+ "onTap": {
241
+ "actionId": "himi.open",
242
+ "params": {
243
+ "screenId": "{{serviceScreen}}",
244
+ "id": "$item.serviceId",
245
+ "sessionId": "$item.sessionId",
246
+ "start": "$item.start"
247
+ }
248
+ },
249
+ "pressFeedback": "highlight",
250
+ "accessibilityRole": "button",
251
+ "accessibilityLabel": "$item.a11y"
252
+ }
253
+ }
254
+ ]
255
+ }
256
+ },
257
+ "modifiers": {
258
+ "hiddenPath": "$service:{{svc}}.noRows"
259
+ }
260
+ },
261
+ {
262
+ "id": "{{id}}.empty",
263
+ "body": {
264
+ "package": "himalaya",
265
+ "type": "Text",
266
+ "props": {
267
+ "text": "$service:{{svc}}.emptyText",
268
+ "style": "body",
269
+ "color": "textSecondary"
270
+ }
271
+ },
272
+ "modifiers": {
273
+ "hiddenPath": "$service:{{svc}}.noEmpty"
274
+ }
275
+ }
276
+ ]
277
+ }
278
+ }
279
+ }
280
+ }