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