@wix/himalaya-cli 0.1029.0 → 0.1031.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 (185) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-config.d.ts +7 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/wix-gateway.d.ts +32 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/wix-gateway.rules.d.ts +2 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts +7 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/genie-chat/src/index.d.ts +64 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-genie-chat.mjs +41 -1
  7. package/dist/cli.mjs +298 -114
  8. package/dist/preview-assets.generated.bin +0 -0
  9. package/guides/component-reference.json +0 -7
  10. package/guides/component-reference.md +0 -2
  11. package/guides/sdk-reference.json +50 -2
  12. package/package.json +2 -2
  13. package/templates/beauty-salon/dev/index.ts +575 -214
  14. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +4 -1
  15. package/templates/beauty-salon/tier5-src/_shared/owner-load-error.ts +7 -1
  16. package/templates/beauty-salon/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  17. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +36 -5
  18. package/templates/beauty-salon/tier5-src/wix-spaces-app-language/index.ts +4 -2
  19. package/templates/beauty-salon-owner/config.ts +1 -1
  20. package/templates/beauty-salon-owner/dev/index.ts +247 -9
  21. package/templates/beauty-salon-owner/tier5-src/_shared/aria-attachments.ts +179 -0
  22. package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +405 -20
  23. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +4 -1
  24. package/templates/beauty-salon-owner/tier5-src/_shared/owner-bookings.ts +20 -0
  25. package/templates/beauty-salon-owner/tier5-src/_shared/owner-load-error.ts +7 -1
  26. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-aria/index.ts +40 -1
  27. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-home/index.ts +2 -12
  28. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-manage/index.ts +10 -4
  29. package/templates/branded-lite/dev/index.ts +699 -228
  30. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +4 -1
  31. package/templates/branded-lite/tier5-src/_shared/owner-load-error.ts +7 -1
  32. package/templates/branded-lite/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  33. package/templates/branded-lite/tier5-src/himi-branded-lite-notifsettings/index.ts +11 -6
  34. package/templates/branded-lite/tier5-src/himi-branded-lite-reviews/index.ts +11 -6
  35. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +36 -5
  36. package/templates/branded-lite/tier5-src/wix-spaces-app-language/index.ts +4 -2
  37. package/templates/community-club/dev/index.ts +451 -204
  38. package/templates/community-club/tier5-src/_shared/collection-contract.ts +4 -1
  39. package/templates/community-club/tier5-src/_shared/owner-load-error.ts +7 -1
  40. package/templates/community-club/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  41. package/templates/community-club/tier5-src/wix-spaces-app-language/index.ts +4 -2
  42. package/templates/community-club-owner/config.ts +1 -1
  43. package/templates/community-club-owner/dev/index.ts +247 -9
  44. package/templates/community-club-owner/tier5-src/_shared/aria-attachments.ts +179 -0
  45. package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +405 -20
  46. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +4 -1
  47. package/templates/community-club-owner/tier5-src/_shared/owner-bookings.ts +20 -0
  48. package/templates/community-club-owner/tier5-src/_shared/owner-load-error.ts +7 -1
  49. package/templates/community-club-owner/tier5-src/himi-owner-lite-aria/index.ts +40 -1
  50. package/templates/community-club-owner/tier5-src/himi-owner-lite-home/index.ts +2 -12
  51. package/templates/community-club-owner/tier5-src/himi-owner-lite-manage/index.ts +10 -4
  52. package/templates/events-meetups/dev/index.ts +451 -204
  53. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +4 -1
  54. package/templates/events-meetups/tier5-src/_shared/owner-load-error.ts +7 -1
  55. package/templates/events-meetups/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  56. package/templates/events-meetups/tier5-src/wix-spaces-app-language/index.ts +4 -2
  57. package/templates/events-meetups-owner/config.ts +1 -1
  58. package/templates/events-meetups-owner/dev/index.ts +247 -9
  59. package/templates/events-meetups-owner/tier5-src/_shared/aria-attachments.ts +179 -0
  60. package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +405 -20
  61. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +4 -1
  62. package/templates/events-meetups-owner/tier5-src/_shared/owner-bookings.ts +20 -0
  63. package/templates/events-meetups-owner/tier5-src/_shared/owner-load-error.ts +7 -1
  64. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-aria/index.ts +40 -1
  65. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-home/index.ts +2 -12
  66. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-manage/index.ts +10 -4
  67. package/templates/gym-fitness/dev/index.ts +575 -214
  68. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +4 -1
  69. package/templates/gym-fitness/tier5-src/_shared/owner-load-error.ts +7 -1
  70. package/templates/gym-fitness/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  71. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +36 -5
  72. package/templates/gym-fitness/tier5-src/wix-spaces-app-language/index.ts +4 -2
  73. package/templates/gym-fitness-owner/config.ts +1 -1
  74. package/templates/gym-fitness-owner/dev/index.ts +247 -9
  75. package/templates/gym-fitness-owner/tier5-src/_shared/aria-attachments.ts +179 -0
  76. package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +405 -20
  77. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +4 -1
  78. package/templates/gym-fitness-owner/tier5-src/_shared/owner-bookings.ts +20 -0
  79. package/templates/gym-fitness-owner/tier5-src/_shared/owner-load-error.ts +7 -1
  80. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-aria/index.ts +40 -1
  81. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-home/index.ts +2 -12
  82. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-manage/index.ts +10 -4
  83. package/templates/himi-chat/tier5-src/_shared/owner-load-error.ts +7 -1
  84. package/templates/nonprofit-cause/dev/index.ts +451 -204
  85. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +4 -1
  86. package/templates/nonprofit-cause/tier5-src/_shared/owner-load-error.ts +7 -1
  87. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  88. package/templates/nonprofit-cause/tier5-src/wix-spaces-app-language/index.ts +4 -2
  89. package/templates/nonprofit-cause-owner/config.ts +1 -1
  90. package/templates/nonprofit-cause-owner/dev/index.ts +247 -9
  91. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-attachments.ts +179 -0
  92. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +405 -20
  93. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +4 -1
  94. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-bookings.ts +20 -0
  95. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-load-error.ts +7 -1
  96. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-aria/index.ts +40 -1
  97. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-home/index.ts +2 -12
  98. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-manage/index.ts +10 -4
  99. package/templates/owner-lite/config.ts +1 -1
  100. package/templates/owner-lite/dev/index.ts +247 -9
  101. package/templates/owner-lite/tier5-src/_shared/aria-attachments.ts +179 -0
  102. package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +405 -20
  103. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +4 -1
  104. package/templates/owner-lite/tier5-src/_shared/owner-bookings.ts +20 -0
  105. package/templates/owner-lite/tier5-src/_shared/owner-load-error.ts +7 -1
  106. package/templates/owner-lite/tier5-src/himi-owner-lite-aria/index.ts +40 -1
  107. package/templates/owner-lite/tier5-src/himi-owner-lite-home/index.ts +2 -12
  108. package/templates/owner-lite/tier5-src/himi-owner-lite-manage/index.ts +10 -4
  109. package/templates/podcast-creator/dev/index.ts +451 -204
  110. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +4 -1
  111. package/templates/podcast-creator/tier5-src/_shared/owner-load-error.ts +7 -1
  112. package/templates/podcast-creator/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  113. package/templates/podcast-creator/tier5-src/wix-spaces-app-language/index.ts +4 -2
  114. package/templates/podcast-creator-owner/config.ts +1 -1
  115. package/templates/podcast-creator-owner/dev/index.ts +247 -9
  116. package/templates/podcast-creator-owner/tier5-src/_shared/aria-attachments.ts +179 -0
  117. package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +405 -20
  118. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +4 -1
  119. package/templates/podcast-creator-owner/tier5-src/_shared/owner-bookings.ts +20 -0
  120. package/templates/podcast-creator-owner/tier5-src/_shared/owner-load-error.ts +7 -1
  121. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-aria/index.ts +40 -1
  122. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-home/index.ts +2 -12
  123. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-manage/index.ts +10 -4
  124. package/templates/portfolio-creative/dev/index.ts +575 -214
  125. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +4 -1
  126. package/templates/portfolio-creative/tier5-src/_shared/owner-load-error.ts +7 -1
  127. package/templates/portfolio-creative/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  128. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +36 -5
  129. package/templates/portfolio-creative/tier5-src/wix-spaces-app-language/index.ts +4 -2
  130. package/templates/portfolio-creative-owner/config.ts +1 -1
  131. package/templates/portfolio-creative-owner/dev/index.ts +247 -9
  132. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-attachments.ts +179 -0
  133. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +405 -20
  134. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +4 -1
  135. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-bookings.ts +20 -0
  136. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-load-error.ts +7 -1
  137. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-aria/index.ts +40 -1
  138. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-home/index.ts +2 -12
  139. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-manage/index.ts +10 -4
  140. package/templates/restaurant/dev/index.ts +451 -204
  141. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +4 -1
  142. package/templates/restaurant/tier5-src/_shared/owner-load-error.ts +7 -1
  143. package/templates/restaurant/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  144. package/templates/restaurant/tier5-src/wix-spaces-app-language/index.ts +4 -2
  145. package/templates/restaurant-owner/config.ts +1 -1
  146. package/templates/restaurant-owner/dev/index.ts +247 -9
  147. package/templates/restaurant-owner/tier5-src/_shared/aria-attachments.ts +179 -0
  148. package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +405 -20
  149. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +4 -1
  150. package/templates/restaurant-owner/tier5-src/_shared/owner-bookings.ts +20 -0
  151. package/templates/restaurant-owner/tier5-src/_shared/owner-load-error.ts +7 -1
  152. package/templates/restaurant-owner/tier5-src/himi-owner-lite-aria/index.ts +40 -1
  153. package/templates/restaurant-owner/tier5-src/himi-owner-lite-home/index.ts +2 -12
  154. package/templates/restaurant-owner/tier5-src/himi-owner-lite-manage/index.ts +10 -4
  155. package/templates/retail-store/dev/index.ts +575 -214
  156. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +4 -1
  157. package/templates/retail-store/tier5-src/_shared/owner-load-error.ts +7 -1
  158. package/templates/retail-store/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  159. package/templates/retail-store/tier5-src/himi-store-product/index.ts +36 -5
  160. package/templates/retail-store/tier5-src/wix-spaces-app-language/index.ts +4 -2
  161. package/templates/retail-store-owner/config.ts +1 -1
  162. package/templates/retail-store-owner/dev/index.ts +247 -9
  163. package/templates/retail-store-owner/tier5-src/_shared/aria-attachments.ts +179 -0
  164. package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +405 -20
  165. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +4 -1
  166. package/templates/retail-store-owner/tier5-src/_shared/owner-bookings.ts +20 -0
  167. package/templates/retail-store-owner/tier5-src/_shared/owner-load-error.ts +7 -1
  168. package/templates/retail-store-owner/tier5-src/himi-owner-lite-aria/index.ts +40 -1
  169. package/templates/retail-store-owner/tier5-src/himi-owner-lite-home/index.ts +2 -12
  170. package/templates/retail-store-owner/tier5-src/himi-owner-lite-manage/index.ts +10 -4
  171. package/templates/yoga-studio/dev/index.ts +451 -204
  172. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +4 -1
  173. package/templates/yoga-studio/tier5-src/_shared/owner-load-error.ts +7 -1
  174. package/templates/yoga-studio/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  175. package/templates/yoga-studio/tier5-src/wix-spaces-app-language/index.ts +4 -2
  176. package/templates/yoga-studio-owner/config.ts +1 -1
  177. package/templates/yoga-studio-owner/dev/index.ts +247 -9
  178. package/templates/yoga-studio-owner/tier5-src/_shared/aria-attachments.ts +179 -0
  179. package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +405 -20
  180. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +4 -1
  181. package/templates/yoga-studio-owner/tier5-src/_shared/owner-bookings.ts +20 -0
  182. package/templates/yoga-studio-owner/tier5-src/_shared/owner-load-error.ts +7 -1
  183. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-aria/index.ts +40 -1
  184. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-home/index.ts +2 -12
  185. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-manage/index.ts +10 -4
@@ -3732,18 +3732,6 @@ const SCREENS = runtimeSetting({
3732
3732
  "style": "title3"
3733
3733
  }
3734
3734
  }
3735
- },
3736
- {
3737
- "id": "",
3738
- "body": {
3739
- "package": "himalaya",
3740
- "type": "Text",
3741
- "props": {
3742
- "text": "Tint the brand surfaces.",
3743
- "style": "footnote",
3744
- "color": "textSecondary"
3745
- }
3746
- }
3747
3735
  }
3748
3736
  ]
3749
3737
  }
@@ -3755,218 +3743,506 @@ const SCREENS = runtimeSetting({
3755
3743
  "package": "himalaya",
3756
3744
  "type": "Grid",
3757
3745
  "props": {
3758
- "columns": 6,
3746
+ "columns": 3,
3759
3747
  "columnsMedium": 6,
3760
3748
  "spacing": 12,
3761
3749
  "items": [
3762
3750
  {
3763
- "id": "himi_appearance.accent.brand",
3751
+ "id": "himi_appearance.accent_option.brand",
3764
3752
  "body": {
3765
3753
  "package": "himalaya",
3766
- "type": "ZStack",
3754
+ "type": "VStack",
3767
3755
  "props": {
3756
+ "spacing": 8,
3768
3757
  "alignment": "center",
3769
- "children": []
3758
+ "children": [
3759
+ {
3760
+ "id": "himi_appearance.accent.brand",
3761
+ "body": {
3762
+ "package": "himalaya",
3763
+ "type": "ZStack",
3764
+ "props": {
3765
+ "alignment": "center",
3766
+ "children": [
3767
+ {
3768
+ "id": "",
3769
+ "body": {
3770
+ "package": "himalaya",
3771
+ "type": "Icon",
3772
+ "props": {
3773
+ "name": "check",
3774
+ "size": 20,
3775
+ "tint": "textOnAccent"
3776
+ }
3777
+ },
3778
+ "modifiers": {
3779
+ "accessibilityRole": "decorative",
3780
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
3781
+ }
3782
+ }
3783
+ ]
3784
+ }
3785
+ },
3786
+ "modifiers": {
3787
+ "width": 46,
3788
+ "height": 46,
3789
+ "cornerRadius": 23,
3790
+ "background": {
3791
+ "token": "accentPrimary"
3792
+ },
3793
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
3794
+ "border": {
3795
+ "width": 2,
3796
+ "color": {
3797
+ "token": "border"
3798
+ }
3799
+ }
3800
+ }
3801
+ },
3802
+ {
3803
+ "id": "himi_appearance.accent_radio.brand",
3804
+ "body": {
3805
+ "package": "himalaya",
3806
+ "type": "SelectionControl",
3807
+ "props": {
3808
+ "kind": "radio",
3809
+ "groupId": "himi_appearance.accent",
3810
+ "label": "Brand",
3811
+ "valuePath": "$service:himiBrandedAppearance.selected_brand",
3812
+ "onChange": {
3813
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
3814
+ "params": {
3815
+ "id": "brand"
3816
+ }
3817
+ }
3818
+ }
3819
+ }
3820
+ }
3821
+ ]
3770
3822
  }
3771
3823
  },
3772
3824
  "modifiers": {
3773
- "width": 46,
3774
- "height": 46,
3775
- "cornerRadius": 23,
3776
- "background": {
3777
- "token": "accentPrimary"
3778
- },
3779
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
3780
- "border": {
3781
- "width": 2,
3782
- "color": {
3783
- "token": "border"
3784
- }
3785
- },
3786
- "onTap": {
3787
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3788
- "params": {
3789
- "id": "brand"
3790
- }
3791
- },
3792
- "pressFeedback": "scale",
3793
- "haptic": "light",
3794
- "accessibilityLabel": "brand"
3825
+ "padding": {
3826
+ "top": 6,
3827
+ "bottom": 6,
3828
+ "leading": 4,
3829
+ "trailing": 4
3830
+ }
3795
3831
  }
3796
3832
  },
3797
3833
  {
3798
- "id": "himi_appearance.accent.amber",
3834
+ "id": "himi_appearance.accent_option.amber",
3799
3835
  "body": {
3800
3836
  "package": "himalaya",
3801
- "type": "ZStack",
3837
+ "type": "VStack",
3802
3838
  "props": {
3839
+ "spacing": 8,
3803
3840
  "alignment": "center",
3804
- "children": []
3841
+ "children": [
3842
+ {
3843
+ "id": "himi_appearance.accent.amber",
3844
+ "body": {
3845
+ "package": "himalaya",
3846
+ "type": "ZStack",
3847
+ "props": {
3848
+ "alignment": "center",
3849
+ "children": [
3850
+ {
3851
+ "id": "",
3852
+ "body": {
3853
+ "package": "himalaya",
3854
+ "type": "Icon",
3855
+ "props": {
3856
+ "name": "check",
3857
+ "size": 20,
3858
+ "tint": "textOnAccent"
3859
+ }
3860
+ },
3861
+ "modifiers": {
3862
+ "accessibilityRole": "decorative",
3863
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
3864
+ }
3865
+ }
3866
+ ]
3867
+ }
3868
+ },
3869
+ "modifiers": {
3870
+ "width": 46,
3871
+ "height": 46,
3872
+ "cornerRadius": 23,
3873
+ "background": {
3874
+ "token": "accentPrimary"
3875
+ },
3876
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
3877
+ "border": {
3878
+ "width": 2,
3879
+ "color": {
3880
+ "token": "border"
3881
+ }
3882
+ }
3883
+ }
3884
+ },
3885
+ {
3886
+ "id": "himi_appearance.accent_radio.amber",
3887
+ "body": {
3888
+ "package": "himalaya",
3889
+ "type": "SelectionControl",
3890
+ "props": {
3891
+ "kind": "radio",
3892
+ "groupId": "himi_appearance.accent",
3893
+ "label": "Amber",
3894
+ "valuePath": "$service:himiBrandedAppearance.selected_amber",
3895
+ "onChange": {
3896
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
3897
+ "params": {
3898
+ "id": "amber"
3899
+ }
3900
+ }
3901
+ }
3902
+ }
3903
+ }
3904
+ ]
3805
3905
  }
3806
3906
  },
3807
3907
  "modifiers": {
3808
- "width": 46,
3809
- "height": 46,
3810
- "cornerRadius": 23,
3811
- "background": {
3812
- "token": "accentPrimary"
3813
- },
3814
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
3815
- "border": {
3816
- "width": 2,
3817
- "color": {
3818
- "token": "border"
3819
- }
3820
- },
3821
- "onTap": {
3822
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3823
- "params": {
3824
- "id": "amber"
3825
- }
3826
- },
3827
- "pressFeedback": "scale",
3828
- "haptic": "light",
3829
- "accessibilityLabel": "amber"
3908
+ "padding": {
3909
+ "top": 6,
3910
+ "bottom": 6,
3911
+ "leading": 4,
3912
+ "trailing": 4
3913
+ }
3830
3914
  }
3831
3915
  },
3832
3916
  {
3833
- "id": "himi_appearance.accent.terracotta",
3917
+ "id": "himi_appearance.accent_option.terracotta",
3834
3918
  "body": {
3835
3919
  "package": "himalaya",
3836
- "type": "ZStack",
3920
+ "type": "VStack",
3837
3921
  "props": {
3922
+ "spacing": 8,
3838
3923
  "alignment": "center",
3839
- "children": []
3924
+ "children": [
3925
+ {
3926
+ "id": "himi_appearance.accent.terracotta",
3927
+ "body": {
3928
+ "package": "himalaya",
3929
+ "type": "ZStack",
3930
+ "props": {
3931
+ "alignment": "center",
3932
+ "children": [
3933
+ {
3934
+ "id": "",
3935
+ "body": {
3936
+ "package": "himalaya",
3937
+ "type": "Icon",
3938
+ "props": {
3939
+ "name": "check",
3940
+ "size": 20,
3941
+ "tint": "textOnAccent"
3942
+ }
3943
+ },
3944
+ "modifiers": {
3945
+ "accessibilityRole": "decorative",
3946
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
3947
+ }
3948
+ }
3949
+ ]
3950
+ }
3951
+ },
3952
+ "modifiers": {
3953
+ "width": 46,
3954
+ "height": 46,
3955
+ "cornerRadius": 23,
3956
+ "background": {
3957
+ "token": "accentPrimary"
3958
+ },
3959
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
3960
+ "border": {
3961
+ "width": 2,
3962
+ "color": {
3963
+ "token": "border"
3964
+ }
3965
+ }
3966
+ }
3967
+ },
3968
+ {
3969
+ "id": "himi_appearance.accent_radio.terracotta",
3970
+ "body": {
3971
+ "package": "himalaya",
3972
+ "type": "SelectionControl",
3973
+ "props": {
3974
+ "kind": "radio",
3975
+ "groupId": "himi_appearance.accent",
3976
+ "label": "Terracotta",
3977
+ "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
3978
+ "onChange": {
3979
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
3980
+ "params": {
3981
+ "id": "terracotta"
3982
+ }
3983
+ }
3984
+ }
3985
+ }
3986
+ }
3987
+ ]
3840
3988
  }
3841
3989
  },
3842
3990
  "modifiers": {
3843
- "width": 46,
3844
- "height": 46,
3845
- "cornerRadius": 23,
3846
- "background": {
3847
- "token": "accentPrimary"
3848
- },
3849
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
3850
- "border": {
3851
- "width": 2,
3852
- "color": {
3853
- "token": "border"
3854
- }
3855
- },
3856
- "onTap": {
3857
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3858
- "params": {
3859
- "id": "terracotta"
3860
- }
3861
- },
3862
- "pressFeedback": "scale",
3863
- "haptic": "light",
3864
- "accessibilityLabel": "terracotta"
3991
+ "padding": {
3992
+ "top": 6,
3993
+ "bottom": 6,
3994
+ "leading": 4,
3995
+ "trailing": 4
3996
+ }
3865
3997
  }
3866
3998
  },
3867
3999
  {
3868
- "id": "himi_appearance.accent.sage",
4000
+ "id": "himi_appearance.accent_option.sage",
3869
4001
  "body": {
3870
4002
  "package": "himalaya",
3871
- "type": "ZStack",
4003
+ "type": "VStack",
3872
4004
  "props": {
4005
+ "spacing": 8,
3873
4006
  "alignment": "center",
3874
- "children": []
4007
+ "children": [
4008
+ {
4009
+ "id": "himi_appearance.accent.sage",
4010
+ "body": {
4011
+ "package": "himalaya",
4012
+ "type": "ZStack",
4013
+ "props": {
4014
+ "alignment": "center",
4015
+ "children": [
4016
+ {
4017
+ "id": "",
4018
+ "body": {
4019
+ "package": "himalaya",
4020
+ "type": "Icon",
4021
+ "props": {
4022
+ "name": "check",
4023
+ "size": 20,
4024
+ "tint": "textOnAccent"
4025
+ }
4026
+ },
4027
+ "modifiers": {
4028
+ "accessibilityRole": "decorative",
4029
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
4030
+ }
4031
+ }
4032
+ ]
4033
+ }
4034
+ },
4035
+ "modifiers": {
4036
+ "width": 46,
4037
+ "height": 46,
4038
+ "cornerRadius": 23,
4039
+ "background": {
4040
+ "token": "accentPrimary"
4041
+ },
4042
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4043
+ "border": {
4044
+ "width": 2,
4045
+ "color": {
4046
+ "token": "border"
4047
+ }
4048
+ }
4049
+ }
4050
+ },
4051
+ {
4052
+ "id": "himi_appearance.accent_radio.sage",
4053
+ "body": {
4054
+ "package": "himalaya",
4055
+ "type": "SelectionControl",
4056
+ "props": {
4057
+ "kind": "radio",
4058
+ "groupId": "himi_appearance.accent",
4059
+ "label": "Sage",
4060
+ "valuePath": "$service:himiBrandedAppearance.selected_sage",
4061
+ "onChange": {
4062
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4063
+ "params": {
4064
+ "id": "sage"
4065
+ }
4066
+ }
4067
+ }
4068
+ }
4069
+ }
4070
+ ]
3875
4071
  }
3876
4072
  },
3877
4073
  "modifiers": {
3878
- "width": 46,
3879
- "height": 46,
3880
- "cornerRadius": 23,
3881
- "background": {
3882
- "token": "accentPrimary"
3883
- },
3884
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
3885
- "border": {
3886
- "width": 2,
3887
- "color": {
3888
- "token": "border"
3889
- }
3890
- },
3891
- "onTap": {
3892
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3893
- "params": {
3894
- "id": "sage"
3895
- }
3896
- },
3897
- "pressFeedback": "scale",
3898
- "haptic": "light",
3899
- "accessibilityLabel": "sage"
4074
+ "padding": {
4075
+ "top": 6,
4076
+ "bottom": 6,
4077
+ "leading": 4,
4078
+ "trailing": 4
4079
+ }
3900
4080
  }
3901
4081
  },
3902
4082
  {
3903
- "id": "himi_appearance.accent.plum",
4083
+ "id": "himi_appearance.accent_option.plum",
3904
4084
  "body": {
3905
4085
  "package": "himalaya",
3906
- "type": "ZStack",
4086
+ "type": "VStack",
3907
4087
  "props": {
4088
+ "spacing": 8,
3908
4089
  "alignment": "center",
3909
- "children": []
4090
+ "children": [
4091
+ {
4092
+ "id": "himi_appearance.accent.plum",
4093
+ "body": {
4094
+ "package": "himalaya",
4095
+ "type": "ZStack",
4096
+ "props": {
4097
+ "alignment": "center",
4098
+ "children": [
4099
+ {
4100
+ "id": "",
4101
+ "body": {
4102
+ "package": "himalaya",
4103
+ "type": "Icon",
4104
+ "props": {
4105
+ "name": "check",
4106
+ "size": 20,
4107
+ "tint": "textOnAccent"
4108
+ }
4109
+ },
4110
+ "modifiers": {
4111
+ "accessibilityRole": "decorative",
4112
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
4113
+ }
4114
+ }
4115
+ ]
4116
+ }
4117
+ },
4118
+ "modifiers": {
4119
+ "width": 46,
4120
+ "height": 46,
4121
+ "cornerRadius": 23,
4122
+ "background": {
4123
+ "token": "accentPrimary"
4124
+ },
4125
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4126
+ "border": {
4127
+ "width": 2,
4128
+ "color": {
4129
+ "token": "border"
4130
+ }
4131
+ }
4132
+ }
4133
+ },
4134
+ {
4135
+ "id": "himi_appearance.accent_radio.plum",
4136
+ "body": {
4137
+ "package": "himalaya",
4138
+ "type": "SelectionControl",
4139
+ "props": {
4140
+ "kind": "radio",
4141
+ "groupId": "himi_appearance.accent",
4142
+ "label": "Plum",
4143
+ "valuePath": "$service:himiBrandedAppearance.selected_plum",
4144
+ "onChange": {
4145
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4146
+ "params": {
4147
+ "id": "plum"
4148
+ }
4149
+ }
4150
+ }
4151
+ }
4152
+ }
4153
+ ]
3910
4154
  }
3911
4155
  },
3912
4156
  "modifiers": {
3913
- "width": 46,
3914
- "height": 46,
3915
- "cornerRadius": 23,
3916
- "background": {
3917
- "token": "accentPrimary"
3918
- },
3919
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
3920
- "border": {
3921
- "width": 2,
3922
- "color": {
3923
- "token": "border"
3924
- }
3925
- },
3926
- "onTap": {
3927
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3928
- "params": {
3929
- "id": "plum"
3930
- }
3931
- },
3932
- "pressFeedback": "scale",
3933
- "haptic": "light",
3934
- "accessibilityLabel": "plum"
4157
+ "padding": {
4158
+ "top": 6,
4159
+ "bottom": 6,
4160
+ "leading": 4,
4161
+ "trailing": 4
4162
+ }
3935
4163
  }
3936
4164
  },
3937
4165
  {
3938
- "id": "himi_appearance.accent.ocean",
4166
+ "id": "himi_appearance.accent_option.ocean",
3939
4167
  "body": {
3940
4168
  "package": "himalaya",
3941
- "type": "ZStack",
4169
+ "type": "VStack",
3942
4170
  "props": {
4171
+ "spacing": 8,
3943
4172
  "alignment": "center",
3944
- "children": []
4173
+ "children": [
4174
+ {
4175
+ "id": "himi_appearance.accent.ocean",
4176
+ "body": {
4177
+ "package": "himalaya",
4178
+ "type": "ZStack",
4179
+ "props": {
4180
+ "alignment": "center",
4181
+ "children": [
4182
+ {
4183
+ "id": "",
4184
+ "body": {
4185
+ "package": "himalaya",
4186
+ "type": "Icon",
4187
+ "props": {
4188
+ "name": "check",
4189
+ "size": 20,
4190
+ "tint": "textOnAccent"
4191
+ }
4192
+ },
4193
+ "modifiers": {
4194
+ "accessibilityRole": "decorative",
4195
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
4196
+ }
4197
+ }
4198
+ ]
4199
+ }
4200
+ },
4201
+ "modifiers": {
4202
+ "width": 46,
4203
+ "height": 46,
4204
+ "cornerRadius": 23,
4205
+ "background": {
4206
+ "token": "accentPrimary"
4207
+ },
4208
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4209
+ "border": {
4210
+ "width": 2,
4211
+ "color": {
4212
+ "token": "border"
4213
+ }
4214
+ }
4215
+ }
4216
+ },
4217
+ {
4218
+ "id": "himi_appearance.accent_radio.ocean",
4219
+ "body": {
4220
+ "package": "himalaya",
4221
+ "type": "SelectionControl",
4222
+ "props": {
4223
+ "kind": "radio",
4224
+ "groupId": "himi_appearance.accent",
4225
+ "label": "Ocean",
4226
+ "valuePath": "$service:himiBrandedAppearance.selected_ocean",
4227
+ "onChange": {
4228
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4229
+ "params": {
4230
+ "id": "ocean"
4231
+ }
4232
+ }
4233
+ }
4234
+ }
4235
+ }
4236
+ ]
3945
4237
  }
3946
4238
  },
3947
4239
  "modifiers": {
3948
- "width": 46,
3949
- "height": 46,
3950
- "cornerRadius": 23,
3951
- "background": {
3952
- "token": "accentPrimary"
3953
- },
3954
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
3955
- "border": {
3956
- "width": 2,
3957
- "color": {
3958
- "token": "border"
3959
- }
3960
- },
3961
- "onTap": {
3962
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3963
- "params": {
3964
- "id": "ocean"
3965
- }
3966
- },
3967
- "pressFeedback": "scale",
3968
- "haptic": "light",
3969
- "accessibilityLabel": "ocean"
4240
+ "padding": {
4241
+ "top": 6,
4242
+ "bottom": 6,
4243
+ "leading": 4,
4244
+ "trailing": 4
4245
+ }
3970
4246
  }
3971
4247
  }
3972
4248
  ]
@@ -4466,41 +4742,21 @@ const SCREENS = runtimeSetting({
4466
4742
  "spacing": 12,
4467
4743
  "children": [
4468
4744
  {
4469
- "id": "",
4745
+ "id": "himi_app_language.option.$item.id",
4470
4746
  "body": {
4471
4747
  "package": "himalaya",
4472
- "type": "VStack",
4748
+ "type": "SelectionControl",
4473
4749
  "props": {
4474
- "spacing": 3,
4475
- "alignment": "leading",
4476
- "children": [
4477
- {
4478
- "id": "",
4479
- "body": {
4480
- "package": "himalaya",
4481
- "type": "Text",
4482
- "props": {
4483
- "text": "$item.name",
4484
- "style": "bodyEmphasis",
4485
- "maxLines": 1
4486
- }
4487
- }
4488
- },
4489
- {
4490
- "id": "",
4491
- "body": {
4492
- "package": "himalaya",
4493
- "type": "Text",
4494
- "props": {
4495
- "text": "$item.subtitle",
4496
- "style": "caption",
4497
- "color": "accentPrimary",
4498
- "maxLines": 1,
4499
- "collapseWhenEmpty": true
4500
- }
4501
- }
4750
+ "kind": "radio",
4751
+ "groupId": "himi_app_language",
4752
+ "label": "$item.name",
4753
+ "valuePath": "$item.selected",
4754
+ "onChange": {
4755
+ "actionId": "tier5.spacesAppLanguage.select",
4756
+ "params": {
4757
+ "id": "$item.id"
4502
4758
  }
4503
- ]
4759
+ }
4504
4760
  }
4505
4761
  }
4506
4762
  },
@@ -4531,16 +4787,7 @@ const SCREENS = runtimeSetting({
4531
4787
  "trailing": 12,
4532
4788
  "top": 12,
4533
4789
  "bottom": 12
4534
- },
4535
- "onTap": {
4536
- "actionId": "tier5.spacesAppLanguage.select",
4537
- "params": {
4538
- "id": "$item.id"
4539
- }
4540
- },
4541
- "pressFeedback": "scale",
4542
- "haptic": "light",
4543
- "accessibilityLabel": "$item.name"
4790
+ }
4544
4791
  }
4545
4792
  }
4546
4793
  ]