@wix/himalaya-cli 0.2017.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 (47) hide show
  1. package/dist/cli.mjs +13 -1
  2. package/guides/widgets.md +4 -2
  3. package/package.json +2 -2
  4. package/templates/beauty-salon-owner/dev/index.ts +237 -200
  5. package/templates/beauty-salon-owner/himalaya.content.json +9 -0
  6. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  7. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  8. package/templates/community-club-owner/dev/index.ts +314 -49
  9. package/templates/community-club-owner/himalaya.content.json +9 -0
  10. package/templates/community-club-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  11. package/templates/community-club-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  12. package/templates/events-meetups-owner/dev/index.ts +330 -23
  13. package/templates/events-meetups-owner/himalaya.content.json +9 -0
  14. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  15. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  16. package/templates/gym-fitness-owner/dev/index.ts +237 -200
  17. package/templates/gym-fitness-owner/himalaya.content.json +9 -0
  18. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  19. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  20. package/templates/nonprofit-cause-owner/dev/index.ts +237 -158
  21. package/templates/nonprofit-cause-owner/himalaya.content.json +9 -0
  22. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  23. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  24. package/templates/owner-lite/dev/index.ts +237 -200
  25. package/templates/owner-lite/himalaya.content.json +9 -0
  26. package/templates/owner-lite/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  27. package/templates/owner-lite/tier5-src/himi-owner-lite-today/index.ts +89 -37
  28. package/templates/podcast-creator-owner/dev/index.ts +314 -49
  29. package/templates/podcast-creator-owner/himalaya.content.json +9 -0
  30. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  31. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  32. package/templates/portfolio-creative-owner/dev/index.ts +237 -200
  33. package/templates/portfolio-creative-owner/himalaya.content.json +9 -0
  34. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  35. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  36. package/templates/restaurant-owner/dev/index.ts +237 -200
  37. package/templates/restaurant-owner/himalaya.content.json +9 -0
  38. package/templates/restaurant-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  39. package/templates/restaurant-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  40. package/templates/retail-store-owner/dev/index.ts +314 -49
  41. package/templates/retail-store-owner/himalaya.content.json +9 -0
  42. package/templates/retail-store-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  43. package/templates/retail-store-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  44. package/templates/yoga-studio-owner/dev/index.ts +237 -158
  45. package/templates/yoga-studio-owner/himalaya.content.json +9 -0
  46. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  47. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
@@ -69186,7 +69186,7 @@ const SCREENS = runtimeSetting({
69186
69186
  "package": "himalaya",
69187
69187
  "type": "Text",
69188
69188
  "props": {
69189
- "text": "Today",
69189
+ "text": "Now",
69190
69190
  "style": "caption",
69191
69191
  "color": "textSecondary",
69192
69192
  "maxLines": 1
@@ -69213,6 +69213,76 @@ const SCREENS = runtimeSetting({
69213
69213
  "hiddenPath": "$service:ownerToday.hideMessage"
69214
69214
  }
69215
69215
  },
69216
+ {
69217
+ "id": "owner_widget.small.glance",
69218
+ "body": {
69219
+ "package": "himalaya",
69220
+ "type": "VStack",
69221
+ "props": {
69222
+ "spacing": 1,
69223
+ "alignment": "leading",
69224
+ "children": [
69225
+ {
69226
+ "id": "owner_widget.small.time",
69227
+ "body": {
69228
+ "package": "himalaya",
69229
+ "type": "Text",
69230
+ "props": {
69231
+ "text": "$service:ownerToday.glanceTime",
69232
+ "style": "title2",
69233
+ "maxLines": 1,
69234
+ "monospacedDigits": true
69235
+ }
69236
+ },
69237
+ "modifiers": {
69238
+ "hiddenPath": "$service:ownerToday.hideGlanceTime"
69239
+ }
69240
+ },
69241
+ {
69242
+ "id": "owner_widget.small.what",
69243
+ "body": {
69244
+ "package": "himalaya",
69245
+ "type": "VStack",
69246
+ "props": {
69247
+ "spacing": 1,
69248
+ "alignment": "leading",
69249
+ "children": [
69250
+ {
69251
+ "id": "owner_widget.small.headline",
69252
+ "body": {
69253
+ "package": "himalaya",
69254
+ "type": "Text",
69255
+ "props": {
69256
+ "text": "$service:ownerToday.glanceHeadline",
69257
+ "style": "bodyEmphasis",
69258
+ "maxLines": 2
69259
+ }
69260
+ }
69261
+ },
69262
+ {
69263
+ "id": "owner_widget.small.detail",
69264
+ "body": {
69265
+ "package": "himalaya",
69266
+ "type": "Text",
69267
+ "props": {
69268
+ "text": "$service:ownerToday.glanceDetail",
69269
+ "style": "caption",
69270
+ "color": "textSecondary",
69271
+ "maxLines": 1
69272
+ }
69273
+ }
69274
+ }
69275
+ ]
69276
+ }
69277
+ }
69278
+ }
69279
+ ]
69280
+ }
69281
+ },
69282
+ "modifiers": {
69283
+ "hiddenPath": "$service:ownerToday.message"
69284
+ }
69285
+ },
69216
69286
  {
69217
69287
  "id": "owner_widget.small.spacer",
69218
69288
  "body": {
@@ -69222,19 +69292,19 @@ const SCREENS = runtimeSetting({
69222
69292
  }
69223
69293
  },
69224
69294
  {
69225
- "id": "owner_widget.small.counts",
69295
+ "id": "owner_widget.small.secondary",
69226
69296
  "body": {
69227
69297
  "package": "himalaya",
69228
69298
  "type": "Text",
69229
69299
  "props": {
69230
- "text": "$service:ownerToday.countsShort",
69300
+ "text": "$service:ownerToday.glanceSecondary",
69231
69301
  "style": "caption",
69232
69302
  "maxLines": 1,
69233
69303
  "monospacedDigits": true
69234
69304
  }
69235
69305
  },
69236
69306
  "modifiers": {
69237
- "hiddenPath": "$service:ownerToday.message"
69307
+ "hiddenPath": "$service:ownerToday.hideGlanceSecondary"
69238
69308
  }
69239
69309
  }
69240
69310
  ]
@@ -69242,7 +69312,7 @@ const SCREENS = runtimeSetting({
69242
69312
  }
69243
69313
  },
69244
69314
  "input": {
69245
- "verticals": "store"
69315
+ "verticals": "store,events,blog"
69246
69316
  },
69247
69317
  "logicBundle": {
69248
69318
  "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
@@ -69331,80 +69401,65 @@ const SCREENS = runtimeSetting({
69331
69401
  }
69332
69402
  },
69333
69403
  {
69334
- "id": "owner_widget.medium.spacer",
69335
- "body": {
69336
- "package": "himalaya",
69337
- "type": "Spacer",
69338
- "props": {}
69339
- }
69340
- },
69341
- {
69342
- "id": "owner_widget.medium.divider",
69343
- "body": {
69344
- "package": "himalaya",
69345
- "type": "Divider",
69346
- "props": {}
69347
- },
69348
- "modifiers": {
69349
- "hiddenPath": "$service:ownerToday.message"
69350
- }
69351
- },
69352
- {
69353
- "id": "owner_widget.medium.counts",
69404
+ "id": "owner_widget.medium.glance",
69354
69405
  "body": {
69355
69406
  "package": "himalaya",
69356
69407
  "type": "HStack",
69357
69408
  "props": {
69358
- "spacing": 8,
69409
+ "spacing": 10,
69359
69410
  "children": [
69360
69411
  {
69361
- "id": "owner_widget.medium.counts_spacer",
69412
+ "id": "owner_widget.medium.time",
69362
69413
  "body": {
69363
69414
  "package": "himalaya",
69364
- "type": "Spacer",
69365
- "props": {}
69415
+ "type": "Text",
69416
+ "props": {
69417
+ "text": "$service:ownerToday.glanceTime",
69418
+ "style": "title2",
69419
+ "maxLines": 1,
69420
+ "monospacedDigits": true
69421
+ }
69422
+ },
69423
+ "modifiers": {
69424
+ "hiddenPath": "$service:ownerToday.hideGlanceTime"
69366
69425
  }
69367
69426
  },
69368
69427
  {
69369
- "id": "owner_widget.medium.orders_row",
69428
+ "id": "owner_widget.medium.what",
69370
69429
  "body": {
69371
69430
  "package": "himalaya",
69372
- "type": "HStack",
69431
+ "type": "VStack",
69373
69432
  "props": {
69374
- "spacing": 4,
69433
+ "spacing": 1,
69434
+ "alignment": "leading",
69375
69435
  "children": [
69376
69436
  {
69377
- "id": "owner_widget.medium.orders_icon",
69437
+ "id": "owner_widget.medium.headline",
69378
69438
  "body": {
69379
69439
  "package": "himalaya",
69380
- "type": "Icon",
69440
+ "type": "Text",
69381
69441
  "props": {
69382
- "name": "bag",
69383
- "size": 12,
69384
- "tint": "accentPrimary"
69442
+ "text": "$service:ownerToday.glanceHeadline",
69443
+ "style": "bodyEmphasis",
69444
+ "maxLines": 2
69385
69445
  }
69386
- },
69387
- "modifiers": {
69388
- "accessibilityRole": "decorative"
69389
69446
  }
69390
69447
  },
69391
69448
  {
69392
- "id": "owner_widget.medium.orders",
69449
+ "id": "owner_widget.medium.detail",
69393
69450
  "body": {
69394
69451
  "package": "himalaya",
69395
69452
  "type": "Text",
69396
69453
  "props": {
69397
- "text": "$service:ownerToday.orderLabel",
69398
- "style": "footnote",
69454
+ "text": "$service:ownerToday.glanceDetail",
69455
+ "style": "caption",
69456
+ "color": "textSecondary",
69399
69457
  "maxLines": 1
69400
69458
  }
69401
69459
  }
69402
69460
  }
69403
69461
  ]
69404
69462
  }
69405
- },
69406
- "modifiers": {
69407
- "hiddenPath": "$service:ownerToday.hideOrders"
69408
69463
  }
69409
69464
  }
69410
69465
  ]
@@ -69413,13 +69468,223 @@ const SCREENS = runtimeSetting({
69413
69468
  "modifiers": {
69414
69469
  "hiddenPath": "$service:ownerToday.message"
69415
69470
  }
69471
+ },
69472
+ {
69473
+ "id": "owner_widget.medium.spacer",
69474
+ "body": {
69475
+ "package": "himalaya",
69476
+ "type": "Spacer",
69477
+ "props": {}
69478
+ }
69479
+ },
69480
+ {
69481
+ "id": "owner_widget.medium.divider",
69482
+ "body": {
69483
+ "package": "himalaya",
69484
+ "type": "Divider",
69485
+ "props": {}
69486
+ },
69487
+ "modifiers": {
69488
+ "hiddenPath": "$service:ownerToday.hideGlanceSecondary"
69489
+ }
69490
+ },
69491
+ {
69492
+ "id": "owner_widget.medium.secondary",
69493
+ "body": {
69494
+ "package": "himalaya",
69495
+ "type": "Text",
69496
+ "props": {
69497
+ "text": "$service:ownerToday.glanceSecondary",
69498
+ "style": "footnote",
69499
+ "maxLines": 1,
69500
+ "monospacedDigits": true
69501
+ }
69502
+ },
69503
+ "modifiers": {
69504
+ "hiddenPath": "$service:ownerToday.hideGlanceSecondary"
69505
+ }
69416
69506
  }
69417
69507
  ]
69418
69508
  }
69419
69509
  }
69420
69510
  },
69421
69511
  "input": {
69422
- "verticals": "store"
69512
+ "verticals": "store,events,blog"
69513
+ },
69514
+ "logicBundle": {
69515
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
69516
+ "integrity": "",
69517
+ "contentType": "application/javascript+ts-bundle",
69518
+ "declaredCapabilities": [
69519
+ "wix_api"
69520
+ ],
69521
+ "minBinaryVersion": "0.1.0",
69522
+ "bundleVersion": "0.0.1"
69523
+ }
69524
+ },
69525
+ "himi_owner_lite_widget_today_lock_circular": {
69526
+ "screenId": "himi_owner_lite_widget_today_lock_circular",
69527
+ "renderer": "sdui_intent",
69528
+ "title": "Today widget (Lock Screen, circular)",
69529
+ "schemaVersion": 1,
69530
+ "cacheControl": {
69531
+ "maxAge": 0,
69532
+ "staleWhileRevalidate": 0
69533
+ },
69534
+ "telemetryScreenName": "himi_owner_lite_widget_today_lock_circular",
69535
+ "payload": {
69536
+ "id": "himi_owner_lite_widget_today_lock_circular.root",
69537
+ "body": {
69538
+ "package": "himalaya",
69539
+ "type": "VStack",
69540
+ "props": {
69541
+ "spacing": 0,
69542
+ "alignment": "center",
69543
+ "children": [
69544
+ {
69545
+ "id": "owner_widget.lock_circular.value",
69546
+ "body": {
69547
+ "package": "himalaya",
69548
+ "type": "Text",
69549
+ "props": {
69550
+ "text": "$service:ownerToday.lockCircValue",
69551
+ "style": "bodyEmphasis",
69552
+ "maxLines": 1,
69553
+ "monospacedDigits": true
69554
+ }
69555
+ }
69556
+ },
69557
+ {
69558
+ "id": "owner_widget.lock_circular.label",
69559
+ "body": {
69560
+ "package": "himalaya",
69561
+ "type": "Text",
69562
+ "props": {
69563
+ "text": "$service:ownerToday.lockCircLabel",
69564
+ "style": "caption",
69565
+ "maxLines": 1
69566
+ }
69567
+ }
69568
+ }
69569
+ ]
69570
+ }
69571
+ }
69572
+ },
69573
+ "input": {
69574
+ "verticals": "store,events,blog"
69575
+ },
69576
+ "logicBundle": {
69577
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
69578
+ "integrity": "",
69579
+ "contentType": "application/javascript+ts-bundle",
69580
+ "declaredCapabilities": [
69581
+ "wix_api"
69582
+ ],
69583
+ "minBinaryVersion": "0.1.0",
69584
+ "bundleVersion": "0.0.1"
69585
+ }
69586
+ },
69587
+ "himi_owner_lite_widget_today_lock_rectangular": {
69588
+ "screenId": "himi_owner_lite_widget_today_lock_rectangular",
69589
+ "renderer": "sdui_intent",
69590
+ "title": "Today widget (Lock Screen, rectangular)",
69591
+ "schemaVersion": 1,
69592
+ "cacheControl": {
69593
+ "maxAge": 0,
69594
+ "staleWhileRevalidate": 0
69595
+ },
69596
+ "telemetryScreenName": "himi_owner_lite_widget_today_lock_rectangular",
69597
+ "payload": {
69598
+ "id": "himi_owner_lite_widget_today_lock_rectangular.root",
69599
+ "body": {
69600
+ "package": "himalaya",
69601
+ "type": "VStack",
69602
+ "props": {
69603
+ "spacing": 1,
69604
+ "alignment": "leading",
69605
+ "children": [
69606
+ {
69607
+ "id": "owner_widget.lock_rectangular.title",
69608
+ "body": {
69609
+ "package": "himalaya",
69610
+ "type": "Text",
69611
+ "props": {
69612
+ "text": "$service:ownerToday.lockRectTitle",
69613
+ "style": "bodyEmphasis",
69614
+ "maxLines": 1
69615
+ }
69616
+ }
69617
+ },
69618
+ {
69619
+ "id": "owner_widget.lock_rectangular.detail",
69620
+ "body": {
69621
+ "package": "himalaya",
69622
+ "type": "Text",
69623
+ "props": {
69624
+ "text": "$service:ownerToday.lockRectDetail",
69625
+ "style": "caption",
69626
+ "maxLines": 1
69627
+ }
69628
+ }
69629
+ },
69630
+ {
69631
+ "id": "owner_widget.lock_rectangular.secondary",
69632
+ "body": {
69633
+ "package": "himalaya",
69634
+ "type": "Text",
69635
+ "props": {
69636
+ "text": "$service:ownerToday.lockRectSecondary",
69637
+ "style": "caption",
69638
+ "maxLines": 1,
69639
+ "monospacedDigits": true
69640
+ }
69641
+ },
69642
+ "modifiers": {
69643
+ "hiddenPath": "$service:ownerToday.lockHideSecondary"
69644
+ }
69645
+ }
69646
+ ]
69647
+ }
69648
+ }
69649
+ },
69650
+ "input": {
69651
+ "verticals": "store,events,blog"
69652
+ },
69653
+ "logicBundle": {
69654
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
69655
+ "integrity": "",
69656
+ "contentType": "application/javascript+ts-bundle",
69657
+ "declaredCapabilities": [
69658
+ "wix_api"
69659
+ ],
69660
+ "minBinaryVersion": "0.1.0",
69661
+ "bundleVersion": "0.0.1"
69662
+ }
69663
+ },
69664
+ "himi_owner_lite_widget_today_lock_inline": {
69665
+ "screenId": "himi_owner_lite_widget_today_lock_inline",
69666
+ "renderer": "sdui_intent",
69667
+ "title": "Today widget (Lock Screen, inline)",
69668
+ "schemaVersion": 1,
69669
+ "cacheControl": {
69670
+ "maxAge": 0,
69671
+ "staleWhileRevalidate": 0
69672
+ },
69673
+ "telemetryScreenName": "himi_owner_lite_widget_today_lock_inline",
69674
+ "payload": {
69675
+ "id": "himi_owner_lite_widget_today_lock_inline.root",
69676
+ "body": {
69677
+ "package": "himalaya",
69678
+ "type": "Text",
69679
+ "props": {
69680
+ "text": "$service:ownerToday.lockInline",
69681
+ "style": "caption",
69682
+ "maxLines": 1
69683
+ }
69684
+ }
69685
+ },
69686
+ "input": {
69687
+ "verticals": "store,events,blog"
69423
69688
  },
69424
69689
  "logicBundle": {
69425
69690
  "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
@@ -69687,7 +69952,7 @@ const SCREENS = runtimeSetting({
69687
69952
  }
69688
69953
  },
69689
69954
  "input": {
69690
- "verticals": "store"
69955
+ "verticals": "store,events,blog"
69691
69956
  },
69692
69957
  "logicBundle": {
69693
69958
  "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today-rollup",
@@ -69989,7 +70254,7 @@ const SCREENS = runtimeSetting({
69989
70254
  }
69990
70255
  },
69991
70256
  "input": {
69992
- "verticals": "store"
70257
+ "verticals": "store,events,blog"
69993
70258
  },
69994
70259
  "logicBundle": {
69995
70260
  "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today-rollup",
@@ -193,6 +193,15 @@
193
193
  "himi_owner_lite_widget_rollup_small": {
194
194
  "displayName": "Today rollup widget (small)"
195
195
  },
196
+ "himi_owner_lite_widget_today_lock_circular": {
197
+ "displayName": "Today widget (Lock Screen, circular)"
198
+ },
199
+ "himi_owner_lite_widget_today_lock_inline": {
200
+ "displayName": "Today widget (Lock Screen, inline)"
201
+ },
202
+ "himi_owner_lite_widget_today_lock_rectangular": {
203
+ "displayName": "Today widget (Lock Screen, rectangular)"
204
+ },
196
205
  "himi_owner_lite_widget_today_medium": {
197
206
  "displayName": "Today widget (medium)"
198
207
  },