@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
@@ -0,0 +1,503 @@
1
+ {
2
+ "_recipe": "The FAQ as an inline section: optional search, loading card, the questions grouped by category as disclosure rows (rich answers), and the empty / error / restricted / not-set-up cards. Same states and flags as the himi_faq screen. ONE node, always mounted. Service: registerFaqList(svc, options).",
3
+ "_placeholders": {
4
+ "svc": "service name the page worker registered with registerFaqList",
5
+ "id": "unique node id prefix for this section"
6
+ },
7
+ "node": {
8
+ "id": "{{id}}.faq",
9
+ "body": {
10
+ "package": "himalaya",
11
+ "type": "VStack",
12
+ "props": {
13
+ "spacing": 12,
14
+ "alignment": "leading",
15
+ "children": [
16
+ {
17
+ "id": "{{id}}.search",
18
+ "body": {
19
+ "package": "himalaya",
20
+ "type": "SearchField",
21
+ "props": {
22
+ "placeholder": "Search questions",
23
+ "debounceMs": 200,
24
+ "onChange": {
25
+ "actionId": "tier5.{{svc}}.search"
26
+ }
27
+ }
28
+ },
29
+ "modifiers": {
30
+ "hiddenPath": "$service:{{svc}}.searchHidden"
31
+ }
32
+ },
33
+ {
34
+ "id": "{{id}}.loading",
35
+ "body": {
36
+ "package": "himalaya",
37
+ "type": "VStack",
38
+ "props": {
39
+ "spacing": 8,
40
+ "alignment": "leading",
41
+ "children": [
42
+ {
43
+ "id": "",
44
+ "body": {
45
+ "package": "himalaya",
46
+ "type": "Text",
47
+ "props": {
48
+ "text": "Loading frequently asked questions...",
49
+ "style": "body",
50
+ "color": "textSecondary"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "id": "{{id}}.loading_line_1",
56
+ "body": {
57
+ "package": "himalaya",
58
+ "type": "Skeleton",
59
+ "props": {
60
+ "height": 18,
61
+ "cornerRadius": 8
62
+ }
63
+ },
64
+ "modifiers": {
65
+ "height": 18,
66
+ "background": {
67
+ "token": "surfaceSecondary"
68
+ },
69
+ "cornerRadius": 8,
70
+ "accessibilityRole": "decorative"
71
+ }
72
+ },
73
+ {
74
+ "id": "{{id}}.loading_line_2",
75
+ "body": {
76
+ "package": "himalaya",
77
+ "type": "Skeleton",
78
+ "props": {
79
+ "height": 18,
80
+ "cornerRadius": 8
81
+ }
82
+ },
83
+ "modifiers": {
84
+ "height": 18,
85
+ "background": {
86
+ "token": "surfaceSecondary"
87
+ },
88
+ "cornerRadius": 8,
89
+ "accessibilityRole": "decorative"
90
+ }
91
+ },
92
+ {
93
+ "id": "{{id}}.loading_line_3",
94
+ "body": {
95
+ "package": "himalaya",
96
+ "type": "Skeleton",
97
+ "props": {
98
+ "height": 18,
99
+ "cornerRadius": 8
100
+ }
101
+ },
102
+ "modifiers": {
103
+ "height": 18,
104
+ "background": {
105
+ "token": "surfaceSecondary"
106
+ },
107
+ "cornerRadius": 8,
108
+ "accessibilityRole": "decorative"
109
+ }
110
+ }
111
+ ]
112
+ }
113
+ },
114
+ "modifiers": {
115
+ "background": {
116
+ "token": "surfaceElevated"
117
+ },
118
+ "border": {
119
+ "width": 1,
120
+ "color": {
121
+ "token": "border"
122
+ }
123
+ },
124
+ "cornerRadius": 4,
125
+ "padding": {
126
+ "leading": 16,
127
+ "trailing": 16,
128
+ "top": 16,
129
+ "bottom": 16
130
+ },
131
+ "hiddenPath": "$service:{{svc}}.loadingHidden"
132
+ }
133
+ },
134
+ {
135
+ "id": "{{id}}.sections",
136
+ "body": {
137
+ "package": "himalaya",
138
+ "type": "Grid",
139
+ "props": {
140
+ "columns": 1,
141
+ "spacing": 8,
142
+ "itemsPath": "$service:{{svc}}.rows",
143
+ "items": [
144
+ {
145
+ "id": "{{id}}.row",
146
+ "body": {
147
+ "package": "himalaya",
148
+ "type": "VStack",
149
+ "props": {
150
+ "spacing": 6,
151
+ "alignment": "leading",
152
+ "children": [
153
+ {
154
+ "id": "",
155
+ "body": {
156
+ "package": "himalaya",
157
+ "type": "Text",
158
+ "props": {
159
+ "text": "$item.categoryTitle",
160
+ "style": "caption",
161
+ "color": "textSecondary"
162
+ }
163
+ },
164
+ "modifiers": {
165
+ "hiddenPath": "$item.categoryHeaderHidden"
166
+ }
167
+ },
168
+ {
169
+ "id": "{{id}}.category",
170
+ "body": {
171
+ "package": "himalaya",
172
+ "type": "Section",
173
+ "props": {
174
+ "inset": true,
175
+ "children": [
176
+ {
177
+ "id": "{{id}}.question",
178
+ "body": {
179
+ "package": "himalaya",
180
+ "type": "DisclosureGroup",
181
+ "props": {
182
+ "title": "$item.title",
183
+ "expandedPath": "$item.expanded",
184
+ "content": [
185
+ {
186
+ "id": "{{id}}.answer_$item.id",
187
+ "body": {
188
+ "package": "himalaya",
189
+ "type": "RichContent",
190
+ "props": {
191
+ "documentJsonPath": "$item.answerJson",
192
+ "onLink": {
193
+ "actionId": "tier5.{{svc}}.openLink"
194
+ },
195
+ "fallback": {
196
+ "id": "",
197
+ "body": {
198
+ "package": "himalaya",
199
+ "type": "Text",
200
+ "props": {
201
+ "text": "$item.answer",
202
+ "style": "body",
203
+ "color": "textSecondary"
204
+ }
205
+ }
206
+ }
207
+ }
208
+ }
209
+ },
210
+ {
211
+ "id": "{{id}}.answer_text_$item.id",
212
+ "body": {
213
+ "package": "himalaya",
214
+ "type": "Text",
215
+ "props": {
216
+ "text": "$item.answer",
217
+ "style": "body",
218
+ "color": "textSecondary"
219
+ }
220
+ },
221
+ "modifiers": {
222
+ "hiddenPath": "$item.hasAnswerJson"
223
+ }
224
+ }
225
+ ],
226
+ "onToggle": {
227
+ "actionId": "tier5.{{svc}}.toggle",
228
+ "params": {
229
+ "id": "$item.id"
230
+ }
231
+ }
232
+ }
233
+ }
234
+ }
235
+ ]
236
+ }
237
+ }
238
+ }
239
+ ]
240
+ }
241
+ }
242
+ }
243
+ ]
244
+ }
245
+ },
246
+ "modifiers": {
247
+ "hiddenPath": "$service:{{svc}}.contentHidden"
248
+ }
249
+ },
250
+ {
251
+ "id": "{{id}}.empty",
252
+ "body": {
253
+ "package": "himalaya",
254
+ "type": "VStack",
255
+ "props": {
256
+ "spacing": 8,
257
+ "alignment": "leading",
258
+ "children": [
259
+ {
260
+ "id": "",
261
+ "body": {
262
+ "package": "himalaya",
263
+ "type": "Icon",
264
+ "props": {
265
+ "name": "help",
266
+ "size": 28,
267
+ "tint": "textTertiary"
268
+ }
269
+ },
270
+ "modifiers": {
271
+ "accessibilityRole": "decorative"
272
+ }
273
+ },
274
+ {
275
+ "id": "",
276
+ "body": {
277
+ "package": "himalaya",
278
+ "type": "Text",
279
+ "props": {
280
+ "text": "No FAQs yet",
281
+ "style": "bodyEmphasis"
282
+ }
283
+ }
284
+ },
285
+ {
286
+ "id": "",
287
+ "body": {
288
+ "package": "himalaya",
289
+ "type": "Text",
290
+ "props": {
291
+ "text": "No questions have been published yet.",
292
+ "style": "footnote",
293
+ "color": "textSecondary"
294
+ }
295
+ }
296
+ }
297
+ ]
298
+ }
299
+ },
300
+ "modifiers": {
301
+ "background": {
302
+ "token": "surfaceElevated"
303
+ },
304
+ "border": {
305
+ "width": 1,
306
+ "color": {
307
+ "token": "border"
308
+ }
309
+ },
310
+ "cornerRadius": 4,
311
+ "padding": {
312
+ "leading": 16,
313
+ "trailing": 16,
314
+ "top": 16,
315
+ "bottom": 16
316
+ },
317
+ "hiddenPath": "$service:{{svc}}.emptyHidden"
318
+ }
319
+ },
320
+ {
321
+ "id": "{{id}}.error",
322
+ "body": {
323
+ "package": "himalaya",
324
+ "type": "VStack",
325
+ "props": {
326
+ "spacing": 8,
327
+ "alignment": "leading",
328
+ "children": [
329
+ {
330
+ "id": "",
331
+ "body": {
332
+ "package": "himalaya",
333
+ "type": "Text",
334
+ "props": {
335
+ "text": "FAQs are temporarily unavailable",
336
+ "style": "bodyEmphasis"
337
+ }
338
+ }
339
+ },
340
+ {
341
+ "id": "",
342
+ "body": {
343
+ "package": "himalaya",
344
+ "type": "Text",
345
+ "props": {
346
+ "text": "Check your connection and try again.",
347
+ "style": "footnote",
348
+ "color": "textSecondary"
349
+ }
350
+ }
351
+ },
352
+ {
353
+ "id": "{{id}}.retry",
354
+ "body": {
355
+ "package": "himalaya",
356
+ "type": "Button",
357
+ "props": {
358
+ "title": "Try again",
359
+ "style": "secondary",
360
+ "action": {
361
+ "actionId": "tier5.{{svc}}.retry"
362
+ }
363
+ }
364
+ }
365
+ }
366
+ ]
367
+ }
368
+ },
369
+ "modifiers": {
370
+ "background": {
371
+ "token": "surfaceElevated"
372
+ },
373
+ "border": {
374
+ "width": 1,
375
+ "color": {
376
+ "token": "border"
377
+ }
378
+ },
379
+ "cornerRadius": 4,
380
+ "padding": {
381
+ "leading": 16,
382
+ "trailing": 16,
383
+ "top": 16,
384
+ "bottom": 16
385
+ },
386
+ "hiddenPath": "$service:{{svc}}.errorHidden"
387
+ }
388
+ },
389
+ {
390
+ "id": "{{id}}.forbidden",
391
+ "body": {
392
+ "package": "himalaya",
393
+ "type": "VStack",
394
+ "props": {
395
+ "spacing": 8,
396
+ "alignment": "leading",
397
+ "children": [
398
+ {
399
+ "id": "",
400
+ "body": {
401
+ "package": "himalaya",
402
+ "type": "Text",
403
+ "props": {
404
+ "text": "FAQ access is restricted",
405
+ "style": "bodyEmphasis"
406
+ }
407
+ }
408
+ },
409
+ {
410
+ "id": "",
411
+ "body": {
412
+ "package": "himalaya",
413
+ "type": "Text",
414
+ "props": {
415
+ "text": "This site's FAQ is not available to visitors.",
416
+ "style": "footnote",
417
+ "color": "textSecondary"
418
+ }
419
+ }
420
+ }
421
+ ]
422
+ }
423
+ },
424
+ "modifiers": {
425
+ "background": {
426
+ "token": "surfaceElevated"
427
+ },
428
+ "border": {
429
+ "width": 1,
430
+ "color": {
431
+ "token": "border"
432
+ }
433
+ },
434
+ "cornerRadius": 4,
435
+ "padding": {
436
+ "leading": 16,
437
+ "trailing": 16,
438
+ "top": 16,
439
+ "bottom": 16
440
+ },
441
+ "hiddenPath": "$service:{{svc}}.forbiddenHidden"
442
+ }
443
+ },
444
+ {
445
+ "id": "{{id}}.not_installed",
446
+ "body": {
447
+ "package": "himalaya",
448
+ "type": "VStack",
449
+ "props": {
450
+ "spacing": 8,
451
+ "alignment": "leading",
452
+ "children": [
453
+ {
454
+ "id": "",
455
+ "body": {
456
+ "package": "himalaya",
457
+ "type": "Text",
458
+ "props": {
459
+ "text": "FAQs are not set up",
460
+ "style": "bodyEmphasis"
461
+ }
462
+ }
463
+ },
464
+ {
465
+ "id": "",
466
+ "body": {
467
+ "package": "himalaya",
468
+ "type": "Text",
469
+ "props": {
470
+ "text": "This business has not added FAQs yet.",
471
+ "style": "footnote",
472
+ "color": "textSecondary"
473
+ }
474
+ }
475
+ }
476
+ ]
477
+ }
478
+ },
479
+ "modifiers": {
480
+ "background": {
481
+ "token": "surfaceElevated"
482
+ },
483
+ "border": {
484
+ "width": 1,
485
+ "color": {
486
+ "token": "border"
487
+ }
488
+ },
489
+ "cornerRadius": 4,
490
+ "padding": {
491
+ "leading": 16,
492
+ "trailing": 16,
493
+ "top": 16,
494
+ "bottom": 16
495
+ },
496
+ "hiddenPath": "$service:{{svc}}.notInstalledHidden"
497
+ }
498
+ }
499
+ ]
500
+ }
501
+ }
502
+ }
503
+ }