@wix/himalaya-cli 0.1525.0 → 0.1527.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 (177) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +14 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/state/src/connectivity.d.ts +5 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/state/src/index.d.ts +1 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +22 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/worker-subtree-safe-types.generated.d.ts +4 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +7 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +13 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/state.mjs +14 -0
  9. package/dist/cli.mjs +157 -40
  10. package/dist/preview-assets.generated.bin +0 -0
  11. package/guides/designing-himi-screens.md +43 -18
  12. package/guides/himi-test.md +3 -3
  13. package/guides/recipe-dynamic-list.md +7 -7
  14. package/guides/recipe-four-state.md +47 -41
  15. package/guides/recipe-search.md +1 -1
  16. package/package.json +2 -2
  17. package/templates/beauty-salon/dev/index.ts +1943 -646
  18. package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +5 -1
  19. package/templates/beauty-salon/tier5-src/_shared/online-actions.ts +76 -0
  20. package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +1 -0
  21. package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +803 -284
  22. package/templates/beauty-salon/tier5-src/himi-branded-lite-address/index.ts +3 -1
  23. package/templates/beauty-salon/tier5-src/himi-branded-lite-addresses/index.ts +3 -1
  24. package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +9 -1
  25. package/templates/beauty-salon/tier5-src/himi-branded-lite-cart/index.ts +3 -0
  26. package/templates/beauty-salon/tier5-src/himi-branded-lite-order/index.ts +3 -1
  27. package/templates/beauty-salon/tier5-src/himi-branded-lite-place-summary/index.ts +12 -1
  28. package/templates/beauty-salon/tier5-src/himi-branded-lite-plans/index.ts +13 -1
  29. package/templates/beauty-salon/tier5-src/himi-branded-lite-wallet/index.ts +3 -1
  30. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +69 -10
  31. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +10 -4
  32. package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +5 -1
  33. package/templates/beauty-salon-owner/tier5-src/_shared/online-actions.ts +76 -0
  34. package/templates/branded-lite/dev/index.ts +2404 -1020
  35. package/templates/branded-lite/tier5-src/_shared/collection-service.ts +5 -1
  36. package/templates/branded-lite/tier5-src/_shared/online-actions.ts +76 -0
  37. package/templates/branded-lite/tier5-src/business-chat/index.ts +4 -0
  38. package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +1 -0
  39. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +803 -284
  40. package/templates/branded-lite/tier5-src/himi-branded-lite-address/index.ts +3 -1
  41. package/templates/branded-lite/tier5-src/himi-branded-lite-addresses/index.ts +3 -1
  42. package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +9 -1
  43. package/templates/branded-lite/tier5-src/himi-branded-lite-cart/index.ts +3 -0
  44. package/templates/branded-lite/tier5-src/himi-branded-lite-feed/index.ts +3 -1
  45. package/templates/branded-lite/tier5-src/himi-branded-lite-group/index.ts +3 -1
  46. package/templates/branded-lite/tier5-src/himi-branded-lite-notifications/index.ts +6 -4
  47. package/templates/branded-lite/tier5-src/himi-branded-lite-notifsettings/index.ts +6 -4
  48. package/templates/branded-lite/tier5-src/himi-branded-lite-order/index.ts +3 -1
  49. package/templates/branded-lite/tier5-src/himi-branded-lite-place-summary/index.ts +12 -1
  50. package/templates/branded-lite/tier5-src/himi-branded-lite-plans/index.ts +13 -1
  51. package/templates/branded-lite/tier5-src/himi-branded-lite-program/index.ts +3 -1
  52. package/templates/branded-lite/tier5-src/himi-branded-lite-reservations/index.ts +6 -4
  53. package/templates/branded-lite/tier5-src/himi-branded-lite-reserve/index.ts +3 -1
  54. package/templates/branded-lite/tier5-src/himi-branded-lite-wallet/index.ts +3 -1
  55. package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +8 -1
  56. package/templates/branded-lite/tier5-src/himi-events-rsvp/index.ts +7 -4
  57. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +69 -10
  58. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +10 -4
  59. package/templates/community-club/dev/index.ts +40 -21
  60. package/templates/community-club/tier5-src/_shared/collection-service.ts +5 -1
  61. package/templates/community-club/tier5-src/_shared/online-actions.ts +76 -0
  62. package/templates/community-club/tier5-src/himi-branded-lite-feed/index.ts +3 -1
  63. package/templates/community-club/tier5-src/himi-branded-lite-group/index.ts +3 -1
  64. package/templates/community-club/tier5-src/himi-events-detail/index.ts +8 -1
  65. package/templates/community-club/tier5-src/himi-events-rsvp/index.ts +7 -4
  66. package/templates/community-club/tier5-src/himi-store-account/index.ts +69 -10
  67. package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +5 -1
  68. package/templates/community-club-owner/tier5-src/_shared/online-actions.ts +76 -0
  69. package/templates/events-meetups/dev/index.ts +36 -19
  70. package/templates/events-meetups/tier5-src/_shared/collection-service.ts +5 -1
  71. package/templates/events-meetups/tier5-src/_shared/online-actions.ts +76 -0
  72. package/templates/events-meetups/tier5-src/himi-branded-lite-feed/index.ts +3 -1
  73. package/templates/events-meetups/tier5-src/himi-branded-lite-group/index.ts +3 -1
  74. package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +8 -1
  75. package/templates/events-meetups/tier5-src/himi-events-rsvp/index.ts +7 -4
  76. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +69 -10
  77. package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +5 -1
  78. package/templates/events-meetups-owner/tier5-src/_shared/online-actions.ts +76 -0
  79. package/templates/gym-fitness/dev/index.ts +1944 -645
  80. package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +5 -1
  81. package/templates/gym-fitness/tier5-src/_shared/online-actions.ts +76 -0
  82. package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +1 -0
  83. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +803 -284
  84. package/templates/gym-fitness/tier5-src/himi-branded-lite-address/index.ts +3 -1
  85. package/templates/gym-fitness/tier5-src/himi-branded-lite-addresses/index.ts +3 -1
  86. package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +9 -1
  87. package/templates/gym-fitness/tier5-src/himi-branded-lite-cart/index.ts +3 -0
  88. package/templates/gym-fitness/tier5-src/himi-branded-lite-order/index.ts +3 -1
  89. package/templates/gym-fitness/tier5-src/himi-branded-lite-place-summary/index.ts +12 -1
  90. package/templates/gym-fitness/tier5-src/himi-branded-lite-plans/index.ts +13 -1
  91. package/templates/gym-fitness/tier5-src/himi-branded-lite-wallet/index.ts +3 -1
  92. package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +8 -1
  93. package/templates/gym-fitness/tier5-src/himi-events-rsvp/index.ts +7 -4
  94. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +69 -10
  95. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +10 -4
  96. package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +5 -1
  97. package/templates/gym-fitness-owner/tier5-src/_shared/online-actions.ts +76 -0
  98. package/templates/nonprofit-cause/dev/index.ts +47 -29
  99. package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +5 -1
  100. package/templates/nonprofit-cause/tier5-src/_shared/online-actions.ts +76 -0
  101. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-feed/index.ts +3 -1
  102. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-group/index.ts +3 -1
  103. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-place-summary/index.ts +12 -1
  104. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-plans/index.ts +13 -1
  105. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-wallet/index.ts +3 -1
  106. package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +8 -1
  107. package/templates/nonprofit-cause/tier5-src/himi-events-rsvp/index.ts +7 -4
  108. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +69 -10
  109. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +5 -1
  110. package/templates/nonprofit-cause-owner/tier5-src/_shared/online-actions.ts +76 -0
  111. package/templates/owner-lite/tier5-src/_shared/collection-service.ts +5 -1
  112. package/templates/owner-lite/tier5-src/_shared/online-actions.ts +76 -0
  113. package/templates/podcast-creator/dev/index.ts +47 -29
  114. package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +5 -1
  115. package/templates/podcast-creator/tier5-src/_shared/online-actions.ts +76 -0
  116. package/templates/podcast-creator/tier5-src/himi-branded-lite-feed/index.ts +3 -1
  117. package/templates/podcast-creator/tier5-src/himi-branded-lite-place-summary/index.ts +12 -1
  118. package/templates/podcast-creator/tier5-src/himi-branded-lite-plans/index.ts +13 -1
  119. package/templates/podcast-creator/tier5-src/himi-branded-lite-wallet/index.ts +3 -1
  120. package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +8 -1
  121. package/templates/podcast-creator/tier5-src/himi-events-rsvp/index.ts +7 -4
  122. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +69 -10
  123. package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +5 -1
  124. package/templates/podcast-creator-owner/tier5-src/_shared/online-actions.ts +76 -0
  125. package/templates/portfolio-creative/dev/index.ts +52 -27
  126. package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +5 -1
  127. package/templates/portfolio-creative/tier5-src/_shared/online-actions.ts +76 -0
  128. package/templates/portfolio-creative/tier5-src/himi-branded-lite-address/index.ts +3 -1
  129. package/templates/portfolio-creative/tier5-src/himi-branded-lite-addresses/index.ts +3 -1
  130. package/templates/portfolio-creative/tier5-src/himi-branded-lite-cart/index.ts +3 -0
  131. package/templates/portfolio-creative/tier5-src/himi-branded-lite-order/index.ts +3 -1
  132. package/templates/portfolio-creative/tier5-src/himi-branded-lite-wallet/index.ts +3 -1
  133. package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +8 -1
  134. package/templates/portfolio-creative/tier5-src/himi-events-rsvp/index.ts +7 -4
  135. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +69 -10
  136. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +10 -4
  137. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +5 -1
  138. package/templates/portfolio-creative-owner/tier5-src/_shared/online-actions.ts +76 -0
  139. package/templates/restaurant/dev/index.ts +48 -25
  140. package/templates/restaurant/tier5-src/_shared/collection-service.ts +5 -1
  141. package/templates/restaurant/tier5-src/_shared/online-actions.ts +76 -0
  142. package/templates/restaurant/tier5-src/himi-branded-lite-address/index.ts +3 -1
  143. package/templates/restaurant/tier5-src/himi-branded-lite-addresses/index.ts +3 -1
  144. package/templates/restaurant/tier5-src/himi-branded-lite-reserve/index.ts +3 -1
  145. package/templates/restaurant/tier5-src/himi-branded-lite-wallet/index.ts +3 -1
  146. package/templates/restaurant/tier5-src/himi-events-detail/index.ts +8 -1
  147. package/templates/restaurant/tier5-src/himi-events-rsvp/index.ts +7 -4
  148. package/templates/restaurant/tier5-src/himi-store-account/index.ts +69 -10
  149. package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +5 -1
  150. package/templates/restaurant-owner/tier5-src/_shared/online-actions.ts +76 -0
  151. package/templates/retail-store/dev/index.ts +44 -23
  152. package/templates/retail-store/tier5-src/_shared/collection-service.ts +5 -1
  153. package/templates/retail-store/tier5-src/_shared/online-actions.ts +76 -0
  154. package/templates/retail-store/tier5-src/himi-branded-lite-address/index.ts +3 -1
  155. package/templates/retail-store/tier5-src/himi-branded-lite-addresses/index.ts +3 -1
  156. package/templates/retail-store/tier5-src/himi-branded-lite-cart/index.ts +3 -0
  157. package/templates/retail-store/tier5-src/himi-branded-lite-order/index.ts +3 -1
  158. package/templates/retail-store/tier5-src/himi-branded-lite-wallet/index.ts +3 -1
  159. package/templates/retail-store/tier5-src/himi-store-account/index.ts +69 -10
  160. package/templates/retail-store/tier5-src/himi-store-product/index.ts +10 -4
  161. package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +5 -1
  162. package/templates/retail-store-owner/tier5-src/_shared/online-actions.ts +76 -0
  163. package/templates/yoga-studio/dev/index.ts +2102 -811
  164. package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +5 -1
  165. package/templates/yoga-studio/tier5-src/_shared/online-actions.ts +76 -0
  166. package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +1 -0
  167. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +803 -284
  168. package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +9 -1
  169. package/templates/yoga-studio/tier5-src/himi-branded-lite-place-summary/index.ts +12 -1
  170. package/templates/yoga-studio/tier5-src/himi-branded-lite-plans/index.ts +13 -1
  171. package/templates/yoga-studio/tier5-src/himi-branded-lite-program/index.ts +3 -1
  172. package/templates/yoga-studio/tier5-src/himi-branded-lite-wallet/index.ts +3 -1
  173. package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +8 -1
  174. package/templates/yoga-studio/tier5-src/himi-events-rsvp/index.ts +7 -4
  175. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +69 -10
  176. package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +5 -1
  177. package/templates/yoga-studio-owner/tier5-src/_shared/online-actions.ts +76 -0
@@ -2489,8 +2489,10 @@ const SCREENS = runtimeSetting({
2489
2489
  "actionId": "himi.open",
2490
2490
  "params": {
2491
2491
  "screenId": "himi_sign_in",
2492
- "mode": "signin"
2493
- }
2492
+ "mode": "signin",
2493
+ "modal": "1"
2494
+ },
2495
+ "presentation": "sheet"
2494
2496
  }
2495
2497
  }
2496
2498
  }
@@ -2508,8 +2510,10 @@ const SCREENS = runtimeSetting({
2508
2510
  "actionId": "himi.open",
2509
2511
  "params": {
2510
2512
  "screenId": "himi_sign_in",
2511
- "mode": "register"
2512
- }
2513
+ "mode": "register",
2514
+ "modal": "1"
2515
+ },
2516
+ "presentation": "sheet"
2513
2517
  }
2514
2518
  }
2515
2519
  }
@@ -3710,6 +3714,8 @@ const SCREENS = runtimeSetting({
3710
3714
  "memberAccountLinks": "1",
3711
3715
  "restorePurchases": "1",
3712
3716
  "signInScreen": "himi_sign_in",
3717
+ "signInPresentation": "sheet",
3718
+ "signInReturnTab": "profile",
3713
3719
  "pollIdentity": "1",
3714
3720
  "copy": "{\"account.subtitle\":\"Bookings, RSVPs, memberships, programs and saved content in one place.\",\"storeAccount.authBody\":\"Sign in to continue — bookings, RSVPs, memberships and programs stay with you.\",\"storeAccount.authBodyRegister\":\"Create a member account to continue — bookings, RSVPs, memberships and programs stay with you.\"}"
3715
3721
  }
@@ -3965,8 +3971,10 @@ const SCREENS = runtimeSetting({
3965
3971
  "params": {
3966
3972
  "screenId": "himi_sign_in",
3967
3973
  "mode": "signin",
3968
- "returnScreenId": "himi_account_settings"
3969
- }
3974
+ "returnScreenId": "himi_account_settings",
3975
+ "modal": "1"
3976
+ },
3977
+ "presentation": "sheet"
3970
3978
  }
3971
3979
  }
3972
3980
  },
@@ -5876,8 +5884,7 @@ const SCREENS = runtimeSetting({
5876
5884
  "style": "primary",
5877
5885
  "fullWidth": true,
5878
5886
  "action": {
5879
- "actionId": "nav.back",
5880
- "presentation": "back"
5887
+ "actionId": "tier5.himiStoreAccount.leave"
5881
5888
  }
5882
5889
  }
5883
5890
  }
@@ -5918,7 +5925,7 @@ const SCREENS = runtimeSetting({
5918
5925
  "declaredCapabilities": [
5919
5926
  "wix_api"
5920
5927
  ],
5921
- "minBinaryVersion": "0.2.0",
5928
+ "minBinaryVersion": "1.7.0",
5922
5929
  "bundleVersion": "0.0.1"
5923
5930
  }
5924
5931
  },
@@ -6785,8 +6792,10 @@ const SCREENS = runtimeSetting({
6785
6792
  "screenId": "himi_sign_in",
6786
6793
  "mode": "signin",
6787
6794
  "intent": "profile",
6788
- "returnScreenId": "himi_view_profile"
6789
- }
6795
+ "returnScreenId": "himi_view_profile",
6796
+ "modal": "1"
6797
+ },
6798
+ "presentation": "sheet"
6790
6799
  }
6791
6800
  }
6792
6801
  }
@@ -7851,8 +7860,10 @@ const SCREENS = runtimeSetting({
7851
7860
  "screenId": "himi_sign_in",
7852
7861
  "mode": "signin",
7853
7862
  "intent": "wallet",
7854
- "returnScreenId": "himi_wallet"
7855
- }
7863
+ "returnScreenId": "himi_wallet",
7864
+ "modal": "1"
7865
+ },
7866
+ "presentation": "sheet"
7856
7867
  }
7857
7868
  }
7858
7869
  }
@@ -8320,11 +8331,7 @@ const SCREENS = runtimeSetting({
8320
8331
  "size": "sm",
8321
8332
  "fullWidth": true,
8322
8333
  "action": {
8323
- "actionId": "himi.open",
8324
- "params": {
8325
- "screenId": "$service:himiPlaceSummary.ctaScreenId",
8326
- "mode": "$service:himiPlaceSummary.ctaMode"
8327
- }
8334
+ "actionId": "tier5.himiPlaceSummary.openCta"
8328
8335
  }
8329
8336
  }
8330
8337
  },
@@ -8365,7 +8372,8 @@ const SCREENS = runtimeSetting({
8365
8372
  "onAppear": {
8366
8373
  "actionId": "tier5.himiPlaceSummary.load",
8367
8374
  "params": {
8368
- "verticals": "[\"bookings\",\"programs\",\"plans\",\"events\",\"blog\"]"
8375
+ "verticals": "[\"bookings\",\"programs\",\"plans\",\"events\",\"blog\"]",
8376
+ "signInPresentation": "sheet"
8369
8377
  }
8370
8378
  }
8371
8379
  }
@@ -11638,8 +11646,10 @@ const SCREENS = runtimeSetting({
11638
11646
  "params": {
11639
11647
  "screenId": "himi_sign_in",
11640
11648
  "mode": "signin",
11641
- "returnScreenId": "himi_bookings"
11642
- }
11649
+ "returnScreenId": "himi_bookings",
11650
+ "modal": "1"
11651
+ },
11652
+ "presentation": "sheet"
11643
11653
  }
11644
11654
  }
11645
11655
  }
@@ -15026,7 +15036,8 @@ const SCREENS = runtimeSetting({
15026
15036
  "onAppear": {
15027
15037
  "actionId": "tier5.himiBrandedAgenda.load",
15028
15038
  "params": {
15029
- "firstWeekday": "0"
15039
+ "firstWeekday": "0",
15040
+ "signInPresentation": "sheet"
15030
15041
  }
15031
15042
  }
15032
15043
  }
@@ -20695,8 +20706,10 @@ const SCREENS = runtimeSetting({
20695
20706
  "actionId": "himi.open",
20696
20707
  "params": {
20697
20708
  "screenId": "himi_sign_in",
20698
- "mode": "signin"
20699
- }
20709
+ "mode": "signin",
20710
+ "modal": "1"
20711
+ },
20712
+ "presentation": "sheet"
20700
20713
  }
20701
20714
  }
20702
20715
  },
@@ -21081,8 +21094,10 @@ const SCREENS = runtimeSetting({
21081
21094
  "screenId": "himi_sign_in",
21082
21095
  "mode": "signin",
21083
21096
  "intent": "post",
21084
- "returnScreenId": "himi_create_post"
21085
- }
21097
+ "returnScreenId": "himi_create_post",
21098
+ "modal": "1"
21099
+ },
21100
+ "presentation": "sheet"
21086
21101
  }
21087
21102
  }
21088
21103
  }
@@ -30471,251 +30486,468 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30471
30486
  "package": "himalaya",
30472
30487
  "type": "VStack",
30473
30488
  "props": {
30474
- "spacing": 16,
30489
+ "spacing": 0,
30475
30490
  "alignment": "leading",
30476
30491
  "children": [
30477
30492
  {
30478
- "id": "himi_time.retry.block",
30493
+ "id": "himi_time.location_sheet",
30479
30494
  "body": {
30480
30495
  "package": "himalaya",
30481
- "type": "VStack",
30496
+ "type": "BottomSheet",
30482
30497
  "props": {
30483
- "spacing": 12,
30484
- "alignment": "leading",
30485
- "children": [
30486
- {
30487
- "id": "",
30488
- "body": {
30489
- "package": "himalaya",
30490
- "type": "HStack",
30491
- "props": {
30492
- "spacing": 10,
30493
- "children": [
30494
- {
30495
- "id": "",
30496
- "body": {
30497
- "package": "himalaya",
30498
- "type": "Icon",
30499
- "props": {
30500
- "name": "warning",
30501
- "size": 18,
30502
- "tint": "accentPrimary"
30503
- }
30504
- },
30505
- "modifiers": {
30506
- "accessibilityRole": "decorative"
30498
+ "presentedPath": "$service:himiBookingTime.locationSheetOpen",
30499
+ "dismissible": true,
30500
+ "showGrabber": true,
30501
+ "onDismiss": {
30502
+ "actionId": "tier5.himiBookingTime.closeLocations"
30503
+ },
30504
+ "content": {
30505
+ "id": "",
30506
+ "body": {
30507
+ "package": "himalaya",
30508
+ "type": "VStack",
30509
+ "props": {
30510
+ "spacing": 8,
30511
+ "alignment": "leading",
30512
+ "children": [
30513
+ {
30514
+ "id": "",
30515
+ "body": {
30516
+ "package": "himalaya",
30517
+ "type": "Text",
30518
+ "props": {
30519
+ "text": "Choose a location",
30520
+ "style": "title3"
30507
30521
  }
30508
- },
30509
- {
30510
- "id": "",
30511
- "body": {
30512
- "package": "himalaya",
30513
- "type": "Text",
30514
- "props": {
30515
- "text": "Something did not load.",
30516
- "style": "bodyEmphasis"
30517
- }
30522
+ }
30523
+ },
30524
+ {
30525
+ "id": "himi_time.location_options",
30526
+ "body": {
30527
+ "package": "himalaya",
30528
+ "type": "Grid",
30529
+ "props": {
30530
+ "columns": 1,
30531
+ "spacing": 0,
30532
+ "itemsPath": "$service:himiBookingTime.locationOptions",
30533
+ "items": [
30534
+ {
30535
+ "id": "",
30536
+ "body": {
30537
+ "package": "himalaya",
30538
+ "type": "VStack",
30539
+ "props": {
30540
+ "spacing": 0,
30541
+ "children": [
30542
+ {
30543
+ "id": "",
30544
+ "body": {
30545
+ "package": "himalaya",
30546
+ "type": "HStack",
30547
+ "props": {
30548
+ "spacing": 12,
30549
+ "alignment": "center",
30550
+ "children": [
30551
+ {
30552
+ "id": "",
30553
+ "body": {
30554
+ "package": "himalaya",
30555
+ "type": "VStack",
30556
+ "props": {
30557
+ "spacing": 2,
30558
+ "alignment": "leading",
30559
+ "children": [
30560
+ {
30561
+ "id": "",
30562
+ "body": {
30563
+ "package": "himalaya",
30564
+ "type": "Text",
30565
+ "props": {
30566
+ "text": "$item.label",
30567
+ "style": "body",
30568
+ "maxLines": 2
30569
+ }
30570
+ }
30571
+ },
30572
+ {
30573
+ "id": "",
30574
+ "body": {
30575
+ "package": "himalaya",
30576
+ "type": "Text",
30577
+ "props": {
30578
+ "text": "$item.sub",
30579
+ "style": "caption",
30580
+ "color": "textSecondary",
30581
+ "maxLines": 2
30582
+ }
30583
+ },
30584
+ "modifiers": {
30585
+ "hiddenPath": "$item.noSub"
30586
+ }
30587
+ }
30588
+ ]
30589
+ }
30590
+ }
30591
+ },
30592
+ {
30593
+ "id": "",
30594
+ "body": {
30595
+ "package": "himalaya",
30596
+ "type": "Spacer",
30597
+ "props": {}
30598
+ }
30599
+ },
30600
+ {
30601
+ "id": "",
30602
+ "body": {
30603
+ "package": "himalaya",
30604
+ "type": "Icon",
30605
+ "props": {
30606
+ "name": "check",
30607
+ "size": 20,
30608
+ "tint": "accentPrimary"
30609
+ }
30610
+ },
30611
+ "modifiers": {
30612
+ "accessibilityRole": "decorative",
30613
+ "hiddenPath": "$item.notSelected"
30614
+ }
30615
+ }
30616
+ ]
30617
+ }
30618
+ },
30619
+ "modifiers": {
30620
+ "fillMaxWidth": true,
30621
+ "padding": {
30622
+ "top": 15,
30623
+ "bottom": 15
30624
+ }
30625
+ }
30626
+ },
30627
+ {
30628
+ "id": "",
30629
+ "body": {
30630
+ "package": "himalaya",
30631
+ "type": "Divider",
30632
+ "props": {}
30633
+ }
30634
+ }
30635
+ ]
30636
+ }
30637
+ },
30638
+ "modifiers": {
30639
+ "fillMaxWidth": true,
30640
+ "onTap": {
30641
+ "actionId": "tier5.himiBookingTime.selectLocation",
30642
+ "params": {
30643
+ "locationId": "$item.id"
30644
+ }
30645
+ },
30646
+ "pressFeedback": "highlight",
30647
+ "accessibilityRole": "button",
30648
+ "accessibilityLabel": "$item.a11y"
30649
+ }
30650
+ }
30651
+ ]
30518
30652
  }
30519
30653
  }
30520
- ]
30521
- }
30522
- }
30523
- },
30524
- {
30525
- "id": "",
30526
- "body": {
30527
- "package": "himalaya",
30528
- "type": "Text",
30529
- "props": {
30530
- "text": "Try again when the connection settles.",
30531
- "style": "body",
30532
- "color": "textSecondary"
30533
- }
30654
+ }
30655
+ ]
30534
30656
  }
30535
30657
  },
30536
- {
30537
- "id": "himi_time.retry",
30538
- "body": {
30539
- "package": "himalaya",
30540
- "type": "Button",
30541
- "props": {
30542
- "title": "Try again",
30543
- "style": "secondary",
30544
- "action": {
30545
- "actionId": "tier5.himiBookingTime.load"
30546
- }
30547
- }
30658
+ "modifiers": {
30659
+ "padding": {
30660
+ "leading": 20,
30661
+ "trailing": 20,
30662
+ "top": 8,
30663
+ "bottom": 24
30548
30664
  }
30549
30665
  }
30550
- ]
30551
- }
30552
- },
30553
- "modifiers": {
30554
- "background": {
30555
- "token": "surfaceElevated"
30556
- },
30557
- "border": {
30558
- "width": 1,
30559
- "color": {
30560
- "token": "border"
30561
30666
  }
30562
- },
30563
- "cornerRadius": 8,
30564
- "padding": {
30565
- "leading": 14,
30566
- "trailing": 14,
30567
- "top": 14,
30568
- "bottom": 14
30569
- },
30570
- "transition": {
30571
- "enter": "fade",
30572
- "exit": "fade"
30573
- },
30574
- "hiddenPath": "$service:himiBookingTime.notErrored"
30667
+ }
30575
30668
  }
30576
30669
  },
30577
30670
  {
30578
- "id": "",
30671
+ "id": "himi_time.result",
30579
30672
  "body": {
30580
30673
  "package": "himalaya",
30581
- "type": "VStack",
30674
+ "type": "BottomSheet",
30582
30675
  "props": {
30583
- "spacing": 10,
30584
- "children": [
30585
- {
30586
- "id": "himi_time.skeleton_1",
30587
- "body": {
30588
- "package": "himalaya",
30589
- "type": "Skeleton",
30590
- "props": {
30591
- "height": 64,
30592
- "cornerRadius": 8
30593
- }
30594
- },
30595
- "modifiers": {
30596
- "height": 64,
30597
- "background": {
30598
- "token": "surfaceSecondary"
30599
- },
30600
- "cornerRadius": 8,
30601
- "accessibilityRole": "decorative"
30676
+ "presentedPath": "$service:himiBookingTime.resultSticky",
30677
+ "modal": false,
30678
+ "placement": "inline",
30679
+ "showGrabber": false,
30680
+ "label": "$service:himiBookingTime.resultText",
30681
+ "onDismiss": {
30682
+ "actionId": "tier5.himiBookingTime.closeResult"
30683
+ },
30684
+ "content": {
30685
+ "id": "",
30686
+ "body": {
30687
+ "package": "himalaya",
30688
+ "type": "VStack",
30689
+ "props": {
30690
+ "spacing": 12,
30691
+ "alignment": "leading",
30692
+ "children": [
30693
+ {
30694
+ "id": "",
30695
+ "body": {
30696
+ "package": "himalaya",
30697
+ "type": "HStack",
30698
+ "props": {
30699
+ "spacing": 12,
30700
+ "alignment": "center",
30701
+ "children": [
30702
+ {
30703
+ "id": "",
30704
+ "body": {
30705
+ "package": "himalaya",
30706
+ "type": "Icon",
30707
+ "props": {
30708
+ "name": "check",
30709
+ "size": 24,
30710
+ "tint": "accentPrimary"
30711
+ }
30712
+ },
30713
+ "modifiers": {
30714
+ "accessibilityRole": "decorative"
30715
+ }
30716
+ },
30717
+ {
30718
+ "id": "",
30719
+ "body": {
30720
+ "package": "himalaya",
30721
+ "type": "Text",
30722
+ "props": {
30723
+ "text": "$service:himiBookingTime.resultText",
30724
+ "style": "body",
30725
+ "maxLines": 4
30726
+ }
30727
+ }
30728
+ },
30729
+ {
30730
+ "id": "",
30731
+ "body": {
30732
+ "package": "himalaya",
30733
+ "type": "Spacer",
30734
+ "props": {}
30735
+ }
30736
+ },
30737
+ {
30738
+ "id": "",
30739
+ "body": {
30740
+ "package": "himalaya",
30741
+ "type": "Icon",
30742
+ "props": {
30743
+ "name": "close",
30744
+ "size": 20,
30745
+ "tint": "textSecondary"
30746
+ }
30747
+ },
30748
+ "modifiers": {
30749
+ "accessibilityRole": "button",
30750
+ "onTap": {
30751
+ "actionId": "tier5.himiBookingTime.closeResult"
30752
+ },
30753
+ "accessibilityLabel": "Close",
30754
+ "padding": {
30755
+ "top": 4,
30756
+ "bottom": 4,
30757
+ "leading": 4,
30758
+ "trailing": 4
30759
+ }
30760
+ }
30761
+ }
30762
+ ]
30763
+ }
30764
+ }
30765
+ },
30766
+ {
30767
+ "id": "himi_time.result.bookings",
30768
+ "body": {
30769
+ "package": "himalaya",
30770
+ "type": "Button",
30771
+ "props": {
30772
+ "title": "View My Bookings",
30773
+ "style": "secondary",
30774
+ "fullWidth": true,
30775
+ "action": {
30776
+ "actionId": "himi.open",
30777
+ "params": {
30778
+ "screenId": "himi_bookings"
30779
+ }
30780
+ }
30781
+ }
30782
+ }
30783
+ }
30784
+ ]
30602
30785
  }
30603
30786
  },
30604
- {
30605
- "id": "himi_time.skeleton_2",
30606
- "body": {
30607
- "package": "himalaya",
30608
- "type": "Skeleton",
30609
- "props": {
30610
- "height": 64,
30611
- "cornerRadius": 8
30612
- }
30613
- },
30614
- "modifiers": {
30615
- "height": 64,
30616
- "background": {
30617
- "token": "surfaceSecondary"
30618
- },
30619
- "cornerRadius": 8,
30620
- "accessibilityRole": "decorative"
30787
+ "modifiers": {
30788
+ "padding": {
30789
+ "leading": 16,
30790
+ "trailing": 16,
30791
+ "top": 16,
30792
+ "bottom": 16
30793
+ }
30794
+ }
30795
+ }
30796
+ }
30797
+ }
30798
+ },
30799
+ {
30800
+ "id": "himi_time.result_info",
30801
+ "body": {
30802
+ "package": "himalaya",
30803
+ "type": "BottomSheet",
30804
+ "props": {
30805
+ "presentedPath": "$service:himiBookingTime.resultAuto",
30806
+ "modal": false,
30807
+ "placement": "inline",
30808
+ "showGrabber": false,
30809
+ "autoDismissMs": 8000,
30810
+ "label": "$service:himiBookingTime.resultText",
30811
+ "onDismiss": {
30812
+ "actionId": "tier5.himiBookingTime.closeResult"
30813
+ },
30814
+ "content": {
30815
+ "id": "",
30816
+ "body": {
30817
+ "package": "himalaya",
30818
+ "type": "VStack",
30819
+ "props": {
30820
+ "spacing": 12,
30821
+ "alignment": "leading",
30822
+ "children": [
30823
+ {
30824
+ "id": "",
30825
+ "body": {
30826
+ "package": "himalaya",
30827
+ "type": "HStack",
30828
+ "props": {
30829
+ "spacing": 12,
30830
+ "alignment": "center",
30831
+ "children": [
30832
+ {
30833
+ "id": "",
30834
+ "body": {
30835
+ "package": "himalaya",
30836
+ "type": "Icon",
30837
+ "props": {
30838
+ "name": "info",
30839
+ "size": 24,
30840
+ "tint": "accentPrimary"
30841
+ }
30842
+ },
30843
+ "modifiers": {
30844
+ "accessibilityRole": "decorative"
30845
+ }
30846
+ },
30847
+ {
30848
+ "id": "",
30849
+ "body": {
30850
+ "package": "himalaya",
30851
+ "type": "Text",
30852
+ "props": {
30853
+ "text": "$service:himiBookingTime.resultText",
30854
+ "style": "body",
30855
+ "maxLines": 4
30856
+ }
30857
+ }
30858
+ },
30859
+ {
30860
+ "id": "",
30861
+ "body": {
30862
+ "package": "himalaya",
30863
+ "type": "Spacer",
30864
+ "props": {}
30865
+ }
30866
+ },
30867
+ {
30868
+ "id": "",
30869
+ "body": {
30870
+ "package": "himalaya",
30871
+ "type": "Icon",
30872
+ "props": {
30873
+ "name": "close",
30874
+ "size": 20,
30875
+ "tint": "textSecondary"
30876
+ }
30877
+ },
30878
+ "modifiers": {
30879
+ "accessibilityRole": "button",
30880
+ "onTap": {
30881
+ "actionId": "tier5.himiBookingTime.closeResult"
30882
+ },
30883
+ "accessibilityLabel": "Close",
30884
+ "padding": {
30885
+ "top": 4,
30886
+ "bottom": 4,
30887
+ "leading": 4,
30888
+ "trailing": 4
30889
+ }
30890
+ }
30891
+ }
30892
+ ]
30893
+ }
30894
+ }
30895
+ }
30896
+ ]
30621
30897
  }
30622
30898
  },
30623
- {
30624
- "id": "himi_time.skeleton_3",
30625
- "body": {
30626
- "package": "himalaya",
30627
- "type": "Skeleton",
30628
- "props": {
30629
- "height": 64,
30630
- "cornerRadius": 8
30631
- }
30632
- },
30633
- "modifiers": {
30634
- "height": 64,
30635
- "background": {
30636
- "token": "surfaceSecondary"
30637
- },
30638
- "cornerRadius": 8,
30639
- "accessibilityRole": "decorative"
30899
+ "modifiers": {
30900
+ "padding": {
30901
+ "leading": 16,
30902
+ "trailing": 16,
30903
+ "top": 16,
30904
+ "bottom": 16
30640
30905
  }
30641
30906
  }
30642
- ]
30907
+ }
30643
30908
  }
30644
- },
30645
- "modifiers": {
30646
- "hiddenPath": "$service:himiBookingTime.notLoading"
30647
30909
  }
30648
30910
  },
30649
30911
  {
30650
- "id": "",
30912
+ "id": "himi_time.retry.block",
30651
30913
  "body": {
30652
30914
  "package": "himalaya",
30653
30915
  "type": "VStack",
30654
30916
  "props": {
30655
- "spacing": 14,
30917
+ "spacing": 12,
30656
30918
  "alignment": "leading",
30657
30919
  "children": [
30658
30920
  {
30659
- "id": "himi_time.service_header",
30921
+ "id": "",
30660
30922
  "body": {
30661
30923
  "package": "himalaya",
30662
30924
  "type": "HStack",
30663
30925
  "props": {
30664
- "spacing": 12,
30926
+ "spacing": 10,
30665
30927
  "children": [
30666
30928
  {
30667
30929
  "id": "",
30668
30930
  "body": {
30669
30931
  "package": "himalaya",
30670
- "type": "Image",
30932
+ "type": "Icon",
30671
30933
  "props": {
30672
- "url": "$service:himiBookingTime.serviceImage",
30673
- "width": 64,
30674
- "height": 64,
30675
- "contentMode": "fill",
30676
- "contentDescription": "$service:himiBookingTime.serviceName"
30934
+ "name": "warning",
30935
+ "size": 18,
30936
+ "tint": "accentPrimary"
30677
30937
  }
30678
30938
  },
30679
30939
  "modifiers": {
30680
- "cornerRadius": 8,
30681
- "hiddenPath": "$service:himiBookingTime.noServiceImage"
30940
+ "accessibilityRole": "decorative"
30682
30941
  }
30683
30942
  },
30684
30943
  {
30685
30944
  "id": "",
30686
30945
  "body": {
30687
30946
  "package": "himalaya",
30688
- "type": "VStack",
30947
+ "type": "Text",
30689
30948
  "props": {
30690
- "spacing": 4,
30691
- "alignment": "leading",
30692
- "children": [
30693
- {
30694
- "id": "",
30695
- "body": {
30696
- "package": "himalaya",
30697
- "type": "Text",
30698
- "props": {
30699
- "text": "$service:himiBookingTime.serviceName",
30700
- "style": "title2",
30701
- "collapseWhenEmpty": true
30702
- }
30703
- }
30704
- },
30705
- {
30706
- "id": "",
30707
- "body": {
30708
- "package": "himalaya",
30709
- "type": "Text",
30710
- "props": {
30711
- "text": "$service:himiBookingTime.serviceLine",
30712
- "style": "body",
30713
- "color": "textSecondary",
30714
- "collapseWhenEmpty": true
30715
- }
30716
- }
30717
- }
30718
- ]
30949
+ "text": "Something did not load.",
30950
+ "style": "bodyEmphasis"
30719
30951
  }
30720
30952
  }
30721
30953
  }
@@ -30724,352 +30956,1593 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30724
30956
  }
30725
30957
  },
30726
30958
  {
30727
- "id": "himi_time.days",
30959
+ "id": "",
30728
30960
  "body": {
30729
30961
  "package": "himalaya",
30730
- "type": "FilterChips",
30962
+ "type": "Text",
30731
30963
  "props": {
30732
- "chips": [],
30733
- "optionsPath": "$service:himiBookingTime.days",
30734
- "selectedIds": [
30735
- "$service:himiBookingTime.selectedDay"
30736
- ],
30737
- "multiSelect": false,
30738
- "onChange": {
30739
- "actionId": "tier5.himiBookingTime.selectDay"
30740
- }
30964
+ "text": "Try again when the connection settles.",
30965
+ "style": "body",
30966
+ "color": "textSecondary"
30741
30967
  }
30742
- },
30743
- "modifiers": {
30744
- "accessibilityLabel": "Choose a day",
30745
- "hiddenPath": "$service:himiBookingTime.hideDayPicker"
30746
30968
  }
30747
30969
  },
30748
30970
  {
30749
- "id": "himi_time.day_heading",
30971
+ "id": "himi_time.retry",
30750
30972
  "body": {
30751
30973
  "package": "himalaya",
30752
- "type": "Text",
30974
+ "type": "Button",
30753
30975
  "props": {
30754
- "text": "$service:himiBookingTime.selectedDayLabel",
30755
- "style": "title3",
30756
- "maxLines": 1,
30757
- "collapseWhenEmpty": true
30976
+ "title": "Try again",
30977
+ "style": "secondary",
30978
+ "action": {
30979
+ "actionId": "tier5.himiBookingTime.load"
30980
+ }
30758
30981
  }
30759
- },
30760
- "modifiers": {
30761
- "hiddenPath": "$service:himiBookingTime.hideDayPicker"
30762
30982
  }
30763
- },
30983
+ }
30984
+ ]
30985
+ }
30986
+ },
30987
+ "modifiers": {
30988
+ "background": {
30989
+ "token": "surfaceElevated"
30990
+ },
30991
+ "border": {
30992
+ "width": 1,
30993
+ "color": {
30994
+ "token": "border"
30995
+ }
30996
+ },
30997
+ "cornerRadius": 8,
30998
+ "padding": {
30999
+ "leading": 20,
31000
+ "trailing": 20,
31001
+ "top": 18,
31002
+ "bottom": 0
31003
+ },
31004
+ "transition": {
31005
+ "enter": "fade",
31006
+ "exit": "fade"
31007
+ },
31008
+ "hiddenPath": "$service:himiBookingTime.notErrored"
31009
+ }
31010
+ },
31011
+ {
31012
+ "id": "",
31013
+ "body": {
31014
+ "package": "himalaya",
31015
+ "type": "VStack",
31016
+ "props": {
31017
+ "spacing": 18,
31018
+ "alignment": "leading",
31019
+ "children": [
30764
31020
  {
30765
- "id": "himi_time.slots",
31021
+ "id": "",
30766
31022
  "body": {
30767
31023
  "package": "himalaya",
30768
- "type": "Grid",
31024
+ "type": "HStack",
30769
31025
  "props": {
30770
- "columns": 1,
30771
- "spacing": 10,
30772
- "itemsPath": "$service:himiBookingTime.slots",
30773
- "items": [
31026
+ "spacing": 14,
31027
+ "alignment": "center",
31028
+ "children": [
31029
+ {
31030
+ "id": "himi_time.skeleton_image",
31031
+ "body": {
31032
+ "package": "himalaya",
31033
+ "type": "Skeleton",
31034
+ "props": {
31035
+ "height": 56,
31036
+ "cornerRadius": 8
31037
+ }
31038
+ },
31039
+ "modifiers": {
31040
+ "height": 56,
31041
+ "width": 56,
31042
+ "background": {
31043
+ "token": "surfaceSecondary"
31044
+ },
31045
+ "cornerRadius": 8,
31046
+ "accessibilityRole": "decorative"
31047
+ }
31048
+ },
30774
31049
  {
30775
31050
  "id": "",
30776
31051
  "body": {
30777
31052
  "package": "himalaya",
30778
31053
  "type": "VStack",
30779
31054
  "props": {
30780
- "spacing": 0,
31055
+ "spacing": 8,
30781
31056
  "alignment": "leading",
30782
31057
  "children": [
30783
31058
  {
30784
- "id": "",
31059
+ "id": "himi_time.skeleton_name",
30785
31060
  "body": {
30786
31061
  "package": "himalaya",
30787
- "type": "HStack",
31062
+ "type": "Skeleton",
30788
31063
  "props": {
30789
- "spacing": 12,
30790
- "children": [
30791
- {
30792
- "id": "",
30793
- "body": {
30794
- "package": "himalaya",
30795
- "type": "Icon",
30796
- "props": {
30797
- "name": "checkmark",
30798
- "size": 14,
30799
- "tint": "accentPrimary",
30800
- "contentDescription": "Selected"
30801
- }
30802
- },
30803
- "modifiers": {
30804
- "hiddenPath": "$item.notSelected"
30805
- }
30806
- },
30807
- {
30808
- "id": "",
30809
- "body": {
30810
- "package": "himalaya",
30811
- "type": "Icon",
30812
- "props": {
30813
- "name": "circle",
30814
- "size": 14,
30815
- "tint": "textTertiary"
30816
- }
30817
- },
30818
- "modifiers": {
30819
- "accessibilityRole": "decorative",
30820
- "hiddenPath": "$item.selected"
30821
- }
30822
- },
30823
- {
30824
- "id": "",
30825
- "body": {
30826
- "package": "himalaya",
30827
- "type": "VStack",
30828
- "props": {
30829
- "spacing": 4,
30830
- "alignment": "leading",
30831
- "children": [
30832
- {
30833
- "id": "",
30834
- "body": {
30835
- "package": "himalaya",
30836
- "type": "Text",
30837
- "props": {
30838
- "text": "$item.title",
30839
- "style": "bodyEmphasis",
30840
- "maxLines": 1
30841
- }
30842
- }
30843
- },
30844
- {
30845
- "id": "",
30846
- "body": {
30847
- "package": "himalaya",
30848
- "type": "Text",
30849
- "props": {
30850
- "text": "$item.subtitle",
30851
- "style": "footnote",
30852
- "color": "textSecondary",
30853
- "maxLines": 1,
30854
- "collapseWhenEmpty": true
30855
- }
30856
- }
30857
- },
30858
- {
30859
- "id": "",
30860
- "body": {
30861
- "package": "himalaya",
30862
- "type": "Text",
30863
- "props": {
30864
- "text": "$item.badge",
30865
- "style": "caption",
30866
- "color": "warning",
30867
- "collapseWhenEmpty": true
30868
- }
30869
- },
30870
- "modifiers": {
30871
- "hiddenPath": "$item.badgeNeutral"
30872
- }
30873
- },
30874
- {
30875
- "id": "",
30876
- "body": {
30877
- "package": "himalaya",
30878
- "type": "Text",
30879
- "props": {
30880
- "text": "$item.badge",
30881
- "style": "caption",
30882
- "color": "textSecondary",
30883
- "collapseWhenEmpty": true
30884
- }
30885
- },
30886
- "modifiers": {
30887
- "hiddenPath": "$item.badgeWarning"
30888
- }
30889
- }
30890
- ]
30891
- }
30892
- }
30893
- },
30894
- {
30895
- "id": "",
30896
- "body": {
30897
- "package": "himalaya",
30898
- "type": "Spacer",
30899
- "props": {}
30900
- }
30901
- }
30902
- ]
31064
+ "height": 18,
31065
+ "cornerRadius": 8
30903
31066
  }
30904
31067
  },
30905
31068
  "modifiers": {
31069
+ "height": 18,
31070
+ "width": 180,
30906
31071
  "background": {
30907
- "token": "surfaceElevated"
30908
- },
30909
- "border": {
30910
- "width": 1,
30911
- "color": {
30912
- "token": "border"
30913
- }
31072
+ "token": "surfaceSecondary"
30914
31073
  },
30915
31074
  "cornerRadius": 8,
30916
- "padding": {
30917
- "leading": 12,
30918
- "trailing": 12,
30919
- "top": 12,
30920
- "bottom": 12
30921
- },
30922
- "onTap": {
30923
- "actionId": "tier5.himiBookingTime.selectSlot",
30924
- "params": {
30925
- "slotId": "$item.id"
30926
- }
30927
- },
30928
- "pressFeedback": "scale",
30929
- "haptic": "light",
30930
- "hiddenPath": "$item.notSelectable"
31075
+ "accessibilityRole": "decorative"
30931
31076
  }
30932
31077
  },
31078
+ {
31079
+ "id": "himi_time.skeleton_line",
31080
+ "body": {
31081
+ "package": "himalaya",
31082
+ "type": "Skeleton",
31083
+ "props": {
31084
+ "height": 14,
31085
+ "cornerRadius": 8
31086
+ }
31087
+ },
31088
+ "modifiers": {
31089
+ "height": 14,
31090
+ "width": 120,
31091
+ "background": {
31092
+ "token": "surfaceSecondary"
31093
+ },
31094
+ "cornerRadius": 8,
31095
+ "accessibilityRole": "decorative"
31096
+ }
31097
+ }
31098
+ ]
31099
+ }
31100
+ }
31101
+ }
31102
+ ]
31103
+ }
31104
+ }
31105
+ },
31106
+ {
31107
+ "id": "himi_time.skeleton_days",
31108
+ "body": {
31109
+ "package": "himalaya",
31110
+ "type": "Skeleton",
31111
+ "props": {
31112
+ "height": 32,
31113
+ "cornerRadius": 8
31114
+ }
31115
+ },
31116
+ "modifiers": {
31117
+ "height": 32,
31118
+ "fillMaxWidth": true,
31119
+ "background": {
31120
+ "token": "surfaceSecondary"
31121
+ },
31122
+ "cornerRadius": 8,
31123
+ "accessibilityRole": "decorative"
31124
+ }
31125
+ },
31126
+ {
31127
+ "id": "",
31128
+ "body": {
31129
+ "package": "himalaya",
31130
+ "type": "Divider",
31131
+ "props": {}
31132
+ }
31133
+ },
31134
+ {
31135
+ "id": "himi_time.skeleton_day",
31136
+ "body": {
31137
+ "package": "himalaya",
31138
+ "type": "Skeleton",
31139
+ "props": {
31140
+ "height": 16,
31141
+ "cornerRadius": 8
31142
+ }
31143
+ },
31144
+ "modifiers": {
31145
+ "height": 16,
31146
+ "width": 100,
31147
+ "background": {
31148
+ "token": "surfaceSecondary"
31149
+ },
31150
+ "cornerRadius": 8,
31151
+ "accessibilityRole": "decorative"
31152
+ }
31153
+ },
31154
+ {
31155
+ "id": "",
31156
+ "body": {
31157
+ "package": "himalaya",
31158
+ "type": "HStack",
31159
+ "props": {
31160
+ "spacing": 10,
31161
+ "alignment": "center",
31162
+ "children": [
31163
+ {
31164
+ "id": "himi_time.skeleton_avatar",
31165
+ "body": {
31166
+ "package": "himalaya",
31167
+ "type": "Skeleton",
31168
+ "props": {
31169
+ "height": 26,
31170
+ "cornerRadius": 13
31171
+ }
31172
+ },
31173
+ "modifiers": {
31174
+ "height": 26,
31175
+ "width": 26,
31176
+ "background": {
31177
+ "token": "surfaceSecondary"
31178
+ },
31179
+ "cornerRadius": 13,
31180
+ "accessibilityRole": "decorative"
31181
+ }
31182
+ },
31183
+ {
31184
+ "id": "himi_time.skeleton_staff",
31185
+ "body": {
31186
+ "package": "himalaya",
31187
+ "type": "Skeleton",
31188
+ "props": {
31189
+ "height": 16,
31190
+ "cornerRadius": 8
31191
+ }
31192
+ },
31193
+ "modifiers": {
31194
+ "height": 16,
31195
+ "width": 120,
31196
+ "background": {
31197
+ "token": "surfaceSecondary"
31198
+ },
31199
+ "cornerRadius": 8,
31200
+ "accessibilityRole": "decorative"
31201
+ }
31202
+ }
31203
+ ]
31204
+ }
31205
+ }
31206
+ },
31207
+ {
31208
+ "id": "",
31209
+ "body": {
31210
+ "package": "himalaya",
31211
+ "type": "HStack",
31212
+ "props": {
31213
+ "spacing": 12,
31214
+ "children": [
31215
+ {
31216
+ "id": "himi_time.skeleton_pill_1",
31217
+ "body": {
31218
+ "package": "himalaya",
31219
+ "type": "Skeleton",
31220
+ "props": {
31221
+ "height": 44,
31222
+ "cornerRadius": 22
31223
+ }
31224
+ },
31225
+ "modifiers": {
31226
+ "height": 44,
31227
+ "fillMaxWidth": true,
31228
+ "background": {
31229
+ "token": "surfaceSecondary"
31230
+ },
31231
+ "cornerRadius": 22,
31232
+ "accessibilityRole": "decorative"
31233
+ }
31234
+ },
31235
+ {
31236
+ "id": "himi_time.skeleton_pill_2",
31237
+ "body": {
31238
+ "package": "himalaya",
31239
+ "type": "Skeleton",
31240
+ "props": {
31241
+ "height": 44,
31242
+ "cornerRadius": 22
31243
+ }
31244
+ },
31245
+ "modifiers": {
31246
+ "height": 44,
31247
+ "fillMaxWidth": true,
31248
+ "background": {
31249
+ "token": "surfaceSecondary"
31250
+ },
31251
+ "cornerRadius": 22,
31252
+ "accessibilityRole": "decorative"
31253
+ }
31254
+ }
31255
+ ]
31256
+ }
31257
+ }
31258
+ },
31259
+ {
31260
+ "id": "",
31261
+ "body": {
31262
+ "package": "himalaya",
31263
+ "type": "HStack",
31264
+ "props": {
31265
+ "spacing": 12,
31266
+ "children": [
31267
+ {
31268
+ "id": "himi_time.skeleton_pill_3",
31269
+ "body": {
31270
+ "package": "himalaya",
31271
+ "type": "Skeleton",
31272
+ "props": {
31273
+ "height": 44,
31274
+ "cornerRadius": 22
31275
+ }
31276
+ },
31277
+ "modifiers": {
31278
+ "height": 44,
31279
+ "fillMaxWidth": true,
31280
+ "background": {
31281
+ "token": "surfaceSecondary"
31282
+ },
31283
+ "cornerRadius": 22,
31284
+ "accessibilityRole": "decorative"
31285
+ }
31286
+ },
31287
+ {
31288
+ "id": "himi_time.skeleton_pill_4",
31289
+ "body": {
31290
+ "package": "himalaya",
31291
+ "type": "Skeleton",
31292
+ "props": {
31293
+ "height": 44,
31294
+ "cornerRadius": 22
31295
+ }
31296
+ },
31297
+ "modifiers": {
31298
+ "height": 44,
31299
+ "fillMaxWidth": true,
31300
+ "background": {
31301
+ "token": "surfaceSecondary"
31302
+ },
31303
+ "cornerRadius": 22,
31304
+ "accessibilityRole": "decorative"
31305
+ }
31306
+ }
31307
+ ]
31308
+ }
31309
+ }
31310
+ }
31311
+ ]
31312
+ }
31313
+ },
31314
+ "modifiers": {
31315
+ "fillMaxWidth": true,
31316
+ "padding": {
31317
+ "leading": 20,
31318
+ "trailing": 20,
31319
+ "top": 18,
31320
+ "bottom": 0
31321
+ },
31322
+ "hiddenPath": "$service:himiBookingTime.notLoading"
31323
+ }
31324
+ },
31325
+ {
31326
+ "id": "",
31327
+ "body": {
31328
+ "package": "himalaya",
31329
+ "type": "VStack",
31330
+ "props": {
31331
+ "spacing": 0,
31332
+ "alignment": "leading",
31333
+ "children": [
31334
+ {
31335
+ "id": "himi_time.service_header",
31336
+ "body": {
31337
+ "package": "himalaya",
31338
+ "type": "HStack",
31339
+ "props": {
31340
+ "spacing": 14,
31341
+ "alignment": "center",
31342
+ "children": [
31343
+ {
31344
+ "id": "",
31345
+ "body": {
31346
+ "package": "himalaya",
31347
+ "type": "Image",
31348
+ "props": {
31349
+ "url": "$service:himiBookingTime.serviceImage",
31350
+ "width": 56,
31351
+ "height": 56,
31352
+ "contentMode": "fill",
31353
+ "contentDescription": "$service:himiBookingTime.serviceName"
31354
+ }
31355
+ },
31356
+ "modifiers": {
31357
+ "cornerRadius": 8,
31358
+ "hiddenPath": "$service:himiBookingTime.noServiceImage"
31359
+ }
31360
+ },
31361
+ {
31362
+ "id": "",
31363
+ "body": {
31364
+ "package": "himalaya",
31365
+ "type": "ZStack",
31366
+ "props": {
31367
+ "alignment": "center",
31368
+ "children": [
31369
+ {
31370
+ "id": "",
31371
+ "body": {
31372
+ "package": "himalaya",
31373
+ "type": "Icon",
31374
+ "props": {
31375
+ "name": "image",
31376
+ "size": 24,
31377
+ "tint": "accentPrimary"
31378
+ }
31379
+ },
31380
+ "modifiers": {
31381
+ "accessibilityRole": "decorative"
31382
+ }
31383
+ }
31384
+ ]
31385
+ }
31386
+ },
31387
+ "modifiers": {
31388
+ "width": 56,
31389
+ "height": 56,
31390
+ "cornerRadius": 8,
31391
+ "background": {
31392
+ "token": "surfaceSecondary"
31393
+ },
31394
+ "hiddenPath": "$service:himiBookingTime.hasServiceImage"
31395
+ }
31396
+ },
31397
+ {
31398
+ "id": "",
31399
+ "body": {
31400
+ "package": "himalaya",
31401
+ "type": "VStack",
31402
+ "props": {
31403
+ "spacing": 2,
31404
+ "alignment": "leading",
31405
+ "children": [
31406
+ {
31407
+ "id": "",
31408
+ "body": {
31409
+ "package": "himalaya",
31410
+ "type": "Text",
31411
+ "props": {
31412
+ "text": "$service:himiBookingTime.serviceName",
31413
+ "style": "body",
31414
+ "maxLines": 2,
31415
+ "collapseWhenEmpty": true
31416
+ }
31417
+ }
31418
+ },
31419
+ {
31420
+ "id": "",
31421
+ "body": {
31422
+ "package": "himalaya",
31423
+ "type": "Text",
31424
+ "props": {
31425
+ "text": "$service:himiBookingTime.serviceLine",
31426
+ "style": "footnote",
31427
+ "color": "textSecondary",
31428
+ "maxLines": 1,
31429
+ "collapseWhenEmpty": true
31430
+ }
31431
+ }
31432
+ }
31433
+ ]
31434
+ }
31435
+ }
31436
+ },
31437
+ {
31438
+ "id": "",
31439
+ "body": {
31440
+ "package": "himalaya",
31441
+ "type": "Spacer",
31442
+ "props": {}
31443
+ }
31444
+ }
31445
+ ]
31446
+ }
31447
+ },
31448
+ "modifiers": {
31449
+ "fillMaxWidth": true,
31450
+ "padding": {
31451
+ "leading": 20,
31452
+ "trailing": 20,
31453
+ "top": 18,
31454
+ "bottom": 0
31455
+ }
31456
+ }
31457
+ },
31458
+ {
31459
+ "id": "himi_time.days",
31460
+ "body": {
31461
+ "package": "himalaya",
31462
+ "type": "FilterChips",
31463
+ "props": {
31464
+ "chips": [],
31465
+ "optionsPath": "$service:himiBookingTime.days",
31466
+ "selectedIds": [
31467
+ "$service:himiBookingTime.selectedDay"
31468
+ ],
31469
+ "multiSelect": false,
31470
+ "onChange": {
31471
+ "actionId": "tier5.himiBookingTime.selectDay"
31472
+ }
31473
+ }
31474
+ },
31475
+ "modifiers": {
31476
+ "accessibilityLabel": "Choose a day",
31477
+ "padding": {
31478
+ "leading": 20,
31479
+ "trailing": 20,
31480
+ "top": 14,
31481
+ "bottom": 14
31482
+ },
31483
+ "fillMaxWidth": true,
31484
+ "hiddenPath": "$service:himiBookingTime.hideDayPicker"
31485
+ }
31486
+ },
31487
+ {
31488
+ "id": "himi_time.day_row",
31489
+ "body": {
31490
+ "package": "himalaya",
31491
+ "type": "VStack",
31492
+ "props": {
31493
+ "spacing": 0,
31494
+ "children": [
31495
+ {
31496
+ "id": "",
31497
+ "body": {
31498
+ "package": "himalaya",
31499
+ "type": "Divider",
31500
+ "props": {}
31501
+ }
31502
+ },
31503
+ {
31504
+ "id": "",
31505
+ "body": {
31506
+ "package": "himalaya",
31507
+ "type": "HStack",
31508
+ "props": {
31509
+ "spacing": 12,
31510
+ "alignment": "center",
31511
+ "children": [
31512
+ {
31513
+ "id": "himi_time.day_heading",
31514
+ "body": {
31515
+ "package": "himalaya",
31516
+ "type": "Text",
31517
+ "props": {
31518
+ "text": "$service:himiBookingTime.selectedDayLabel",
31519
+ "style": "body",
31520
+ "maxLines": 1,
31521
+ "collapseWhenEmpty": true
31522
+ }
31523
+ }
31524
+ },
31525
+ {
31526
+ "id": "",
31527
+ "body": {
31528
+ "package": "himalaya",
31529
+ "type": "Spacer",
31530
+ "props": {}
31531
+ }
31532
+ },
31533
+ {
31534
+ "id": "himi_time.location",
31535
+ "body": {
31536
+ "package": "himalaya",
31537
+ "type": "HStack",
31538
+ "props": {
31539
+ "spacing": 6,
31540
+ "alignment": "center",
31541
+ "children": [
31542
+ {
31543
+ "id": "",
31544
+ "body": {
31545
+ "package": "himalaya",
31546
+ "type": "Icon",
31547
+ "props": {
31548
+ "name": "location",
31549
+ "size": 18,
31550
+ "tint": "textPrimary"
31551
+ }
31552
+ },
31553
+ "modifiers": {
31554
+ "accessibilityRole": "decorative"
31555
+ }
31556
+ },
31557
+ {
31558
+ "id": "",
31559
+ "body": {
31560
+ "package": "himalaya",
31561
+ "type": "Text",
31562
+ "props": {
31563
+ "text": "$service:himiBookingTime.locationLabel",
31564
+ "style": "footnote",
31565
+ "maxLines": 1
31566
+ }
31567
+ }
31568
+ },
31569
+ {
31570
+ "id": "",
31571
+ "body": {
31572
+ "package": "himalaya",
31573
+ "type": "Icon",
31574
+ "props": {
31575
+ "name": "chevron_down",
31576
+ "size": 16,
31577
+ "tint": "textSecondary"
31578
+ }
31579
+ },
31580
+ "modifiers": {
31581
+ "accessibilityRole": "decorative"
31582
+ }
31583
+ }
31584
+ ]
31585
+ }
31586
+ },
31587
+ "modifiers": {
31588
+ "onTap": {
31589
+ "actionId": "tier5.himiBookingTime.openLocations"
31590
+ },
31591
+ "pressFeedback": "highlight",
31592
+ "accessibilityRole": "button",
31593
+ "accessibilityLabel": "$service:himiBookingTime.locationA11y",
31594
+ "accessibilityHint": "Choose a location",
31595
+ "hiddenPath": "$service:himiBookingTime.noLocationMenu"
31596
+ }
31597
+ },
31598
+ {
31599
+ "id": "himi_time.location_single",
31600
+ "body": {
31601
+ "package": "himalaya",
31602
+ "type": "HStack",
31603
+ "props": {
31604
+ "spacing": 6,
31605
+ "alignment": "center",
31606
+ "children": [
31607
+ {
31608
+ "id": "",
31609
+ "body": {
31610
+ "package": "himalaya",
31611
+ "type": "Icon",
31612
+ "props": {
31613
+ "name": "location",
31614
+ "size": 18,
31615
+ "tint": "textPrimary"
31616
+ }
31617
+ },
31618
+ "modifiers": {
31619
+ "accessibilityRole": "decorative"
31620
+ }
31621
+ },
31622
+ {
31623
+ "id": "",
31624
+ "body": {
31625
+ "package": "himalaya",
31626
+ "type": "Text",
31627
+ "props": {
31628
+ "text": "$service:himiBookingTime.singleLocation",
31629
+ "style": "footnote",
31630
+ "maxLines": 1
31631
+ }
31632
+ }
31633
+ }
31634
+ ]
31635
+ }
31636
+ },
31637
+ "modifiers": {
31638
+ "hiddenPath": "$service:himiBookingTime.noSingleLocation"
31639
+ }
31640
+ }
31641
+ ]
31642
+ }
31643
+ },
31644
+ "modifiers": {
31645
+ "fillMaxWidth": true,
31646
+ "padding": {
31647
+ "leading": 20,
31648
+ "trailing": 20,
31649
+ "top": 12,
31650
+ "bottom": 12
31651
+ }
31652
+ }
31653
+ },
31654
+ {
31655
+ "id": "",
31656
+ "body": {
31657
+ "package": "himalaya",
31658
+ "type": "Divider",
31659
+ "props": {}
31660
+ }
31661
+ }
31662
+ ]
31663
+ }
31664
+ },
31665
+ "modifiers": {
31666
+ "hiddenPath": "$service:himiBookingTime.hideDayPicker"
31667
+ }
31668
+ },
31669
+ {
31670
+ "id": "himi_time.booking",
31671
+ "body": {
31672
+ "package": "himalaya",
31673
+ "type": "HStack",
31674
+ "props": {
31675
+ "spacing": 8,
31676
+ "alignment": "center",
31677
+ "children": [
31678
+ {
31679
+ "id": "",
31680
+ "body": {
31681
+ "package": "himalaya",
31682
+ "type": "ActivityIndicator",
31683
+ "props": {
31684
+ "size": 14
31685
+ }
31686
+ }
31687
+ },
31688
+ {
31689
+ "id": "",
31690
+ "body": {
31691
+ "package": "himalaya",
31692
+ "type": "Text",
31693
+ "props": {
31694
+ "text": "Booking...",
31695
+ "style": "footnote",
31696
+ "color": "textSecondary"
31697
+ }
31698
+ }
31699
+ }
31700
+ ]
31701
+ }
31702
+ },
31703
+ "modifiers": {
31704
+ "padding": {
31705
+ "leading": 20,
31706
+ "trailing": 20,
31707
+ "top": 12,
31708
+ "bottom": 0
31709
+ },
31710
+ "hiddenPath": "$service:himiBookingTime.notBooking"
31711
+ }
31712
+ },
31713
+ {
31714
+ "id": "",
31715
+ "body": {
31716
+ "package": "himalaya",
31717
+ "type": "VStack",
31718
+ "props": {
31719
+ "spacing": 12,
31720
+ "children": [
31721
+ {
31722
+ "id": "",
31723
+ "body": {
31724
+ "package": "himalaya",
31725
+ "type": "VStack",
31726
+ "props": {
31727
+ "spacing": 12,
31728
+ "alignment": "leading",
31729
+ "children": [
31730
+ {
31731
+ "id": "",
31732
+ "body": {
31733
+ "package": "himalaya",
31734
+ "type": "Text",
31735
+ "props": {
31736
+ "text": "$service:himiBookingTime.iapPrice",
31737
+ "style": "bodyEmphasis",
31738
+ "collapseWhenEmpty": true
31739
+ }
31740
+ }
31741
+ },
31742
+ {
31743
+ "id": "himi_time.times_apple.form",
31744
+ "body": {
31745
+ "package": "himalaya",
31746
+ "type": "Grid",
31747
+ "props": {
31748
+ "columns": 1,
31749
+ "spacing": 12,
31750
+ "itemsPath": "$service:himiBookingTime.iapFields",
31751
+ "items": [
31752
+ {
31753
+ "id": "",
31754
+ "body": {
31755
+ "package": "himalaya",
31756
+ "type": "VStack",
31757
+ "props": {
31758
+ "spacing": 8,
31759
+ "alignment": "leading",
31760
+ "children": [
31761
+ {
31762
+ "id": "",
31763
+ "body": {
31764
+ "package": "himalaya",
31765
+ "type": "Text",
31766
+ "props": {
31767
+ "text": "$item.sectionLabel",
31768
+ "style": "bodyEmphasis",
31769
+ "collapseWhenEmpty": true
31770
+ }
31771
+ }
31772
+ },
31773
+ {
31774
+ "id": "",
31775
+ "body": {
31776
+ "package": "himalaya",
31777
+ "type": "Text",
31778
+ "props": {
31779
+ "text": "$item.label",
31780
+ "style": "footnote"
31781
+ }
31782
+ }
31783
+ },
31784
+ {
31785
+ "id": "himi_time.times_apple.input.$item.id",
31786
+ "body": {
31787
+ "package": "himalaya",
31788
+ "type": "FragmentSlot",
31789
+ "props": {
31790
+ "casePath": "$item.kind",
31791
+ "defaultCase": "text",
31792
+ "cases": [
31793
+ {
31794
+ "id": "text",
31795
+ "content": {
31796
+ "id": "himi_time.times_apple.field.text.$item.id",
31797
+ "body": {
31798
+ "package": "himalaya",
31799
+ "type": "TextField",
31800
+ "props": {
31801
+ "placeholder": "$item.inputLabel",
31802
+ "value": "$item.value",
31803
+ "onChange": {
31804
+ "actionId": "tier5.himiBookingTime.setIapField",
31805
+ "params": {
31806
+ "id": "$item.fieldId"
31807
+ }
31808
+ },
31809
+ "validation": {},
31810
+ "errorText": "$item.error",
31811
+ "autoCapitalization": "words"
31812
+ }
31813
+ }
31814
+ }
31815
+ },
31816
+ {
31817
+ "id": "requiredText",
31818
+ "content": {
31819
+ "id": "himi_time.times_apple.field.requiredText.$item.id",
31820
+ "body": {
31821
+ "package": "himalaya",
31822
+ "type": "TextField",
31823
+ "props": {
31824
+ "placeholder": "$item.inputLabel",
31825
+ "value": "$item.value",
31826
+ "onChange": {
31827
+ "actionId": "tier5.himiBookingTime.setIapField",
31828
+ "params": {
31829
+ "id": "$item.fieldId"
31830
+ }
31831
+ },
31832
+ "validation": {
31833
+ "required": true
31834
+ },
31835
+ "errorText": "$item.error",
31836
+ "autoCapitalization": "words"
31837
+ }
31838
+ }
31839
+ }
31840
+ },
31841
+ {
31842
+ "id": "email",
31843
+ "content": {
31844
+ "id": "himi_time.times_apple.field.email.$item.id",
31845
+ "body": {
31846
+ "package": "himalaya",
31847
+ "type": "TextField",
31848
+ "props": {
31849
+ "placeholder": "$item.inputLabel",
31850
+ "value": "$item.value",
31851
+ "onChange": {
31852
+ "actionId": "tier5.himiBookingTime.setIapField",
31853
+ "params": {
31854
+ "id": "$item.fieldId"
31855
+ }
31856
+ },
31857
+ "validation": {
31858
+ "required": true,
31859
+ "type": "email"
31860
+ },
31861
+ "errorText": "$item.error",
31862
+ "autoCapitalization": "none"
31863
+ }
31864
+ }
31865
+ }
31866
+ },
31867
+ {
31868
+ "id": "number",
31869
+ "content": {
31870
+ "id": "himi_time.times_apple.field.number.$item.id",
31871
+ "body": {
31872
+ "package": "himalaya",
31873
+ "type": "TextField",
31874
+ "props": {
31875
+ "placeholder": "$item.inputLabel",
31876
+ "value": "$item.value",
31877
+ "onChange": {
31878
+ "actionId": "tier5.himiBookingTime.setIapField",
31879
+ "params": {
31880
+ "id": "$item.fieldId"
31881
+ }
31882
+ },
31883
+ "validation": {
31884
+ "type": "number"
31885
+ },
31886
+ "errorText": "$item.error",
31887
+ "autoCapitalization": "words"
31888
+ }
31889
+ }
31890
+ }
31891
+ },
31892
+ {
31893
+ "id": "choice",
31894
+ "content": {
31895
+ "id": "",
31896
+ "body": {
31897
+ "package": "himalaya",
31898
+ "type": "VStack",
31899
+ "props": {
31900
+ "spacing": 4,
31901
+ "children": [
31902
+ {
31903
+ "id": "himi_time.times_apple.options.choice",
31904
+ "body": {
31905
+ "package": "himalaya",
31906
+ "type": "Grid",
31907
+ "props": {
31908
+ "columns": 1,
31909
+ "spacing": 8,
31910
+ "itemsPath": "$item.options",
31911
+ "items": [
31912
+ {
31913
+ "id": "himi_time.times_apple.option.choice.$item.fieldId.$item.id",
31914
+ "body": {
31915
+ "package": "himalaya",
31916
+ "type": "Button",
31917
+ "props": {
31918
+ "title": "$item.displayLabel",
31919
+ "style": "secondary",
31920
+ "fullWidth": true,
31921
+ "action": {
31922
+ "actionId": "tier5.himiBookingTime.setIapField",
31923
+ "params": {
31924
+ "id": "$item.fieldId",
31925
+ "option": "$item.id"
31926
+ }
31927
+ }
31928
+ }
31929
+ }
31930
+ }
31931
+ ]
31932
+ }
31933
+ }
31934
+ },
31935
+ {
31936
+ "id": "",
31937
+ "body": {
31938
+ "package": "himalaya",
31939
+ "type": "FieldError",
31940
+ "props": {
31941
+ "text": "$item.error"
31942
+ }
31943
+ },
31944
+ "modifiers": {
31945
+ "hiddenPath": "$item.errorHidden"
31946
+ }
31947
+ }
31948
+ ]
31949
+ }
31950
+ }
31951
+ }
31952
+ },
31953
+ {
31954
+ "id": "multiple",
31955
+ "content": {
31956
+ "id": "",
31957
+ "body": {
31958
+ "package": "himalaya",
31959
+ "type": "VStack",
31960
+ "props": {
31961
+ "spacing": 4,
31962
+ "children": [
31963
+ {
31964
+ "id": "himi_time.times_apple.options.multiple",
31965
+ "body": {
31966
+ "package": "himalaya",
31967
+ "type": "Grid",
31968
+ "props": {
31969
+ "columns": 1,
31970
+ "spacing": 8,
31971
+ "itemsPath": "$item.options",
31972
+ "items": [
31973
+ {
31974
+ "id": "himi_time.times_apple.option.multiple.$item.fieldId.$item.id",
31975
+ "body": {
31976
+ "package": "himalaya",
31977
+ "type": "Button",
31978
+ "props": {
31979
+ "title": "$item.displayLabel",
31980
+ "style": "secondary",
31981
+ "fullWidth": true,
31982
+ "action": {
31983
+ "actionId": "tier5.himiBookingTime.setIapField",
31984
+ "params": {
31985
+ "id": "$item.fieldId",
31986
+ "option": "$item.id"
31987
+ }
31988
+ }
31989
+ }
31990
+ }
31991
+ }
31992
+ ]
31993
+ }
31994
+ }
31995
+ },
31996
+ {
31997
+ "id": "",
31998
+ "body": {
31999
+ "package": "himalaya",
32000
+ "type": "FieldError",
32001
+ "props": {
32002
+ "text": "$item.error"
32003
+ }
32004
+ },
32005
+ "modifiers": {
32006
+ "hiddenPath": "$item.errorHidden"
32007
+ }
32008
+ }
32009
+ ]
32010
+ }
32011
+ }
32012
+ }
32013
+ }
32014
+ ]
32015
+ }
32016
+ }
32017
+ }
32018
+ ]
32019
+ }
32020
+ }
32021
+ }
32022
+ ]
32023
+ }
32024
+ },
32025
+ "modifiers": {
32026
+ "hiddenPath": "$service:himiBookingTime.iapFormHidden"
32027
+ }
32028
+ },
32029
+ {
32030
+ "id": "",
32031
+ "body": {
32032
+ "package": "himalaya",
32033
+ "type": "FieldError",
32034
+ "props": {
32035
+ "text": "",
32036
+ "textPath": "$service:himiBookingTime.iapFormError"
32037
+ }
32038
+ }
32039
+ },
32040
+ {
32041
+ "id": "himi_time.times_apple.buy",
32042
+ "body": {
32043
+ "package": "himalaya",
32044
+ "type": "Button",
32045
+ "props": {
32046
+ "title": "$service:himiBookingTime.iapBuyLabel",
32047
+ "disabledPath": "$service:himiBookingTime.iapBuyDisabled",
32048
+ "style": "primary",
32049
+ "fullWidth": true,
32050
+ "action": {
32051
+ "actionId": "tier5.himiBookingTime.buyApple"
32052
+ }
32053
+ }
32054
+ }
32055
+ },
32056
+ {
32057
+ "id": "",
32058
+ "body": {
32059
+ "package": "himalaya",
32060
+ "type": "Text",
32061
+ "props": {
32062
+ "text": "$service:himiBookingTime.iapNote",
32063
+ "style": "footnote",
32064
+ "color": "textSecondary",
32065
+ "collapseWhenEmpty": true
32066
+ }
32067
+ }
32068
+ },
32069
+ {
32070
+ "id": "himi_time.times_apple.signin",
32071
+ "body": {
32072
+ "package": "himalaya",
32073
+ "type": "Button",
32074
+ "props": {
32075
+ "title": "Sign in",
32076
+ "style": "secondary",
32077
+ "action": {
32078
+ "actionId": "himi.open",
32079
+ "params": {
32080
+ "screenId": "himi_account"
32081
+ }
32082
+ }
32083
+ }
32084
+ },
32085
+ "modifiers": {
32086
+ "hiddenPath": "$service:himiBookingTime.iapSignInHidden"
32087
+ }
32088
+ },
32089
+ {
32090
+ "id": "himi_time.times_apple.retry",
32091
+ "body": {
32092
+ "package": "himalaya",
32093
+ "type": "Button",
32094
+ "props": {
32095
+ "title": "Refresh purchase status",
32096
+ "style": "secondary",
32097
+ "action": {
32098
+ "actionId": "tier5.himiBookingTime.iapRefresh"
32099
+ }
32100
+ }
32101
+ },
32102
+ "modifiers": {
32103
+ "hiddenPath": "$service:himiBookingTime.iapRetryHidden"
32104
+ }
32105
+ }
32106
+ ]
32107
+ }
32108
+ },
32109
+ "modifiers": {
32110
+ "hiddenPath": "$service:himiBookingTime.iapBuyHidden"
32111
+ }
32112
+ }
32113
+ ]
32114
+ }
32115
+ },
32116
+ "modifiers": {
32117
+ "padding": {
32118
+ "leading": 20,
32119
+ "trailing": 20,
32120
+ "top": 12,
32121
+ "bottom": 0
32122
+ },
32123
+ "hiddenPath": "$service:himiBookingTime.isCourse"
32124
+ }
32125
+ },
32126
+ {
32127
+ "id": "himi_time.slots",
32128
+ "body": {
32129
+ "package": "himalaya",
32130
+ "type": "Grid",
32131
+ "props": {
32132
+ "columns": 1,
32133
+ "spacing": 24,
32134
+ "itemsPath": "$service:himiBookingTime.groups",
32135
+ "items": [
32136
+ {
32137
+ "id": "",
32138
+ "body": {
32139
+ "package": "himalaya",
32140
+ "type": "VStack",
32141
+ "props": {
32142
+ "spacing": 18,
32143
+ "alignment": "leading",
32144
+ "children": [
30933
32145
  {
30934
32146
  "id": "",
30935
32147
  "body": {
30936
32148
  "package": "himalaya",
30937
32149
  "type": "HStack",
30938
32150
  "props": {
30939
- "spacing": 12,
32151
+ "spacing": 10,
32152
+ "alignment": "center",
30940
32153
  "children": [
30941
32154
  {
30942
32155
  "id": "",
30943
32156
  "body": {
30944
32157
  "package": "himalaya",
30945
- "type": "Icon",
32158
+ "type": "Image",
30946
32159
  "props": {
30947
- "name": "checkmark",
30948
- "size": 14,
30949
- "tint": "accentPrimary",
30950
- "contentDescription": "Selected"
32160
+ "url": "$item.image",
32161
+ "width": 26,
32162
+ "height": 26,
32163
+ "shape": "circle",
32164
+ "contentMode": "fill"
30951
32165
  }
30952
32166
  },
30953
32167
  "modifiers": {
30954
- "hiddenPath": "$item.notSelected"
32168
+ "accessibilityRole": "decorative",
32169
+ "hiddenPath": "$item.noImage"
30955
32170
  }
30956
32171
  },
30957
32172
  {
30958
32173
  "id": "",
30959
32174
  "body": {
30960
32175
  "package": "himalaya",
30961
- "type": "Icon",
32176
+ "type": "ZStack",
30962
32177
  "props": {
30963
- "name": "circle",
30964
- "size": 14,
30965
- "tint": "textTertiary"
32178
+ "alignment": "center",
32179
+ "children": [
32180
+ {
32181
+ "id": "",
32182
+ "body": {
32183
+ "package": "himalaya",
32184
+ "type": "Icon",
32185
+ "props": {
32186
+ "name": "person",
32187
+ "size": 16,
32188
+ "tint": "textSecondary"
32189
+ }
32190
+ },
32191
+ "modifiers": {
32192
+ "accessibilityRole": "decorative"
32193
+ }
32194
+ }
32195
+ ]
30966
32196
  }
30967
32197
  },
30968
32198
  "modifiers": {
30969
- "accessibilityRole": "decorative",
30970
- "hiddenPath": "$item.selected"
32199
+ "width": 26,
32200
+ "height": 26,
32201
+ "cornerRadius": 13,
32202
+ "background": {
32203
+ "token": "surfaceTertiary"
32204
+ },
32205
+ "hiddenPath": "$item.hasImage"
30971
32206
  }
30972
32207
  },
32208
+ {
32209
+ "id": "",
32210
+ "body": {
32211
+ "package": "himalaya",
32212
+ "type": "Text",
32213
+ "props": {
32214
+ "text": "$item.name",
32215
+ "style": "bodyEmphasis",
32216
+ "maxLines": 1
32217
+ }
32218
+ }
32219
+ }
32220
+ ]
32221
+ }
32222
+ },
32223
+ "modifiers": {
32224
+ "hiddenPath": "$item.noStaffHeader"
32225
+ }
32226
+ },
32227
+ {
32228
+ "id": "",
32229
+ "body": {
32230
+ "package": "himalaya",
32231
+ "type": "Grid",
32232
+ "props": {
32233
+ "columns": 2,
32234
+ "spacing": 12,
32235
+ "itemsPath": "$item.times",
32236
+ "items": [
30973
32237
  {
30974
32238
  "id": "",
30975
32239
  "body": {
30976
32240
  "package": "himalaya",
30977
32241
  "type": "VStack",
30978
32242
  "props": {
30979
- "spacing": 4,
30980
- "alignment": "leading",
32243
+ "spacing": 0,
30981
32244
  "children": [
30982
32245
  {
30983
- "id": "",
30984
- "body": {
30985
- "package": "himalaya",
30986
- "type": "Text",
30987
- "props": {
30988
- "text": "$item.title",
30989
- "style": "bodyEmphasis",
30990
- "maxLines": 1
30991
- }
30992
- }
30993
- },
30994
- {
30995
- "id": "",
32246
+ "id": "himi_time.slot",
30996
32247
  "body": {
30997
32248
  "package": "himalaya",
30998
- "type": "Text",
32249
+ "type": "HStack",
30999
32250
  "props": {
31000
- "text": "$item.subtitle",
31001
- "style": "footnote",
31002
- "color": "textSecondary",
31003
- "maxLines": 1,
31004
- "collapseWhenEmpty": true
32251
+ "spacing": 0,
32252
+ "alignment": "center",
32253
+ "children": [
32254
+ {
32255
+ "id": "",
32256
+ "body": {
32257
+ "package": "himalaya",
32258
+ "type": "Spacer",
32259
+ "props": {}
32260
+ }
32261
+ },
32262
+ {
32263
+ "id": "",
32264
+ "body": {
32265
+ "package": "himalaya",
32266
+ "type": "VStack",
32267
+ "props": {
32268
+ "spacing": 0,
32269
+ "alignment": "center",
32270
+ "children": [
32271
+ {
32272
+ "id": "",
32273
+ "body": {
32274
+ "package": "himalaya",
32275
+ "type": "Text",
32276
+ "props": {
32277
+ "text": "$item.label",
32278
+ "style": "bodyEmphasis",
32279
+ "color": "textPrimary",
32280
+ "maxLines": 1
32281
+ }
32282
+ }
32283
+ },
32284
+ {
32285
+ "id": "",
32286
+ "body": {
32287
+ "package": "himalaya",
32288
+ "type": "Text",
32289
+ "props": {
32290
+ "text": "$item.badge",
32291
+ "style": "caption",
32292
+ "color": "textPrimary",
32293
+ "maxLines": 1
32294
+ }
32295
+ },
32296
+ "modifiers": {
32297
+ "hiddenPath": "$item.noBadge"
32298
+ }
32299
+ }
32300
+ ]
32301
+ }
32302
+ }
32303
+ },
32304
+ {
32305
+ "id": "",
32306
+ "body": {
32307
+ "package": "himalaya",
32308
+ "type": "Spacer",
32309
+ "props": {}
32310
+ }
32311
+ }
32312
+ ]
31005
32313
  }
32314
+ },
32315
+ "modifiers": {
32316
+ "fillMaxWidth": true,
32317
+ "padding": {
32318
+ "top": 11,
32319
+ "bottom": 11,
32320
+ "leading": 8,
32321
+ "trailing": 8
32322
+ },
32323
+ "cornerRadius": 22,
32324
+ "border": {
32325
+ "width": 1,
32326
+ "color": {
32327
+ "token": "textPrimary"
32328
+ }
32329
+ },
32330
+ "accessibilityLabel": "$item.a11y",
32331
+ "onTap": {
32332
+ "actionId": "tier5.himiBookingTime.pickSlot",
32333
+ "params": {
32334
+ "slotId": "$item.id",
32335
+ "signInScreenId": "himi_sign_in"
32336
+ }
32337
+ },
32338
+ "pressFeedback": "scale",
32339
+ "haptic": "light",
32340
+ "accessibilityRole": "button",
32341
+ "accessibilityHint": "Book this time",
32342
+ "hiddenPath": "$item.notAvailable"
31006
32343
  }
31007
32344
  },
31008
32345
  {
31009
- "id": "",
32346
+ "id": "himi_time.slot_picked",
31010
32347
  "body": {
31011
32348
  "package": "himalaya",
31012
- "type": "Text",
32349
+ "type": "HStack",
31013
32350
  "props": {
31014
- "text": "$item.badge",
31015
- "style": "caption",
31016
- "color": "warning",
31017
- "collapseWhenEmpty": true
32351
+ "spacing": 0,
32352
+ "alignment": "center",
32353
+ "children": [
32354
+ {
32355
+ "id": "",
32356
+ "body": {
32357
+ "package": "himalaya",
32358
+ "type": "Spacer",
32359
+ "props": {}
32360
+ }
32361
+ },
32362
+ {
32363
+ "id": "",
32364
+ "body": {
32365
+ "package": "himalaya",
32366
+ "type": "VStack",
32367
+ "props": {
32368
+ "spacing": 0,
32369
+ "alignment": "center",
32370
+ "children": [
32371
+ {
32372
+ "id": "",
32373
+ "body": {
32374
+ "package": "himalaya",
32375
+ "type": "Text",
32376
+ "props": {
32377
+ "text": "$item.label",
32378
+ "style": "bodyEmphasis",
32379
+ "color": "surfacePrimary",
32380
+ "maxLines": 1
32381
+ }
32382
+ }
32383
+ },
32384
+ {
32385
+ "id": "",
32386
+ "body": {
32387
+ "package": "himalaya",
32388
+ "type": "Text",
32389
+ "props": {
32390
+ "text": "$item.badge",
32391
+ "style": "caption",
32392
+ "color": "surfacePrimary",
32393
+ "maxLines": 1
32394
+ }
32395
+ },
32396
+ "modifiers": {
32397
+ "hiddenPath": "$item.noBadge"
32398
+ }
32399
+ }
32400
+ ]
32401
+ }
32402
+ }
32403
+ },
32404
+ {
32405
+ "id": "",
32406
+ "body": {
32407
+ "package": "himalaya",
32408
+ "type": "Spacer",
32409
+ "props": {}
32410
+ }
32411
+ }
32412
+ ]
31018
32413
  }
31019
32414
  },
31020
32415
  "modifiers": {
31021
- "hiddenPath": "$item.badgeNeutral"
32416
+ "fillMaxWidth": true,
32417
+ "padding": {
32418
+ "top": 11,
32419
+ "bottom": 11,
32420
+ "leading": 8,
32421
+ "trailing": 8
32422
+ },
32423
+ "cornerRadius": 22,
32424
+ "border": {
32425
+ "width": 1,
32426
+ "color": {
32427
+ "token": "textPrimary"
32428
+ }
32429
+ },
32430
+ "background": {
32431
+ "token": "textPrimary"
32432
+ },
32433
+ "accessibilityLabel": "$item.a11y",
32434
+ "onTap": {
32435
+ "actionId": "tier5.himiBookingTime.pickSlot",
32436
+ "params": {
32437
+ "slotId": "$item.id",
32438
+ "signInScreenId": "himi_sign_in"
32439
+ }
32440
+ },
32441
+ "pressFeedback": "scale",
32442
+ "haptic": "light",
32443
+ "accessibilityRole": "button",
32444
+ "accessibilityHint": "Book this time",
32445
+ "hiddenPath": "$item.notPicked"
31022
32446
  }
31023
32447
  },
31024
32448
  {
31025
- "id": "",
32449
+ "id": "himi_time.slot_unavailable",
31026
32450
  "body": {
31027
32451
  "package": "himalaya",
31028
- "type": "Text",
32452
+ "type": "HStack",
31029
32453
  "props": {
31030
- "text": "$item.badge",
31031
- "style": "caption",
31032
- "color": "textSecondary",
31033
- "collapseWhenEmpty": true
32454
+ "spacing": 0,
32455
+ "alignment": "center",
32456
+ "children": [
32457
+ {
32458
+ "id": "",
32459
+ "body": {
32460
+ "package": "himalaya",
32461
+ "type": "Spacer",
32462
+ "props": {}
32463
+ }
32464
+ },
32465
+ {
32466
+ "id": "",
32467
+ "body": {
32468
+ "package": "himalaya",
32469
+ "type": "VStack",
32470
+ "props": {
32471
+ "spacing": 0,
32472
+ "alignment": "center",
32473
+ "children": [
32474
+ {
32475
+ "id": "",
32476
+ "body": {
32477
+ "package": "himalaya",
32478
+ "type": "Text",
32479
+ "props": {
32480
+ "text": "$item.label",
32481
+ "style": "body",
32482
+ "color": "textTertiary",
32483
+ "maxLines": 1
32484
+ }
32485
+ }
32486
+ },
32487
+ {
32488
+ "id": "",
32489
+ "body": {
32490
+ "package": "himalaya",
32491
+ "type": "Text",
32492
+ "props": {
32493
+ "text": "$item.badge",
32494
+ "style": "caption",
32495
+ "color": "textTertiary",
32496
+ "maxLines": 1
32497
+ }
32498
+ },
32499
+ "modifiers": {
32500
+ "hiddenPath": "$item.noBadge"
32501
+ }
32502
+ }
32503
+ ]
32504
+ }
32505
+ }
32506
+ },
32507
+ {
32508
+ "id": "",
32509
+ "body": {
32510
+ "package": "himalaya",
32511
+ "type": "Spacer",
32512
+ "props": {}
32513
+ }
32514
+ }
32515
+ ]
31034
32516
  }
31035
32517
  },
31036
32518
  "modifiers": {
31037
- "hiddenPath": "$item.badgeWarning"
32519
+ "fillMaxWidth": true,
32520
+ "padding": {
32521
+ "top": 11,
32522
+ "bottom": 11,
32523
+ "leading": 8,
32524
+ "trailing": 8
32525
+ },
32526
+ "cornerRadius": 22,
32527
+ "border": {
32528
+ "width": 1,
32529
+ "color": {
32530
+ "token": "border"
32531
+ }
32532
+ },
32533
+ "accessibilityLabel": "$item.a11y",
32534
+ "hiddenPath": "$item.notUnavailable"
31038
32535
  }
31039
32536
  }
31040
32537
  ]
31041
32538
  }
31042
32539
  }
31043
- },
31044
- {
31045
- "id": "",
31046
- "body": {
31047
- "package": "himalaya",
31048
- "type": "Spacer",
31049
- "props": {}
31050
- }
31051
32540
  }
31052
32541
  ]
31053
32542
  }
31054
32543
  },
31055
32544
  "modifiers": {
31056
- "background": {
31057
- "token": "surfaceElevated"
31058
- },
31059
- "border": {
31060
- "width": 1,
31061
- "color": {
31062
- "token": "border"
31063
- }
31064
- },
31065
- "cornerRadius": 8,
31066
- "padding": {
31067
- "leading": 12,
31068
- "trailing": 12,
31069
- "top": 12,
31070
- "bottom": 12
31071
- },
31072
- "hiddenPath": "$item.selectable"
32545
+ "fillMaxWidth": true
31073
32546
  }
31074
32547
  }
31075
32548
  ]
@@ -31080,103 +32553,139 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31080
32553
  }
31081
32554
  },
31082
32555
  "modifiers": {
32556
+ "fillMaxWidth": true,
32557
+ "padding": {
32558
+ "leading": 20,
32559
+ "trailing": 20,
32560
+ "top": 18,
32561
+ "bottom": 0
32562
+ },
31083
32563
  "hiddenPath": "$service:himiBookingTime.hideDaySlots"
31084
32564
  }
31085
32565
  },
31086
32566
  {
31087
- "id": "himi_time.day_empty",
32567
+ "id": "himi_time.day_empty_state",
31088
32568
  "body": {
31089
32569
  "package": "himalaya",
31090
- "type": "Text",
32570
+ "type": "VStack",
31091
32571
  "props": {
31092
- "text": "$service:himiBookingTime.dayEmptyText",
31093
- "style": "body",
31094
- "color": "textSecondary",
31095
- "collapseWhenEmpty": true
32572
+ "spacing": 22,
32573
+ "alignment": "center",
32574
+ "children": [
32575
+ {
32576
+ "id": "himi_time.day_empty",
32577
+ "body": {
32578
+ "package": "himalaya",
32579
+ "type": "Text",
32580
+ "props": {
32581
+ "text": "$service:himiBookingTime.dayEmptyText",
32582
+ "style": "bodyEmphasis",
32583
+ "maxLines": 2,
32584
+ "collapseWhenEmpty": true,
32585
+ "textAlign": "center"
32586
+ }
32587
+ }
32588
+ },
32589
+ {
32590
+ "id": "himi_time.check_next",
32591
+ "body": {
32592
+ "package": "himalaya",
32593
+ "type": "HStack",
32594
+ "props": {
32595
+ "spacing": 8,
32596
+ "alignment": "center",
32597
+ "children": [
32598
+ {
32599
+ "id": "",
32600
+ "body": {
32601
+ "package": "himalaya",
32602
+ "type": "Text",
32603
+ "props": {
32604
+ "text": "Check Next Availability",
32605
+ "style": "bodyEmphasis",
32606
+ "color": "surfacePrimary",
32607
+ "maxLines": 1
32608
+ }
32609
+ }
32610
+ }
32611
+ ]
32612
+ }
32613
+ },
32614
+ "modifiers": {
32615
+ "padding": {
32616
+ "leading": 22,
32617
+ "trailing": 22,
32618
+ "top": 12,
32619
+ "bottom": 12
32620
+ },
32621
+ "cornerRadius": 23,
32622
+ "background": {
32623
+ "token": "textPrimary"
32624
+ },
32625
+ "onTap": {
32626
+ "actionId": "tier5.himiBookingTime.checkNext"
32627
+ },
32628
+ "pressFeedback": "scale",
32629
+ "accessibilityRole": "button",
32630
+ "accessibilityLabel": "Check Next Availability"
32631
+ }
32632
+ }
32633
+ ]
31096
32634
  }
31097
32635
  },
31098
32636
  "modifiers": {
31099
- "hiddenPath": "$service:himiBookingTime.hideDayEmpty"
32637
+ "fillMaxWidth": true,
32638
+ "padding": {
32639
+ "leading": 20,
32640
+ "trailing": 20,
32641
+ "top": 40,
32642
+ "bottom": 0
32643
+ },
32644
+ "hiddenPath": "$service:himiBookingTime.hasDayTimes"
31100
32645
  }
31101
32646
  },
31102
32647
  {
31103
- "id": "",
32648
+ "id": "himi_time.no_upcoming",
31104
32649
  "body": {
31105
32650
  "package": "himalaya",
31106
32651
  "type": "VStack",
31107
32652
  "props": {
31108
- "spacing": 12,
32653
+ "spacing": 22,
32654
+ "alignment": "center",
31109
32655
  "children": [
31110
32656
  {
31111
- "id": "himi_time.member_card",
32657
+ "id": "",
32658
+ "body": {
32659
+ "package": "himalaya",
32660
+ "type": "Text",
32661
+ "props": {
32662
+ "text": "There are no upcoming sessions for this service. Please check out our other services or contact us.",
32663
+ "style": "body",
32664
+ "color": "textSecondary",
32665
+ "maxLines": 4,
32666
+ "textAlign": "center"
32667
+ }
32668
+ }
32669
+ },
32670
+ {
32671
+ "id": "himi_time.no_upcoming.cta",
31112
32672
  "body": {
31113
32673
  "package": "himalaya",
31114
- "type": "VStack",
32674
+ "type": "HStack",
31115
32675
  "props": {
31116
- "spacing": 12,
31117
- "alignment": "leading",
32676
+ "spacing": 8,
32677
+ "alignment": "center",
31118
32678
  "children": [
31119
32679
  {
31120
32680
  "id": "",
31121
32681
  "body": {
31122
32682
  "package": "himalaya",
31123
- "type": "HStack",
32683
+ "type": "Text",
31124
32684
  "props": {
31125
- "spacing": 10,
31126
- "children": [
31127
- {
31128
- "id": "",
31129
- "body": {
31130
- "package": "himalaya",
31131
- "type": "Icon",
31132
- "props": {
31133
- "name": "person_fill",
31134
- "size": 18,
31135
- "tint": "accentPrimary"
31136
- }
31137
- },
31138
- "modifiers": {
31139
- "accessibilityRole": "decorative"
31140
- }
31141
- },
31142
- {
31143
- "id": "",
31144
- "body": {
31145
- "package": "himalaya",
31146
- "type": "VStack",
31147
- "props": {
31148
- "spacing": 2,
31149
- "alignment": "leading",
31150
- "children": [
31151
- {
31152
- "id": "",
31153
- "body": {
31154
- "package": "himalaya",
31155
- "type": "Text",
31156
- "props": {
31157
- "text": "Booking as",
31158
- "style": "caption",
31159
- "color": "textTertiary"
31160
- }
31161
- }
31162
- },
31163
- {
31164
- "id": "",
31165
- "body": {
31166
- "package": "himalaya",
31167
- "type": "Text",
31168
- "props": {
31169
- "text": "$service:himiBookingTime.identityLine",
31170
- "style": "bodyEmphasis",
31171
- "collapseWhenEmpty": true
31172
- }
31173
- }
31174
- }
31175
- ]
31176
- }
31177
- }
31178
- }
31179
- ]
32685
+ "text": "Back to services",
32686
+ "style": "bodyEmphasis",
32687
+ "color": "surfacePrimary",
32688
+ "maxLines": 1
31180
32689
  }
31181
32690
  }
31182
32691
  }
@@ -31184,25 +32693,49 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31184
32693
  }
31185
32694
  },
31186
32695
  "modifiers": {
32696
+ "padding": {
32697
+ "leading": 22,
32698
+ "trailing": 22,
32699
+ "top": 12,
32700
+ "bottom": 12
32701
+ },
32702
+ "cornerRadius": 23,
31187
32703
  "background": {
31188
- "token": "surfaceElevated"
32704
+ "token": "textPrimary"
31189
32705
  },
31190
- "border": {
31191
- "width": 1,
31192
- "color": {
31193
- "token": "border"
32706
+ "onTap": {
32707
+ "actionId": "himi.open",
32708
+ "params": {
32709
+ "screenId": "himi_services"
31194
32710
  }
31195
32711
  },
31196
- "cornerRadius": 8,
31197
- "padding": {
31198
- "leading": 14,
31199
- "trailing": 14,
31200
- "top": 14,
31201
- "bottom": 14
31202
- },
31203
- "hiddenPath": "$service:himiBookingTime.notMember"
32712
+ "pressFeedback": "scale",
32713
+ "accessibilityRole": "button",
32714
+ "accessibilityLabel": "Back to services"
31204
32715
  }
31205
- },
32716
+ }
32717
+ ]
32718
+ }
32719
+ },
32720
+ "modifiers": {
32721
+ "fillMaxWidth": true,
32722
+ "padding": {
32723
+ "leading": 20,
32724
+ "trailing": 20,
32725
+ "top": 40,
32726
+ "bottom": 0
32727
+ },
32728
+ "hiddenPath": "$service:himiBookingTime.hasUpcoming"
32729
+ }
32730
+ },
32731
+ {
32732
+ "id": "",
32733
+ "body": {
32734
+ "package": "himalaya",
32735
+ "type": "VStack",
32736
+ "props": {
32737
+ "spacing": 12,
32738
+ "children": [
31206
32739
  {
31207
32740
  "id": "",
31208
32741
  "body": {
@@ -31608,25 +33141,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31608
33141
  "hiddenPath": "$service:himiBookingTime.iapBuyHidden"
31609
33142
  }
31610
33143
  },
31611
- {
31612
- "id": "himi_time.book.disabled",
31613
- "body": {
31614
- "package": "himalaya",
31615
- "type": "Button",
31616
- "props": {
31617
- "title": "Choose a time first",
31618
- "style": "primary",
31619
- "fullWidth": true,
31620
- "disabled": true,
31621
- "action": {
31622
- "actionId": "tier5.himiBookingTime.bookSelected"
31623
- }
31624
- }
31625
- },
31626
- "modifiers": {
31627
- "hiddenPath": "$service:himiBookingTime.hideChoosePrompt"
31628
- }
31629
- },
31630
33144
  {
31631
33145
  "id": "himi_time.book.loading",
31632
33146
  "body": {
@@ -31647,32 +33161,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31647
33161
  "hiddenPath": "$service:himiBookingTime.notBooking"
31648
33162
  }
31649
33163
  },
31650
- {
31651
- "id": "himi_time.book_sign_in",
31652
- "body": {
31653
- "package": "himalaya",
31654
- "type": "Button",
31655
- "props": {
31656
- "title": "Book selected time",
31657
- "style": "primary",
31658
- "fullWidth": true,
31659
- "action": {
31660
- "actionId": "himi.open",
31661
- "params": {
31662
- "screenId": "himi_sign_in",
31663
- "mode": "signin",
31664
- "intent": "book"
31665
- }
31666
- }
31667
- }
31668
- },
31669
- "modifiers": {
31670
- "cornerRadius": 8,
31671
- "pressFeedback": "scale",
31672
- "haptic": "medium",
31673
- "hiddenPath": "$service:himiBookingTime.hideTimeSignIn"
31674
- }
31675
- },
31676
33164
  {
31677
33165
  "id": "himi_time.book_course_sign_in",
31678
33166
  "body": {
@@ -31687,8 +33175,10 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31687
33175
  "params": {
31688
33176
  "screenId": "himi_sign_in",
31689
33177
  "mode": "signin",
31690
- "intent": "book"
31691
- }
33178
+ "intent": "book",
33179
+ "modal": "1"
33180
+ },
33181
+ "presentation": "sheet"
31692
33182
  }
31693
33183
  }
31694
33184
  },
@@ -31699,53 +33189,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31699
33189
  "hiddenPath": "$service:himiBookingTime.hideCourseSignIn"
31700
33190
  }
31701
33191
  },
31702
- {
31703
- "id": "himi_time.join_waitlist_sign_in",
31704
- "body": {
31705
- "package": "himalaya",
31706
- "type": "Button",
31707
- "props": {
31708
- "title": "Join Waitlist",
31709
- "style": "primary",
31710
- "fullWidth": true,
31711
- "action": {
31712
- "actionId": "himi.open",
31713
- "params": {
31714
- "screenId": "himi_sign_in",
31715
- "mode": "signin",
31716
- "intent": "book"
31717
- }
31718
- }
31719
- }
31720
- },
31721
- "modifiers": {
31722
- "cornerRadius": 8,
31723
- "pressFeedback": "scale",
31724
- "haptic": "medium",
31725
- "hiddenPath": "$service:himiBookingTime.hideWaitlistSignIn"
31726
- }
31727
- },
31728
- {
31729
- "id": "himi_time.book",
31730
- "body": {
31731
- "package": "himalaya",
31732
- "type": "Button",
31733
- "props": {
31734
- "title": "Book selected time",
31735
- "style": "primary",
31736
- "fullWidth": true,
31737
- "action": {
31738
- "actionId": "tier5.himiBookingTime.bookSelected"
31739
- }
31740
- }
31741
- },
31742
- "modifiers": {
31743
- "cornerRadius": 8,
31744
- "pressFeedback": "scale",
31745
- "haptic": "medium",
31746
- "hiddenPath": "$service:himiBookingTime.hideTimeBook"
31747
- }
31748
- },
31749
33192
  {
31750
33193
  "id": "himi_time.book_course",
31751
33194
  "body": {
@@ -31767,34 +33210,13 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31767
33210
  "hiddenPath": "$service:himiBookingTime.hideCourseBook"
31768
33211
  }
31769
33212
  },
31770
- {
31771
- "id": "himi_time.join_waitlist",
31772
- "body": {
31773
- "package": "himalaya",
31774
- "type": "Button",
31775
- "props": {
31776
- "title": "Join Waitlist",
31777
- "style": "primary",
31778
- "fullWidth": true,
31779
- "action": {
31780
- "actionId": "tier5.himiBookingTime.bookSelected"
31781
- }
31782
- }
31783
- },
31784
- "modifiers": {
31785
- "cornerRadius": 8,
31786
- "pressFeedback": "scale",
31787
- "haptic": "medium",
31788
- "hiddenPath": "$service:himiBookingTime.hideWaitlistBook"
31789
- }
31790
- },
31791
33213
  {
31792
33214
  "id": "",
31793
33215
  "body": {
31794
33216
  "package": "himalaya",
31795
33217
  "type": "Text",
31796
33218
  "props": {
31797
- "text": "$service:himiBookingTime.message",
33219
+ "text": "$service:himiBookingTime.courseMessage",
31798
33220
  "style": "footnote",
31799
33221
  "color": "textSecondary",
31800
33222
  "collapseWhenEmpty": true
@@ -31802,91 +33224,23 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31802
33224
  }
31803
33225
  },
31804
33226
  {
31805
- "id": "himi_time.success",
33227
+ "id": "himi_time.success.bookings",
31806
33228
  "body": {
31807
33229
  "package": "himalaya",
31808
- "type": "VStack",
33230
+ "type": "Button",
31809
33231
  "props": {
31810
- "spacing": 12,
31811
- "alignment": "leading",
31812
- "children": [
31813
- {
31814
- "id": "",
31815
- "body": {
31816
- "package": "himalaya",
31817
- "type": "HStack",
31818
- "props": {
31819
- "spacing": 10,
31820
- "children": [
31821
- {
31822
- "id": "",
31823
- "body": {
31824
- "package": "himalaya",
31825
- "type": "Icon",
31826
- "props": {
31827
- "name": "check",
31828
- "size": 18,
31829
- "tint": "accentPrimary"
31830
- }
31831
- },
31832
- "modifiers": {
31833
- "accessibilityRole": "decorative"
31834
- }
31835
- },
31836
- {
31837
- "id": "",
31838
- "body": {
31839
- "package": "himalaya",
31840
- "type": "Text",
31841
- "props": {
31842
- "text": "$service:himiBookingTime.successMessage",
31843
- "style": "bodyEmphasis",
31844
- "collapseWhenEmpty": true
31845
- }
31846
- }
31847
- }
31848
- ]
31849
- }
31850
- }
31851
- },
31852
- {
31853
- "id": "himi_time.success.bookings",
31854
- "body": {
31855
- "package": "himalaya",
31856
- "type": "Button",
31857
- "props": {
31858
- "title": "View My Bookings",
31859
- "style": "secondary",
31860
- "fullWidth": true,
31861
- "action": {
31862
- "actionId": "himi.open",
31863
- "params": {
31864
- "screenId": "himi_bookings"
31865
- }
31866
- }
31867
- }
31868
- }
33232
+ "title": "View My Bookings",
33233
+ "style": "secondary",
33234
+ "fullWidth": true,
33235
+ "action": {
33236
+ "actionId": "himi.open",
33237
+ "params": {
33238
+ "screenId": "himi_bookings"
31869
33239
  }
31870
- ]
33240
+ }
31871
33241
  }
31872
33242
  },
31873
33243
  "modifiers": {
31874
- "background": {
31875
- "token": "surfaceElevated"
31876
- },
31877
- "border": {
31878
- "width": 1,
31879
- "color": {
31880
- "token": "border"
31881
- }
31882
- },
31883
- "cornerRadius": 8,
31884
- "padding": {
31885
- "leading": 14,
31886
- "trailing": 14,
31887
- "top": 14,
31888
- "bottom": 14
31889
- },
31890
33244
  "hiddenPath": "$service:himiBookingTime.noSuccess"
31891
33245
  }
31892
33246
  }
@@ -31894,7 +33248,13 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31894
33248
  }
31895
33249
  },
31896
33250
  "modifiers": {
31897
- "hiddenPath": "$service:himiBookingTime.isLoading"
33251
+ "padding": {
33252
+ "leading": 20,
33253
+ "trailing": 20,
33254
+ "top": 18,
33255
+ "bottom": 0
33256
+ },
33257
+ "hiddenPath": "$service:himiBookingTime.notCourse"
31898
33258
  }
31899
33259
  }
31900
33260
  ]
@@ -31903,77 +33263,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31903
33263
  "modifiers": {
31904
33264
  "hiddenPath": "$service:himiBookingTime.isLoading"
31905
33265
  }
31906
- },
31907
- {
31908
- "id": "",
31909
- "body": {
31910
- "package": "himalaya",
31911
- "type": "VStack",
31912
- "props": {
31913
- "spacing": 12,
31914
- "alignment": "center",
31915
- "children": [
31916
- {
31917
- "id": "",
31918
- "body": {
31919
- "package": "himalaya",
31920
- "type": "Icon",
31921
- "props": {
31922
- "name": "calendar",
31923
- "size": 34,
31924
- "tint": "textTertiary"
31925
- }
31926
- },
31927
- "modifiers": {
31928
- "accessibilityRole": "decorative"
31929
- }
31930
- },
31931
- {
31932
- "id": "",
31933
- "body": {
31934
- "package": "himalaya",
31935
- "type": "Text",
31936
- "props": {
31937
- "text": "$service:himiBookingTime.emptyText",
31938
- "style": "bodyEmphasis",
31939
- "color": "textSecondary",
31940
- "collapseWhenEmpty": true
31941
- }
31942
- }
31943
- },
31944
- {
31945
- "id": "himi_time.empty.cta",
31946
- "body": {
31947
- "package": "himalaya",
31948
- "type": "Button",
31949
- "props": {
31950
- "title": "Back to services",
31951
- "style": "secondary",
31952
- "action": {
31953
- "actionId": "himi.open",
31954
- "params": {
31955
- "screenId": "himi_services"
31956
- }
31957
- }
31958
- }
31959
- }
31960
- }
31961
- ]
31962
- }
31963
- },
31964
- "modifiers": {
31965
- "padding": {
31966
- "leading": 24,
31967
- "trailing": 24,
31968
- "top": 24,
31969
- "bottom": 24
31970
- },
31971
- "transition": {
31972
- "enter": "fade",
31973
- "exit": "fade"
31974
- },
31975
- "hiddenPath": "$service:himiBookingTime.noEmpty"
31976
- }
31977
33266
  }
31978
33267
  ]
31979
33268
  }
@@ -31983,9 +33272,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31983
33272
  "token": "surfacePrimary"
31984
33273
  },
31985
33274
  "padding": {
31986
- "leading": 16,
31987
- "trailing": 16,
31988
- "top": 18,
33275
+ "leading": 0,
33276
+ "trailing": 0,
33277
+ "top": 0,
31989
33278
  "bottom": 24
31990
33279
  },
31991
33280
  "onAppear": {
@@ -34246,8 +35535,10 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
34246
35535
  "params": {
34247
35536
  "screenId": "himi_sign_in",
34248
35537
  "mode": "signin",
34249
- "intent": "rsvp"
34250
- }
35538
+ "intent": "rsvp",
35539
+ "modal": "1"
35540
+ },
35541
+ "presentation": "sheet"
34251
35542
  }
34252
35543
  }
34253
35544
  },