@wix/himalaya-cli 0.2016.0 → 0.2018.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/dev-server/src/app-config.d.ts +14 -0
  2. package/dist/browser-plane/assets.json +5 -5
  3. package/dist/browser-plane/preview-deferred/{c5078f43cc09f68f520bdcc966dac09b9005f22c16cc4eeac0ace1ae295cd684.bin → dda1fb76c0d4cd06bff81e83b374bfbf1937f894c6f2228ec6cd7140743d0775.bin} +1 -1
  4. package/dist/browser-plane/sw.js +10 -10
  5. package/dist/cli.mjs +81 -56
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/guides/widgets.md +4 -2
  8. package/package.json +2 -2
  9. package/templates/beauty-salon-owner/dev/index.ts +237 -200
  10. package/templates/beauty-salon-owner/himalaya.content.json +9 -0
  11. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  12. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  13. package/templates/branded-lite/recipes/products-carousel.json +1 -1
  14. package/templates/branded-lite/recipes/products-grid.json +1 -1
  15. package/templates/branded-lite/tier5-src/_shared/products-section.ts +3 -1
  16. package/templates/community-club-owner/dev/index.ts +314 -49
  17. package/templates/community-club-owner/himalaya.content.json +9 -0
  18. package/templates/community-club-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  19. package/templates/community-club-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  20. package/templates/events-meetups-owner/dev/index.ts +330 -23
  21. package/templates/events-meetups-owner/himalaya.content.json +9 -0
  22. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  23. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  24. package/templates/gym-fitness-owner/dev/index.ts +237 -200
  25. package/templates/gym-fitness-owner/himalaya.content.json +9 -0
  26. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  27. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  28. package/templates/nonprofit-cause-owner/dev/index.ts +237 -158
  29. package/templates/nonprofit-cause-owner/himalaya.content.json +9 -0
  30. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  31. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  32. package/templates/owner-lite/dev/index.ts +237 -200
  33. package/templates/owner-lite/himalaya.content.json +9 -0
  34. package/templates/owner-lite/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  35. package/templates/owner-lite/tier5-src/himi-owner-lite-today/index.ts +89 -37
  36. package/templates/podcast-creator-owner/dev/index.ts +314 -49
  37. package/templates/podcast-creator-owner/himalaya.content.json +9 -0
  38. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  39. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  40. package/templates/portfolio-creative-owner/dev/index.ts +237 -200
  41. package/templates/portfolio-creative-owner/himalaya.content.json +9 -0
  42. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  43. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  44. package/templates/restaurant-owner/dev/index.ts +237 -200
  45. package/templates/restaurant-owner/himalaya.content.json +9 -0
  46. package/templates/restaurant-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  47. package/templates/restaurant-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  48. package/templates/retail-store-owner/dev/index.ts +314 -49
  49. package/templates/retail-store-owner/himalaya.content.json +9 -0
  50. package/templates/retail-store-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  51. package/templates/retail-store-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  52. package/templates/yoga-studio-owner/dev/index.ts +237 -158
  53. package/templates/yoga-studio-owner/himalaya.content.json +9 -0
  54. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  55. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
@@ -68803,7 +68803,7 @@ const SCREENS = runtimeSetting({
68803
68803
  "package": "himalaya",
68804
68804
  "type": "Text",
68805
68805
  "props": {
68806
- "text": "Today",
68806
+ "text": "Now",
68807
68807
  "style": "caption",
68808
68808
  "color": "textSecondary",
68809
68809
  "maxLines": 1
@@ -68830,6 +68830,76 @@ const SCREENS = runtimeSetting({
68830
68830
  "hiddenPath": "$service:ownerToday.hideMessage"
68831
68831
  }
68832
68832
  },
68833
+ {
68834
+ "id": "owner_widget.small.glance",
68835
+ "body": {
68836
+ "package": "himalaya",
68837
+ "type": "VStack",
68838
+ "props": {
68839
+ "spacing": 1,
68840
+ "alignment": "leading",
68841
+ "children": [
68842
+ {
68843
+ "id": "owner_widget.small.time",
68844
+ "body": {
68845
+ "package": "himalaya",
68846
+ "type": "Text",
68847
+ "props": {
68848
+ "text": "$service:ownerToday.glanceTime",
68849
+ "style": "title2",
68850
+ "maxLines": 1,
68851
+ "monospacedDigits": true
68852
+ }
68853
+ },
68854
+ "modifiers": {
68855
+ "hiddenPath": "$service:ownerToday.hideGlanceTime"
68856
+ }
68857
+ },
68858
+ {
68859
+ "id": "owner_widget.small.what",
68860
+ "body": {
68861
+ "package": "himalaya",
68862
+ "type": "VStack",
68863
+ "props": {
68864
+ "spacing": 1,
68865
+ "alignment": "leading",
68866
+ "children": [
68867
+ {
68868
+ "id": "owner_widget.small.headline",
68869
+ "body": {
68870
+ "package": "himalaya",
68871
+ "type": "Text",
68872
+ "props": {
68873
+ "text": "$service:ownerToday.glanceHeadline",
68874
+ "style": "bodyEmphasis",
68875
+ "maxLines": 2
68876
+ }
68877
+ }
68878
+ },
68879
+ {
68880
+ "id": "owner_widget.small.detail",
68881
+ "body": {
68882
+ "package": "himalaya",
68883
+ "type": "Text",
68884
+ "props": {
68885
+ "text": "$service:ownerToday.glanceDetail",
68886
+ "style": "caption",
68887
+ "color": "textSecondary",
68888
+ "maxLines": 1
68889
+ }
68890
+ }
68891
+ }
68892
+ ]
68893
+ }
68894
+ }
68895
+ }
68896
+ ]
68897
+ }
68898
+ },
68899
+ "modifiers": {
68900
+ "hiddenPath": "$service:ownerToday.message"
68901
+ }
68902
+ },
68833
68903
  {
68834
68904
  "id": "owner_widget.small.spacer",
68835
68905
  "body": {
@@ -68839,19 +68909,19 @@ const SCREENS = runtimeSetting({
68839
68909
  }
68840
68910
  },
68841
68911
  {
68842
- "id": "owner_widget.small.counts",
68912
+ "id": "owner_widget.small.secondary",
68843
68913
  "body": {
68844
68914
  "package": "himalaya",
68845
68915
  "type": "Text",
68846
68916
  "props": {
68847
- "text": "$service:ownerToday.countsShort",
68917
+ "text": "$service:ownerToday.glanceSecondary",
68848
68918
  "style": "caption",
68849
68919
  "maxLines": 1,
68850
68920
  "monospacedDigits": true
68851
68921
  }
68852
68922
  },
68853
68923
  "modifiers": {
68854
- "hiddenPath": "$service:ownerToday.message"
68924
+ "hiddenPath": "$service:ownerToday.hideGlanceSecondary"
68855
68925
  }
68856
68926
  }
68857
68927
  ]
@@ -68859,7 +68929,7 @@ const SCREENS = runtimeSetting({
68859
68929
  }
68860
68930
  },
68861
68931
  "input": {
68862
- "verticals": ""
68932
+ "verticals": "events,blog"
68863
68933
  },
68864
68934
  "logicBundle": {
68865
68935
  "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
@@ -68947,6 +69017,75 @@ const SCREENS = runtimeSetting({
68947
69017
  "hiddenPath": "$service:ownerToday.hideMessage"
68948
69018
  }
68949
69019
  },
69020
+ {
69021
+ "id": "owner_widget.medium.glance",
69022
+ "body": {
69023
+ "package": "himalaya",
69024
+ "type": "HStack",
69025
+ "props": {
69026
+ "spacing": 10,
69027
+ "children": [
69028
+ {
69029
+ "id": "owner_widget.medium.time",
69030
+ "body": {
69031
+ "package": "himalaya",
69032
+ "type": "Text",
69033
+ "props": {
69034
+ "text": "$service:ownerToday.glanceTime",
69035
+ "style": "title2",
69036
+ "maxLines": 1,
69037
+ "monospacedDigits": true
69038
+ }
69039
+ },
69040
+ "modifiers": {
69041
+ "hiddenPath": "$service:ownerToday.hideGlanceTime"
69042
+ }
69043
+ },
69044
+ {
69045
+ "id": "owner_widget.medium.what",
69046
+ "body": {
69047
+ "package": "himalaya",
69048
+ "type": "VStack",
69049
+ "props": {
69050
+ "spacing": 1,
69051
+ "alignment": "leading",
69052
+ "children": [
69053
+ {
69054
+ "id": "owner_widget.medium.headline",
69055
+ "body": {
69056
+ "package": "himalaya",
69057
+ "type": "Text",
69058
+ "props": {
69059
+ "text": "$service:ownerToday.glanceHeadline",
69060
+ "style": "bodyEmphasis",
69061
+ "maxLines": 2
69062
+ }
69063
+ }
69064
+ },
69065
+ {
69066
+ "id": "owner_widget.medium.detail",
69067
+ "body": {
69068
+ "package": "himalaya",
69069
+ "type": "Text",
69070
+ "props": {
69071
+ "text": "$service:ownerToday.glanceDetail",
69072
+ "style": "caption",
69073
+ "color": "textSecondary",
69074
+ "maxLines": 1
69075
+ }
69076
+ }
69077
+ }
69078
+ ]
69079
+ }
69080
+ }
69081
+ }
69082
+ ]
69083
+ }
69084
+ },
69085
+ "modifiers": {
69086
+ "hiddenPath": "$service:ownerToday.message"
69087
+ }
69088
+ },
68950
69089
  {
68951
69090
  "id": "owner_widget.medium.spacer",
68952
69091
  "body": {
@@ -68963,30 +69102,85 @@ const SCREENS = runtimeSetting({
68963
69102
  "props": {}
68964
69103
  },
68965
69104
  "modifiers": {
68966
- "hiddenPath": "$service:ownerToday.message"
69105
+ "hiddenPath": "$service:ownerToday.hideGlanceSecondary"
68967
69106
  }
68968
69107
  },
68969
69108
  {
68970
- "id": "owner_widget.medium.counts",
69109
+ "id": "owner_widget.medium.secondary",
68971
69110
  "body": {
68972
69111
  "package": "himalaya",
68973
- "type": "HStack",
69112
+ "type": "Text",
68974
69113
  "props": {
68975
- "spacing": 8,
68976
- "children": [
68977
- {
68978
- "id": "owner_widget.medium.counts_spacer",
68979
- "body": {
68980
- "package": "himalaya",
68981
- "type": "Spacer",
68982
- "props": {}
68983
- }
68984
- }
68985
- ]
69114
+ "text": "$service:ownerToday.glanceSecondary",
69115
+ "style": "footnote",
69116
+ "maxLines": 1,
69117
+ "monospacedDigits": true
68986
69118
  }
68987
69119
  },
68988
69120
  "modifiers": {
68989
- "hiddenPath": "$service:ownerToday.message"
69121
+ "hiddenPath": "$service:ownerToday.hideGlanceSecondary"
69122
+ }
69123
+ }
69124
+ ]
69125
+ }
69126
+ }
69127
+ },
69128
+ "input": {
69129
+ "verticals": "events,blog"
69130
+ },
69131
+ "logicBundle": {
69132
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
69133
+ "integrity": "",
69134
+ "contentType": "application/javascript+ts-bundle",
69135
+ "declaredCapabilities": [
69136
+ "wix_api"
69137
+ ],
69138
+ "minBinaryVersion": "0.1.0",
69139
+ "bundleVersion": "0.0.1"
69140
+ }
69141
+ },
69142
+ "himi_owner_lite_widget_today_lock_circular": {
69143
+ "screenId": "himi_owner_lite_widget_today_lock_circular",
69144
+ "renderer": "sdui_intent",
69145
+ "title": "Today widget (Lock Screen, circular)",
69146
+ "schemaVersion": 1,
69147
+ "cacheControl": {
69148
+ "maxAge": 0,
69149
+ "staleWhileRevalidate": 0
69150
+ },
69151
+ "telemetryScreenName": "himi_owner_lite_widget_today_lock_circular",
69152
+ "payload": {
69153
+ "id": "himi_owner_lite_widget_today_lock_circular.root",
69154
+ "body": {
69155
+ "package": "himalaya",
69156
+ "type": "VStack",
69157
+ "props": {
69158
+ "spacing": 0,
69159
+ "alignment": "center",
69160
+ "children": [
69161
+ {
69162
+ "id": "owner_widget.lock_circular.value",
69163
+ "body": {
69164
+ "package": "himalaya",
69165
+ "type": "Text",
69166
+ "props": {
69167
+ "text": "$service:ownerToday.lockCircValue",
69168
+ "style": "bodyEmphasis",
69169
+ "maxLines": 1,
69170
+ "monospacedDigits": true
69171
+ }
69172
+ }
69173
+ },
69174
+ {
69175
+ "id": "owner_widget.lock_circular.label",
69176
+ "body": {
69177
+ "package": "himalaya",
69178
+ "type": "Text",
69179
+ "props": {
69180
+ "text": "$service:ownerToday.lockCircLabel",
69181
+ "style": "caption",
69182
+ "maxLines": 1
69183
+ }
68990
69184
  }
68991
69185
  }
68992
69186
  ]
@@ -68994,7 +69188,120 @@ const SCREENS = runtimeSetting({
68994
69188
  }
68995
69189
  },
68996
69190
  "input": {
68997
- "verticals": ""
69191
+ "verticals": "events,blog"
69192
+ },
69193
+ "logicBundle": {
69194
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
69195
+ "integrity": "",
69196
+ "contentType": "application/javascript+ts-bundle",
69197
+ "declaredCapabilities": [
69198
+ "wix_api"
69199
+ ],
69200
+ "minBinaryVersion": "0.1.0",
69201
+ "bundleVersion": "0.0.1"
69202
+ }
69203
+ },
69204
+ "himi_owner_lite_widget_today_lock_rectangular": {
69205
+ "screenId": "himi_owner_lite_widget_today_lock_rectangular",
69206
+ "renderer": "sdui_intent",
69207
+ "title": "Today widget (Lock Screen, rectangular)",
69208
+ "schemaVersion": 1,
69209
+ "cacheControl": {
69210
+ "maxAge": 0,
69211
+ "staleWhileRevalidate": 0
69212
+ },
69213
+ "telemetryScreenName": "himi_owner_lite_widget_today_lock_rectangular",
69214
+ "payload": {
69215
+ "id": "himi_owner_lite_widget_today_lock_rectangular.root",
69216
+ "body": {
69217
+ "package": "himalaya",
69218
+ "type": "VStack",
69219
+ "props": {
69220
+ "spacing": 1,
69221
+ "alignment": "leading",
69222
+ "children": [
69223
+ {
69224
+ "id": "owner_widget.lock_rectangular.title",
69225
+ "body": {
69226
+ "package": "himalaya",
69227
+ "type": "Text",
69228
+ "props": {
69229
+ "text": "$service:ownerToday.lockRectTitle",
69230
+ "style": "bodyEmphasis",
69231
+ "maxLines": 1
69232
+ }
69233
+ }
69234
+ },
69235
+ {
69236
+ "id": "owner_widget.lock_rectangular.detail",
69237
+ "body": {
69238
+ "package": "himalaya",
69239
+ "type": "Text",
69240
+ "props": {
69241
+ "text": "$service:ownerToday.lockRectDetail",
69242
+ "style": "caption",
69243
+ "maxLines": 1
69244
+ }
69245
+ }
69246
+ },
69247
+ {
69248
+ "id": "owner_widget.lock_rectangular.secondary",
69249
+ "body": {
69250
+ "package": "himalaya",
69251
+ "type": "Text",
69252
+ "props": {
69253
+ "text": "$service:ownerToday.lockRectSecondary",
69254
+ "style": "caption",
69255
+ "maxLines": 1,
69256
+ "monospacedDigits": true
69257
+ }
69258
+ },
69259
+ "modifiers": {
69260
+ "hiddenPath": "$service:ownerToday.lockHideSecondary"
69261
+ }
69262
+ }
69263
+ ]
69264
+ }
69265
+ }
69266
+ },
69267
+ "input": {
69268
+ "verticals": "events,blog"
69269
+ },
69270
+ "logicBundle": {
69271
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
69272
+ "integrity": "",
69273
+ "contentType": "application/javascript+ts-bundle",
69274
+ "declaredCapabilities": [
69275
+ "wix_api"
69276
+ ],
69277
+ "minBinaryVersion": "0.1.0",
69278
+ "bundleVersion": "0.0.1"
69279
+ }
69280
+ },
69281
+ "himi_owner_lite_widget_today_lock_inline": {
69282
+ "screenId": "himi_owner_lite_widget_today_lock_inline",
69283
+ "renderer": "sdui_intent",
69284
+ "title": "Today widget (Lock Screen, inline)",
69285
+ "schemaVersion": 1,
69286
+ "cacheControl": {
69287
+ "maxAge": 0,
69288
+ "staleWhileRevalidate": 0
69289
+ },
69290
+ "telemetryScreenName": "himi_owner_lite_widget_today_lock_inline",
69291
+ "payload": {
69292
+ "id": "himi_owner_lite_widget_today_lock_inline.root",
69293
+ "body": {
69294
+ "package": "himalaya",
69295
+ "type": "Text",
69296
+ "props": {
69297
+ "text": "$service:ownerToday.lockInline",
69298
+ "style": "caption",
69299
+ "maxLines": 1
69300
+ }
69301
+ }
69302
+ },
69303
+ "input": {
69304
+ "verticals": "events,blog"
68998
69305
  },
68999
69306
  "logicBundle": {
69000
69307
  "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
@@ -69262,7 +69569,7 @@ const SCREENS = runtimeSetting({
69262
69569
  }
69263
69570
  },
69264
69571
  "input": {
69265
- "verticals": ""
69572
+ "verticals": "events,blog"
69266
69573
  },
69267
69574
  "logicBundle": {
69268
69575
  "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today-rollup",
@@ -69564,7 +69871,7 @@ const SCREENS = runtimeSetting({
69564
69871
  }
69565
69872
  },
69566
69873
  "input": {
69567
- "verticals": ""
69874
+ "verticals": "events,blog"
69568
69875
  },
69569
69876
  "logicBundle": {
69570
69877
  "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today-rollup",
@@ -175,6 +175,15 @@
175
175
  "himi_owner_lite_widget_rollup_small": {
176
176
  "displayName": "Today rollup widget (small)"
177
177
  },
178
+ "himi_owner_lite_widget_today_lock_circular": {
179
+ "displayName": "Today widget (Lock Screen, circular)"
180
+ },
181
+ "himi_owner_lite_widget_today_lock_inline": {
182
+ "displayName": "Today widget (Lock Screen, inline)"
183
+ },
184
+ "himi_owner_lite_widget_today_lock_rectangular": {
185
+ "displayName": "Today widget (Lock Screen, rectangular)"
186
+ },
178
187
  "himi_owner_lite_widget_today_medium": {
179
188
  "displayName": "Today widget (medium)"
180
189
  },