@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.
@@ -7565,14 +7565,14 @@ const SCREENS = runtimeSetting({
7565
7565
  "alignment": "leading",
7566
7566
  "children": [
7567
7567
  {
7568
- "id": "",
7568
+ "id": "himi_reserve.location",
7569
7569
  "body": {
7570
7570
  "package": "himalaya",
7571
7571
  "type": "Text",
7572
7572
  "props": {
7573
7573
  "text": "$service:himiBrandedReserve.locationLabel",
7574
7574
  "style": "caption",
7575
- "color": "accentPrimary",
7575
+ "color": "textSecondary",
7576
7576
  "collapseWhenEmpty": true
7577
7577
  }
7578
7578
  }
@@ -7741,7 +7741,7 @@ const SCREENS = runtimeSetting({
7741
7741
  "required": true,
7742
7742
  "kind": "text",
7743
7743
  "text": {
7744
- "placeholder": "First name",
7744
+ "placeholder": "Dana",
7745
7745
  "autoCapitalization": "words"
7746
7746
  }
7747
7747
  }
@@ -7755,9 +7755,10 @@ const SCREENS = runtimeSetting({
7755
7755
  "props": {
7756
7756
  "id": "lastName",
7757
7757
  "label": "Last name",
7758
+ "helpText": "Optional",
7758
7759
  "kind": "text",
7759
7760
  "text": {
7760
- "placeholder": "Last name",
7761
+ "placeholder": "Cohen",
7761
7762
  "autoCapitalization": "words"
7762
7763
  }
7763
7764
  }
@@ -7774,7 +7775,7 @@ const SCREENS = runtimeSetting({
7774
7775
  "required": true,
7775
7776
  "kind": "text",
7776
7777
  "text": {
7777
- "placeholder": "Phone number",
7778
+ "placeholder": "+1 555 0100",
7778
7779
  "keyboard": "phone",
7779
7780
  "autoCapitalization": "none"
7780
7781
  }
@@ -7789,9 +7790,10 @@ const SCREENS = runtimeSetting({
7789
7790
  "props": {
7790
7791
  "id": "email",
7791
7792
  "label": "Email",
7793
+ "helpText": "Optional",
7792
7794
  "kind": "text",
7793
7795
  "text": {
7794
- "placeholder": "Email (optional)",
7796
+ "placeholder": "dana@example.com",
7795
7797
  "keyboard": "email",
7796
7798
  "autoCapitalization": "none"
7797
7799
  }
@@ -8128,50 +8130,72 @@ const SCREENS = runtimeSetting({
8128
8130
  }
8129
8131
  },
8130
8132
  {
8131
- "id": "himi_create_post.title_field",
8132
- "body": {
8133
- "package": "himalaya",
8134
- "type": "TextField",
8135
- "props": {
8136
- "placeholder": "Title",
8137
- "value": "",
8138
- "submitLabel": "next",
8139
- "onSubmit": {
8140
- "actionId": "tier5.spacesCreatePost.focusBody"
8141
- },
8142
- "onChange": {
8143
- "actionId": "tier5.spacesCreatePost.setTitle"
8144
- }
8145
- }
8146
- }
8147
- },
8148
- {
8149
- "id": "himi_create_post.body_field",
8133
+ "id": "himi_create_post.form",
8150
8134
  "body": {
8151
8135
  "package": "himalaya",
8152
- "type": "TextField",
8153
- "props": {
8154
- "placeholder": "Write something…",
8155
- "value": "",
8156
- "multilineMaxLines": 6,
8157
- "focusPath": "$service:spacesCreatePost.bodyFocus",
8158
- "onChange": {
8159
- "actionId": "tier5.spacesCreatePost.setBody"
8160
- }
8161
- }
8162
- }
8163
- },
8164
- {
8165
- "id": "himi_create_post.submit",
8166
- "body": {
8167
- "package": "himalaya",
8168
- "type": "Button",
8136
+ "type": "Form",
8169
8137
  "props": {
8170
- "title": "Post",
8171
- "style": "primary",
8172
- "fullWidth": true,
8173
- "action": {
8174
- "actionId": "tier5.spacesCreatePost.submit"
8138
+ "id": "himiCreatePostForm",
8139
+ "fields": [
8140
+ {
8141
+ "id": "himi_create_post.title_field",
8142
+ "body": {
8143
+ "package": "himalaya",
8144
+ "type": "FormField",
8145
+ "props": {
8146
+ "id": "title",
8147
+ "label": "Title",
8148
+ "kind": "text",
8149
+ "text": {
8150
+ "placeholder": "Add a title",
8151
+ "value": "",
8152
+ "submitLabel": "next",
8153
+ "onSubmit": {
8154
+ "actionId": "tier5.spacesCreatePost.focusBody"
8155
+ },
8156
+ "onChange": {
8157
+ "actionId": "tier5.spacesCreatePost.setTitle"
8158
+ }
8159
+ }
8160
+ }
8161
+ }
8162
+ },
8163
+ {
8164
+ "id": "himi_create_post.body_field",
8165
+ "body": {
8166
+ "package": "himalaya",
8167
+ "type": "FormField",
8168
+ "props": {
8169
+ "id": "body",
8170
+ "label": "Your post",
8171
+ "kind": "text",
8172
+ "text": {
8173
+ "placeholder": "Write something…",
8174
+ "value": "",
8175
+ "multilineMaxLines": 6,
8176
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
8177
+ "onChange": {
8178
+ "actionId": "tier5.spacesCreatePost.setBody"
8179
+ }
8180
+ }
8181
+ }
8182
+ }
8183
+ }
8184
+ ],
8185
+ "submitButton": {
8186
+ "id": "himi_create_post.submit",
8187
+ "body": {
8188
+ "package": "himalaya",
8189
+ "type": "Button",
8190
+ "props": {
8191
+ "title": "Post",
8192
+ "style": "primary",
8193
+ "fullWidth": true,
8194
+ "action": {
8195
+ "actionId": "tier5.spacesCreatePost.submit"
8196
+ }
8197
+ }
8198
+ }
8175
8199
  }
8176
8200
  }
8177
8201
  }
@@ -11155,50 +11155,72 @@ const SCREENS = runtimeSetting({
11155
11155
  }
11156
11156
  },
11157
11157
  {
11158
- "id": "himi_create_post.title_field",
11158
+ "id": "himi_create_post.form",
11159
11159
  "body": {
11160
11160
  "package": "himalaya",
11161
- "type": "TextField",
11162
- "props": {
11163
- "placeholder": "Title",
11164
- "value": "",
11165
- "submitLabel": "next",
11166
- "onSubmit": {
11167
- "actionId": "tier5.spacesCreatePost.focusBody"
11168
- },
11169
- "onChange": {
11170
- "actionId": "tier5.spacesCreatePost.setTitle"
11171
- }
11172
- }
11173
- }
11174
- },
11175
- {
11176
- "id": "himi_create_post.body_field",
11177
- "body": {
11178
- "package": "himalaya",
11179
- "type": "TextField",
11161
+ "type": "Form",
11180
11162
  "props": {
11181
- "placeholder": "Write something…",
11182
- "value": "",
11183
- "multilineMaxLines": 6,
11184
- "focusPath": "$service:spacesCreatePost.bodyFocus",
11185
- "onChange": {
11186
- "actionId": "tier5.spacesCreatePost.setBody"
11187
- }
11188
- }
11189
- }
11190
- },
11191
- {
11192
- "id": "himi_create_post.submit",
11193
- "body": {
11194
- "package": "himalaya",
11195
- "type": "Button",
11196
- "props": {
11197
- "title": "Post",
11198
- "style": "primary",
11199
- "fullWidth": true,
11200
- "action": {
11201
- "actionId": "tier5.spacesCreatePost.submit"
11163
+ "id": "himiCreatePostForm",
11164
+ "fields": [
11165
+ {
11166
+ "id": "himi_create_post.title_field",
11167
+ "body": {
11168
+ "package": "himalaya",
11169
+ "type": "FormField",
11170
+ "props": {
11171
+ "id": "title",
11172
+ "label": "Title",
11173
+ "kind": "text",
11174
+ "text": {
11175
+ "placeholder": "Add a title",
11176
+ "value": "",
11177
+ "submitLabel": "next",
11178
+ "onSubmit": {
11179
+ "actionId": "tier5.spacesCreatePost.focusBody"
11180
+ },
11181
+ "onChange": {
11182
+ "actionId": "tier5.spacesCreatePost.setTitle"
11183
+ }
11184
+ }
11185
+ }
11186
+ }
11187
+ },
11188
+ {
11189
+ "id": "himi_create_post.body_field",
11190
+ "body": {
11191
+ "package": "himalaya",
11192
+ "type": "FormField",
11193
+ "props": {
11194
+ "id": "body",
11195
+ "label": "Your post",
11196
+ "kind": "text",
11197
+ "text": {
11198
+ "placeholder": "Write something…",
11199
+ "value": "",
11200
+ "multilineMaxLines": 6,
11201
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
11202
+ "onChange": {
11203
+ "actionId": "tier5.spacesCreatePost.setBody"
11204
+ }
11205
+ }
11206
+ }
11207
+ }
11208
+ }
11209
+ ],
11210
+ "submitButton": {
11211
+ "id": "himi_create_post.submit",
11212
+ "body": {
11213
+ "package": "himalaya",
11214
+ "type": "Button",
11215
+ "props": {
11216
+ "title": "Post",
11217
+ "style": "primary",
11218
+ "fullWidth": true,
11219
+ "action": {
11220
+ "actionId": "tier5.spacesCreatePost.submit"
11221
+ }
11222
+ }
11223
+ }
11202
11224
  }
11203
11225
  }
11204
11226
  }
@@ -17275,50 +17275,72 @@ const SCREENS = runtimeSetting({
17275
17275
  }
17276
17276
  },
17277
17277
  {
17278
- "id": "himi_create_post.title_field",
17278
+ "id": "himi_create_post.form",
17279
17279
  "body": {
17280
17280
  "package": "himalaya",
17281
- "type": "TextField",
17282
- "props": {
17283
- "placeholder": "Title",
17284
- "value": "",
17285
- "submitLabel": "next",
17286
- "onSubmit": {
17287
- "actionId": "tier5.spacesCreatePost.focusBody"
17288
- },
17289
- "onChange": {
17290
- "actionId": "tier5.spacesCreatePost.setTitle"
17291
- }
17292
- }
17293
- }
17294
- },
17295
- {
17296
- "id": "himi_create_post.body_field",
17297
- "body": {
17298
- "package": "himalaya",
17299
- "type": "TextField",
17281
+ "type": "Form",
17300
17282
  "props": {
17301
- "placeholder": "Write something…",
17302
- "value": "",
17303
- "multilineMaxLines": 6,
17304
- "focusPath": "$service:spacesCreatePost.bodyFocus",
17305
- "onChange": {
17306
- "actionId": "tier5.spacesCreatePost.setBody"
17307
- }
17308
- }
17309
- }
17310
- },
17311
- {
17312
- "id": "himi_create_post.submit",
17313
- "body": {
17314
- "package": "himalaya",
17315
- "type": "Button",
17316
- "props": {
17317
- "title": "Post",
17318
- "style": "primary",
17319
- "fullWidth": true,
17320
- "action": {
17321
- "actionId": "tier5.spacesCreatePost.submit"
17283
+ "id": "himiCreatePostForm",
17284
+ "fields": [
17285
+ {
17286
+ "id": "himi_create_post.title_field",
17287
+ "body": {
17288
+ "package": "himalaya",
17289
+ "type": "FormField",
17290
+ "props": {
17291
+ "id": "title",
17292
+ "label": "Title",
17293
+ "kind": "text",
17294
+ "text": {
17295
+ "placeholder": "Add a title",
17296
+ "value": "",
17297
+ "submitLabel": "next",
17298
+ "onSubmit": {
17299
+ "actionId": "tier5.spacesCreatePost.focusBody"
17300
+ },
17301
+ "onChange": {
17302
+ "actionId": "tier5.spacesCreatePost.setTitle"
17303
+ }
17304
+ }
17305
+ }
17306
+ }
17307
+ },
17308
+ {
17309
+ "id": "himi_create_post.body_field",
17310
+ "body": {
17311
+ "package": "himalaya",
17312
+ "type": "FormField",
17313
+ "props": {
17314
+ "id": "body",
17315
+ "label": "Your post",
17316
+ "kind": "text",
17317
+ "text": {
17318
+ "placeholder": "Write something…",
17319
+ "value": "",
17320
+ "multilineMaxLines": 6,
17321
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
17322
+ "onChange": {
17323
+ "actionId": "tier5.spacesCreatePost.setBody"
17324
+ }
17325
+ }
17326
+ }
17327
+ }
17328
+ }
17329
+ ],
17330
+ "submitButton": {
17331
+ "id": "himi_create_post.submit",
17332
+ "body": {
17333
+ "package": "himalaya",
17334
+ "type": "Button",
17335
+ "props": {
17336
+ "title": "Post",
17337
+ "style": "primary",
17338
+ "fullWidth": true,
17339
+ "action": {
17340
+ "actionId": "tier5.spacesCreatePost.submit"
17341
+ }
17342
+ }
17343
+ }
17322
17344
  }
17323
17345
  }
17324
17346
  }