@wix/himalaya-cli 0.1288.0 → 0.1289.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 +31 -29
  2. package/dist/preview-assets.generated.bin +0 -0
  3. package/package.json +2 -2
  4. package/templates/beauty-salon/dev/index.ts +83 -478
  5. package/templates/beauty-salon/tier5-src/_shared/himi-layouts.ts +13 -34
  6. package/templates/beauty-salon/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  7. package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +1 -17
  8. package/templates/branded-lite/dev/index.ts +83 -479
  9. package/templates/branded-lite/tier5-src/_shared/himi-layouts.ts +13 -34
  10. package/templates/branded-lite/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  11. package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +1 -17
  12. package/templates/community-club/dev/index.ts +83 -479
  13. package/templates/community-club/tier5-src/_shared/himi-layouts.ts +13 -34
  14. package/templates/community-club/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  15. package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +1 -17
  16. package/templates/events-meetups/dev/index.ts +83 -479
  17. package/templates/events-meetups/tier5-src/_shared/himi-layouts.ts +13 -34
  18. package/templates/events-meetups/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  19. package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +1 -17
  20. package/templates/gym-fitness/dev/index.ts +83 -478
  21. package/templates/gym-fitness/tier5-src/_shared/himi-layouts.ts +13 -34
  22. package/templates/gym-fitness/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  23. package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +1 -17
  24. package/templates/nonprofit-cause/dev/index.ts +83 -479
  25. package/templates/nonprofit-cause/tier5-src/_shared/himi-layouts.ts +13 -34
  26. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  27. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +1 -17
  28. package/templates/podcast-creator/dev/index.ts +83 -479
  29. package/templates/podcast-creator/tier5-src/_shared/himi-layouts.ts +13 -34
  30. package/templates/podcast-creator/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  31. package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +1 -17
  32. package/templates/portfolio-creative/dev/index.ts +83 -478
  33. package/templates/portfolio-creative/tier5-src/_shared/himi-layouts.ts +13 -34
  34. package/templates/portfolio-creative/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  35. package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +1 -17
  36. package/templates/restaurant/dev/index.ts +83 -478
  37. package/templates/restaurant/tier5-src/_shared/himi-layouts.ts +13 -34
  38. package/templates/restaurant/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  39. package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +1 -17
  40. package/templates/retail-store/dev/index.ts +83 -478
  41. package/templates/retail-store/tier5-src/_shared/himi-layouts.ts +13 -34
  42. package/templates/retail-store/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  43. package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +1 -17
  44. package/templates/yoga-studio/dev/index.ts +83 -478
  45. package/templates/yoga-studio/tier5-src/_shared/himi-layouts.ts +13 -34
  46. package/templates/yoga-studio/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  47. package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +1 -17
@@ -3734,588 +3734,193 @@ const SCREENS = runtimeSetting({
3734
3734
  }
3735
3735
  },
3736
3736
  {
3737
- "id": "",
3737
+ "id": "himi_appearance.theme_title",
3738
3738
  "body": {
3739
3739
  "package": "himalaya",
3740
3740
  "type": "Text",
3741
3741
  "props": {
3742
- "text": "Tint the brand surfaces with your accent color.",
3743
- "style": "body",
3744
- "color": "textSecondary"
3742
+ "text": "Choose the app color theme",
3743
+ "style": "body"
3745
3744
  }
3746
3745
  }
3747
3746
  },
3748
3747
  {
3749
- "id": "",
3748
+ "id": "himi_appearance.themes",
3750
3749
  "body": {
3751
3750
  "package": "himalaya",
3752
3751
  "type": "VStack",
3753
3752
  "props": {
3754
- "spacing": 3,
3753
+ "spacing": 10,
3755
3754
  "alignment": "leading",
3756
3755
  "children": [
3757
3756
  {
3758
- "id": "",
3757
+ "id": "himi_appearance.theme_option.system",
3759
3758
  "body": {
3760
3759
  "package": "himalaya",
3761
- "type": "Text",
3762
- "props": {
3763
- "text": "Accent",
3764
- "style": "title3"
3765
- }
3766
- }
3767
- }
3768
- ]
3769
- }
3770
- }
3771
- },
3772
- {
3773
- "id": "himi_appearance.accents",
3774
- "body": {
3775
- "package": "himalaya",
3776
- "type": "Grid",
3777
- "props": {
3778
- "columns": 3,
3779
- "columnsMedium": 6,
3780
- "spacing": 12,
3781
- "items": [
3782
- {
3783
- "id": "himi_appearance.accent_option.brand",
3784
- "body": {
3785
- "package": "himalaya",
3786
- "type": "VStack",
3760
+ "type": "HStack",
3787
3761
  "props": {
3788
- "spacing": 8,
3789
- "alignment": "center",
3762
+ "spacing": 12,
3790
3763
  "children": [
3791
3764
  {
3792
- "id": "himi_appearance.accent.brand",
3793
- "body": {
3794
- "package": "himalaya",
3795
- "type": "ZStack",
3796
- "props": {
3797
- "alignment": "center",
3798
- "children": [
3799
- {
3800
- "id": "",
3801
- "body": {
3802
- "package": "himalaya",
3803
- "type": "Icon",
3804
- "props": {
3805
- "name": "check",
3806
- "size": 20,
3807
- "tint": "textOnAccent"
3808
- }
3809
- },
3810
- "modifiers": {
3811
- "accessibilityRole": "decorative",
3812
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
3813
- }
3814
- }
3815
- ]
3816
- }
3817
- },
3818
- "modifiers": {
3819
- "width": 46,
3820
- "height": 46,
3821
- "cornerRadius": 23,
3822
- "background": {
3823
- "token": "accentPrimary"
3824
- },
3825
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
3826
- "border": {
3827
- "width": 2,
3828
- "color": {
3829
- "token": "border"
3830
- }
3831
- }
3832
- }
3833
- },
3834
- {
3835
- "id": "himi_appearance.accent_radio.brand",
3765
+ "id": "himi_appearance.theme_radio.system",
3836
3766
  "body": {
3837
3767
  "package": "himalaya",
3838
3768
  "type": "SelectionControl",
3839
3769
  "props": {
3840
3770
  "kind": "radio",
3841
- "groupId": "himi_appearance.accent",
3842
- "label": "Brand",
3843
- "valuePath": "$service:himiBrandedAppearance.selected_brand",
3771
+ "groupId": "himi_appearance.theme",
3772
+ "label": "System default",
3773
+ "valuePath": "$service:himiBrandedAppearance.selected_system",
3844
3774
  "onChange": {
3845
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3775
+ "actionId": "tier5.himiBrandedAppearance.selectTheme",
3846
3776
  "params": {
3847
- "id": "brand"
3848
- }
3849
- }
3850
- }
3851
- }
3852
- }
3853
- ]
3854
- }
3855
- },
3856
- "modifiers": {
3857
- "padding": {
3858
- "top": 6,
3859
- "bottom": 6,
3860
- "leading": 4,
3861
- "trailing": 4
3862
- }
3863
- }
3864
- },
3865
- {
3866
- "id": "himi_appearance.accent_option.amber",
3867
- "body": {
3868
- "package": "himalaya",
3869
- "type": "VStack",
3870
- "props": {
3871
- "spacing": 8,
3872
- "alignment": "center",
3873
- "children": [
3874
- {
3875
- "id": "himi_appearance.accent.amber",
3876
- "body": {
3877
- "package": "himalaya",
3878
- "type": "ZStack",
3879
- "props": {
3880
- "alignment": "center",
3881
- "children": [
3882
- {
3883
- "id": "",
3884
- "body": {
3885
- "package": "himalaya",
3886
- "type": "Icon",
3887
- "props": {
3888
- "name": "check",
3889
- "size": 20,
3890
- "tint": "textOnAccent"
3891
- }
3892
- },
3893
- "modifiers": {
3894
- "accessibilityRole": "decorative",
3895
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
3896
- }
3777
+ "id": "system"
3897
3778
  }
3898
- ]
3899
- }
3900
- },
3901
- "modifiers": {
3902
- "width": 46,
3903
- "height": 46,
3904
- "cornerRadius": 23,
3905
- "background": {
3906
- "token": "accentPrimary"
3907
- },
3908
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
3909
- "border": {
3910
- "width": 2,
3911
- "color": {
3912
- "token": "border"
3913
3779
  }
3914
3780
  }
3915
3781
  }
3916
3782
  },
3917
3783
  {
3918
- "id": "himi_appearance.accent_radio.amber",
3784
+ "id": "",
3919
3785
  "body": {
3920
3786
  "package": "himalaya",
3921
- "type": "SelectionControl",
3922
- "props": {
3923
- "kind": "radio",
3924
- "groupId": "himi_appearance.accent",
3925
- "label": "Amber",
3926
- "valuePath": "$service:himiBrandedAppearance.selected_amber",
3927
- "onChange": {
3928
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3929
- "params": {
3930
- "id": "amber"
3931
- }
3932
- }
3933
- }
3787
+ "type": "Spacer",
3788
+ "props": {}
3934
3789
  }
3935
3790
  }
3936
3791
  ]
3937
3792
  }
3938
3793
  },
3939
3794
  "modifiers": {
3795
+ "background": {
3796
+ "token": "surfaceElevated"
3797
+ },
3798
+ "border": {
3799
+ "width": 1,
3800
+ "color": {
3801
+ "token": "border"
3802
+ }
3803
+ },
3804
+ "cornerRadius": 8,
3940
3805
  "padding": {
3941
- "top": 6,
3942
- "bottom": 6,
3943
- "leading": 4,
3944
- "trailing": 4
3806
+ "leading": 12,
3807
+ "trailing": 12,
3808
+ "top": 12,
3809
+ "bottom": 12
3945
3810
  }
3946
3811
  }
3947
3812
  },
3948
3813
  {
3949
- "id": "himi_appearance.accent_option.terracotta",
3814
+ "id": "himi_appearance.theme_option.light",
3950
3815
  "body": {
3951
3816
  "package": "himalaya",
3952
- "type": "VStack",
3817
+ "type": "HStack",
3953
3818
  "props": {
3954
- "spacing": 8,
3955
- "alignment": "center",
3819
+ "spacing": 12,
3956
3820
  "children": [
3957
3821
  {
3958
- "id": "himi_appearance.accent.terracotta",
3959
- "body": {
3960
- "package": "himalaya",
3961
- "type": "ZStack",
3962
- "props": {
3963
- "alignment": "center",
3964
- "children": [
3965
- {
3966
- "id": "",
3967
- "body": {
3968
- "package": "himalaya",
3969
- "type": "Icon",
3970
- "props": {
3971
- "name": "check",
3972
- "size": 20,
3973
- "tint": "textOnAccent"
3974
- }
3975
- },
3976
- "modifiers": {
3977
- "accessibilityRole": "decorative",
3978
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
3979
- }
3980
- }
3981
- ]
3982
- }
3983
- },
3984
- "modifiers": {
3985
- "width": 46,
3986
- "height": 46,
3987
- "cornerRadius": 23,
3988
- "background": {
3989
- "token": "accentPrimary"
3990
- },
3991
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
3992
- "border": {
3993
- "width": 2,
3994
- "color": {
3995
- "token": "border"
3996
- }
3997
- }
3998
- }
3999
- },
4000
- {
4001
- "id": "himi_appearance.accent_radio.terracotta",
3822
+ "id": "himi_appearance.theme_radio.light",
4002
3823
  "body": {
4003
3824
  "package": "himalaya",
4004
3825
  "type": "SelectionControl",
4005
3826
  "props": {
4006
3827
  "kind": "radio",
4007
- "groupId": "himi_appearance.accent",
4008
- "label": "Terracotta",
4009
- "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
3828
+ "groupId": "himi_appearance.theme",
3829
+ "label": "Light",
3830
+ "valuePath": "$service:himiBrandedAppearance.selected_light",
4010
3831
  "onChange": {
4011
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3832
+ "actionId": "tier5.himiBrandedAppearance.selectTheme",
4012
3833
  "params": {
4013
- "id": "terracotta"
4014
- }
4015
- }
4016
- }
4017
- }
4018
- }
4019
- ]
4020
- }
4021
- },
4022
- "modifiers": {
4023
- "padding": {
4024
- "top": 6,
4025
- "bottom": 6,
4026
- "leading": 4,
4027
- "trailing": 4
4028
- }
4029
- }
4030
- },
4031
- {
4032
- "id": "himi_appearance.accent_option.sage",
4033
- "body": {
4034
- "package": "himalaya",
4035
- "type": "VStack",
4036
- "props": {
4037
- "spacing": 8,
4038
- "alignment": "center",
4039
- "children": [
4040
- {
4041
- "id": "himi_appearance.accent.sage",
4042
- "body": {
4043
- "package": "himalaya",
4044
- "type": "ZStack",
4045
- "props": {
4046
- "alignment": "center",
4047
- "children": [
4048
- {
4049
- "id": "",
4050
- "body": {
4051
- "package": "himalaya",
4052
- "type": "Icon",
4053
- "props": {
4054
- "name": "check",
4055
- "size": 20,
4056
- "tint": "textOnAccent"
4057
- }
4058
- },
4059
- "modifiers": {
4060
- "accessibilityRole": "decorative",
4061
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
4062
- }
3834
+ "id": "light"
4063
3835
  }
4064
- ]
4065
- }
4066
- },
4067
- "modifiers": {
4068
- "width": 46,
4069
- "height": 46,
4070
- "cornerRadius": 23,
4071
- "background": {
4072
- "token": "accentPrimary"
4073
- },
4074
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4075
- "border": {
4076
- "width": 2,
4077
- "color": {
4078
- "token": "border"
4079
3836
  }
4080
3837
  }
4081
3838
  }
4082
3839
  },
4083
3840
  {
4084
- "id": "himi_appearance.accent_radio.sage",
3841
+ "id": "",
4085
3842
  "body": {
4086
3843
  "package": "himalaya",
4087
- "type": "SelectionControl",
4088
- "props": {
4089
- "kind": "radio",
4090
- "groupId": "himi_appearance.accent",
4091
- "label": "Sage",
4092
- "valuePath": "$service:himiBrandedAppearance.selected_sage",
4093
- "onChange": {
4094
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4095
- "params": {
4096
- "id": "sage"
4097
- }
4098
- }
4099
- }
3844
+ "type": "Spacer",
3845
+ "props": {}
4100
3846
  }
4101
3847
  }
4102
3848
  ]
4103
3849
  }
4104
3850
  },
4105
3851
  "modifiers": {
3852
+ "background": {
3853
+ "token": "surfaceElevated"
3854
+ },
3855
+ "border": {
3856
+ "width": 1,
3857
+ "color": {
3858
+ "token": "border"
3859
+ }
3860
+ },
3861
+ "cornerRadius": 8,
4106
3862
  "padding": {
4107
- "top": 6,
4108
- "bottom": 6,
4109
- "leading": 4,
4110
- "trailing": 4
3863
+ "leading": 12,
3864
+ "trailing": 12,
3865
+ "top": 12,
3866
+ "bottom": 12
4111
3867
  }
4112
3868
  }
4113
3869
  },
4114
3870
  {
4115
- "id": "himi_appearance.accent_option.plum",
3871
+ "id": "himi_appearance.theme_option.dark",
4116
3872
  "body": {
4117
3873
  "package": "himalaya",
4118
- "type": "VStack",
3874
+ "type": "HStack",
4119
3875
  "props": {
4120
- "spacing": 8,
4121
- "alignment": "center",
3876
+ "spacing": 12,
4122
3877
  "children": [
4123
3878
  {
4124
- "id": "himi_appearance.accent.plum",
4125
- "body": {
4126
- "package": "himalaya",
4127
- "type": "ZStack",
4128
- "props": {
4129
- "alignment": "center",
4130
- "children": [
4131
- {
4132
- "id": "",
4133
- "body": {
4134
- "package": "himalaya",
4135
- "type": "Icon",
4136
- "props": {
4137
- "name": "check",
4138
- "size": 20,
4139
- "tint": "textOnAccent"
4140
- }
4141
- },
4142
- "modifiers": {
4143
- "accessibilityRole": "decorative",
4144
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
4145
- }
4146
- }
4147
- ]
4148
- }
4149
- },
4150
- "modifiers": {
4151
- "width": 46,
4152
- "height": 46,
4153
- "cornerRadius": 23,
4154
- "background": {
4155
- "token": "accentPrimary"
4156
- },
4157
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4158
- "border": {
4159
- "width": 2,
4160
- "color": {
4161
- "token": "border"
4162
- }
4163
- }
4164
- }
4165
- },
4166
- {
4167
- "id": "himi_appearance.accent_radio.plum",
3879
+ "id": "himi_appearance.theme_radio.dark",
4168
3880
  "body": {
4169
3881
  "package": "himalaya",
4170
3882
  "type": "SelectionControl",
4171
3883
  "props": {
4172
3884
  "kind": "radio",
4173
- "groupId": "himi_appearance.accent",
4174
- "label": "Plum",
4175
- "valuePath": "$service:himiBrandedAppearance.selected_plum",
3885
+ "groupId": "himi_appearance.theme",
3886
+ "label": "Dark",
3887
+ "valuePath": "$service:himiBrandedAppearance.selected_dark",
4176
3888
  "onChange": {
4177
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3889
+ "actionId": "tier5.himiBrandedAppearance.selectTheme",
4178
3890
  "params": {
4179
- "id": "plum"
4180
- }
4181
- }
4182
- }
4183
- }
4184
- }
4185
- ]
4186
- }
4187
- },
4188
- "modifiers": {
4189
- "padding": {
4190
- "top": 6,
4191
- "bottom": 6,
4192
- "leading": 4,
4193
- "trailing": 4
4194
- }
4195
- }
4196
- },
4197
- {
4198
- "id": "himi_appearance.accent_option.ocean",
4199
- "body": {
4200
- "package": "himalaya",
4201
- "type": "VStack",
4202
- "props": {
4203
- "spacing": 8,
4204
- "alignment": "center",
4205
- "children": [
4206
- {
4207
- "id": "himi_appearance.accent.ocean",
4208
- "body": {
4209
- "package": "himalaya",
4210
- "type": "ZStack",
4211
- "props": {
4212
- "alignment": "center",
4213
- "children": [
4214
- {
4215
- "id": "",
4216
- "body": {
4217
- "package": "himalaya",
4218
- "type": "Icon",
4219
- "props": {
4220
- "name": "check",
4221
- "size": 20,
4222
- "tint": "textOnAccent"
4223
- }
4224
- },
4225
- "modifiers": {
4226
- "accessibilityRole": "decorative",
4227
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
4228
- }
3891
+ "id": "dark"
4229
3892
  }
4230
- ]
4231
- }
4232
- },
4233
- "modifiers": {
4234
- "width": 46,
4235
- "height": 46,
4236
- "cornerRadius": 23,
4237
- "background": {
4238
- "token": "accentPrimary"
4239
- },
4240
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4241
- "border": {
4242
- "width": 2,
4243
- "color": {
4244
- "token": "border"
4245
3893
  }
4246
3894
  }
4247
3895
  }
4248
3896
  },
4249
3897
  {
4250
- "id": "himi_appearance.accent_radio.ocean",
3898
+ "id": "",
4251
3899
  "body": {
4252
3900
  "package": "himalaya",
4253
- "type": "SelectionControl",
4254
- "props": {
4255
- "kind": "radio",
4256
- "groupId": "himi_appearance.accent",
4257
- "label": "Ocean",
4258
- "valuePath": "$service:himiBrandedAppearance.selected_ocean",
4259
- "onChange": {
4260
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4261
- "params": {
4262
- "id": "ocean"
4263
- }
4264
- }
4265
- }
3901
+ "type": "Spacer",
3902
+ "props": {}
4266
3903
  }
4267
3904
  }
4268
3905
  ]
4269
3906
  }
4270
3907
  },
4271
3908
  "modifiers": {
4272
- "padding": {
4273
- "top": 6,
4274
- "bottom": 6,
4275
- "leading": 4,
4276
- "trailing": 4
4277
- }
4278
- }
4279
- }
4280
- ]
4281
- }
4282
- }
4283
- },
4284
- {
4285
- "id": "",
4286
- "body": {
4287
- "package": "himalaya",
4288
- "type": "HStack",
4289
- "props": {
4290
- "spacing": 10,
4291
- "children": [
4292
- {
4293
- "id": "himi_appearance.apply",
4294
- "body": {
4295
- "package": "himalaya",
4296
- "type": "Button",
4297
- "props": {
4298
- "title": "Apply",
4299
- "style": "primary",
4300
- "fullWidth": true,
4301
- "action": {
4302
- "actionId": "tier5.himiBrandedAppearance.apply"
4303
- }
4304
- }
4305
- }
4306
- },
4307
- {
4308
- "id": "himi_appearance.reset",
4309
- "body": {
4310
- "package": "himalaya",
4311
- "type": "Button",
4312
- "props": {
4313
- "title": "Reset",
4314
- "style": "secondary",
4315
- "fullWidth": true,
4316
- "action": {
4317
- "actionId": "tier5.himiBrandedAppearance.reset"
3909
+ "background": {
3910
+ "token": "surfaceElevated"
3911
+ },
3912
+ "border": {
3913
+ "width": 1,
3914
+ "color": {
3915
+ "token": "border"
4318
3916
  }
3917
+ },
3918
+ "cornerRadius": 8,
3919
+ "padding": {
3920
+ "leading": 12,
3921
+ "trailing": 12,
3922
+ "top": 12,
3923
+ "bottom": 12
4319
3924
  }
4320
3925
  }
4321
3926
  }