@wix/himalaya-cli 0.1024.0 → 0.1026.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 (84) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +12 -1
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +6 -0
  3. package/dist/cli.mjs +29 -18
  4. package/dist/preview-assets.generated.bin +0 -0
  5. package/guides/sdk-reference.json +1 -1
  6. package/package.json +2 -2
  7. package/templates/beauty-salon/dev/index.ts +1031 -240
  8. package/templates/beauty-salon/tier5-src/_shared/detail-presence.ts +51 -0
  9. package/templates/beauty-salon/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  10. package/templates/beauty-salon/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  11. package/templates/beauty-salon/tier5-src/wix-spaces-create-post/index.ts +14 -4
  12. package/templates/beauty-salon/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  13. package/templates/beauty-salon/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  14. package/templates/beauty-salon/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  15. package/templates/branded-lite/config.ts +3 -1
  16. package/templates/branded-lite/dev/index.ts +3455 -813
  17. package/templates/branded-lite/tier5-src/_shared/detail-presence.ts +51 -0
  18. package/templates/branded-lite/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  19. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio-project/index.ts +7 -2
  20. package/templates/branded-lite/tier5-src/himi-branded-lite-simple-detail/index.ts +4 -3
  21. package/templates/branded-lite/tier5-src/wix-spaces-chat-thread/index.ts +17 -4
  22. package/templates/branded-lite/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  23. package/templates/branded-lite/tier5-src/wix-spaces-coupon-detail/index.ts +7 -9
  24. package/templates/branded-lite/tier5-src/wix-spaces-create-post/index.ts +14 -4
  25. package/templates/branded-lite/tier5-src/wix-spaces-food-order-detail/index.ts +6 -3
  26. package/templates/branded-lite/tier5-src/wix-spaces-form-detail/index.ts +7 -9
  27. package/templates/branded-lite/tier5-src/wix-spaces-forum-post/index.ts +7 -9
  28. package/templates/branded-lite/tier5-src/wix-spaces-invoice-detail/index.ts +7 -9
  29. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +8 -8
  30. package/templates/branded-lite/tier5-src/wix-spaces-photo-albums/index.ts +8 -2
  31. package/templates/branded-lite/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  32. package/templates/branded-lite/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  33. package/templates/branded-lite/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  34. package/templates/community-club/dev/index.ts +345 -97
  35. package/templates/community-club/tier5-src/wix-spaces-create-post/index.ts +14 -4
  36. package/templates/community-club/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  37. package/templates/events-meetups/dev/index.ts +345 -97
  38. package/templates/events-meetups/tier5-src/wix-spaces-create-post/index.ts +14 -4
  39. package/templates/events-meetups/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  40. package/templates/gym-fitness/dev/index.ts +1031 -240
  41. package/templates/gym-fitness/tier5-src/_shared/detail-presence.ts +51 -0
  42. package/templates/gym-fitness/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  43. package/templates/gym-fitness/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  44. package/templates/gym-fitness/tier5-src/wix-spaces-create-post/index.ts +14 -4
  45. package/templates/gym-fitness/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  46. package/templates/gym-fitness/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  47. package/templates/gym-fitness/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  48. package/templates/nonprofit-cause/dev/index.ts +732 -188
  49. package/templates/nonprofit-cause/tier5-src/_shared/detail-presence.ts +51 -0
  50. package/templates/nonprofit-cause/tier5-src/wix-spaces-create-post/index.ts +14 -4
  51. package/templates/nonprofit-cause/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  52. package/templates/nonprofit-cause/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  53. package/templates/nonprofit-cause/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  54. package/templates/podcast-creator/dev/index.ts +942 -321
  55. package/templates/podcast-creator/tier5-src/_shared/detail-presence.ts +51 -0
  56. package/templates/podcast-creator/tier5-src/himi-branded-lite-simple-detail/index.ts +4 -3
  57. package/templates/podcast-creator/tier5-src/wix-spaces-create-post/index.ts +14 -4
  58. package/templates/podcast-creator/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  59. package/templates/podcast-creator/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  60. package/templates/podcast-creator/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  61. package/templates/portfolio-creative/dev/index.ts +676 -169
  62. package/templates/portfolio-creative/tier5-src/_shared/detail-presence.ts +51 -0
  63. package/templates/portfolio-creative/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  64. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio-project/index.ts +7 -2
  65. package/templates/portfolio-creative/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  66. package/templates/portfolio-creative/tier5-src/wix-spaces-create-post/index.ts +14 -4
  67. package/templates/portfolio-creative/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  68. package/templates/restaurant/dev/index.ts +529 -149
  69. package/templates/restaurant/tier5-src/_shared/detail-presence.ts +51 -0
  70. package/templates/restaurant/tier5-src/wix-spaces-create-post/index.ts +14 -4
  71. package/templates/restaurant/tier5-src/wix-spaces-food-order-detail/index.ts +6 -3
  72. package/templates/restaurant/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  73. package/templates/retail-store/dev/index.ts +643 -148
  74. package/templates/retail-store/tier5-src/_shared/detail-presence.ts +51 -0
  75. package/templates/retail-store/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  76. package/templates/retail-store/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  77. package/templates/retail-store/tier5-src/wix-spaces-create-post/index.ts +14 -4
  78. package/templates/retail-store/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  79. package/templates/yoga-studio/dev/index.ts +711 -183
  80. package/templates/yoga-studio/tier5-src/_shared/detail-presence.ts +51 -0
  81. package/templates/yoga-studio/tier5-src/wix-spaces-create-post/index.ts +14 -4
  82. package/templates/yoga-studio/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  83. package/templates/yoga-studio/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  84. package/templates/yoga-studio/tier5-src/wix-spaces-view-profile/index.ts +22 -12
@@ -14,7 +14,7 @@ const SCREENS = runtimeSetting({
14
14
  "himi_branded_home": {
15
15
  "screenId": "himi_branded_home",
16
16
  "renderer": "sdui_intent",
17
- "title": "",
17
+ "title": "__HIMI_APP_NAME__",
18
18
  "schemaVersion": 1,
19
19
  "cacheControl": {
20
20
  "maxAge": 0,
@@ -3542,74 +3542,196 @@ const SCREENS = runtimeSetting({
3542
3542
  "alignment": "center",
3543
3543
  "children": [
3544
3544
  {
3545
- "id": "himi_view_profile.avatar",
3545
+ "id": "himi_view_profile.loading",
3546
3546
  "body": {
3547
3547
  "package": "himalaya",
3548
- "type": "ZStack",
3548
+ "type": "Text",
3549
+ "props": {
3550
+ "text": "Loading…",
3551
+ "style": "body",
3552
+ "color": "textSecondary"
3553
+ }
3554
+ },
3555
+ "modifiers": {
3556
+ "hiddenPath": "$service:spacesViewProfile.hideLoading"
3557
+ }
3558
+ },
3559
+ {
3560
+ "id": "",
3561
+ "body": {
3562
+ "package": "himalaya",
3563
+ "type": "VStack",
3549
3564
  "props": {
3565
+ "spacing": 8,
3550
3566
  "alignment": "center",
3551
3567
  "children": [
3552
3568
  {
3553
- "id": "",
3569
+ "id": "himi_view_profile.avatar",
3554
3570
  "body": {
3555
3571
  "package": "himalaya",
3556
- "type": "Icon",
3572
+ "type": "ZStack",
3557
3573
  "props": {
3558
- "name": "photo",
3559
- "size": 28,
3560
- "tint": "accentPrimary"
3574
+ "alignment": "center",
3575
+ "children": [
3576
+ {
3577
+ "id": "",
3578
+ "body": {
3579
+ "package": "himalaya",
3580
+ "type": "Icon",
3581
+ "props": {
3582
+ "name": "photo",
3583
+ "size": 28,
3584
+ "tint": "accentPrimary"
3585
+ }
3586
+ },
3587
+ "modifiers": {
3588
+ "accessibilityRole": "decorative"
3589
+ }
3590
+ }
3591
+ ]
3561
3592
  }
3562
3593
  },
3563
3594
  "modifiers": {
3564
- "accessibilityRole": "decorative"
3595
+ "width": 96,
3596
+ "height": 96,
3597
+ "background": {
3598
+ "token": "accentSurface"
3599
+ },
3600
+ "cornerRadius": 16
3601
+ }
3602
+ },
3603
+ {
3604
+ "id": "himi_view_profile.name",
3605
+ "body": {
3606
+ "package": "himalaya",
3607
+ "type": "Text",
3608
+ "props": {
3609
+ "text": "$service:spacesViewProfile.name",
3610
+ "style": "title1"
3611
+ }
3612
+ }
3613
+ },
3614
+ {
3615
+ "id": "",
3616
+ "body": {
3617
+ "package": "himalaya",
3618
+ "type": "Text",
3619
+ "props": {
3620
+ "text": "$service:spacesViewProfile.handle",
3621
+ "style": "footnote",
3622
+ "color": "textSecondary",
3623
+ "collapseWhenEmpty": true
3624
+ }
3625
+ }
3626
+ },
3627
+ {
3628
+ "id": "",
3629
+ "body": {
3630
+ "package": "himalaya",
3631
+ "type": "Text",
3632
+ "props": {
3633
+ "text": "$service:spacesViewProfile.about",
3634
+ "style": "body",
3635
+ "collapseWhenEmpty": true
3636
+ }
3565
3637
  }
3566
3638
  }
3567
3639
  ]
3568
3640
  }
3569
3641
  },
3570
3642
  "modifiers": {
3571
- "width": 96,
3572
- "height": 96,
3573
- "background": {
3574
- "token": "accentSurface"
3575
- },
3576
- "cornerRadius": 16
3577
- }
3578
- },
3579
- {
3580
- "id": "himi_view_profile.name",
3581
- "body": {
3582
- "package": "himalaya",
3583
- "type": "Text",
3584
- "props": {
3585
- "text": "$service:spacesViewProfile.name",
3586
- "style": "title1"
3587
- }
3588
- }
3589
- },
3590
- {
3591
- "id": "",
3592
- "body": {
3593
- "package": "himalaya",
3594
- "type": "Text",
3595
- "props": {
3596
- "text": "$service:spacesViewProfile.handle",
3597
- "style": "footnote",
3598
- "color": "textSecondary",
3599
- "collapseWhenEmpty": true
3600
- }
3643
+ "hiddenPath": "$service:spacesViewProfile.profileHidden"
3601
3644
  }
3602
3645
  },
3603
3646
  {
3604
- "id": "",
3647
+ "id": "himi_view_profile.member_gate",
3605
3648
  "body": {
3606
3649
  "package": "himalaya",
3607
- "type": "Text",
3650
+ "type": "VStack",
3608
3651
  "props": {
3609
- "text": "$service:spacesViewProfile.about",
3610
- "style": "body",
3611
- "collapseWhenEmpty": true
3652
+ "spacing": 10,
3653
+ "alignment": "center",
3654
+ "children": [
3655
+ {
3656
+ "id": "",
3657
+ "body": {
3658
+ "package": "himalaya",
3659
+ "type": "Icon",
3660
+ "props": {
3661
+ "name": "person",
3662
+ "size": 28,
3663
+ "tint": "accentPrimary"
3664
+ }
3665
+ },
3666
+ "modifiers": {
3667
+ "accessibilityRole": "decorative"
3668
+ }
3669
+ },
3670
+ {
3671
+ "id": "himi_view_profile.member_gate_title",
3672
+ "body": {
3673
+ "package": "himalaya",
3674
+ "type": "Text",
3675
+ "props": {
3676
+ "text": "Sign in to view your profile",
3677
+ "style": "bodyEmphasis"
3678
+ }
3679
+ }
3680
+ },
3681
+ {
3682
+ "id": "",
3683
+ "body": {
3684
+ "package": "himalaya",
3685
+ "type": "Text",
3686
+ "props": {
3687
+ "text": "Your public profile appears here after you sign in.",
3688
+ "style": "footnote",
3689
+ "color": "textSecondary"
3690
+ }
3691
+ }
3692
+ },
3693
+ {
3694
+ "id": "himi_view_profile.member_gate_signin",
3695
+ "body": {
3696
+ "package": "himalaya",
3697
+ "type": "Button",
3698
+ "props": {
3699
+ "title": "Sign in",
3700
+ "style": "primary",
3701
+ "fullWidth": true,
3702
+ "action": {
3703
+ "actionId": "himi.open",
3704
+ "params": {
3705
+ "screenId": "himi_account",
3706
+ "intent": "profile",
3707
+ "returnScreenId": "himi_view_profile"
3708
+ }
3709
+ }
3710
+ }
3711
+ }
3712
+ }
3713
+ ]
3612
3714
  }
3715
+ },
3716
+ "modifiers": {
3717
+ "background": {
3718
+ "token": "surfaceElevated"
3719
+ },
3720
+ "border": {
3721
+ "width": 1,
3722
+ "color": {
3723
+ "token": "border"
3724
+ }
3725
+ },
3726
+ "cornerRadius": 16,
3727
+ "padding": {
3728
+ "leading": 16,
3729
+ "trailing": 16,
3730
+ "top": 20,
3731
+ "bottom": 20
3732
+ },
3733
+ "fillMaxWidth": true,
3734
+ "hiddenPath": "$service:spacesViewProfile.noSignIn"
3613
3735
  }
3614
3736
  }
3615
3737
  ]
@@ -7388,56 +7510,204 @@ const SCREENS = runtimeSetting({
7388
7510
  "spacing": 8,
7389
7511
  "alignment": "leading",
7390
7512
  "children": [
7391
- {
7392
- "id": "himi_collection.chrome",
7393
- "body": {
7394
- "package": "himalaya",
7395
- "type": "Text",
7396
- "props": {
7397
- "text": "Category",
7398
- "style": "title1"
7399
- }
7400
- }
7401
- },
7402
- {
7403
- "id": "himi_collection.title",
7404
- "body": {
7405
- "package": "himalaya",
7406
- "type": "Text",
7407
- "props": {
7408
- "text": "$service:spacesCollectionDetail.name",
7409
- "style": "title1",
7410
- "collapseWhenEmpty": true
7411
- }
7412
- }
7413
- },
7414
7513
  {
7415
7514
  "id": "",
7416
7515
  "body": {
7417
7516
  "package": "himalaya",
7418
- "type": "Text",
7517
+ "type": "VStack",
7419
7518
  "props": {
7420
- "text": "$service:spacesCollectionDetail.subtitle",
7421
- "style": "footnote",
7422
- "color": "textSecondary",
7423
- "collapseWhenEmpty": true
7519
+ "spacing": 8,
7520
+ "alignment": "leading",
7521
+ "children": [
7522
+ {
7523
+ "id": "himi_collection.chrome",
7524
+ "body": {
7525
+ "package": "himalaya",
7526
+ "type": "Text",
7527
+ "props": {
7528
+ "text": "Category",
7529
+ "style": "title1"
7530
+ }
7531
+ }
7532
+ },
7533
+ {
7534
+ "id": "himi_collection.title",
7535
+ "body": {
7536
+ "package": "himalaya",
7537
+ "type": "Text",
7538
+ "props": {
7539
+ "text": "$service:spacesCollectionDetail.name",
7540
+ "style": "title1",
7541
+ "collapseWhenEmpty": true
7542
+ }
7543
+ }
7544
+ },
7545
+ {
7546
+ "id": "",
7547
+ "body": {
7548
+ "package": "himalaya",
7549
+ "type": "Text",
7550
+ "props": {
7551
+ "text": "$service:spacesCollectionDetail.subtitle",
7552
+ "style": "footnote",
7553
+ "color": "textSecondary",
7554
+ "collapseWhenEmpty": true
7555
+ }
7556
+ }
7557
+ },
7558
+ {
7559
+ "id": "",
7560
+ "body": {
7561
+ "package": "himalaya",
7562
+ "type": "Text",
7563
+ "props": {
7564
+ "text": "$service:spacesCollectionDetail.description",
7565
+ "style": "body",
7566
+ "color": "textSecondary",
7567
+ "collapseWhenEmpty": true
7568
+ }
7569
+ }
7570
+ }
7571
+ ]
7424
7572
  }
7573
+ },
7574
+ "modifiers": {
7575
+ "hiddenPath": "$service:spacesCollectionDetail.noEntity"
7425
7576
  }
7426
7577
  },
7427
7578
  {
7428
7579
  "id": "",
7429
7580
  "body": {
7430
7581
  "package": "himalaya",
7431
- "type": "Text",
7582
+ "type": "VStack",
7432
7583
  "props": {
7433
- "text": "$service:spacesCollectionDetail.description",
7434
- "style": "body",
7435
- "color": "textSecondary",
7436
- "collapseWhenEmpty": true
7437
- }
7438
- }
7439
- }
7440
- ]
7584
+ "spacing": 12,
7585
+ "alignment": "leading",
7586
+ "children": [
7587
+ {
7588
+ "id": "himi_collection.loading",
7589
+ "body": {
7590
+ "package": "himalaya",
7591
+ "type": "Text",
7592
+ "props": {
7593
+ "text": "Loading…",
7594
+ "style": "body",
7595
+ "color": "textSecondary"
7596
+ }
7597
+ },
7598
+ "modifiers": {
7599
+ "hiddenPath": "$service:spacesCollectionDetail.hideLoading"
7600
+ }
7601
+ },
7602
+ {
7603
+ "id": "himi_collection.load_error",
7604
+ "body": {
7605
+ "package": "himalaya",
7606
+ "type": "Text",
7607
+ "props": {
7608
+ "text": "This category couldn't be loaded. Check your connection and try again.",
7609
+ "style": "body",
7610
+ "color": "textSecondary"
7611
+ }
7612
+ },
7613
+ "modifiers": {
7614
+ "hiddenPath": "$service:spacesCollectionDetail.hideLoadError"
7615
+ }
7616
+ },
7617
+ {
7618
+ "id": "himi_collection.not_found",
7619
+ "body": {
7620
+ "package": "himalaya",
7621
+ "type": "VStack",
7622
+ "props": {
7623
+ "spacing": 10,
7624
+ "alignment": "center",
7625
+ "children": [
7626
+ {
7627
+ "id": "",
7628
+ "body": {
7629
+ "package": "himalaya",
7630
+ "type": "Icon",
7631
+ "props": {
7632
+ "name": "grid",
7633
+ "size": 32,
7634
+ "tint": "textTertiary"
7635
+ }
7636
+ },
7637
+ "modifiers": {
7638
+ "accessibilityRole": "decorative"
7639
+ }
7640
+ },
7641
+ {
7642
+ "id": "himi_collection.not_found_title",
7643
+ "body": {
7644
+ "package": "himalaya",
7645
+ "type": "Text",
7646
+ "props": {
7647
+ "text": "Category not found",
7648
+ "style": "title3"
7649
+ }
7650
+ }
7651
+ },
7652
+ {
7653
+ "id": "",
7654
+ "body": {
7655
+ "package": "himalaya",
7656
+ "type": "Text",
7657
+ "props": {
7658
+ "text": "This category is no longer available.",
7659
+ "style": "body",
7660
+ "color": "textSecondary"
7661
+ }
7662
+ }
7663
+ },
7664
+ {
7665
+ "id": "himi_collection.not_found_back",
7666
+ "body": {
7667
+ "package": "himalaya",
7668
+ "type": "Button",
7669
+ "props": {
7670
+ "title": "Back to categories",
7671
+ "style": "primary",
7672
+ "fullWidth": true,
7673
+ "action": {
7674
+ "actionId": "himi.open",
7675
+ "params": {
7676
+ "screenId": "himi_collections"
7677
+ }
7678
+ }
7679
+ }
7680
+ }
7681
+ }
7682
+ ]
7683
+ }
7684
+ },
7685
+ "modifiers": {
7686
+ "background": {
7687
+ "token": "surfaceElevated"
7688
+ },
7689
+ "border": {
7690
+ "width": 1,
7691
+ "color": {
7692
+ "token": "border"
7693
+ }
7694
+ },
7695
+ "cornerRadius": 16,
7696
+ "padding": {
7697
+ "leading": 16,
7698
+ "trailing": 16,
7699
+ "top": 20,
7700
+ "bottom": 20
7701
+ },
7702
+ "fillMaxWidth": true,
7703
+ "hiddenPath": "$service:spacesCollectionDetail.hideNotFound"
7704
+ }
7705
+ }
7706
+ ]
7707
+ }
7708
+ }
7709
+ }
7710
+ ]
7441
7711
  }
7442
7712
  },
7443
7713
  "modifiers": {
@@ -10333,6 +10603,97 @@ const SCREENS = runtimeSetting({
10333
10603
  },
10334
10604
  "hiddenPath": "$service:himiBrandedOrders.noEmpty"
10335
10605
  }
10606
+ },
10607
+ {
10608
+ "id": "himi_orders.member_gate",
10609
+ "body": {
10610
+ "package": "himalaya",
10611
+ "type": "VStack",
10612
+ "props": {
10613
+ "spacing": 10,
10614
+ "alignment": "center",
10615
+ "children": [
10616
+ {
10617
+ "id": "",
10618
+ "body": {
10619
+ "package": "himalaya",
10620
+ "type": "Icon",
10621
+ "props": {
10622
+ "name": "person",
10623
+ "size": 28,
10624
+ "tint": "accentPrimary"
10625
+ }
10626
+ },
10627
+ "modifiers": {
10628
+ "accessibilityRole": "decorative"
10629
+ }
10630
+ },
10631
+ {
10632
+ "id": "himi_orders.member_gate_title",
10633
+ "body": {
10634
+ "package": "himalaya",
10635
+ "type": "Text",
10636
+ "props": {
10637
+ "text": "Sign in to see your orders",
10638
+ "style": "bodyEmphasis"
10639
+ }
10640
+ }
10641
+ },
10642
+ {
10643
+ "id": "",
10644
+ "body": {
10645
+ "package": "himalaya",
10646
+ "type": "Text",
10647
+ "props": {
10648
+ "text": "Your order history appears here after you sign in.",
10649
+ "style": "footnote",
10650
+ "color": "textSecondary"
10651
+ }
10652
+ }
10653
+ },
10654
+ {
10655
+ "id": "himi_orders.member_gate_signin",
10656
+ "body": {
10657
+ "package": "himalaya",
10658
+ "type": "Button",
10659
+ "props": {
10660
+ "title": "Sign in",
10661
+ "style": "primary",
10662
+ "fullWidth": true,
10663
+ "action": {
10664
+ "actionId": "himi.open",
10665
+ "params": {
10666
+ "screenId": "himi_account",
10667
+ "intent": "orders",
10668
+ "returnScreenId": "himi_orders"
10669
+ }
10670
+ }
10671
+ }
10672
+ }
10673
+ }
10674
+ ]
10675
+ }
10676
+ },
10677
+ "modifiers": {
10678
+ "background": {
10679
+ "token": "surfaceElevated"
10680
+ },
10681
+ "border": {
10682
+ "width": 1,
10683
+ "color": {
10684
+ "token": "border"
10685
+ }
10686
+ },
10687
+ "cornerRadius": 16,
10688
+ "padding": {
10689
+ "leading": 16,
10690
+ "trailing": 16,
10691
+ "top": 20,
10692
+ "bottom": 20
10693
+ },
10694
+ "fillMaxWidth": true,
10695
+ "hiddenPath": "$service:himiBrandedOrders.noSignIn"
10696
+ }
10336
10697
  }
10337
10698
  ]
10338
10699
  }
@@ -10394,65 +10755,172 @@ const SCREENS = runtimeSetting({
10394
10755
  }
10395
10756
  },
10396
10757
  {
10397
- "id": "",
10758
+ "id": "himi_create_post.member_gate",
10398
10759
  "body": {
10399
10760
  "package": "himalaya",
10400
- "type": "Text",
10401
- "props": {
10402
- "text": "$service:spacesCreatePost.hint",
10403
- "style": "footnote",
10404
- "color": "textSecondary",
10405
- "collapseWhenEmpty": true
10406
- }
10407
- }
10408
- },
10409
- {
10410
- "id": "himi_create_post.title_field",
10411
- "body": {
10412
- "package": "himalaya",
10413
- "type": "TextField",
10761
+ "type": "VStack",
10414
10762
  "props": {
10415
- "placeholder": "Title",
10416
- "value": "",
10417
- "submitLabel": "next",
10418
- "onSubmit": {
10419
- "actionId": "tier5.spacesCreatePost.focusBody"
10420
- },
10421
- "onChange": {
10422
- "actionId": "tier5.spacesCreatePost.setTitle"
10423
- }
10763
+ "spacing": 10,
10764
+ "alignment": "center",
10765
+ "children": [
10766
+ {
10767
+ "id": "",
10768
+ "body": {
10769
+ "package": "himalaya",
10770
+ "type": "Icon",
10771
+ "props": {
10772
+ "name": "person",
10773
+ "size": 28,
10774
+ "tint": "accentPrimary"
10775
+ }
10776
+ },
10777
+ "modifiers": {
10778
+ "accessibilityRole": "decorative"
10779
+ }
10780
+ },
10781
+ {
10782
+ "id": "himi_create_post.member_gate_title",
10783
+ "body": {
10784
+ "package": "himalaya",
10785
+ "type": "Text",
10786
+ "props": {
10787
+ "text": "Sign in to post",
10788
+ "style": "bodyEmphasis"
10789
+ }
10790
+ }
10791
+ },
10792
+ {
10793
+ "id": "",
10794
+ "body": {
10795
+ "package": "himalaya",
10796
+ "type": "Text",
10797
+ "props": {
10798
+ "text": "Sign in to share something with the community.",
10799
+ "style": "footnote",
10800
+ "color": "textSecondary"
10801
+ }
10802
+ }
10803
+ },
10804
+ {
10805
+ "id": "himi_create_post.member_gate_signin",
10806
+ "body": {
10807
+ "package": "himalaya",
10808
+ "type": "Button",
10809
+ "props": {
10810
+ "title": "Sign in",
10811
+ "style": "primary",
10812
+ "fullWidth": true,
10813
+ "action": {
10814
+ "actionId": "himi.open",
10815
+ "params": {
10816
+ "screenId": "himi_account",
10817
+ "intent": "post",
10818
+ "returnScreenId": "himi_create_post"
10819
+ }
10820
+ }
10821
+ }
10822
+ }
10823
+ }
10824
+ ]
10424
10825
  }
10425
- }
10426
- },
10427
- {
10428
- "id": "himi_create_post.body_field",
10429
- "body": {
10430
- "package": "himalaya",
10431
- "type": "TextField",
10432
- "props": {
10433
- "placeholder": "Write something…",
10434
- "value": "",
10435
- "multilineMaxLines": 6,
10436
- "focusPath": "$service:spacesCreatePost.bodyFocus",
10437
- "onChange": {
10438
- "actionId": "tier5.spacesCreatePost.setBody"
10826
+ },
10827
+ "modifiers": {
10828
+ "background": {
10829
+ "token": "surfaceElevated"
10830
+ },
10831
+ "border": {
10832
+ "width": 1,
10833
+ "color": {
10834
+ "token": "border"
10439
10835
  }
10440
- }
10836
+ },
10837
+ "cornerRadius": 16,
10838
+ "padding": {
10839
+ "leading": 16,
10840
+ "trailing": 16,
10841
+ "top": 20,
10842
+ "bottom": 20
10843
+ },
10844
+ "fillMaxWidth": true,
10845
+ "hiddenPath": "$service:spacesCreatePost.noSignIn"
10441
10846
  }
10442
10847
  },
10443
10848
  {
10444
- "id": "himi_create_post.submit",
10849
+ "id": "",
10445
10850
  "body": {
10446
10851
  "package": "himalaya",
10447
- "type": "Button",
10852
+ "type": "VStack",
10448
10853
  "props": {
10449
- "title": "Post",
10450
- "style": "primary",
10451
- "fullWidth": true,
10452
- "action": {
10453
- "actionId": "tier5.spacesCreatePost.submit"
10454
- }
10854
+ "spacing": 16,
10855
+ "alignment": "leading",
10856
+ "children": [
10857
+ {
10858
+ "id": "",
10859
+ "body": {
10860
+ "package": "himalaya",
10861
+ "type": "Text",
10862
+ "props": {
10863
+ "text": "$service:spacesCreatePost.hint",
10864
+ "style": "footnote",
10865
+ "color": "textSecondary",
10866
+ "collapseWhenEmpty": true
10867
+ }
10868
+ }
10869
+ },
10870
+ {
10871
+ "id": "himi_create_post.title_field",
10872
+ "body": {
10873
+ "package": "himalaya",
10874
+ "type": "TextField",
10875
+ "props": {
10876
+ "placeholder": "Title",
10877
+ "value": "",
10878
+ "submitLabel": "next",
10879
+ "onSubmit": {
10880
+ "actionId": "tier5.spacesCreatePost.focusBody"
10881
+ },
10882
+ "onChange": {
10883
+ "actionId": "tier5.spacesCreatePost.setTitle"
10884
+ }
10885
+ }
10886
+ }
10887
+ },
10888
+ {
10889
+ "id": "himi_create_post.body_field",
10890
+ "body": {
10891
+ "package": "himalaya",
10892
+ "type": "TextField",
10893
+ "props": {
10894
+ "placeholder": "Write something…",
10895
+ "value": "",
10896
+ "multilineMaxLines": 6,
10897
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
10898
+ "onChange": {
10899
+ "actionId": "tier5.spacesCreatePost.setBody"
10900
+ }
10901
+ }
10902
+ }
10903
+ },
10904
+ {
10905
+ "id": "himi_create_post.submit",
10906
+ "body": {
10907
+ "package": "himalaya",
10908
+ "type": "Button",
10909
+ "props": {
10910
+ "title": "Post",
10911
+ "style": "primary",
10912
+ "fullWidth": true,
10913
+ "action": {
10914
+ "actionId": "tier5.spacesCreatePost.submit"
10915
+ }
10916
+ }
10917
+ }
10918
+ }
10919
+ ]
10455
10920
  }
10921
+ },
10922
+ "modifiers": {
10923
+ "hiddenPath": "$service:spacesCreatePost.hideForm"
10456
10924
  }
10457
10925
  }
10458
10926
  ]
@@ -10467,6 +10935,9 @@ const SCREENS = runtimeSetting({
10467
10935
  "trailing": 16,
10468
10936
  "top": 18,
10469
10937
  "bottom": 28
10938
+ },
10939
+ "onAppear": {
10940
+ "actionId": "tier5.spacesCreatePost.load"
10470
10941
  }
10471
10942
  }
10472
10943
  },
@@ -15032,26 +15503,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
15032
15503
  }
15033
15504
  }
15034
15505
  },
15035
- {
15036
- "id": "himi_product.add_to_cart",
15037
- "body": {
15038
- "package": "himalaya",
15039
- "type": "Button",
15040
- "props": {
15041
- "title": "Add to cart",
15042
- "style": "primary",
15043
- "fullWidth": true,
15044
- "action": {
15045
- "actionId": "tier5.himiStoreProduct.addToCart"
15046
- }
15047
- }
15048
- },
15049
- "modifiers": {
15050
- "cornerRadius": 8,
15051
- "pressFeedback": "scale",
15052
- "haptic": "medium"
15053
- }
15054
- },
15055
15506
  {
15056
15507
  "id": "himi_product.save",
15057
15508
  "body": {
@@ -15234,6 +15685,50 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
15234
15685
  "input": {
15235
15686
  "id": "__HIMI_ID__"
15236
15687
  },
15688
+ "stickyFooter": {
15689
+ "id": "",
15690
+ "body": {
15691
+ "package": "himalaya",
15692
+ "type": "VStack",
15693
+ "props": {
15694
+ "spacing": 0,
15695
+ "children": [
15696
+ {
15697
+ "id": "himi_product.add_to_cart",
15698
+ "body": {
15699
+ "package": "himalaya",
15700
+ "type": "Button",
15701
+ "props": {
15702
+ "title": "Add to cart",
15703
+ "style": "primary",
15704
+ "fullWidth": true,
15705
+ "action": {
15706
+ "actionId": "tier5.himiStoreProduct.addToCart"
15707
+ }
15708
+ }
15709
+ },
15710
+ "modifiers": {
15711
+ "cornerRadius": 8,
15712
+ "pressFeedback": "scale",
15713
+ "haptic": "medium"
15714
+ }
15715
+ }
15716
+ ]
15717
+ }
15718
+ },
15719
+ "modifiers": {
15720
+ "background": {
15721
+ "token": "surfacePrimary"
15722
+ },
15723
+ "padding": {
15724
+ "leading": 16,
15725
+ "trailing": 16,
15726
+ "top": 8,
15727
+ "bottom": 8
15728
+ },
15729
+ "hiddenPath": "$service:himiStoreProduct.isLoading"
15730
+ }
15731
+ },
15237
15732
  "topBar": {
15238
15733
  "actions": [
15239
15734
  {