@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
@@ -3958,18 +3958,6 @@ const SCREENS = runtimeSetting({
3958
3958
  "style": "title3"
3959
3959
  }
3960
3960
  }
3961
- },
3962
- {
3963
- "id": "",
3964
- "body": {
3965
- "package": "himalaya",
3966
- "type": "Text",
3967
- "props": {
3968
- "text": "Tint the brand surfaces.",
3969
- "style": "footnote",
3970
- "color": "textSecondary"
3971
- }
3972
- }
3973
3961
  }
3974
3962
  ]
3975
3963
  }
@@ -3981,218 +3969,506 @@ const SCREENS = runtimeSetting({
3981
3969
  "package": "himalaya",
3982
3970
  "type": "Grid",
3983
3971
  "props": {
3984
- "columns": 6,
3972
+ "columns": 3,
3985
3973
  "columnsMedium": 6,
3986
3974
  "spacing": 12,
3987
3975
  "items": [
3988
3976
  {
3989
- "id": "himi_appearance.accent.brand",
3977
+ "id": "himi_appearance.accent_option.brand",
3990
3978
  "body": {
3991
3979
  "package": "himalaya",
3992
- "type": "ZStack",
3980
+ "type": "VStack",
3993
3981
  "props": {
3982
+ "spacing": 8,
3994
3983
  "alignment": "center",
3995
- "children": []
3984
+ "children": [
3985
+ {
3986
+ "id": "himi_appearance.accent.brand",
3987
+ "body": {
3988
+ "package": "himalaya",
3989
+ "type": "ZStack",
3990
+ "props": {
3991
+ "alignment": "center",
3992
+ "children": [
3993
+ {
3994
+ "id": "",
3995
+ "body": {
3996
+ "package": "himalaya",
3997
+ "type": "Icon",
3998
+ "props": {
3999
+ "name": "check",
4000
+ "size": 20,
4001
+ "tint": "textOnAccent"
4002
+ }
4003
+ },
4004
+ "modifiers": {
4005
+ "accessibilityRole": "decorative",
4006
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
4007
+ }
4008
+ }
4009
+ ]
4010
+ }
4011
+ },
4012
+ "modifiers": {
4013
+ "width": 46,
4014
+ "height": 46,
4015
+ "cornerRadius": 23,
4016
+ "background": {
4017
+ "token": "accentPrimary"
4018
+ },
4019
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4020
+ "border": {
4021
+ "width": 2,
4022
+ "color": {
4023
+ "token": "border"
4024
+ }
4025
+ }
4026
+ }
4027
+ },
4028
+ {
4029
+ "id": "himi_appearance.accent_radio.brand",
4030
+ "body": {
4031
+ "package": "himalaya",
4032
+ "type": "SelectionControl",
4033
+ "props": {
4034
+ "kind": "radio",
4035
+ "groupId": "himi_appearance.accent",
4036
+ "label": "Brand",
4037
+ "valuePath": "$service:himiBrandedAppearance.selected_brand",
4038
+ "onChange": {
4039
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4040
+ "params": {
4041
+ "id": "brand"
4042
+ }
4043
+ }
4044
+ }
4045
+ }
4046
+ }
4047
+ ]
3996
4048
  }
3997
4049
  },
3998
4050
  "modifiers": {
3999
- "width": 46,
4000
- "height": 46,
4001
- "cornerRadius": 23,
4002
- "background": {
4003
- "token": "accentPrimary"
4004
- },
4005
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4006
- "border": {
4007
- "width": 2,
4008
- "color": {
4009
- "token": "border"
4010
- }
4011
- },
4012
- "onTap": {
4013
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4014
- "params": {
4015
- "id": "brand"
4016
- }
4017
- },
4018
- "pressFeedback": "scale",
4019
- "haptic": "light",
4020
- "accessibilityLabel": "brand"
4051
+ "padding": {
4052
+ "top": 6,
4053
+ "bottom": 6,
4054
+ "leading": 4,
4055
+ "trailing": 4
4056
+ }
4021
4057
  }
4022
4058
  },
4023
4059
  {
4024
- "id": "himi_appearance.accent.amber",
4060
+ "id": "himi_appearance.accent_option.amber",
4025
4061
  "body": {
4026
4062
  "package": "himalaya",
4027
- "type": "ZStack",
4063
+ "type": "VStack",
4028
4064
  "props": {
4065
+ "spacing": 8,
4029
4066
  "alignment": "center",
4030
- "children": []
4067
+ "children": [
4068
+ {
4069
+ "id": "himi_appearance.accent.amber",
4070
+ "body": {
4071
+ "package": "himalaya",
4072
+ "type": "ZStack",
4073
+ "props": {
4074
+ "alignment": "center",
4075
+ "children": [
4076
+ {
4077
+ "id": "",
4078
+ "body": {
4079
+ "package": "himalaya",
4080
+ "type": "Icon",
4081
+ "props": {
4082
+ "name": "check",
4083
+ "size": 20,
4084
+ "tint": "textOnAccent"
4085
+ }
4086
+ },
4087
+ "modifiers": {
4088
+ "accessibilityRole": "decorative",
4089
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
4090
+ }
4091
+ }
4092
+ ]
4093
+ }
4094
+ },
4095
+ "modifiers": {
4096
+ "width": 46,
4097
+ "height": 46,
4098
+ "cornerRadius": 23,
4099
+ "background": {
4100
+ "token": "accentPrimary"
4101
+ },
4102
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4103
+ "border": {
4104
+ "width": 2,
4105
+ "color": {
4106
+ "token": "border"
4107
+ }
4108
+ }
4109
+ }
4110
+ },
4111
+ {
4112
+ "id": "himi_appearance.accent_radio.amber",
4113
+ "body": {
4114
+ "package": "himalaya",
4115
+ "type": "SelectionControl",
4116
+ "props": {
4117
+ "kind": "radio",
4118
+ "groupId": "himi_appearance.accent",
4119
+ "label": "Amber",
4120
+ "valuePath": "$service:himiBrandedAppearance.selected_amber",
4121
+ "onChange": {
4122
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4123
+ "params": {
4124
+ "id": "amber"
4125
+ }
4126
+ }
4127
+ }
4128
+ }
4129
+ }
4130
+ ]
4031
4131
  }
4032
4132
  },
4033
4133
  "modifiers": {
4034
- "width": 46,
4035
- "height": 46,
4036
- "cornerRadius": 23,
4037
- "background": {
4038
- "token": "accentPrimary"
4039
- },
4040
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4041
- "border": {
4042
- "width": 2,
4043
- "color": {
4044
- "token": "border"
4045
- }
4046
- },
4047
- "onTap": {
4048
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4049
- "params": {
4050
- "id": "amber"
4051
- }
4052
- },
4053
- "pressFeedback": "scale",
4054
- "haptic": "light",
4055
- "accessibilityLabel": "amber"
4134
+ "padding": {
4135
+ "top": 6,
4136
+ "bottom": 6,
4137
+ "leading": 4,
4138
+ "trailing": 4
4139
+ }
4056
4140
  }
4057
4141
  },
4058
4142
  {
4059
- "id": "himi_appearance.accent.terracotta",
4143
+ "id": "himi_appearance.accent_option.terracotta",
4060
4144
  "body": {
4061
4145
  "package": "himalaya",
4062
- "type": "ZStack",
4146
+ "type": "VStack",
4063
4147
  "props": {
4148
+ "spacing": 8,
4064
4149
  "alignment": "center",
4065
- "children": []
4150
+ "children": [
4151
+ {
4152
+ "id": "himi_appearance.accent.terracotta",
4153
+ "body": {
4154
+ "package": "himalaya",
4155
+ "type": "ZStack",
4156
+ "props": {
4157
+ "alignment": "center",
4158
+ "children": [
4159
+ {
4160
+ "id": "",
4161
+ "body": {
4162
+ "package": "himalaya",
4163
+ "type": "Icon",
4164
+ "props": {
4165
+ "name": "check",
4166
+ "size": 20,
4167
+ "tint": "textOnAccent"
4168
+ }
4169
+ },
4170
+ "modifiers": {
4171
+ "accessibilityRole": "decorative",
4172
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
4173
+ }
4174
+ }
4175
+ ]
4176
+ }
4177
+ },
4178
+ "modifiers": {
4179
+ "width": 46,
4180
+ "height": 46,
4181
+ "cornerRadius": 23,
4182
+ "background": {
4183
+ "token": "accentPrimary"
4184
+ },
4185
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4186
+ "border": {
4187
+ "width": 2,
4188
+ "color": {
4189
+ "token": "border"
4190
+ }
4191
+ }
4192
+ }
4193
+ },
4194
+ {
4195
+ "id": "himi_appearance.accent_radio.terracotta",
4196
+ "body": {
4197
+ "package": "himalaya",
4198
+ "type": "SelectionControl",
4199
+ "props": {
4200
+ "kind": "radio",
4201
+ "groupId": "himi_appearance.accent",
4202
+ "label": "Terracotta",
4203
+ "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
4204
+ "onChange": {
4205
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4206
+ "params": {
4207
+ "id": "terracotta"
4208
+ }
4209
+ }
4210
+ }
4211
+ }
4212
+ }
4213
+ ]
4066
4214
  }
4067
4215
  },
4068
4216
  "modifiers": {
4069
- "width": 46,
4070
- "height": 46,
4071
- "cornerRadius": 23,
4072
- "background": {
4073
- "token": "accentPrimary"
4074
- },
4075
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4076
- "border": {
4077
- "width": 2,
4078
- "color": {
4079
- "token": "border"
4080
- }
4081
- },
4082
- "onTap": {
4083
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4084
- "params": {
4085
- "id": "terracotta"
4086
- }
4087
- },
4088
- "pressFeedback": "scale",
4089
- "haptic": "light",
4090
- "accessibilityLabel": "terracotta"
4217
+ "padding": {
4218
+ "top": 6,
4219
+ "bottom": 6,
4220
+ "leading": 4,
4221
+ "trailing": 4
4222
+ }
4091
4223
  }
4092
4224
  },
4093
4225
  {
4094
- "id": "himi_appearance.accent.sage",
4226
+ "id": "himi_appearance.accent_option.sage",
4095
4227
  "body": {
4096
4228
  "package": "himalaya",
4097
- "type": "ZStack",
4229
+ "type": "VStack",
4098
4230
  "props": {
4231
+ "spacing": 8,
4099
4232
  "alignment": "center",
4100
- "children": []
4233
+ "children": [
4234
+ {
4235
+ "id": "himi_appearance.accent.sage",
4236
+ "body": {
4237
+ "package": "himalaya",
4238
+ "type": "ZStack",
4239
+ "props": {
4240
+ "alignment": "center",
4241
+ "children": [
4242
+ {
4243
+ "id": "",
4244
+ "body": {
4245
+ "package": "himalaya",
4246
+ "type": "Icon",
4247
+ "props": {
4248
+ "name": "check",
4249
+ "size": 20,
4250
+ "tint": "textOnAccent"
4251
+ }
4252
+ },
4253
+ "modifiers": {
4254
+ "accessibilityRole": "decorative",
4255
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
4256
+ }
4257
+ }
4258
+ ]
4259
+ }
4260
+ },
4261
+ "modifiers": {
4262
+ "width": 46,
4263
+ "height": 46,
4264
+ "cornerRadius": 23,
4265
+ "background": {
4266
+ "token": "accentPrimary"
4267
+ },
4268
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4269
+ "border": {
4270
+ "width": 2,
4271
+ "color": {
4272
+ "token": "border"
4273
+ }
4274
+ }
4275
+ }
4276
+ },
4277
+ {
4278
+ "id": "himi_appearance.accent_radio.sage",
4279
+ "body": {
4280
+ "package": "himalaya",
4281
+ "type": "SelectionControl",
4282
+ "props": {
4283
+ "kind": "radio",
4284
+ "groupId": "himi_appearance.accent",
4285
+ "label": "Sage",
4286
+ "valuePath": "$service:himiBrandedAppearance.selected_sage",
4287
+ "onChange": {
4288
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4289
+ "params": {
4290
+ "id": "sage"
4291
+ }
4292
+ }
4293
+ }
4294
+ }
4295
+ }
4296
+ ]
4101
4297
  }
4102
4298
  },
4103
4299
  "modifiers": {
4104
- "width": 46,
4105
- "height": 46,
4106
- "cornerRadius": 23,
4107
- "background": {
4108
- "token": "accentPrimary"
4109
- },
4110
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4111
- "border": {
4112
- "width": 2,
4113
- "color": {
4114
- "token": "border"
4115
- }
4116
- },
4117
- "onTap": {
4118
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4119
- "params": {
4120
- "id": "sage"
4121
- }
4122
- },
4123
- "pressFeedback": "scale",
4124
- "haptic": "light",
4125
- "accessibilityLabel": "sage"
4300
+ "padding": {
4301
+ "top": 6,
4302
+ "bottom": 6,
4303
+ "leading": 4,
4304
+ "trailing": 4
4305
+ }
4126
4306
  }
4127
4307
  },
4128
4308
  {
4129
- "id": "himi_appearance.accent.plum",
4309
+ "id": "himi_appearance.accent_option.plum",
4130
4310
  "body": {
4131
4311
  "package": "himalaya",
4132
- "type": "ZStack",
4312
+ "type": "VStack",
4133
4313
  "props": {
4314
+ "spacing": 8,
4134
4315
  "alignment": "center",
4135
- "children": []
4316
+ "children": [
4317
+ {
4318
+ "id": "himi_appearance.accent.plum",
4319
+ "body": {
4320
+ "package": "himalaya",
4321
+ "type": "ZStack",
4322
+ "props": {
4323
+ "alignment": "center",
4324
+ "children": [
4325
+ {
4326
+ "id": "",
4327
+ "body": {
4328
+ "package": "himalaya",
4329
+ "type": "Icon",
4330
+ "props": {
4331
+ "name": "check",
4332
+ "size": 20,
4333
+ "tint": "textOnAccent"
4334
+ }
4335
+ },
4336
+ "modifiers": {
4337
+ "accessibilityRole": "decorative",
4338
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
4339
+ }
4340
+ }
4341
+ ]
4342
+ }
4343
+ },
4344
+ "modifiers": {
4345
+ "width": 46,
4346
+ "height": 46,
4347
+ "cornerRadius": 23,
4348
+ "background": {
4349
+ "token": "accentPrimary"
4350
+ },
4351
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4352
+ "border": {
4353
+ "width": 2,
4354
+ "color": {
4355
+ "token": "border"
4356
+ }
4357
+ }
4358
+ }
4359
+ },
4360
+ {
4361
+ "id": "himi_appearance.accent_radio.plum",
4362
+ "body": {
4363
+ "package": "himalaya",
4364
+ "type": "SelectionControl",
4365
+ "props": {
4366
+ "kind": "radio",
4367
+ "groupId": "himi_appearance.accent",
4368
+ "label": "Plum",
4369
+ "valuePath": "$service:himiBrandedAppearance.selected_plum",
4370
+ "onChange": {
4371
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4372
+ "params": {
4373
+ "id": "plum"
4374
+ }
4375
+ }
4376
+ }
4377
+ }
4378
+ }
4379
+ ]
4136
4380
  }
4137
4381
  },
4138
4382
  "modifiers": {
4139
- "width": 46,
4140
- "height": 46,
4141
- "cornerRadius": 23,
4142
- "background": {
4143
- "token": "accentPrimary"
4144
- },
4145
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4146
- "border": {
4147
- "width": 2,
4148
- "color": {
4149
- "token": "border"
4150
- }
4151
- },
4152
- "onTap": {
4153
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4154
- "params": {
4155
- "id": "plum"
4156
- }
4157
- },
4158
- "pressFeedback": "scale",
4159
- "haptic": "light",
4160
- "accessibilityLabel": "plum"
4383
+ "padding": {
4384
+ "top": 6,
4385
+ "bottom": 6,
4386
+ "leading": 4,
4387
+ "trailing": 4
4388
+ }
4161
4389
  }
4162
4390
  },
4163
4391
  {
4164
- "id": "himi_appearance.accent.ocean",
4392
+ "id": "himi_appearance.accent_option.ocean",
4165
4393
  "body": {
4166
4394
  "package": "himalaya",
4167
- "type": "ZStack",
4395
+ "type": "VStack",
4168
4396
  "props": {
4397
+ "spacing": 8,
4169
4398
  "alignment": "center",
4170
- "children": []
4399
+ "children": [
4400
+ {
4401
+ "id": "himi_appearance.accent.ocean",
4402
+ "body": {
4403
+ "package": "himalaya",
4404
+ "type": "ZStack",
4405
+ "props": {
4406
+ "alignment": "center",
4407
+ "children": [
4408
+ {
4409
+ "id": "",
4410
+ "body": {
4411
+ "package": "himalaya",
4412
+ "type": "Icon",
4413
+ "props": {
4414
+ "name": "check",
4415
+ "size": 20,
4416
+ "tint": "textOnAccent"
4417
+ }
4418
+ },
4419
+ "modifiers": {
4420
+ "accessibilityRole": "decorative",
4421
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
4422
+ }
4423
+ }
4424
+ ]
4425
+ }
4426
+ },
4427
+ "modifiers": {
4428
+ "width": 46,
4429
+ "height": 46,
4430
+ "cornerRadius": 23,
4431
+ "background": {
4432
+ "token": "accentPrimary"
4433
+ },
4434
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4435
+ "border": {
4436
+ "width": 2,
4437
+ "color": {
4438
+ "token": "border"
4439
+ }
4440
+ }
4441
+ }
4442
+ },
4443
+ {
4444
+ "id": "himi_appearance.accent_radio.ocean",
4445
+ "body": {
4446
+ "package": "himalaya",
4447
+ "type": "SelectionControl",
4448
+ "props": {
4449
+ "kind": "radio",
4450
+ "groupId": "himi_appearance.accent",
4451
+ "label": "Ocean",
4452
+ "valuePath": "$service:himiBrandedAppearance.selected_ocean",
4453
+ "onChange": {
4454
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4455
+ "params": {
4456
+ "id": "ocean"
4457
+ }
4458
+ }
4459
+ }
4460
+ }
4461
+ }
4462
+ ]
4171
4463
  }
4172
4464
  },
4173
4465
  "modifiers": {
4174
- "width": 46,
4175
- "height": 46,
4176
- "cornerRadius": 23,
4177
- "background": {
4178
- "token": "accentPrimary"
4179
- },
4180
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4181
- "border": {
4182
- "width": 2,
4183
- "color": {
4184
- "token": "border"
4185
- }
4186
- },
4187
- "onTap": {
4188
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4189
- "params": {
4190
- "id": "ocean"
4191
- }
4192
- },
4193
- "pressFeedback": "scale",
4194
- "haptic": "light",
4195
- "accessibilityLabel": "ocean"
4466
+ "padding": {
4467
+ "top": 6,
4468
+ "bottom": 6,
4469
+ "leading": 4,
4470
+ "trailing": 4
4471
+ }
4196
4472
  }
4197
4473
  }
4198
4474
  ]
@@ -4692,41 +4968,21 @@ const SCREENS = runtimeSetting({
4692
4968
  "spacing": 12,
4693
4969
  "children": [
4694
4970
  {
4695
- "id": "",
4971
+ "id": "himi_app_language.option.$item.id",
4696
4972
  "body": {
4697
4973
  "package": "himalaya",
4698
- "type": "VStack",
4974
+ "type": "SelectionControl",
4699
4975
  "props": {
4700
- "spacing": 3,
4701
- "alignment": "leading",
4702
- "children": [
4703
- {
4704
- "id": "",
4705
- "body": {
4706
- "package": "himalaya",
4707
- "type": "Text",
4708
- "props": {
4709
- "text": "$item.name",
4710
- "style": "bodyEmphasis",
4711
- "maxLines": 1
4712
- }
4713
- }
4714
- },
4715
- {
4716
- "id": "",
4717
- "body": {
4718
- "package": "himalaya",
4719
- "type": "Text",
4720
- "props": {
4721
- "text": "$item.subtitle",
4722
- "style": "caption",
4723
- "color": "accentPrimary",
4724
- "maxLines": 1,
4725
- "collapseWhenEmpty": true
4726
- }
4727
- }
4976
+ "kind": "radio",
4977
+ "groupId": "himi_app_language",
4978
+ "label": "$item.name",
4979
+ "valuePath": "$item.selected",
4980
+ "onChange": {
4981
+ "actionId": "tier5.spacesAppLanguage.select",
4982
+ "params": {
4983
+ "id": "$item.id"
4728
4984
  }
4729
- ]
4985
+ }
4730
4986
  }
4731
4987
  }
4732
4988
  },
@@ -4757,16 +5013,7 @@ const SCREENS = runtimeSetting({
4757
5013
  "trailing": 12,
4758
5014
  "top": 12,
4759
5015
  "bottom": 12
4760
- },
4761
- "onTap": {
4762
- "actionId": "tier5.spacesAppLanguage.select",
4763
- "params": {
4764
- "id": "$item.id"
4765
- }
4766
- },
4767
- "pressFeedback": "scale",
4768
- "haptic": "light",
4769
- "accessibilityLabel": "$item.name"
5016
+ }
4770
5017
  }
4771
5018
  }
4772
5019
  ]