@wix/himalaya-cli 0.1159.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 +3 -0
- package/package.json +2 -2
- package/templates/beauty-salon-owner/dev/index.ts +382 -194
- 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/community-club-owner/dev/index.ts +382 -194
- 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-owner/dev/index.ts +382 -194
- 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-owner/dev/index.ts +382 -194
- 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/nonprofit-cause-owner/dev/index.ts +382 -194
- 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/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-owner/dev/index.ts +382 -194
- 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-owner/dev/index.ts +382 -194
- 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-owner/dev/index.ts +382 -194
- 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-owner/dev/index.ts +382 -194
- 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-owner/dev/index.ts +382 -194
- 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
|
@@ -74265,50 +74265,18 @@ const SCREENS = runtimeSetting({
|
|
|
74265
74265
|
}
|
|
74266
74266
|
},
|
|
74267
74267
|
{
|
|
74268
|
-
"id": "post_form.
|
|
74268
|
+
"id": "post_form.details",
|
|
74269
74269
|
"body": {
|
|
74270
74270
|
"package": "himalaya",
|
|
74271
|
-
"type": "
|
|
74272
|
-
"props": {
|
|
74273
|
-
"text": "$service:himiOwnerLitePostForm.bodyNote",
|
|
74274
|
-
"style": "footnote",
|
|
74275
|
-
"color": "textSecondary",
|
|
74276
|
-
"collapseWhenEmpty": true
|
|
74277
|
-
}
|
|
74278
|
-
}
|
|
74279
|
-
},
|
|
74280
|
-
{
|
|
74281
|
-
"id": "post_form.body_preview",
|
|
74282
|
-
"body": {
|
|
74283
|
-
"package": "himalaya",
|
|
74284
|
-
"type": "Text",
|
|
74285
|
-
"props": {
|
|
74286
|
-
"text": "$service:himiOwnerLitePostForm.body",
|
|
74287
|
-
"style": "body",
|
|
74288
|
-
"maxLines": 8,
|
|
74289
|
-
"collapseWhenEmpty": true
|
|
74290
|
-
}
|
|
74291
|
-
},
|
|
74292
|
-
"modifiers": {
|
|
74293
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyEditable"
|
|
74294
|
-
}
|
|
74295
|
-
},
|
|
74296
|
-
{
|
|
74297
|
-
"id": "",
|
|
74298
|
-
"body": {
|
|
74299
|
-
"package": "himalaya",
|
|
74300
|
-
"type": "Image",
|
|
74271
|
+
"type": "Button",
|
|
74301
74272
|
"props": {
|
|
74302
|
-
"
|
|
74303
|
-
"
|
|
74304
|
-
"
|
|
74305
|
-
"
|
|
74306
|
-
|
|
74273
|
+
"title": "Post details",
|
|
74274
|
+
"style": "secondary",
|
|
74275
|
+
"fullWidth": true,
|
|
74276
|
+
"action": {
|
|
74277
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsOpen"
|
|
74278
|
+
}
|
|
74307
74279
|
}
|
|
74308
|
-
},
|
|
74309
|
-
"modifiers": {
|
|
74310
|
-
"cornerRadius": 8,
|
|
74311
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
74312
74280
|
}
|
|
74313
74281
|
},
|
|
74314
74282
|
{
|
|
@@ -74339,67 +74307,82 @@ const SCREENS = runtimeSetting({
|
|
|
74339
74307
|
}
|
|
74340
74308
|
},
|
|
74341
74309
|
{
|
|
74342
|
-
"id": "post_form.
|
|
74343
|
-
"body": {
|
|
74344
|
-
"package": "himalaya",
|
|
74345
|
-
"type": "FormField",
|
|
74346
|
-
"props": {
|
|
74347
|
-
"id": "excerpt",
|
|
74348
|
-
"label": "Excerpt",
|
|
74349
|
-
"kind": "text",
|
|
74350
|
-
"text": {
|
|
74351
|
-
"value": "$service:himiOwnerLitePostForm.excerpt",
|
|
74352
|
-
"placeholder": "Optional summary",
|
|
74353
|
-
"keyboard": "default",
|
|
74354
|
-
"autoCapitalization": "sentences",
|
|
74355
|
-
"multilineMaxLines": 3
|
|
74356
|
-
}
|
|
74357
|
-
}
|
|
74358
|
-
}
|
|
74359
|
-
},
|
|
74360
|
-
{
|
|
74361
|
-
"id": "post_form.body",
|
|
74362
|
-
"body": {
|
|
74363
|
-
"package": "himalaya",
|
|
74364
|
-
"type": "FormField",
|
|
74365
|
-
"props": {
|
|
74366
|
-
"id": "body",
|
|
74367
|
-
"label": "Body",
|
|
74368
|
-
"kind": "text",
|
|
74369
|
-
"text": {
|
|
74370
|
-
"value": "$service:himiOwnerLitePostForm.body",
|
|
74371
|
-
"placeholder": "Write your post",
|
|
74372
|
-
"keyboard": "default",
|
|
74373
|
-
"autoCapitalization": "sentences",
|
|
74374
|
-
"multilineMaxLines": 6
|
|
74375
|
-
}
|
|
74376
|
-
}
|
|
74377
|
-
},
|
|
74378
|
-
"modifiers": {
|
|
74379
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyProtected"
|
|
74380
|
-
}
|
|
74381
|
-
},
|
|
74382
|
-
{
|
|
74383
|
-
"id": "post_form.coverUrl",
|
|
74310
|
+
"id": "post_form.body_slot",
|
|
74384
74311
|
"body": {
|
|
74385
74312
|
"package": "himalaya",
|
|
74386
|
-
"type": "
|
|
74313
|
+
"type": "VStack",
|
|
74387
74314
|
"props": {
|
|
74388
|
-
"
|
|
74389
|
-
"
|
|
74390
|
-
"
|
|
74391
|
-
|
|
74392
|
-
|
|
74393
|
-
|
|
74394
|
-
|
|
74395
|
-
|
|
74396
|
-
|
|
74397
|
-
|
|
74398
|
-
|
|
74399
|
-
|
|
74400
|
-
|
|
74315
|
+
"spacing": 6,
|
|
74316
|
+
"alignment": "leading",
|
|
74317
|
+
"children": [
|
|
74318
|
+
{
|
|
74319
|
+
"id": "",
|
|
74320
|
+
"body": {
|
|
74321
|
+
"package": "himalaya",
|
|
74322
|
+
"type": "Text",
|
|
74323
|
+
"props": {
|
|
74324
|
+
"text": "Body",
|
|
74325
|
+
"style": "bodyEmphasis"
|
|
74326
|
+
}
|
|
74327
|
+
}
|
|
74328
|
+
},
|
|
74329
|
+
{
|
|
74330
|
+
"id": "post_body_editor",
|
|
74331
|
+
"body": {
|
|
74332
|
+
"package": "himalaya",
|
|
74333
|
+
"type": "RichContentEditor",
|
|
74334
|
+
"props": {
|
|
74335
|
+
"name": "body",
|
|
74336
|
+
"documentPath": "$service:himiOwnerLitePostForm.bodyJson",
|
|
74337
|
+
"placeholder": "Write your post",
|
|
74338
|
+
"uploadService": "himiOwnerLitePostFormUploads",
|
|
74339
|
+
"onChange": {
|
|
74340
|
+
"actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
|
|
74341
|
+
},
|
|
74342
|
+
"minHeight": 360,
|
|
74343
|
+
"fallback": {
|
|
74344
|
+
"id": "post_form.body_unavailable",
|
|
74345
|
+
"body": {
|
|
74346
|
+
"package": "himalaya",
|
|
74347
|
+
"type": "VStack",
|
|
74348
|
+
"props": {
|
|
74349
|
+
"spacing": 4,
|
|
74350
|
+
"alignment": "leading",
|
|
74351
|
+
"children": [
|
|
74352
|
+
{
|
|
74353
|
+
"id": "",
|
|
74354
|
+
"body": {
|
|
74355
|
+
"package": "himalaya",
|
|
74356
|
+
"type": "Text",
|
|
74357
|
+
"props": {
|
|
74358
|
+
"text": "Editor unavailable",
|
|
74359
|
+
"style": "title3"
|
|
74360
|
+
}
|
|
74361
|
+
}
|
|
74362
|
+
},
|
|
74363
|
+
{
|
|
74364
|
+
"id": "",
|
|
74365
|
+
"body": {
|
|
74366
|
+
"package": "himalaya",
|
|
74367
|
+
"type": "Text",
|
|
74368
|
+
"props": {
|
|
74369
|
+
"text": "The post body can’t be edited here right now. The title and details still save, and the body stays as it is.",
|
|
74370
|
+
"style": "footnote",
|
|
74371
|
+
"color": "textSecondary"
|
|
74372
|
+
}
|
|
74373
|
+
}
|
|
74374
|
+
}
|
|
74375
|
+
]
|
|
74376
|
+
}
|
|
74377
|
+
}
|
|
74378
|
+
}
|
|
74379
|
+
}
|
|
74380
|
+
},
|
|
74381
|
+
"modifiers": {
|
|
74382
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.bodyPending"
|
|
74383
|
+
}
|
|
74401
74384
|
}
|
|
74402
|
-
|
|
74385
|
+
]
|
|
74403
74386
|
}
|
|
74404
74387
|
}
|
|
74405
74388
|
}
|
|
@@ -74443,6 +74426,117 @@ const SCREENS = runtimeSetting({
|
|
|
74443
74426
|
"modifiers": {
|
|
74444
74427
|
"hiddenPath": "$service:himiOwnerLitePostForm.hideSavedLink"
|
|
74445
74428
|
}
|
|
74429
|
+
},
|
|
74430
|
+
{
|
|
74431
|
+
"id": "post_form.details_sheet",
|
|
74432
|
+
"body": {
|
|
74433
|
+
"package": "himalaya",
|
|
74434
|
+
"type": "BottomSheet",
|
|
74435
|
+
"props": {
|
|
74436
|
+
"presentedPath": "$service:himiOwnerLitePostForm.detailsOpen",
|
|
74437
|
+
"dismissible": true,
|
|
74438
|
+
"showGrabber": true,
|
|
74439
|
+
"onDismiss": {
|
|
74440
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsClose"
|
|
74441
|
+
},
|
|
74442
|
+
"content": {
|
|
74443
|
+
"id": "post_form.details_body",
|
|
74444
|
+
"body": {
|
|
74445
|
+
"package": "himalaya",
|
|
74446
|
+
"type": "VStack",
|
|
74447
|
+
"props": {
|
|
74448
|
+
"spacing": 12,
|
|
74449
|
+
"alignment": "leading",
|
|
74450
|
+
"children": [
|
|
74451
|
+
{
|
|
74452
|
+
"id": "",
|
|
74453
|
+
"body": {
|
|
74454
|
+
"package": "himalaya",
|
|
74455
|
+
"type": "Text",
|
|
74456
|
+
"props": {
|
|
74457
|
+
"text": "Post details",
|
|
74458
|
+
"style": "title3"
|
|
74459
|
+
}
|
|
74460
|
+
}
|
|
74461
|
+
},
|
|
74462
|
+
{
|
|
74463
|
+
"id": "",
|
|
74464
|
+
"body": {
|
|
74465
|
+
"package": "himalaya",
|
|
74466
|
+
"type": "Text",
|
|
74467
|
+
"props": {
|
|
74468
|
+
"text": "Excerpt",
|
|
74469
|
+
"style": "bodyEmphasis"
|
|
74470
|
+
}
|
|
74471
|
+
}
|
|
74472
|
+
},
|
|
74473
|
+
{
|
|
74474
|
+
"id": "post_form.excerpt",
|
|
74475
|
+
"body": {
|
|
74476
|
+
"package": "himalaya",
|
|
74477
|
+
"type": "TextField",
|
|
74478
|
+
"props": {
|
|
74479
|
+
"placeholder": "Optional summary",
|
|
74480
|
+
"valuePath": "$service:himiOwnerLitePostForm.excerpt",
|
|
74481
|
+
"multilineMaxLines": 3,
|
|
74482
|
+
"autoCapitalization": "sentences",
|
|
74483
|
+
"onChange": {
|
|
74484
|
+
"actionId": "tier5.himiOwnerLitePostForm.setExcerpt"
|
|
74485
|
+
}
|
|
74486
|
+
}
|
|
74487
|
+
}
|
|
74488
|
+
},
|
|
74489
|
+
{
|
|
74490
|
+
"id": "",
|
|
74491
|
+
"body": {
|
|
74492
|
+
"package": "himalaya",
|
|
74493
|
+
"type": "Text",
|
|
74494
|
+
"props": {
|
|
74495
|
+
"text": "Cover image URL",
|
|
74496
|
+
"style": "bodyEmphasis"
|
|
74497
|
+
}
|
|
74498
|
+
}
|
|
74499
|
+
},
|
|
74500
|
+
{
|
|
74501
|
+
"id": "post_form.coverUrl",
|
|
74502
|
+
"body": {
|
|
74503
|
+
"package": "himalaya",
|
|
74504
|
+
"type": "TextField",
|
|
74505
|
+
"props": {
|
|
74506
|
+
"placeholder": "https://…",
|
|
74507
|
+
"valuePath": "$service:himiOwnerLitePostForm.coverUrl",
|
|
74508
|
+
"keyboard": "url",
|
|
74509
|
+
"autoCapitalization": "none",
|
|
74510
|
+
"onChange": {
|
|
74511
|
+
"actionId": "tier5.himiOwnerLitePostForm.setCover"
|
|
74512
|
+
}
|
|
74513
|
+
}
|
|
74514
|
+
}
|
|
74515
|
+
},
|
|
74516
|
+
{
|
|
74517
|
+
"id": "",
|
|
74518
|
+
"body": {
|
|
74519
|
+
"package": "himalaya",
|
|
74520
|
+
"type": "Image",
|
|
74521
|
+
"props": {
|
|
74522
|
+
"url": "$service:himiOwnerLitePostForm.coverPreview",
|
|
74523
|
+
"fillWidth": true,
|
|
74524
|
+
"height": 160,
|
|
74525
|
+
"contentMode": "fit",
|
|
74526
|
+
"contentDescription": "Cover image preview"
|
|
74527
|
+
}
|
|
74528
|
+
},
|
|
74529
|
+
"modifiers": {
|
|
74530
|
+
"cornerRadius": 8,
|
|
74531
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
74532
|
+
}
|
|
74533
|
+
}
|
|
74534
|
+
]
|
|
74535
|
+
}
|
|
74536
|
+
}
|
|
74537
|
+
}
|
|
74538
|
+
}
|
|
74539
|
+
}
|
|
74446
74540
|
}
|
|
74447
74541
|
]
|
|
74448
74542
|
}
|
|
@@ -75156,50 +75250,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
75156
75250
|
}
|
|
75157
75251
|
},
|
|
75158
75252
|
{
|
|
75159
|
-
"id": "post_form.
|
|
75253
|
+
"id": "post_form.details",
|
|
75160
75254
|
"body": {
|
|
75161
75255
|
"package": "himalaya",
|
|
75162
|
-
"type": "
|
|
75163
|
-
"props": {
|
|
75164
|
-
"text": "$service:himiOwnerLitePostForm.bodyNote",
|
|
75165
|
-
"style": "footnote",
|
|
75166
|
-
"color": "textSecondary",
|
|
75167
|
-
"collapseWhenEmpty": true
|
|
75168
|
-
}
|
|
75169
|
-
}
|
|
75170
|
-
},
|
|
75171
|
-
{
|
|
75172
|
-
"id": "post_form.body_preview",
|
|
75173
|
-
"body": {
|
|
75174
|
-
"package": "himalaya",
|
|
75175
|
-
"type": "Text",
|
|
75176
|
-
"props": {
|
|
75177
|
-
"text": "$service:himiOwnerLitePostForm.body",
|
|
75178
|
-
"style": "body",
|
|
75179
|
-
"maxLines": 8,
|
|
75180
|
-
"collapseWhenEmpty": true
|
|
75181
|
-
}
|
|
75182
|
-
},
|
|
75183
|
-
"modifiers": {
|
|
75184
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyEditable"
|
|
75185
|
-
}
|
|
75186
|
-
},
|
|
75187
|
-
{
|
|
75188
|
-
"id": "",
|
|
75189
|
-
"body": {
|
|
75190
|
-
"package": "himalaya",
|
|
75191
|
-
"type": "Image",
|
|
75256
|
+
"type": "Button",
|
|
75192
75257
|
"props": {
|
|
75193
|
-
"
|
|
75194
|
-
"
|
|
75195
|
-
"
|
|
75196
|
-
"
|
|
75197
|
-
|
|
75258
|
+
"title": "Post details",
|
|
75259
|
+
"style": "secondary",
|
|
75260
|
+
"fullWidth": true,
|
|
75261
|
+
"action": {
|
|
75262
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsOpen"
|
|
75263
|
+
}
|
|
75198
75264
|
}
|
|
75199
|
-
},
|
|
75200
|
-
"modifiers": {
|
|
75201
|
-
"cornerRadius": 8,
|
|
75202
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
75203
75265
|
}
|
|
75204
75266
|
},
|
|
75205
75267
|
{
|
|
@@ -75230,67 +75292,82 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
75230
75292
|
}
|
|
75231
75293
|
},
|
|
75232
75294
|
{
|
|
75233
|
-
"id": "post_form.
|
|
75234
|
-
"body": {
|
|
75235
|
-
"package": "himalaya",
|
|
75236
|
-
"type": "FormField",
|
|
75237
|
-
"props": {
|
|
75238
|
-
"id": "excerpt",
|
|
75239
|
-
"label": "Excerpt",
|
|
75240
|
-
"kind": "text",
|
|
75241
|
-
"text": {
|
|
75242
|
-
"value": "$service:himiOwnerLitePostForm.excerpt",
|
|
75243
|
-
"placeholder": "Optional summary",
|
|
75244
|
-
"keyboard": "default",
|
|
75245
|
-
"autoCapitalization": "sentences",
|
|
75246
|
-
"multilineMaxLines": 3
|
|
75247
|
-
}
|
|
75248
|
-
}
|
|
75249
|
-
}
|
|
75250
|
-
},
|
|
75251
|
-
{
|
|
75252
|
-
"id": "post_form.body",
|
|
75253
|
-
"body": {
|
|
75254
|
-
"package": "himalaya",
|
|
75255
|
-
"type": "FormField",
|
|
75256
|
-
"props": {
|
|
75257
|
-
"id": "body",
|
|
75258
|
-
"label": "Body",
|
|
75259
|
-
"kind": "text",
|
|
75260
|
-
"text": {
|
|
75261
|
-
"value": "$service:himiOwnerLitePostForm.body",
|
|
75262
|
-
"placeholder": "Write your post",
|
|
75263
|
-
"keyboard": "default",
|
|
75264
|
-
"autoCapitalization": "sentences",
|
|
75265
|
-
"multilineMaxLines": 6
|
|
75266
|
-
}
|
|
75267
|
-
}
|
|
75268
|
-
},
|
|
75269
|
-
"modifiers": {
|
|
75270
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyProtected"
|
|
75271
|
-
}
|
|
75272
|
-
},
|
|
75273
|
-
{
|
|
75274
|
-
"id": "post_form.coverUrl",
|
|
75295
|
+
"id": "post_form.body_slot",
|
|
75275
75296
|
"body": {
|
|
75276
75297
|
"package": "himalaya",
|
|
75277
|
-
"type": "
|
|
75298
|
+
"type": "VStack",
|
|
75278
75299
|
"props": {
|
|
75279
|
-
"
|
|
75280
|
-
"
|
|
75281
|
-
"
|
|
75282
|
-
|
|
75283
|
-
|
|
75284
|
-
|
|
75285
|
-
|
|
75286
|
-
|
|
75287
|
-
|
|
75288
|
-
|
|
75289
|
-
|
|
75290
|
-
|
|
75291
|
-
|
|
75300
|
+
"spacing": 6,
|
|
75301
|
+
"alignment": "leading",
|
|
75302
|
+
"children": [
|
|
75303
|
+
{
|
|
75304
|
+
"id": "",
|
|
75305
|
+
"body": {
|
|
75306
|
+
"package": "himalaya",
|
|
75307
|
+
"type": "Text",
|
|
75308
|
+
"props": {
|
|
75309
|
+
"text": "Body",
|
|
75310
|
+
"style": "bodyEmphasis"
|
|
75311
|
+
}
|
|
75312
|
+
}
|
|
75313
|
+
},
|
|
75314
|
+
{
|
|
75315
|
+
"id": "post_body_editor",
|
|
75316
|
+
"body": {
|
|
75317
|
+
"package": "himalaya",
|
|
75318
|
+
"type": "RichContentEditor",
|
|
75319
|
+
"props": {
|
|
75320
|
+
"name": "body",
|
|
75321
|
+
"documentPath": "$service:himiOwnerLitePostForm.bodyJson",
|
|
75322
|
+
"placeholder": "Write your post",
|
|
75323
|
+
"uploadService": "himiOwnerLitePostFormUploads",
|
|
75324
|
+
"onChange": {
|
|
75325
|
+
"actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
|
|
75326
|
+
},
|
|
75327
|
+
"minHeight": 360,
|
|
75328
|
+
"fallback": {
|
|
75329
|
+
"id": "post_form.body_unavailable",
|
|
75330
|
+
"body": {
|
|
75331
|
+
"package": "himalaya",
|
|
75332
|
+
"type": "VStack",
|
|
75333
|
+
"props": {
|
|
75334
|
+
"spacing": 4,
|
|
75335
|
+
"alignment": "leading",
|
|
75336
|
+
"children": [
|
|
75337
|
+
{
|
|
75338
|
+
"id": "",
|
|
75339
|
+
"body": {
|
|
75340
|
+
"package": "himalaya",
|
|
75341
|
+
"type": "Text",
|
|
75342
|
+
"props": {
|
|
75343
|
+
"text": "Editor unavailable",
|
|
75344
|
+
"style": "title3"
|
|
75345
|
+
}
|
|
75346
|
+
}
|
|
75347
|
+
},
|
|
75348
|
+
{
|
|
75349
|
+
"id": "",
|
|
75350
|
+
"body": {
|
|
75351
|
+
"package": "himalaya",
|
|
75352
|
+
"type": "Text",
|
|
75353
|
+
"props": {
|
|
75354
|
+
"text": "The post body can’t be edited here right now. The title and details still save, and the body stays as it is.",
|
|
75355
|
+
"style": "footnote",
|
|
75356
|
+
"color": "textSecondary"
|
|
75357
|
+
}
|
|
75358
|
+
}
|
|
75359
|
+
}
|
|
75360
|
+
]
|
|
75361
|
+
}
|
|
75362
|
+
}
|
|
75363
|
+
}
|
|
75364
|
+
}
|
|
75365
|
+
},
|
|
75366
|
+
"modifiers": {
|
|
75367
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.bodyPending"
|
|
75368
|
+
}
|
|
75292
75369
|
}
|
|
75293
|
-
|
|
75370
|
+
]
|
|
75294
75371
|
}
|
|
75295
75372
|
}
|
|
75296
75373
|
}
|
|
@@ -75334,6 +75411,117 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
75334
75411
|
"modifiers": {
|
|
75335
75412
|
"hiddenPath": "$service:himiOwnerLitePostForm.hideSavedLink"
|
|
75336
75413
|
}
|
|
75414
|
+
},
|
|
75415
|
+
{
|
|
75416
|
+
"id": "post_form.details_sheet",
|
|
75417
|
+
"body": {
|
|
75418
|
+
"package": "himalaya",
|
|
75419
|
+
"type": "BottomSheet",
|
|
75420
|
+
"props": {
|
|
75421
|
+
"presentedPath": "$service:himiOwnerLitePostForm.detailsOpen",
|
|
75422
|
+
"dismissible": true,
|
|
75423
|
+
"showGrabber": true,
|
|
75424
|
+
"onDismiss": {
|
|
75425
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsClose"
|
|
75426
|
+
},
|
|
75427
|
+
"content": {
|
|
75428
|
+
"id": "post_form.details_body",
|
|
75429
|
+
"body": {
|
|
75430
|
+
"package": "himalaya",
|
|
75431
|
+
"type": "VStack",
|
|
75432
|
+
"props": {
|
|
75433
|
+
"spacing": 12,
|
|
75434
|
+
"alignment": "leading",
|
|
75435
|
+
"children": [
|
|
75436
|
+
{
|
|
75437
|
+
"id": "",
|
|
75438
|
+
"body": {
|
|
75439
|
+
"package": "himalaya",
|
|
75440
|
+
"type": "Text",
|
|
75441
|
+
"props": {
|
|
75442
|
+
"text": "Post details",
|
|
75443
|
+
"style": "title3"
|
|
75444
|
+
}
|
|
75445
|
+
}
|
|
75446
|
+
},
|
|
75447
|
+
{
|
|
75448
|
+
"id": "",
|
|
75449
|
+
"body": {
|
|
75450
|
+
"package": "himalaya",
|
|
75451
|
+
"type": "Text",
|
|
75452
|
+
"props": {
|
|
75453
|
+
"text": "Excerpt",
|
|
75454
|
+
"style": "bodyEmphasis"
|
|
75455
|
+
}
|
|
75456
|
+
}
|
|
75457
|
+
},
|
|
75458
|
+
{
|
|
75459
|
+
"id": "post_form.excerpt",
|
|
75460
|
+
"body": {
|
|
75461
|
+
"package": "himalaya",
|
|
75462
|
+
"type": "TextField",
|
|
75463
|
+
"props": {
|
|
75464
|
+
"placeholder": "Optional summary",
|
|
75465
|
+
"valuePath": "$service:himiOwnerLitePostForm.excerpt",
|
|
75466
|
+
"multilineMaxLines": 3,
|
|
75467
|
+
"autoCapitalization": "sentences",
|
|
75468
|
+
"onChange": {
|
|
75469
|
+
"actionId": "tier5.himiOwnerLitePostForm.setExcerpt"
|
|
75470
|
+
}
|
|
75471
|
+
}
|
|
75472
|
+
}
|
|
75473
|
+
},
|
|
75474
|
+
{
|
|
75475
|
+
"id": "",
|
|
75476
|
+
"body": {
|
|
75477
|
+
"package": "himalaya",
|
|
75478
|
+
"type": "Text",
|
|
75479
|
+
"props": {
|
|
75480
|
+
"text": "Cover image URL",
|
|
75481
|
+
"style": "bodyEmphasis"
|
|
75482
|
+
}
|
|
75483
|
+
}
|
|
75484
|
+
},
|
|
75485
|
+
{
|
|
75486
|
+
"id": "post_form.coverUrl",
|
|
75487
|
+
"body": {
|
|
75488
|
+
"package": "himalaya",
|
|
75489
|
+
"type": "TextField",
|
|
75490
|
+
"props": {
|
|
75491
|
+
"placeholder": "https://…",
|
|
75492
|
+
"valuePath": "$service:himiOwnerLitePostForm.coverUrl",
|
|
75493
|
+
"keyboard": "url",
|
|
75494
|
+
"autoCapitalization": "none",
|
|
75495
|
+
"onChange": {
|
|
75496
|
+
"actionId": "tier5.himiOwnerLitePostForm.setCover"
|
|
75497
|
+
}
|
|
75498
|
+
}
|
|
75499
|
+
}
|
|
75500
|
+
},
|
|
75501
|
+
{
|
|
75502
|
+
"id": "",
|
|
75503
|
+
"body": {
|
|
75504
|
+
"package": "himalaya",
|
|
75505
|
+
"type": "Image",
|
|
75506
|
+
"props": {
|
|
75507
|
+
"url": "$service:himiOwnerLitePostForm.coverPreview",
|
|
75508
|
+
"fillWidth": true,
|
|
75509
|
+
"height": 160,
|
|
75510
|
+
"contentMode": "fit",
|
|
75511
|
+
"contentDescription": "Cover image preview"
|
|
75512
|
+
}
|
|
75513
|
+
},
|
|
75514
|
+
"modifiers": {
|
|
75515
|
+
"cornerRadius": 8,
|
|
75516
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
75517
|
+
}
|
|
75518
|
+
}
|
|
75519
|
+
]
|
|
75520
|
+
}
|
|
75521
|
+
}
|
|
75522
|
+
}
|
|
75523
|
+
}
|
|
75524
|
+
}
|
|
75337
75525
|
}
|
|
75338
75526
|
]
|
|
75339
75527
|
}
|