@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
@@ -15847,6 +15847,25 @@ const SCREENS = runtimeSetting({
15847
15847
  }
15848
15848
  }
15849
15849
  },
15850
+ {
15851
+ "id": "himi_groups.my_groups",
15852
+ "body": {
15853
+ "package": "himalaya",
15854
+ "type": "Button",
15855
+ "props": {
15856
+ "title": "See my groups",
15857
+ "style": "secondary",
15858
+ "fullWidth": true,
15859
+ "leadingIcon": "person",
15860
+ "action": {
15861
+ "actionId": "himi.open",
15862
+ "params": {
15863
+ "screenId": "himi_my_groups"
15864
+ }
15865
+ }
15866
+ }
15867
+ }
15868
+ },
15850
15869
  {
15851
15870
  "id": "himi_groups.search",
15852
15871
  "body": {
@@ -18895,6 +18914,456 @@ const SCREENS = runtimeSetting({
18895
18914
  "bundleVersion": "0.0.1"
18896
18915
  }
18897
18916
  },
18917
+ "himi_my_groups": {
18918
+ "screenId": "himi_my_groups",
18919
+ "renderer": "sdui_intent",
18920
+ "title": "",
18921
+ "schemaVersion": 1,
18922
+ "cacheControl": {
18923
+ "maxAge": 0,
18924
+ "staleWhileRevalidate": 0
18925
+ },
18926
+ "payload": {
18927
+ "id": "himi_my_groups.root",
18928
+ "body": {
18929
+ "package": "himalaya",
18930
+ "type": "VStack",
18931
+ "props": {
18932
+ "spacing": 16,
18933
+ "alignment": "leading",
18934
+ "children": [
18935
+ {
18936
+ "id": "himi_my_groups.title",
18937
+ "body": {
18938
+ "package": "himalaya",
18939
+ "type": "Text",
18940
+ "props": {
18941
+ "text": "My groups",
18942
+ "style": "title1"
18943
+ }
18944
+ }
18945
+ },
18946
+ {
18947
+ "id": "himi_my_groups.loading",
18948
+ "body": {
18949
+ "package": "himalaya",
18950
+ "type": "Skeleton",
18951
+ "props": {
18952
+ "height": 160,
18953
+ "cornerRadius": 8,
18954
+ "count": 2
18955
+ }
18956
+ },
18957
+ "modifiers": {
18958
+ "hiddenPath": "$service:himiBrandedMyGroups.notLoading"
18959
+ }
18960
+ },
18961
+ {
18962
+ "id": "himi_my_groups.error",
18963
+ "body": {
18964
+ "package": "himalaya",
18965
+ "type": "VStack",
18966
+ "props": {
18967
+ "spacing": 8,
18968
+ "alignment": "leading",
18969
+ "children": [
18970
+ {
18971
+ "id": "",
18972
+ "body": {
18973
+ "package": "himalaya",
18974
+ "type": "Text",
18975
+ "props": {
18976
+ "text": "Your groups are temporarily unavailable.",
18977
+ "style": "bodyEmphasis"
18978
+ }
18979
+ }
18980
+ },
18981
+ {
18982
+ "id": "",
18983
+ "body": {
18984
+ "package": "himalaya",
18985
+ "type": "Text",
18986
+ "props": {
18987
+ "text": "$service:himiBrandedMyGroups.errorText",
18988
+ "style": "footnote",
18989
+ "color": "textSecondary",
18990
+ "collapseWhenEmpty": true
18991
+ }
18992
+ }
18993
+ },
18994
+ {
18995
+ "id": "himi_my_groups.retry",
18996
+ "body": {
18997
+ "package": "himalaya",
18998
+ "type": "Button",
18999
+ "props": {
19000
+ "title": "Try again",
19001
+ "style": "secondary",
19002
+ "action": {
19003
+ "actionId": "tier5.himiBrandedMyGroups.load"
19004
+ }
19005
+ }
19006
+ }
19007
+ }
19008
+ ]
19009
+ }
19010
+ },
19011
+ "modifiers": {
19012
+ "background": {
19013
+ "token": "surfaceElevated"
19014
+ },
19015
+ "border": {
19016
+ "width": 1,
19017
+ "color": {
19018
+ "token": "border"
19019
+ }
19020
+ },
19021
+ "cornerRadius": 4,
19022
+ "padding": {
19023
+ "leading": 16,
19024
+ "trailing": 16,
19025
+ "top": 16,
19026
+ "bottom": 16
19027
+ },
19028
+ "hiddenPath": "$service:himiBrandedMyGroups.notErrored"
19029
+ }
19030
+ },
19031
+ {
19032
+ "id": "himi_my_groups.partial",
19033
+ "body": {
19034
+ "package": "himalaya",
19035
+ "type": "Text",
19036
+ "props": {
19037
+ "text": "$service:himiBrandedMyGroups.partialText",
19038
+ "style": "footnote",
19039
+ "color": "textSecondary",
19040
+ "collapseWhenEmpty": true
19041
+ }
19042
+ },
19043
+ "modifiers": {
19044
+ "hiddenPath": "$service:himiBrandedMyGroups.noPartial"
19045
+ }
19046
+ },
19047
+ {
19048
+ "id": "himi_my_groups.rows",
19049
+ "body": {
19050
+ "package": "himalaya",
19051
+ "type": "Grid",
19052
+ "props": {
19053
+ "columns": 1,
19054
+ "spacing": 10,
19055
+ "itemsPath": "$service:himiBrandedMyGroups.rows",
19056
+ "items": [
19057
+ {
19058
+ "id": "himi_my_groups.row",
19059
+ "body": {
19060
+ "package": "himalaya",
19061
+ "type": "VStack",
19062
+ "props": {
19063
+ "spacing": 9,
19064
+ "alignment": "leading",
19065
+ "children": [
19066
+ {
19067
+ "id": "",
19068
+ "body": {
19069
+ "package": "himalaya",
19070
+ "type": "Image",
19071
+ "props": {
19072
+ "url": "$item.image",
19073
+ "fillWidth": true,
19074
+ "height": 120,
19075
+ "contentMode": "fill",
19076
+ "contentDescription": "$item.title"
19077
+ }
19078
+ },
19079
+ "modifiers": {
19080
+ "cornerRadius": 8,
19081
+ "fillMaxWidth": true,
19082
+ "hiddenPath": "$item.noImage"
19083
+ }
19084
+ },
19085
+ {
19086
+ "id": "himi_my_groups.row.monogram",
19087
+ "body": {
19088
+ "package": "himalaya",
19089
+ "type": "ZStack",
19090
+ "props": {
19091
+ "alignment": "center",
19092
+ "children": [
19093
+ {
19094
+ "id": "",
19095
+ "body": {
19096
+ "package": "himalaya",
19097
+ "type": "Text",
19098
+ "props": {
19099
+ "text": "$item.initial",
19100
+ "style": "display",
19101
+ "color": "textOnAccent",
19102
+ "maxLines": 1
19103
+ }
19104
+ }
19105
+ }
19106
+ ]
19107
+ }
19108
+ },
19109
+ "modifiers": {
19110
+ "fillMaxWidth": true,
19111
+ "height": 120,
19112
+ "background": {
19113
+ "token": "accentPrimary"
19114
+ },
19115
+ "cornerRadius": 8,
19116
+ "hiddenPath": "$item.hasImage"
19117
+ }
19118
+ },
19119
+ {
19120
+ "id": "",
19121
+ "body": {
19122
+ "package": "himalaya",
19123
+ "type": "Text",
19124
+ "props": {
19125
+ "text": "$item.title",
19126
+ "style": "bodyEmphasis",
19127
+ "maxLines": 2
19128
+ }
19129
+ }
19130
+ },
19131
+ {
19132
+ "id": "",
19133
+ "body": {
19134
+ "package": "himalaya",
19135
+ "type": "Text",
19136
+ "props": {
19137
+ "text": "$item.statusLabel",
19138
+ "style": "footnote",
19139
+ "color": "accentPrimary",
19140
+ "maxLines": 1,
19141
+ "collapseWhenEmpty": true
19142
+ }
19143
+ }
19144
+ },
19145
+ {
19146
+ "id": "",
19147
+ "body": {
19148
+ "package": "himalaya",
19149
+ "type": "Text",
19150
+ "props": {
19151
+ "text": "$item.meta",
19152
+ "style": "caption",
19153
+ "color": "textTertiary",
19154
+ "maxLines": 1,
19155
+ "collapseWhenEmpty": true
19156
+ }
19157
+ }
19158
+ }
19159
+ ]
19160
+ }
19161
+ },
19162
+ "modifiers": {
19163
+ "background": {
19164
+ "token": "surfaceElevated"
19165
+ },
19166
+ "border": {
19167
+ "width": 1,
19168
+ "color": {
19169
+ "token": "border"
19170
+ }
19171
+ },
19172
+ "cornerRadius": 8,
19173
+ "padding": {
19174
+ "leading": 12,
19175
+ "trailing": 12,
19176
+ "top": 12,
19177
+ "bottom": 12
19178
+ },
19179
+ "onTap": {
19180
+ "actionId": "himi.open",
19181
+ "params": {
19182
+ "screenId": "$item.detailScreenId",
19183
+ "id": "$item.id"
19184
+ }
19185
+ },
19186
+ "pressFeedback": "scale",
19187
+ "haptic": "light",
19188
+ "accessibilityLabel": "$item.title"
19189
+ }
19190
+ }
19191
+ ]
19192
+ }
19193
+ },
19194
+ "modifiers": {
19195
+ "hiddenPath": "$service:himiBrandedMyGroups.noRows"
19196
+ }
19197
+ },
19198
+ {
19199
+ "id": "himi_my_groups.empty",
19200
+ "body": {
19201
+ "package": "himalaya",
19202
+ "type": "VStack",
19203
+ "props": {
19204
+ "spacing": 8,
19205
+ "alignment": "leading",
19206
+ "children": [
19207
+ {
19208
+ "id": "",
19209
+ "body": {
19210
+ "package": "himalaya",
19211
+ "type": "Text",
19212
+ "props": {
19213
+ "text": "$service:himiBrandedMyGroups.emptyText",
19214
+ "style": "body",
19215
+ "color": "textSecondary",
19216
+ "collapseWhenEmpty": true
19217
+ }
19218
+ }
19219
+ }
19220
+ ]
19221
+ }
19222
+ },
19223
+ "modifiers": {
19224
+ "background": {
19225
+ "token": "surfaceElevated"
19226
+ },
19227
+ "border": {
19228
+ "width": 1,
19229
+ "color": {
19230
+ "token": "border"
19231
+ }
19232
+ },
19233
+ "cornerRadius": 4,
19234
+ "padding": {
19235
+ "leading": 16,
19236
+ "trailing": 16,
19237
+ "top": 16,
19238
+ "bottom": 16
19239
+ },
19240
+ "fillMaxWidth": true,
19241
+ "hiddenPath": "$service:himiBrandedMyGroups.noEmpty"
19242
+ }
19243
+ },
19244
+ {
19245
+ "id": "himi_my_groups.member_gate",
19246
+ "body": {
19247
+ "package": "himalaya",
19248
+ "type": "VStack",
19249
+ "props": {
19250
+ "spacing": 10,
19251
+ "alignment": "center",
19252
+ "children": [
19253
+ {
19254
+ "id": "",
19255
+ "body": {
19256
+ "package": "himalaya",
19257
+ "type": "Icon",
19258
+ "props": {
19259
+ "name": "person",
19260
+ "size": 28,
19261
+ "tint": "accentPrimary"
19262
+ }
19263
+ },
19264
+ "modifiers": {
19265
+ "accessibilityRole": "decorative"
19266
+ }
19267
+ },
19268
+ {
19269
+ "id": "himi_my_groups.member_gate_title",
19270
+ "body": {
19271
+ "package": "himalaya",
19272
+ "type": "Text",
19273
+ "props": {
19274
+ "text": "Sign in to see your groups",
19275
+ "style": "bodyEmphasis"
19276
+ }
19277
+ }
19278
+ },
19279
+ {
19280
+ "id": "",
19281
+ "body": {
19282
+ "package": "himalaya",
19283
+ "type": "Text",
19284
+ "props": {
19285
+ "text": "The groups you belong to show up here once you sign in.",
19286
+ "style": "footnote",
19287
+ "color": "textSecondary"
19288
+ }
19289
+ }
19290
+ },
19291
+ {
19292
+ "id": "himi_my_groups.member_gate_signin",
19293
+ "body": {
19294
+ "package": "himalaya",
19295
+ "type": "Button",
19296
+ "props": {
19297
+ "title": "Sign in",
19298
+ "style": "primary",
19299
+ "fullWidth": true,
19300
+ "action": {
19301
+ "actionId": "himi.open",
19302
+ "params": {
19303
+ "screenId": "himi_sign_in",
19304
+ "mode": "signin",
19305
+ "intent": "groups",
19306
+ "returnScreenId": "himi_my_groups",
19307
+ "modal": "1"
19308
+ },
19309
+ "presentation": "sheet"
19310
+ }
19311
+ }
19312
+ }
19313
+ }
19314
+ ]
19315
+ }
19316
+ },
19317
+ "modifiers": {
19318
+ "background": {
19319
+ "token": "surfaceElevated"
19320
+ },
19321
+ "border": {
19322
+ "width": 1,
19323
+ "color": {
19324
+ "token": "border"
19325
+ }
19326
+ },
19327
+ "cornerRadius": 16,
19328
+ "padding": {
19329
+ "leading": 16,
19330
+ "trailing": 16,
19331
+ "top": 20,
19332
+ "bottom": 20
19333
+ },
19334
+ "fillMaxWidth": true,
19335
+ "hiddenPath": "$service:himiBrandedMyGroups.noSignIn"
19336
+ }
19337
+ }
19338
+ ]
19339
+ }
19340
+ },
19341
+ "modifiers": {
19342
+ "background": {
19343
+ "token": "surfacePrimary"
19344
+ },
19345
+ "padding": {
19346
+ "leading": 16,
19347
+ "trailing": 16,
19348
+ "top": 18,
19349
+ "bottom": 28
19350
+ },
19351
+ "onAppear": {
19352
+ "actionId": "tier5.himiBrandedMyGroups.load"
19353
+ }
19354
+ }
19355
+ },
19356
+ "logicBundle": {
19357
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-my-groups?integrity=",
19358
+ "integrity": "",
19359
+ "contentType": "application/javascript+ts-bundle",
19360
+ "declaredCapabilities": [
19361
+ "wix_api"
19362
+ ],
19363
+ "minBinaryVersion": "0.1.0",
19364
+ "bundleVersion": "0.0.1"
19365
+ }
19366
+ },
18898
19367
  "himi_cms": {
18899
19368
  "screenId": "himi_cms",
18900
19369
  "renderer": "sdui_intent",
@@ -64,6 +64,9 @@
64
64
  "himi_my_events": {
65
65
  "displayName": "My Events"
66
66
  },
67
+ "himi_my_groups": {
68
+ "displayName": "My Groups"
69
+ },
67
70
  "himi_notif_settings": {
68
71
  "displayName": "Notif Settings"
69
72
  },
@@ -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"],