@wix/himalaya-cli 0.1158.0 → 0.1160.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 +2 -0
- package/package.json +2 -2
- package/templates/beauty-salon/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/beauty-salon-owner/dev/index.ts +382 -194
- package/templates/beauty-salon-owner/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-editor-value.ts +56 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post-form/index.ts +132 -46
- package/templates/branded-lite/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/brandy/config.ts +14 -3
- package/templates/brandy/dev/index.ts +339 -2
- package/templates/brandy/tier5-src/_shared/himi-copy.ts +56 -0
- package/templates/brandy/tier5-src/himi-notification-settings/index.ts +130 -0
- package/templates/brandy/tokens.json +10 -0
- package/templates/community-club/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/community-club-owner/dev/index.ts +382 -194
- package/templates/community-club-owner/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/community-club-owner/tier5-src/_shared/owner-editor-value.ts +56 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-post-form/index.ts +132 -46
- package/templates/events-meetups/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/events-meetups-owner/dev/index.ts +382 -194
- package/templates/events-meetups-owner/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/events-meetups-owner/tier5-src/_shared/owner-editor-value.ts +56 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post-form/index.ts +132 -46
- package/templates/gym-fitness/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/gym-fitness-owner/dev/index.ts +382 -194
- package/templates/gym-fitness-owner/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-editor-value.ts +56 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post-form/index.ts +132 -46
- package/templates/himi-chat/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/nonprofit-cause/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/nonprofit-cause-owner/dev/index.ts +382 -194
- package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-editor-value.ts +56 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post-form/index.ts +132 -46
- package/templates/owner-lite/dev/index.ts +382 -194
- package/templates/owner-lite/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/owner-lite/tier5-src/_shared/owner-editor-value.ts +56 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-post-form/index.ts +132 -46
- package/templates/podcast-creator/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/podcast-creator-owner/dev/index.ts +382 -194
- package/templates/podcast-creator-owner/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-editor-value.ts +56 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post-form/index.ts +132 -46
- package/templates/portfolio-creative/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/portfolio-creative-owner/dev/index.ts +382 -194
- package/templates/portfolio-creative-owner/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-editor-value.ts +56 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post-form/index.ts +132 -46
- package/templates/restaurant/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/restaurant-owner/dev/index.ts +382 -194
- package/templates/restaurant-owner/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/restaurant-owner/tier5-src/_shared/owner-editor-value.ts +56 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-post-form/index.ts +132 -46
- package/templates/retail-store/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/retail-store-owner/dev/index.ts +382 -194
- package/templates/retail-store-owner/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/retail-store-owner/tier5-src/_shared/owner-editor-value.ts +56 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-post-form/index.ts +132 -46
- package/templates/yoga-studio/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/yoga-studio-owner/dev/index.ts +382 -194
- package/templates/yoga-studio-owner/tier5-src/_shared/himi-copy.ts +1 -1
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-editor-value.ts +56 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post-form/index.ts +132 -46
|
@@ -73251,50 +73251,18 @@ const SCREENS = runtimeSetting({
|
|
|
73251
73251
|
}
|
|
73252
73252
|
},
|
|
73253
73253
|
{
|
|
73254
|
-
"id": "post_form.
|
|
73254
|
+
"id": "post_form.details",
|
|
73255
73255
|
"body": {
|
|
73256
73256
|
"package": "himalaya",
|
|
73257
|
-
"type": "
|
|
73258
|
-
"props": {
|
|
73259
|
-
"text": "$service:himiOwnerLitePostForm.bodyNote",
|
|
73260
|
-
"style": "footnote",
|
|
73261
|
-
"color": "textSecondary",
|
|
73262
|
-
"collapseWhenEmpty": true
|
|
73263
|
-
}
|
|
73264
|
-
}
|
|
73265
|
-
},
|
|
73266
|
-
{
|
|
73267
|
-
"id": "post_form.body_preview",
|
|
73268
|
-
"body": {
|
|
73269
|
-
"package": "himalaya",
|
|
73270
|
-
"type": "Text",
|
|
73271
|
-
"props": {
|
|
73272
|
-
"text": "$service:himiOwnerLitePostForm.body",
|
|
73273
|
-
"style": "body",
|
|
73274
|
-
"maxLines": 8,
|
|
73275
|
-
"collapseWhenEmpty": true
|
|
73276
|
-
}
|
|
73277
|
-
},
|
|
73278
|
-
"modifiers": {
|
|
73279
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyEditable"
|
|
73280
|
-
}
|
|
73281
|
-
},
|
|
73282
|
-
{
|
|
73283
|
-
"id": "",
|
|
73284
|
-
"body": {
|
|
73285
|
-
"package": "himalaya",
|
|
73286
|
-
"type": "Image",
|
|
73257
|
+
"type": "Button",
|
|
73287
73258
|
"props": {
|
|
73288
|
-
"
|
|
73289
|
-
"
|
|
73290
|
-
"
|
|
73291
|
-
"
|
|
73292
|
-
|
|
73259
|
+
"title": "Post details",
|
|
73260
|
+
"style": "secondary",
|
|
73261
|
+
"fullWidth": true,
|
|
73262
|
+
"action": {
|
|
73263
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsOpen"
|
|
73264
|
+
}
|
|
73293
73265
|
}
|
|
73294
|
-
},
|
|
73295
|
-
"modifiers": {
|
|
73296
|
-
"cornerRadius": 8,
|
|
73297
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
73298
73266
|
}
|
|
73299
73267
|
},
|
|
73300
73268
|
{
|
|
@@ -73325,67 +73293,82 @@ const SCREENS = runtimeSetting({
|
|
|
73325
73293
|
}
|
|
73326
73294
|
},
|
|
73327
73295
|
{
|
|
73328
|
-
"id": "post_form.
|
|
73296
|
+
"id": "post_form.body_slot",
|
|
73329
73297
|
"body": {
|
|
73330
73298
|
"package": "himalaya",
|
|
73331
|
-
"type": "
|
|
73332
|
-
"props": {
|
|
73333
|
-
"id": "excerpt",
|
|
73334
|
-
"label": "Excerpt",
|
|
73335
|
-
"kind": "text",
|
|
73336
|
-
"text": {
|
|
73337
|
-
"value": "$service:himiOwnerLitePostForm.excerpt",
|
|
73338
|
-
"placeholder": "Optional summary",
|
|
73339
|
-
"keyboard": "default",
|
|
73340
|
-
"autoCapitalization": "sentences",
|
|
73341
|
-
"multilineMaxLines": 3
|
|
73342
|
-
}
|
|
73343
|
-
}
|
|
73344
|
-
}
|
|
73345
|
-
},
|
|
73346
|
-
{
|
|
73347
|
-
"id": "post_form.body",
|
|
73348
|
-
"body": {
|
|
73349
|
-
"package": "himalaya",
|
|
73350
|
-
"type": "FormField",
|
|
73351
|
-
"props": {
|
|
73352
|
-
"id": "body",
|
|
73353
|
-
"label": "Body",
|
|
73354
|
-
"kind": "text",
|
|
73355
|
-
"text": {
|
|
73356
|
-
"value": "$service:himiOwnerLitePostForm.body",
|
|
73357
|
-
"placeholder": "Write your post",
|
|
73358
|
-
"keyboard": "default",
|
|
73359
|
-
"autoCapitalization": "sentences",
|
|
73360
|
-
"multilineMaxLines": 6
|
|
73361
|
-
}
|
|
73362
|
-
}
|
|
73363
|
-
},
|
|
73364
|
-
"modifiers": {
|
|
73365
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyProtected"
|
|
73366
|
-
}
|
|
73367
|
-
},
|
|
73368
|
-
{
|
|
73369
|
-
"id": "post_form.coverUrl",
|
|
73370
|
-
"body": {
|
|
73371
|
-
"package": "himalaya",
|
|
73372
|
-
"type": "FormField",
|
|
73299
|
+
"type": "VStack",
|
|
73373
73300
|
"props": {
|
|
73374
|
-
"
|
|
73375
|
-
"
|
|
73376
|
-
"
|
|
73377
|
-
|
|
73378
|
-
|
|
73379
|
-
|
|
73380
|
-
|
|
73381
|
-
|
|
73382
|
-
|
|
73383
|
-
|
|
73384
|
-
|
|
73385
|
-
|
|
73386
|
-
|
|
73301
|
+
"spacing": 6,
|
|
73302
|
+
"alignment": "leading",
|
|
73303
|
+
"children": [
|
|
73304
|
+
{
|
|
73305
|
+
"id": "",
|
|
73306
|
+
"body": {
|
|
73307
|
+
"package": "himalaya",
|
|
73308
|
+
"type": "Text",
|
|
73309
|
+
"props": {
|
|
73310
|
+
"text": "Body",
|
|
73311
|
+
"style": "bodyEmphasis"
|
|
73312
|
+
}
|
|
73313
|
+
}
|
|
73314
|
+
},
|
|
73315
|
+
{
|
|
73316
|
+
"id": "post_body_editor",
|
|
73317
|
+
"body": {
|
|
73318
|
+
"package": "himalaya",
|
|
73319
|
+
"type": "RichContentEditor",
|
|
73320
|
+
"props": {
|
|
73321
|
+
"name": "body",
|
|
73322
|
+
"documentPath": "$service:himiOwnerLitePostForm.bodyJson",
|
|
73323
|
+
"placeholder": "Write your post",
|
|
73324
|
+
"uploadService": "himiOwnerLitePostFormUploads",
|
|
73325
|
+
"onChange": {
|
|
73326
|
+
"actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
|
|
73327
|
+
},
|
|
73328
|
+
"minHeight": 360,
|
|
73329
|
+
"fallback": {
|
|
73330
|
+
"id": "post_form.body_unavailable",
|
|
73331
|
+
"body": {
|
|
73332
|
+
"package": "himalaya",
|
|
73333
|
+
"type": "VStack",
|
|
73334
|
+
"props": {
|
|
73335
|
+
"spacing": 4,
|
|
73336
|
+
"alignment": "leading",
|
|
73337
|
+
"children": [
|
|
73338
|
+
{
|
|
73339
|
+
"id": "",
|
|
73340
|
+
"body": {
|
|
73341
|
+
"package": "himalaya",
|
|
73342
|
+
"type": "Text",
|
|
73343
|
+
"props": {
|
|
73344
|
+
"text": "Editor unavailable",
|
|
73345
|
+
"style": "title3"
|
|
73346
|
+
}
|
|
73347
|
+
}
|
|
73348
|
+
},
|
|
73349
|
+
{
|
|
73350
|
+
"id": "",
|
|
73351
|
+
"body": {
|
|
73352
|
+
"package": "himalaya",
|
|
73353
|
+
"type": "Text",
|
|
73354
|
+
"props": {
|
|
73355
|
+
"text": "The post body can’t be edited here right now. The title and details still save, and the body stays as it is.",
|
|
73356
|
+
"style": "footnote",
|
|
73357
|
+
"color": "textSecondary"
|
|
73358
|
+
}
|
|
73359
|
+
}
|
|
73360
|
+
}
|
|
73361
|
+
]
|
|
73362
|
+
}
|
|
73363
|
+
}
|
|
73364
|
+
}
|
|
73365
|
+
}
|
|
73366
|
+
},
|
|
73367
|
+
"modifiers": {
|
|
73368
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.bodyPending"
|
|
73369
|
+
}
|
|
73387
73370
|
}
|
|
73388
|
-
|
|
73371
|
+
]
|
|
73389
73372
|
}
|
|
73390
73373
|
}
|
|
73391
73374
|
}
|
|
@@ -73429,6 +73412,117 @@ const SCREENS = runtimeSetting({
|
|
|
73429
73412
|
"modifiers": {
|
|
73430
73413
|
"hiddenPath": "$service:himiOwnerLitePostForm.hideSavedLink"
|
|
73431
73414
|
}
|
|
73415
|
+
},
|
|
73416
|
+
{
|
|
73417
|
+
"id": "post_form.details_sheet",
|
|
73418
|
+
"body": {
|
|
73419
|
+
"package": "himalaya",
|
|
73420
|
+
"type": "BottomSheet",
|
|
73421
|
+
"props": {
|
|
73422
|
+
"presentedPath": "$service:himiOwnerLitePostForm.detailsOpen",
|
|
73423
|
+
"dismissible": true,
|
|
73424
|
+
"showGrabber": true,
|
|
73425
|
+
"onDismiss": {
|
|
73426
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsClose"
|
|
73427
|
+
},
|
|
73428
|
+
"content": {
|
|
73429
|
+
"id": "post_form.details_body",
|
|
73430
|
+
"body": {
|
|
73431
|
+
"package": "himalaya",
|
|
73432
|
+
"type": "VStack",
|
|
73433
|
+
"props": {
|
|
73434
|
+
"spacing": 12,
|
|
73435
|
+
"alignment": "leading",
|
|
73436
|
+
"children": [
|
|
73437
|
+
{
|
|
73438
|
+
"id": "",
|
|
73439
|
+
"body": {
|
|
73440
|
+
"package": "himalaya",
|
|
73441
|
+
"type": "Text",
|
|
73442
|
+
"props": {
|
|
73443
|
+
"text": "Post details",
|
|
73444
|
+
"style": "title3"
|
|
73445
|
+
}
|
|
73446
|
+
}
|
|
73447
|
+
},
|
|
73448
|
+
{
|
|
73449
|
+
"id": "",
|
|
73450
|
+
"body": {
|
|
73451
|
+
"package": "himalaya",
|
|
73452
|
+
"type": "Text",
|
|
73453
|
+
"props": {
|
|
73454
|
+
"text": "Excerpt",
|
|
73455
|
+
"style": "bodyEmphasis"
|
|
73456
|
+
}
|
|
73457
|
+
}
|
|
73458
|
+
},
|
|
73459
|
+
{
|
|
73460
|
+
"id": "post_form.excerpt",
|
|
73461
|
+
"body": {
|
|
73462
|
+
"package": "himalaya",
|
|
73463
|
+
"type": "TextField",
|
|
73464
|
+
"props": {
|
|
73465
|
+
"placeholder": "Optional summary",
|
|
73466
|
+
"valuePath": "$service:himiOwnerLitePostForm.excerpt",
|
|
73467
|
+
"multilineMaxLines": 3,
|
|
73468
|
+
"autoCapitalization": "sentences",
|
|
73469
|
+
"onChange": {
|
|
73470
|
+
"actionId": "tier5.himiOwnerLitePostForm.setExcerpt"
|
|
73471
|
+
}
|
|
73472
|
+
}
|
|
73473
|
+
}
|
|
73474
|
+
},
|
|
73475
|
+
{
|
|
73476
|
+
"id": "",
|
|
73477
|
+
"body": {
|
|
73478
|
+
"package": "himalaya",
|
|
73479
|
+
"type": "Text",
|
|
73480
|
+
"props": {
|
|
73481
|
+
"text": "Cover image URL",
|
|
73482
|
+
"style": "bodyEmphasis"
|
|
73483
|
+
}
|
|
73484
|
+
}
|
|
73485
|
+
},
|
|
73486
|
+
{
|
|
73487
|
+
"id": "post_form.coverUrl",
|
|
73488
|
+
"body": {
|
|
73489
|
+
"package": "himalaya",
|
|
73490
|
+
"type": "TextField",
|
|
73491
|
+
"props": {
|
|
73492
|
+
"placeholder": "https://…",
|
|
73493
|
+
"valuePath": "$service:himiOwnerLitePostForm.coverUrl",
|
|
73494
|
+
"keyboard": "url",
|
|
73495
|
+
"autoCapitalization": "none",
|
|
73496
|
+
"onChange": {
|
|
73497
|
+
"actionId": "tier5.himiOwnerLitePostForm.setCover"
|
|
73498
|
+
}
|
|
73499
|
+
}
|
|
73500
|
+
}
|
|
73501
|
+
},
|
|
73502
|
+
{
|
|
73503
|
+
"id": "",
|
|
73504
|
+
"body": {
|
|
73505
|
+
"package": "himalaya",
|
|
73506
|
+
"type": "Image",
|
|
73507
|
+
"props": {
|
|
73508
|
+
"url": "$service:himiOwnerLitePostForm.coverPreview",
|
|
73509
|
+
"fillWidth": true,
|
|
73510
|
+
"height": 160,
|
|
73511
|
+
"contentMode": "fit",
|
|
73512
|
+
"contentDescription": "Cover image preview"
|
|
73513
|
+
}
|
|
73514
|
+
},
|
|
73515
|
+
"modifiers": {
|
|
73516
|
+
"cornerRadius": 8,
|
|
73517
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
73518
|
+
}
|
|
73519
|
+
}
|
|
73520
|
+
]
|
|
73521
|
+
}
|
|
73522
|
+
}
|
|
73523
|
+
}
|
|
73524
|
+
}
|
|
73525
|
+
}
|
|
73432
73526
|
}
|
|
73433
73527
|
]
|
|
73434
73528
|
}
|
|
@@ -74174,50 +74268,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
74174
74268
|
}
|
|
74175
74269
|
},
|
|
74176
74270
|
{
|
|
74177
|
-
"id": "post_form.
|
|
74271
|
+
"id": "post_form.details",
|
|
74178
74272
|
"body": {
|
|
74179
74273
|
"package": "himalaya",
|
|
74180
|
-
"type": "
|
|
74181
|
-
"props": {
|
|
74182
|
-
"text": "$service:himiOwnerLitePostForm.bodyNote",
|
|
74183
|
-
"style": "footnote",
|
|
74184
|
-
"color": "textSecondary",
|
|
74185
|
-
"collapseWhenEmpty": true
|
|
74186
|
-
}
|
|
74187
|
-
}
|
|
74188
|
-
},
|
|
74189
|
-
{
|
|
74190
|
-
"id": "post_form.body_preview",
|
|
74191
|
-
"body": {
|
|
74192
|
-
"package": "himalaya",
|
|
74193
|
-
"type": "Text",
|
|
74194
|
-
"props": {
|
|
74195
|
-
"text": "$service:himiOwnerLitePostForm.body",
|
|
74196
|
-
"style": "body",
|
|
74197
|
-
"maxLines": 8,
|
|
74198
|
-
"collapseWhenEmpty": true
|
|
74199
|
-
}
|
|
74200
|
-
},
|
|
74201
|
-
"modifiers": {
|
|
74202
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyEditable"
|
|
74203
|
-
}
|
|
74204
|
-
},
|
|
74205
|
-
{
|
|
74206
|
-
"id": "",
|
|
74207
|
-
"body": {
|
|
74208
|
-
"package": "himalaya",
|
|
74209
|
-
"type": "Image",
|
|
74274
|
+
"type": "Button",
|
|
74210
74275
|
"props": {
|
|
74211
|
-
"
|
|
74212
|
-
"
|
|
74213
|
-
"
|
|
74214
|
-
"
|
|
74215
|
-
|
|
74276
|
+
"title": "Post details",
|
|
74277
|
+
"style": "secondary",
|
|
74278
|
+
"fullWidth": true,
|
|
74279
|
+
"action": {
|
|
74280
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsOpen"
|
|
74281
|
+
}
|
|
74216
74282
|
}
|
|
74217
|
-
},
|
|
74218
|
-
"modifiers": {
|
|
74219
|
-
"cornerRadius": 8,
|
|
74220
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
74221
74283
|
}
|
|
74222
74284
|
},
|
|
74223
74285
|
{
|
|
@@ -74248,67 +74310,82 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
74248
74310
|
}
|
|
74249
74311
|
},
|
|
74250
74312
|
{
|
|
74251
|
-
"id": "post_form.
|
|
74313
|
+
"id": "post_form.body_slot",
|
|
74252
74314
|
"body": {
|
|
74253
74315
|
"package": "himalaya",
|
|
74254
|
-
"type": "
|
|
74255
|
-
"props": {
|
|
74256
|
-
"id": "excerpt",
|
|
74257
|
-
"label": "Excerpt",
|
|
74258
|
-
"kind": "text",
|
|
74259
|
-
"text": {
|
|
74260
|
-
"value": "$service:himiOwnerLitePostForm.excerpt",
|
|
74261
|
-
"placeholder": "Optional summary",
|
|
74262
|
-
"keyboard": "default",
|
|
74263
|
-
"autoCapitalization": "sentences",
|
|
74264
|
-
"multilineMaxLines": 3
|
|
74265
|
-
}
|
|
74266
|
-
}
|
|
74267
|
-
}
|
|
74268
|
-
},
|
|
74269
|
-
{
|
|
74270
|
-
"id": "post_form.body",
|
|
74271
|
-
"body": {
|
|
74272
|
-
"package": "himalaya",
|
|
74273
|
-
"type": "FormField",
|
|
74274
|
-
"props": {
|
|
74275
|
-
"id": "body",
|
|
74276
|
-
"label": "Body",
|
|
74277
|
-
"kind": "text",
|
|
74278
|
-
"text": {
|
|
74279
|
-
"value": "$service:himiOwnerLitePostForm.body",
|
|
74280
|
-
"placeholder": "Write your post",
|
|
74281
|
-
"keyboard": "default",
|
|
74282
|
-
"autoCapitalization": "sentences",
|
|
74283
|
-
"multilineMaxLines": 6
|
|
74284
|
-
}
|
|
74285
|
-
}
|
|
74286
|
-
},
|
|
74287
|
-
"modifiers": {
|
|
74288
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyProtected"
|
|
74289
|
-
}
|
|
74290
|
-
},
|
|
74291
|
-
{
|
|
74292
|
-
"id": "post_form.coverUrl",
|
|
74293
|
-
"body": {
|
|
74294
|
-
"package": "himalaya",
|
|
74295
|
-
"type": "FormField",
|
|
74316
|
+
"type": "VStack",
|
|
74296
74317
|
"props": {
|
|
74297
|
-
"
|
|
74298
|
-
"
|
|
74299
|
-
"
|
|
74300
|
-
|
|
74301
|
-
|
|
74302
|
-
|
|
74303
|
-
|
|
74304
|
-
|
|
74305
|
-
|
|
74306
|
-
|
|
74307
|
-
|
|
74308
|
-
|
|
74309
|
-
|
|
74318
|
+
"spacing": 6,
|
|
74319
|
+
"alignment": "leading",
|
|
74320
|
+
"children": [
|
|
74321
|
+
{
|
|
74322
|
+
"id": "",
|
|
74323
|
+
"body": {
|
|
74324
|
+
"package": "himalaya",
|
|
74325
|
+
"type": "Text",
|
|
74326
|
+
"props": {
|
|
74327
|
+
"text": "Body",
|
|
74328
|
+
"style": "bodyEmphasis"
|
|
74329
|
+
}
|
|
74330
|
+
}
|
|
74331
|
+
},
|
|
74332
|
+
{
|
|
74333
|
+
"id": "post_body_editor",
|
|
74334
|
+
"body": {
|
|
74335
|
+
"package": "himalaya",
|
|
74336
|
+
"type": "RichContentEditor",
|
|
74337
|
+
"props": {
|
|
74338
|
+
"name": "body",
|
|
74339
|
+
"documentPath": "$service:himiOwnerLitePostForm.bodyJson",
|
|
74340
|
+
"placeholder": "Write your post",
|
|
74341
|
+
"uploadService": "himiOwnerLitePostFormUploads",
|
|
74342
|
+
"onChange": {
|
|
74343
|
+
"actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
|
|
74344
|
+
},
|
|
74345
|
+
"minHeight": 360,
|
|
74346
|
+
"fallback": {
|
|
74347
|
+
"id": "post_form.body_unavailable",
|
|
74348
|
+
"body": {
|
|
74349
|
+
"package": "himalaya",
|
|
74350
|
+
"type": "VStack",
|
|
74351
|
+
"props": {
|
|
74352
|
+
"spacing": 4,
|
|
74353
|
+
"alignment": "leading",
|
|
74354
|
+
"children": [
|
|
74355
|
+
{
|
|
74356
|
+
"id": "",
|
|
74357
|
+
"body": {
|
|
74358
|
+
"package": "himalaya",
|
|
74359
|
+
"type": "Text",
|
|
74360
|
+
"props": {
|
|
74361
|
+
"text": "Editor unavailable",
|
|
74362
|
+
"style": "title3"
|
|
74363
|
+
}
|
|
74364
|
+
}
|
|
74365
|
+
},
|
|
74366
|
+
{
|
|
74367
|
+
"id": "",
|
|
74368
|
+
"body": {
|
|
74369
|
+
"package": "himalaya",
|
|
74370
|
+
"type": "Text",
|
|
74371
|
+
"props": {
|
|
74372
|
+
"text": "The post body can’t be edited here right now. The title and details still save, and the body stays as it is.",
|
|
74373
|
+
"style": "footnote",
|
|
74374
|
+
"color": "textSecondary"
|
|
74375
|
+
}
|
|
74376
|
+
}
|
|
74377
|
+
}
|
|
74378
|
+
]
|
|
74379
|
+
}
|
|
74380
|
+
}
|
|
74381
|
+
}
|
|
74382
|
+
}
|
|
74383
|
+
},
|
|
74384
|
+
"modifiers": {
|
|
74385
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.bodyPending"
|
|
74386
|
+
}
|
|
74310
74387
|
}
|
|
74311
|
-
|
|
74388
|
+
]
|
|
74312
74389
|
}
|
|
74313
74390
|
}
|
|
74314
74391
|
}
|
|
@@ -74352,6 +74429,117 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
74352
74429
|
"modifiers": {
|
|
74353
74430
|
"hiddenPath": "$service:himiOwnerLitePostForm.hideSavedLink"
|
|
74354
74431
|
}
|
|
74432
|
+
},
|
|
74433
|
+
{
|
|
74434
|
+
"id": "post_form.details_sheet",
|
|
74435
|
+
"body": {
|
|
74436
|
+
"package": "himalaya",
|
|
74437
|
+
"type": "BottomSheet",
|
|
74438
|
+
"props": {
|
|
74439
|
+
"presentedPath": "$service:himiOwnerLitePostForm.detailsOpen",
|
|
74440
|
+
"dismissible": true,
|
|
74441
|
+
"showGrabber": true,
|
|
74442
|
+
"onDismiss": {
|
|
74443
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsClose"
|
|
74444
|
+
},
|
|
74445
|
+
"content": {
|
|
74446
|
+
"id": "post_form.details_body",
|
|
74447
|
+
"body": {
|
|
74448
|
+
"package": "himalaya",
|
|
74449
|
+
"type": "VStack",
|
|
74450
|
+
"props": {
|
|
74451
|
+
"spacing": 12,
|
|
74452
|
+
"alignment": "leading",
|
|
74453
|
+
"children": [
|
|
74454
|
+
{
|
|
74455
|
+
"id": "",
|
|
74456
|
+
"body": {
|
|
74457
|
+
"package": "himalaya",
|
|
74458
|
+
"type": "Text",
|
|
74459
|
+
"props": {
|
|
74460
|
+
"text": "Post details",
|
|
74461
|
+
"style": "title3"
|
|
74462
|
+
}
|
|
74463
|
+
}
|
|
74464
|
+
},
|
|
74465
|
+
{
|
|
74466
|
+
"id": "",
|
|
74467
|
+
"body": {
|
|
74468
|
+
"package": "himalaya",
|
|
74469
|
+
"type": "Text",
|
|
74470
|
+
"props": {
|
|
74471
|
+
"text": "Excerpt",
|
|
74472
|
+
"style": "bodyEmphasis"
|
|
74473
|
+
}
|
|
74474
|
+
}
|
|
74475
|
+
},
|
|
74476
|
+
{
|
|
74477
|
+
"id": "post_form.excerpt",
|
|
74478
|
+
"body": {
|
|
74479
|
+
"package": "himalaya",
|
|
74480
|
+
"type": "TextField",
|
|
74481
|
+
"props": {
|
|
74482
|
+
"placeholder": "Optional summary",
|
|
74483
|
+
"valuePath": "$service:himiOwnerLitePostForm.excerpt",
|
|
74484
|
+
"multilineMaxLines": 3,
|
|
74485
|
+
"autoCapitalization": "sentences",
|
|
74486
|
+
"onChange": {
|
|
74487
|
+
"actionId": "tier5.himiOwnerLitePostForm.setExcerpt"
|
|
74488
|
+
}
|
|
74489
|
+
}
|
|
74490
|
+
}
|
|
74491
|
+
},
|
|
74492
|
+
{
|
|
74493
|
+
"id": "",
|
|
74494
|
+
"body": {
|
|
74495
|
+
"package": "himalaya",
|
|
74496
|
+
"type": "Text",
|
|
74497
|
+
"props": {
|
|
74498
|
+
"text": "Cover image URL",
|
|
74499
|
+
"style": "bodyEmphasis"
|
|
74500
|
+
}
|
|
74501
|
+
}
|
|
74502
|
+
},
|
|
74503
|
+
{
|
|
74504
|
+
"id": "post_form.coverUrl",
|
|
74505
|
+
"body": {
|
|
74506
|
+
"package": "himalaya",
|
|
74507
|
+
"type": "TextField",
|
|
74508
|
+
"props": {
|
|
74509
|
+
"placeholder": "https://…",
|
|
74510
|
+
"valuePath": "$service:himiOwnerLitePostForm.coverUrl",
|
|
74511
|
+
"keyboard": "url",
|
|
74512
|
+
"autoCapitalization": "none",
|
|
74513
|
+
"onChange": {
|
|
74514
|
+
"actionId": "tier5.himiOwnerLitePostForm.setCover"
|
|
74515
|
+
}
|
|
74516
|
+
}
|
|
74517
|
+
}
|
|
74518
|
+
},
|
|
74519
|
+
{
|
|
74520
|
+
"id": "",
|
|
74521
|
+
"body": {
|
|
74522
|
+
"package": "himalaya",
|
|
74523
|
+
"type": "Image",
|
|
74524
|
+
"props": {
|
|
74525
|
+
"url": "$service:himiOwnerLitePostForm.coverPreview",
|
|
74526
|
+
"fillWidth": true,
|
|
74527
|
+
"height": 160,
|
|
74528
|
+
"contentMode": "fit",
|
|
74529
|
+
"contentDescription": "Cover image preview"
|
|
74530
|
+
}
|
|
74531
|
+
},
|
|
74532
|
+
"modifiers": {
|
|
74533
|
+
"cornerRadius": 8,
|
|
74534
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
74535
|
+
}
|
|
74536
|
+
}
|
|
74537
|
+
]
|
|
74538
|
+
}
|
|
74539
|
+
}
|
|
74540
|
+
}
|
|
74541
|
+
}
|
|
74542
|
+
}
|
|
74355
74543
|
}
|
|
74356
74544
|
]
|
|
74357
74545
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copy-as-configuration for WORKER-emitted strings (docs
|
|
1
|
+
// Copy-as-configuration for WORKER-emitted strings (`himi docs designing-himi-screens`,
|
|
2
2
|
// §"Copy is configuration"): a worker never hardcodes user-facing copy — the
|
|
3
3
|
// descriptor bakes the provisioned copy-pack overrides relevant to this worker
|
|
4
4
|
// into its onAppear action params as a `copy` JSON object (key → override
|