@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
|
@@ -70662,50 +70662,18 @@ const SCREENS = runtimeSetting({
|
|
|
70662
70662
|
}
|
|
70663
70663
|
},
|
|
70664
70664
|
{
|
|
70665
|
-
"id": "post_form.
|
|
70665
|
+
"id": "post_form.details",
|
|
70666
70666
|
"body": {
|
|
70667
70667
|
"package": "himalaya",
|
|
70668
|
-
"type": "
|
|
70669
|
-
"props": {
|
|
70670
|
-
"text": "$service:himiOwnerLitePostForm.bodyNote",
|
|
70671
|
-
"style": "footnote",
|
|
70672
|
-
"color": "textSecondary",
|
|
70673
|
-
"collapseWhenEmpty": true
|
|
70674
|
-
}
|
|
70675
|
-
}
|
|
70676
|
-
},
|
|
70677
|
-
{
|
|
70678
|
-
"id": "post_form.body_preview",
|
|
70679
|
-
"body": {
|
|
70680
|
-
"package": "himalaya",
|
|
70681
|
-
"type": "Text",
|
|
70682
|
-
"props": {
|
|
70683
|
-
"text": "$service:himiOwnerLitePostForm.body",
|
|
70684
|
-
"style": "body",
|
|
70685
|
-
"maxLines": 8,
|
|
70686
|
-
"collapseWhenEmpty": true
|
|
70687
|
-
}
|
|
70688
|
-
},
|
|
70689
|
-
"modifiers": {
|
|
70690
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyEditable"
|
|
70691
|
-
}
|
|
70692
|
-
},
|
|
70693
|
-
{
|
|
70694
|
-
"id": "",
|
|
70695
|
-
"body": {
|
|
70696
|
-
"package": "himalaya",
|
|
70697
|
-
"type": "Image",
|
|
70668
|
+
"type": "Button",
|
|
70698
70669
|
"props": {
|
|
70699
|
-
"
|
|
70700
|
-
"
|
|
70701
|
-
"
|
|
70702
|
-
"
|
|
70703
|
-
|
|
70670
|
+
"title": "Post details",
|
|
70671
|
+
"style": "secondary",
|
|
70672
|
+
"fullWidth": true,
|
|
70673
|
+
"action": {
|
|
70674
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsOpen"
|
|
70675
|
+
}
|
|
70704
70676
|
}
|
|
70705
|
-
},
|
|
70706
|
-
"modifiers": {
|
|
70707
|
-
"cornerRadius": 8,
|
|
70708
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
70709
70677
|
}
|
|
70710
70678
|
},
|
|
70711
70679
|
{
|
|
@@ -70736,67 +70704,82 @@ const SCREENS = runtimeSetting({
|
|
|
70736
70704
|
}
|
|
70737
70705
|
},
|
|
70738
70706
|
{
|
|
70739
|
-
"id": "post_form.
|
|
70707
|
+
"id": "post_form.body_slot",
|
|
70740
70708
|
"body": {
|
|
70741
70709
|
"package": "himalaya",
|
|
70742
|
-
"type": "
|
|
70743
|
-
"props": {
|
|
70744
|
-
"id": "excerpt",
|
|
70745
|
-
"label": "Excerpt",
|
|
70746
|
-
"kind": "text",
|
|
70747
|
-
"text": {
|
|
70748
|
-
"value": "$service:himiOwnerLitePostForm.excerpt",
|
|
70749
|
-
"placeholder": "Optional summary",
|
|
70750
|
-
"keyboard": "default",
|
|
70751
|
-
"autoCapitalization": "sentences",
|
|
70752
|
-
"multilineMaxLines": 3
|
|
70753
|
-
}
|
|
70754
|
-
}
|
|
70755
|
-
}
|
|
70756
|
-
},
|
|
70757
|
-
{
|
|
70758
|
-
"id": "post_form.body",
|
|
70759
|
-
"body": {
|
|
70760
|
-
"package": "himalaya",
|
|
70761
|
-
"type": "FormField",
|
|
70762
|
-
"props": {
|
|
70763
|
-
"id": "body",
|
|
70764
|
-
"label": "Body",
|
|
70765
|
-
"kind": "text",
|
|
70766
|
-
"text": {
|
|
70767
|
-
"value": "$service:himiOwnerLitePostForm.body",
|
|
70768
|
-
"placeholder": "Write your post",
|
|
70769
|
-
"keyboard": "default",
|
|
70770
|
-
"autoCapitalization": "sentences",
|
|
70771
|
-
"multilineMaxLines": 6
|
|
70772
|
-
}
|
|
70773
|
-
}
|
|
70774
|
-
},
|
|
70775
|
-
"modifiers": {
|
|
70776
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyProtected"
|
|
70777
|
-
}
|
|
70778
|
-
},
|
|
70779
|
-
{
|
|
70780
|
-
"id": "post_form.coverUrl",
|
|
70781
|
-
"body": {
|
|
70782
|
-
"package": "himalaya",
|
|
70783
|
-
"type": "FormField",
|
|
70710
|
+
"type": "VStack",
|
|
70784
70711
|
"props": {
|
|
70785
|
-
"
|
|
70786
|
-
"
|
|
70787
|
-
"
|
|
70788
|
-
|
|
70789
|
-
|
|
70790
|
-
|
|
70791
|
-
|
|
70792
|
-
|
|
70793
|
-
|
|
70794
|
-
|
|
70795
|
-
|
|
70796
|
-
|
|
70797
|
-
|
|
70712
|
+
"spacing": 6,
|
|
70713
|
+
"alignment": "leading",
|
|
70714
|
+
"children": [
|
|
70715
|
+
{
|
|
70716
|
+
"id": "",
|
|
70717
|
+
"body": {
|
|
70718
|
+
"package": "himalaya",
|
|
70719
|
+
"type": "Text",
|
|
70720
|
+
"props": {
|
|
70721
|
+
"text": "Body",
|
|
70722
|
+
"style": "bodyEmphasis"
|
|
70723
|
+
}
|
|
70724
|
+
}
|
|
70725
|
+
},
|
|
70726
|
+
{
|
|
70727
|
+
"id": "post_body_editor",
|
|
70728
|
+
"body": {
|
|
70729
|
+
"package": "himalaya",
|
|
70730
|
+
"type": "RichContentEditor",
|
|
70731
|
+
"props": {
|
|
70732
|
+
"name": "body",
|
|
70733
|
+
"documentPath": "$service:himiOwnerLitePostForm.bodyJson",
|
|
70734
|
+
"placeholder": "Write your post",
|
|
70735
|
+
"uploadService": "himiOwnerLitePostFormUploads",
|
|
70736
|
+
"onChange": {
|
|
70737
|
+
"actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
|
|
70738
|
+
},
|
|
70739
|
+
"minHeight": 360,
|
|
70740
|
+
"fallback": {
|
|
70741
|
+
"id": "post_form.body_unavailable",
|
|
70742
|
+
"body": {
|
|
70743
|
+
"package": "himalaya",
|
|
70744
|
+
"type": "VStack",
|
|
70745
|
+
"props": {
|
|
70746
|
+
"spacing": 4,
|
|
70747
|
+
"alignment": "leading",
|
|
70748
|
+
"children": [
|
|
70749
|
+
{
|
|
70750
|
+
"id": "",
|
|
70751
|
+
"body": {
|
|
70752
|
+
"package": "himalaya",
|
|
70753
|
+
"type": "Text",
|
|
70754
|
+
"props": {
|
|
70755
|
+
"text": "Editor unavailable",
|
|
70756
|
+
"style": "title3"
|
|
70757
|
+
}
|
|
70758
|
+
}
|
|
70759
|
+
},
|
|
70760
|
+
{
|
|
70761
|
+
"id": "",
|
|
70762
|
+
"body": {
|
|
70763
|
+
"package": "himalaya",
|
|
70764
|
+
"type": "Text",
|
|
70765
|
+
"props": {
|
|
70766
|
+
"text": "The post body can’t be edited here right now. The title and details still save, and the body stays as it is.",
|
|
70767
|
+
"style": "footnote",
|
|
70768
|
+
"color": "textSecondary"
|
|
70769
|
+
}
|
|
70770
|
+
}
|
|
70771
|
+
}
|
|
70772
|
+
]
|
|
70773
|
+
}
|
|
70774
|
+
}
|
|
70775
|
+
}
|
|
70776
|
+
}
|
|
70777
|
+
},
|
|
70778
|
+
"modifiers": {
|
|
70779
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.bodyPending"
|
|
70780
|
+
}
|
|
70798
70781
|
}
|
|
70799
|
-
|
|
70782
|
+
]
|
|
70800
70783
|
}
|
|
70801
70784
|
}
|
|
70802
70785
|
}
|
|
@@ -70840,6 +70823,117 @@ const SCREENS = runtimeSetting({
|
|
|
70840
70823
|
"modifiers": {
|
|
70841
70824
|
"hiddenPath": "$service:himiOwnerLitePostForm.hideSavedLink"
|
|
70842
70825
|
}
|
|
70826
|
+
},
|
|
70827
|
+
{
|
|
70828
|
+
"id": "post_form.details_sheet",
|
|
70829
|
+
"body": {
|
|
70830
|
+
"package": "himalaya",
|
|
70831
|
+
"type": "BottomSheet",
|
|
70832
|
+
"props": {
|
|
70833
|
+
"presentedPath": "$service:himiOwnerLitePostForm.detailsOpen",
|
|
70834
|
+
"dismissible": true,
|
|
70835
|
+
"showGrabber": true,
|
|
70836
|
+
"onDismiss": {
|
|
70837
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsClose"
|
|
70838
|
+
},
|
|
70839
|
+
"content": {
|
|
70840
|
+
"id": "post_form.details_body",
|
|
70841
|
+
"body": {
|
|
70842
|
+
"package": "himalaya",
|
|
70843
|
+
"type": "VStack",
|
|
70844
|
+
"props": {
|
|
70845
|
+
"spacing": 12,
|
|
70846
|
+
"alignment": "leading",
|
|
70847
|
+
"children": [
|
|
70848
|
+
{
|
|
70849
|
+
"id": "",
|
|
70850
|
+
"body": {
|
|
70851
|
+
"package": "himalaya",
|
|
70852
|
+
"type": "Text",
|
|
70853
|
+
"props": {
|
|
70854
|
+
"text": "Post details",
|
|
70855
|
+
"style": "title3"
|
|
70856
|
+
}
|
|
70857
|
+
}
|
|
70858
|
+
},
|
|
70859
|
+
{
|
|
70860
|
+
"id": "",
|
|
70861
|
+
"body": {
|
|
70862
|
+
"package": "himalaya",
|
|
70863
|
+
"type": "Text",
|
|
70864
|
+
"props": {
|
|
70865
|
+
"text": "Excerpt",
|
|
70866
|
+
"style": "bodyEmphasis"
|
|
70867
|
+
}
|
|
70868
|
+
}
|
|
70869
|
+
},
|
|
70870
|
+
{
|
|
70871
|
+
"id": "post_form.excerpt",
|
|
70872
|
+
"body": {
|
|
70873
|
+
"package": "himalaya",
|
|
70874
|
+
"type": "TextField",
|
|
70875
|
+
"props": {
|
|
70876
|
+
"placeholder": "Optional summary",
|
|
70877
|
+
"valuePath": "$service:himiOwnerLitePostForm.excerpt",
|
|
70878
|
+
"multilineMaxLines": 3,
|
|
70879
|
+
"autoCapitalization": "sentences",
|
|
70880
|
+
"onChange": {
|
|
70881
|
+
"actionId": "tier5.himiOwnerLitePostForm.setExcerpt"
|
|
70882
|
+
}
|
|
70883
|
+
}
|
|
70884
|
+
}
|
|
70885
|
+
},
|
|
70886
|
+
{
|
|
70887
|
+
"id": "",
|
|
70888
|
+
"body": {
|
|
70889
|
+
"package": "himalaya",
|
|
70890
|
+
"type": "Text",
|
|
70891
|
+
"props": {
|
|
70892
|
+
"text": "Cover image URL",
|
|
70893
|
+
"style": "bodyEmphasis"
|
|
70894
|
+
}
|
|
70895
|
+
}
|
|
70896
|
+
},
|
|
70897
|
+
{
|
|
70898
|
+
"id": "post_form.coverUrl",
|
|
70899
|
+
"body": {
|
|
70900
|
+
"package": "himalaya",
|
|
70901
|
+
"type": "TextField",
|
|
70902
|
+
"props": {
|
|
70903
|
+
"placeholder": "https://…",
|
|
70904
|
+
"valuePath": "$service:himiOwnerLitePostForm.coverUrl",
|
|
70905
|
+
"keyboard": "url",
|
|
70906
|
+
"autoCapitalization": "none",
|
|
70907
|
+
"onChange": {
|
|
70908
|
+
"actionId": "tier5.himiOwnerLitePostForm.setCover"
|
|
70909
|
+
}
|
|
70910
|
+
}
|
|
70911
|
+
}
|
|
70912
|
+
},
|
|
70913
|
+
{
|
|
70914
|
+
"id": "",
|
|
70915
|
+
"body": {
|
|
70916
|
+
"package": "himalaya",
|
|
70917
|
+
"type": "Image",
|
|
70918
|
+
"props": {
|
|
70919
|
+
"url": "$service:himiOwnerLitePostForm.coverPreview",
|
|
70920
|
+
"fillWidth": true,
|
|
70921
|
+
"height": 160,
|
|
70922
|
+
"contentMode": "fit",
|
|
70923
|
+
"contentDescription": "Cover image preview"
|
|
70924
|
+
}
|
|
70925
|
+
},
|
|
70926
|
+
"modifiers": {
|
|
70927
|
+
"cornerRadius": 8,
|
|
70928
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
70929
|
+
}
|
|
70930
|
+
}
|
|
70931
|
+
]
|
|
70932
|
+
}
|
|
70933
|
+
}
|
|
70934
|
+
}
|
|
70935
|
+
}
|
|
70936
|
+
}
|
|
70843
70937
|
}
|
|
70844
70938
|
]
|
|
70845
70939
|
}
|
|
@@ -71312,50 +71406,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
71312
71406
|
}
|
|
71313
71407
|
},
|
|
71314
71408
|
{
|
|
71315
|
-
"id": "post_form.
|
|
71409
|
+
"id": "post_form.details",
|
|
71316
71410
|
"body": {
|
|
71317
71411
|
"package": "himalaya",
|
|
71318
|
-
"type": "
|
|
71319
|
-
"props": {
|
|
71320
|
-
"text": "$service:himiOwnerLitePostForm.bodyNote",
|
|
71321
|
-
"style": "footnote",
|
|
71322
|
-
"color": "textSecondary",
|
|
71323
|
-
"collapseWhenEmpty": true
|
|
71324
|
-
}
|
|
71325
|
-
}
|
|
71326
|
-
},
|
|
71327
|
-
{
|
|
71328
|
-
"id": "post_form.body_preview",
|
|
71329
|
-
"body": {
|
|
71330
|
-
"package": "himalaya",
|
|
71331
|
-
"type": "Text",
|
|
71332
|
-
"props": {
|
|
71333
|
-
"text": "$service:himiOwnerLitePostForm.body",
|
|
71334
|
-
"style": "body",
|
|
71335
|
-
"maxLines": 8,
|
|
71336
|
-
"collapseWhenEmpty": true
|
|
71337
|
-
}
|
|
71338
|
-
},
|
|
71339
|
-
"modifiers": {
|
|
71340
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyEditable"
|
|
71341
|
-
}
|
|
71342
|
-
},
|
|
71343
|
-
{
|
|
71344
|
-
"id": "",
|
|
71345
|
-
"body": {
|
|
71346
|
-
"package": "himalaya",
|
|
71347
|
-
"type": "Image",
|
|
71412
|
+
"type": "Button",
|
|
71348
71413
|
"props": {
|
|
71349
|
-
"
|
|
71350
|
-
"
|
|
71351
|
-
"
|
|
71352
|
-
"
|
|
71353
|
-
|
|
71414
|
+
"title": "Post details",
|
|
71415
|
+
"style": "secondary",
|
|
71416
|
+
"fullWidth": true,
|
|
71417
|
+
"action": {
|
|
71418
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsOpen"
|
|
71419
|
+
}
|
|
71354
71420
|
}
|
|
71355
|
-
},
|
|
71356
|
-
"modifiers": {
|
|
71357
|
-
"cornerRadius": 8,
|
|
71358
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
71359
71421
|
}
|
|
71360
71422
|
},
|
|
71361
71423
|
{
|
|
@@ -71386,67 +71448,82 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
71386
71448
|
}
|
|
71387
71449
|
},
|
|
71388
71450
|
{
|
|
71389
|
-
"id": "post_form.
|
|
71451
|
+
"id": "post_form.body_slot",
|
|
71390
71452
|
"body": {
|
|
71391
71453
|
"package": "himalaya",
|
|
71392
|
-
"type": "
|
|
71393
|
-
"props": {
|
|
71394
|
-
"id": "excerpt",
|
|
71395
|
-
"label": "Excerpt",
|
|
71396
|
-
"kind": "text",
|
|
71397
|
-
"text": {
|
|
71398
|
-
"value": "$service:himiOwnerLitePostForm.excerpt",
|
|
71399
|
-
"placeholder": "Optional summary",
|
|
71400
|
-
"keyboard": "default",
|
|
71401
|
-
"autoCapitalization": "sentences",
|
|
71402
|
-
"multilineMaxLines": 3
|
|
71403
|
-
}
|
|
71404
|
-
}
|
|
71405
|
-
}
|
|
71406
|
-
},
|
|
71407
|
-
{
|
|
71408
|
-
"id": "post_form.body",
|
|
71409
|
-
"body": {
|
|
71410
|
-
"package": "himalaya",
|
|
71411
|
-
"type": "FormField",
|
|
71412
|
-
"props": {
|
|
71413
|
-
"id": "body",
|
|
71414
|
-
"label": "Body",
|
|
71415
|
-
"kind": "text",
|
|
71416
|
-
"text": {
|
|
71417
|
-
"value": "$service:himiOwnerLitePostForm.body",
|
|
71418
|
-
"placeholder": "Write your post",
|
|
71419
|
-
"keyboard": "default",
|
|
71420
|
-
"autoCapitalization": "sentences",
|
|
71421
|
-
"multilineMaxLines": 6
|
|
71422
|
-
}
|
|
71423
|
-
}
|
|
71424
|
-
},
|
|
71425
|
-
"modifiers": {
|
|
71426
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyProtected"
|
|
71427
|
-
}
|
|
71428
|
-
},
|
|
71429
|
-
{
|
|
71430
|
-
"id": "post_form.coverUrl",
|
|
71431
|
-
"body": {
|
|
71432
|
-
"package": "himalaya",
|
|
71433
|
-
"type": "FormField",
|
|
71454
|
+
"type": "VStack",
|
|
71434
71455
|
"props": {
|
|
71435
|
-
"
|
|
71436
|
-
"
|
|
71437
|
-
"
|
|
71438
|
-
|
|
71439
|
-
|
|
71440
|
-
|
|
71441
|
-
|
|
71442
|
-
|
|
71443
|
-
|
|
71444
|
-
|
|
71445
|
-
|
|
71446
|
-
|
|
71447
|
-
|
|
71456
|
+
"spacing": 6,
|
|
71457
|
+
"alignment": "leading",
|
|
71458
|
+
"children": [
|
|
71459
|
+
{
|
|
71460
|
+
"id": "",
|
|
71461
|
+
"body": {
|
|
71462
|
+
"package": "himalaya",
|
|
71463
|
+
"type": "Text",
|
|
71464
|
+
"props": {
|
|
71465
|
+
"text": "Body",
|
|
71466
|
+
"style": "bodyEmphasis"
|
|
71467
|
+
}
|
|
71468
|
+
}
|
|
71469
|
+
},
|
|
71470
|
+
{
|
|
71471
|
+
"id": "post_body_editor",
|
|
71472
|
+
"body": {
|
|
71473
|
+
"package": "himalaya",
|
|
71474
|
+
"type": "RichContentEditor",
|
|
71475
|
+
"props": {
|
|
71476
|
+
"name": "body",
|
|
71477
|
+
"documentPath": "$service:himiOwnerLitePostForm.bodyJson",
|
|
71478
|
+
"placeholder": "Write your post",
|
|
71479
|
+
"uploadService": "himiOwnerLitePostFormUploads",
|
|
71480
|
+
"onChange": {
|
|
71481
|
+
"actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
|
|
71482
|
+
},
|
|
71483
|
+
"minHeight": 360,
|
|
71484
|
+
"fallback": {
|
|
71485
|
+
"id": "post_form.body_unavailable",
|
|
71486
|
+
"body": {
|
|
71487
|
+
"package": "himalaya",
|
|
71488
|
+
"type": "VStack",
|
|
71489
|
+
"props": {
|
|
71490
|
+
"spacing": 4,
|
|
71491
|
+
"alignment": "leading",
|
|
71492
|
+
"children": [
|
|
71493
|
+
{
|
|
71494
|
+
"id": "",
|
|
71495
|
+
"body": {
|
|
71496
|
+
"package": "himalaya",
|
|
71497
|
+
"type": "Text",
|
|
71498
|
+
"props": {
|
|
71499
|
+
"text": "Editor unavailable",
|
|
71500
|
+
"style": "title3"
|
|
71501
|
+
}
|
|
71502
|
+
}
|
|
71503
|
+
},
|
|
71504
|
+
{
|
|
71505
|
+
"id": "",
|
|
71506
|
+
"body": {
|
|
71507
|
+
"package": "himalaya",
|
|
71508
|
+
"type": "Text",
|
|
71509
|
+
"props": {
|
|
71510
|
+
"text": "The post body can’t be edited here right now. The title and details still save, and the body stays as it is.",
|
|
71511
|
+
"style": "footnote",
|
|
71512
|
+
"color": "textSecondary"
|
|
71513
|
+
}
|
|
71514
|
+
}
|
|
71515
|
+
}
|
|
71516
|
+
]
|
|
71517
|
+
}
|
|
71518
|
+
}
|
|
71519
|
+
}
|
|
71520
|
+
}
|
|
71521
|
+
},
|
|
71522
|
+
"modifiers": {
|
|
71523
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.bodyPending"
|
|
71524
|
+
}
|
|
71448
71525
|
}
|
|
71449
|
-
|
|
71526
|
+
]
|
|
71450
71527
|
}
|
|
71451
71528
|
}
|
|
71452
71529
|
}
|
|
@@ -71490,6 +71567,117 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
71490
71567
|
"modifiers": {
|
|
71491
71568
|
"hiddenPath": "$service:himiOwnerLitePostForm.hideSavedLink"
|
|
71492
71569
|
}
|
|
71570
|
+
},
|
|
71571
|
+
{
|
|
71572
|
+
"id": "post_form.details_sheet",
|
|
71573
|
+
"body": {
|
|
71574
|
+
"package": "himalaya",
|
|
71575
|
+
"type": "BottomSheet",
|
|
71576
|
+
"props": {
|
|
71577
|
+
"presentedPath": "$service:himiOwnerLitePostForm.detailsOpen",
|
|
71578
|
+
"dismissible": true,
|
|
71579
|
+
"showGrabber": true,
|
|
71580
|
+
"onDismiss": {
|
|
71581
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsClose"
|
|
71582
|
+
},
|
|
71583
|
+
"content": {
|
|
71584
|
+
"id": "post_form.details_body",
|
|
71585
|
+
"body": {
|
|
71586
|
+
"package": "himalaya",
|
|
71587
|
+
"type": "VStack",
|
|
71588
|
+
"props": {
|
|
71589
|
+
"spacing": 12,
|
|
71590
|
+
"alignment": "leading",
|
|
71591
|
+
"children": [
|
|
71592
|
+
{
|
|
71593
|
+
"id": "",
|
|
71594
|
+
"body": {
|
|
71595
|
+
"package": "himalaya",
|
|
71596
|
+
"type": "Text",
|
|
71597
|
+
"props": {
|
|
71598
|
+
"text": "Post details",
|
|
71599
|
+
"style": "title3"
|
|
71600
|
+
}
|
|
71601
|
+
}
|
|
71602
|
+
},
|
|
71603
|
+
{
|
|
71604
|
+
"id": "",
|
|
71605
|
+
"body": {
|
|
71606
|
+
"package": "himalaya",
|
|
71607
|
+
"type": "Text",
|
|
71608
|
+
"props": {
|
|
71609
|
+
"text": "Excerpt",
|
|
71610
|
+
"style": "bodyEmphasis"
|
|
71611
|
+
}
|
|
71612
|
+
}
|
|
71613
|
+
},
|
|
71614
|
+
{
|
|
71615
|
+
"id": "post_form.excerpt",
|
|
71616
|
+
"body": {
|
|
71617
|
+
"package": "himalaya",
|
|
71618
|
+
"type": "TextField",
|
|
71619
|
+
"props": {
|
|
71620
|
+
"placeholder": "Optional summary",
|
|
71621
|
+
"valuePath": "$service:himiOwnerLitePostForm.excerpt",
|
|
71622
|
+
"multilineMaxLines": 3,
|
|
71623
|
+
"autoCapitalization": "sentences",
|
|
71624
|
+
"onChange": {
|
|
71625
|
+
"actionId": "tier5.himiOwnerLitePostForm.setExcerpt"
|
|
71626
|
+
}
|
|
71627
|
+
}
|
|
71628
|
+
}
|
|
71629
|
+
},
|
|
71630
|
+
{
|
|
71631
|
+
"id": "",
|
|
71632
|
+
"body": {
|
|
71633
|
+
"package": "himalaya",
|
|
71634
|
+
"type": "Text",
|
|
71635
|
+
"props": {
|
|
71636
|
+
"text": "Cover image URL",
|
|
71637
|
+
"style": "bodyEmphasis"
|
|
71638
|
+
}
|
|
71639
|
+
}
|
|
71640
|
+
},
|
|
71641
|
+
{
|
|
71642
|
+
"id": "post_form.coverUrl",
|
|
71643
|
+
"body": {
|
|
71644
|
+
"package": "himalaya",
|
|
71645
|
+
"type": "TextField",
|
|
71646
|
+
"props": {
|
|
71647
|
+
"placeholder": "https://…",
|
|
71648
|
+
"valuePath": "$service:himiOwnerLitePostForm.coverUrl",
|
|
71649
|
+
"keyboard": "url",
|
|
71650
|
+
"autoCapitalization": "none",
|
|
71651
|
+
"onChange": {
|
|
71652
|
+
"actionId": "tier5.himiOwnerLitePostForm.setCover"
|
|
71653
|
+
}
|
|
71654
|
+
}
|
|
71655
|
+
}
|
|
71656
|
+
},
|
|
71657
|
+
{
|
|
71658
|
+
"id": "",
|
|
71659
|
+
"body": {
|
|
71660
|
+
"package": "himalaya",
|
|
71661
|
+
"type": "Image",
|
|
71662
|
+
"props": {
|
|
71663
|
+
"url": "$service:himiOwnerLitePostForm.coverPreview",
|
|
71664
|
+
"fillWidth": true,
|
|
71665
|
+
"height": 160,
|
|
71666
|
+
"contentMode": "fit",
|
|
71667
|
+
"contentDescription": "Cover image preview"
|
|
71668
|
+
}
|
|
71669
|
+
},
|
|
71670
|
+
"modifiers": {
|
|
71671
|
+
"cornerRadius": 8,
|
|
71672
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
71673
|
+
}
|
|
71674
|
+
}
|
|
71675
|
+
]
|
|
71676
|
+
}
|
|
71677
|
+
}
|
|
71678
|
+
}
|
|
71679
|
+
}
|
|
71680
|
+
}
|
|
71493
71681
|
}
|
|
71494
71682
|
]
|
|
71495
71683
|
}
|