@wix/himalaya-cli 0.1029.0 → 0.1030.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 (67) hide show
  1. package/dist/cli.mjs +55 -27
  2. package/dist/preview-assets.generated.bin +0 -0
  3. package/guides/component-reference.json +0 -7
  4. package/guides/component-reference.md +0 -2
  5. package/package.json +2 -2
  6. package/templates/beauty-salon/dev/index.ts +575 -214
  7. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +4 -1
  8. package/templates/beauty-salon/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  9. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +36 -5
  10. package/templates/beauty-salon/tier5-src/wix-spaces-app-language/index.ts +4 -2
  11. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +4 -1
  12. package/templates/branded-lite/dev/index.ts +699 -228
  13. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +4 -1
  14. package/templates/branded-lite/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  15. package/templates/branded-lite/tier5-src/himi-branded-lite-notifsettings/index.ts +11 -6
  16. package/templates/branded-lite/tier5-src/himi-branded-lite-reviews/index.ts +11 -6
  17. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +36 -5
  18. package/templates/branded-lite/tier5-src/wix-spaces-app-language/index.ts +4 -2
  19. package/templates/community-club/dev/index.ts +451 -204
  20. package/templates/community-club/tier5-src/_shared/collection-contract.ts +4 -1
  21. package/templates/community-club/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  22. package/templates/community-club/tier5-src/wix-spaces-app-language/index.ts +4 -2
  23. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +4 -1
  24. package/templates/events-meetups/dev/index.ts +451 -204
  25. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +4 -1
  26. package/templates/events-meetups/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  27. package/templates/events-meetups/tier5-src/wix-spaces-app-language/index.ts +4 -2
  28. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +4 -1
  29. package/templates/gym-fitness/dev/index.ts +575 -214
  30. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +4 -1
  31. package/templates/gym-fitness/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  32. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +36 -5
  33. package/templates/gym-fitness/tier5-src/wix-spaces-app-language/index.ts +4 -2
  34. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +4 -1
  35. package/templates/nonprofit-cause/dev/index.ts +451 -204
  36. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +4 -1
  37. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  38. package/templates/nonprofit-cause/tier5-src/wix-spaces-app-language/index.ts +4 -2
  39. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +4 -1
  40. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +4 -1
  41. package/templates/podcast-creator/dev/index.ts +451 -204
  42. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +4 -1
  43. package/templates/podcast-creator/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  44. package/templates/podcast-creator/tier5-src/wix-spaces-app-language/index.ts +4 -2
  45. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +4 -1
  46. package/templates/portfolio-creative/dev/index.ts +575 -214
  47. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +4 -1
  48. package/templates/portfolio-creative/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  49. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +36 -5
  50. package/templates/portfolio-creative/tier5-src/wix-spaces-app-language/index.ts +4 -2
  51. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +4 -1
  52. package/templates/restaurant/dev/index.ts +451 -204
  53. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +4 -1
  54. package/templates/restaurant/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  55. package/templates/restaurant/tier5-src/wix-spaces-app-language/index.ts +4 -2
  56. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +4 -1
  57. package/templates/retail-store/dev/index.ts +575 -214
  58. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +4 -1
  59. package/templates/retail-store/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  60. package/templates/retail-store/tier5-src/himi-store-product/index.ts +36 -5
  61. package/templates/retail-store/tier5-src/wix-spaces-app-language/index.ts +4 -2
  62. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +4 -1
  63. package/templates/yoga-studio/dev/index.ts +451 -204
  64. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +4 -1
  65. package/templates/yoga-studio/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  66. package/templates/yoga-studio/tier5-src/wix-spaces-app-language/index.ts +4 -2
  67. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +4 -1
@@ -3765,18 +3765,6 @@ const SCREENS = runtimeSetting({
3765
3765
  "style": "title3"
3766
3766
  }
3767
3767
  }
3768
- },
3769
- {
3770
- "id": "",
3771
- "body": {
3772
- "package": "himalaya",
3773
- "type": "Text",
3774
- "props": {
3775
- "text": "Tint the brand surfaces.",
3776
- "style": "footnote",
3777
- "color": "textSecondary"
3778
- }
3779
- }
3780
3768
  }
3781
3769
  ]
3782
3770
  }
@@ -3788,218 +3776,506 @@ const SCREENS = runtimeSetting({
3788
3776
  "package": "himalaya",
3789
3777
  "type": "Grid",
3790
3778
  "props": {
3791
- "columns": 6,
3779
+ "columns": 3,
3792
3780
  "columnsMedium": 6,
3793
3781
  "spacing": 12,
3794
3782
  "items": [
3795
3783
  {
3796
- "id": "himi_appearance.accent.brand",
3784
+ "id": "himi_appearance.accent_option.brand",
3797
3785
  "body": {
3798
3786
  "package": "himalaya",
3799
- "type": "ZStack",
3787
+ "type": "VStack",
3800
3788
  "props": {
3789
+ "spacing": 8,
3801
3790
  "alignment": "center",
3802
- "children": []
3791
+ "children": [
3792
+ {
3793
+ "id": "himi_appearance.accent.brand",
3794
+ "body": {
3795
+ "package": "himalaya",
3796
+ "type": "ZStack",
3797
+ "props": {
3798
+ "alignment": "center",
3799
+ "children": [
3800
+ {
3801
+ "id": "",
3802
+ "body": {
3803
+ "package": "himalaya",
3804
+ "type": "Icon",
3805
+ "props": {
3806
+ "name": "check",
3807
+ "size": 20,
3808
+ "tint": "textOnAccent"
3809
+ }
3810
+ },
3811
+ "modifiers": {
3812
+ "accessibilityRole": "decorative",
3813
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
3814
+ }
3815
+ }
3816
+ ]
3817
+ }
3818
+ },
3819
+ "modifiers": {
3820
+ "width": 46,
3821
+ "height": 46,
3822
+ "cornerRadius": 23,
3823
+ "background": {
3824
+ "token": "accentPrimary"
3825
+ },
3826
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
3827
+ "border": {
3828
+ "width": 2,
3829
+ "color": {
3830
+ "token": "border"
3831
+ }
3832
+ }
3833
+ }
3834
+ },
3835
+ {
3836
+ "id": "himi_appearance.accent_radio.brand",
3837
+ "body": {
3838
+ "package": "himalaya",
3839
+ "type": "SelectionControl",
3840
+ "props": {
3841
+ "kind": "radio",
3842
+ "groupId": "himi_appearance.accent",
3843
+ "label": "Brand",
3844
+ "valuePath": "$service:himiBrandedAppearance.selected_brand",
3845
+ "onChange": {
3846
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
3847
+ "params": {
3848
+ "id": "brand"
3849
+ }
3850
+ }
3851
+ }
3852
+ }
3853
+ }
3854
+ ]
3803
3855
  }
3804
3856
  },
3805
3857
  "modifiers": {
3806
- "width": 46,
3807
- "height": 46,
3808
- "cornerRadius": 23,
3809
- "background": {
3810
- "token": "accentPrimary"
3811
- },
3812
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
3813
- "border": {
3814
- "width": 2,
3815
- "color": {
3816
- "token": "border"
3817
- }
3818
- },
3819
- "onTap": {
3820
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3821
- "params": {
3822
- "id": "brand"
3823
- }
3824
- },
3825
- "pressFeedback": "scale",
3826
- "haptic": "light",
3827
- "accessibilityLabel": "brand"
3858
+ "padding": {
3859
+ "top": 6,
3860
+ "bottom": 6,
3861
+ "leading": 4,
3862
+ "trailing": 4
3863
+ }
3828
3864
  }
3829
3865
  },
3830
3866
  {
3831
- "id": "himi_appearance.accent.amber",
3867
+ "id": "himi_appearance.accent_option.amber",
3832
3868
  "body": {
3833
3869
  "package": "himalaya",
3834
- "type": "ZStack",
3870
+ "type": "VStack",
3835
3871
  "props": {
3872
+ "spacing": 8,
3836
3873
  "alignment": "center",
3837
- "children": []
3874
+ "children": [
3875
+ {
3876
+ "id": "himi_appearance.accent.amber",
3877
+ "body": {
3878
+ "package": "himalaya",
3879
+ "type": "ZStack",
3880
+ "props": {
3881
+ "alignment": "center",
3882
+ "children": [
3883
+ {
3884
+ "id": "",
3885
+ "body": {
3886
+ "package": "himalaya",
3887
+ "type": "Icon",
3888
+ "props": {
3889
+ "name": "check",
3890
+ "size": 20,
3891
+ "tint": "textOnAccent"
3892
+ }
3893
+ },
3894
+ "modifiers": {
3895
+ "accessibilityRole": "decorative",
3896
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
3897
+ }
3898
+ }
3899
+ ]
3900
+ }
3901
+ },
3902
+ "modifiers": {
3903
+ "width": 46,
3904
+ "height": 46,
3905
+ "cornerRadius": 23,
3906
+ "background": {
3907
+ "token": "accentPrimary"
3908
+ },
3909
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
3910
+ "border": {
3911
+ "width": 2,
3912
+ "color": {
3913
+ "token": "border"
3914
+ }
3915
+ }
3916
+ }
3917
+ },
3918
+ {
3919
+ "id": "himi_appearance.accent_radio.amber",
3920
+ "body": {
3921
+ "package": "himalaya",
3922
+ "type": "SelectionControl",
3923
+ "props": {
3924
+ "kind": "radio",
3925
+ "groupId": "himi_appearance.accent",
3926
+ "label": "Amber",
3927
+ "valuePath": "$service:himiBrandedAppearance.selected_amber",
3928
+ "onChange": {
3929
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
3930
+ "params": {
3931
+ "id": "amber"
3932
+ }
3933
+ }
3934
+ }
3935
+ }
3936
+ }
3937
+ ]
3838
3938
  }
3839
3939
  },
3840
3940
  "modifiers": {
3841
- "width": 46,
3842
- "height": 46,
3843
- "cornerRadius": 23,
3844
- "background": {
3845
- "token": "accentPrimary"
3846
- },
3847
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
3848
- "border": {
3849
- "width": 2,
3850
- "color": {
3851
- "token": "border"
3852
- }
3853
- },
3854
- "onTap": {
3855
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3856
- "params": {
3857
- "id": "amber"
3858
- }
3859
- },
3860
- "pressFeedback": "scale",
3861
- "haptic": "light",
3862
- "accessibilityLabel": "amber"
3941
+ "padding": {
3942
+ "top": 6,
3943
+ "bottom": 6,
3944
+ "leading": 4,
3945
+ "trailing": 4
3946
+ }
3863
3947
  }
3864
3948
  },
3865
3949
  {
3866
- "id": "himi_appearance.accent.terracotta",
3950
+ "id": "himi_appearance.accent_option.terracotta",
3867
3951
  "body": {
3868
3952
  "package": "himalaya",
3869
- "type": "ZStack",
3953
+ "type": "VStack",
3870
3954
  "props": {
3955
+ "spacing": 8,
3871
3956
  "alignment": "center",
3872
- "children": []
3957
+ "children": [
3958
+ {
3959
+ "id": "himi_appearance.accent.terracotta",
3960
+ "body": {
3961
+ "package": "himalaya",
3962
+ "type": "ZStack",
3963
+ "props": {
3964
+ "alignment": "center",
3965
+ "children": [
3966
+ {
3967
+ "id": "",
3968
+ "body": {
3969
+ "package": "himalaya",
3970
+ "type": "Icon",
3971
+ "props": {
3972
+ "name": "check",
3973
+ "size": 20,
3974
+ "tint": "textOnAccent"
3975
+ }
3976
+ },
3977
+ "modifiers": {
3978
+ "accessibilityRole": "decorative",
3979
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
3980
+ }
3981
+ }
3982
+ ]
3983
+ }
3984
+ },
3985
+ "modifiers": {
3986
+ "width": 46,
3987
+ "height": 46,
3988
+ "cornerRadius": 23,
3989
+ "background": {
3990
+ "token": "accentPrimary"
3991
+ },
3992
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
3993
+ "border": {
3994
+ "width": 2,
3995
+ "color": {
3996
+ "token": "border"
3997
+ }
3998
+ }
3999
+ }
4000
+ },
4001
+ {
4002
+ "id": "himi_appearance.accent_radio.terracotta",
4003
+ "body": {
4004
+ "package": "himalaya",
4005
+ "type": "SelectionControl",
4006
+ "props": {
4007
+ "kind": "radio",
4008
+ "groupId": "himi_appearance.accent",
4009
+ "label": "Terracotta",
4010
+ "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
4011
+ "onChange": {
4012
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4013
+ "params": {
4014
+ "id": "terracotta"
4015
+ }
4016
+ }
4017
+ }
4018
+ }
4019
+ }
4020
+ ]
3873
4021
  }
3874
4022
  },
3875
4023
  "modifiers": {
3876
- "width": 46,
3877
- "height": 46,
3878
- "cornerRadius": 23,
3879
- "background": {
3880
- "token": "accentPrimary"
3881
- },
3882
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
3883
- "border": {
3884
- "width": 2,
3885
- "color": {
3886
- "token": "border"
3887
- }
3888
- },
3889
- "onTap": {
3890
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3891
- "params": {
3892
- "id": "terracotta"
3893
- }
3894
- },
3895
- "pressFeedback": "scale",
3896
- "haptic": "light",
3897
- "accessibilityLabel": "terracotta"
4024
+ "padding": {
4025
+ "top": 6,
4026
+ "bottom": 6,
4027
+ "leading": 4,
4028
+ "trailing": 4
4029
+ }
3898
4030
  }
3899
4031
  },
3900
4032
  {
3901
- "id": "himi_appearance.accent.sage",
4033
+ "id": "himi_appearance.accent_option.sage",
3902
4034
  "body": {
3903
4035
  "package": "himalaya",
3904
- "type": "ZStack",
4036
+ "type": "VStack",
3905
4037
  "props": {
4038
+ "spacing": 8,
3906
4039
  "alignment": "center",
3907
- "children": []
4040
+ "children": [
4041
+ {
4042
+ "id": "himi_appearance.accent.sage",
4043
+ "body": {
4044
+ "package": "himalaya",
4045
+ "type": "ZStack",
4046
+ "props": {
4047
+ "alignment": "center",
4048
+ "children": [
4049
+ {
4050
+ "id": "",
4051
+ "body": {
4052
+ "package": "himalaya",
4053
+ "type": "Icon",
4054
+ "props": {
4055
+ "name": "check",
4056
+ "size": 20,
4057
+ "tint": "textOnAccent"
4058
+ }
4059
+ },
4060
+ "modifiers": {
4061
+ "accessibilityRole": "decorative",
4062
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
4063
+ }
4064
+ }
4065
+ ]
4066
+ }
4067
+ },
4068
+ "modifiers": {
4069
+ "width": 46,
4070
+ "height": 46,
4071
+ "cornerRadius": 23,
4072
+ "background": {
4073
+ "token": "accentPrimary"
4074
+ },
4075
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4076
+ "border": {
4077
+ "width": 2,
4078
+ "color": {
4079
+ "token": "border"
4080
+ }
4081
+ }
4082
+ }
4083
+ },
4084
+ {
4085
+ "id": "himi_appearance.accent_radio.sage",
4086
+ "body": {
4087
+ "package": "himalaya",
4088
+ "type": "SelectionControl",
4089
+ "props": {
4090
+ "kind": "radio",
4091
+ "groupId": "himi_appearance.accent",
4092
+ "label": "Sage",
4093
+ "valuePath": "$service:himiBrandedAppearance.selected_sage",
4094
+ "onChange": {
4095
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4096
+ "params": {
4097
+ "id": "sage"
4098
+ }
4099
+ }
4100
+ }
4101
+ }
4102
+ }
4103
+ ]
4104
+ }
4105
+ },
4106
+ "modifiers": {
4107
+ "padding": {
4108
+ "top": 6,
4109
+ "bottom": 6,
4110
+ "leading": 4,
4111
+ "trailing": 4
4112
+ }
4113
+ }
4114
+ },
4115
+ {
4116
+ "id": "himi_appearance.accent_option.plum",
4117
+ "body": {
4118
+ "package": "himalaya",
4119
+ "type": "VStack",
4120
+ "props": {
4121
+ "spacing": 8,
4122
+ "alignment": "center",
4123
+ "children": [
4124
+ {
4125
+ "id": "himi_appearance.accent.plum",
4126
+ "body": {
4127
+ "package": "himalaya",
4128
+ "type": "ZStack",
4129
+ "props": {
4130
+ "alignment": "center",
4131
+ "children": [
4132
+ {
4133
+ "id": "",
4134
+ "body": {
4135
+ "package": "himalaya",
4136
+ "type": "Icon",
4137
+ "props": {
4138
+ "name": "check",
4139
+ "size": 20,
4140
+ "tint": "textOnAccent"
4141
+ }
4142
+ },
4143
+ "modifiers": {
4144
+ "accessibilityRole": "decorative",
4145
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
4146
+ }
4147
+ }
4148
+ ]
4149
+ }
4150
+ },
4151
+ "modifiers": {
4152
+ "width": 46,
4153
+ "height": 46,
4154
+ "cornerRadius": 23,
4155
+ "background": {
4156
+ "token": "accentPrimary"
4157
+ },
4158
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4159
+ "border": {
4160
+ "width": 2,
4161
+ "color": {
4162
+ "token": "border"
4163
+ }
4164
+ }
4165
+ }
4166
+ },
4167
+ {
4168
+ "id": "himi_appearance.accent_radio.plum",
4169
+ "body": {
4170
+ "package": "himalaya",
4171
+ "type": "SelectionControl",
4172
+ "props": {
4173
+ "kind": "radio",
4174
+ "groupId": "himi_appearance.accent",
4175
+ "label": "Plum",
4176
+ "valuePath": "$service:himiBrandedAppearance.selected_plum",
4177
+ "onChange": {
4178
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4179
+ "params": {
4180
+ "id": "plum"
4181
+ }
4182
+ }
4183
+ }
4184
+ }
4185
+ }
4186
+ ]
3908
4187
  }
3909
4188
  },
3910
4189
  "modifiers": {
3911
- "width": 46,
3912
- "height": 46,
3913
- "cornerRadius": 23,
3914
- "background": {
3915
- "token": "accentPrimary"
3916
- },
3917
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
3918
- "border": {
3919
- "width": 2,
3920
- "color": {
3921
- "token": "border"
3922
- }
3923
- },
3924
- "onTap": {
3925
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3926
- "params": {
3927
- "id": "sage"
3928
- }
3929
- },
3930
- "pressFeedback": "scale",
3931
- "haptic": "light",
3932
- "accessibilityLabel": "sage"
3933
- }
3934
- },
3935
- {
3936
- "id": "himi_appearance.accent.plum",
3937
- "body": {
3938
- "package": "himalaya",
3939
- "type": "ZStack",
3940
- "props": {
3941
- "alignment": "center",
3942
- "children": []
4190
+ "padding": {
4191
+ "top": 6,
4192
+ "bottom": 6,
4193
+ "leading": 4,
4194
+ "trailing": 4
3943
4195
  }
3944
- },
3945
- "modifiers": {
3946
- "width": 46,
3947
- "height": 46,
3948
- "cornerRadius": 23,
3949
- "background": {
3950
- "token": "accentPrimary"
3951
- },
3952
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
3953
- "border": {
3954
- "width": 2,
3955
- "color": {
3956
- "token": "border"
3957
- }
3958
- },
3959
- "onTap": {
3960
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3961
- "params": {
3962
- "id": "plum"
3963
- }
3964
- },
3965
- "pressFeedback": "scale",
3966
- "haptic": "light",
3967
- "accessibilityLabel": "plum"
3968
4196
  }
3969
4197
  },
3970
4198
  {
3971
- "id": "himi_appearance.accent.ocean",
4199
+ "id": "himi_appearance.accent_option.ocean",
3972
4200
  "body": {
3973
4201
  "package": "himalaya",
3974
- "type": "ZStack",
4202
+ "type": "VStack",
3975
4203
  "props": {
4204
+ "spacing": 8,
3976
4205
  "alignment": "center",
3977
- "children": []
4206
+ "children": [
4207
+ {
4208
+ "id": "himi_appearance.accent.ocean",
4209
+ "body": {
4210
+ "package": "himalaya",
4211
+ "type": "ZStack",
4212
+ "props": {
4213
+ "alignment": "center",
4214
+ "children": [
4215
+ {
4216
+ "id": "",
4217
+ "body": {
4218
+ "package": "himalaya",
4219
+ "type": "Icon",
4220
+ "props": {
4221
+ "name": "check",
4222
+ "size": 20,
4223
+ "tint": "textOnAccent"
4224
+ }
4225
+ },
4226
+ "modifiers": {
4227
+ "accessibilityRole": "decorative",
4228
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
4229
+ }
4230
+ }
4231
+ ]
4232
+ }
4233
+ },
4234
+ "modifiers": {
4235
+ "width": 46,
4236
+ "height": 46,
4237
+ "cornerRadius": 23,
4238
+ "background": {
4239
+ "token": "accentPrimary"
4240
+ },
4241
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4242
+ "border": {
4243
+ "width": 2,
4244
+ "color": {
4245
+ "token": "border"
4246
+ }
4247
+ }
4248
+ }
4249
+ },
4250
+ {
4251
+ "id": "himi_appearance.accent_radio.ocean",
4252
+ "body": {
4253
+ "package": "himalaya",
4254
+ "type": "SelectionControl",
4255
+ "props": {
4256
+ "kind": "radio",
4257
+ "groupId": "himi_appearance.accent",
4258
+ "label": "Ocean",
4259
+ "valuePath": "$service:himiBrandedAppearance.selected_ocean",
4260
+ "onChange": {
4261
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4262
+ "params": {
4263
+ "id": "ocean"
4264
+ }
4265
+ }
4266
+ }
4267
+ }
4268
+ }
4269
+ ]
3978
4270
  }
3979
4271
  },
3980
4272
  "modifiers": {
3981
- "width": 46,
3982
- "height": 46,
3983
- "cornerRadius": 23,
3984
- "background": {
3985
- "token": "accentPrimary"
3986
- },
3987
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
3988
- "border": {
3989
- "width": 2,
3990
- "color": {
3991
- "token": "border"
3992
- }
3993
- },
3994
- "onTap": {
3995
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3996
- "params": {
3997
- "id": "ocean"
3998
- }
3999
- },
4000
- "pressFeedback": "scale",
4001
- "haptic": "light",
4002
- "accessibilityLabel": "ocean"
4273
+ "padding": {
4274
+ "top": 6,
4275
+ "bottom": 6,
4276
+ "leading": 4,
4277
+ "trailing": 4
4278
+ }
4003
4279
  }
4004
4280
  }
4005
4281
  ]
@@ -4499,41 +4775,21 @@ const SCREENS = runtimeSetting({
4499
4775
  "spacing": 12,
4500
4776
  "children": [
4501
4777
  {
4502
- "id": "",
4778
+ "id": "himi_app_language.option.$item.id",
4503
4779
  "body": {
4504
4780
  "package": "himalaya",
4505
- "type": "VStack",
4781
+ "type": "SelectionControl",
4506
4782
  "props": {
4507
- "spacing": 3,
4508
- "alignment": "leading",
4509
- "children": [
4510
- {
4511
- "id": "",
4512
- "body": {
4513
- "package": "himalaya",
4514
- "type": "Text",
4515
- "props": {
4516
- "text": "$item.name",
4517
- "style": "bodyEmphasis",
4518
- "maxLines": 1
4519
- }
4520
- }
4521
- },
4522
- {
4523
- "id": "",
4524
- "body": {
4525
- "package": "himalaya",
4526
- "type": "Text",
4527
- "props": {
4528
- "text": "$item.subtitle",
4529
- "style": "caption",
4530
- "color": "accentPrimary",
4531
- "maxLines": 1,
4532
- "collapseWhenEmpty": true
4533
- }
4534
- }
4783
+ "kind": "radio",
4784
+ "groupId": "himi_app_language",
4785
+ "label": "$item.name",
4786
+ "valuePath": "$item.selected",
4787
+ "onChange": {
4788
+ "actionId": "tier5.spacesAppLanguage.select",
4789
+ "params": {
4790
+ "id": "$item.id"
4535
4791
  }
4536
- ]
4792
+ }
4537
4793
  }
4538
4794
  }
4539
4795
  },
@@ -4564,16 +4820,7 @@ const SCREENS = runtimeSetting({
4564
4820
  "trailing": 12,
4565
4821
  "top": 12,
4566
4822
  "bottom": 12
4567
- },
4568
- "onTap": {
4569
- "actionId": "tier5.spacesAppLanguage.select",
4570
- "params": {
4571
- "id": "$item.id"
4572
- }
4573
- },
4574
- "pressFeedback": "scale",
4575
- "haptic": "light",
4576
- "accessibilityLabel": "$item.name"
4823
+ }
4577
4824
  }
4578
4825
  }
4579
4826
  ]
@@ -22195,6 +22442,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
22195
22442
  "color": "textSecondary",
22196
22443
  "collapseWhenEmpty": true
22197
22444
  }
22445
+ },
22446
+ "modifiers": {
22447
+ "hiddenPath": "$service:himiStoreProduct.added"
22198
22448
  }
22199
22449
  }
22200
22450
  ]
@@ -22310,7 +22560,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
22310
22560
  "package": "himalaya",
22311
22561
  "type": "VStack",
22312
22562
  "props": {
22313
- "spacing": 0,
22563
+ "spacing": 8,
22314
22564
  "children": [
22315
22565
  {
22316
22566
  "id": "himi_product.add_to_cart",
@@ -22331,6 +22581,117 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
22331
22581
  "pressFeedback": "scale",
22332
22582
  "haptic": "medium"
22333
22583
  }
22584
+ },
22585
+ {
22586
+ "id": "himi_product.adding",
22587
+ "body": {
22588
+ "package": "himalaya",
22589
+ "type": "HStack",
22590
+ "props": {
22591
+ "spacing": 8,
22592
+ "children": [
22593
+ {
22594
+ "id": "",
22595
+ "body": {
22596
+ "package": "himalaya",
22597
+ "type": "ActivityIndicator",
22598
+ "props": {
22599
+ "indeterminate": true,
22600
+ "size": 16
22601
+ }
22602
+ }
22603
+ },
22604
+ {
22605
+ "id": "",
22606
+ "body": {
22607
+ "package": "himalaya",
22608
+ "type": "Text",
22609
+ "props": {
22610
+ "text": "Adding to cart…",
22611
+ "style": "footnote",
22612
+ "color": "textSecondary"
22613
+ }
22614
+ }
22615
+ }
22616
+ ]
22617
+ }
22618
+ },
22619
+ "modifiers": {
22620
+ "hiddenPath": "$service:himiStoreProduct.notAdding"
22621
+ }
22622
+ },
22623
+ {
22624
+ "id": "himi_product.added_confirmation",
22625
+ "body": {
22626
+ "package": "himalaya",
22627
+ "type": "HStack",
22628
+ "props": {
22629
+ "spacing": 10,
22630
+ "children": [
22631
+ {
22632
+ "id": "",
22633
+ "body": {
22634
+ "package": "himalaya",
22635
+ "type": "Icon",
22636
+ "props": {
22637
+ "name": "check",
22638
+ "size": 18,
22639
+ "tint": "success"
22640
+ }
22641
+ },
22642
+ "modifiers": {
22643
+ "accessibilityRole": "decorative"
22644
+ }
22645
+ },
22646
+ {
22647
+ "id": "",
22648
+ "body": {
22649
+ "package": "himalaya",
22650
+ "type": "Text",
22651
+ "props": {
22652
+ "text": "$service:himiStoreProduct.cartHint",
22653
+ "style": "footnote",
22654
+ "collapseWhenEmpty": true
22655
+ }
22656
+ },
22657
+ "modifiers": {
22658
+ "weight": 1
22659
+ }
22660
+ },
22661
+ {
22662
+ "id": "himi_product.view_cart",
22663
+ "body": {
22664
+ "package": "himalaya",
22665
+ "type": "Button",
22666
+ "props": {
22667
+ "title": "View cart",
22668
+ "style": "tertiary",
22669
+ "action": {
22670
+ "actionId": "himi.open",
22671
+ "params": {
22672
+ "screenId": "himi_cart"
22673
+ }
22674
+ }
22675
+ }
22676
+ }
22677
+ }
22678
+ ]
22679
+ }
22680
+ },
22681
+ "modifiers": {
22682
+ "background": {
22683
+ "token": "surfaceSecondary"
22684
+ },
22685
+ "cornerRadius": 8,
22686
+ "padding": {
22687
+ "leading": 12,
22688
+ "trailing": 8,
22689
+ "top": 6,
22690
+ "bottom": 6
22691
+ },
22692
+ "fillMaxWidth": true,
22693
+ "hiddenPath": "$service:himiStoreProduct.notAdded"
22694
+ }
22334
22695
  }
22335
22696
  ]
22336
22697
  }