@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
|
@@ -78421,50 +78421,18 @@ const SCREENS = runtimeSetting({
|
|
|
78421
78421
|
}
|
|
78422
78422
|
},
|
|
78423
78423
|
{
|
|
78424
|
-
"id": "post_form.
|
|
78424
|
+
"id": "post_form.details",
|
|
78425
78425
|
"body": {
|
|
78426
78426
|
"package": "himalaya",
|
|
78427
|
-
"type": "
|
|
78428
|
-
"props": {
|
|
78429
|
-
"text": "$service:himiOwnerLitePostForm.bodyNote",
|
|
78430
|
-
"style": "footnote",
|
|
78431
|
-
"color": "textSecondary",
|
|
78432
|
-
"collapseWhenEmpty": true
|
|
78433
|
-
}
|
|
78434
|
-
}
|
|
78435
|
-
},
|
|
78436
|
-
{
|
|
78437
|
-
"id": "post_form.body_preview",
|
|
78438
|
-
"body": {
|
|
78439
|
-
"package": "himalaya",
|
|
78440
|
-
"type": "Text",
|
|
78441
|
-
"props": {
|
|
78442
|
-
"text": "$service:himiOwnerLitePostForm.body",
|
|
78443
|
-
"style": "body",
|
|
78444
|
-
"maxLines": 8,
|
|
78445
|
-
"collapseWhenEmpty": true
|
|
78446
|
-
}
|
|
78447
|
-
},
|
|
78448
|
-
"modifiers": {
|
|
78449
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyEditable"
|
|
78450
|
-
}
|
|
78451
|
-
},
|
|
78452
|
-
{
|
|
78453
|
-
"id": "",
|
|
78454
|
-
"body": {
|
|
78455
|
-
"package": "himalaya",
|
|
78456
|
-
"type": "Image",
|
|
78427
|
+
"type": "Button",
|
|
78457
78428
|
"props": {
|
|
78458
|
-
"
|
|
78459
|
-
"
|
|
78460
|
-
"
|
|
78461
|
-
"
|
|
78462
|
-
|
|
78429
|
+
"title": "Post details",
|
|
78430
|
+
"style": "secondary",
|
|
78431
|
+
"fullWidth": true,
|
|
78432
|
+
"action": {
|
|
78433
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsOpen"
|
|
78434
|
+
}
|
|
78463
78435
|
}
|
|
78464
|
-
},
|
|
78465
|
-
"modifiers": {
|
|
78466
|
-
"cornerRadius": 8,
|
|
78467
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
78468
78436
|
}
|
|
78469
78437
|
},
|
|
78470
78438
|
{
|
|
@@ -78495,67 +78463,82 @@ const SCREENS = runtimeSetting({
|
|
|
78495
78463
|
}
|
|
78496
78464
|
},
|
|
78497
78465
|
{
|
|
78498
|
-
"id": "post_form.
|
|
78499
|
-
"body": {
|
|
78500
|
-
"package": "himalaya",
|
|
78501
|
-
"type": "FormField",
|
|
78502
|
-
"props": {
|
|
78503
|
-
"id": "excerpt",
|
|
78504
|
-
"label": "Excerpt",
|
|
78505
|
-
"kind": "text",
|
|
78506
|
-
"text": {
|
|
78507
|
-
"value": "$service:himiOwnerLitePostForm.excerpt",
|
|
78508
|
-
"placeholder": "Optional summary",
|
|
78509
|
-
"keyboard": "default",
|
|
78510
|
-
"autoCapitalization": "sentences",
|
|
78511
|
-
"multilineMaxLines": 3
|
|
78512
|
-
}
|
|
78513
|
-
}
|
|
78514
|
-
}
|
|
78515
|
-
},
|
|
78516
|
-
{
|
|
78517
|
-
"id": "post_form.body",
|
|
78518
|
-
"body": {
|
|
78519
|
-
"package": "himalaya",
|
|
78520
|
-
"type": "FormField",
|
|
78521
|
-
"props": {
|
|
78522
|
-
"id": "body",
|
|
78523
|
-
"label": "Body",
|
|
78524
|
-
"kind": "text",
|
|
78525
|
-
"text": {
|
|
78526
|
-
"value": "$service:himiOwnerLitePostForm.body",
|
|
78527
|
-
"placeholder": "Write your post",
|
|
78528
|
-
"keyboard": "default",
|
|
78529
|
-
"autoCapitalization": "sentences",
|
|
78530
|
-
"multilineMaxLines": 6
|
|
78531
|
-
}
|
|
78532
|
-
}
|
|
78533
|
-
},
|
|
78534
|
-
"modifiers": {
|
|
78535
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyProtected"
|
|
78536
|
-
}
|
|
78537
|
-
},
|
|
78538
|
-
{
|
|
78539
|
-
"id": "post_form.coverUrl",
|
|
78466
|
+
"id": "post_form.body_slot",
|
|
78540
78467
|
"body": {
|
|
78541
78468
|
"package": "himalaya",
|
|
78542
|
-
"type": "
|
|
78469
|
+
"type": "VStack",
|
|
78543
78470
|
"props": {
|
|
78544
|
-
"
|
|
78545
|
-
"
|
|
78546
|
-
"
|
|
78547
|
-
|
|
78548
|
-
|
|
78549
|
-
|
|
78550
|
-
|
|
78551
|
-
|
|
78552
|
-
|
|
78553
|
-
|
|
78554
|
-
|
|
78555
|
-
|
|
78556
|
-
|
|
78471
|
+
"spacing": 6,
|
|
78472
|
+
"alignment": "leading",
|
|
78473
|
+
"children": [
|
|
78474
|
+
{
|
|
78475
|
+
"id": "",
|
|
78476
|
+
"body": {
|
|
78477
|
+
"package": "himalaya",
|
|
78478
|
+
"type": "Text",
|
|
78479
|
+
"props": {
|
|
78480
|
+
"text": "Body",
|
|
78481
|
+
"style": "bodyEmphasis"
|
|
78482
|
+
}
|
|
78483
|
+
}
|
|
78484
|
+
},
|
|
78485
|
+
{
|
|
78486
|
+
"id": "post_body_editor",
|
|
78487
|
+
"body": {
|
|
78488
|
+
"package": "himalaya",
|
|
78489
|
+
"type": "RichContentEditor",
|
|
78490
|
+
"props": {
|
|
78491
|
+
"name": "body",
|
|
78492
|
+
"documentPath": "$service:himiOwnerLitePostForm.bodyJson",
|
|
78493
|
+
"placeholder": "Write your post",
|
|
78494
|
+
"uploadService": "himiOwnerLitePostFormUploads",
|
|
78495
|
+
"onChange": {
|
|
78496
|
+
"actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
|
|
78497
|
+
},
|
|
78498
|
+
"minHeight": 360,
|
|
78499
|
+
"fallback": {
|
|
78500
|
+
"id": "post_form.body_unavailable",
|
|
78501
|
+
"body": {
|
|
78502
|
+
"package": "himalaya",
|
|
78503
|
+
"type": "VStack",
|
|
78504
|
+
"props": {
|
|
78505
|
+
"spacing": 4,
|
|
78506
|
+
"alignment": "leading",
|
|
78507
|
+
"children": [
|
|
78508
|
+
{
|
|
78509
|
+
"id": "",
|
|
78510
|
+
"body": {
|
|
78511
|
+
"package": "himalaya",
|
|
78512
|
+
"type": "Text",
|
|
78513
|
+
"props": {
|
|
78514
|
+
"text": "Editor unavailable",
|
|
78515
|
+
"style": "title3"
|
|
78516
|
+
}
|
|
78517
|
+
}
|
|
78518
|
+
},
|
|
78519
|
+
{
|
|
78520
|
+
"id": "",
|
|
78521
|
+
"body": {
|
|
78522
|
+
"package": "himalaya",
|
|
78523
|
+
"type": "Text",
|
|
78524
|
+
"props": {
|
|
78525
|
+
"text": "The post body can’t be edited here right now. The title and details still save, and the body stays as it is.",
|
|
78526
|
+
"style": "footnote",
|
|
78527
|
+
"color": "textSecondary"
|
|
78528
|
+
}
|
|
78529
|
+
}
|
|
78530
|
+
}
|
|
78531
|
+
]
|
|
78532
|
+
}
|
|
78533
|
+
}
|
|
78534
|
+
}
|
|
78535
|
+
}
|
|
78536
|
+
},
|
|
78537
|
+
"modifiers": {
|
|
78538
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.bodyPending"
|
|
78539
|
+
}
|
|
78557
78540
|
}
|
|
78558
|
-
|
|
78541
|
+
]
|
|
78559
78542
|
}
|
|
78560
78543
|
}
|
|
78561
78544
|
}
|
|
@@ -78599,6 +78582,117 @@ const SCREENS = runtimeSetting({
|
|
|
78599
78582
|
"modifiers": {
|
|
78600
78583
|
"hiddenPath": "$service:himiOwnerLitePostForm.hideSavedLink"
|
|
78601
78584
|
}
|
|
78585
|
+
},
|
|
78586
|
+
{
|
|
78587
|
+
"id": "post_form.details_sheet",
|
|
78588
|
+
"body": {
|
|
78589
|
+
"package": "himalaya",
|
|
78590
|
+
"type": "BottomSheet",
|
|
78591
|
+
"props": {
|
|
78592
|
+
"presentedPath": "$service:himiOwnerLitePostForm.detailsOpen",
|
|
78593
|
+
"dismissible": true,
|
|
78594
|
+
"showGrabber": true,
|
|
78595
|
+
"onDismiss": {
|
|
78596
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsClose"
|
|
78597
|
+
},
|
|
78598
|
+
"content": {
|
|
78599
|
+
"id": "post_form.details_body",
|
|
78600
|
+
"body": {
|
|
78601
|
+
"package": "himalaya",
|
|
78602
|
+
"type": "VStack",
|
|
78603
|
+
"props": {
|
|
78604
|
+
"spacing": 12,
|
|
78605
|
+
"alignment": "leading",
|
|
78606
|
+
"children": [
|
|
78607
|
+
{
|
|
78608
|
+
"id": "",
|
|
78609
|
+
"body": {
|
|
78610
|
+
"package": "himalaya",
|
|
78611
|
+
"type": "Text",
|
|
78612
|
+
"props": {
|
|
78613
|
+
"text": "Post details",
|
|
78614
|
+
"style": "title3"
|
|
78615
|
+
}
|
|
78616
|
+
}
|
|
78617
|
+
},
|
|
78618
|
+
{
|
|
78619
|
+
"id": "",
|
|
78620
|
+
"body": {
|
|
78621
|
+
"package": "himalaya",
|
|
78622
|
+
"type": "Text",
|
|
78623
|
+
"props": {
|
|
78624
|
+
"text": "Excerpt",
|
|
78625
|
+
"style": "bodyEmphasis"
|
|
78626
|
+
}
|
|
78627
|
+
}
|
|
78628
|
+
},
|
|
78629
|
+
{
|
|
78630
|
+
"id": "post_form.excerpt",
|
|
78631
|
+
"body": {
|
|
78632
|
+
"package": "himalaya",
|
|
78633
|
+
"type": "TextField",
|
|
78634
|
+
"props": {
|
|
78635
|
+
"placeholder": "Optional summary",
|
|
78636
|
+
"valuePath": "$service:himiOwnerLitePostForm.excerpt",
|
|
78637
|
+
"multilineMaxLines": 3,
|
|
78638
|
+
"autoCapitalization": "sentences",
|
|
78639
|
+
"onChange": {
|
|
78640
|
+
"actionId": "tier5.himiOwnerLitePostForm.setExcerpt"
|
|
78641
|
+
}
|
|
78642
|
+
}
|
|
78643
|
+
}
|
|
78644
|
+
},
|
|
78645
|
+
{
|
|
78646
|
+
"id": "",
|
|
78647
|
+
"body": {
|
|
78648
|
+
"package": "himalaya",
|
|
78649
|
+
"type": "Text",
|
|
78650
|
+
"props": {
|
|
78651
|
+
"text": "Cover image URL",
|
|
78652
|
+
"style": "bodyEmphasis"
|
|
78653
|
+
}
|
|
78654
|
+
}
|
|
78655
|
+
},
|
|
78656
|
+
{
|
|
78657
|
+
"id": "post_form.coverUrl",
|
|
78658
|
+
"body": {
|
|
78659
|
+
"package": "himalaya",
|
|
78660
|
+
"type": "TextField",
|
|
78661
|
+
"props": {
|
|
78662
|
+
"placeholder": "https://…",
|
|
78663
|
+
"valuePath": "$service:himiOwnerLitePostForm.coverUrl",
|
|
78664
|
+
"keyboard": "url",
|
|
78665
|
+
"autoCapitalization": "none",
|
|
78666
|
+
"onChange": {
|
|
78667
|
+
"actionId": "tier5.himiOwnerLitePostForm.setCover"
|
|
78668
|
+
}
|
|
78669
|
+
}
|
|
78670
|
+
}
|
|
78671
|
+
},
|
|
78672
|
+
{
|
|
78673
|
+
"id": "",
|
|
78674
|
+
"body": {
|
|
78675
|
+
"package": "himalaya",
|
|
78676
|
+
"type": "Image",
|
|
78677
|
+
"props": {
|
|
78678
|
+
"url": "$service:himiOwnerLitePostForm.coverPreview",
|
|
78679
|
+
"fillWidth": true,
|
|
78680
|
+
"height": 160,
|
|
78681
|
+
"contentMode": "fit",
|
|
78682
|
+
"contentDescription": "Cover image preview"
|
|
78683
|
+
}
|
|
78684
|
+
},
|
|
78685
|
+
"modifiers": {
|
|
78686
|
+
"cornerRadius": 8,
|
|
78687
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
78688
|
+
}
|
|
78689
|
+
}
|
|
78690
|
+
]
|
|
78691
|
+
}
|
|
78692
|
+
}
|
|
78693
|
+
}
|
|
78694
|
+
}
|
|
78695
|
+
}
|
|
78602
78696
|
}
|
|
78603
78697
|
]
|
|
78604
78698
|
}
|
|
@@ -79584,50 +79678,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
79584
79678
|
}
|
|
79585
79679
|
},
|
|
79586
79680
|
{
|
|
79587
|
-
"id": "post_form.
|
|
79681
|
+
"id": "post_form.details",
|
|
79588
79682
|
"body": {
|
|
79589
79683
|
"package": "himalaya",
|
|
79590
|
-
"type": "
|
|
79591
|
-
"props": {
|
|
79592
|
-
"text": "$service:himiOwnerLitePostForm.bodyNote",
|
|
79593
|
-
"style": "footnote",
|
|
79594
|
-
"color": "textSecondary",
|
|
79595
|
-
"collapseWhenEmpty": true
|
|
79596
|
-
}
|
|
79597
|
-
}
|
|
79598
|
-
},
|
|
79599
|
-
{
|
|
79600
|
-
"id": "post_form.body_preview",
|
|
79601
|
-
"body": {
|
|
79602
|
-
"package": "himalaya",
|
|
79603
|
-
"type": "Text",
|
|
79604
|
-
"props": {
|
|
79605
|
-
"text": "$service:himiOwnerLitePostForm.body",
|
|
79606
|
-
"style": "body",
|
|
79607
|
-
"maxLines": 8,
|
|
79608
|
-
"collapseWhenEmpty": true
|
|
79609
|
-
}
|
|
79610
|
-
},
|
|
79611
|
-
"modifiers": {
|
|
79612
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyEditable"
|
|
79613
|
-
}
|
|
79614
|
-
},
|
|
79615
|
-
{
|
|
79616
|
-
"id": "",
|
|
79617
|
-
"body": {
|
|
79618
|
-
"package": "himalaya",
|
|
79619
|
-
"type": "Image",
|
|
79684
|
+
"type": "Button",
|
|
79620
79685
|
"props": {
|
|
79621
|
-
"
|
|
79622
|
-
"
|
|
79623
|
-
"
|
|
79624
|
-
"
|
|
79625
|
-
|
|
79686
|
+
"title": "Post details",
|
|
79687
|
+
"style": "secondary",
|
|
79688
|
+
"fullWidth": true,
|
|
79689
|
+
"action": {
|
|
79690
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsOpen"
|
|
79691
|
+
}
|
|
79626
79692
|
}
|
|
79627
|
-
},
|
|
79628
|
-
"modifiers": {
|
|
79629
|
-
"cornerRadius": 8,
|
|
79630
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
79631
79693
|
}
|
|
79632
79694
|
},
|
|
79633
79695
|
{
|
|
@@ -79658,67 +79720,82 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
79658
79720
|
}
|
|
79659
79721
|
},
|
|
79660
79722
|
{
|
|
79661
|
-
"id": "post_form.
|
|
79662
|
-
"body": {
|
|
79663
|
-
"package": "himalaya",
|
|
79664
|
-
"type": "FormField",
|
|
79665
|
-
"props": {
|
|
79666
|
-
"id": "excerpt",
|
|
79667
|
-
"label": "Excerpt",
|
|
79668
|
-
"kind": "text",
|
|
79669
|
-
"text": {
|
|
79670
|
-
"value": "$service:himiOwnerLitePostForm.excerpt",
|
|
79671
|
-
"placeholder": "Optional summary",
|
|
79672
|
-
"keyboard": "default",
|
|
79673
|
-
"autoCapitalization": "sentences",
|
|
79674
|
-
"multilineMaxLines": 3
|
|
79675
|
-
}
|
|
79676
|
-
}
|
|
79677
|
-
}
|
|
79678
|
-
},
|
|
79679
|
-
{
|
|
79680
|
-
"id": "post_form.body",
|
|
79681
|
-
"body": {
|
|
79682
|
-
"package": "himalaya",
|
|
79683
|
-
"type": "FormField",
|
|
79684
|
-
"props": {
|
|
79685
|
-
"id": "body",
|
|
79686
|
-
"label": "Body",
|
|
79687
|
-
"kind": "text",
|
|
79688
|
-
"text": {
|
|
79689
|
-
"value": "$service:himiOwnerLitePostForm.body",
|
|
79690
|
-
"placeholder": "Write your post",
|
|
79691
|
-
"keyboard": "default",
|
|
79692
|
-
"autoCapitalization": "sentences",
|
|
79693
|
-
"multilineMaxLines": 6
|
|
79694
|
-
}
|
|
79695
|
-
}
|
|
79696
|
-
},
|
|
79697
|
-
"modifiers": {
|
|
79698
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyProtected"
|
|
79699
|
-
}
|
|
79700
|
-
},
|
|
79701
|
-
{
|
|
79702
|
-
"id": "post_form.coverUrl",
|
|
79723
|
+
"id": "post_form.body_slot",
|
|
79703
79724
|
"body": {
|
|
79704
79725
|
"package": "himalaya",
|
|
79705
|
-
"type": "
|
|
79726
|
+
"type": "VStack",
|
|
79706
79727
|
"props": {
|
|
79707
|
-
"
|
|
79708
|
-
"
|
|
79709
|
-
"
|
|
79710
|
-
|
|
79711
|
-
|
|
79712
|
-
|
|
79713
|
-
|
|
79714
|
-
|
|
79715
|
-
|
|
79716
|
-
|
|
79717
|
-
|
|
79718
|
-
|
|
79719
|
-
|
|
79728
|
+
"spacing": 6,
|
|
79729
|
+
"alignment": "leading",
|
|
79730
|
+
"children": [
|
|
79731
|
+
{
|
|
79732
|
+
"id": "",
|
|
79733
|
+
"body": {
|
|
79734
|
+
"package": "himalaya",
|
|
79735
|
+
"type": "Text",
|
|
79736
|
+
"props": {
|
|
79737
|
+
"text": "Body",
|
|
79738
|
+
"style": "bodyEmphasis"
|
|
79739
|
+
}
|
|
79740
|
+
}
|
|
79741
|
+
},
|
|
79742
|
+
{
|
|
79743
|
+
"id": "post_body_editor",
|
|
79744
|
+
"body": {
|
|
79745
|
+
"package": "himalaya",
|
|
79746
|
+
"type": "RichContentEditor",
|
|
79747
|
+
"props": {
|
|
79748
|
+
"name": "body",
|
|
79749
|
+
"documentPath": "$service:himiOwnerLitePostForm.bodyJson",
|
|
79750
|
+
"placeholder": "Write your post",
|
|
79751
|
+
"uploadService": "himiOwnerLitePostFormUploads",
|
|
79752
|
+
"onChange": {
|
|
79753
|
+
"actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
|
|
79754
|
+
},
|
|
79755
|
+
"minHeight": 360,
|
|
79756
|
+
"fallback": {
|
|
79757
|
+
"id": "post_form.body_unavailable",
|
|
79758
|
+
"body": {
|
|
79759
|
+
"package": "himalaya",
|
|
79760
|
+
"type": "VStack",
|
|
79761
|
+
"props": {
|
|
79762
|
+
"spacing": 4,
|
|
79763
|
+
"alignment": "leading",
|
|
79764
|
+
"children": [
|
|
79765
|
+
{
|
|
79766
|
+
"id": "",
|
|
79767
|
+
"body": {
|
|
79768
|
+
"package": "himalaya",
|
|
79769
|
+
"type": "Text",
|
|
79770
|
+
"props": {
|
|
79771
|
+
"text": "Editor unavailable",
|
|
79772
|
+
"style": "title3"
|
|
79773
|
+
}
|
|
79774
|
+
}
|
|
79775
|
+
},
|
|
79776
|
+
{
|
|
79777
|
+
"id": "",
|
|
79778
|
+
"body": {
|
|
79779
|
+
"package": "himalaya",
|
|
79780
|
+
"type": "Text",
|
|
79781
|
+
"props": {
|
|
79782
|
+
"text": "The post body can’t be edited here right now. The title and details still save, and the body stays as it is.",
|
|
79783
|
+
"style": "footnote",
|
|
79784
|
+
"color": "textSecondary"
|
|
79785
|
+
}
|
|
79786
|
+
}
|
|
79787
|
+
}
|
|
79788
|
+
]
|
|
79789
|
+
}
|
|
79790
|
+
}
|
|
79791
|
+
}
|
|
79792
|
+
}
|
|
79793
|
+
},
|
|
79794
|
+
"modifiers": {
|
|
79795
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.bodyPending"
|
|
79796
|
+
}
|
|
79720
79797
|
}
|
|
79721
|
-
|
|
79798
|
+
]
|
|
79722
79799
|
}
|
|
79723
79800
|
}
|
|
79724
79801
|
}
|
|
@@ -79762,6 +79839,117 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
79762
79839
|
"modifiers": {
|
|
79763
79840
|
"hiddenPath": "$service:himiOwnerLitePostForm.hideSavedLink"
|
|
79764
79841
|
}
|
|
79842
|
+
},
|
|
79843
|
+
{
|
|
79844
|
+
"id": "post_form.details_sheet",
|
|
79845
|
+
"body": {
|
|
79846
|
+
"package": "himalaya",
|
|
79847
|
+
"type": "BottomSheet",
|
|
79848
|
+
"props": {
|
|
79849
|
+
"presentedPath": "$service:himiOwnerLitePostForm.detailsOpen",
|
|
79850
|
+
"dismissible": true,
|
|
79851
|
+
"showGrabber": true,
|
|
79852
|
+
"onDismiss": {
|
|
79853
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsClose"
|
|
79854
|
+
},
|
|
79855
|
+
"content": {
|
|
79856
|
+
"id": "post_form.details_body",
|
|
79857
|
+
"body": {
|
|
79858
|
+
"package": "himalaya",
|
|
79859
|
+
"type": "VStack",
|
|
79860
|
+
"props": {
|
|
79861
|
+
"spacing": 12,
|
|
79862
|
+
"alignment": "leading",
|
|
79863
|
+
"children": [
|
|
79864
|
+
{
|
|
79865
|
+
"id": "",
|
|
79866
|
+
"body": {
|
|
79867
|
+
"package": "himalaya",
|
|
79868
|
+
"type": "Text",
|
|
79869
|
+
"props": {
|
|
79870
|
+
"text": "Post details",
|
|
79871
|
+
"style": "title3"
|
|
79872
|
+
}
|
|
79873
|
+
}
|
|
79874
|
+
},
|
|
79875
|
+
{
|
|
79876
|
+
"id": "",
|
|
79877
|
+
"body": {
|
|
79878
|
+
"package": "himalaya",
|
|
79879
|
+
"type": "Text",
|
|
79880
|
+
"props": {
|
|
79881
|
+
"text": "Excerpt",
|
|
79882
|
+
"style": "bodyEmphasis"
|
|
79883
|
+
}
|
|
79884
|
+
}
|
|
79885
|
+
},
|
|
79886
|
+
{
|
|
79887
|
+
"id": "post_form.excerpt",
|
|
79888
|
+
"body": {
|
|
79889
|
+
"package": "himalaya",
|
|
79890
|
+
"type": "TextField",
|
|
79891
|
+
"props": {
|
|
79892
|
+
"placeholder": "Optional summary",
|
|
79893
|
+
"valuePath": "$service:himiOwnerLitePostForm.excerpt",
|
|
79894
|
+
"multilineMaxLines": 3,
|
|
79895
|
+
"autoCapitalization": "sentences",
|
|
79896
|
+
"onChange": {
|
|
79897
|
+
"actionId": "tier5.himiOwnerLitePostForm.setExcerpt"
|
|
79898
|
+
}
|
|
79899
|
+
}
|
|
79900
|
+
}
|
|
79901
|
+
},
|
|
79902
|
+
{
|
|
79903
|
+
"id": "",
|
|
79904
|
+
"body": {
|
|
79905
|
+
"package": "himalaya",
|
|
79906
|
+
"type": "Text",
|
|
79907
|
+
"props": {
|
|
79908
|
+
"text": "Cover image URL",
|
|
79909
|
+
"style": "bodyEmphasis"
|
|
79910
|
+
}
|
|
79911
|
+
}
|
|
79912
|
+
},
|
|
79913
|
+
{
|
|
79914
|
+
"id": "post_form.coverUrl",
|
|
79915
|
+
"body": {
|
|
79916
|
+
"package": "himalaya",
|
|
79917
|
+
"type": "TextField",
|
|
79918
|
+
"props": {
|
|
79919
|
+
"placeholder": "https://…",
|
|
79920
|
+
"valuePath": "$service:himiOwnerLitePostForm.coverUrl",
|
|
79921
|
+
"keyboard": "url",
|
|
79922
|
+
"autoCapitalization": "none",
|
|
79923
|
+
"onChange": {
|
|
79924
|
+
"actionId": "tier5.himiOwnerLitePostForm.setCover"
|
|
79925
|
+
}
|
|
79926
|
+
}
|
|
79927
|
+
}
|
|
79928
|
+
},
|
|
79929
|
+
{
|
|
79930
|
+
"id": "",
|
|
79931
|
+
"body": {
|
|
79932
|
+
"package": "himalaya",
|
|
79933
|
+
"type": "Image",
|
|
79934
|
+
"props": {
|
|
79935
|
+
"url": "$service:himiOwnerLitePostForm.coverPreview",
|
|
79936
|
+
"fillWidth": true,
|
|
79937
|
+
"height": 160,
|
|
79938
|
+
"contentMode": "fit",
|
|
79939
|
+
"contentDescription": "Cover image preview"
|
|
79940
|
+
}
|
|
79941
|
+
},
|
|
79942
|
+
"modifiers": {
|
|
79943
|
+
"cornerRadius": 8,
|
|
79944
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
79945
|
+
}
|
|
79946
|
+
}
|
|
79947
|
+
]
|
|
79948
|
+
}
|
|
79949
|
+
}
|
|
79950
|
+
}
|
|
79951
|
+
}
|
|
79952
|
+
}
|
|
79765
79953
|
}
|
|
79766
79954
|
]
|
|
79767
79955
|
}
|
|
@@ -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
|