@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
@@ -4567,18 +4567,6 @@ const SCREENS = runtimeSetting({
4567
4567
  "style": "title3"
4568
4568
  }
4569
4569
  }
4570
- },
4571
- {
4572
- "id": "",
4573
- "body": {
4574
- "package": "himalaya",
4575
- "type": "Text",
4576
- "props": {
4577
- "text": "Tint the brand surfaces.",
4578
- "style": "footnote",
4579
- "color": "textSecondary"
4580
- }
4581
- }
4582
4570
  }
4583
4571
  ]
4584
4572
  }
@@ -4590,218 +4578,506 @@ const SCREENS = runtimeSetting({
4590
4578
  "package": "himalaya",
4591
4579
  "type": "Grid",
4592
4580
  "props": {
4593
- "columns": 6,
4581
+ "columns": 3,
4594
4582
  "columnsMedium": 6,
4595
4583
  "spacing": 12,
4596
4584
  "items": [
4597
4585
  {
4598
- "id": "himi_appearance.accent.brand",
4586
+ "id": "himi_appearance.accent_option.brand",
4599
4587
  "body": {
4600
4588
  "package": "himalaya",
4601
- "type": "ZStack",
4589
+ "type": "VStack",
4602
4590
  "props": {
4591
+ "spacing": 8,
4603
4592
  "alignment": "center",
4604
- "children": []
4593
+ "children": [
4594
+ {
4595
+ "id": "himi_appearance.accent.brand",
4596
+ "body": {
4597
+ "package": "himalaya",
4598
+ "type": "ZStack",
4599
+ "props": {
4600
+ "alignment": "center",
4601
+ "children": [
4602
+ {
4603
+ "id": "",
4604
+ "body": {
4605
+ "package": "himalaya",
4606
+ "type": "Icon",
4607
+ "props": {
4608
+ "name": "check",
4609
+ "size": 20,
4610
+ "tint": "textOnAccent"
4611
+ }
4612
+ },
4613
+ "modifiers": {
4614
+ "accessibilityRole": "decorative",
4615
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
4616
+ }
4617
+ }
4618
+ ]
4619
+ }
4620
+ },
4621
+ "modifiers": {
4622
+ "width": 46,
4623
+ "height": 46,
4624
+ "cornerRadius": 23,
4625
+ "background": {
4626
+ "token": "accentPrimary"
4627
+ },
4628
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4629
+ "border": {
4630
+ "width": 2,
4631
+ "color": {
4632
+ "token": "border"
4633
+ }
4634
+ }
4635
+ }
4636
+ },
4637
+ {
4638
+ "id": "himi_appearance.accent_radio.brand",
4639
+ "body": {
4640
+ "package": "himalaya",
4641
+ "type": "SelectionControl",
4642
+ "props": {
4643
+ "kind": "radio",
4644
+ "groupId": "himi_appearance.accent",
4645
+ "label": "Brand",
4646
+ "valuePath": "$service:himiBrandedAppearance.selected_brand",
4647
+ "onChange": {
4648
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4649
+ "params": {
4650
+ "id": "brand"
4651
+ }
4652
+ }
4653
+ }
4654
+ }
4655
+ }
4656
+ ]
4605
4657
  }
4606
4658
  },
4607
4659
  "modifiers": {
4608
- "width": 46,
4609
- "height": 46,
4610
- "cornerRadius": 23,
4611
- "background": {
4612
- "token": "accentPrimary"
4613
- },
4614
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4615
- "border": {
4616
- "width": 2,
4617
- "color": {
4618
- "token": "border"
4619
- }
4620
- },
4621
- "onTap": {
4622
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4623
- "params": {
4624
- "id": "brand"
4625
- }
4626
- },
4627
- "pressFeedback": "scale",
4628
- "haptic": "light",
4629
- "accessibilityLabel": "brand"
4660
+ "padding": {
4661
+ "top": 6,
4662
+ "bottom": 6,
4663
+ "leading": 4,
4664
+ "trailing": 4
4665
+ }
4630
4666
  }
4631
4667
  },
4632
4668
  {
4633
- "id": "himi_appearance.accent.amber",
4669
+ "id": "himi_appearance.accent_option.amber",
4634
4670
  "body": {
4635
4671
  "package": "himalaya",
4636
- "type": "ZStack",
4672
+ "type": "VStack",
4637
4673
  "props": {
4674
+ "spacing": 8,
4638
4675
  "alignment": "center",
4639
- "children": []
4676
+ "children": [
4677
+ {
4678
+ "id": "himi_appearance.accent.amber",
4679
+ "body": {
4680
+ "package": "himalaya",
4681
+ "type": "ZStack",
4682
+ "props": {
4683
+ "alignment": "center",
4684
+ "children": [
4685
+ {
4686
+ "id": "",
4687
+ "body": {
4688
+ "package": "himalaya",
4689
+ "type": "Icon",
4690
+ "props": {
4691
+ "name": "check",
4692
+ "size": 20,
4693
+ "tint": "textOnAccent"
4694
+ }
4695
+ },
4696
+ "modifiers": {
4697
+ "accessibilityRole": "decorative",
4698
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
4699
+ }
4700
+ }
4701
+ ]
4702
+ }
4703
+ },
4704
+ "modifiers": {
4705
+ "width": 46,
4706
+ "height": 46,
4707
+ "cornerRadius": 23,
4708
+ "background": {
4709
+ "token": "accentPrimary"
4710
+ },
4711
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4712
+ "border": {
4713
+ "width": 2,
4714
+ "color": {
4715
+ "token": "border"
4716
+ }
4717
+ }
4718
+ }
4719
+ },
4720
+ {
4721
+ "id": "himi_appearance.accent_radio.amber",
4722
+ "body": {
4723
+ "package": "himalaya",
4724
+ "type": "SelectionControl",
4725
+ "props": {
4726
+ "kind": "radio",
4727
+ "groupId": "himi_appearance.accent",
4728
+ "label": "Amber",
4729
+ "valuePath": "$service:himiBrandedAppearance.selected_amber",
4730
+ "onChange": {
4731
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4732
+ "params": {
4733
+ "id": "amber"
4734
+ }
4735
+ }
4736
+ }
4737
+ }
4738
+ }
4739
+ ]
4640
4740
  }
4641
4741
  },
4642
4742
  "modifiers": {
4643
- "width": 46,
4644
- "height": 46,
4645
- "cornerRadius": 23,
4646
- "background": {
4647
- "token": "accentPrimary"
4648
- },
4649
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4650
- "border": {
4651
- "width": 2,
4652
- "color": {
4653
- "token": "border"
4654
- }
4655
- },
4656
- "onTap": {
4657
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4658
- "params": {
4659
- "id": "amber"
4660
- }
4661
- },
4662
- "pressFeedback": "scale",
4663
- "haptic": "light",
4664
- "accessibilityLabel": "amber"
4743
+ "padding": {
4744
+ "top": 6,
4745
+ "bottom": 6,
4746
+ "leading": 4,
4747
+ "trailing": 4
4748
+ }
4665
4749
  }
4666
4750
  },
4667
4751
  {
4668
- "id": "himi_appearance.accent.terracotta",
4752
+ "id": "himi_appearance.accent_option.terracotta",
4669
4753
  "body": {
4670
4754
  "package": "himalaya",
4671
- "type": "ZStack",
4755
+ "type": "VStack",
4672
4756
  "props": {
4757
+ "spacing": 8,
4673
4758
  "alignment": "center",
4674
- "children": []
4759
+ "children": [
4760
+ {
4761
+ "id": "himi_appearance.accent.terracotta",
4762
+ "body": {
4763
+ "package": "himalaya",
4764
+ "type": "ZStack",
4765
+ "props": {
4766
+ "alignment": "center",
4767
+ "children": [
4768
+ {
4769
+ "id": "",
4770
+ "body": {
4771
+ "package": "himalaya",
4772
+ "type": "Icon",
4773
+ "props": {
4774
+ "name": "check",
4775
+ "size": 20,
4776
+ "tint": "textOnAccent"
4777
+ }
4778
+ },
4779
+ "modifiers": {
4780
+ "accessibilityRole": "decorative",
4781
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
4782
+ }
4783
+ }
4784
+ ]
4785
+ }
4786
+ },
4787
+ "modifiers": {
4788
+ "width": 46,
4789
+ "height": 46,
4790
+ "cornerRadius": 23,
4791
+ "background": {
4792
+ "token": "accentPrimary"
4793
+ },
4794
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4795
+ "border": {
4796
+ "width": 2,
4797
+ "color": {
4798
+ "token": "border"
4799
+ }
4800
+ }
4801
+ }
4802
+ },
4803
+ {
4804
+ "id": "himi_appearance.accent_radio.terracotta",
4805
+ "body": {
4806
+ "package": "himalaya",
4807
+ "type": "SelectionControl",
4808
+ "props": {
4809
+ "kind": "radio",
4810
+ "groupId": "himi_appearance.accent",
4811
+ "label": "Terracotta",
4812
+ "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
4813
+ "onChange": {
4814
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4815
+ "params": {
4816
+ "id": "terracotta"
4817
+ }
4818
+ }
4819
+ }
4820
+ }
4821
+ }
4822
+ ]
4675
4823
  }
4676
4824
  },
4677
4825
  "modifiers": {
4678
- "width": 46,
4679
- "height": 46,
4680
- "cornerRadius": 23,
4681
- "background": {
4682
- "token": "accentPrimary"
4683
- },
4684
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4685
- "border": {
4686
- "width": 2,
4687
- "color": {
4688
- "token": "border"
4689
- }
4690
- },
4691
- "onTap": {
4692
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4693
- "params": {
4694
- "id": "terracotta"
4695
- }
4696
- },
4697
- "pressFeedback": "scale",
4698
- "haptic": "light",
4699
- "accessibilityLabel": "terracotta"
4826
+ "padding": {
4827
+ "top": 6,
4828
+ "bottom": 6,
4829
+ "leading": 4,
4830
+ "trailing": 4
4831
+ }
4700
4832
  }
4701
4833
  },
4702
4834
  {
4703
- "id": "himi_appearance.accent.sage",
4835
+ "id": "himi_appearance.accent_option.sage",
4704
4836
  "body": {
4705
4837
  "package": "himalaya",
4706
- "type": "ZStack",
4838
+ "type": "VStack",
4707
4839
  "props": {
4840
+ "spacing": 8,
4708
4841
  "alignment": "center",
4709
- "children": []
4842
+ "children": [
4843
+ {
4844
+ "id": "himi_appearance.accent.sage",
4845
+ "body": {
4846
+ "package": "himalaya",
4847
+ "type": "ZStack",
4848
+ "props": {
4849
+ "alignment": "center",
4850
+ "children": [
4851
+ {
4852
+ "id": "",
4853
+ "body": {
4854
+ "package": "himalaya",
4855
+ "type": "Icon",
4856
+ "props": {
4857
+ "name": "check",
4858
+ "size": 20,
4859
+ "tint": "textOnAccent"
4860
+ }
4861
+ },
4862
+ "modifiers": {
4863
+ "accessibilityRole": "decorative",
4864
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
4865
+ }
4866
+ }
4867
+ ]
4868
+ }
4869
+ },
4870
+ "modifiers": {
4871
+ "width": 46,
4872
+ "height": 46,
4873
+ "cornerRadius": 23,
4874
+ "background": {
4875
+ "token": "accentPrimary"
4876
+ },
4877
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4878
+ "border": {
4879
+ "width": 2,
4880
+ "color": {
4881
+ "token": "border"
4882
+ }
4883
+ }
4884
+ }
4885
+ },
4886
+ {
4887
+ "id": "himi_appearance.accent_radio.sage",
4888
+ "body": {
4889
+ "package": "himalaya",
4890
+ "type": "SelectionControl",
4891
+ "props": {
4892
+ "kind": "radio",
4893
+ "groupId": "himi_appearance.accent",
4894
+ "label": "Sage",
4895
+ "valuePath": "$service:himiBrandedAppearance.selected_sage",
4896
+ "onChange": {
4897
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4898
+ "params": {
4899
+ "id": "sage"
4900
+ }
4901
+ }
4902
+ }
4903
+ }
4904
+ }
4905
+ ]
4906
+ }
4907
+ },
4908
+ "modifiers": {
4909
+ "padding": {
4910
+ "top": 6,
4911
+ "bottom": 6,
4912
+ "leading": 4,
4913
+ "trailing": 4
4914
+ }
4915
+ }
4916
+ },
4917
+ {
4918
+ "id": "himi_appearance.accent_option.plum",
4919
+ "body": {
4920
+ "package": "himalaya",
4921
+ "type": "VStack",
4922
+ "props": {
4923
+ "spacing": 8,
4924
+ "alignment": "center",
4925
+ "children": [
4926
+ {
4927
+ "id": "himi_appearance.accent.plum",
4928
+ "body": {
4929
+ "package": "himalaya",
4930
+ "type": "ZStack",
4931
+ "props": {
4932
+ "alignment": "center",
4933
+ "children": [
4934
+ {
4935
+ "id": "",
4936
+ "body": {
4937
+ "package": "himalaya",
4938
+ "type": "Icon",
4939
+ "props": {
4940
+ "name": "check",
4941
+ "size": 20,
4942
+ "tint": "textOnAccent"
4943
+ }
4944
+ },
4945
+ "modifiers": {
4946
+ "accessibilityRole": "decorative",
4947
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
4948
+ }
4949
+ }
4950
+ ]
4951
+ }
4952
+ },
4953
+ "modifiers": {
4954
+ "width": 46,
4955
+ "height": 46,
4956
+ "cornerRadius": 23,
4957
+ "background": {
4958
+ "token": "accentPrimary"
4959
+ },
4960
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4961
+ "border": {
4962
+ "width": 2,
4963
+ "color": {
4964
+ "token": "border"
4965
+ }
4966
+ }
4967
+ }
4968
+ },
4969
+ {
4970
+ "id": "himi_appearance.accent_radio.plum",
4971
+ "body": {
4972
+ "package": "himalaya",
4973
+ "type": "SelectionControl",
4974
+ "props": {
4975
+ "kind": "radio",
4976
+ "groupId": "himi_appearance.accent",
4977
+ "label": "Plum",
4978
+ "valuePath": "$service:himiBrandedAppearance.selected_plum",
4979
+ "onChange": {
4980
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4981
+ "params": {
4982
+ "id": "plum"
4983
+ }
4984
+ }
4985
+ }
4986
+ }
4987
+ }
4988
+ ]
4710
4989
  }
4711
4990
  },
4712
4991
  "modifiers": {
4713
- "width": 46,
4714
- "height": 46,
4715
- "cornerRadius": 23,
4716
- "background": {
4717
- "token": "accentPrimary"
4718
- },
4719
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4720
- "border": {
4721
- "width": 2,
4722
- "color": {
4723
- "token": "border"
4724
- }
4725
- },
4726
- "onTap": {
4727
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4728
- "params": {
4729
- "id": "sage"
4730
- }
4731
- },
4732
- "pressFeedback": "scale",
4733
- "haptic": "light",
4734
- "accessibilityLabel": "sage"
4735
- }
4736
- },
4737
- {
4738
- "id": "himi_appearance.accent.plum",
4739
- "body": {
4740
- "package": "himalaya",
4741
- "type": "ZStack",
4742
- "props": {
4743
- "alignment": "center",
4744
- "children": []
4992
+ "padding": {
4993
+ "top": 6,
4994
+ "bottom": 6,
4995
+ "leading": 4,
4996
+ "trailing": 4
4745
4997
  }
4746
- },
4747
- "modifiers": {
4748
- "width": 46,
4749
- "height": 46,
4750
- "cornerRadius": 23,
4751
- "background": {
4752
- "token": "accentPrimary"
4753
- },
4754
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4755
- "border": {
4756
- "width": 2,
4757
- "color": {
4758
- "token": "border"
4759
- }
4760
- },
4761
- "onTap": {
4762
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4763
- "params": {
4764
- "id": "plum"
4765
- }
4766
- },
4767
- "pressFeedback": "scale",
4768
- "haptic": "light",
4769
- "accessibilityLabel": "plum"
4770
4998
  }
4771
4999
  },
4772
5000
  {
4773
- "id": "himi_appearance.accent.ocean",
5001
+ "id": "himi_appearance.accent_option.ocean",
4774
5002
  "body": {
4775
5003
  "package": "himalaya",
4776
- "type": "ZStack",
5004
+ "type": "VStack",
4777
5005
  "props": {
5006
+ "spacing": 8,
4778
5007
  "alignment": "center",
4779
- "children": []
5008
+ "children": [
5009
+ {
5010
+ "id": "himi_appearance.accent.ocean",
5011
+ "body": {
5012
+ "package": "himalaya",
5013
+ "type": "ZStack",
5014
+ "props": {
5015
+ "alignment": "center",
5016
+ "children": [
5017
+ {
5018
+ "id": "",
5019
+ "body": {
5020
+ "package": "himalaya",
5021
+ "type": "Icon",
5022
+ "props": {
5023
+ "name": "check",
5024
+ "size": 20,
5025
+ "tint": "textOnAccent"
5026
+ }
5027
+ },
5028
+ "modifiers": {
5029
+ "accessibilityRole": "decorative",
5030
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
5031
+ }
5032
+ }
5033
+ ]
5034
+ }
5035
+ },
5036
+ "modifiers": {
5037
+ "width": 46,
5038
+ "height": 46,
5039
+ "cornerRadius": 23,
5040
+ "background": {
5041
+ "token": "accentPrimary"
5042
+ },
5043
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
5044
+ "border": {
5045
+ "width": 2,
5046
+ "color": {
5047
+ "token": "border"
5048
+ }
5049
+ }
5050
+ }
5051
+ },
5052
+ {
5053
+ "id": "himi_appearance.accent_radio.ocean",
5054
+ "body": {
5055
+ "package": "himalaya",
5056
+ "type": "SelectionControl",
5057
+ "props": {
5058
+ "kind": "radio",
5059
+ "groupId": "himi_appearance.accent",
5060
+ "label": "Ocean",
5061
+ "valuePath": "$service:himiBrandedAppearance.selected_ocean",
5062
+ "onChange": {
5063
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
5064
+ "params": {
5065
+ "id": "ocean"
5066
+ }
5067
+ }
5068
+ }
5069
+ }
5070
+ }
5071
+ ]
4780
5072
  }
4781
5073
  },
4782
5074
  "modifiers": {
4783
- "width": 46,
4784
- "height": 46,
4785
- "cornerRadius": 23,
4786
- "background": {
4787
- "token": "accentPrimary"
4788
- },
4789
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4790
- "border": {
4791
- "width": 2,
4792
- "color": {
4793
- "token": "border"
4794
- }
4795
- },
4796
- "onTap": {
4797
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4798
- "params": {
4799
- "id": "ocean"
4800
- }
4801
- },
4802
- "pressFeedback": "scale",
4803
- "haptic": "light",
4804
- "accessibilityLabel": "ocean"
5075
+ "padding": {
5076
+ "top": 6,
5077
+ "bottom": 6,
5078
+ "leading": 4,
5079
+ "trailing": 4
5080
+ }
4805
5081
  }
4806
5082
  }
4807
5083
  ]
@@ -5301,41 +5577,21 @@ const SCREENS = runtimeSetting({
5301
5577
  "spacing": 12,
5302
5578
  "children": [
5303
5579
  {
5304
- "id": "",
5580
+ "id": "himi_app_language.option.$item.id",
5305
5581
  "body": {
5306
5582
  "package": "himalaya",
5307
- "type": "VStack",
5583
+ "type": "SelectionControl",
5308
5584
  "props": {
5309
- "spacing": 3,
5310
- "alignment": "leading",
5311
- "children": [
5312
- {
5313
- "id": "",
5314
- "body": {
5315
- "package": "himalaya",
5316
- "type": "Text",
5317
- "props": {
5318
- "text": "$item.name",
5319
- "style": "bodyEmphasis",
5320
- "maxLines": 1
5321
- }
5322
- }
5323
- },
5324
- {
5325
- "id": "",
5326
- "body": {
5327
- "package": "himalaya",
5328
- "type": "Text",
5329
- "props": {
5330
- "text": "$item.subtitle",
5331
- "style": "caption",
5332
- "color": "accentPrimary",
5333
- "maxLines": 1,
5334
- "collapseWhenEmpty": true
5335
- }
5336
- }
5585
+ "kind": "radio",
5586
+ "groupId": "himi_app_language",
5587
+ "label": "$item.name",
5588
+ "valuePath": "$item.selected",
5589
+ "onChange": {
5590
+ "actionId": "tier5.spacesAppLanguage.select",
5591
+ "params": {
5592
+ "id": "$item.id"
5337
5593
  }
5338
- ]
5594
+ }
5339
5595
  }
5340
5596
  }
5341
5597
  },
@@ -5366,16 +5622,7 @@ const SCREENS = runtimeSetting({
5366
5622
  "trailing": 12,
5367
5623
  "top": 12,
5368
5624
  "bottom": 12
5369
- },
5370
- "onTap": {
5371
- "actionId": "tier5.spacesAppLanguage.select",
5372
- "params": {
5373
- "id": "$item.id"
5374
- }
5375
- },
5376
- "pressFeedback": "scale",
5377
- "haptic": "light",
5378
- "accessibilityLabel": "$item.name"
5625
+ }
5379
5626
  }
5380
5627
  }
5381
5628
  ]
@@ -29093,6 +29340,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
29093
29340
  "color": "textSecondary",
29094
29341
  "collapseWhenEmpty": true
29095
29342
  }
29343
+ },
29344
+ "modifiers": {
29345
+ "hiddenPath": "$service:himiStoreProduct.added"
29096
29346
  }
29097
29347
  }
29098
29348
  ]
@@ -29208,7 +29458,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
29208
29458
  "package": "himalaya",
29209
29459
  "type": "VStack",
29210
29460
  "props": {
29211
- "spacing": 0,
29461
+ "spacing": 8,
29212
29462
  "children": [
29213
29463
  {
29214
29464
  "id": "himi_product.add_to_cart",
@@ -29229,6 +29479,117 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
29229
29479
  "pressFeedback": "scale",
29230
29480
  "haptic": "medium"
29231
29481
  }
29482
+ },
29483
+ {
29484
+ "id": "himi_product.adding",
29485
+ "body": {
29486
+ "package": "himalaya",
29487
+ "type": "HStack",
29488
+ "props": {
29489
+ "spacing": 8,
29490
+ "children": [
29491
+ {
29492
+ "id": "",
29493
+ "body": {
29494
+ "package": "himalaya",
29495
+ "type": "ActivityIndicator",
29496
+ "props": {
29497
+ "indeterminate": true,
29498
+ "size": 16
29499
+ }
29500
+ }
29501
+ },
29502
+ {
29503
+ "id": "",
29504
+ "body": {
29505
+ "package": "himalaya",
29506
+ "type": "Text",
29507
+ "props": {
29508
+ "text": "Adding to cart…",
29509
+ "style": "footnote",
29510
+ "color": "textSecondary"
29511
+ }
29512
+ }
29513
+ }
29514
+ ]
29515
+ }
29516
+ },
29517
+ "modifiers": {
29518
+ "hiddenPath": "$service:himiStoreProduct.notAdding"
29519
+ }
29520
+ },
29521
+ {
29522
+ "id": "himi_product.added_confirmation",
29523
+ "body": {
29524
+ "package": "himalaya",
29525
+ "type": "HStack",
29526
+ "props": {
29527
+ "spacing": 10,
29528
+ "children": [
29529
+ {
29530
+ "id": "",
29531
+ "body": {
29532
+ "package": "himalaya",
29533
+ "type": "Icon",
29534
+ "props": {
29535
+ "name": "check",
29536
+ "size": 18,
29537
+ "tint": "success"
29538
+ }
29539
+ },
29540
+ "modifiers": {
29541
+ "accessibilityRole": "decorative"
29542
+ }
29543
+ },
29544
+ {
29545
+ "id": "",
29546
+ "body": {
29547
+ "package": "himalaya",
29548
+ "type": "Text",
29549
+ "props": {
29550
+ "text": "$service:himiStoreProduct.cartHint",
29551
+ "style": "footnote",
29552
+ "collapseWhenEmpty": true
29553
+ }
29554
+ },
29555
+ "modifiers": {
29556
+ "weight": 1
29557
+ }
29558
+ },
29559
+ {
29560
+ "id": "himi_product.view_cart",
29561
+ "body": {
29562
+ "package": "himalaya",
29563
+ "type": "Button",
29564
+ "props": {
29565
+ "title": "View cart",
29566
+ "style": "tertiary",
29567
+ "action": {
29568
+ "actionId": "himi.open",
29569
+ "params": {
29570
+ "screenId": "himi_cart"
29571
+ }
29572
+ }
29573
+ }
29574
+ }
29575
+ }
29576
+ ]
29577
+ }
29578
+ },
29579
+ "modifiers": {
29580
+ "background": {
29581
+ "token": "surfaceSecondary"
29582
+ },
29583
+ "cornerRadius": 8,
29584
+ "padding": {
29585
+ "leading": 12,
29586
+ "trailing": 8,
29587
+ "top": 6,
29588
+ "bottom": 6
29589
+ },
29590
+ "fillMaxWidth": true,
29591
+ "hiddenPath": "$service:himiStoreProduct.notAdded"
29592
+ }
29232
29593
  }
29233
29594
  ]
29234
29595
  }