@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
|
@@ -76844,50 +76844,18 @@ const SCREENS = runtimeSetting({
|
|
|
76844
76844
|
}
|
|
76845
76845
|
},
|
|
76846
76846
|
{
|
|
76847
|
-
"id": "post_form.
|
|
76847
|
+
"id": "post_form.details",
|
|
76848
76848
|
"body": {
|
|
76849
76849
|
"package": "himalaya",
|
|
76850
|
-
"type": "
|
|
76851
|
-
"props": {
|
|
76852
|
-
"text": "$service:himiOwnerLitePostForm.bodyNote",
|
|
76853
|
-
"style": "footnote",
|
|
76854
|
-
"color": "textSecondary",
|
|
76855
|
-
"collapseWhenEmpty": true
|
|
76856
|
-
}
|
|
76857
|
-
}
|
|
76858
|
-
},
|
|
76859
|
-
{
|
|
76860
|
-
"id": "post_form.body_preview",
|
|
76861
|
-
"body": {
|
|
76862
|
-
"package": "himalaya",
|
|
76863
|
-
"type": "Text",
|
|
76864
|
-
"props": {
|
|
76865
|
-
"text": "$service:himiOwnerLitePostForm.body",
|
|
76866
|
-
"style": "body",
|
|
76867
|
-
"maxLines": 8,
|
|
76868
|
-
"collapseWhenEmpty": true
|
|
76869
|
-
}
|
|
76870
|
-
},
|
|
76871
|
-
"modifiers": {
|
|
76872
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyEditable"
|
|
76873
|
-
}
|
|
76874
|
-
},
|
|
76875
|
-
{
|
|
76876
|
-
"id": "",
|
|
76877
|
-
"body": {
|
|
76878
|
-
"package": "himalaya",
|
|
76879
|
-
"type": "Image",
|
|
76850
|
+
"type": "Button",
|
|
76880
76851
|
"props": {
|
|
76881
|
-
"
|
|
76882
|
-
"
|
|
76883
|
-
"
|
|
76884
|
-
"
|
|
76885
|
-
|
|
76852
|
+
"title": "Post details",
|
|
76853
|
+
"style": "secondary",
|
|
76854
|
+
"fullWidth": true,
|
|
76855
|
+
"action": {
|
|
76856
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsOpen"
|
|
76857
|
+
}
|
|
76886
76858
|
}
|
|
76887
|
-
},
|
|
76888
|
-
"modifiers": {
|
|
76889
|
-
"cornerRadius": 8,
|
|
76890
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
76891
76859
|
}
|
|
76892
76860
|
},
|
|
76893
76861
|
{
|
|
@@ -76918,67 +76886,82 @@ const SCREENS = runtimeSetting({
|
|
|
76918
76886
|
}
|
|
76919
76887
|
},
|
|
76920
76888
|
{
|
|
76921
|
-
"id": "post_form.
|
|
76922
|
-
"body": {
|
|
76923
|
-
"package": "himalaya",
|
|
76924
|
-
"type": "FormField",
|
|
76925
|
-
"props": {
|
|
76926
|
-
"id": "excerpt",
|
|
76927
|
-
"label": "Excerpt",
|
|
76928
|
-
"kind": "text",
|
|
76929
|
-
"text": {
|
|
76930
|
-
"value": "$service:himiOwnerLitePostForm.excerpt",
|
|
76931
|
-
"placeholder": "Optional summary",
|
|
76932
|
-
"keyboard": "default",
|
|
76933
|
-
"autoCapitalization": "sentences",
|
|
76934
|
-
"multilineMaxLines": 3
|
|
76935
|
-
}
|
|
76936
|
-
}
|
|
76937
|
-
}
|
|
76938
|
-
},
|
|
76939
|
-
{
|
|
76940
|
-
"id": "post_form.body",
|
|
76941
|
-
"body": {
|
|
76942
|
-
"package": "himalaya",
|
|
76943
|
-
"type": "FormField",
|
|
76944
|
-
"props": {
|
|
76945
|
-
"id": "body",
|
|
76946
|
-
"label": "Body",
|
|
76947
|
-
"kind": "text",
|
|
76948
|
-
"text": {
|
|
76949
|
-
"value": "$service:himiOwnerLitePostForm.body",
|
|
76950
|
-
"placeholder": "Write your post",
|
|
76951
|
-
"keyboard": "default",
|
|
76952
|
-
"autoCapitalization": "sentences",
|
|
76953
|
-
"multilineMaxLines": 6
|
|
76954
|
-
}
|
|
76955
|
-
}
|
|
76956
|
-
},
|
|
76957
|
-
"modifiers": {
|
|
76958
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyProtected"
|
|
76959
|
-
}
|
|
76960
|
-
},
|
|
76961
|
-
{
|
|
76962
|
-
"id": "post_form.coverUrl",
|
|
76889
|
+
"id": "post_form.body_slot",
|
|
76963
76890
|
"body": {
|
|
76964
76891
|
"package": "himalaya",
|
|
76965
|
-
"type": "
|
|
76892
|
+
"type": "VStack",
|
|
76966
76893
|
"props": {
|
|
76967
|
-
"
|
|
76968
|
-
"
|
|
76969
|
-
"
|
|
76970
|
-
|
|
76971
|
-
|
|
76972
|
-
|
|
76973
|
-
|
|
76974
|
-
|
|
76975
|
-
|
|
76976
|
-
|
|
76977
|
-
|
|
76978
|
-
|
|
76979
|
-
|
|
76894
|
+
"spacing": 6,
|
|
76895
|
+
"alignment": "leading",
|
|
76896
|
+
"children": [
|
|
76897
|
+
{
|
|
76898
|
+
"id": "",
|
|
76899
|
+
"body": {
|
|
76900
|
+
"package": "himalaya",
|
|
76901
|
+
"type": "Text",
|
|
76902
|
+
"props": {
|
|
76903
|
+
"text": "Body",
|
|
76904
|
+
"style": "bodyEmphasis"
|
|
76905
|
+
}
|
|
76906
|
+
}
|
|
76907
|
+
},
|
|
76908
|
+
{
|
|
76909
|
+
"id": "post_body_editor",
|
|
76910
|
+
"body": {
|
|
76911
|
+
"package": "himalaya",
|
|
76912
|
+
"type": "RichContentEditor",
|
|
76913
|
+
"props": {
|
|
76914
|
+
"name": "body",
|
|
76915
|
+
"documentPath": "$service:himiOwnerLitePostForm.bodyJson",
|
|
76916
|
+
"placeholder": "Write your post",
|
|
76917
|
+
"uploadService": "himiOwnerLitePostFormUploads",
|
|
76918
|
+
"onChange": {
|
|
76919
|
+
"actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
|
|
76920
|
+
},
|
|
76921
|
+
"minHeight": 360,
|
|
76922
|
+
"fallback": {
|
|
76923
|
+
"id": "post_form.body_unavailable",
|
|
76924
|
+
"body": {
|
|
76925
|
+
"package": "himalaya",
|
|
76926
|
+
"type": "VStack",
|
|
76927
|
+
"props": {
|
|
76928
|
+
"spacing": 4,
|
|
76929
|
+
"alignment": "leading",
|
|
76930
|
+
"children": [
|
|
76931
|
+
{
|
|
76932
|
+
"id": "",
|
|
76933
|
+
"body": {
|
|
76934
|
+
"package": "himalaya",
|
|
76935
|
+
"type": "Text",
|
|
76936
|
+
"props": {
|
|
76937
|
+
"text": "Editor unavailable",
|
|
76938
|
+
"style": "title3"
|
|
76939
|
+
}
|
|
76940
|
+
}
|
|
76941
|
+
},
|
|
76942
|
+
{
|
|
76943
|
+
"id": "",
|
|
76944
|
+
"body": {
|
|
76945
|
+
"package": "himalaya",
|
|
76946
|
+
"type": "Text",
|
|
76947
|
+
"props": {
|
|
76948
|
+
"text": "The post body can’t be edited here right now. The title and details still save, and the body stays as it is.",
|
|
76949
|
+
"style": "footnote",
|
|
76950
|
+
"color": "textSecondary"
|
|
76951
|
+
}
|
|
76952
|
+
}
|
|
76953
|
+
}
|
|
76954
|
+
]
|
|
76955
|
+
}
|
|
76956
|
+
}
|
|
76957
|
+
}
|
|
76958
|
+
}
|
|
76959
|
+
},
|
|
76960
|
+
"modifiers": {
|
|
76961
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.bodyPending"
|
|
76962
|
+
}
|
|
76980
76963
|
}
|
|
76981
|
-
|
|
76964
|
+
]
|
|
76982
76965
|
}
|
|
76983
76966
|
}
|
|
76984
76967
|
}
|
|
@@ -77022,6 +77005,117 @@ const SCREENS = runtimeSetting({
|
|
|
77022
77005
|
"modifiers": {
|
|
77023
77006
|
"hiddenPath": "$service:himiOwnerLitePostForm.hideSavedLink"
|
|
77024
77007
|
}
|
|
77008
|
+
},
|
|
77009
|
+
{
|
|
77010
|
+
"id": "post_form.details_sheet",
|
|
77011
|
+
"body": {
|
|
77012
|
+
"package": "himalaya",
|
|
77013
|
+
"type": "BottomSheet",
|
|
77014
|
+
"props": {
|
|
77015
|
+
"presentedPath": "$service:himiOwnerLitePostForm.detailsOpen",
|
|
77016
|
+
"dismissible": true,
|
|
77017
|
+
"showGrabber": true,
|
|
77018
|
+
"onDismiss": {
|
|
77019
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsClose"
|
|
77020
|
+
},
|
|
77021
|
+
"content": {
|
|
77022
|
+
"id": "post_form.details_body",
|
|
77023
|
+
"body": {
|
|
77024
|
+
"package": "himalaya",
|
|
77025
|
+
"type": "VStack",
|
|
77026
|
+
"props": {
|
|
77027
|
+
"spacing": 12,
|
|
77028
|
+
"alignment": "leading",
|
|
77029
|
+
"children": [
|
|
77030
|
+
{
|
|
77031
|
+
"id": "",
|
|
77032
|
+
"body": {
|
|
77033
|
+
"package": "himalaya",
|
|
77034
|
+
"type": "Text",
|
|
77035
|
+
"props": {
|
|
77036
|
+
"text": "Post details",
|
|
77037
|
+
"style": "title3"
|
|
77038
|
+
}
|
|
77039
|
+
}
|
|
77040
|
+
},
|
|
77041
|
+
{
|
|
77042
|
+
"id": "",
|
|
77043
|
+
"body": {
|
|
77044
|
+
"package": "himalaya",
|
|
77045
|
+
"type": "Text",
|
|
77046
|
+
"props": {
|
|
77047
|
+
"text": "Excerpt",
|
|
77048
|
+
"style": "bodyEmphasis"
|
|
77049
|
+
}
|
|
77050
|
+
}
|
|
77051
|
+
},
|
|
77052
|
+
{
|
|
77053
|
+
"id": "post_form.excerpt",
|
|
77054
|
+
"body": {
|
|
77055
|
+
"package": "himalaya",
|
|
77056
|
+
"type": "TextField",
|
|
77057
|
+
"props": {
|
|
77058
|
+
"placeholder": "Optional summary",
|
|
77059
|
+
"valuePath": "$service:himiOwnerLitePostForm.excerpt",
|
|
77060
|
+
"multilineMaxLines": 3,
|
|
77061
|
+
"autoCapitalization": "sentences",
|
|
77062
|
+
"onChange": {
|
|
77063
|
+
"actionId": "tier5.himiOwnerLitePostForm.setExcerpt"
|
|
77064
|
+
}
|
|
77065
|
+
}
|
|
77066
|
+
}
|
|
77067
|
+
},
|
|
77068
|
+
{
|
|
77069
|
+
"id": "",
|
|
77070
|
+
"body": {
|
|
77071
|
+
"package": "himalaya",
|
|
77072
|
+
"type": "Text",
|
|
77073
|
+
"props": {
|
|
77074
|
+
"text": "Cover image URL",
|
|
77075
|
+
"style": "bodyEmphasis"
|
|
77076
|
+
}
|
|
77077
|
+
}
|
|
77078
|
+
},
|
|
77079
|
+
{
|
|
77080
|
+
"id": "post_form.coverUrl",
|
|
77081
|
+
"body": {
|
|
77082
|
+
"package": "himalaya",
|
|
77083
|
+
"type": "TextField",
|
|
77084
|
+
"props": {
|
|
77085
|
+
"placeholder": "https://…",
|
|
77086
|
+
"valuePath": "$service:himiOwnerLitePostForm.coverUrl",
|
|
77087
|
+
"keyboard": "url",
|
|
77088
|
+
"autoCapitalization": "none",
|
|
77089
|
+
"onChange": {
|
|
77090
|
+
"actionId": "tier5.himiOwnerLitePostForm.setCover"
|
|
77091
|
+
}
|
|
77092
|
+
}
|
|
77093
|
+
}
|
|
77094
|
+
},
|
|
77095
|
+
{
|
|
77096
|
+
"id": "",
|
|
77097
|
+
"body": {
|
|
77098
|
+
"package": "himalaya",
|
|
77099
|
+
"type": "Image",
|
|
77100
|
+
"props": {
|
|
77101
|
+
"url": "$service:himiOwnerLitePostForm.coverPreview",
|
|
77102
|
+
"fillWidth": true,
|
|
77103
|
+
"height": 160,
|
|
77104
|
+
"contentMode": "fit",
|
|
77105
|
+
"contentDescription": "Cover image preview"
|
|
77106
|
+
}
|
|
77107
|
+
},
|
|
77108
|
+
"modifiers": {
|
|
77109
|
+
"cornerRadius": 8,
|
|
77110
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
77111
|
+
}
|
|
77112
|
+
}
|
|
77113
|
+
]
|
|
77114
|
+
}
|
|
77115
|
+
}
|
|
77116
|
+
}
|
|
77117
|
+
}
|
|
77118
|
+
}
|
|
77025
77119
|
}
|
|
77026
77120
|
]
|
|
77027
77121
|
}
|
|
@@ -78008,50 +78102,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
78008
78102
|
}
|
|
78009
78103
|
},
|
|
78010
78104
|
{
|
|
78011
|
-
"id": "post_form.
|
|
78105
|
+
"id": "post_form.details",
|
|
78012
78106
|
"body": {
|
|
78013
78107
|
"package": "himalaya",
|
|
78014
|
-
"type": "
|
|
78015
|
-
"props": {
|
|
78016
|
-
"text": "$service:himiOwnerLitePostForm.bodyNote",
|
|
78017
|
-
"style": "footnote",
|
|
78018
|
-
"color": "textSecondary",
|
|
78019
|
-
"collapseWhenEmpty": true
|
|
78020
|
-
}
|
|
78021
|
-
}
|
|
78022
|
-
},
|
|
78023
|
-
{
|
|
78024
|
-
"id": "post_form.body_preview",
|
|
78025
|
-
"body": {
|
|
78026
|
-
"package": "himalaya",
|
|
78027
|
-
"type": "Text",
|
|
78028
|
-
"props": {
|
|
78029
|
-
"text": "$service:himiOwnerLitePostForm.body",
|
|
78030
|
-
"style": "body",
|
|
78031
|
-
"maxLines": 8,
|
|
78032
|
-
"collapseWhenEmpty": true
|
|
78033
|
-
}
|
|
78034
|
-
},
|
|
78035
|
-
"modifiers": {
|
|
78036
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyEditable"
|
|
78037
|
-
}
|
|
78038
|
-
},
|
|
78039
|
-
{
|
|
78040
|
-
"id": "",
|
|
78041
|
-
"body": {
|
|
78042
|
-
"package": "himalaya",
|
|
78043
|
-
"type": "Image",
|
|
78108
|
+
"type": "Button",
|
|
78044
78109
|
"props": {
|
|
78045
|
-
"
|
|
78046
|
-
"
|
|
78047
|
-
"
|
|
78048
|
-
"
|
|
78049
|
-
|
|
78110
|
+
"title": "Post details",
|
|
78111
|
+
"style": "secondary",
|
|
78112
|
+
"fullWidth": true,
|
|
78113
|
+
"action": {
|
|
78114
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsOpen"
|
|
78115
|
+
}
|
|
78050
78116
|
}
|
|
78051
|
-
},
|
|
78052
|
-
"modifiers": {
|
|
78053
|
-
"cornerRadius": 8,
|
|
78054
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
78055
78117
|
}
|
|
78056
78118
|
},
|
|
78057
78119
|
{
|
|
@@ -78082,67 +78144,82 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
78082
78144
|
}
|
|
78083
78145
|
},
|
|
78084
78146
|
{
|
|
78085
|
-
"id": "post_form.
|
|
78086
|
-
"body": {
|
|
78087
|
-
"package": "himalaya",
|
|
78088
|
-
"type": "FormField",
|
|
78089
|
-
"props": {
|
|
78090
|
-
"id": "excerpt",
|
|
78091
|
-
"label": "Excerpt",
|
|
78092
|
-
"kind": "text",
|
|
78093
|
-
"text": {
|
|
78094
|
-
"value": "$service:himiOwnerLitePostForm.excerpt",
|
|
78095
|
-
"placeholder": "Optional summary",
|
|
78096
|
-
"keyboard": "default",
|
|
78097
|
-
"autoCapitalization": "sentences",
|
|
78098
|
-
"multilineMaxLines": 3
|
|
78099
|
-
}
|
|
78100
|
-
}
|
|
78101
|
-
}
|
|
78102
|
-
},
|
|
78103
|
-
{
|
|
78104
|
-
"id": "post_form.body",
|
|
78105
|
-
"body": {
|
|
78106
|
-
"package": "himalaya",
|
|
78107
|
-
"type": "FormField",
|
|
78108
|
-
"props": {
|
|
78109
|
-
"id": "body",
|
|
78110
|
-
"label": "Body",
|
|
78111
|
-
"kind": "text",
|
|
78112
|
-
"text": {
|
|
78113
|
-
"value": "$service:himiOwnerLitePostForm.body",
|
|
78114
|
-
"placeholder": "Write your post",
|
|
78115
|
-
"keyboard": "default",
|
|
78116
|
-
"autoCapitalization": "sentences",
|
|
78117
|
-
"multilineMaxLines": 6
|
|
78118
|
-
}
|
|
78119
|
-
}
|
|
78120
|
-
},
|
|
78121
|
-
"modifiers": {
|
|
78122
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyProtected"
|
|
78123
|
-
}
|
|
78124
|
-
},
|
|
78125
|
-
{
|
|
78126
|
-
"id": "post_form.coverUrl",
|
|
78147
|
+
"id": "post_form.body_slot",
|
|
78127
78148
|
"body": {
|
|
78128
78149
|
"package": "himalaya",
|
|
78129
|
-
"type": "
|
|
78150
|
+
"type": "VStack",
|
|
78130
78151
|
"props": {
|
|
78131
|
-
"
|
|
78132
|
-
"
|
|
78133
|
-
"
|
|
78134
|
-
|
|
78135
|
-
|
|
78136
|
-
|
|
78137
|
-
|
|
78138
|
-
|
|
78139
|
-
|
|
78140
|
-
|
|
78141
|
-
|
|
78142
|
-
|
|
78143
|
-
|
|
78152
|
+
"spacing": 6,
|
|
78153
|
+
"alignment": "leading",
|
|
78154
|
+
"children": [
|
|
78155
|
+
{
|
|
78156
|
+
"id": "",
|
|
78157
|
+
"body": {
|
|
78158
|
+
"package": "himalaya",
|
|
78159
|
+
"type": "Text",
|
|
78160
|
+
"props": {
|
|
78161
|
+
"text": "Body",
|
|
78162
|
+
"style": "bodyEmphasis"
|
|
78163
|
+
}
|
|
78164
|
+
}
|
|
78165
|
+
},
|
|
78166
|
+
{
|
|
78167
|
+
"id": "post_body_editor",
|
|
78168
|
+
"body": {
|
|
78169
|
+
"package": "himalaya",
|
|
78170
|
+
"type": "RichContentEditor",
|
|
78171
|
+
"props": {
|
|
78172
|
+
"name": "body",
|
|
78173
|
+
"documentPath": "$service:himiOwnerLitePostForm.bodyJson",
|
|
78174
|
+
"placeholder": "Write your post",
|
|
78175
|
+
"uploadService": "himiOwnerLitePostFormUploads",
|
|
78176
|
+
"onChange": {
|
|
78177
|
+
"actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
|
|
78178
|
+
},
|
|
78179
|
+
"minHeight": 360,
|
|
78180
|
+
"fallback": {
|
|
78181
|
+
"id": "post_form.body_unavailable",
|
|
78182
|
+
"body": {
|
|
78183
|
+
"package": "himalaya",
|
|
78184
|
+
"type": "VStack",
|
|
78185
|
+
"props": {
|
|
78186
|
+
"spacing": 4,
|
|
78187
|
+
"alignment": "leading",
|
|
78188
|
+
"children": [
|
|
78189
|
+
{
|
|
78190
|
+
"id": "",
|
|
78191
|
+
"body": {
|
|
78192
|
+
"package": "himalaya",
|
|
78193
|
+
"type": "Text",
|
|
78194
|
+
"props": {
|
|
78195
|
+
"text": "Editor unavailable",
|
|
78196
|
+
"style": "title3"
|
|
78197
|
+
}
|
|
78198
|
+
}
|
|
78199
|
+
},
|
|
78200
|
+
{
|
|
78201
|
+
"id": "",
|
|
78202
|
+
"body": {
|
|
78203
|
+
"package": "himalaya",
|
|
78204
|
+
"type": "Text",
|
|
78205
|
+
"props": {
|
|
78206
|
+
"text": "The post body can’t be edited here right now. The title and details still save, and the body stays as it is.",
|
|
78207
|
+
"style": "footnote",
|
|
78208
|
+
"color": "textSecondary"
|
|
78209
|
+
}
|
|
78210
|
+
}
|
|
78211
|
+
}
|
|
78212
|
+
]
|
|
78213
|
+
}
|
|
78214
|
+
}
|
|
78215
|
+
}
|
|
78216
|
+
}
|
|
78217
|
+
},
|
|
78218
|
+
"modifiers": {
|
|
78219
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.bodyPending"
|
|
78220
|
+
}
|
|
78144
78221
|
}
|
|
78145
|
-
|
|
78222
|
+
]
|
|
78146
78223
|
}
|
|
78147
78224
|
}
|
|
78148
78225
|
}
|
|
@@ -78186,6 +78263,117 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
78186
78263
|
"modifiers": {
|
|
78187
78264
|
"hiddenPath": "$service:himiOwnerLitePostForm.hideSavedLink"
|
|
78188
78265
|
}
|
|
78266
|
+
},
|
|
78267
|
+
{
|
|
78268
|
+
"id": "post_form.details_sheet",
|
|
78269
|
+
"body": {
|
|
78270
|
+
"package": "himalaya",
|
|
78271
|
+
"type": "BottomSheet",
|
|
78272
|
+
"props": {
|
|
78273
|
+
"presentedPath": "$service:himiOwnerLitePostForm.detailsOpen",
|
|
78274
|
+
"dismissible": true,
|
|
78275
|
+
"showGrabber": true,
|
|
78276
|
+
"onDismiss": {
|
|
78277
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsClose"
|
|
78278
|
+
},
|
|
78279
|
+
"content": {
|
|
78280
|
+
"id": "post_form.details_body",
|
|
78281
|
+
"body": {
|
|
78282
|
+
"package": "himalaya",
|
|
78283
|
+
"type": "VStack",
|
|
78284
|
+
"props": {
|
|
78285
|
+
"spacing": 12,
|
|
78286
|
+
"alignment": "leading",
|
|
78287
|
+
"children": [
|
|
78288
|
+
{
|
|
78289
|
+
"id": "",
|
|
78290
|
+
"body": {
|
|
78291
|
+
"package": "himalaya",
|
|
78292
|
+
"type": "Text",
|
|
78293
|
+
"props": {
|
|
78294
|
+
"text": "Post details",
|
|
78295
|
+
"style": "title3"
|
|
78296
|
+
}
|
|
78297
|
+
}
|
|
78298
|
+
},
|
|
78299
|
+
{
|
|
78300
|
+
"id": "",
|
|
78301
|
+
"body": {
|
|
78302
|
+
"package": "himalaya",
|
|
78303
|
+
"type": "Text",
|
|
78304
|
+
"props": {
|
|
78305
|
+
"text": "Excerpt",
|
|
78306
|
+
"style": "bodyEmphasis"
|
|
78307
|
+
}
|
|
78308
|
+
}
|
|
78309
|
+
},
|
|
78310
|
+
{
|
|
78311
|
+
"id": "post_form.excerpt",
|
|
78312
|
+
"body": {
|
|
78313
|
+
"package": "himalaya",
|
|
78314
|
+
"type": "TextField",
|
|
78315
|
+
"props": {
|
|
78316
|
+
"placeholder": "Optional summary",
|
|
78317
|
+
"valuePath": "$service:himiOwnerLitePostForm.excerpt",
|
|
78318
|
+
"multilineMaxLines": 3,
|
|
78319
|
+
"autoCapitalization": "sentences",
|
|
78320
|
+
"onChange": {
|
|
78321
|
+
"actionId": "tier5.himiOwnerLitePostForm.setExcerpt"
|
|
78322
|
+
}
|
|
78323
|
+
}
|
|
78324
|
+
}
|
|
78325
|
+
},
|
|
78326
|
+
{
|
|
78327
|
+
"id": "",
|
|
78328
|
+
"body": {
|
|
78329
|
+
"package": "himalaya",
|
|
78330
|
+
"type": "Text",
|
|
78331
|
+
"props": {
|
|
78332
|
+
"text": "Cover image URL",
|
|
78333
|
+
"style": "bodyEmphasis"
|
|
78334
|
+
}
|
|
78335
|
+
}
|
|
78336
|
+
},
|
|
78337
|
+
{
|
|
78338
|
+
"id": "post_form.coverUrl",
|
|
78339
|
+
"body": {
|
|
78340
|
+
"package": "himalaya",
|
|
78341
|
+
"type": "TextField",
|
|
78342
|
+
"props": {
|
|
78343
|
+
"placeholder": "https://…",
|
|
78344
|
+
"valuePath": "$service:himiOwnerLitePostForm.coverUrl",
|
|
78345
|
+
"keyboard": "url",
|
|
78346
|
+
"autoCapitalization": "none",
|
|
78347
|
+
"onChange": {
|
|
78348
|
+
"actionId": "tier5.himiOwnerLitePostForm.setCover"
|
|
78349
|
+
}
|
|
78350
|
+
}
|
|
78351
|
+
}
|
|
78352
|
+
},
|
|
78353
|
+
{
|
|
78354
|
+
"id": "",
|
|
78355
|
+
"body": {
|
|
78356
|
+
"package": "himalaya",
|
|
78357
|
+
"type": "Image",
|
|
78358
|
+
"props": {
|
|
78359
|
+
"url": "$service:himiOwnerLitePostForm.coverPreview",
|
|
78360
|
+
"fillWidth": true,
|
|
78361
|
+
"height": 160,
|
|
78362
|
+
"contentMode": "fit",
|
|
78363
|
+
"contentDescription": "Cover image preview"
|
|
78364
|
+
}
|
|
78365
|
+
},
|
|
78366
|
+
"modifiers": {
|
|
78367
|
+
"cornerRadius": 8,
|
|
78368
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
78369
|
+
}
|
|
78370
|
+
}
|
|
78371
|
+
]
|
|
78372
|
+
}
|
|
78373
|
+
}
|
|
78374
|
+
}
|
|
78375
|
+
}
|
|
78376
|
+
}
|
|
78189
78377
|
}
|
|
78190
78378
|
]
|
|
78191
78379
|
}
|