@wix/himalaya-cli 0.1746.0 → 0.1748.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 (230) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-config.d.ts +5 -4
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts +34 -8
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/copy.generated.d.ts +0 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/auth.mjs +0 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +45 -18
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +0 -1
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +36 -14
  8. package/dist/browser-plane/assets.json +5 -5
  9. package/dist/browser-plane/preview-deferred/{d432d189310d8d819b56251c53dd82a9e166a4a73936749f08c355c11083e8e0.bin → 63821bbb8f637899037252154a5587f0596e4b537173c7f50551f9e44f7c22c0.bin} +1 -1
  10. package/dist/browser-plane/sw.js +6 -6
  11. package/dist/cli.mjs +2571 -1859
  12. package/dist/preview-assets.generated.bin +0 -0
  13. package/guides/one-app-to-himi-app.md +11 -6
  14. package/guides/tier-5-add-a-screen.md +13 -6
  15. package/guides/wix-business-context.md +25 -1
  16. package/guides/wix-site-to-himi-app.md +2 -1
  17. package/package.json +2 -2
  18. package/templates/beauty-salon/l10n/fr.json +25 -5
  19. package/templates/beauty-salon/l10n/he.json +20 -4
  20. package/templates/beauty-salon/recipes/blog-hero.json +95 -0
  21. package/templates/beauty-salon/recipes/blog-list-thumb-start.json +177 -147
  22. package/templates/beauty-salon/recipes/blog-list.json +172 -142
  23. package/templates/beauty-salon/recipes/events-inline-list.json +30 -5
  24. package/templates/beauty-salon/recipes/events-inline.json +30 -5
  25. package/templates/beauty-salon/recipes/faq-list.json +503 -0
  26. package/templates/beauty-salon/recipes/groups-list.json +196 -0
  27. package/templates/beauty-salon/recipes/products-carousel.json +141 -0
  28. package/templates/beauty-salon/recipes/products-grid.json +143 -0
  29. package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +9 -9
  30. package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +7 -5
  31. package/templates/beauty-salon/tier5-src/_shared/faq-list.ts +405 -0
  32. package/templates/beauty-salon/tier5-src/_shared/groups-section.ts +110 -0
  33. package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +10 -2
  34. package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +9 -5
  35. package/templates/beauty-salon/tier5-src/_shared/products-section.ts +76 -0
  36. package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +2 -2
  37. package/templates/branded-lite/l10n/fr.json +10 -5
  38. package/templates/branded-lite/l10n/he.json +8 -4
  39. package/templates/branded-lite/recipes/blog-hero.json +95 -0
  40. package/templates/branded-lite/recipes/blog-list-thumb-start.json +177 -147
  41. package/templates/branded-lite/recipes/blog-list.json +172 -142
  42. package/templates/branded-lite/recipes/events-inline-list.json +30 -5
  43. package/templates/branded-lite/recipes/events-inline.json +30 -5
  44. package/templates/branded-lite/recipes/faq-list.json +503 -0
  45. package/templates/branded-lite/recipes/groups-list.json +196 -0
  46. package/templates/branded-lite/recipes/products-carousel.json +141 -0
  47. package/templates/branded-lite/recipes/products-grid.json +143 -0
  48. package/templates/branded-lite/tier5-src/_shared/blog-list.ts +9 -9
  49. package/templates/branded-lite/tier5-src/_shared/events-inline.ts +7 -5
  50. package/templates/branded-lite/tier5-src/_shared/faq-list.ts +405 -0
  51. package/templates/branded-lite/tier5-src/_shared/groups-section.ts +110 -0
  52. package/templates/branded-lite/tier5-src/_shared/member-row-extras.ts +10 -2
  53. package/templates/branded-lite/tier5-src/_shared/members-directory.ts +9 -5
  54. package/templates/branded-lite/tier5-src/_shared/products-section.ts +76 -0
  55. package/templates/branded-lite/tier5-src/_shared/programs-section.ts +2 -2
  56. package/templates/branded-lite/tier5-src/himi-branded-lite-faq/index.ts +5 -369
  57. package/templates/brandy/README.md +46 -5
  58. package/templates/brandy/config.ts +11 -0
  59. package/templates/brandy/himalaya.template.json +1 -1
  60. package/templates/community-club/l10n/fr.json +25 -5
  61. package/templates/community-club/l10n/he.json +20 -4
  62. package/templates/community-club/recipes/blog-hero.json +95 -0
  63. package/templates/community-club/recipes/blog-list-thumb-start.json +177 -147
  64. package/templates/community-club/recipes/blog-list.json +172 -142
  65. package/templates/community-club/recipes/events-inline-list.json +30 -5
  66. package/templates/community-club/recipes/events-inline.json +30 -5
  67. package/templates/community-club/recipes/faq-list.json +503 -0
  68. package/templates/community-club/recipes/groups-list.json +196 -0
  69. package/templates/community-club/recipes/products-carousel.json +141 -0
  70. package/templates/community-club/recipes/products-grid.json +143 -0
  71. package/templates/community-club/tier5-src/_shared/blog-list.ts +9 -9
  72. package/templates/community-club/tier5-src/_shared/events-inline.ts +7 -5
  73. package/templates/community-club/tier5-src/_shared/faq-list.ts +405 -0
  74. package/templates/community-club/tier5-src/_shared/groups-section.ts +110 -0
  75. package/templates/community-club/tier5-src/_shared/member-row-extras.ts +10 -2
  76. package/templates/community-club/tier5-src/_shared/members-directory.ts +9 -5
  77. package/templates/community-club/tier5-src/_shared/products-section.ts +76 -0
  78. package/templates/community-club/tier5-src/_shared/programs-section.ts +2 -2
  79. package/templates/events-meetups/l10n/fr.json +25 -5
  80. package/templates/events-meetups/l10n/he.json +20 -4
  81. package/templates/events-meetups/recipes/blog-hero.json +95 -0
  82. package/templates/events-meetups/recipes/blog-list-thumb-start.json +177 -147
  83. package/templates/events-meetups/recipes/blog-list.json +172 -142
  84. package/templates/events-meetups/recipes/events-inline-list.json +30 -5
  85. package/templates/events-meetups/recipes/events-inline.json +30 -5
  86. package/templates/events-meetups/recipes/faq-list.json +503 -0
  87. package/templates/events-meetups/recipes/groups-list.json +196 -0
  88. package/templates/events-meetups/recipes/products-carousel.json +141 -0
  89. package/templates/events-meetups/recipes/products-grid.json +143 -0
  90. package/templates/events-meetups/tier5-src/_shared/blog-list.ts +9 -9
  91. package/templates/events-meetups/tier5-src/_shared/events-inline.ts +7 -5
  92. package/templates/events-meetups/tier5-src/_shared/faq-list.ts +405 -0
  93. package/templates/events-meetups/tier5-src/_shared/groups-section.ts +110 -0
  94. package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +10 -2
  95. package/templates/events-meetups/tier5-src/_shared/members-directory.ts +9 -5
  96. package/templates/events-meetups/tier5-src/_shared/products-section.ts +76 -0
  97. package/templates/events-meetups/tier5-src/_shared/programs-section.ts +2 -2
  98. package/templates/gym-fitness/l10n/fr.json +25 -5
  99. package/templates/gym-fitness/l10n/he.json +20 -4
  100. package/templates/gym-fitness/recipes/blog-hero.json +95 -0
  101. package/templates/gym-fitness/recipes/blog-list-thumb-start.json +177 -147
  102. package/templates/gym-fitness/recipes/blog-list.json +172 -142
  103. package/templates/gym-fitness/recipes/events-inline-list.json +30 -5
  104. package/templates/gym-fitness/recipes/events-inline.json +30 -5
  105. package/templates/gym-fitness/recipes/faq-list.json +503 -0
  106. package/templates/gym-fitness/recipes/groups-list.json +196 -0
  107. package/templates/gym-fitness/recipes/products-carousel.json +141 -0
  108. package/templates/gym-fitness/recipes/products-grid.json +143 -0
  109. package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +9 -9
  110. package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +7 -5
  111. package/templates/gym-fitness/tier5-src/_shared/faq-list.ts +405 -0
  112. package/templates/gym-fitness/tier5-src/_shared/groups-section.ts +110 -0
  113. package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +10 -2
  114. package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +9 -5
  115. package/templates/gym-fitness/tier5-src/_shared/products-section.ts +76 -0
  116. package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +2 -2
  117. package/templates/nonprofit-cause/l10n/fr.json +25 -5
  118. package/templates/nonprofit-cause/l10n/he.json +20 -4
  119. package/templates/nonprofit-cause/recipes/blog-hero.json +95 -0
  120. package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +177 -147
  121. package/templates/nonprofit-cause/recipes/blog-list.json +172 -142
  122. package/templates/nonprofit-cause/recipes/events-inline-list.json +30 -5
  123. package/templates/nonprofit-cause/recipes/events-inline.json +30 -5
  124. package/templates/nonprofit-cause/recipes/faq-list.json +503 -0
  125. package/templates/nonprofit-cause/recipes/groups-list.json +196 -0
  126. package/templates/nonprofit-cause/recipes/products-carousel.json +141 -0
  127. package/templates/nonprofit-cause/recipes/products-grid.json +143 -0
  128. package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +9 -9
  129. package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +7 -5
  130. package/templates/nonprofit-cause/tier5-src/_shared/faq-list.ts +405 -0
  131. package/templates/nonprofit-cause/tier5-src/_shared/groups-section.ts +110 -0
  132. package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +10 -2
  133. package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +9 -5
  134. package/templates/nonprofit-cause/tier5-src/_shared/products-section.ts +76 -0
  135. package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +2 -2
  136. package/templates/podcast-creator/l10n/fr.json +35 -5
  137. package/templates/podcast-creator/l10n/he.json +28 -4
  138. package/templates/podcast-creator/recipes/blog-hero.json +95 -0
  139. package/templates/podcast-creator/recipes/blog-list-thumb-start.json +177 -147
  140. package/templates/podcast-creator/recipes/blog-list.json +172 -142
  141. package/templates/podcast-creator/recipes/events-inline-list.json +30 -5
  142. package/templates/podcast-creator/recipes/events-inline.json +30 -5
  143. package/templates/podcast-creator/recipes/faq-list.json +503 -0
  144. package/templates/podcast-creator/recipes/groups-list.json +196 -0
  145. package/templates/podcast-creator/recipes/products-carousel.json +141 -0
  146. package/templates/podcast-creator/recipes/products-grid.json +143 -0
  147. package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +9 -9
  148. package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +7 -5
  149. package/templates/podcast-creator/tier5-src/_shared/faq-list.ts +405 -0
  150. package/templates/podcast-creator/tier5-src/_shared/groups-section.ts +110 -0
  151. package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +10 -2
  152. package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +9 -5
  153. package/templates/podcast-creator/tier5-src/_shared/products-section.ts +76 -0
  154. package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +2 -2
  155. package/templates/portfolio-creative/l10n/fr.json +25 -5
  156. package/templates/portfolio-creative/l10n/he.json +20 -4
  157. package/templates/portfolio-creative/recipes/blog-hero.json +95 -0
  158. package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +177 -147
  159. package/templates/portfolio-creative/recipes/blog-list.json +172 -142
  160. package/templates/portfolio-creative/recipes/events-inline-list.json +30 -5
  161. package/templates/portfolio-creative/recipes/events-inline.json +30 -5
  162. package/templates/portfolio-creative/recipes/faq-list.json +503 -0
  163. package/templates/portfolio-creative/recipes/groups-list.json +196 -0
  164. package/templates/portfolio-creative/recipes/products-carousel.json +141 -0
  165. package/templates/portfolio-creative/recipes/products-grid.json +143 -0
  166. package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +9 -9
  167. package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +7 -5
  168. package/templates/portfolio-creative/tier5-src/_shared/faq-list.ts +405 -0
  169. package/templates/portfolio-creative/tier5-src/_shared/groups-section.ts +110 -0
  170. package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +10 -2
  171. package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +9 -5
  172. package/templates/portfolio-creative/tier5-src/_shared/products-section.ts +76 -0
  173. package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +2 -2
  174. package/templates/restaurant/l10n/fr.json +35 -5
  175. package/templates/restaurant/l10n/he.json +28 -4
  176. package/templates/restaurant/recipes/blog-hero.json +95 -0
  177. package/templates/restaurant/recipes/blog-list-thumb-start.json +177 -147
  178. package/templates/restaurant/recipes/blog-list.json +172 -142
  179. package/templates/restaurant/recipes/events-inline-list.json +30 -5
  180. package/templates/restaurant/recipes/events-inline.json +30 -5
  181. package/templates/restaurant/recipes/faq-list.json +503 -0
  182. package/templates/restaurant/recipes/groups-list.json +196 -0
  183. package/templates/restaurant/recipes/products-carousel.json +141 -0
  184. package/templates/restaurant/recipes/products-grid.json +143 -0
  185. package/templates/restaurant/tier5-src/_shared/blog-list.ts +9 -9
  186. package/templates/restaurant/tier5-src/_shared/events-inline.ts +7 -5
  187. package/templates/restaurant/tier5-src/_shared/faq-list.ts +405 -0
  188. package/templates/restaurant/tier5-src/_shared/groups-section.ts +110 -0
  189. package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +10 -2
  190. package/templates/restaurant/tier5-src/_shared/members-directory.ts +9 -5
  191. package/templates/restaurant/tier5-src/_shared/products-section.ts +76 -0
  192. package/templates/restaurant/tier5-src/_shared/programs-section.ts +2 -2
  193. package/templates/retail-store/l10n/fr.json +25 -5
  194. package/templates/retail-store/l10n/he.json +20 -4
  195. package/templates/retail-store/recipes/blog-hero.json +95 -0
  196. package/templates/retail-store/recipes/blog-list-thumb-start.json +177 -147
  197. package/templates/retail-store/recipes/blog-list.json +172 -142
  198. package/templates/retail-store/recipes/events-inline-list.json +30 -5
  199. package/templates/retail-store/recipes/events-inline.json +30 -5
  200. package/templates/retail-store/recipes/faq-list.json +503 -0
  201. package/templates/retail-store/recipes/groups-list.json +196 -0
  202. package/templates/retail-store/recipes/products-carousel.json +141 -0
  203. package/templates/retail-store/recipes/products-grid.json +143 -0
  204. package/templates/retail-store/tier5-src/_shared/blog-list.ts +9 -9
  205. package/templates/retail-store/tier5-src/_shared/events-inline.ts +7 -5
  206. package/templates/retail-store/tier5-src/_shared/faq-list.ts +405 -0
  207. package/templates/retail-store/tier5-src/_shared/groups-section.ts +110 -0
  208. package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +10 -2
  209. package/templates/retail-store/tier5-src/_shared/members-directory.ts +9 -5
  210. package/templates/retail-store/tier5-src/_shared/products-section.ts +76 -0
  211. package/templates/retail-store/tier5-src/_shared/programs-section.ts +2 -2
  212. package/templates/yoga-studio/l10n/fr.json +35 -5
  213. package/templates/yoga-studio/l10n/he.json +28 -4
  214. package/templates/yoga-studio/recipes/blog-hero.json +95 -0
  215. package/templates/yoga-studio/recipes/blog-list-thumb-start.json +177 -147
  216. package/templates/yoga-studio/recipes/blog-list.json +172 -142
  217. package/templates/yoga-studio/recipes/events-inline-list.json +30 -5
  218. package/templates/yoga-studio/recipes/events-inline.json +30 -5
  219. package/templates/yoga-studio/recipes/faq-list.json +503 -0
  220. package/templates/yoga-studio/recipes/groups-list.json +196 -0
  221. package/templates/yoga-studio/recipes/products-carousel.json +141 -0
  222. package/templates/yoga-studio/recipes/products-grid.json +143 -0
  223. package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +9 -9
  224. package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +7 -5
  225. package/templates/yoga-studio/tier5-src/_shared/faq-list.ts +405 -0
  226. package/templates/yoga-studio/tier5-src/_shared/groups-section.ts +110 -0
  227. package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +10 -2
  228. package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +9 -5
  229. package/templates/yoga-studio/tier5-src/_shared/products-section.ts +76 -0
  230. package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +2 -2
@@ -89,224 +89,248 @@
89
89
  "id": "{{id}}",
90
90
  "body": {
91
91
  "package": "himalaya",
92
- "type": "HStack",
92
+ "type": "VStack",
93
93
  "props": {
94
- "spacing": 12,
94
+ "spacing": 8,
95
95
  "alignment": "leading",
96
96
  "children": [
97
97
  {
98
- "id": "{{id}}.text",
98
+ "id": "{{id}}.main",
99
99
  "body": {
100
100
  "package": "himalaya",
101
- "type": "VStack",
101
+ "type": "HStack",
102
102
  "props": {
103
- "spacing": 4,
103
+ "spacing": 12,
104
104
  "alignment": "leading",
105
105
  "children": [
106
106
  {
107
- "id": "{{id}}.title",
107
+ "id": "{{id}}.text",
108
108
  "body": {
109
109
  "package": "himalaya",
110
- "type": "Text",
110
+ "type": "VStack",
111
111
  "props": {
112
- "text": "$item.title",
113
- "style": "bodyEmphasis",
114
- "maxLines": 3
112
+ "spacing": 4,
113
+ "alignment": "leading",
114
+ "children": [
115
+ {
116
+ "id": "{{id}}.title",
117
+ "body": {
118
+ "package": "himalaya",
119
+ "type": "Text",
120
+ "props": {
121
+ "text": "$item.title",
122
+ "style": "bodyEmphasis",
123
+ "maxLines": 3
124
+ }
125
+ }
126
+ },
127
+ {
128
+ "id": "{{id}}.author",
129
+ "body": {
130
+ "package": "himalaya",
131
+ "type": "Text",
132
+ "props": {
133
+ "text": "$item.authorName",
134
+ "style": "caption",
135
+ "maxLines": 1
136
+ }
137
+ },
138
+ "modifiers": {
139
+ "hiddenPath": "$item.noAuthor"
140
+ }
141
+ },
142
+ {
143
+ "id": "{{id}}.meta",
144
+ "body": {
145
+ "package": "himalaya",
146
+ "type": "Text",
147
+ "props": {
148
+ "text": "$item.meta",
149
+ "style": "caption",
150
+ "maxLines": 1,
151
+ "color": "textSecondary",
152
+ "collapseWhenEmpty": true
153
+ }
154
+ }
155
+ }
156
+ ]
115
157
  }
158
+ },
159
+ "modifiers": {
160
+ "weight": 1
116
161
  }
117
162
  },
118
163
  {
119
- "id": "{{id}}.author",
164
+ "id": "{{id}}.cover",
120
165
  "body": {
121
166
  "package": "himalaya",
122
- "type": "Text",
167
+ "type": "Image",
123
168
  "props": {
124
- "text": "$item.authorName",
125
- "style": "caption",
126
- "maxLines": 1
169
+ "url": "$item.cover",
170
+ "initials": "$item.initial",
171
+ "width": 72,
172
+ "height": 72,
173
+ "shape": "rounded",
174
+ "contentMode": "fill",
175
+ "contentDescription": "$item.title"
127
176
  }
128
177
  },
129
178
  "modifiers": {
130
- "hiddenPath": "$item.noAuthor"
179
+ "hiddenPath": "$item.noCover"
131
180
  }
132
- },
181
+ }
182
+ ]
183
+ }
184
+ },
185
+ "modifiers": {
186
+ "fillMaxWidth": true
187
+ }
188
+ },
189
+ {
190
+ "id": "{{id}}.counts",
191
+ "body": {
192
+ "package": "himalaya",
193
+ "type": "HStack",
194
+ "props": {
195
+ "spacing": 12,
196
+ "alignment": "center",
197
+ "children": [
133
198
  {
134
- "id": "{{id}}.meta",
199
+ "id": "",
135
200
  "body": {
136
201
  "package": "himalaya",
137
- "type": "Text",
202
+ "type": "HStack",
138
203
  "props": {
139
- "text": "$item.meta",
140
- "style": "caption",
141
- "maxLines": 1,
142
- "color": "textSecondary",
143
- "collapseWhenEmpty": true
204
+ "spacing": 4,
205
+ "alignment": "center",
206
+ "children": [
207
+ {
208
+ "id": "",
209
+ "body": {
210
+ "package": "himalaya",
211
+ "type": "Icon",
212
+ "props": {
213
+ "name": "$item.count1Icon",
214
+ "size": 14,
215
+ "tint": "textSecondary"
216
+ }
217
+ }
218
+ },
219
+ {
220
+ "id": "",
221
+ "body": {
222
+ "package": "himalaya",
223
+ "type": "Text",
224
+ "props": {
225
+ "text": "$item.count1Num",
226
+ "style": "caption",
227
+ "maxLines": 1,
228
+ "color": "textSecondary"
229
+ }
230
+ }
231
+ }
232
+ ]
144
233
  }
234
+ },
235
+ "modifiers": {
236
+ "hiddenPath": "$item.noCount1"
145
237
  }
146
238
  },
147
239
  {
148
- "id": "{{id}}.counts",
240
+ "id": "",
149
241
  "body": {
150
242
  "package": "himalaya",
151
243
  "type": "HStack",
152
244
  "props": {
153
- "spacing": 12,
245
+ "spacing": 4,
154
246
  "alignment": "center",
155
247
  "children": [
156
248
  {
157
249
  "id": "",
158
250
  "body": {
159
251
  "package": "himalaya",
160
- "type": "HStack",
252
+ "type": "Icon",
161
253
  "props": {
162
- "spacing": 4,
163
- "alignment": "center",
164
- "children": [
165
- {
166
- "id": "",
167
- "body": {
168
- "package": "himalaya",
169
- "type": "Icon",
170
- "props": {
171
- "name": "$item.count1Icon",
172
- "size": 14,
173
- "tint": "textSecondary"
174
- }
175
- }
176
- },
177
- {
178
- "id": "",
179
- "body": {
180
- "package": "himalaya",
181
- "type": "Text",
182
- "props": {
183
- "text": "$item.count1Text",
184
- "style": "caption",
185
- "maxLines": 1,
186
- "color": "textSecondary"
187
- }
188
- }
189
- }
190
- ]
254
+ "name": "$item.count2Icon",
255
+ "size": 14,
256
+ "tint": "textSecondary"
191
257
  }
192
- },
193
- "modifiers": {
194
- "hiddenPath": "$item.noCount1"
195
258
  }
196
259
  },
197
260
  {
198
261
  "id": "",
199
262
  "body": {
200
263
  "package": "himalaya",
201
- "type": "HStack",
264
+ "type": "Text",
202
265
  "props": {
203
- "spacing": 4,
204
- "alignment": "center",
205
- "children": [
206
- {
207
- "id": "",
208
- "body": {
209
- "package": "himalaya",
210
- "type": "Icon",
211
- "props": {
212
- "name": "$item.count2Icon",
213
- "size": 14,
214
- "tint": "textSecondary"
215
- }
216
- }
217
- },
218
- {
219
- "id": "",
220
- "body": {
221
- "package": "himalaya",
222
- "type": "Text",
223
- "props": {
224
- "text": "$item.count2Text",
225
- "style": "caption",
226
- "maxLines": 1,
227
- "color": "textSecondary"
228
- }
229
- }
230
- }
231
- ]
266
+ "text": "$item.count2Num",
267
+ "style": "caption",
268
+ "maxLines": 1,
269
+ "color": "textSecondary"
270
+ }
271
+ }
272
+ }
273
+ ]
274
+ }
275
+ },
276
+ "modifiers": {
277
+ "hiddenPath": "$item.noCount2"
278
+ }
279
+ },
280
+ {
281
+ "id": "",
282
+ "body": {
283
+ "package": "himalaya",
284
+ "type": "HStack",
285
+ "props": {
286
+ "spacing": 4,
287
+ "alignment": "center",
288
+ "children": [
289
+ {
290
+ "id": "",
291
+ "body": {
292
+ "package": "himalaya",
293
+ "type": "Icon",
294
+ "props": {
295
+ "name": "$item.count3Icon",
296
+ "size": 14,
297
+ "tint": "textSecondary"
232
298
  }
233
- },
234
- "modifiers": {
235
- "hiddenPath": "$item.noCount2"
236
299
  }
237
300
  },
238
301
  {
239
302
  "id": "",
240
303
  "body": {
241
304
  "package": "himalaya",
242
- "type": "HStack",
305
+ "type": "Text",
243
306
  "props": {
244
- "spacing": 4,
245
- "alignment": "center",
246
- "children": [
247
- {
248
- "id": "",
249
- "body": {
250
- "package": "himalaya",
251
- "type": "Icon",
252
- "props": {
253
- "name": "$item.count3Icon",
254
- "size": 14,
255
- "tint": "textSecondary"
256
- }
257
- }
258
- },
259
- {
260
- "id": "",
261
- "body": {
262
- "package": "himalaya",
263
- "type": "Text",
264
- "props": {
265
- "text": "$item.count3Text",
266
- "style": "caption",
267
- "maxLines": 1,
268
- "color": "textSecondary"
269
- }
270
- }
271
- }
272
- ]
307
+ "text": "$item.count3Num",
308
+ "style": "caption",
309
+ "maxLines": 1,
310
+ "color": "textSecondary"
273
311
  }
274
- },
275
- "modifiers": {
276
- "hiddenPath": "$item.noCount3"
277
312
  }
278
313
  }
279
314
  ]
280
315
  }
281
316
  },
282
317
  "modifiers": {
283
- "hiddenPath": "$item.noCounts"
318
+ "hiddenPath": "$item.noCount3"
284
319
  }
285
320
  }
286
321
  ]
287
322
  }
288
323
  },
289
324
  "modifiers": {
290
- "weight": 1
325
+ "hiddenPath": "$item.noCounts"
291
326
  }
292
327
  },
293
328
  {
294
- "id": "{{id}}.cover",
329
+ "id": "{{id}}.divider",
295
330
  "body": {
296
331
  "package": "himalaya",
297
- "type": "Image",
298
- "props": {
299
- "url": "$item.cover",
300
- "initials": "$item.initial",
301
- "width": 96,
302
- "height": 72,
303
- "shape": "rounded",
304
- "contentMode": "fill",
305
- "contentDescription": "$item.title"
306
- }
307
- },
308
- "modifiers": {
309
- "hiddenPath": "$item.noCover"
332
+ "type": "Divider",
333
+ "props": {}
310
334
  }
311
335
  }
312
336
  ]
@@ -321,7 +345,13 @@
321
345
  }
322
346
  },
323
347
  "pressFeedback": "scale",
324
- "accessibilityLabel": "$item.title"
348
+ "accessibilityLabel": "$item.title",
349
+ "padding": {
350
+ "leading": 16,
351
+ "trailing": 16,
352
+ "top": 12,
353
+ "bottom": 0
354
+ }
325
355
  }
326
356
  }
327
357
  ],
@@ -163,12 +163,37 @@
163
163
  "id": "{{id}}.empty",
164
164
  "body": {
165
165
  "package": "himalaya",
166
- "type": "Text",
166
+ "type": "VStack",
167
167
  "props": {
168
- "text": "$service:{{svc}}.emptyText",
169
- "style": "footnote",
170
- "color": "textSecondary",
171
- "collapseWhenEmpty": true
168
+ "spacing": 4,
169
+ "alignment": "leading",
170
+ "children": [
171
+ {
172
+ "id": "{{id}}.empty_title",
173
+ "body": {
174
+ "package": "himalaya",
175
+ "type": "Text",
176
+ "props": {
177
+ "text": "$service:{{svc}}.emptyText",
178
+ "style": "bodyEmphasis",
179
+ "collapseWhenEmpty": true
180
+ }
181
+ }
182
+ },
183
+ {
184
+ "id": "{{id}}.empty_body",
185
+ "body": {
186
+ "package": "himalaya",
187
+ "type": "Text",
188
+ "props": {
189
+ "text": "$service:{{svc}}.emptyBody",
190
+ "style": "footnote",
191
+ "color": "textSecondary",
192
+ "collapseWhenEmpty": true
193
+ }
194
+ }
195
+ }
196
+ ]
172
197
  }
173
198
  },
174
199
  "modifiers": {
@@ -244,12 +244,37 @@
244
244
  "id": "{{id}}.empty",
245
245
  "body": {
246
246
  "package": "himalaya",
247
- "type": "Text",
247
+ "type": "VStack",
248
248
  "props": {
249
- "text": "$service:{{svc}}.emptyText",
250
- "style": "footnote",
251
- "color": "textSecondary",
252
- "collapseWhenEmpty": true
249
+ "spacing": 4,
250
+ "alignment": "leading",
251
+ "children": [
252
+ {
253
+ "id": "{{id}}.empty_title",
254
+ "body": {
255
+ "package": "himalaya",
256
+ "type": "Text",
257
+ "props": {
258
+ "text": "$service:{{svc}}.emptyText",
259
+ "style": "bodyEmphasis",
260
+ "collapseWhenEmpty": true
261
+ }
262
+ }
263
+ },
264
+ {
265
+ "id": "{{id}}.empty_body",
266
+ "body": {
267
+ "package": "himalaya",
268
+ "type": "Text",
269
+ "props": {
270
+ "text": "$service:{{svc}}.emptyBody",
271
+ "style": "footnote",
272
+ "color": "textSecondary",
273
+ "collapseWhenEmpty": true
274
+ }
275
+ }
276
+ }
277
+ ]
253
278
  }
254
279
  },
255
280
  "modifiers": {