@wix/himalaya-cli 0.1587.0 → 0.1589.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.
Files changed (55) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/sdk-types/src/capabilities.generated.d.ts +2 -1
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/torch/src/index.d.ts +39 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/webview-page/src/capabilities.generated.d.ts +2 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts +13 -2
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/groups/src/extensions.d.ts +28 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/audio-record.mjs +1 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calendar.mjs +1 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calls.mjs +1 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/contacts.mjs +1 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/l10n.mjs +15 -4
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/location.mjs +1 -0
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/motion.mjs +1 -0
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/photos.mjs +1 -0
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdk-types.mjs +1 -0
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/tasks.mjs +1 -0
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/torch.mjs +78 -0
  17. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-groups.mjs +14 -0
  18. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
  19. package/dist/cli.mjs +92 -46
  20. package/dist/preview-assets.generated.bin +0 -0
  21. package/fixtures/wix-canned.json +16 -0
  22. package/guides/app-config.md +1 -1
  23. package/guides/designing-himi-screens.md +18 -0
  24. package/guides/importable-sdks.md +1 -0
  25. package/guides/qa-builds.md +12 -0
  26. package/guides/sdk-reference.json +99 -0
  27. package/guides/web-page-sdk-reference.md +1 -0
  28. package/package.json +2 -2
  29. package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  30. package/templates/branded-lite/config.ts +7 -0
  31. package/templates/branded-lite/dev/index.ts +469 -0
  32. package/templates/branded-lite/himalaya.content.json +3 -0
  33. package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  34. package/templates/branded-lite/tier5-src/himi-branded-lite-my-groups/index.ts +236 -0
  35. package/templates/community-club/config.ts +7 -0
  36. package/templates/community-club/dev/index.ts +469 -0
  37. package/templates/community-club/himalaya.content.json +3 -0
  38. package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  39. package/templates/community-club/tier5-src/himi-branded-lite-my-groups/index.ts +236 -0
  40. package/templates/events-meetups/config.ts +7 -0
  41. package/templates/events-meetups/dev/index.ts +469 -0
  42. package/templates/events-meetups/himalaya.content.json +3 -0
  43. package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  44. package/templates/events-meetups/tier5-src/himi-branded-lite-my-groups/index.ts +236 -0
  45. package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  46. package/templates/nonprofit-cause/config.ts +7 -0
  47. package/templates/nonprofit-cause/dev/index.ts +469 -0
  48. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  49. package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  50. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-my-groups/index.ts +236 -0
  51. package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  52. package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  53. package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  54. package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  55. package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +1 -0
@@ -16031,6 +16031,25 @@ const SCREENS = runtimeSetting({
16031
16031
  }
16032
16032
  }
16033
16033
  },
16034
+ {
16035
+ "id": "himi_groups.my_groups",
16036
+ "body": {
16037
+ "package": "himalaya",
16038
+ "type": "Button",
16039
+ "props": {
16040
+ "title": "See my groups",
16041
+ "style": "secondary",
16042
+ "fullWidth": true,
16043
+ "leadingIcon": "person",
16044
+ "action": {
16045
+ "actionId": "himi.open",
16046
+ "params": {
16047
+ "screenId": "himi_my_groups"
16048
+ }
16049
+ }
16050
+ }
16051
+ }
16052
+ },
16034
16053
  {
16035
16054
  "id": "himi_groups.search",
16036
16055
  "body": {
@@ -19079,6 +19098,456 @@ const SCREENS = runtimeSetting({
19079
19098
  "bundleVersion": "0.0.1"
19080
19099
  }
19081
19100
  },
19101
+ "himi_my_groups": {
19102
+ "screenId": "himi_my_groups",
19103
+ "renderer": "sdui_intent",
19104
+ "title": "",
19105
+ "schemaVersion": 1,
19106
+ "cacheControl": {
19107
+ "maxAge": 0,
19108
+ "staleWhileRevalidate": 0
19109
+ },
19110
+ "payload": {
19111
+ "id": "himi_my_groups.root",
19112
+ "body": {
19113
+ "package": "himalaya",
19114
+ "type": "VStack",
19115
+ "props": {
19116
+ "spacing": 16,
19117
+ "alignment": "leading",
19118
+ "children": [
19119
+ {
19120
+ "id": "himi_my_groups.title",
19121
+ "body": {
19122
+ "package": "himalaya",
19123
+ "type": "Text",
19124
+ "props": {
19125
+ "text": "My groups",
19126
+ "style": "title1"
19127
+ }
19128
+ }
19129
+ },
19130
+ {
19131
+ "id": "himi_my_groups.loading",
19132
+ "body": {
19133
+ "package": "himalaya",
19134
+ "type": "Skeleton",
19135
+ "props": {
19136
+ "height": 160,
19137
+ "cornerRadius": 8,
19138
+ "count": 2
19139
+ }
19140
+ },
19141
+ "modifiers": {
19142
+ "hiddenPath": "$service:himiBrandedMyGroups.notLoading"
19143
+ }
19144
+ },
19145
+ {
19146
+ "id": "himi_my_groups.error",
19147
+ "body": {
19148
+ "package": "himalaya",
19149
+ "type": "VStack",
19150
+ "props": {
19151
+ "spacing": 8,
19152
+ "alignment": "leading",
19153
+ "children": [
19154
+ {
19155
+ "id": "",
19156
+ "body": {
19157
+ "package": "himalaya",
19158
+ "type": "Text",
19159
+ "props": {
19160
+ "text": "Your groups are temporarily unavailable.",
19161
+ "style": "bodyEmphasis"
19162
+ }
19163
+ }
19164
+ },
19165
+ {
19166
+ "id": "",
19167
+ "body": {
19168
+ "package": "himalaya",
19169
+ "type": "Text",
19170
+ "props": {
19171
+ "text": "$service:himiBrandedMyGroups.errorText",
19172
+ "style": "footnote",
19173
+ "color": "textSecondary",
19174
+ "collapseWhenEmpty": true
19175
+ }
19176
+ }
19177
+ },
19178
+ {
19179
+ "id": "himi_my_groups.retry",
19180
+ "body": {
19181
+ "package": "himalaya",
19182
+ "type": "Button",
19183
+ "props": {
19184
+ "title": "Try again",
19185
+ "style": "secondary",
19186
+ "action": {
19187
+ "actionId": "tier5.himiBrandedMyGroups.load"
19188
+ }
19189
+ }
19190
+ }
19191
+ }
19192
+ ]
19193
+ }
19194
+ },
19195
+ "modifiers": {
19196
+ "background": {
19197
+ "token": "surfaceElevated"
19198
+ },
19199
+ "border": {
19200
+ "width": 1,
19201
+ "color": {
19202
+ "token": "border"
19203
+ }
19204
+ },
19205
+ "cornerRadius": 4,
19206
+ "padding": {
19207
+ "leading": 16,
19208
+ "trailing": 16,
19209
+ "top": 16,
19210
+ "bottom": 16
19211
+ },
19212
+ "hiddenPath": "$service:himiBrandedMyGroups.notErrored"
19213
+ }
19214
+ },
19215
+ {
19216
+ "id": "himi_my_groups.partial",
19217
+ "body": {
19218
+ "package": "himalaya",
19219
+ "type": "Text",
19220
+ "props": {
19221
+ "text": "$service:himiBrandedMyGroups.partialText",
19222
+ "style": "footnote",
19223
+ "color": "textSecondary",
19224
+ "collapseWhenEmpty": true
19225
+ }
19226
+ },
19227
+ "modifiers": {
19228
+ "hiddenPath": "$service:himiBrandedMyGroups.noPartial"
19229
+ }
19230
+ },
19231
+ {
19232
+ "id": "himi_my_groups.rows",
19233
+ "body": {
19234
+ "package": "himalaya",
19235
+ "type": "Grid",
19236
+ "props": {
19237
+ "columns": 1,
19238
+ "spacing": 10,
19239
+ "itemsPath": "$service:himiBrandedMyGroups.rows",
19240
+ "items": [
19241
+ {
19242
+ "id": "himi_my_groups.row",
19243
+ "body": {
19244
+ "package": "himalaya",
19245
+ "type": "VStack",
19246
+ "props": {
19247
+ "spacing": 9,
19248
+ "alignment": "leading",
19249
+ "children": [
19250
+ {
19251
+ "id": "",
19252
+ "body": {
19253
+ "package": "himalaya",
19254
+ "type": "Image",
19255
+ "props": {
19256
+ "url": "$item.image",
19257
+ "fillWidth": true,
19258
+ "height": 120,
19259
+ "contentMode": "fill",
19260
+ "contentDescription": "$item.title"
19261
+ }
19262
+ },
19263
+ "modifiers": {
19264
+ "cornerRadius": 8,
19265
+ "fillMaxWidth": true,
19266
+ "hiddenPath": "$item.noImage"
19267
+ }
19268
+ },
19269
+ {
19270
+ "id": "himi_my_groups.row.monogram",
19271
+ "body": {
19272
+ "package": "himalaya",
19273
+ "type": "ZStack",
19274
+ "props": {
19275
+ "alignment": "center",
19276
+ "children": [
19277
+ {
19278
+ "id": "",
19279
+ "body": {
19280
+ "package": "himalaya",
19281
+ "type": "Text",
19282
+ "props": {
19283
+ "text": "$item.initial",
19284
+ "style": "display",
19285
+ "color": "textOnAccent",
19286
+ "maxLines": 1
19287
+ }
19288
+ }
19289
+ }
19290
+ ]
19291
+ }
19292
+ },
19293
+ "modifiers": {
19294
+ "fillMaxWidth": true,
19295
+ "height": 120,
19296
+ "background": {
19297
+ "token": "accentPrimary"
19298
+ },
19299
+ "cornerRadius": 8,
19300
+ "hiddenPath": "$item.hasImage"
19301
+ }
19302
+ },
19303
+ {
19304
+ "id": "",
19305
+ "body": {
19306
+ "package": "himalaya",
19307
+ "type": "Text",
19308
+ "props": {
19309
+ "text": "$item.title",
19310
+ "style": "bodyEmphasis",
19311
+ "maxLines": 2
19312
+ }
19313
+ }
19314
+ },
19315
+ {
19316
+ "id": "",
19317
+ "body": {
19318
+ "package": "himalaya",
19319
+ "type": "Text",
19320
+ "props": {
19321
+ "text": "$item.statusLabel",
19322
+ "style": "footnote",
19323
+ "color": "accentPrimary",
19324
+ "maxLines": 1,
19325
+ "collapseWhenEmpty": true
19326
+ }
19327
+ }
19328
+ },
19329
+ {
19330
+ "id": "",
19331
+ "body": {
19332
+ "package": "himalaya",
19333
+ "type": "Text",
19334
+ "props": {
19335
+ "text": "$item.meta",
19336
+ "style": "caption",
19337
+ "color": "textTertiary",
19338
+ "maxLines": 1,
19339
+ "collapseWhenEmpty": true
19340
+ }
19341
+ }
19342
+ }
19343
+ ]
19344
+ }
19345
+ },
19346
+ "modifiers": {
19347
+ "background": {
19348
+ "token": "surfaceElevated"
19349
+ },
19350
+ "border": {
19351
+ "width": 1,
19352
+ "color": {
19353
+ "token": "border"
19354
+ }
19355
+ },
19356
+ "cornerRadius": 8,
19357
+ "padding": {
19358
+ "leading": 12,
19359
+ "trailing": 12,
19360
+ "top": 12,
19361
+ "bottom": 12
19362
+ },
19363
+ "onTap": {
19364
+ "actionId": "himi.open",
19365
+ "params": {
19366
+ "screenId": "$item.detailScreenId",
19367
+ "id": "$item.id"
19368
+ }
19369
+ },
19370
+ "pressFeedback": "scale",
19371
+ "haptic": "light",
19372
+ "accessibilityLabel": "$item.title"
19373
+ }
19374
+ }
19375
+ ]
19376
+ }
19377
+ },
19378
+ "modifiers": {
19379
+ "hiddenPath": "$service:himiBrandedMyGroups.noRows"
19380
+ }
19381
+ },
19382
+ {
19383
+ "id": "himi_my_groups.empty",
19384
+ "body": {
19385
+ "package": "himalaya",
19386
+ "type": "VStack",
19387
+ "props": {
19388
+ "spacing": 8,
19389
+ "alignment": "leading",
19390
+ "children": [
19391
+ {
19392
+ "id": "",
19393
+ "body": {
19394
+ "package": "himalaya",
19395
+ "type": "Text",
19396
+ "props": {
19397
+ "text": "$service:himiBrandedMyGroups.emptyText",
19398
+ "style": "body",
19399
+ "color": "textSecondary",
19400
+ "collapseWhenEmpty": true
19401
+ }
19402
+ }
19403
+ }
19404
+ ]
19405
+ }
19406
+ },
19407
+ "modifiers": {
19408
+ "background": {
19409
+ "token": "surfaceElevated"
19410
+ },
19411
+ "border": {
19412
+ "width": 1,
19413
+ "color": {
19414
+ "token": "border"
19415
+ }
19416
+ },
19417
+ "cornerRadius": 4,
19418
+ "padding": {
19419
+ "leading": 16,
19420
+ "trailing": 16,
19421
+ "top": 16,
19422
+ "bottom": 16
19423
+ },
19424
+ "fillMaxWidth": true,
19425
+ "hiddenPath": "$service:himiBrandedMyGroups.noEmpty"
19426
+ }
19427
+ },
19428
+ {
19429
+ "id": "himi_my_groups.member_gate",
19430
+ "body": {
19431
+ "package": "himalaya",
19432
+ "type": "VStack",
19433
+ "props": {
19434
+ "spacing": 10,
19435
+ "alignment": "center",
19436
+ "children": [
19437
+ {
19438
+ "id": "",
19439
+ "body": {
19440
+ "package": "himalaya",
19441
+ "type": "Icon",
19442
+ "props": {
19443
+ "name": "person",
19444
+ "size": 28,
19445
+ "tint": "accentPrimary"
19446
+ }
19447
+ },
19448
+ "modifiers": {
19449
+ "accessibilityRole": "decorative"
19450
+ }
19451
+ },
19452
+ {
19453
+ "id": "himi_my_groups.member_gate_title",
19454
+ "body": {
19455
+ "package": "himalaya",
19456
+ "type": "Text",
19457
+ "props": {
19458
+ "text": "Sign in to see your groups",
19459
+ "style": "bodyEmphasis"
19460
+ }
19461
+ }
19462
+ },
19463
+ {
19464
+ "id": "",
19465
+ "body": {
19466
+ "package": "himalaya",
19467
+ "type": "Text",
19468
+ "props": {
19469
+ "text": "The groups you belong to show up here once you sign in.",
19470
+ "style": "footnote",
19471
+ "color": "textSecondary"
19472
+ }
19473
+ }
19474
+ },
19475
+ {
19476
+ "id": "himi_my_groups.member_gate_signin",
19477
+ "body": {
19478
+ "package": "himalaya",
19479
+ "type": "Button",
19480
+ "props": {
19481
+ "title": "Sign in",
19482
+ "style": "primary",
19483
+ "fullWidth": true,
19484
+ "action": {
19485
+ "actionId": "himi.open",
19486
+ "params": {
19487
+ "screenId": "himi_sign_in",
19488
+ "mode": "signin",
19489
+ "intent": "groups",
19490
+ "returnScreenId": "himi_my_groups",
19491
+ "modal": "1"
19492
+ },
19493
+ "presentation": "sheet"
19494
+ }
19495
+ }
19496
+ }
19497
+ }
19498
+ ]
19499
+ }
19500
+ },
19501
+ "modifiers": {
19502
+ "background": {
19503
+ "token": "surfaceElevated"
19504
+ },
19505
+ "border": {
19506
+ "width": 1,
19507
+ "color": {
19508
+ "token": "border"
19509
+ }
19510
+ },
19511
+ "cornerRadius": 16,
19512
+ "padding": {
19513
+ "leading": 16,
19514
+ "trailing": 16,
19515
+ "top": 20,
19516
+ "bottom": 20
19517
+ },
19518
+ "fillMaxWidth": true,
19519
+ "hiddenPath": "$service:himiBrandedMyGroups.noSignIn"
19520
+ }
19521
+ }
19522
+ ]
19523
+ }
19524
+ },
19525
+ "modifiers": {
19526
+ "background": {
19527
+ "token": "surfacePrimary"
19528
+ },
19529
+ "padding": {
19530
+ "leading": 16,
19531
+ "trailing": 16,
19532
+ "top": 18,
19533
+ "bottom": 28
19534
+ },
19535
+ "onAppear": {
19536
+ "actionId": "tier5.himiBrandedMyGroups.load"
19537
+ }
19538
+ }
19539
+ },
19540
+ "logicBundle": {
19541
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-my-groups?integrity=",
19542
+ "integrity": "",
19543
+ "contentType": "application/javascript+ts-bundle",
19544
+ "declaredCapabilities": [
19545
+ "wix_api"
19546
+ ],
19547
+ "minBinaryVersion": "0.1.0",
19548
+ "bundleVersion": "0.0.1"
19549
+ }
19550
+ },
19082
19551
  }) as Record<string, unknown>;
19083
19552
 
19084
19553
  // The hosted app icon is content: updating splash.json needs an OTA publish, not a native build.
@@ -58,6 +58,9 @@
58
58
  "himi_my_events": {
59
59
  "displayName": "My Events"
60
60
  },
61
+ "himi_my_groups": {
62
+ "displayName": "My Groups"
63
+ },
61
64
  "himi_notif_settings": {
62
65
  "displayName": "Notif Settings"
63
66
  },
@@ -98,6 +98,7 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
98
98
  himi_gift_cards: ["giftCards"],
99
99
  himi_groups: ["groups"],
100
100
  himi_group_about: ["groups"],
101
+ himi_my_groups: ["groups"],
101
102
  himi_invoice: ["invoices"],
102
103
  himi_invoices: ["invoices"],
103
104
  himi_loyalty: ["loyalty"],