@wix/himalaya-cli 0.1174.0 → 0.1176.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.
@@ -6005,50 +6005,72 @@ const SCREENS = runtimeSetting({
6005
6005
  }
6006
6006
  },
6007
6007
  {
6008
- "id": "himi_create_post.title_field",
6008
+ "id": "himi_create_post.form",
6009
6009
  "body": {
6010
6010
  "package": "himalaya",
6011
- "type": "TextField",
6012
- "props": {
6013
- "placeholder": "Title",
6014
- "value": "",
6015
- "submitLabel": "next",
6016
- "onSubmit": {
6017
- "actionId": "tier5.spacesCreatePost.focusBody"
6018
- },
6019
- "onChange": {
6020
- "actionId": "tier5.spacesCreatePost.setTitle"
6021
- }
6022
- }
6023
- }
6024
- },
6025
- {
6026
- "id": "himi_create_post.body_field",
6027
- "body": {
6028
- "package": "himalaya",
6029
- "type": "TextField",
6030
- "props": {
6031
- "placeholder": "Write something…",
6032
- "value": "",
6033
- "multilineMaxLines": 6,
6034
- "focusPath": "$service:spacesCreatePost.bodyFocus",
6035
- "onChange": {
6036
- "actionId": "tier5.spacesCreatePost.setBody"
6037
- }
6038
- }
6039
- }
6040
- },
6041
- {
6042
- "id": "himi_create_post.submit",
6043
- "body": {
6044
- "package": "himalaya",
6045
- "type": "Button",
6011
+ "type": "Form",
6046
6012
  "props": {
6047
- "title": "Post",
6048
- "style": "primary",
6049
- "fullWidth": true,
6050
- "action": {
6051
- "actionId": "tier5.spacesCreatePost.submit"
6013
+ "id": "himiCreatePostForm",
6014
+ "fields": [
6015
+ {
6016
+ "id": "himi_create_post.title_field",
6017
+ "body": {
6018
+ "package": "himalaya",
6019
+ "type": "FormField",
6020
+ "props": {
6021
+ "id": "title",
6022
+ "label": "Title",
6023
+ "kind": "text",
6024
+ "text": {
6025
+ "placeholder": "Add a title",
6026
+ "value": "",
6027
+ "submitLabel": "next",
6028
+ "onSubmit": {
6029
+ "actionId": "tier5.spacesCreatePost.focusBody"
6030
+ },
6031
+ "onChange": {
6032
+ "actionId": "tier5.spacesCreatePost.setTitle"
6033
+ }
6034
+ }
6035
+ }
6036
+ }
6037
+ },
6038
+ {
6039
+ "id": "himi_create_post.body_field",
6040
+ "body": {
6041
+ "package": "himalaya",
6042
+ "type": "FormField",
6043
+ "props": {
6044
+ "id": "body",
6045
+ "label": "Your post",
6046
+ "kind": "text",
6047
+ "text": {
6048
+ "placeholder": "Write something…",
6049
+ "value": "",
6050
+ "multilineMaxLines": 6,
6051
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
6052
+ "onChange": {
6053
+ "actionId": "tier5.spacesCreatePost.setBody"
6054
+ }
6055
+ }
6056
+ }
6057
+ }
6058
+ }
6059
+ ],
6060
+ "submitButton": {
6061
+ "id": "himi_create_post.submit",
6062
+ "body": {
6063
+ "package": "himalaya",
6064
+ "type": "Button",
6065
+ "props": {
6066
+ "title": "Post",
6067
+ "style": "primary",
6068
+ "fullWidth": true,
6069
+ "action": {
6070
+ "actionId": "tier5.spacesCreatePost.submit"
6071
+ }
6072
+ }
6073
+ }
6052
6074
  }
6053
6075
  }
6054
6076
  }
@@ -21529,50 +21529,72 @@ const SCREENS = runtimeSetting({
21529
21529
  }
21530
21530
  },
21531
21531
  {
21532
- "id": "himi_create_post.title_field",
21532
+ "id": "himi_create_post.form",
21533
21533
  "body": {
21534
21534
  "package": "himalaya",
21535
- "type": "TextField",
21536
- "props": {
21537
- "placeholder": "Title",
21538
- "value": "",
21539
- "submitLabel": "next",
21540
- "onSubmit": {
21541
- "actionId": "tier5.spacesCreatePost.focusBody"
21542
- },
21543
- "onChange": {
21544
- "actionId": "tier5.spacesCreatePost.setTitle"
21545
- }
21546
- }
21547
- }
21548
- },
21549
- {
21550
- "id": "himi_create_post.body_field",
21551
- "body": {
21552
- "package": "himalaya",
21553
- "type": "TextField",
21535
+ "type": "Form",
21554
21536
  "props": {
21555
- "placeholder": "Write something…",
21556
- "value": "",
21557
- "multilineMaxLines": 6,
21558
- "focusPath": "$service:spacesCreatePost.bodyFocus",
21559
- "onChange": {
21560
- "actionId": "tier5.spacesCreatePost.setBody"
21561
- }
21562
- }
21563
- }
21564
- },
21565
- {
21566
- "id": "himi_create_post.submit",
21567
- "body": {
21568
- "package": "himalaya",
21569
- "type": "Button",
21570
- "props": {
21571
- "title": "Post",
21572
- "style": "primary",
21573
- "fullWidth": true,
21574
- "action": {
21575
- "actionId": "tier5.spacesCreatePost.submit"
21537
+ "id": "himiCreatePostForm",
21538
+ "fields": [
21539
+ {
21540
+ "id": "himi_create_post.title_field",
21541
+ "body": {
21542
+ "package": "himalaya",
21543
+ "type": "FormField",
21544
+ "props": {
21545
+ "id": "title",
21546
+ "label": "Title",
21547
+ "kind": "text",
21548
+ "text": {
21549
+ "placeholder": "Add a title",
21550
+ "value": "",
21551
+ "submitLabel": "next",
21552
+ "onSubmit": {
21553
+ "actionId": "tier5.spacesCreatePost.focusBody"
21554
+ },
21555
+ "onChange": {
21556
+ "actionId": "tier5.spacesCreatePost.setTitle"
21557
+ }
21558
+ }
21559
+ }
21560
+ }
21561
+ },
21562
+ {
21563
+ "id": "himi_create_post.body_field",
21564
+ "body": {
21565
+ "package": "himalaya",
21566
+ "type": "FormField",
21567
+ "props": {
21568
+ "id": "body",
21569
+ "label": "Your post",
21570
+ "kind": "text",
21571
+ "text": {
21572
+ "placeholder": "Write something…",
21573
+ "value": "",
21574
+ "multilineMaxLines": 6,
21575
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
21576
+ "onChange": {
21577
+ "actionId": "tier5.spacesCreatePost.setBody"
21578
+ }
21579
+ }
21580
+ }
21581
+ }
21582
+ }
21583
+ ],
21584
+ "submitButton": {
21585
+ "id": "himi_create_post.submit",
21586
+ "body": {
21587
+ "package": "himalaya",
21588
+ "type": "Button",
21589
+ "props": {
21590
+ "title": "Post",
21591
+ "style": "primary",
21592
+ "fullWidth": true,
21593
+ "action": {
21594
+ "actionId": "tier5.spacesCreatePost.submit"
21595
+ }
21596
+ }
21597
+ }
21576
21598
  }
21577
21599
  }
21578
21600
  }
@@ -9291,50 +9291,72 @@ const SCREENS = runtimeSetting({
9291
9291
  }
9292
9292
  },
9293
9293
  {
9294
- "id": "himi_create_post.title_field",
9294
+ "id": "himi_create_post.form",
9295
9295
  "body": {
9296
9296
  "package": "himalaya",
9297
- "type": "TextField",
9298
- "props": {
9299
- "placeholder": "Title",
9300
- "value": "",
9301
- "submitLabel": "next",
9302
- "onSubmit": {
9303
- "actionId": "tier5.spacesCreatePost.focusBody"
9304
- },
9305
- "onChange": {
9306
- "actionId": "tier5.spacesCreatePost.setTitle"
9307
- }
9308
- }
9309
- }
9310
- },
9311
- {
9312
- "id": "himi_create_post.body_field",
9313
- "body": {
9314
- "package": "himalaya",
9315
- "type": "TextField",
9316
- "props": {
9317
- "placeholder": "Write something…",
9318
- "value": "",
9319
- "multilineMaxLines": 6,
9320
- "focusPath": "$service:spacesCreatePost.bodyFocus",
9321
- "onChange": {
9322
- "actionId": "tier5.spacesCreatePost.setBody"
9323
- }
9324
- }
9325
- }
9326
- },
9327
- {
9328
- "id": "himi_create_post.submit",
9329
- "body": {
9330
- "package": "himalaya",
9331
- "type": "Button",
9297
+ "type": "Form",
9332
9298
  "props": {
9333
- "title": "Post",
9334
- "style": "primary",
9335
- "fullWidth": true,
9336
- "action": {
9337
- "actionId": "tier5.spacesCreatePost.submit"
9299
+ "id": "himiCreatePostForm",
9300
+ "fields": [
9301
+ {
9302
+ "id": "himi_create_post.title_field",
9303
+ "body": {
9304
+ "package": "himalaya",
9305
+ "type": "FormField",
9306
+ "props": {
9307
+ "id": "title",
9308
+ "label": "Title",
9309
+ "kind": "text",
9310
+ "text": {
9311
+ "placeholder": "Add a title",
9312
+ "value": "",
9313
+ "submitLabel": "next",
9314
+ "onSubmit": {
9315
+ "actionId": "tier5.spacesCreatePost.focusBody"
9316
+ },
9317
+ "onChange": {
9318
+ "actionId": "tier5.spacesCreatePost.setTitle"
9319
+ }
9320
+ }
9321
+ }
9322
+ }
9323
+ },
9324
+ {
9325
+ "id": "himi_create_post.body_field",
9326
+ "body": {
9327
+ "package": "himalaya",
9328
+ "type": "FormField",
9329
+ "props": {
9330
+ "id": "body",
9331
+ "label": "Your post",
9332
+ "kind": "text",
9333
+ "text": {
9334
+ "placeholder": "Write something…",
9335
+ "value": "",
9336
+ "multilineMaxLines": 6,
9337
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
9338
+ "onChange": {
9339
+ "actionId": "tier5.spacesCreatePost.setBody"
9340
+ }
9341
+ }
9342
+ }
9343
+ }
9344
+ }
9345
+ ],
9346
+ "submitButton": {
9347
+ "id": "himi_create_post.submit",
9348
+ "body": {
9349
+ "package": "himalaya",
9350
+ "type": "Button",
9351
+ "props": {
9352
+ "title": "Post",
9353
+ "style": "primary",
9354
+ "fullWidth": true,
9355
+ "action": {
9356
+ "actionId": "tier5.spacesCreatePost.submit"
9357
+ }
9358
+ }
9359
+ }
9338
9360
  }
9339
9361
  }
9340
9362
  }
@@ -9229,50 +9229,72 @@ const SCREENS = runtimeSetting({
9229
9229
  }
9230
9230
  },
9231
9231
  {
9232
- "id": "himi_create_post.title_field",
9232
+ "id": "himi_create_post.form",
9233
9233
  "body": {
9234
9234
  "package": "himalaya",
9235
- "type": "TextField",
9236
- "props": {
9237
- "placeholder": "Title",
9238
- "value": "",
9239
- "submitLabel": "next",
9240
- "onSubmit": {
9241
- "actionId": "tier5.spacesCreatePost.focusBody"
9242
- },
9243
- "onChange": {
9244
- "actionId": "tier5.spacesCreatePost.setTitle"
9245
- }
9246
- }
9247
- }
9248
- },
9249
- {
9250
- "id": "himi_create_post.body_field",
9251
- "body": {
9252
- "package": "himalaya",
9253
- "type": "TextField",
9254
- "props": {
9255
- "placeholder": "Write something…",
9256
- "value": "",
9257
- "multilineMaxLines": 6,
9258
- "focusPath": "$service:spacesCreatePost.bodyFocus",
9259
- "onChange": {
9260
- "actionId": "tier5.spacesCreatePost.setBody"
9261
- }
9262
- }
9263
- }
9264
- },
9265
- {
9266
- "id": "himi_create_post.submit",
9267
- "body": {
9268
- "package": "himalaya",
9269
- "type": "Button",
9235
+ "type": "Form",
9270
9236
  "props": {
9271
- "title": "Post",
9272
- "style": "primary",
9273
- "fullWidth": true,
9274
- "action": {
9275
- "actionId": "tier5.spacesCreatePost.submit"
9237
+ "id": "himiCreatePostForm",
9238
+ "fields": [
9239
+ {
9240
+ "id": "himi_create_post.title_field",
9241
+ "body": {
9242
+ "package": "himalaya",
9243
+ "type": "FormField",
9244
+ "props": {
9245
+ "id": "title",
9246
+ "label": "Title",
9247
+ "kind": "text",
9248
+ "text": {
9249
+ "placeholder": "Add a title",
9250
+ "value": "",
9251
+ "submitLabel": "next",
9252
+ "onSubmit": {
9253
+ "actionId": "tier5.spacesCreatePost.focusBody"
9254
+ },
9255
+ "onChange": {
9256
+ "actionId": "tier5.spacesCreatePost.setTitle"
9257
+ }
9258
+ }
9259
+ }
9260
+ }
9261
+ },
9262
+ {
9263
+ "id": "himi_create_post.body_field",
9264
+ "body": {
9265
+ "package": "himalaya",
9266
+ "type": "FormField",
9267
+ "props": {
9268
+ "id": "body",
9269
+ "label": "Your post",
9270
+ "kind": "text",
9271
+ "text": {
9272
+ "placeholder": "Write something…",
9273
+ "value": "",
9274
+ "multilineMaxLines": 6,
9275
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
9276
+ "onChange": {
9277
+ "actionId": "tier5.spacesCreatePost.setBody"
9278
+ }
9279
+ }
9280
+ }
9281
+ }
9282
+ }
9283
+ ],
9284
+ "submitButton": {
9285
+ "id": "himi_create_post.submit",
9286
+ "body": {
9287
+ "package": "himalaya",
9288
+ "type": "Button",
9289
+ "props": {
9290
+ "title": "Post",
9291
+ "style": "primary",
9292
+ "fullWidth": true,
9293
+ "action": {
9294
+ "actionId": "tier5.spacesCreatePost.submit"
9295
+ }
9296
+ }
9297
+ }
9276
9298
  }
9277
9299
  }
9278
9300
  }
@@ -14555,50 +14555,72 @@ const SCREENS = runtimeSetting({
14555
14555
  }
14556
14556
  },
14557
14557
  {
14558
- "id": "himi_create_post.title_field",
14558
+ "id": "himi_create_post.form",
14559
14559
  "body": {
14560
14560
  "package": "himalaya",
14561
- "type": "TextField",
14562
- "props": {
14563
- "placeholder": "Title",
14564
- "value": "",
14565
- "submitLabel": "next",
14566
- "onSubmit": {
14567
- "actionId": "tier5.spacesCreatePost.focusBody"
14568
- },
14569
- "onChange": {
14570
- "actionId": "tier5.spacesCreatePost.setTitle"
14571
- }
14572
- }
14573
- }
14574
- },
14575
- {
14576
- "id": "himi_create_post.body_field",
14577
- "body": {
14578
- "package": "himalaya",
14579
- "type": "TextField",
14561
+ "type": "Form",
14580
14562
  "props": {
14581
- "placeholder": "Write something…",
14582
- "value": "",
14583
- "multilineMaxLines": 6,
14584
- "focusPath": "$service:spacesCreatePost.bodyFocus",
14585
- "onChange": {
14586
- "actionId": "tier5.spacesCreatePost.setBody"
14587
- }
14588
- }
14589
- }
14590
- },
14591
- {
14592
- "id": "himi_create_post.submit",
14593
- "body": {
14594
- "package": "himalaya",
14595
- "type": "Button",
14596
- "props": {
14597
- "title": "Post",
14598
- "style": "primary",
14599
- "fullWidth": true,
14600
- "action": {
14601
- "actionId": "tier5.spacesCreatePost.submit"
14563
+ "id": "himiCreatePostForm",
14564
+ "fields": [
14565
+ {
14566
+ "id": "himi_create_post.title_field",
14567
+ "body": {
14568
+ "package": "himalaya",
14569
+ "type": "FormField",
14570
+ "props": {
14571
+ "id": "title",
14572
+ "label": "Title",
14573
+ "kind": "text",
14574
+ "text": {
14575
+ "placeholder": "Add a title",
14576
+ "value": "",
14577
+ "submitLabel": "next",
14578
+ "onSubmit": {
14579
+ "actionId": "tier5.spacesCreatePost.focusBody"
14580
+ },
14581
+ "onChange": {
14582
+ "actionId": "tier5.spacesCreatePost.setTitle"
14583
+ }
14584
+ }
14585
+ }
14586
+ }
14587
+ },
14588
+ {
14589
+ "id": "himi_create_post.body_field",
14590
+ "body": {
14591
+ "package": "himalaya",
14592
+ "type": "FormField",
14593
+ "props": {
14594
+ "id": "body",
14595
+ "label": "Your post",
14596
+ "kind": "text",
14597
+ "text": {
14598
+ "placeholder": "Write something…",
14599
+ "value": "",
14600
+ "multilineMaxLines": 6,
14601
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
14602
+ "onChange": {
14603
+ "actionId": "tier5.spacesCreatePost.setBody"
14604
+ }
14605
+ }
14606
+ }
14607
+ }
14608
+ }
14609
+ ],
14610
+ "submitButton": {
14611
+ "id": "himi_create_post.submit",
14612
+ "body": {
14613
+ "package": "himalaya",
14614
+ "type": "Button",
14615
+ "props": {
14616
+ "title": "Post",
14617
+ "style": "primary",
14618
+ "fullWidth": true,
14619
+ "action": {
14620
+ "actionId": "tier5.spacesCreatePost.submit"
14621
+ }
14622
+ }
14623
+ }
14602
14624
  }
14603
14625
  }
14604
14626
  }