@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
|
@@ -70962,50 +70962,18 @@ const SCREENS = runtimeSetting({
|
|
|
70962
70962
|
}
|
|
70963
70963
|
},
|
|
70964
70964
|
{
|
|
70965
|
-
"id": "post_form.
|
|
70965
|
+
"id": "post_form.details",
|
|
70966
70966
|
"body": {
|
|
70967
70967
|
"package": "himalaya",
|
|
70968
|
-
"type": "
|
|
70969
|
-
"props": {
|
|
70970
|
-
"text": "$service:himiOwnerLitePostForm.bodyNote",
|
|
70971
|
-
"style": "footnote",
|
|
70972
|
-
"color": "textSecondary",
|
|
70973
|
-
"collapseWhenEmpty": true
|
|
70974
|
-
}
|
|
70975
|
-
}
|
|
70976
|
-
},
|
|
70977
|
-
{
|
|
70978
|
-
"id": "post_form.body_preview",
|
|
70979
|
-
"body": {
|
|
70980
|
-
"package": "himalaya",
|
|
70981
|
-
"type": "Text",
|
|
70982
|
-
"props": {
|
|
70983
|
-
"text": "$service:himiOwnerLitePostForm.body",
|
|
70984
|
-
"style": "body",
|
|
70985
|
-
"maxLines": 8,
|
|
70986
|
-
"collapseWhenEmpty": true
|
|
70987
|
-
}
|
|
70988
|
-
},
|
|
70989
|
-
"modifiers": {
|
|
70990
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyEditable"
|
|
70991
|
-
}
|
|
70992
|
-
},
|
|
70993
|
-
{
|
|
70994
|
-
"id": "",
|
|
70995
|
-
"body": {
|
|
70996
|
-
"package": "himalaya",
|
|
70997
|
-
"type": "Image",
|
|
70968
|
+
"type": "Button",
|
|
70998
70969
|
"props": {
|
|
70999
|
-
"
|
|
71000
|
-
"
|
|
71001
|
-
"
|
|
71002
|
-
"
|
|
71003
|
-
|
|
70970
|
+
"title": "Post details",
|
|
70971
|
+
"style": "secondary",
|
|
70972
|
+
"fullWidth": true,
|
|
70973
|
+
"action": {
|
|
70974
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsOpen"
|
|
70975
|
+
}
|
|
71004
70976
|
}
|
|
71005
|
-
},
|
|
71006
|
-
"modifiers": {
|
|
71007
|
-
"cornerRadius": 8,
|
|
71008
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
71009
70977
|
}
|
|
71010
70978
|
},
|
|
71011
70979
|
{
|
|
@@ -71036,67 +71004,82 @@ const SCREENS = runtimeSetting({
|
|
|
71036
71004
|
}
|
|
71037
71005
|
},
|
|
71038
71006
|
{
|
|
71039
|
-
"id": "post_form.
|
|
71040
|
-
"body": {
|
|
71041
|
-
"package": "himalaya",
|
|
71042
|
-
"type": "FormField",
|
|
71043
|
-
"props": {
|
|
71044
|
-
"id": "excerpt",
|
|
71045
|
-
"label": "Excerpt",
|
|
71046
|
-
"kind": "text",
|
|
71047
|
-
"text": {
|
|
71048
|
-
"value": "$service:himiOwnerLitePostForm.excerpt",
|
|
71049
|
-
"placeholder": "Optional summary",
|
|
71050
|
-
"keyboard": "default",
|
|
71051
|
-
"autoCapitalization": "sentences",
|
|
71052
|
-
"multilineMaxLines": 3
|
|
71053
|
-
}
|
|
71054
|
-
}
|
|
71055
|
-
}
|
|
71056
|
-
},
|
|
71057
|
-
{
|
|
71058
|
-
"id": "post_form.body",
|
|
71059
|
-
"body": {
|
|
71060
|
-
"package": "himalaya",
|
|
71061
|
-
"type": "FormField",
|
|
71062
|
-
"props": {
|
|
71063
|
-
"id": "body",
|
|
71064
|
-
"label": "Body",
|
|
71065
|
-
"kind": "text",
|
|
71066
|
-
"text": {
|
|
71067
|
-
"value": "$service:himiOwnerLitePostForm.body",
|
|
71068
|
-
"placeholder": "Write your post",
|
|
71069
|
-
"keyboard": "default",
|
|
71070
|
-
"autoCapitalization": "sentences",
|
|
71071
|
-
"multilineMaxLines": 6
|
|
71072
|
-
}
|
|
71073
|
-
}
|
|
71074
|
-
},
|
|
71075
|
-
"modifiers": {
|
|
71076
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyProtected"
|
|
71077
|
-
}
|
|
71078
|
-
},
|
|
71079
|
-
{
|
|
71080
|
-
"id": "post_form.coverUrl",
|
|
71007
|
+
"id": "post_form.body_slot",
|
|
71081
71008
|
"body": {
|
|
71082
71009
|
"package": "himalaya",
|
|
71083
|
-
"type": "
|
|
71010
|
+
"type": "VStack",
|
|
71084
71011
|
"props": {
|
|
71085
|
-
"
|
|
71086
|
-
"
|
|
71087
|
-
"
|
|
71088
|
-
|
|
71089
|
-
|
|
71090
|
-
|
|
71091
|
-
|
|
71092
|
-
|
|
71093
|
-
|
|
71094
|
-
|
|
71095
|
-
|
|
71096
|
-
|
|
71097
|
-
|
|
71012
|
+
"spacing": 6,
|
|
71013
|
+
"alignment": "leading",
|
|
71014
|
+
"children": [
|
|
71015
|
+
{
|
|
71016
|
+
"id": "",
|
|
71017
|
+
"body": {
|
|
71018
|
+
"package": "himalaya",
|
|
71019
|
+
"type": "Text",
|
|
71020
|
+
"props": {
|
|
71021
|
+
"text": "Body",
|
|
71022
|
+
"style": "bodyEmphasis"
|
|
71023
|
+
}
|
|
71024
|
+
}
|
|
71025
|
+
},
|
|
71026
|
+
{
|
|
71027
|
+
"id": "post_body_editor",
|
|
71028
|
+
"body": {
|
|
71029
|
+
"package": "himalaya",
|
|
71030
|
+
"type": "RichContentEditor",
|
|
71031
|
+
"props": {
|
|
71032
|
+
"name": "body",
|
|
71033
|
+
"documentPath": "$service:himiOwnerLitePostForm.bodyJson",
|
|
71034
|
+
"placeholder": "Write your post",
|
|
71035
|
+
"uploadService": "himiOwnerLitePostFormUploads",
|
|
71036
|
+
"onChange": {
|
|
71037
|
+
"actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
|
|
71038
|
+
},
|
|
71039
|
+
"minHeight": 360,
|
|
71040
|
+
"fallback": {
|
|
71041
|
+
"id": "post_form.body_unavailable",
|
|
71042
|
+
"body": {
|
|
71043
|
+
"package": "himalaya",
|
|
71044
|
+
"type": "VStack",
|
|
71045
|
+
"props": {
|
|
71046
|
+
"spacing": 4,
|
|
71047
|
+
"alignment": "leading",
|
|
71048
|
+
"children": [
|
|
71049
|
+
{
|
|
71050
|
+
"id": "",
|
|
71051
|
+
"body": {
|
|
71052
|
+
"package": "himalaya",
|
|
71053
|
+
"type": "Text",
|
|
71054
|
+
"props": {
|
|
71055
|
+
"text": "Editor unavailable",
|
|
71056
|
+
"style": "title3"
|
|
71057
|
+
}
|
|
71058
|
+
}
|
|
71059
|
+
},
|
|
71060
|
+
{
|
|
71061
|
+
"id": "",
|
|
71062
|
+
"body": {
|
|
71063
|
+
"package": "himalaya",
|
|
71064
|
+
"type": "Text",
|
|
71065
|
+
"props": {
|
|
71066
|
+
"text": "The post body can’t be edited here right now. The title and details still save, and the body stays as it is.",
|
|
71067
|
+
"style": "footnote",
|
|
71068
|
+
"color": "textSecondary"
|
|
71069
|
+
}
|
|
71070
|
+
}
|
|
71071
|
+
}
|
|
71072
|
+
]
|
|
71073
|
+
}
|
|
71074
|
+
}
|
|
71075
|
+
}
|
|
71076
|
+
}
|
|
71077
|
+
},
|
|
71078
|
+
"modifiers": {
|
|
71079
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.bodyPending"
|
|
71080
|
+
}
|
|
71098
71081
|
}
|
|
71099
|
-
|
|
71082
|
+
]
|
|
71100
71083
|
}
|
|
71101
71084
|
}
|
|
71102
71085
|
}
|
|
@@ -71140,6 +71123,117 @@ const SCREENS = runtimeSetting({
|
|
|
71140
71123
|
"modifiers": {
|
|
71141
71124
|
"hiddenPath": "$service:himiOwnerLitePostForm.hideSavedLink"
|
|
71142
71125
|
}
|
|
71126
|
+
},
|
|
71127
|
+
{
|
|
71128
|
+
"id": "post_form.details_sheet",
|
|
71129
|
+
"body": {
|
|
71130
|
+
"package": "himalaya",
|
|
71131
|
+
"type": "BottomSheet",
|
|
71132
|
+
"props": {
|
|
71133
|
+
"presentedPath": "$service:himiOwnerLitePostForm.detailsOpen",
|
|
71134
|
+
"dismissible": true,
|
|
71135
|
+
"showGrabber": true,
|
|
71136
|
+
"onDismiss": {
|
|
71137
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsClose"
|
|
71138
|
+
},
|
|
71139
|
+
"content": {
|
|
71140
|
+
"id": "post_form.details_body",
|
|
71141
|
+
"body": {
|
|
71142
|
+
"package": "himalaya",
|
|
71143
|
+
"type": "VStack",
|
|
71144
|
+
"props": {
|
|
71145
|
+
"spacing": 12,
|
|
71146
|
+
"alignment": "leading",
|
|
71147
|
+
"children": [
|
|
71148
|
+
{
|
|
71149
|
+
"id": "",
|
|
71150
|
+
"body": {
|
|
71151
|
+
"package": "himalaya",
|
|
71152
|
+
"type": "Text",
|
|
71153
|
+
"props": {
|
|
71154
|
+
"text": "Post details",
|
|
71155
|
+
"style": "title3"
|
|
71156
|
+
}
|
|
71157
|
+
}
|
|
71158
|
+
},
|
|
71159
|
+
{
|
|
71160
|
+
"id": "",
|
|
71161
|
+
"body": {
|
|
71162
|
+
"package": "himalaya",
|
|
71163
|
+
"type": "Text",
|
|
71164
|
+
"props": {
|
|
71165
|
+
"text": "Excerpt",
|
|
71166
|
+
"style": "bodyEmphasis"
|
|
71167
|
+
}
|
|
71168
|
+
}
|
|
71169
|
+
},
|
|
71170
|
+
{
|
|
71171
|
+
"id": "post_form.excerpt",
|
|
71172
|
+
"body": {
|
|
71173
|
+
"package": "himalaya",
|
|
71174
|
+
"type": "TextField",
|
|
71175
|
+
"props": {
|
|
71176
|
+
"placeholder": "Optional summary",
|
|
71177
|
+
"valuePath": "$service:himiOwnerLitePostForm.excerpt",
|
|
71178
|
+
"multilineMaxLines": 3,
|
|
71179
|
+
"autoCapitalization": "sentences",
|
|
71180
|
+
"onChange": {
|
|
71181
|
+
"actionId": "tier5.himiOwnerLitePostForm.setExcerpt"
|
|
71182
|
+
}
|
|
71183
|
+
}
|
|
71184
|
+
}
|
|
71185
|
+
},
|
|
71186
|
+
{
|
|
71187
|
+
"id": "",
|
|
71188
|
+
"body": {
|
|
71189
|
+
"package": "himalaya",
|
|
71190
|
+
"type": "Text",
|
|
71191
|
+
"props": {
|
|
71192
|
+
"text": "Cover image URL",
|
|
71193
|
+
"style": "bodyEmphasis"
|
|
71194
|
+
}
|
|
71195
|
+
}
|
|
71196
|
+
},
|
|
71197
|
+
{
|
|
71198
|
+
"id": "post_form.coverUrl",
|
|
71199
|
+
"body": {
|
|
71200
|
+
"package": "himalaya",
|
|
71201
|
+
"type": "TextField",
|
|
71202
|
+
"props": {
|
|
71203
|
+
"placeholder": "https://…",
|
|
71204
|
+
"valuePath": "$service:himiOwnerLitePostForm.coverUrl",
|
|
71205
|
+
"keyboard": "url",
|
|
71206
|
+
"autoCapitalization": "none",
|
|
71207
|
+
"onChange": {
|
|
71208
|
+
"actionId": "tier5.himiOwnerLitePostForm.setCover"
|
|
71209
|
+
}
|
|
71210
|
+
}
|
|
71211
|
+
}
|
|
71212
|
+
},
|
|
71213
|
+
{
|
|
71214
|
+
"id": "",
|
|
71215
|
+
"body": {
|
|
71216
|
+
"package": "himalaya",
|
|
71217
|
+
"type": "Image",
|
|
71218
|
+
"props": {
|
|
71219
|
+
"url": "$service:himiOwnerLitePostForm.coverPreview",
|
|
71220
|
+
"fillWidth": true,
|
|
71221
|
+
"height": 160,
|
|
71222
|
+
"contentMode": "fit",
|
|
71223
|
+
"contentDescription": "Cover image preview"
|
|
71224
|
+
}
|
|
71225
|
+
},
|
|
71226
|
+
"modifiers": {
|
|
71227
|
+
"cornerRadius": 8,
|
|
71228
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
71229
|
+
}
|
|
71230
|
+
}
|
|
71231
|
+
]
|
|
71232
|
+
}
|
|
71233
|
+
}
|
|
71234
|
+
}
|
|
71235
|
+
}
|
|
71236
|
+
}
|
|
71143
71237
|
}
|
|
71144
71238
|
]
|
|
71145
71239
|
}
|
|
@@ -71811,50 +71905,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
71811
71905
|
}
|
|
71812
71906
|
},
|
|
71813
71907
|
{
|
|
71814
|
-
"id": "post_form.
|
|
71908
|
+
"id": "post_form.details",
|
|
71815
71909
|
"body": {
|
|
71816
71910
|
"package": "himalaya",
|
|
71817
|
-
"type": "
|
|
71818
|
-
"props": {
|
|
71819
|
-
"text": "$service:himiOwnerLitePostForm.bodyNote",
|
|
71820
|
-
"style": "footnote",
|
|
71821
|
-
"color": "textSecondary",
|
|
71822
|
-
"collapseWhenEmpty": true
|
|
71823
|
-
}
|
|
71824
|
-
}
|
|
71825
|
-
},
|
|
71826
|
-
{
|
|
71827
|
-
"id": "post_form.body_preview",
|
|
71828
|
-
"body": {
|
|
71829
|
-
"package": "himalaya",
|
|
71830
|
-
"type": "Text",
|
|
71831
|
-
"props": {
|
|
71832
|
-
"text": "$service:himiOwnerLitePostForm.body",
|
|
71833
|
-
"style": "body",
|
|
71834
|
-
"maxLines": 8,
|
|
71835
|
-
"collapseWhenEmpty": true
|
|
71836
|
-
}
|
|
71837
|
-
},
|
|
71838
|
-
"modifiers": {
|
|
71839
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyEditable"
|
|
71840
|
-
}
|
|
71841
|
-
},
|
|
71842
|
-
{
|
|
71843
|
-
"id": "",
|
|
71844
|
-
"body": {
|
|
71845
|
-
"package": "himalaya",
|
|
71846
|
-
"type": "Image",
|
|
71911
|
+
"type": "Button",
|
|
71847
71912
|
"props": {
|
|
71848
|
-
"
|
|
71849
|
-
"
|
|
71850
|
-
"
|
|
71851
|
-
"
|
|
71852
|
-
|
|
71913
|
+
"title": "Post details",
|
|
71914
|
+
"style": "secondary",
|
|
71915
|
+
"fullWidth": true,
|
|
71916
|
+
"action": {
|
|
71917
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsOpen"
|
|
71918
|
+
}
|
|
71853
71919
|
}
|
|
71854
|
-
},
|
|
71855
|
-
"modifiers": {
|
|
71856
|
-
"cornerRadius": 8,
|
|
71857
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
71858
71920
|
}
|
|
71859
71921
|
},
|
|
71860
71922
|
{
|
|
@@ -71885,67 +71947,82 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
71885
71947
|
}
|
|
71886
71948
|
},
|
|
71887
71949
|
{
|
|
71888
|
-
"id": "post_form.
|
|
71889
|
-
"body": {
|
|
71890
|
-
"package": "himalaya",
|
|
71891
|
-
"type": "FormField",
|
|
71892
|
-
"props": {
|
|
71893
|
-
"id": "excerpt",
|
|
71894
|
-
"label": "Excerpt",
|
|
71895
|
-
"kind": "text",
|
|
71896
|
-
"text": {
|
|
71897
|
-
"value": "$service:himiOwnerLitePostForm.excerpt",
|
|
71898
|
-
"placeholder": "Optional summary",
|
|
71899
|
-
"keyboard": "default",
|
|
71900
|
-
"autoCapitalization": "sentences",
|
|
71901
|
-
"multilineMaxLines": 3
|
|
71902
|
-
}
|
|
71903
|
-
}
|
|
71904
|
-
}
|
|
71905
|
-
},
|
|
71906
|
-
{
|
|
71907
|
-
"id": "post_form.body",
|
|
71908
|
-
"body": {
|
|
71909
|
-
"package": "himalaya",
|
|
71910
|
-
"type": "FormField",
|
|
71911
|
-
"props": {
|
|
71912
|
-
"id": "body",
|
|
71913
|
-
"label": "Body",
|
|
71914
|
-
"kind": "text",
|
|
71915
|
-
"text": {
|
|
71916
|
-
"value": "$service:himiOwnerLitePostForm.body",
|
|
71917
|
-
"placeholder": "Write your post",
|
|
71918
|
-
"keyboard": "default",
|
|
71919
|
-
"autoCapitalization": "sentences",
|
|
71920
|
-
"multilineMaxLines": 6
|
|
71921
|
-
}
|
|
71922
|
-
}
|
|
71923
|
-
},
|
|
71924
|
-
"modifiers": {
|
|
71925
|
-
"hiddenPath": "$service:himiOwnerLitePostForm.bodyProtected"
|
|
71926
|
-
}
|
|
71927
|
-
},
|
|
71928
|
-
{
|
|
71929
|
-
"id": "post_form.coverUrl",
|
|
71950
|
+
"id": "post_form.body_slot",
|
|
71930
71951
|
"body": {
|
|
71931
71952
|
"package": "himalaya",
|
|
71932
|
-
"type": "
|
|
71953
|
+
"type": "VStack",
|
|
71933
71954
|
"props": {
|
|
71934
|
-
"
|
|
71935
|
-
"
|
|
71936
|
-
"
|
|
71937
|
-
|
|
71938
|
-
|
|
71939
|
-
|
|
71940
|
-
|
|
71941
|
-
|
|
71942
|
-
|
|
71943
|
-
|
|
71944
|
-
|
|
71945
|
-
|
|
71946
|
-
|
|
71955
|
+
"spacing": 6,
|
|
71956
|
+
"alignment": "leading",
|
|
71957
|
+
"children": [
|
|
71958
|
+
{
|
|
71959
|
+
"id": "",
|
|
71960
|
+
"body": {
|
|
71961
|
+
"package": "himalaya",
|
|
71962
|
+
"type": "Text",
|
|
71963
|
+
"props": {
|
|
71964
|
+
"text": "Body",
|
|
71965
|
+
"style": "bodyEmphasis"
|
|
71966
|
+
}
|
|
71967
|
+
}
|
|
71968
|
+
},
|
|
71969
|
+
{
|
|
71970
|
+
"id": "post_body_editor",
|
|
71971
|
+
"body": {
|
|
71972
|
+
"package": "himalaya",
|
|
71973
|
+
"type": "RichContentEditor",
|
|
71974
|
+
"props": {
|
|
71975
|
+
"name": "body",
|
|
71976
|
+
"documentPath": "$service:himiOwnerLitePostForm.bodyJson",
|
|
71977
|
+
"placeholder": "Write your post",
|
|
71978
|
+
"uploadService": "himiOwnerLitePostFormUploads",
|
|
71979
|
+
"onChange": {
|
|
71980
|
+
"actionId": "tier5.himiOwnerLitePostForm.bodyChanged"
|
|
71981
|
+
},
|
|
71982
|
+
"minHeight": 360,
|
|
71983
|
+
"fallback": {
|
|
71984
|
+
"id": "post_form.body_unavailable",
|
|
71985
|
+
"body": {
|
|
71986
|
+
"package": "himalaya",
|
|
71987
|
+
"type": "VStack",
|
|
71988
|
+
"props": {
|
|
71989
|
+
"spacing": 4,
|
|
71990
|
+
"alignment": "leading",
|
|
71991
|
+
"children": [
|
|
71992
|
+
{
|
|
71993
|
+
"id": "",
|
|
71994
|
+
"body": {
|
|
71995
|
+
"package": "himalaya",
|
|
71996
|
+
"type": "Text",
|
|
71997
|
+
"props": {
|
|
71998
|
+
"text": "Editor unavailable",
|
|
71999
|
+
"style": "title3"
|
|
72000
|
+
}
|
|
72001
|
+
}
|
|
72002
|
+
},
|
|
72003
|
+
{
|
|
72004
|
+
"id": "",
|
|
72005
|
+
"body": {
|
|
72006
|
+
"package": "himalaya",
|
|
72007
|
+
"type": "Text",
|
|
72008
|
+
"props": {
|
|
72009
|
+
"text": "The post body can’t be edited here right now. The title and details still save, and the body stays as it is.",
|
|
72010
|
+
"style": "footnote",
|
|
72011
|
+
"color": "textSecondary"
|
|
72012
|
+
}
|
|
72013
|
+
}
|
|
72014
|
+
}
|
|
72015
|
+
]
|
|
72016
|
+
}
|
|
72017
|
+
}
|
|
72018
|
+
}
|
|
72019
|
+
}
|
|
72020
|
+
},
|
|
72021
|
+
"modifiers": {
|
|
72022
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.bodyPending"
|
|
72023
|
+
}
|
|
71947
72024
|
}
|
|
71948
|
-
|
|
72025
|
+
]
|
|
71949
72026
|
}
|
|
71950
72027
|
}
|
|
71951
72028
|
}
|
|
@@ -71989,6 +72066,117 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
71989
72066
|
"modifiers": {
|
|
71990
72067
|
"hiddenPath": "$service:himiOwnerLitePostForm.hideSavedLink"
|
|
71991
72068
|
}
|
|
72069
|
+
},
|
|
72070
|
+
{
|
|
72071
|
+
"id": "post_form.details_sheet",
|
|
72072
|
+
"body": {
|
|
72073
|
+
"package": "himalaya",
|
|
72074
|
+
"type": "BottomSheet",
|
|
72075
|
+
"props": {
|
|
72076
|
+
"presentedPath": "$service:himiOwnerLitePostForm.detailsOpen",
|
|
72077
|
+
"dismissible": true,
|
|
72078
|
+
"showGrabber": true,
|
|
72079
|
+
"onDismiss": {
|
|
72080
|
+
"actionId": "tier5.himiOwnerLitePostForm.detailsClose"
|
|
72081
|
+
},
|
|
72082
|
+
"content": {
|
|
72083
|
+
"id": "post_form.details_body",
|
|
72084
|
+
"body": {
|
|
72085
|
+
"package": "himalaya",
|
|
72086
|
+
"type": "VStack",
|
|
72087
|
+
"props": {
|
|
72088
|
+
"spacing": 12,
|
|
72089
|
+
"alignment": "leading",
|
|
72090
|
+
"children": [
|
|
72091
|
+
{
|
|
72092
|
+
"id": "",
|
|
72093
|
+
"body": {
|
|
72094
|
+
"package": "himalaya",
|
|
72095
|
+
"type": "Text",
|
|
72096
|
+
"props": {
|
|
72097
|
+
"text": "Post details",
|
|
72098
|
+
"style": "title3"
|
|
72099
|
+
}
|
|
72100
|
+
}
|
|
72101
|
+
},
|
|
72102
|
+
{
|
|
72103
|
+
"id": "",
|
|
72104
|
+
"body": {
|
|
72105
|
+
"package": "himalaya",
|
|
72106
|
+
"type": "Text",
|
|
72107
|
+
"props": {
|
|
72108
|
+
"text": "Excerpt",
|
|
72109
|
+
"style": "bodyEmphasis"
|
|
72110
|
+
}
|
|
72111
|
+
}
|
|
72112
|
+
},
|
|
72113
|
+
{
|
|
72114
|
+
"id": "post_form.excerpt",
|
|
72115
|
+
"body": {
|
|
72116
|
+
"package": "himalaya",
|
|
72117
|
+
"type": "TextField",
|
|
72118
|
+
"props": {
|
|
72119
|
+
"placeholder": "Optional summary",
|
|
72120
|
+
"valuePath": "$service:himiOwnerLitePostForm.excerpt",
|
|
72121
|
+
"multilineMaxLines": 3,
|
|
72122
|
+
"autoCapitalization": "sentences",
|
|
72123
|
+
"onChange": {
|
|
72124
|
+
"actionId": "tier5.himiOwnerLitePostForm.setExcerpt"
|
|
72125
|
+
}
|
|
72126
|
+
}
|
|
72127
|
+
}
|
|
72128
|
+
},
|
|
72129
|
+
{
|
|
72130
|
+
"id": "",
|
|
72131
|
+
"body": {
|
|
72132
|
+
"package": "himalaya",
|
|
72133
|
+
"type": "Text",
|
|
72134
|
+
"props": {
|
|
72135
|
+
"text": "Cover image URL",
|
|
72136
|
+
"style": "bodyEmphasis"
|
|
72137
|
+
}
|
|
72138
|
+
}
|
|
72139
|
+
},
|
|
72140
|
+
{
|
|
72141
|
+
"id": "post_form.coverUrl",
|
|
72142
|
+
"body": {
|
|
72143
|
+
"package": "himalaya",
|
|
72144
|
+
"type": "TextField",
|
|
72145
|
+
"props": {
|
|
72146
|
+
"placeholder": "https://…",
|
|
72147
|
+
"valuePath": "$service:himiOwnerLitePostForm.coverUrl",
|
|
72148
|
+
"keyboard": "url",
|
|
72149
|
+
"autoCapitalization": "none",
|
|
72150
|
+
"onChange": {
|
|
72151
|
+
"actionId": "tier5.himiOwnerLitePostForm.setCover"
|
|
72152
|
+
}
|
|
72153
|
+
}
|
|
72154
|
+
}
|
|
72155
|
+
},
|
|
72156
|
+
{
|
|
72157
|
+
"id": "",
|
|
72158
|
+
"body": {
|
|
72159
|
+
"package": "himalaya",
|
|
72160
|
+
"type": "Image",
|
|
72161
|
+
"props": {
|
|
72162
|
+
"url": "$service:himiOwnerLitePostForm.coverPreview",
|
|
72163
|
+
"fillWidth": true,
|
|
72164
|
+
"height": 160,
|
|
72165
|
+
"contentMode": "fit",
|
|
72166
|
+
"contentDescription": "Cover image preview"
|
|
72167
|
+
}
|
|
72168
|
+
},
|
|
72169
|
+
"modifiers": {
|
|
72170
|
+
"cornerRadius": 8,
|
|
72171
|
+
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
72172
|
+
}
|
|
72173
|
+
}
|
|
72174
|
+
]
|
|
72175
|
+
}
|
|
72176
|
+
}
|
|
72177
|
+
}
|
|
72178
|
+
}
|
|
72179
|
+
}
|
|
71992
72180
|
}
|
|
71993
72181
|
]
|
|
71994
72182
|
}
|
|
@@ -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
|