@wix/himalaya-cli 0.1954.0 → 0.1956.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/cli.mjs +154 -72
- package/guides/one-app-section-mappings.md +1 -1
- package/guides/one-app-to-himi-app.md +11 -7
- package/package.json +2 -2
- package/templates/branded-lite/l10n/ar.json +5 -0
- package/templates/branded-lite/l10n/cs.json +5 -0
- package/templates/branded-lite/l10n/da.json +5 -0
- package/templates/branded-lite/l10n/de.json +5 -0
- package/templates/branded-lite/l10n/el.json +5 -0
- package/templates/branded-lite/l10n/es.json +5 -0
- package/templates/branded-lite/l10n/fi.json +5 -0
- package/templates/branded-lite/l10n/fr.json +5 -0
- package/templates/branded-lite/l10n/he.json +5 -0
- package/templates/branded-lite/l10n/hu.json +5 -0
- package/templates/branded-lite/l10n/id.json +5 -0
- package/templates/branded-lite/l10n/it.json +5 -0
- package/templates/branded-lite/l10n/ja.json +5 -0
- package/templates/branded-lite/l10n/ko.json +5 -0
- package/templates/branded-lite/l10n/lt.json +5 -0
- package/templates/branded-lite/l10n/nl.json +5 -0
- package/templates/branded-lite/l10n/no.json +5 -0
- package/templates/branded-lite/l10n/pl.json +5 -0
- package/templates/branded-lite/l10n/pt.json +5 -0
- package/templates/branded-lite/l10n/ru.json +5 -0
- package/templates/branded-lite/l10n/sv.json +5 -0
- package/templates/branded-lite/l10n/th.json +5 -0
- package/templates/branded-lite/l10n/tr.json +5 -0
- package/templates/branded-lite/l10n/uk.json +5 -0
- package/templates/branded-lite/l10n/vi.json +5 -0
- package/templates/branded-lite/l10n/zh.json +5 -0
- package/templates/branded-lite/recipes/blog-carousel-classic.json +335 -0
- package/templates/branded-lite/recipes/blog-carousel-full.json +374 -0
- package/templates/branded-lite/recipes/events-inline-carousel.json +308 -0
- package/templates/branded-lite/recipes/galleries-carousel.json +51 -2
- package/templates/branded-lite/recipes/galleries-collage.json +51 -2
- package/templates/branded-lite/recipes/galleries-list.json +51 -2
- package/templates/branded-lite/recipes/groups-cards.json +194 -86
- package/templates/branded-lite/recipes/groups-list.json +209 -62
- package/templates/branded-lite/tier5-src/_shared/blog-list.ts +5 -1
- package/templates/branded-lite/tier5-src/_shared/galleries-section.ts +70 -23
- package/templates/branded-lite/tier5-src/_shared/groups-section.ts +297 -26
- package/templates/branded-lite/recipes/blog-hero.json +0 -95
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_recipe": "Inline events section, CAROUSEL layout: the card layout's cards (cover image, date badge, title, date, location, Share and the registration action) in a rail that scrolls sideways, in the worker's order. ONE node. Service: registerEventsInline(svc, { limit }); the page worker's onAppear calls tier5.<svc>.load with the copy pack. Generated from eventsInlineSection(); a test fails if they differ.",
|
|
3
|
+
"_placeholders": {
|
|
4
|
+
"svc": "service name the page worker registered with registerEventsInline(svc, { limit })",
|
|
5
|
+
"id": "unique node id prefix for this section. To switch Share or See-all OFF, drop the node with id {{id}}.share or {{id}}.see_all",
|
|
6
|
+
"shareLabel": "the Share button label (stock copy: Share)",
|
|
7
|
+
"seeAllLabel": "the See-all link label (stock copy: See all events)",
|
|
8
|
+
"seeAllScreen": "the screen See-all opens, default himi_events"
|
|
9
|
+
},
|
|
10
|
+
"node": {
|
|
11
|
+
"id": "{{id}}",
|
|
12
|
+
"body": {
|
|
13
|
+
"package": "himalaya",
|
|
14
|
+
"type": "VStack",
|
|
15
|
+
"props": {
|
|
16
|
+
"spacing": 12,
|
|
17
|
+
"alignment": "leading",
|
|
18
|
+
"children": [
|
|
19
|
+
{
|
|
20
|
+
"id": "{{id}}.rail",
|
|
21
|
+
"body": {
|
|
22
|
+
"package": "himalaya",
|
|
23
|
+
"type": "Carousel",
|
|
24
|
+
"props": {
|
|
25
|
+
"itemsPath": "$service:{{svc}}.rows",
|
|
26
|
+
"items": [
|
|
27
|
+
{
|
|
28
|
+
"id": "{{id}}.row",
|
|
29
|
+
"body": {
|
|
30
|
+
"package": "himalaya",
|
|
31
|
+
"type": "VStack",
|
|
32
|
+
"props": {
|
|
33
|
+
"spacing": 12,
|
|
34
|
+
"alignment": "leading",
|
|
35
|
+
"children": [
|
|
36
|
+
{
|
|
37
|
+
"id": "",
|
|
38
|
+
"body": {
|
|
39
|
+
"package": "himalaya",
|
|
40
|
+
"type": "Image",
|
|
41
|
+
"props": {
|
|
42
|
+
"url": "$item.image",
|
|
43
|
+
"fillWidth": true,
|
|
44
|
+
"height": 150,
|
|
45
|
+
"contentMode": "fill",
|
|
46
|
+
"contentDescription": "$item.title"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"modifiers": {
|
|
50
|
+
"fillMaxWidth": true,
|
|
51
|
+
"hiddenPath": "$item.noImage"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "",
|
|
56
|
+
"body": {
|
|
57
|
+
"package": "himalaya",
|
|
58
|
+
"type": "HStack",
|
|
59
|
+
"props": {
|
|
60
|
+
"spacing": 14,
|
|
61
|
+
"alignment": "leading",
|
|
62
|
+
"children": [
|
|
63
|
+
{
|
|
64
|
+
"id": "{{id}}.date",
|
|
65
|
+
"body": {
|
|
66
|
+
"package": "himalaya",
|
|
67
|
+
"type": "Text",
|
|
68
|
+
"props": {
|
|
69
|
+
"text": "$item.dateBadge",
|
|
70
|
+
"style": "title2",
|
|
71
|
+
"maxLines": 2
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"modifiers": {
|
|
75
|
+
"hiddenPath": "$item.noDateBadge"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "",
|
|
80
|
+
"body": {
|
|
81
|
+
"package": "himalaya",
|
|
82
|
+
"type": "VStack",
|
|
83
|
+
"props": {
|
|
84
|
+
"spacing": 4,
|
|
85
|
+
"alignment": "leading",
|
|
86
|
+
"children": [
|
|
87
|
+
{
|
|
88
|
+
"id": "{{id}}.title",
|
|
89
|
+
"body": {
|
|
90
|
+
"package": "himalaya",
|
|
91
|
+
"type": "Text",
|
|
92
|
+
"props": {
|
|
93
|
+
"text": "$item.title",
|
|
94
|
+
"style": "bodyEmphasis",
|
|
95
|
+
"maxLines": 2
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "",
|
|
101
|
+
"body": {
|
|
102
|
+
"package": "himalaya",
|
|
103
|
+
"type": "Text",
|
|
104
|
+
"props": {
|
|
105
|
+
"text": "$item.dateLine",
|
|
106
|
+
"style": "footnote",
|
|
107
|
+
"color": "textSecondary",
|
|
108
|
+
"maxLines": 1,
|
|
109
|
+
"collapseWhenEmpty": true
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "",
|
|
115
|
+
"body": {
|
|
116
|
+
"package": "himalaya",
|
|
117
|
+
"type": "Text",
|
|
118
|
+
"props": {
|
|
119
|
+
"text": "$item.location",
|
|
120
|
+
"style": "footnote",
|
|
121
|
+
"color": "textSecondary",
|
|
122
|
+
"maxLines": 1,
|
|
123
|
+
"collapseWhenEmpty": true
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"modifiers": {
|
|
131
|
+
"fillMaxWidth": true
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"modifiers": {
|
|
138
|
+
"padding": {
|
|
139
|
+
"leading": 14,
|
|
140
|
+
"trailing": 14
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"id": "",
|
|
146
|
+
"body": {
|
|
147
|
+
"package": "himalaya",
|
|
148
|
+
"type": "Divider",
|
|
149
|
+
"props": {}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "",
|
|
154
|
+
"body": {
|
|
155
|
+
"package": "himalaya",
|
|
156
|
+
"type": "HStack",
|
|
157
|
+
"props": {
|
|
158
|
+
"spacing": 0,
|
|
159
|
+
"alignment": "center",
|
|
160
|
+
"children": [
|
|
161
|
+
{
|
|
162
|
+
"id": "{{id}}.share",
|
|
163
|
+
"body": {
|
|
164
|
+
"package": "himalaya",
|
|
165
|
+
"type": "Button",
|
|
166
|
+
"props": {
|
|
167
|
+
"title": "{{shareLabel}}",
|
|
168
|
+
"style": "link",
|
|
169
|
+
"leadingIcon": "share",
|
|
170
|
+
"action": {
|
|
171
|
+
"actionId": "tier5.{{svc}}.share",
|
|
172
|
+
"params": {
|
|
173
|
+
"id": "$item.id"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"modifiers": {
|
|
179
|
+
"weight": 1
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "{{id}}.action",
|
|
184
|
+
"body": {
|
|
185
|
+
"package": "himalaya",
|
|
186
|
+
"type": "Button",
|
|
187
|
+
"props": {
|
|
188
|
+
"title": "$item.actionLabel",
|
|
189
|
+
"style": "link",
|
|
190
|
+
"action": {
|
|
191
|
+
"actionId": "himi.open",
|
|
192
|
+
"params": {
|
|
193
|
+
"screenId": "$item.detailScreenId",
|
|
194
|
+
"id": "$item.id"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"modifiers": {
|
|
200
|
+
"weight": 1,
|
|
201
|
+
"hiddenPath": "$item.noAction"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"modifiers": {
|
|
212
|
+
"background": {
|
|
213
|
+
"token": "surfaceElevated"
|
|
214
|
+
},
|
|
215
|
+
"border": {
|
|
216
|
+
"width": 1,
|
|
217
|
+
"color": {
|
|
218
|
+
"token": "border"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"cornerRadius": 8,
|
|
222
|
+
"onTap": {
|
|
223
|
+
"actionId": "himi.open",
|
|
224
|
+
"params": {
|
|
225
|
+
"screenId": "$item.detailScreenId",
|
|
226
|
+
"id": "$item.id"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"pressFeedback": "scale",
|
|
230
|
+
"haptic": "light",
|
|
231
|
+
"accessibilityLabel": "$item.title",
|
|
232
|
+
"width": 280
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"modifiers": {
|
|
239
|
+
"hiddenPath": "$service:{{svc}}.noRows"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"id": "{{id}}.empty",
|
|
244
|
+
"body": {
|
|
245
|
+
"package": "himalaya",
|
|
246
|
+
"type": "VStack",
|
|
247
|
+
"props": {
|
|
248
|
+
"spacing": 4,
|
|
249
|
+
"alignment": "leading",
|
|
250
|
+
"children": [
|
|
251
|
+
{
|
|
252
|
+
"id": "{{id}}.empty_title",
|
|
253
|
+
"body": {
|
|
254
|
+
"package": "himalaya",
|
|
255
|
+
"type": "Text",
|
|
256
|
+
"props": {
|
|
257
|
+
"text": "$service:{{svc}}.emptyText",
|
|
258
|
+
"style": "bodyEmphasis",
|
|
259
|
+
"collapseWhenEmpty": true
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "{{id}}.empty_body",
|
|
265
|
+
"body": {
|
|
266
|
+
"package": "himalaya",
|
|
267
|
+
"type": "Text",
|
|
268
|
+
"props": {
|
|
269
|
+
"text": "$service:{{svc}}.emptyBody",
|
|
270
|
+
"style": "footnote",
|
|
271
|
+
"color": "textSecondary",
|
|
272
|
+
"collapseWhenEmpty": true
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"modifiers": {
|
|
280
|
+
"hiddenPath": "$service:{{svc}}.noEmpty"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"id": "{{id}}.see_all",
|
|
285
|
+
"body": {
|
|
286
|
+
"package": "himalaya",
|
|
287
|
+
"type": "Button",
|
|
288
|
+
"props": {
|
|
289
|
+
"title": "{{seeAllLabel}}",
|
|
290
|
+
"style": "link",
|
|
291
|
+
"trailingIcon": "chevron_right",
|
|
292
|
+
"action": {
|
|
293
|
+
"actionId": "himi.open",
|
|
294
|
+
"params": {
|
|
295
|
+
"screenId": "{{seeAllScreen}}"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"modifiers": {
|
|
301
|
+
"hiddenPath": "$service:{{svc}}.noMore"
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_recipe": "A rail of the site's Pro Gallery galleries, scrolling sideways. Cards: cover (an accent tile with the initial when none) and name; a tap opens the gallery. ONE node, always mounted. Service: registerGalleriesSection(svc, { limit, showName }); the section's View All button is placed beside it by the generator.",
|
|
2
|
+
"_recipe": "A rail of the site's Pro Gallery galleries, scrolling sideways. Cards: cover (an accent tile with the initial when none) and name; a tap opens the gallery. A visitor sees a sign-in state instead (`{{id}}.signin.button` is removed when the scaffold has no sign-in screen), and the empty text shows only once a member's read answered with none. ONE node, always mounted. Service: registerGalleriesSection(svc, { limit, showName }); the section's View All button is placed beside it by the generator.",
|
|
3
3
|
"_placeholders": {
|
|
4
4
|
"svc": "service name the page worker registered with registerGalleriesSection",
|
|
5
|
-
"id": "unique node id prefix for this section"
|
|
5
|
+
"id": "unique node id prefix for this section",
|
|
6
|
+
"signInScreen": "the screen the sign-in button opens, himi_sign_in"
|
|
6
7
|
},
|
|
7
8
|
"node": {
|
|
8
9
|
"id": "{{id}}.galleries",
|
|
@@ -34,6 +35,54 @@
|
|
|
34
35
|
"hiddenPath": "$service:{{svc}}.notLoading"
|
|
35
36
|
}
|
|
36
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"id": "{{id}}.signin",
|
|
40
|
+
"body": {
|
|
41
|
+
"package": "himalaya",
|
|
42
|
+
"type": "VStack",
|
|
43
|
+
"props": {
|
|
44
|
+
"spacing": 8,
|
|
45
|
+
"alignment": "leading",
|
|
46
|
+
"children": [
|
|
47
|
+
{
|
|
48
|
+
"id": "{{id}}.signin.text",
|
|
49
|
+
"body": {
|
|
50
|
+
"package": "himalaya",
|
|
51
|
+
"type": "Text",
|
|
52
|
+
"props": {
|
|
53
|
+
"text": "$service:{{svc}}.signInText",
|
|
54
|
+
"style": "body",
|
|
55
|
+
"color": "textSecondary"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "{{id}}.signin.button",
|
|
61
|
+
"body": {
|
|
62
|
+
"package": "himalaya",
|
|
63
|
+
"type": "Button",
|
|
64
|
+
"props": {
|
|
65
|
+
"title": "$service:{{svc}}.signInLabel",
|
|
66
|
+
"style": "secondary",
|
|
67
|
+
"size": "md",
|
|
68
|
+
"action": {
|
|
69
|
+
"actionId": "himi.open",
|
|
70
|
+
"params": {
|
|
71
|
+
"screenId": "{{signInScreen}}",
|
|
72
|
+
"mode": "signin"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"modifiers": {
|
|
82
|
+
"fillMaxWidth": true,
|
|
83
|
+
"hiddenPath": "$service:{{svc}}.notSignedOut"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
37
86
|
{
|
|
38
87
|
"id": "{{id}}.rail",
|
|
39
88
|
"body": {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_recipe": "A Pro Gallery section's single-gallery collage, as the source shows it with one gallery: the gallery's name and View All, then its first pictures as one big tile and a 2x2 block of small ones, the last small tile carrying a +N pill for the pictures past the five. A tap on a tile or View All opens the gallery. ONE node, always mounted. Service: registerGalleriesSection(svc, { collage: true, showName }); the section has no title of its own and no separate View All button (the header has it).",
|
|
2
|
+
"_recipe": "A Pro Gallery section's single-gallery collage, as the source shows it with one gallery: the gallery's name and View All, then its first pictures as one big tile and a 2x2 block of small ones, the last small tile carrying a +N pill for the pictures past the five. A tap on a tile or View All opens the gallery. A visitor sees a sign-in state instead (`{{id}}.signin.button` is removed when the scaffold has no sign-in screen), and the empty text shows only once a member's read answered with none. ONE node, always mounted. Service: registerGalleriesSection(svc, { collage: true, showName }); the section has no title of its own and no separate View All button (the header has it).",
|
|
3
3
|
"_placeholders": {
|
|
4
4
|
"svc": "service name the page worker registered with registerGalleriesSection",
|
|
5
|
-
"id": "unique node id prefix for this section"
|
|
5
|
+
"id": "unique node id prefix for this section",
|
|
6
|
+
"signInScreen": "the screen the sign-in button opens, himi_sign_in"
|
|
6
7
|
},
|
|
7
8
|
"node": {
|
|
8
9
|
"id": "{{id}}.galleries",
|
|
@@ -34,6 +35,54 @@
|
|
|
34
35
|
"hiddenPath": "$service:{{svc}}.notLoading"
|
|
35
36
|
}
|
|
36
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"id": "{{id}}.signin",
|
|
40
|
+
"body": {
|
|
41
|
+
"package": "himalaya",
|
|
42
|
+
"type": "VStack",
|
|
43
|
+
"props": {
|
|
44
|
+
"spacing": 8,
|
|
45
|
+
"alignment": "leading",
|
|
46
|
+
"children": [
|
|
47
|
+
{
|
|
48
|
+
"id": "{{id}}.signin.text",
|
|
49
|
+
"body": {
|
|
50
|
+
"package": "himalaya",
|
|
51
|
+
"type": "Text",
|
|
52
|
+
"props": {
|
|
53
|
+
"text": "$service:{{svc}}.signInText",
|
|
54
|
+
"style": "body",
|
|
55
|
+
"color": "textSecondary"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "{{id}}.signin.button",
|
|
61
|
+
"body": {
|
|
62
|
+
"package": "himalaya",
|
|
63
|
+
"type": "Button",
|
|
64
|
+
"props": {
|
|
65
|
+
"title": "$service:{{svc}}.signInLabel",
|
|
66
|
+
"style": "secondary",
|
|
67
|
+
"size": "md",
|
|
68
|
+
"action": {
|
|
69
|
+
"actionId": "himi.open",
|
|
70
|
+
"params": {
|
|
71
|
+
"screenId": "{{signInScreen}}",
|
|
72
|
+
"mode": "signin"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"modifiers": {
|
|
82
|
+
"fillMaxWidth": true,
|
|
83
|
+
"hiddenPath": "$service:{{svc}}.notSignedOut"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
37
86
|
{
|
|
38
87
|
"id": "{{id}}.header",
|
|
39
88
|
"body": {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_recipe": "The site's Pro Gallery galleries as full-width cards, one under another. Cards: cover (an accent tile with the initial when none) and name; a tap opens the gallery. ONE node, always mounted. Service: registerGalleriesSection(svc, { limit, showName }); the section's View All button is placed beside it by the generator.",
|
|
2
|
+
"_recipe": "The site's Pro Gallery galleries as full-width cards, one under another. Cards: cover (an accent tile with the initial when none) and name; a tap opens the gallery. A visitor sees a sign-in state instead (`{{id}}.signin.button` is removed when the scaffold has no sign-in screen), and the empty text shows only once a member's read answered with none. ONE node, always mounted. Service: registerGalleriesSection(svc, { limit, showName }); the section's View All button is placed beside it by the generator.",
|
|
3
3
|
"_placeholders": {
|
|
4
4
|
"svc": "service name the page worker registered with registerGalleriesSection",
|
|
5
|
-
"id": "unique node id prefix for this section"
|
|
5
|
+
"id": "unique node id prefix for this section",
|
|
6
|
+
"signInScreen": "the screen the sign-in button opens, himi_sign_in"
|
|
6
7
|
},
|
|
7
8
|
"node": {
|
|
8
9
|
"id": "{{id}}.galleries",
|
|
@@ -34,6 +35,54 @@
|
|
|
34
35
|
"hiddenPath": "$service:{{svc}}.notLoading"
|
|
35
36
|
}
|
|
36
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"id": "{{id}}.signin",
|
|
40
|
+
"body": {
|
|
41
|
+
"package": "himalaya",
|
|
42
|
+
"type": "VStack",
|
|
43
|
+
"props": {
|
|
44
|
+
"spacing": 8,
|
|
45
|
+
"alignment": "leading",
|
|
46
|
+
"children": [
|
|
47
|
+
{
|
|
48
|
+
"id": "{{id}}.signin.text",
|
|
49
|
+
"body": {
|
|
50
|
+
"package": "himalaya",
|
|
51
|
+
"type": "Text",
|
|
52
|
+
"props": {
|
|
53
|
+
"text": "$service:{{svc}}.signInText",
|
|
54
|
+
"style": "body",
|
|
55
|
+
"color": "textSecondary"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "{{id}}.signin.button",
|
|
61
|
+
"body": {
|
|
62
|
+
"package": "himalaya",
|
|
63
|
+
"type": "Button",
|
|
64
|
+
"props": {
|
|
65
|
+
"title": "$service:{{svc}}.signInLabel",
|
|
66
|
+
"style": "secondary",
|
|
67
|
+
"size": "md",
|
|
68
|
+
"action": {
|
|
69
|
+
"actionId": "himi.open",
|
|
70
|
+
"params": {
|
|
71
|
+
"screenId": "{{signInScreen}}",
|
|
72
|
+
"mode": "signin"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"modifiers": {
|
|
82
|
+
"fillMaxWidth": true,
|
|
83
|
+
"hiddenPath": "$service:{{svc}}.notSignedOut"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
37
86
|
{
|
|
38
87
|
"id": "{{id}}.rows",
|
|
39
88
|
"body": {
|