@wix/himalaya-cli 0.1439.0 → 0.1441.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/ui/src/index.d.ts +7 -4
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/ui.mjs +2 -2
  3. package/dist/cli.mjs +159 -54
  4. package/dist/preview-assets.generated.bin +0 -0
  5. package/guides/designing-himi-screens.md +5 -1
  6. package/guides/hhp.md +13 -1
  7. package/guides/himi-mcp.md +21 -11
  8. package/guides/sdk-reference.json +3 -3
  9. package/guides/skill.md +1 -1
  10. package/guides/tier-5-add-a-screen.md +11 -0
  11. package/guides/trim-a-template.md +4 -1
  12. package/package.json +2 -2
  13. package/templates/beauty-salon/config.ts +14 -0
  14. package/templates/beauty-salon/dev/index.ts +1359 -1445
  15. package/templates/beauty-salon/himalaya.content.json +3 -0
  16. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/index.ts +4 -1
  17. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +322 -27
  18. package/templates/branded-lite/config.ts +14 -0
  19. package/templates/branded-lite/dev/index.ts +1482 -1603
  20. package/templates/branded-lite/himalaya.content.json +3 -0
  21. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/index.ts +4 -1
  22. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +322 -27
  23. package/templates/community-club/config.ts +14 -0
  24. package/templates/community-club/dev/index.ts +1217 -1121
  25. package/templates/community-club/himalaya.content.json +3 -0
  26. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/index.ts +4 -1
  27. package/templates/community-club/tier5-src/himi-store-account/index.ts +322 -27
  28. package/templates/events-meetups/config.ts +14 -0
  29. package/templates/events-meetups/dev/index.ts +1268 -1172
  30. package/templates/events-meetups/himalaya.content.json +3 -0
  31. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/index.ts +4 -1
  32. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +322 -27
  33. package/templates/gym-fitness/config.ts +14 -0
  34. package/templates/gym-fitness/dev/index.ts +1296 -1389
  35. package/templates/gym-fitness/himalaya.content.json +3 -0
  36. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/index.ts +4 -1
  37. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +322 -27
  38. package/templates/nonprofit-cause/config.ts +14 -0
  39. package/templates/nonprofit-cause/dev/index.ts +1321 -1327
  40. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  41. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/index.ts +4 -1
  42. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +322 -27
  43. package/templates/podcast-creator/config.ts +14 -0
  44. package/templates/podcast-creator/dev/index.ts +1315 -1321
  45. package/templates/podcast-creator/himalaya.content.json +3 -0
  46. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/index.ts +4 -1
  47. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +322 -27
  48. package/templates/portfolio-creative/config.ts +14 -0
  49. package/templates/portfolio-creative/dev/index.ts +1351 -1342
  50. package/templates/portfolio-creative/himalaya.content.json +3 -0
  51. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/index.ts +4 -1
  52. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +322 -27
  53. package/templates/restaurant/config.ts +14 -0
  54. package/templates/restaurant/dev/index.ts +1373 -1296
  55. package/templates/restaurant/himalaya.content.json +3 -0
  56. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/index.ts +4 -1
  57. package/templates/restaurant/tier5-src/himi-store-account/index.ts +322 -27
  58. package/templates/retail-store/config.ts +14 -0
  59. package/templates/retail-store/dev/index.ts +1326 -1310
  60. package/templates/retail-store/himalaya.content.json +3 -0
  61. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/index.ts +4 -1
  62. package/templates/retail-store/tier5-src/himi-store-account/index.ts +322 -27
  63. package/templates/yoga-studio/config.ts +14 -0
  64. package/templates/yoga-studio/dev/index.ts +1358 -1371
  65. package/templates/yoga-studio/himalaya.content.json +3 -0
  66. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/index.ts +4 -1
  67. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +322 -27
@@ -105,7 +105,7 @@ const SCREENS = runtimeSetting({
105
105
  "token": "border"
106
106
  }
107
107
  },
108
- "cornerRadius": 16,
108
+ "cornerRadius": 4,
109
109
  "padding": {
110
110
  "leading": 16,
111
111
  "trailing": 16,
@@ -1084,7 +1084,7 @@ const SCREENS = runtimeSetting({
1084
1084
  "token": "border"
1085
1085
  }
1086
1086
  },
1087
- "cornerRadius": 16,
1087
+ "cornerRadius": 4,
1088
1088
  "padding": {
1089
1089
  "leading": 16,
1090
1090
  "trailing": 16,
@@ -1171,7 +1171,7 @@ const SCREENS = runtimeSetting({
1171
1171
  "token": "border"
1172
1172
  }
1173
1173
  },
1174
- "cornerRadius": 16,
1174
+ "cornerRadius": 4,
1175
1175
  "padding": {
1176
1176
  "leading": 16,
1177
1177
  "trailing": 16,
@@ -1968,50 +1968,26 @@ const SCREENS = runtimeSetting({
1968
1968
  "package": "himalaya",
1969
1969
  "type": "VStack",
1970
1970
  "props": {
1971
- "spacing": 16,
1971
+ "spacing": 0,
1972
1972
  "alignment": "leading",
1973
1973
  "children": [
1974
1974
  {
1975
- "id": "himi_account.title",
1976
- "body": {
1977
- "package": "himalaya",
1978
- "type": "Text",
1979
- "props": {
1980
- "text": "My profile",
1981
- "style": "title1"
1982
- }
1983
- }
1984
- },
1985
- {
1986
- "id": "",
1987
- "body": {
1988
- "package": "himalaya",
1989
- "type": "Text",
1990
- "props": {
1991
- "text": "Orders, RSVPs and saved content in one place.",
1992
- "style": "body",
1993
- "color": "textSecondary"
1994
- }
1995
- }
1996
- },
1997
- {
1998
- "id": "himi_account.login",
1975
+ "id": "himi_account.guest",
1999
1976
  "body": {
2000
1977
  "package": "himalaya",
2001
1978
  "type": "VStack",
2002
1979
  "props": {
2003
- "spacing": 8,
1980
+ "spacing": 0,
2004
1981
  "alignment": "leading",
2005
1982
  "children": [
2006
1983
  {
2007
- "id": "",
1984
+ "id": "himi_account.title",
2008
1985
  "body": {
2009
1986
  "package": "himalaya",
2010
1987
  "type": "Text",
2011
1988
  "props": {
2012
- "text": "$service:himiStoreAccount.authTitle",
2013
- "style": "title2",
2014
- "collapseWhenEmpty": true
1989
+ "text": "Hey, guest",
1990
+ "style": "title1"
2015
1991
  }
2016
1992
  }
2017
1993
  },
@@ -2021,291 +1997,257 @@ const SCREENS = runtimeSetting({
2021
1997
  "package": "himalaya",
2022
1998
  "type": "Text",
2023
1999
  "props": {
2024
- "text": "$service:himiStoreAccount.authBody",
2000
+ "text": "Sign in to see your activity in one place.",
2025
2001
  "style": "body",
2026
- "color": "textSecondary",
2027
- "collapseWhenEmpty": true
2028
- }
2029
- }
2030
- },
2031
- {
2032
- "id": "himi_account.first_name",
2033
- "body": {
2034
- "package": "himalaya",
2035
- "type": "TextField",
2036
- "props": {
2037
- "placeholder": "First name",
2038
- "autoCapitalization": "words",
2039
- "submitLabel": "next",
2040
- "onSubmit": {
2041
- "actionId": "tier5.himiStoreAccount.focusLastName"
2042
- },
2043
- "onChange": {
2044
- "actionId": "tier5.himiStoreAccount.setFirstName"
2045
- }
2002
+ "color": "textSecondary"
2046
2003
  }
2047
2004
  },
2048
2005
  "modifiers": {
2049
- "hiddenPath": "$service:himiStoreAccount.notRegistering"
2006
+ "padding": {
2007
+ "top": 4
2008
+ }
2050
2009
  }
2051
2010
  },
2052
2011
  {
2053
- "id": "himi_account.last_name",
2012
+ "id": "",
2054
2013
  "body": {
2055
2014
  "package": "himalaya",
2056
- "type": "TextField",
2015
+ "type": "VStack",
2057
2016
  "props": {
2058
- "placeholder": "Last name",
2059
- "autoCapitalization": "words",
2060
- "focusPath": "$service:himiStoreAccount.lastNameFocus",
2061
- "submitLabel": "next",
2062
- "onSubmit": {
2063
- "actionId": "tier5.himiStoreAccount.focusEmail"
2064
- },
2065
- "onChange": {
2066
- "actionId": "tier5.himiStoreAccount.setLastName"
2067
- }
2017
+ "spacing": 8,
2018
+ "children": [
2019
+ {
2020
+ "id": "himi_account.signin",
2021
+ "body": {
2022
+ "package": "himalaya",
2023
+ "type": "Button",
2024
+ "props": {
2025
+ "title": "SIGN IN",
2026
+ "style": "primary",
2027
+ "fullWidth": true,
2028
+ "action": {
2029
+ "actionId": "himi.open",
2030
+ "params": {
2031
+ "screenId": "himi_sign_in",
2032
+ "mode": "signin"
2033
+ }
2034
+ }
2035
+ }
2036
+ }
2037
+ },
2038
+ {
2039
+ "id": "himi_account.register",
2040
+ "body": {
2041
+ "package": "himalaya",
2042
+ "type": "Button",
2043
+ "props": {
2044
+ "title": "CREATE ACCOUNT",
2045
+ "style": "secondary",
2046
+ "fullWidth": true,
2047
+ "action": {
2048
+ "actionId": "himi.open",
2049
+ "params": {
2050
+ "screenId": "himi_sign_in",
2051
+ "mode": "register"
2052
+ }
2053
+ }
2054
+ }
2055
+ }
2056
+ }
2057
+ ]
2068
2058
  }
2069
2059
  },
2070
2060
  "modifiers": {
2071
- "hiddenPath": "$service:himiStoreAccount.notRegistering"
2061
+ "fillMaxWidth": true,
2062
+ "padding": {
2063
+ "top": 20
2064
+ }
2072
2065
  }
2073
- },
2066
+ }
2067
+ ]
2068
+ }
2069
+ },
2070
+ "modifiers": {
2071
+ "fillMaxWidth": true,
2072
+ "hiddenPath": "$service:himiStoreAccount.hideGuest"
2073
+ }
2074
+ },
2075
+ {
2076
+ "id": "",
2077
+ "body": {
2078
+ "package": "himalaya",
2079
+ "type": "VStack",
2080
+ "props": {
2081
+ "spacing": 16,
2082
+ "alignment": "leading",
2083
+ "children": [
2074
2084
  {
2075
- "id": "himi_account.email",
2085
+ "id": "himi_account.member",
2076
2086
  "body": {
2077
2087
  "package": "himalaya",
2078
- "type": "TextField",
2088
+ "type": "HStack",
2079
2089
  "props": {
2080
- "placeholder": "Email",
2081
- "keyboard": "email",
2082
- "validation": {
2083
- "required": true,
2084
- "type": "email",
2085
- "mode": "on_blur"
2086
- },
2087
- "errorPath": "$service:himiStoreAccount.emailError",
2088
- "submitLabel": "go",
2089
- "onSubmit": {
2090
- "actionId": "tier5.himiStoreAccount.submit"
2091
- },
2092
- "autoCapitalization": "none",
2093
- "focusPath": "$service:himiStoreAccount.emailFocus",
2094
- "onChange": {
2095
- "actionId": "tier5.himiStoreAccount.setEmail"
2096
- }
2090
+ "spacing": 12,
2091
+ "alignment": "center",
2092
+ "children": [
2093
+ {
2094
+ "id": "himi_account.avatar",
2095
+ "body": {
2096
+ "package": "himalaya",
2097
+ "type": "Image",
2098
+ "props": {
2099
+ "url": "$service:himiStoreAccount.memberImage",
2100
+ "width": 48,
2101
+ "height": 48,
2102
+ "contentMode": "fill",
2103
+ "shape": "circle"
2104
+ }
2105
+ },
2106
+ "modifiers": {
2107
+ "accessibilityRole": "decorative",
2108
+ "hiddenPath": "$service:himiStoreAccount.noMemberImage"
2109
+ }
2110
+ },
2111
+ {
2112
+ "id": "",
2113
+ "body": {
2114
+ "package": "himalaya",
2115
+ "type": "ZStack",
2116
+ "props": {
2117
+ "alignment": "center",
2118
+ "children": [
2119
+ {
2120
+ "id": "",
2121
+ "body": {
2122
+ "package": "himalaya",
2123
+ "type": "Text",
2124
+ "props": {
2125
+ "text": "$service:himiStoreAccount.memberInitials",
2126
+ "style": "title3",
2127
+ "color": "textOnAccent"
2128
+ }
2129
+ }
2130
+ }
2131
+ ]
2132
+ }
2133
+ },
2134
+ "modifiers": {
2135
+ "width": 48,
2136
+ "height": 48,
2137
+ "background": {
2138
+ "token": "accentPrimary"
2139
+ },
2140
+ "cornerRadius": 24,
2141
+ "hiddenPath": "$service:himiStoreAccount.hasMemberImage"
2142
+ }
2143
+ },
2144
+ {
2145
+ "id": "",
2146
+ "body": {
2147
+ "package": "himalaya",
2148
+ "type": "VStack",
2149
+ "props": {
2150
+ "spacing": 2,
2151
+ "alignment": "leading",
2152
+ "children": [
2153
+ {
2154
+ "id": "himi_account.greeting",
2155
+ "body": {
2156
+ "package": "himalaya",
2157
+ "type": "HStack",
2158
+ "props": {
2159
+ "spacing": 6,
2160
+ "alignment": "center",
2161
+ "children": [
2162
+ {
2163
+ "id": "",
2164
+ "body": {
2165
+ "package": "himalaya",
2166
+ "type": "Text",
2167
+ "props": {
2168
+ "text": "Hey,",
2169
+ "style": "title1"
2170
+ }
2171
+ }
2172
+ },
2173
+ {
2174
+ "id": "",
2175
+ "body": {
2176
+ "package": "himalaya",
2177
+ "type": "Text",
2178
+ "props": {
2179
+ "text": "$service:himiStoreAccount.greetingFirstName",
2180
+ "style": "title1",
2181
+ "collapseWhenEmpty": true
2182
+ }
2183
+ }
2184
+ }
2185
+ ]
2186
+ }
2187
+ }
2188
+ },
2189
+ {
2190
+ "id": "",
2191
+ "body": {
2192
+ "package": "himalaya",
2193
+ "type": "Text",
2194
+ "props": {
2195
+ "text": "$service:himiStoreAccount.identityLine",
2196
+ "style": "caption",
2197
+ "color": "accentPrimary",
2198
+ "collapseWhenEmpty": true
2199
+ }
2200
+ }
2201
+ },
2202
+ {
2203
+ "id": "",
2204
+ "body": {
2205
+ "package": "himalaya",
2206
+ "type": "Text",
2207
+ "props": {
2208
+ "text": "$service:himiStoreAccount.memberEmail",
2209
+ "style": "footnote",
2210
+ "color": "textSecondary",
2211
+ "collapseWhenEmpty": true
2212
+ }
2213
+ }
2214
+ }
2215
+ ]
2216
+ }
2217
+ }
2218
+ }
2219
+ ]
2097
2220
  }
2098
2221
  }
2099
2222
  },
2100
2223
  {
2101
- "id": "himi_account.password",
2224
+ "id": "himi_account.return",
2102
2225
  "body": {
2103
2226
  "package": "himalaya",
2104
- "type": "TextField",
2227
+ "type": "Button",
2105
2228
  "props": {
2106
- "placeholder": "Password",
2107
- "secure": true,
2108
- "visibilityToggle": true,
2109
- "validation": {
2110
- "required": true,
2111
- "mode": "on_blur",
2112
- "message": "Enter your password."
2113
- },
2114
- "errorPath": "$service:himiStoreAccount.passwordError",
2115
- "focusPath": "$service:himiStoreAccount.passwordFocus",
2116
- "submitLabel": "go",
2117
- "onSubmit": {
2118
- "actionId": "tier5.himiStoreAccount.submit"
2119
- },
2120
- "autoCapitalization": "none",
2121
- "onChange": {
2122
- "actionId": "tier5.himiStoreAccount.setPassword"
2123
- }
2124
- }
2125
- },
2126
- "modifiers": {
2127
- "hiddenPath": "$service:himiStoreAccount.isRecovering"
2128
- }
2129
- },
2130
- {
2131
- "id": "",
2132
- "body": {
2133
- "package": "himalaya",
2134
- "type": "Text",
2135
- "props": {
2136
- "text": "$service:himiStoreAccount.busyMessage",
2137
- "style": "footnote",
2138
- "collapseWhenEmpty": true
2139
- }
2140
- }
2141
- },
2142
- {
2143
- "id": "himi_account.message",
2144
- "body": {
2145
- "package": "himalaya",
2146
- "type": "Text",
2147
- "props": {
2148
- "text": "$service:himiStoreAccount.message",
2149
- "style": "footnote",
2150
- "color": "textPrimary",
2151
- "collapseWhenEmpty": true
2152
- }
2153
- }
2154
- },
2155
- {
2156
- "id": "himi_account.signin",
2157
- "body": {
2158
- "package": "himalaya",
2159
- "type": "Button",
2160
- "props": {
2161
- "title": "Sign in",
2162
- "style": "primary",
2163
- "fullWidth": true,
2164
- "disabledPath": "$service:himiStoreAccount.authBusy",
2165
- "action": {
2166
- "actionId": "tier5.himiStoreAccount.signIn"
2167
- }
2168
- }
2169
- },
2170
- "modifiers": {
2171
- "hiddenPath": "$service:himiStoreAccount.hideSignInChoices"
2172
- }
2173
- },
2174
- {
2175
- "id": "himi_account.register",
2176
- "body": {
2177
- "package": "himalaya",
2178
- "type": "Button",
2179
- "props": {
2180
- "title": "Create account",
2181
- "style": "primary",
2182
- "fullWidth": true,
2183
- "disabledPath": "$service:himiStoreAccount.authBusy",
2184
- "action": {
2185
- "actionId": "tier5.himiStoreAccount.register"
2186
- }
2187
- }
2188
- },
2189
- "modifiers": {
2190
- "hiddenPath": "$service:himiStoreAccount.notRegistering"
2191
- }
2192
- },
2193
- {
2194
- "id": "himi_account.reset_password",
2195
- "body": {
2196
- "package": "himalaya",
2197
- "type": "Button",
2198
- "props": {
2199
- "title": "Send reset link",
2229
+ "title": "$service:himiStoreAccount.returnCta",
2200
2230
  "style": "primary",
2201
2231
  "fullWidth": true,
2202
- "disabledPath": "$service:himiStoreAccount.authBusy",
2203
- "action": {
2204
- "actionId": "tier5.himiStoreAccount.resetPassword"
2205
- }
2206
- }
2207
- },
2208
- "modifiers": {
2209
- "hiddenPath": "$service:himiStoreAccount.notRecovering"
2210
- }
2211
- },
2212
- {
2213
- "id": "himi_account.show_recovery",
2214
- "body": {
2215
- "package": "himalaya",
2216
- "type": "Button",
2217
- "props": {
2218
- "title": "Forgot password?",
2219
- "style": "secondary",
2220
- "fullWidth": true,
2221
- "disabledPath": "$service:himiStoreAccount.authBusy",
2222
- "action": {
2223
- "actionId": "tier5.himiStoreAccount.showRecovery"
2224
- }
2225
- }
2226
- },
2227
- "modifiers": {
2228
- "hiddenPath": "$service:himiStoreAccount.hideSignInChoices"
2229
- }
2230
- },
2231
- {
2232
- "id": "himi_account.show_register",
2233
- "body": {
2234
- "package": "himalaya",
2235
- "type": "Button",
2236
- "props": {
2237
- "title": "Register",
2238
- "style": "secondary",
2239
- "fullWidth": true,
2240
- "disabledPath": "$service:himiStoreAccount.authBusy",
2241
- "action": {
2242
- "actionId": "tier5.himiStoreAccount.showRegister"
2243
- }
2244
- }
2245
- },
2246
- "modifiers": {
2247
- "hiddenPath": "$service:himiStoreAccount.hideSignInChoices"
2248
- }
2249
- },
2250
- {
2251
- "id": "himi_account.show_signin",
2252
- "body": {
2253
- "package": "himalaya",
2254
- "type": "Button",
2255
- "props": {
2256
- "title": "Sign in instead",
2257
- "style": "secondary",
2258
- "fullWidth": true,
2259
- "disabledPath": "$service:himiStoreAccount.authBusy",
2260
- "action": {
2261
- "actionId": "tier5.himiStoreAccount.showSignIn"
2262
- }
2263
- }
2264
- },
2265
- "modifiers": {
2266
- "hiddenPath": "$service:himiStoreAccount.notRegistering"
2267
- }
2268
- },
2269
- {
2270
- "id": "himi_account.cancel_recovery",
2271
- "body": {
2272
- "package": "himalaya",
2273
- "type": "Button",
2274
- "props": {
2275
- "title": "Back to sign in",
2276
- "style": "secondary",
2277
- "fullWidth": true,
2278
- "disabledPath": "$service:himiStoreAccount.authBusy",
2279
2232
  "action": {
2280
- "actionId": "tier5.himiStoreAccount.showSignIn"
2233
+ "actionId": "himi.open",
2234
+ "params": {
2235
+ "screenId": "$service:himiStoreAccount.returnScreenId",
2236
+ "id": "$service:himiStoreAccount.returnId",
2237
+ "channelId": "$service:himiStoreAccount.returnChannelId"
2238
+ }
2281
2239
  }
2282
2240
  }
2283
2241
  },
2284
2242
  "modifiers": {
2285
- "hiddenPath": "$service:himiStoreAccount.notRecovering"
2243
+ "hiddenPath": "$service:himiStoreAccount.noReturnPath"
2286
2244
  }
2287
2245
  }
2288
2246
  ]
2289
2247
  }
2290
2248
  },
2291
2249
  "modifiers": {
2292
- "background": {
2293
- "token": "surfaceElevated"
2294
- },
2295
- "border": {
2296
- "width": 1,
2297
- "color": {
2298
- "token": "border"
2299
- }
2300
- },
2301
- "cornerRadius": 16,
2302
- "padding": {
2303
- "leading": 16,
2304
- "trailing": 16,
2305
- "top": 16,
2306
- "bottom": 16
2307
- },
2308
- "hiddenPath": "$service:himiStoreAccount.isMember"
2250
+ "hiddenPath": "$service:himiStoreAccount.hideMember"
2309
2251
  }
2310
2252
  },
2311
2253
  {
@@ -2314,151 +2256,88 @@ const SCREENS = runtimeSetting({
2314
2256
  "package": "himalaya",
2315
2257
  "type": "VStack",
2316
2258
  "props": {
2317
- "spacing": 12,
2259
+ "spacing": 0,
2260
+ "alignment": "leading",
2318
2261
  "children": [
2319
2262
  {
2320
- "id": "himi_account.member",
2263
+ "id": "himi_account.view_profile",
2321
2264
  "body": {
2322
2265
  "package": "himalaya",
2323
- "type": "VStack",
2266
+ "type": "HStack",
2324
2267
  "props": {
2325
- "spacing": 8,
2326
- "alignment": "leading",
2268
+ "spacing": 12,
2269
+ "alignment": "center",
2327
2270
  "children": [
2328
2271
  {
2329
2272
  "id": "",
2330
2273
  "body": {
2331
2274
  "package": "himalaya",
2332
- "type": "HStack",
2275
+ "type": "ZStack",
2333
2276
  "props": {
2334
- "spacing": 12,
2277
+ "alignment": "center",
2335
2278
  "children": [
2336
- {
2337
- "id": "himi_account.avatar",
2338
- "body": {
2339
- "package": "himalaya",
2340
- "type": "Image",
2341
- "props": {
2342
- "url": "$service:himiStoreAccount.memberImage",
2343
- "width": 64,
2344
- "height": 64,
2345
- "contentMode": "fill",
2346
- "shape": "circle"
2347
- }
2348
- },
2349
- "modifiers": {
2350
- "accessibilityRole": "decorative",
2351
- "hiddenPath": "$service:himiStoreAccount.noMemberImage"
2352
- }
2353
- },
2354
2279
  {
2355
2280
  "id": "",
2356
2281
  "body": {
2357
2282
  "package": "himalaya",
2358
- "type": "ZStack",
2283
+ "type": "Icon",
2359
2284
  "props": {
2360
- "alignment": "center",
2361
- "children": [
2362
- {
2363
- "id": "",
2364
- "body": {
2365
- "package": "himalaya",
2366
- "type": "Text",
2367
- "props": {
2368
- "text": "$service:himiStoreAccount.memberInitials",
2369
- "style": "title2",
2370
- "color": "textOnAccent"
2371
- }
2372
- }
2373
- }
2374
- ]
2285
+ "name": "person",
2286
+ "size": 20,
2287
+ "tint": "textPrimary"
2375
2288
  }
2376
2289
  },
2377
2290
  "modifiers": {
2378
- "width": 64,
2379
- "height": 64,
2380
- "background": {
2381
- "token": "accentPrimary"
2382
- },
2383
- "cornerRadius": 32,
2384
- "hiddenPath": "$service:himiStoreAccount.hasMemberImage"
2385
- }
2386
- },
2387
- {
2388
- "id": "",
2389
- "body": {
2390
- "package": "himalaya",
2391
- "type": "VStack",
2392
- "props": {
2393
- "spacing": 3,
2394
- "alignment": "leading",
2395
- "children": [
2396
- {
2397
- "id": "",
2398
- "body": {
2399
- "package": "himalaya",
2400
- "type": "Text",
2401
- "props": {
2402
- "text": "$service:himiStoreAccount.identityLine",
2403
- "style": "caption",
2404
- "color": "accentPrimary",
2405
- "collapseWhenEmpty": true
2406
- }
2407
- }
2408
- },
2409
- {
2410
- "id": "",
2411
- "body": {
2412
- "package": "himalaya",
2413
- "type": "Text",
2414
- "props": {
2415
- "text": "$service:himiStoreAccount.memberName",
2416
- "style": "title2",
2417
- "collapseWhenEmpty": true
2418
- }
2419
- }
2420
- },
2421
- {
2422
- "id": "",
2423
- "body": {
2424
- "package": "himalaya",
2425
- "type": "Text",
2426
- "props": {
2427
- "text": "$service:himiStoreAccount.memberEmail",
2428
- "style": "body",
2429
- "color": "textSecondary",
2430
- "collapseWhenEmpty": true
2431
- }
2432
- }
2433
- }
2434
- ]
2435
- }
2291
+ "accessibilityRole": "decorative"
2436
2292
  }
2437
2293
  }
2438
2294
  ]
2439
2295
  }
2296
+ },
2297
+ "modifiers": {
2298
+ "width": 24,
2299
+ "height": 24
2300
+ }
2301
+ },
2302
+ {
2303
+ "id": "",
2304
+ "body": {
2305
+ "package": "himalaya",
2306
+ "type": "Text",
2307
+ "props": {
2308
+ "text": "View profile",
2309
+ "style": "body",
2310
+ "maxLines": 1
2311
+ }
2312
+ }
2313
+ },
2314
+ {
2315
+ "id": "",
2316
+ "body": {
2317
+ "package": "himalaya",
2318
+ "type": "Spacer",
2319
+ "props": {}
2440
2320
  }
2441
2321
  }
2442
2322
  ]
2443
2323
  }
2444
2324
  },
2445
2325
  "modifiers": {
2446
- "background": {
2447
- "token": "surfaceElevated"
2326
+ "fillMaxWidth": true,
2327
+ "padding": {
2328
+ "top": 12,
2329
+ "bottom": 12
2448
2330
  },
2449
- "border": {
2450
- "width": 1,
2451
- "color": {
2452
- "token": "border"
2331
+ "onTap": {
2332
+ "actionId": "tier5.himiStoreAccount.openMember",
2333
+ "params": {
2334
+ "screenId": "himi_account_settings"
2453
2335
  }
2454
2336
  },
2455
- "cornerRadius": 16,
2456
- "padding": {
2457
- "leading": 16,
2458
- "trailing": 16,
2459
- "top": 16,
2460
- "bottom": 16
2461
- }
2337
+ "pressFeedback": "highlight",
2338
+ "haptic": "light",
2339
+ "accessibilityRole": "button",
2340
+ "accessibilityLabel": "View profile"
2462
2341
  }
2463
2342
  },
2464
2343
  {
@@ -2468,20 +2347,37 @@ const SCREENS = runtimeSetting({
2468
2347
  "type": "HStack",
2469
2348
  "props": {
2470
2349
  "spacing": 12,
2350
+ "alignment": "center",
2471
2351
  "children": [
2472
2352
  {
2473
2353
  "id": "",
2474
2354
  "body": {
2475
2355
  "package": "himalaya",
2476
- "type": "Icon",
2356
+ "type": "ZStack",
2477
2357
  "props": {
2478
- "name": "bag",
2479
- "size": 18,
2480
- "tint": "accentPrimary"
2358
+ "alignment": "center",
2359
+ "children": [
2360
+ {
2361
+ "id": "",
2362
+ "body": {
2363
+ "package": "himalaya",
2364
+ "type": "Icon",
2365
+ "props": {
2366
+ "name": "bag",
2367
+ "size": 20,
2368
+ "tint": "textPrimary"
2369
+ }
2370
+ },
2371
+ "modifiers": {
2372
+ "accessibilityRole": "decorative"
2373
+ }
2374
+ }
2375
+ ]
2481
2376
  }
2482
2377
  },
2483
2378
  "modifiers": {
2484
- "accessibilityRole": "decorative"
2379
+ "width": 24,
2380
+ "height": 24
2485
2381
  }
2486
2382
  },
2487
2383
  {
@@ -2491,7 +2387,8 @@ const SCREENS = runtimeSetting({
2491
2387
  "type": "Text",
2492
2388
  "props": {
2493
2389
  "text": "My orders",
2494
- "style": "bodyEmphasis"
2390
+ "style": "body",
2391
+ "maxLines": 1
2495
2392
  }
2496
2393
  }
2497
2394
  },
@@ -2502,74 +2399,66 @@ const SCREENS = runtimeSetting({
2502
2399
  "type": "Spacer",
2503
2400
  "props": {}
2504
2401
  }
2505
- },
2506
- {
2507
- "id": "",
2508
- "body": {
2509
- "package": "himalaya",
2510
- "type": "Icon",
2511
- "props": {
2512
- "name": "chevron_right",
2513
- "size": 16,
2514
- "tint": "textTertiary"
2515
- }
2516
- },
2517
- "modifiers": {
2518
- "accessibilityRole": "decorative"
2519
- }
2520
2402
  }
2521
2403
  ]
2522
2404
  }
2523
2405
  },
2524
2406
  "modifiers": {
2525
- "background": {
2526
- "token": "surfaceElevated"
2527
- },
2528
- "border": {
2529
- "width": 1,
2530
- "color": {
2531
- "token": "border"
2532
- }
2533
- },
2534
- "cornerRadius": 8,
2407
+ "fillMaxWidth": true,
2535
2408
  "padding": {
2536
- "leading": 14,
2537
- "trailing": 14,
2538
- "top": 13,
2539
- "bottom": 13
2409
+ "top": 12,
2410
+ "bottom": 12
2540
2411
  },
2541
2412
  "onTap": {
2542
- "actionId": "himi.open",
2413
+ "actionId": "tier5.himiStoreAccount.openMember",
2543
2414
  "params": {
2544
2415
  "screenId": "himi_orders"
2545
2416
  }
2546
2417
  },
2547
- "pressFeedback": "scale",
2418
+ "pressFeedback": "highlight",
2548
2419
  "haptic": "light",
2420
+ "accessibilityRole": "button",
2549
2421
  "accessibilityLabel": "My orders"
2550
2422
  }
2551
2423
  },
2552
2424
  {
2553
- "id": "himi_account.cart",
2425
+ "id": "himi_account.events",
2554
2426
  "body": {
2555
2427
  "package": "himalaya",
2556
2428
  "type": "HStack",
2557
2429
  "props": {
2558
2430
  "spacing": 12,
2431
+ "alignment": "center",
2559
2432
  "children": [
2560
2433
  {
2561
2434
  "id": "",
2562
2435
  "body": {
2563
2436
  "package": "himalaya",
2564
- "type": "Icon",
2437
+ "type": "ZStack",
2565
2438
  "props": {
2566
- "name": "cart",
2567
- "size": 18,
2568
- "tint": "accentPrimary"
2439
+ "alignment": "center",
2440
+ "children": [
2441
+ {
2442
+ "id": "",
2443
+ "body": {
2444
+ "package": "himalaya",
2445
+ "type": "Icon",
2446
+ "props": {
2447
+ "name": "calendar",
2448
+ "size": 20,
2449
+ "tint": "textPrimary"
2450
+ }
2451
+ },
2452
+ "modifiers": {
2453
+ "accessibilityRole": "decorative"
2454
+ }
2455
+ }
2456
+ ]
2569
2457
  }
2570
2458
  },
2571
2459
  "modifiers": {
2572
- "accessibilityRole": "decorative"
2460
+ "width": 24,
2461
+ "height": 24
2573
2462
  }
2574
2463
  },
2575
2464
  {
@@ -2578,8 +2467,9 @@ const SCREENS = runtimeSetting({
2578
2467
  "package": "himalaya",
2579
2468
  "type": "Text",
2580
2469
  "props": {
2581
- "text": "Cart",
2582
- "style": "bodyEmphasis"
2470
+ "text": "My events",
2471
+ "style": "body",
2472
+ "maxLines": 1
2583
2473
  }
2584
2474
  }
2585
2475
  },
@@ -2590,74 +2480,66 @@ const SCREENS = runtimeSetting({
2590
2480
  "type": "Spacer",
2591
2481
  "props": {}
2592
2482
  }
2593
- },
2594
- {
2595
- "id": "",
2596
- "body": {
2597
- "package": "himalaya",
2598
- "type": "Icon",
2599
- "props": {
2600
- "name": "chevron_right",
2601
- "size": 16,
2602
- "tint": "textTertiary"
2603
- }
2604
- },
2605
- "modifiers": {
2606
- "accessibilityRole": "decorative"
2607
- }
2608
2483
  }
2609
2484
  ]
2610
2485
  }
2611
2486
  },
2612
2487
  "modifiers": {
2613
- "background": {
2614
- "token": "surfaceElevated"
2615
- },
2616
- "border": {
2617
- "width": 1,
2618
- "color": {
2619
- "token": "border"
2620
- }
2621
- },
2622
- "cornerRadius": 8,
2488
+ "fillMaxWidth": true,
2623
2489
  "padding": {
2624
- "leading": 14,
2625
- "trailing": 14,
2626
- "top": 13,
2627
- "bottom": 13
2490
+ "top": 12,
2491
+ "bottom": 12
2628
2492
  },
2629
2493
  "onTap": {
2630
- "actionId": "himi.open",
2494
+ "actionId": "tier5.himiStoreAccount.openMember",
2631
2495
  "params": {
2632
- "screenId": "himi_cart"
2496
+ "screenId": "himi_my_events"
2633
2497
  }
2634
2498
  },
2635
- "pressFeedback": "scale",
2499
+ "pressFeedback": "highlight",
2636
2500
  "haptic": "light",
2637
- "accessibilityLabel": "Cart"
2501
+ "accessibilityRole": "button",
2502
+ "accessibilityLabel": "My events"
2638
2503
  }
2639
2504
  },
2640
2505
  {
2641
- "id": "himi_account.events",
2506
+ "id": "himi_account.saved",
2642
2507
  "body": {
2643
2508
  "package": "himalaya",
2644
2509
  "type": "HStack",
2645
2510
  "props": {
2646
2511
  "spacing": 12,
2512
+ "alignment": "center",
2647
2513
  "children": [
2648
2514
  {
2649
2515
  "id": "",
2650
2516
  "body": {
2651
2517
  "package": "himalaya",
2652
- "type": "Icon",
2518
+ "type": "ZStack",
2653
2519
  "props": {
2654
- "name": "calendar",
2655
- "size": 18,
2656
- "tint": "accentPrimary"
2520
+ "alignment": "center",
2521
+ "children": [
2522
+ {
2523
+ "id": "",
2524
+ "body": {
2525
+ "package": "himalaya",
2526
+ "type": "Icon",
2527
+ "props": {
2528
+ "name": "bookmark",
2529
+ "size": 20,
2530
+ "tint": "textPrimary"
2531
+ }
2532
+ },
2533
+ "modifiers": {
2534
+ "accessibilityRole": "decorative"
2535
+ }
2536
+ }
2537
+ ]
2657
2538
  }
2658
2539
  },
2659
2540
  "modifiers": {
2660
- "accessibilityRole": "decorative"
2541
+ "width": 24,
2542
+ "height": 24
2661
2543
  }
2662
2544
  },
2663
2545
  {
@@ -2666,8 +2548,9 @@ const SCREENS = runtimeSetting({
2666
2548
  "package": "himalaya",
2667
2549
  "type": "Text",
2668
2550
  "props": {
2669
- "text": "My events",
2670
- "style": "bodyEmphasis"
2551
+ "text": "My saved posts",
2552
+ "style": "body",
2553
+ "maxLines": 1
2671
2554
  }
2672
2555
  }
2673
2556
  },
@@ -2678,162 +2561,66 @@ const SCREENS = runtimeSetting({
2678
2561
  "type": "Spacer",
2679
2562
  "props": {}
2680
2563
  }
2681
- },
2682
- {
2683
- "id": "",
2684
- "body": {
2685
- "package": "himalaya",
2686
- "type": "Icon",
2687
- "props": {
2688
- "name": "chevron_right",
2689
- "size": 16,
2690
- "tint": "textTertiary"
2691
- }
2692
- },
2693
- "modifiers": {
2694
- "accessibilityRole": "decorative"
2695
- }
2696
2564
  }
2697
2565
  ]
2698
2566
  }
2699
2567
  },
2700
2568
  "modifiers": {
2701
- "background": {
2702
- "token": "surfaceElevated"
2703
- },
2704
- "border": {
2705
- "width": 1,
2706
- "color": {
2707
- "token": "border"
2708
- }
2709
- },
2710
- "cornerRadius": 8,
2569
+ "fillMaxWidth": true,
2711
2570
  "padding": {
2712
- "leading": 14,
2713
- "trailing": 14,
2714
- "top": 13,
2715
- "bottom": 13
2571
+ "top": 12,
2572
+ "bottom": 12
2716
2573
  },
2717
2574
  "onTap": {
2718
2575
  "actionId": "himi.open",
2719
2576
  "params": {
2720
- "screenId": "himi_my_events"
2577
+ "screenId": "himi_saved"
2721
2578
  }
2722
2579
  },
2723
- "pressFeedback": "scale",
2580
+ "pressFeedback": "highlight",
2724
2581
  "haptic": "light",
2725
- "accessibilityLabel": "My events"
2582
+ "accessibilityRole": "button",
2583
+ "accessibilityLabel": "My saved posts"
2726
2584
  }
2727
2585
  },
2728
2586
  {
2729
- "id": "himi_account.saved",
2587
+ "id": "himi_account.restore",
2730
2588
  "body": {
2731
2589
  "package": "himalaya",
2732
2590
  "type": "HStack",
2733
2591
  "props": {
2734
2592
  "spacing": 12,
2593
+ "alignment": "center",
2735
2594
  "children": [
2736
2595
  {
2737
2596
  "id": "",
2738
2597
  "body": {
2739
2598
  "package": "himalaya",
2740
- "type": "Icon",
2599
+ "type": "ZStack",
2741
2600
  "props": {
2742
- "name": "bookmark",
2743
- "size": 18,
2744
- "tint": "accentPrimary"
2745
- }
2746
- },
2747
- "modifiers": {
2748
- "accessibilityRole": "decorative"
2749
- }
2750
- },
2751
- {
2752
- "id": "",
2753
- "body": {
2754
- "package": "himalaya",
2755
- "type": "Text",
2756
- "props": {
2757
- "text": "Saved posts",
2758
- "style": "bodyEmphasis"
2759
- }
2760
- }
2761
- },
2762
- {
2763
- "id": "",
2764
- "body": {
2765
- "package": "himalaya",
2766
- "type": "Spacer",
2767
- "props": {}
2768
- }
2769
- },
2770
- {
2771
- "id": "",
2772
- "body": {
2773
- "package": "himalaya",
2774
- "type": "Icon",
2775
- "props": {
2776
- "name": "chevron_right",
2777
- "size": 16,
2778
- "tint": "textTertiary"
2779
- }
2780
- },
2781
- "modifiers": {
2782
- "accessibilityRole": "decorative"
2783
- }
2784
- }
2785
- ]
2786
- }
2787
- },
2788
- "modifiers": {
2789
- "background": {
2790
- "token": "surfaceElevated"
2791
- },
2792
- "border": {
2793
- "width": 1,
2794
- "color": {
2795
- "token": "border"
2796
- }
2797
- },
2798
- "cornerRadius": 8,
2799
- "padding": {
2800
- "leading": 14,
2801
- "trailing": 14,
2802
- "top": 13,
2803
- "bottom": 13
2804
- },
2805
- "onTap": {
2806
- "actionId": "himi.open",
2807
- "params": {
2808
- "screenId": "himi_saved"
2809
- }
2810
- },
2811
- "pressFeedback": "scale",
2812
- "haptic": "light",
2813
- "accessibilityLabel": "Saved posts"
2814
- }
2815
- },
2816
- {
2817
- "id": "himi_account.restore",
2818
- "body": {
2819
- "package": "himalaya",
2820
- "type": "HStack",
2821
- "props": {
2822
- "spacing": 12,
2823
- "children": [
2824
- {
2825
- "id": "",
2826
- "body": {
2827
- "package": "himalaya",
2828
- "type": "Icon",
2829
- "props": {
2830
- "name": "refresh",
2831
- "size": 18,
2832
- "tint": "accentPrimary"
2601
+ "alignment": "center",
2602
+ "children": [
2603
+ {
2604
+ "id": "",
2605
+ "body": {
2606
+ "package": "himalaya",
2607
+ "type": "Icon",
2608
+ "props": {
2609
+ "name": "refresh",
2610
+ "size": 20,
2611
+ "tint": "textPrimary"
2612
+ }
2613
+ },
2614
+ "modifiers": {
2615
+ "accessibilityRole": "decorative"
2616
+ }
2617
+ }
2618
+ ]
2833
2619
  }
2834
2620
  },
2835
2621
  "modifiers": {
2836
- "accessibilityRole": "decorative"
2622
+ "width": 24,
2623
+ "height": 24
2837
2624
  }
2838
2625
  },
2839
2626
  {
@@ -2843,7 +2630,8 @@ const SCREENS = runtimeSetting({
2843
2630
  "type": "Text",
2844
2631
  "props": {
2845
2632
  "text": "$service:himiStoreAccount.restoreLabel",
2846
- "style": "bodyEmphasis"
2633
+ "style": "body",
2634
+ "maxLines": 1
2847
2635
  }
2848
2636
  }
2849
2637
  },
@@ -2859,27 +2647,17 @@ const SCREENS = runtimeSetting({
2859
2647
  }
2860
2648
  },
2861
2649
  "modifiers": {
2862
- "background": {
2863
- "token": "surfaceElevated"
2864
- },
2865
- "border": {
2866
- "width": 1,
2867
- "color": {
2868
- "token": "border"
2869
- }
2870
- },
2871
- "cornerRadius": 8,
2650
+ "fillMaxWidth": true,
2872
2651
  "padding": {
2873
- "leading": 14,
2874
- "trailing": 14,
2875
- "top": 13,
2876
- "bottom": 13
2652
+ "top": 12,
2653
+ "bottom": 12
2877
2654
  },
2878
2655
  "onTap": {
2879
2656
  "actionId": "tier5.himiStoreAccount.iapRestore"
2880
2657
  },
2881
- "pressFeedback": "scale",
2658
+ "pressFeedback": "highlight",
2882
2659
  "haptic": "light",
2660
+ "accessibilityRole": "button",
2883
2661
  "accessibilityLabel": "$service:himiStoreAccount.restoreLabel",
2884
2662
  "hiddenPath": "$service:himiStoreAccount.restoreHidden"
2885
2663
  }
@@ -2907,20 +2685,37 @@ const SCREENS = runtimeSetting({
2907
2685
  "type": "HStack",
2908
2686
  "props": {
2909
2687
  "spacing": 12,
2688
+ "alignment": "center",
2910
2689
  "children": [
2911
2690
  {
2912
2691
  "id": "",
2913
2692
  "body": {
2914
2693
  "package": "himalaya",
2915
- "type": "Icon",
2694
+ "type": "ZStack",
2916
2695
  "props": {
2917
- "name": "location",
2918
- "size": 18,
2919
- "tint": "accentPrimary"
2696
+ "alignment": "center",
2697
+ "children": [
2698
+ {
2699
+ "id": "",
2700
+ "body": {
2701
+ "package": "himalaya",
2702
+ "type": "Icon",
2703
+ "props": {
2704
+ "name": "location",
2705
+ "size": 20,
2706
+ "tint": "textPrimary"
2707
+ }
2708
+ },
2709
+ "modifiers": {
2710
+ "accessibilityRole": "decorative"
2711
+ }
2712
+ }
2713
+ ]
2920
2714
  }
2921
2715
  },
2922
2716
  "modifiers": {
2923
- "accessibilityRole": "decorative"
2717
+ "width": 24,
2718
+ "height": 24
2924
2719
  }
2925
2720
  },
2926
2721
  {
@@ -2930,7 +2725,8 @@ const SCREENS = runtimeSetting({
2930
2725
  "type": "Text",
2931
2726
  "props": {
2932
2727
  "text": "My addresses",
2933
- "style": "bodyEmphasis"
2728
+ "style": "body",
2729
+ "maxLines": 1
2934
2730
  }
2935
2731
  }
2936
2732
  },
@@ -2941,50 +2737,25 @@ const SCREENS = runtimeSetting({
2941
2737
  "type": "Spacer",
2942
2738
  "props": {}
2943
2739
  }
2944
- },
2945
- {
2946
- "id": "",
2947
- "body": {
2948
- "package": "himalaya",
2949
- "type": "Icon",
2950
- "props": {
2951
- "name": "chevron_right",
2952
- "size": 16,
2953
- "tint": "textTertiary"
2954
- }
2955
- },
2956
- "modifiers": {
2957
- "accessibilityRole": "decorative"
2958
- }
2959
2740
  }
2960
2741
  ]
2961
2742
  }
2962
2743
  },
2963
2744
  "modifiers": {
2964
- "background": {
2965
- "token": "surfaceElevated"
2966
- },
2967
- "border": {
2968
- "width": 1,
2969
- "color": {
2970
- "token": "border"
2971
- }
2972
- },
2973
- "cornerRadius": 8,
2745
+ "fillMaxWidth": true,
2974
2746
  "padding": {
2975
- "leading": 14,
2976
- "trailing": 14,
2977
- "top": 13,
2978
- "bottom": 13
2747
+ "top": 12,
2748
+ "bottom": 12
2979
2749
  },
2980
2750
  "onTap": {
2981
- "actionId": "himi.open",
2751
+ "actionId": "tier5.himiStoreAccount.openMember",
2982
2752
  "params": {
2983
2753
  "screenId": "himi_addresses"
2984
2754
  }
2985
2755
  },
2986
- "pressFeedback": "scale",
2756
+ "pressFeedback": "highlight",
2987
2757
  "haptic": "light",
2758
+ "accessibilityRole": "button",
2988
2759
  "accessibilityLabel": "My addresses",
2989
2760
  "hiddenPath": "$service:himiStoreAccount.noMemberAddresses"
2990
2761
  }
@@ -2996,20 +2767,37 @@ const SCREENS = runtimeSetting({
2996
2767
  "type": "HStack",
2997
2768
  "props": {
2998
2769
  "spacing": 12,
2770
+ "alignment": "center",
2999
2771
  "children": [
3000
2772
  {
3001
2773
  "id": "",
3002
2774
  "body": {
3003
2775
  "package": "himalaya",
3004
- "type": "Icon",
2776
+ "type": "ZStack",
3005
2777
  "props": {
3006
- "name": "lock",
3007
- "size": 18,
3008
- "tint": "accentPrimary"
2778
+ "alignment": "center",
2779
+ "children": [
2780
+ {
2781
+ "id": "",
2782
+ "body": {
2783
+ "package": "himalaya",
2784
+ "type": "Icon",
2785
+ "props": {
2786
+ "name": "lock",
2787
+ "size": 20,
2788
+ "tint": "textPrimary"
2789
+ }
2790
+ },
2791
+ "modifiers": {
2792
+ "accessibilityRole": "decorative"
2793
+ }
2794
+ }
2795
+ ]
3009
2796
  }
3010
2797
  },
3011
2798
  "modifiers": {
3012
- "accessibilityRole": "decorative"
2799
+ "width": 24,
2800
+ "height": 24
3013
2801
  }
3014
2802
  },
3015
2803
  {
@@ -3019,7 +2807,8 @@ const SCREENS = runtimeSetting({
3019
2807
  "type": "Text",
3020
2808
  "props": {
3021
2809
  "text": "My wallet",
3022
- "style": "bodyEmphasis"
2810
+ "style": "body",
2811
+ "maxLines": 1
3023
2812
  }
3024
2813
  }
3025
2814
  },
@@ -3030,105 +2819,92 @@ const SCREENS = runtimeSetting({
3030
2819
  "type": "Spacer",
3031
2820
  "props": {}
3032
2821
  }
3033
- },
3034
- {
3035
- "id": "",
3036
- "body": {
3037
- "package": "himalaya",
3038
- "type": "Icon",
3039
- "props": {
3040
- "name": "chevron_right",
3041
- "size": 16,
3042
- "tint": "textTertiary"
3043
- }
3044
- },
3045
- "modifiers": {
3046
- "accessibilityRole": "decorative"
3047
- }
3048
2822
  }
3049
2823
  ]
3050
2824
  }
3051
2825
  },
3052
2826
  "modifiers": {
3053
- "background": {
3054
- "token": "surfaceElevated"
3055
- },
3056
- "border": {
3057
- "width": 1,
3058
- "color": {
3059
- "token": "border"
3060
- }
3061
- },
3062
- "cornerRadius": 8,
2827
+ "fillMaxWidth": true,
3063
2828
  "padding": {
3064
- "leading": 14,
3065
- "trailing": 14,
3066
- "top": 13,
3067
- "bottom": 13
2829
+ "top": 12,
2830
+ "bottom": 12
3068
2831
  },
3069
2832
  "onTap": {
3070
- "actionId": "himi.open",
2833
+ "actionId": "tier5.himiStoreAccount.openMember",
3071
2834
  "params": {
3072
2835
  "screenId": "himi_wallet"
3073
2836
  }
3074
2837
  },
3075
- "pressFeedback": "scale",
2838
+ "pressFeedback": "highlight",
3076
2839
  "haptic": "light",
2840
+ "accessibilityRole": "button",
3077
2841
  "accessibilityLabel": "My wallet",
3078
2842
  "hiddenPath": "$service:himiStoreAccount.noMemberWallet"
3079
2843
  }
3080
- },
2844
+ }
2845
+ ]
2846
+ }
2847
+ },
2848
+ "modifiers": {
2849
+ "fillMaxWidth": true,
2850
+ "padding": {
2851
+ "top": 24
2852
+ }
2853
+ }
2854
+ },
2855
+ {
2856
+ "id": "",
2857
+ "body": {
2858
+ "package": "himalaya",
2859
+ "type": "VStack",
2860
+ "props": {
2861
+ "spacing": 0,
2862
+ "children": [
3081
2863
  {
3082
- "id": "himi_account.view_profile",
2864
+ "id": "",
3083
2865
  "body": {
3084
2866
  "package": "himalaya",
3085
- "type": "HStack",
3086
- "props": {
3087
- "spacing": 12,
3088
- "children": [
3089
- {
3090
- "id": "",
3091
- "body": {
3092
- "package": "himalaya",
3093
- "type": "Icon",
3094
- "props": {
3095
- "name": "person",
3096
- "size": 18,
3097
- "tint": "accentPrimary"
3098
- }
3099
- },
3100
- "modifiers": {
3101
- "accessibilityRole": "decorative"
3102
- }
3103
- },
3104
- {
3105
- "id": "",
3106
- "body": {
3107
- "package": "himalaya",
3108
- "type": "Text",
3109
- "props": {
3110
- "text": "View profile",
3111
- "style": "bodyEmphasis"
3112
- }
3113
- }
3114
- },
3115
- {
3116
- "id": "",
3117
- "body": {
3118
- "package": "himalaya",
3119
- "type": "Spacer",
3120
- "props": {}
3121
- }
3122
- },
2867
+ "type": "Divider",
2868
+ "props": {}
2869
+ }
2870
+ }
2871
+ ]
2872
+ }
2873
+ },
2874
+ "modifiers": {
2875
+ "fillMaxWidth": true,
2876
+ "padding": {
2877
+ "top": 8,
2878
+ "bottom": 8
2879
+ }
2880
+ }
2881
+ },
2882
+ {
2883
+ "id": "himi_account.language",
2884
+ "body": {
2885
+ "package": "himalaya",
2886
+ "type": "HStack",
2887
+ "props": {
2888
+ "spacing": 12,
2889
+ "alignment": "center",
2890
+ "children": [
2891
+ {
2892
+ "id": "",
2893
+ "body": {
2894
+ "package": "himalaya",
2895
+ "type": "ZStack",
2896
+ "props": {
2897
+ "alignment": "center",
2898
+ "children": [
3123
2899
  {
3124
2900
  "id": "",
3125
2901
  "body": {
3126
2902
  "package": "himalaya",
3127
2903
  "type": "Icon",
3128
2904
  "props": {
3129
- "name": "chevron_right",
3130
- "size": 16,
3131
- "tint": "textTertiary"
2905
+ "name": "globe",
2906
+ "size": 20,
2907
+ "tint": "textPrimary"
3132
2908
  }
3133
2909
  },
3134
2910
  "modifiers": {
@@ -3139,68 +2915,19 @@ const SCREENS = runtimeSetting({
3139
2915
  }
3140
2916
  },
3141
2917
  "modifiers": {
3142
- "background": {
3143
- "token": "surfaceElevated"
3144
- },
3145
- "border": {
3146
- "width": 1,
3147
- "color": {
3148
- "token": "border"
3149
- }
3150
- },
3151
- "cornerRadius": 8,
3152
- "padding": {
3153
- "leading": 14,
3154
- "trailing": 14,
3155
- "top": 13,
3156
- "bottom": 13
3157
- },
3158
- "onTap": {
3159
- "actionId": "himi.open",
3160
- "params": {
3161
- "screenId": "himi_view_profile"
3162
- }
3163
- },
3164
- "pressFeedback": "scale",
3165
- "haptic": "light",
3166
- "accessibilityLabel": "View profile"
3167
- }
3168
- },
3169
- {
3170
- "id": "himi_account.return",
3171
- "body": {
3172
- "package": "himalaya",
3173
- "type": "Button",
3174
- "props": {
3175
- "title": "$service:himiStoreAccount.returnCta",
3176
- "style": "primary",
3177
- "fullWidth": true,
3178
- "action": {
3179
- "actionId": "himi.open",
3180
- "params": {
3181
- "screenId": "$service:himiStoreAccount.returnScreenId",
3182
- "id": "$service:himiStoreAccount.returnId",
3183
- "channelId": "$service:himiStoreAccount.returnChannelId"
3184
- }
3185
- }
3186
- }
3187
- },
3188
- "modifiers": {
3189
- "hiddenPath": "$service:himiStoreAccount.noReturnPath"
2918
+ "width": 24,
2919
+ "height": 24
3190
2920
  }
3191
2921
  },
3192
2922
  {
3193
- "id": "himi_account.signout",
2923
+ "id": "",
3194
2924
  "body": {
3195
2925
  "package": "himalaya",
3196
- "type": "Button",
2926
+ "type": "Text",
3197
2927
  "props": {
3198
- "title": "Sign out",
3199
- "style": "secondary",
3200
- "fullWidth": true,
3201
- "action": {
3202
- "actionId": "tier5.himiStoreAccount.signOut"
3203
- }
2928
+ "text": "App language",
2929
+ "style": "body",
2930
+ "maxLines": 1
3204
2931
  }
3205
2932
  }
3206
2933
  },
@@ -3208,59 +2935,69 @@ const SCREENS = runtimeSetting({
3208
2935
  "id": "",
3209
2936
  "body": {
3210
2937
  "package": "himalaya",
3211
- "type": "Text",
3212
- "props": {
3213
- "text": "Delete account",
3214
- "style": "footnote",
3215
- "color": "textSecondary"
3216
- }
3217
- },
3218
- "modifiers": {
3219
- "onTap": {
3220
- "actionId": "himi.open",
3221
- "params": {
3222
- "screenId": "himi_delete_account"
3223
- }
3224
- },
3225
- "pressFeedback": "scale",
3226
- "haptic": "light",
3227
- "padding": {
3228
- "leading": 4,
3229
- "trailing": 4,
3230
- "top": 4,
3231
- "bottom": 4
3232
- },
3233
- "accessibilityLabel": "Delete account"
2938
+ "type": "Spacer",
2939
+ "props": {}
3234
2940
  }
3235
2941
  }
3236
2942
  ]
3237
2943
  }
3238
2944
  },
3239
2945
  "modifiers": {
3240
- "hiddenPath": "$service:himiStoreAccount.notMember"
2946
+ "fillMaxWidth": true,
2947
+ "padding": {
2948
+ "top": 12,
2949
+ "bottom": 12
2950
+ },
2951
+ "onTap": {
2952
+ "actionId": "himi.open",
2953
+ "params": {
2954
+ "screenId": "himi_app_language"
2955
+ }
2956
+ },
2957
+ "pressFeedback": "highlight",
2958
+ "haptic": "light",
2959
+ "accessibilityRole": "button",
2960
+ "accessibilityLabel": "App language"
3241
2961
  }
3242
2962
  },
3243
2963
  {
3244
- "id": "himi_account.settings",
2964
+ "id": "himi_account.whats_new",
3245
2965
  "body": {
3246
2966
  "package": "himalaya",
3247
2967
  "type": "HStack",
3248
2968
  "props": {
3249
2969
  "spacing": 12,
2970
+ "alignment": "center",
3250
2971
  "children": [
3251
2972
  {
3252
2973
  "id": "",
3253
2974
  "body": {
3254
2975
  "package": "himalaya",
3255
- "type": "Icon",
2976
+ "type": "ZStack",
3256
2977
  "props": {
3257
- "name": "settings",
3258
- "size": 18,
3259
- "tint": "accentPrimary"
2978
+ "alignment": "center",
2979
+ "children": [
2980
+ {
2981
+ "id": "",
2982
+ "body": {
2983
+ "package": "himalaya",
2984
+ "type": "Icon",
2985
+ "props": {
2986
+ "name": "bell",
2987
+ "size": 20,
2988
+ "tint": "textPrimary"
2989
+ }
2990
+ },
2991
+ "modifiers": {
2992
+ "accessibilityRole": "decorative"
2993
+ }
2994
+ }
2995
+ ]
3260
2996
  }
3261
2997
  },
3262
2998
  "modifiers": {
3263
- "accessibilityRole": "decorative"
2999
+ "width": 24,
3000
+ "height": 24
3264
3001
  }
3265
3002
  },
3266
3003
  {
@@ -3269,8 +3006,9 @@ const SCREENS = runtimeSetting({
3269
3006
  "package": "himalaya",
3270
3007
  "type": "Text",
3271
3008
  "props": {
3272
- "text": "My Account",
3273
- "style": "bodyEmphasis"
3009
+ "text": "What's new",
3010
+ "style": "body",
3011
+ "maxLines": 1
3274
3012
  }
3275
3013
  }
3276
3014
  },
@@ -3281,70 +3019,44 @@ const SCREENS = runtimeSetting({
3281
3019
  "type": "Spacer",
3282
3020
  "props": {}
3283
3021
  }
3284
- },
3285
- {
3286
- "id": "",
3287
- "body": {
3288
- "package": "himalaya",
3289
- "type": "Icon",
3290
- "props": {
3291
- "name": "chevron_right",
3292
- "size": 16,
3293
- "tint": "textTertiary"
3294
- }
3295
- },
3296
- "modifiers": {
3297
- "accessibilityRole": "decorative"
3298
- }
3299
3022
  }
3300
3023
  ]
3301
3024
  }
3302
3025
  },
3303
3026
  "modifiers": {
3304
- "background": {
3305
- "token": "surfaceElevated"
3306
- },
3307
- "border": {
3308
- "width": 1,
3309
- "color": {
3310
- "token": "border"
3311
- }
3312
- },
3313
- "cornerRadius": 8,
3027
+ "fillMaxWidth": true,
3314
3028
  "padding": {
3315
- "leading": 14,
3316
- "trailing": 14,
3317
- "top": 13,
3318
- "bottom": 13
3029
+ "top": 12,
3030
+ "bottom": 12
3319
3031
  },
3320
3032
  "onTap": {
3321
3033
  "actionId": "himi.open",
3322
3034
  "params": {
3323
- "screenId": "himi_account_settings"
3035
+ "screenId": "himi_whats_new"
3324
3036
  }
3325
3037
  },
3326
- "pressFeedback": "scale",
3038
+ "pressFeedback": "highlight",
3327
3039
  "haptic": "light",
3328
- "accessibilityLabel": "My Account",
3329
- "hiddenPath": "$service:himiStoreAccount.notMember"
3040
+ "accessibilityRole": "button",
3041
+ "accessibilityLabel": "What's new"
3330
3042
  }
3331
3043
  },
3332
3044
  {
3333
- "id": "",
3045
+ "id": "himi_account.appearance",
3334
3046
  "body": {
3335
3047
  "package": "himalaya",
3336
- "type": "VStack",
3048
+ "type": "HStack",
3337
3049
  "props": {
3338
- "spacing": 8,
3339
- "alignment": "leading",
3050
+ "spacing": 12,
3051
+ "alignment": "center",
3340
3052
  "children": [
3341
3053
  {
3342
- "id": "himi_account.restore_guest",
3054
+ "id": "",
3343
3055
  "body": {
3344
3056
  "package": "himalaya",
3345
- "type": "HStack",
3057
+ "type": "ZStack",
3346
3058
  "props": {
3347
- "spacing": 12,
3059
+ "alignment": "center",
3348
3060
  "children": [
3349
3061
  {
3350
3062
  "id": "",
@@ -3352,107 +3064,21 @@ const SCREENS = runtimeSetting({
3352
3064
  "package": "himalaya",
3353
3065
  "type": "Icon",
3354
3066
  "props": {
3355
- "name": "refresh",
3356
- "size": 18,
3357
- "tint": "accentPrimary"
3067
+ "name": "settings",
3068
+ "size": 20,
3069
+ "tint": "textPrimary"
3358
3070
  }
3359
3071
  },
3360
3072
  "modifiers": {
3361
3073
  "accessibilityRole": "decorative"
3362
3074
  }
3363
- },
3364
- {
3365
- "id": "",
3366
- "body": {
3367
- "package": "himalaya",
3368
- "type": "Text",
3369
- "props": {
3370
- "text": "$service:himiStoreAccount.restoreLabel",
3371
- "style": "bodyEmphasis"
3372
- }
3373
- }
3374
- },
3375
- {
3376
- "id": "",
3377
- "body": {
3378
- "package": "himalaya",
3379
- "type": "Spacer",
3380
- "props": {}
3381
- }
3382
3075
  }
3383
3076
  ]
3384
3077
  }
3385
3078
  },
3386
3079
  "modifiers": {
3387
- "background": {
3388
- "token": "surfaceElevated"
3389
- },
3390
- "border": {
3391
- "width": 1,
3392
- "color": {
3393
- "token": "border"
3394
- }
3395
- },
3396
- "cornerRadius": 8,
3397
- "padding": {
3398
- "leading": 14,
3399
- "trailing": 14,
3400
- "top": 13,
3401
- "bottom": 13
3402
- },
3403
- "onTap": {
3404
- "actionId": "tier5.himiStoreAccount.iapRestore"
3405
- },
3406
- "pressFeedback": "scale",
3407
- "haptic": "light",
3408
- "accessibilityLabel": "$service:himiStoreAccount.restoreLabel",
3409
- "hiddenPath": "$service:himiStoreAccount.restoreHidden"
3410
- }
3411
- },
3412
- {
3413
- "id": "himi_account.restore_guest_message",
3414
- "body": {
3415
- "package": "himalaya",
3416
- "type": "Text",
3417
- "props": {
3418
- "text": "$service:himiStoreAccount.restoreMessage",
3419
- "style": "footnote",
3420
- "color": "textSecondary",
3421
- "collapseWhenEmpty": true
3422
- }
3423
- },
3424
- "modifiers": {
3425
- "hiddenPath": "$service:himiStoreAccount.restoreHidden"
3426
- }
3427
- }
3428
- ]
3429
- }
3430
- },
3431
- "modifiers": {
3432
- "hiddenPath": "$service:himiStoreAccount.isMember"
3433
- }
3434
- },
3435
- {
3436
- "id": "himi_account.language",
3437
- "body": {
3438
- "package": "himalaya",
3439
- "type": "HStack",
3440
- "props": {
3441
- "spacing": 12,
3442
- "children": [
3443
- {
3444
- "id": "",
3445
- "body": {
3446
- "package": "himalaya",
3447
- "type": "Icon",
3448
- "props": {
3449
- "name": "globe",
3450
- "size": 18,
3451
- "tint": "accentPrimary"
3452
- }
3453
- },
3454
- "modifiers": {
3455
- "accessibilityRole": "decorative"
3080
+ "width": 24,
3081
+ "height": 24
3456
3082
  }
3457
3083
  },
3458
3084
  {
@@ -3461,8 +3087,9 @@ const SCREENS = runtimeSetting({
3461
3087
  "package": "himalaya",
3462
3088
  "type": "Text",
3463
3089
  "props": {
3464
- "text": "App language",
3465
- "style": "bodyEmphasis"
3090
+ "text": "Settings",
3091
+ "style": "body",
3092
+ "maxLines": 1
3466
3093
  }
3467
3094
  }
3468
3095
  },
@@ -3473,74 +3100,66 @@ const SCREENS = runtimeSetting({
3473
3100
  "type": "Spacer",
3474
3101
  "props": {}
3475
3102
  }
3476
- },
3477
- {
3478
- "id": "",
3479
- "body": {
3480
- "package": "himalaya",
3481
- "type": "Icon",
3482
- "props": {
3483
- "name": "chevron_right",
3484
- "size": 16,
3485
- "tint": "textTertiary"
3486
- }
3487
- },
3488
- "modifiers": {
3489
- "accessibilityRole": "decorative"
3490
- }
3491
3103
  }
3492
3104
  ]
3493
3105
  }
3494
3106
  },
3495
3107
  "modifiers": {
3496
- "background": {
3497
- "token": "surfaceElevated"
3498
- },
3499
- "border": {
3500
- "width": 1,
3501
- "color": {
3502
- "token": "border"
3503
- }
3504
- },
3505
- "cornerRadius": 8,
3108
+ "fillMaxWidth": true,
3506
3109
  "padding": {
3507
- "leading": 14,
3508
- "trailing": 14,
3509
- "top": 13,
3510
- "bottom": 13
3110
+ "top": 12,
3111
+ "bottom": 12
3511
3112
  },
3512
3113
  "onTap": {
3513
3114
  "actionId": "himi.open",
3514
3115
  "params": {
3515
- "screenId": "himi_app_language"
3116
+ "screenId": "himi_appearance"
3516
3117
  }
3517
3118
  },
3518
- "pressFeedback": "scale",
3119
+ "pressFeedback": "highlight",
3519
3120
  "haptic": "light",
3520
- "accessibilityLabel": "App language"
3121
+ "accessibilityRole": "button",
3122
+ "accessibilityLabel": "Settings"
3521
3123
  }
3522
3124
  },
3523
3125
  {
3524
- "id": "himi_account.whats_new",
3126
+ "id": "himi_account.app_info",
3525
3127
  "body": {
3526
3128
  "package": "himalaya",
3527
3129
  "type": "HStack",
3528
3130
  "props": {
3529
3131
  "spacing": 12,
3132
+ "alignment": "center",
3530
3133
  "children": [
3531
3134
  {
3532
3135
  "id": "",
3533
3136
  "body": {
3534
3137
  "package": "himalaya",
3535
- "type": "Icon",
3138
+ "type": "ZStack",
3536
3139
  "props": {
3537
- "name": "bell",
3538
- "size": 18,
3539
- "tint": "accentPrimary"
3140
+ "alignment": "center",
3141
+ "children": [
3142
+ {
3143
+ "id": "",
3144
+ "body": {
3145
+ "package": "himalaya",
3146
+ "type": "Icon",
3147
+ "props": {
3148
+ "name": "info",
3149
+ "size": 20,
3150
+ "tint": "textPrimary"
3151
+ }
3152
+ },
3153
+ "modifiers": {
3154
+ "accessibilityRole": "decorative"
3155
+ }
3156
+ }
3157
+ ]
3540
3158
  }
3541
3159
  },
3542
3160
  "modifiers": {
3543
- "accessibilityRole": "decorative"
3161
+ "width": 24,
3162
+ "height": 24
3544
3163
  }
3545
3164
  },
3546
3165
  {
@@ -3549,8 +3168,9 @@ const SCREENS = runtimeSetting({
3549
3168
  "package": "himalaya",
3550
3169
  "type": "Text",
3551
3170
  "props": {
3552
- "text": "What's new",
3553
- "style": "bodyEmphasis"
3171
+ "text": "About",
3172
+ "style": "body",
3173
+ "maxLines": 1
3554
3174
  }
3555
3175
  }
3556
3176
  },
@@ -3561,227 +3181,55 @@ const SCREENS = runtimeSetting({
3561
3181
  "type": "Spacer",
3562
3182
  "props": {}
3563
3183
  }
3564
- },
3565
- {
3566
- "id": "",
3567
- "body": {
3568
- "package": "himalaya",
3569
- "type": "Icon",
3570
- "props": {
3571
- "name": "chevron_right",
3572
- "size": 16,
3573
- "tint": "textTertiary"
3574
- }
3575
- },
3576
- "modifiers": {
3577
- "accessibilityRole": "decorative"
3578
- }
3579
3184
  }
3580
3185
  ]
3581
3186
  }
3582
3187
  },
3583
3188
  "modifiers": {
3584
- "background": {
3585
- "token": "surfaceElevated"
3586
- },
3587
- "border": {
3588
- "width": 1,
3589
- "color": {
3590
- "token": "border"
3591
- }
3592
- },
3593
- "cornerRadius": 8,
3189
+ "fillMaxWidth": true,
3594
3190
  "padding": {
3595
- "leading": 14,
3596
- "trailing": 14,
3597
- "top": 13,
3598
- "bottom": 13
3191
+ "top": 12,
3192
+ "bottom": 12
3599
3193
  },
3600
3194
  "onTap": {
3601
3195
  "actionId": "himi.open",
3602
3196
  "params": {
3603
- "screenId": "himi_whats_new"
3197
+ "screenId": "himi_app_info"
3604
3198
  }
3605
3199
  },
3606
- "pressFeedback": "scale",
3200
+ "pressFeedback": "highlight",
3607
3201
  "haptic": "light",
3608
- "accessibilityLabel": "What's new"
3202
+ "accessibilityRole": "button",
3203
+ "accessibilityLabel": "About"
3609
3204
  }
3610
3205
  },
3611
3206
  {
3612
- "id": "himi_account.appearance",
3207
+ "id": "himi_account.delete_account",
3613
3208
  "body": {
3614
3209
  "package": "himalaya",
3615
- "type": "HStack",
3210
+ "type": "Text",
3616
3211
  "props": {
3617
- "spacing": 12,
3618
- "children": [
3619
- {
3620
- "id": "",
3621
- "body": {
3622
- "package": "himalaya",
3623
- "type": "Icon",
3624
- "props": {
3625
- "name": "settings",
3626
- "size": 18,
3627
- "tint": "accentPrimary"
3628
- }
3629
- },
3630
- "modifiers": {
3631
- "accessibilityRole": "decorative"
3632
- }
3633
- },
3634
- {
3635
- "id": "",
3636
- "body": {
3637
- "package": "himalaya",
3638
- "type": "Text",
3639
- "props": {
3640
- "text": "Appearance",
3641
- "style": "bodyEmphasis"
3642
- }
3643
- }
3644
- },
3645
- {
3646
- "id": "",
3647
- "body": {
3648
- "package": "himalaya",
3649
- "type": "Spacer",
3650
- "props": {}
3651
- }
3652
- },
3653
- {
3654
- "id": "",
3655
- "body": {
3656
- "package": "himalaya",
3657
- "type": "Icon",
3658
- "props": {
3659
- "name": "chevron_right",
3660
- "size": 16,
3661
- "tint": "textTertiary"
3662
- }
3663
- },
3664
- "modifiers": {
3665
- "accessibilityRole": "decorative"
3666
- }
3667
- }
3668
- ]
3212
+ "text": "Delete account",
3213
+ "style": "footnote",
3214
+ "color": "textSecondary"
3669
3215
  }
3670
3216
  },
3671
3217
  "modifiers": {
3672
- "background": {
3673
- "token": "surfaceElevated"
3674
- },
3675
- "border": {
3676
- "width": 1,
3677
- "color": {
3678
- "token": "border"
3679
- }
3680
- },
3681
- "cornerRadius": 8,
3682
- "padding": {
3683
- "leading": 14,
3684
- "trailing": 14,
3685
- "top": 13,
3686
- "bottom": 13
3687
- },
3688
3218
  "onTap": {
3689
3219
  "actionId": "himi.open",
3690
3220
  "params": {
3691
- "screenId": "himi_appearance"
3221
+ "screenId": "himi_delete_account"
3692
3222
  }
3693
3223
  },
3694
- "pressFeedback": "scale",
3224
+ "pressFeedback": "highlight",
3695
3225
  "haptic": "light",
3696
- "accessibilityLabel": "Appearance"
3697
- }
3698
- },
3699
- {
3700
- "id": "himi_account.app_info",
3701
- "body": {
3702
- "package": "himalaya",
3703
- "type": "HStack",
3704
- "props": {
3705
- "spacing": 12,
3706
- "children": [
3707
- {
3708
- "id": "",
3709
- "body": {
3710
- "package": "himalaya",
3711
- "type": "Icon",
3712
- "props": {
3713
- "name": "info",
3714
- "size": 18,
3715
- "tint": "accentPrimary"
3716
- }
3717
- },
3718
- "modifiers": {
3719
- "accessibilityRole": "decorative"
3720
- }
3721
- },
3722
- {
3723
- "id": "",
3724
- "body": {
3725
- "package": "himalaya",
3726
- "type": "Text",
3727
- "props": {
3728
- "text": "App & support",
3729
- "style": "bodyEmphasis"
3730
- }
3731
- }
3732
- },
3733
- {
3734
- "id": "",
3735
- "body": {
3736
- "package": "himalaya",
3737
- "type": "Spacer",
3738
- "props": {}
3739
- }
3740
- },
3741
- {
3742
- "id": "",
3743
- "body": {
3744
- "package": "himalaya",
3745
- "type": "Icon",
3746
- "props": {
3747
- "name": "chevron_right",
3748
- "size": 16,
3749
- "tint": "textTertiary"
3750
- }
3751
- },
3752
- "modifiers": {
3753
- "accessibilityRole": "decorative"
3754
- }
3755
- }
3756
- ]
3757
- }
3758
- },
3759
- "modifiers": {
3760
- "background": {
3761
- "token": "surfaceElevated"
3762
- },
3763
- "border": {
3764
- "width": 1,
3765
- "color": {
3766
- "token": "border"
3767
- }
3768
- },
3769
- "cornerRadius": 8,
3770
- "padding": {
3771
- "leading": 14,
3772
- "trailing": 14,
3773
- "top": 13,
3774
- "bottom": 13
3775
- },
3776
- "onTap": {
3777
- "actionId": "himi.open",
3778
- "params": {
3779
- "screenId": "himi_app_info"
3780
- }
3781
- },
3782
- "pressFeedback": "scale",
3783
- "haptic": "light",
3784
- "accessibilityLabel": "App & support"
3226
+ "padding": {
3227
+ "top": 16,
3228
+ "bottom": 4
3229
+ },
3230
+ "accessibilityRole": "button",
3231
+ "accessibilityLabel": "Delete account",
3232
+ "hiddenPath": "$service:himiStoreAccount.notMember"
3785
3233
  }
3786
3234
  }
3787
3235
  ]
@@ -3795,13 +3243,16 @@ const SCREENS = runtimeSetting({
3795
3243
  "leading": 16,
3796
3244
  "trailing": 16,
3797
3245
  "top": 18,
3798
- "bottom": 28
3246
+ "bottom": 96
3799
3247
  },
3800
3248
  "onAppear": {
3801
3249
  "actionId": "tier5.himiStoreAccount.refresh",
3802
3250
  "params": {
3803
3251
  "memberAccountLinks": "1",
3804
3252
  "restorePurchases": "1",
3253
+ "signInScreen": "himi_sign_in",
3254
+ "pollIdentity": "1",
3255
+ "cartCount": "1",
3805
3256
  "copy": "{\"account.subtitle\":\"Orders, RSVPs and saved content in one place.\",\"storeAccount.authBody\":\"Sign in to continue — cart and RSVPs stay with you.\",\"storeAccount.authBodyRegister\":\"Create a member account to continue — cart and RSVPs stay with you.\"}"
3806
3257
  }
3807
3258
  }
@@ -3818,6 +3269,153 @@ const SCREENS = runtimeSetting({
3818
3269
  ],
3819
3270
  "minBinaryVersion": "0.2.0",
3820
3271
  "bundleVersion": "0.0.1"
3272
+ },
3273
+ "topBar": {
3274
+ "actions": [
3275
+ {
3276
+ "id": "cart",
3277
+ "icon": "cart",
3278
+ "accessibilityLabel": "My cart",
3279
+ "onTap": {
3280
+ "actionId": "himi.open",
3281
+ "params": {
3282
+ "screenId": "himi_cart"
3283
+ }
3284
+ },
3285
+ "badge": {
3286
+ "kind": "count",
3287
+ "valuePath": "$service:himiStoreAccount.cartCount"
3288
+ }
3289
+ }
3290
+ ]
3291
+ },
3292
+ "stickyFooter": {
3293
+ "id": "himi_account.footer",
3294
+ "body": {
3295
+ "package": "himalaya",
3296
+ "type": "VStack",
3297
+ "props": {
3298
+ "spacing": 0,
3299
+ "alignment": "leading",
3300
+ "children": [
3301
+ {
3302
+ "id": "",
3303
+ "body": {
3304
+ "package": "himalaya",
3305
+ "type": "Divider",
3306
+ "props": {}
3307
+ }
3308
+ },
3309
+ {
3310
+ "id": "",
3311
+ "body": {
3312
+ "package": "himalaya",
3313
+ "type": "VStack",
3314
+ "props": {
3315
+ "spacing": 0,
3316
+ "alignment": "leading",
3317
+ "children": [
3318
+ {
3319
+ "id": "himi_account.signout",
3320
+ "body": {
3321
+ "package": "himalaya",
3322
+ "type": "HStack",
3323
+ "props": {
3324
+ "spacing": 12,
3325
+ "alignment": "center",
3326
+ "children": [
3327
+ {
3328
+ "id": "",
3329
+ "body": {
3330
+ "package": "himalaya",
3331
+ "type": "ZStack",
3332
+ "props": {
3333
+ "alignment": "center",
3334
+ "children": [
3335
+ {
3336
+ "id": "",
3337
+ "body": {
3338
+ "package": "himalaya",
3339
+ "type": "Icon",
3340
+ "props": {
3341
+ "name": "logout",
3342
+ "size": 20,
3343
+ "tint": "textPrimary"
3344
+ }
3345
+ },
3346
+ "modifiers": {
3347
+ "accessibilityRole": "decorative"
3348
+ }
3349
+ }
3350
+ ]
3351
+ }
3352
+ },
3353
+ "modifiers": {
3354
+ "width": 24,
3355
+ "height": 24
3356
+ }
3357
+ },
3358
+ {
3359
+ "id": "",
3360
+ "body": {
3361
+ "package": "himalaya",
3362
+ "type": "Text",
3363
+ "props": {
3364
+ "text": "Sign out",
3365
+ "style": "body",
3366
+ "maxLines": 1
3367
+ }
3368
+ }
3369
+ },
3370
+ {
3371
+ "id": "",
3372
+ "body": {
3373
+ "package": "himalaya",
3374
+ "type": "Spacer",
3375
+ "props": {}
3376
+ }
3377
+ }
3378
+ ]
3379
+ }
3380
+ },
3381
+ "modifiers": {
3382
+ "fillMaxWidth": true,
3383
+ "padding": {
3384
+ "top": 12,
3385
+ "bottom": 12
3386
+ },
3387
+ "onTap": {
3388
+ "actionId": "tier5.himiStoreAccount.signOut"
3389
+ },
3390
+ "pressFeedback": "highlight",
3391
+ "haptic": "light",
3392
+ "accessibilityRole": "button",
3393
+ "accessibilityLabel": "Sign out"
3394
+ }
3395
+ }
3396
+ ]
3397
+ }
3398
+ },
3399
+ "modifiers": {
3400
+ "fillMaxWidth": true,
3401
+ "padding": {
3402
+ "leading": 16,
3403
+ "trailing": 16,
3404
+ "top": 4,
3405
+ "bottom": 4
3406
+ }
3407
+ }
3408
+ }
3409
+ ]
3410
+ }
3411
+ },
3412
+ "modifiers": {
3413
+ "fillMaxWidth": true,
3414
+ "background": {
3415
+ "token": "surfacePrimary"
3416
+ },
3417
+ "hiddenPath": "$service:himiStoreAccount.hideMember"
3418
+ }
3821
3419
  }
3822
3420
  },
3823
3421
  "himi_account_settings": {
@@ -3926,7 +3524,8 @@ const SCREENS = runtimeSetting({
3926
3524
  "action": {
3927
3525
  "actionId": "himi.open",
3928
3526
  "params": {
3929
- "screenId": "himi_account",
3527
+ "screenId": "himi_sign_in",
3528
+ "mode": "signin",
3930
3529
  "returnScreenId": "himi_account_settings"
3931
3530
  }
3932
3531
  }
@@ -3949,7 +3548,7 @@ const SCREENS = runtimeSetting({
3949
3548
  "token": "border"
3950
3549
  }
3951
3550
  },
3952
- "cornerRadius": 16,
3551
+ "cornerRadius": 4,
3953
3552
  "padding": {
3954
3553
  "leading": 16,
3955
3554
  "trailing": 16,
@@ -4711,7 +4310,7 @@ const SCREENS = runtimeSetting({
4711
4310
  "token": "border"
4712
4311
  }
4713
4312
  },
4714
- "cornerRadius": 16,
4313
+ "cornerRadius": 4,
4715
4314
  "padding": {
4716
4315
  "leading": 16,
4717
4316
  "trailing": 16,
@@ -4986,7 +4585,7 @@ const SCREENS = runtimeSetting({
4986
4585
  "token": "border"
4987
4586
  }
4988
4587
  },
4989
- "cornerRadius": 16,
4588
+ "cornerRadius": 4,
4990
4589
  "padding": {
4991
4590
  "leading": 16,
4992
4591
  "trailing": 16,
@@ -5336,112 +4935,519 @@ const SCREENS = runtimeSetting({
5336
4935
  }
5337
4936
  },
5338
4937
  {
5339
- "id": "himi_account_settings.email_sheet",
4938
+ "id": "himi_account_settings.email_sheet",
4939
+ "body": {
4940
+ "package": "himalaya",
4941
+ "type": "BottomSheet",
4942
+ "props": {
4943
+ "presentedPath": "$service:himiBrandedAccountSettings.emailPanelOpen",
4944
+ "dismissible": true,
4945
+ "showGrabber": true,
4946
+ "onDismiss": {
4947
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
4948
+ },
4949
+ "content": {
4950
+ "id": "",
4951
+ "body": {
4952
+ "package": "himalaya",
4953
+ "type": "VStack",
4954
+ "props": {
4955
+ "spacing": 16,
4956
+ "alignment": "leading",
4957
+ "children": [
4958
+ {
4959
+ "id": "",
4960
+ "body": {
4961
+ "package": "himalaya",
4962
+ "type": "Text",
4963
+ "props": {
4964
+ "text": "Change login email",
4965
+ "style": "title2"
4966
+ }
4967
+ }
4968
+ },
4969
+ {
4970
+ "id": "",
4971
+ "body": {
4972
+ "package": "himalaya",
4973
+ "type": "Text",
4974
+ "props": {
4975
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
4976
+ "style": "bodyEmphasis"
4977
+ }
4978
+ }
4979
+ },
4980
+ {
4981
+ "id": "",
4982
+ "body": {
4983
+ "package": "himalaya",
4984
+ "type": "Text",
4985
+ "props": {
4986
+ "text": "Login email changes are not available in this app yet. Use your site's account management page to change it.",
4987
+ "style": "body",
4988
+ "color": "textSecondary"
4989
+ }
4990
+ }
4991
+ },
4992
+ {
4993
+ "id": "btn_tier5_himibrandedaccountsettings_opensite",
4994
+ "body": {
4995
+ "package": "himalaya",
4996
+ "type": "Button",
4997
+ "props": {
4998
+ "title": "Visit website",
4999
+ "style": "secondary",
5000
+ "fullWidth": true,
5001
+ "action": {
5002
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
5003
+ }
5004
+ }
5005
+ },
5006
+ "modifiers": {
5007
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
5008
+ }
5009
+ },
5010
+ {
5011
+ "id": "btn_tier5_himibrandedaccountsettings_closeemailpanel",
5012
+ "body": {
5013
+ "package": "himalaya",
5014
+ "type": "Button",
5015
+ "props": {
5016
+ "title": "Close",
5017
+ "style": "plain",
5018
+ "action": {
5019
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
5020
+ }
5021
+ }
5022
+ }
5023
+ }
5024
+ ]
5025
+ }
5026
+ },
5027
+ "modifiers": {
5028
+ "padding": {
5029
+ "leading": 20,
5030
+ "trailing": 20,
5031
+ "top": 20,
5032
+ "bottom": 24
5033
+ }
5034
+ }
5035
+ }
5036
+ }
5037
+ }
5038
+ }
5039
+ ]
5040
+ }
5041
+ },
5042
+ "modifiers": {
5043
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMember"
5044
+ }
5045
+ }
5046
+ ]
5047
+ }
5048
+ },
5049
+ "modifiers": {
5050
+ "background": {
5051
+ "token": "surfacePrimary"
5052
+ },
5053
+ "padding": {
5054
+ "leading": 16,
5055
+ "trailing": 16,
5056
+ "top": 18,
5057
+ "bottom": 28
5058
+ },
5059
+ "onAppear": {
5060
+ "actionId": "tier5.himiBrandedAccountSettings.load",
5061
+ "params": {
5062
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
5063
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
5064
+ }
5065
+ }
5066
+ }
5067
+ },
5068
+ "logicBundle": {
5069
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
5070
+ "integrity": "",
5071
+ "contentType": "application/javascript+ts-bundle",
5072
+ "declaredCapabilities": [
5073
+ "wix_api",
5074
+ "app_info",
5075
+ "open_url"
5076
+ ],
5077
+ "minBinaryVersion": "0.1.0",
5078
+ "bundleVersion": "0.0.1"
5079
+ }
5080
+ },
5081
+ "himi_sign_in": {
5082
+ "screenId": "himi_sign_in",
5083
+ "renderer": "sdui_intent",
5084
+ "title": "",
5085
+ "schemaVersion": 1,
5086
+ "cacheControl": {
5087
+ "maxAge": 0,
5088
+ "staleWhileRevalidate": 0
5089
+ },
5090
+ "payload": {
5091
+ "id": "himi_sign_in.root",
5092
+ "body": {
5093
+ "package": "himalaya",
5094
+ "type": "VStack",
5095
+ "props": {
5096
+ "spacing": 12,
5097
+ "alignment": "leading",
5098
+ "children": [
5099
+ {
5100
+ "id": "",
5101
+ "body": {
5102
+ "package": "himalaya",
5103
+ "type": "VStack",
5104
+ "props": {
5105
+ "spacing": 12,
5106
+ "alignment": "leading",
5107
+ "children": [
5108
+ {
5109
+ "id": "",
5110
+ "body": {
5111
+ "package": "himalaya",
5112
+ "type": "VStack",
5113
+ "props": {
5114
+ "spacing": 4,
5115
+ "alignment": "leading",
5116
+ "children": [
5117
+ {
5118
+ "id": "himi_sign_in.title",
5119
+ "body": {
5120
+ "package": "himalaya",
5121
+ "type": "Text",
5122
+ "props": {
5123
+ "text": "$service:himiStoreAccount.authTitle",
5124
+ "style": "title1",
5125
+ "collapseWhenEmpty": true
5126
+ }
5127
+ }
5128
+ },
5129
+ {
5130
+ "id": "",
5131
+ "body": {
5132
+ "package": "himalaya",
5133
+ "type": "Text",
5134
+ "props": {
5135
+ "text": "$service:himiStoreAccount.authBody",
5136
+ "style": "body",
5137
+ "color": "textSecondary",
5138
+ "collapseWhenEmpty": true
5139
+ }
5140
+ }
5141
+ }
5142
+ ]
5143
+ }
5144
+ }
5145
+ },
5146
+ {
5147
+ "id": "himi_sign_in.first_name",
5148
+ "body": {
5149
+ "package": "himalaya",
5150
+ "type": "TextField",
5151
+ "props": {
5152
+ "placeholder": "First name",
5153
+ "autoCapitalization": "words",
5154
+ "submitLabel": "next",
5155
+ "onSubmit": {
5156
+ "actionId": "tier5.himiStoreAccount.focusLastName"
5157
+ },
5158
+ "onChange": {
5159
+ "actionId": "tier5.himiStoreAccount.setFirstName"
5160
+ }
5161
+ }
5162
+ },
5163
+ "modifiers": {
5164
+ "hiddenPath": "$service:himiStoreAccount.notRegistering"
5165
+ }
5166
+ },
5167
+ {
5168
+ "id": "himi_sign_in.last_name",
5169
+ "body": {
5170
+ "package": "himalaya",
5171
+ "type": "TextField",
5172
+ "props": {
5173
+ "placeholder": "Last name",
5174
+ "autoCapitalization": "words",
5175
+ "focusPath": "$service:himiStoreAccount.lastNameFocus",
5176
+ "submitLabel": "next",
5177
+ "onSubmit": {
5178
+ "actionId": "tier5.himiStoreAccount.focusEmail"
5179
+ },
5180
+ "onChange": {
5181
+ "actionId": "tier5.himiStoreAccount.setLastName"
5182
+ }
5183
+ }
5184
+ },
5185
+ "modifiers": {
5186
+ "hiddenPath": "$service:himiStoreAccount.notRegistering"
5187
+ }
5188
+ },
5189
+ {
5190
+ "id": "himi_sign_in.email",
5191
+ "body": {
5192
+ "package": "himalaya",
5193
+ "type": "TextField",
5194
+ "props": {
5195
+ "placeholder": "Email",
5196
+ "keyboard": "email",
5197
+ "validation": {
5198
+ "required": true,
5199
+ "type": "email",
5200
+ "mode": "on_blur"
5201
+ },
5202
+ "errorPath": "$service:himiStoreAccount.emailError",
5203
+ "submitLabel": "go",
5204
+ "onSubmit": {
5205
+ "actionId": "tier5.himiStoreAccount.submit"
5206
+ },
5207
+ "autoCapitalization": "none",
5208
+ "focusPath": "$service:himiStoreAccount.emailFocus",
5209
+ "onChange": {
5210
+ "actionId": "tier5.himiStoreAccount.setEmail"
5211
+ }
5212
+ }
5213
+ }
5214
+ },
5215
+ {
5216
+ "id": "himi_sign_in.password",
5217
+ "body": {
5218
+ "package": "himalaya",
5219
+ "type": "TextField",
5220
+ "props": {
5221
+ "placeholder": "Password",
5222
+ "secure": true,
5223
+ "visibilityToggle": true,
5224
+ "validation": {
5225
+ "required": true,
5226
+ "mode": "on_blur",
5227
+ "message": "Enter your password."
5228
+ },
5229
+ "errorPath": "$service:himiStoreAccount.passwordError",
5230
+ "focusPath": "$service:himiStoreAccount.passwordFocus",
5231
+ "submitLabel": "go",
5232
+ "onSubmit": {
5233
+ "actionId": "tier5.himiStoreAccount.submit"
5234
+ },
5235
+ "autoCapitalization": "none",
5236
+ "onChange": {
5237
+ "actionId": "tier5.himiStoreAccount.setPassword"
5238
+ }
5239
+ }
5240
+ },
5241
+ "modifiers": {
5242
+ "hiddenPath": "$service:himiStoreAccount.isRecovering"
5243
+ }
5244
+ },
5245
+ {
5246
+ "id": "",
5247
+ "body": {
5248
+ "package": "himalaya",
5249
+ "type": "Text",
5250
+ "props": {
5251
+ "text": "$service:himiStoreAccount.busyMessage",
5252
+ "style": "footnote",
5253
+ "collapseWhenEmpty": true
5254
+ }
5255
+ }
5256
+ },
5257
+ {
5258
+ "id": "himi_sign_in.message",
5259
+ "body": {
5260
+ "package": "himalaya",
5261
+ "type": "Text",
5262
+ "props": {
5263
+ "text": "$service:himiStoreAccount.message",
5264
+ "style": "footnote",
5265
+ "color": "textPrimary",
5266
+ "collapseWhenEmpty": true
5267
+ }
5268
+ }
5269
+ },
5270
+ {
5271
+ "id": "himi_sign_in.signin",
5272
+ "body": {
5273
+ "package": "himalaya",
5274
+ "type": "Button",
5275
+ "props": {
5276
+ "title": "SIGN IN",
5277
+ "style": "primary",
5278
+ "fullWidth": true,
5279
+ "disabledPath": "$service:himiStoreAccount.authBusy",
5280
+ "action": {
5281
+ "actionId": "tier5.himiStoreAccount.signIn"
5282
+ }
5283
+ }
5284
+ },
5285
+ "modifiers": {
5286
+ "hiddenPath": "$service:himiStoreAccount.hideSignInChoices"
5287
+ }
5288
+ },
5289
+ {
5290
+ "id": "himi_sign_in.register",
5291
+ "body": {
5292
+ "package": "himalaya",
5293
+ "type": "Button",
5294
+ "props": {
5295
+ "title": "CREATE ACCOUNT",
5296
+ "style": "primary",
5297
+ "fullWidth": true,
5298
+ "disabledPath": "$service:himiStoreAccount.authBusy",
5299
+ "action": {
5300
+ "actionId": "tier5.himiStoreAccount.register"
5301
+ }
5302
+ }
5303
+ },
5304
+ "modifiers": {
5305
+ "hiddenPath": "$service:himiStoreAccount.notRegistering"
5306
+ }
5307
+ },
5308
+ {
5309
+ "id": "himi_sign_in.reset_password",
5310
+ "body": {
5311
+ "package": "himalaya",
5312
+ "type": "Button",
5313
+ "props": {
5314
+ "title": "Send reset link",
5315
+ "style": "primary",
5316
+ "fullWidth": true,
5317
+ "disabledPath": "$service:himiStoreAccount.authBusy",
5318
+ "action": {
5319
+ "actionId": "tier5.himiStoreAccount.resetPassword"
5320
+ }
5321
+ }
5322
+ },
5323
+ "modifiers": {
5324
+ "hiddenPath": "$service:himiStoreAccount.notRecovering"
5325
+ }
5326
+ },
5327
+ {
5328
+ "id": "himi_sign_in.show_register",
5340
5329
  "body": {
5341
5330
  "package": "himalaya",
5342
- "type": "BottomSheet",
5331
+ "type": "Button",
5343
5332
  "props": {
5344
- "presentedPath": "$service:himiBrandedAccountSettings.emailPanelOpen",
5345
- "dismissible": true,
5346
- "showGrabber": true,
5347
- "onDismiss": {
5348
- "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
5349
- },
5350
- "content": {
5351
- "id": "",
5352
- "body": {
5353
- "package": "himalaya",
5354
- "type": "VStack",
5355
- "props": {
5356
- "spacing": 16,
5357
- "alignment": "leading",
5358
- "children": [
5359
- {
5360
- "id": "",
5361
- "body": {
5362
- "package": "himalaya",
5363
- "type": "Text",
5364
- "props": {
5365
- "text": "Change login email",
5366
- "style": "title2"
5367
- }
5368
- }
5369
- },
5370
- {
5371
- "id": "",
5372
- "body": {
5373
- "package": "himalaya",
5374
- "type": "Text",
5375
- "props": {
5376
- "text": "$service:himiBrandedAccountSettings.loginEmail",
5377
- "style": "bodyEmphasis"
5378
- }
5379
- }
5380
- },
5381
- {
5382
- "id": "",
5383
- "body": {
5384
- "package": "himalaya",
5385
- "type": "Text",
5386
- "props": {
5387
- "text": "Login email changes are not available in this app yet. Use your site's account management page to change it.",
5388
- "style": "body",
5389
- "color": "textSecondary"
5390
- }
5391
- }
5392
- },
5393
- {
5394
- "id": "btn_tier5_himibrandedaccountsettings_opensite",
5395
- "body": {
5396
- "package": "himalaya",
5397
- "type": "Button",
5398
- "props": {
5399
- "title": "Visit website",
5400
- "style": "secondary",
5401
- "fullWidth": true,
5402
- "action": {
5403
- "actionId": "tier5.himiBrandedAccountSettings.openSite"
5404
- }
5405
- }
5406
- },
5407
- "modifiers": {
5408
- "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
5409
- }
5410
- },
5411
- {
5412
- "id": "btn_tier5_himibrandedaccountsettings_closeemailpanel",
5413
- "body": {
5414
- "package": "himalaya",
5415
- "type": "Button",
5416
- "props": {
5417
- "title": "Close",
5418
- "style": "plain",
5419
- "action": {
5420
- "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
5421
- }
5422
- }
5423
- }
5424
- }
5425
- ]
5426
- }
5427
- },
5428
- "modifiers": {
5429
- "padding": {
5430
- "leading": 20,
5431
- "trailing": 20,
5432
- "top": 20,
5433
- "bottom": 24
5434
- }
5435
- }
5333
+ "title": "CREATE ACCOUNT",
5334
+ "style": "secondary",
5335
+ "fullWidth": true,
5336
+ "disabledPath": "$service:himiStoreAccount.authBusy",
5337
+ "action": {
5338
+ "actionId": "tier5.himiStoreAccount.showRegister"
5339
+ }
5340
+ }
5341
+ },
5342
+ "modifiers": {
5343
+ "hiddenPath": "$service:himiStoreAccount.hideSignInChoices"
5344
+ }
5345
+ },
5346
+ {
5347
+ "id": "himi_sign_in.show_signin",
5348
+ "body": {
5349
+ "package": "himalaya",
5350
+ "type": "Button",
5351
+ "props": {
5352
+ "title": "Sign in instead",
5353
+ "style": "secondary",
5354
+ "fullWidth": true,
5355
+ "disabledPath": "$service:himiStoreAccount.authBusy",
5356
+ "action": {
5357
+ "actionId": "tier5.himiStoreAccount.showSignIn"
5358
+ }
5359
+ }
5360
+ },
5361
+ "modifiers": {
5362
+ "hiddenPath": "$service:himiStoreAccount.notRegistering"
5363
+ }
5364
+ },
5365
+ {
5366
+ "id": "himi_sign_in.cancel_recovery",
5367
+ "body": {
5368
+ "package": "himalaya",
5369
+ "type": "Button",
5370
+ "props": {
5371
+ "title": "Back to sign in",
5372
+ "style": "secondary",
5373
+ "fullWidth": true,
5374
+ "disabledPath": "$service:himiStoreAccount.authBusy",
5375
+ "action": {
5376
+ "actionId": "tier5.himiStoreAccount.showSignIn"
5377
+ }
5378
+ }
5379
+ },
5380
+ "modifiers": {
5381
+ "hiddenPath": "$service:himiStoreAccount.notRecovering"
5382
+ }
5383
+ },
5384
+ {
5385
+ "id": "himi_sign_in.show_recovery",
5386
+ "body": {
5387
+ "package": "himalaya",
5388
+ "type": "Button",
5389
+ "props": {
5390
+ "title": "Forgot password?",
5391
+ "style": "plain",
5392
+ "fullWidth": true,
5393
+ "disabledPath": "$service:himiStoreAccount.authBusy",
5394
+ "action": {
5395
+ "actionId": "tier5.himiStoreAccount.showRecovery"
5436
5396
  }
5437
5397
  }
5398
+ },
5399
+ "modifiers": {
5400
+ "hiddenPath": "$service:himiStoreAccount.hideSignInChoices"
5438
5401
  }
5439
5402
  }
5440
5403
  ]
5441
5404
  }
5442
5405
  },
5443
5406
  "modifiers": {
5444
- "hiddenPath": "$service:himiBrandedAccountSettings.noMember"
5407
+ "hiddenPath": "$service:himiStoreAccount.isMember"
5408
+ }
5409
+ },
5410
+ {
5411
+ "id": "",
5412
+ "body": {
5413
+ "package": "himalaya",
5414
+ "type": "VStack",
5415
+ "props": {
5416
+ "spacing": 12,
5417
+ "alignment": "leading",
5418
+ "children": [
5419
+ {
5420
+ "id": "himi_sign_in.signed_in",
5421
+ "body": {
5422
+ "package": "himalaya",
5423
+ "type": "Text",
5424
+ "props": {
5425
+ "text": "You're signed in.",
5426
+ "style": "title1"
5427
+ }
5428
+ }
5429
+ },
5430
+ {
5431
+ "id": "himi_sign_in.continue",
5432
+ "body": {
5433
+ "package": "himalaya",
5434
+ "type": "Button",
5435
+ "props": {
5436
+ "title": "Continue",
5437
+ "style": "primary",
5438
+ "fullWidth": true,
5439
+ "action": {
5440
+ "actionId": "nav.back",
5441
+ "presentation": "back"
5442
+ }
5443
+ }
5444
+ }
5445
+ }
5446
+ ]
5447
+ }
5448
+ },
5449
+ "modifiers": {
5450
+ "hiddenPath": "$service:himiStoreAccount.notMember"
5445
5451
  }
5446
5452
  }
5447
5453
  ]
@@ -5458,24 +5464,22 @@ const SCREENS = runtimeSetting({
5458
5464
  "bottom": 28
5459
5465
  },
5460
5466
  "onAppear": {
5461
- "actionId": "tier5.himiBrandedAccountSettings.load",
5467
+ "actionId": "tier5.himiStoreAccount.refresh",
5462
5468
  "params": {
5463
- "siteUrl": "__HIMI_MEMBER_SITE_URL__",
5464
- "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
5469
+ "standalone": "1",
5470
+ "copy": "{\"account.subtitle\":\"Orders, RSVPs and saved content in one place.\",\"storeAccount.authBody\":\"Sign in to continue — cart and RSVPs stay with you.\",\"storeAccount.authBodyRegister\":\"Create a member account to continue — cart and RSVPs stay with you.\"}"
5465
5471
  }
5466
5472
  }
5467
5473
  }
5468
5474
  },
5469
5475
  "logicBundle": {
5470
- "url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
5476
+ "url": "http://localhost:8190/v1/bundles/himi-store-account?integrity=",
5471
5477
  "integrity": "",
5472
5478
  "contentType": "application/javascript+ts-bundle",
5473
5479
  "declaredCapabilities": [
5474
- "wix_api",
5475
- "app_info",
5476
- "open_url"
5480
+ "wix_api"
5477
5481
  ],
5478
- "minBinaryVersion": "0.1.0",
5482
+ "minBinaryVersion": "0.2.0",
5479
5483
  "bundleVersion": "0.0.1"
5480
5484
  }
5481
5485
  },
@@ -5568,7 +5572,7 @@ const SCREENS = runtimeSetting({
5568
5572
  "token": "border"
5569
5573
  }
5570
5574
  },
5571
- "cornerRadius": 16,
5575
+ "cornerRadius": 4,
5572
5576
  "padding": {
5573
5577
  "leading": 16,
5574
5578
  "trailing": 16,
@@ -5706,7 +5710,7 @@ const SCREENS = runtimeSetting({
5706
5710
  "token": "border"
5707
5711
  }
5708
5712
  },
5709
- "cornerRadius": 16,
5713
+ "cornerRadius": 4,
5710
5714
  "padding": {
5711
5715
  "leading": 16,
5712
5716
  "trailing": 16,
@@ -6339,7 +6343,8 @@ const SCREENS = runtimeSetting({
6339
6343
  "action": {
6340
6344
  "actionId": "himi.open",
6341
6345
  "params": {
6342
- "screenId": "himi_account",
6346
+ "screenId": "himi_sign_in",
6347
+ "mode": "signin",
6343
6348
  "intent": "profile",
6344
6349
  "returnScreenId": "himi_view_profile"
6345
6350
  }
@@ -6827,7 +6832,7 @@ const SCREENS = runtimeSetting({
6827
6832
  "token": "border"
6828
6833
  }
6829
6834
  },
6830
- "cornerRadius": 16,
6835
+ "cornerRadius": 4,
6831
6836
  "padding": {
6832
6837
  "leading": 16,
6833
6838
  "trailing": 16,
@@ -10969,7 +10974,7 @@ const SCREENS = runtimeSetting({
10969
10974
  "token": "border"
10970
10975
  }
10971
10976
  },
10972
- "cornerRadius": 16,
10977
+ "cornerRadius": 4,
10973
10978
  "padding": {
10974
10979
  "leading": 16,
10975
10980
  "trailing": 16,
@@ -11223,7 +11228,7 @@ const SCREENS = runtimeSetting({
11223
11228
  "token": "border"
11224
11229
  }
11225
11230
  },
11226
- "cornerRadius": 16,
11231
+ "cornerRadius": 4,
11227
11232
  "padding": {
11228
11233
  "leading": 16,
11229
11234
  "trailing": 16,
@@ -11316,7 +11321,7 @@ const SCREENS = runtimeSetting({
11316
11321
  "token": "border"
11317
11322
  }
11318
11323
  },
11319
- "cornerRadius": 16,
11324
+ "cornerRadius": 4,
11320
11325
  "padding": {
11321
11326
  "leading": 16,
11322
11327
  "trailing": 16,
@@ -11413,7 +11418,7 @@ const SCREENS = runtimeSetting({
11413
11418
  "token": "border"
11414
11419
  }
11415
11420
  },
11416
- "cornerRadius": 16,
11421
+ "cornerRadius": 4,
11417
11422
  "padding": {
11418
11423
  "leading": 16,
11419
11424
  "trailing": 16,
@@ -11534,7 +11539,7 @@ const SCREENS = runtimeSetting({
11534
11539
  "token": "border"
11535
11540
  }
11536
11541
  },
11537
- "cornerRadius": 16,
11542
+ "cornerRadius": 4,
11538
11543
  "padding": {
11539
11544
  "leading": 16,
11540
11545
  "trailing": 16,
@@ -11576,8 +11581,7 @@ const SCREENS = runtimeSetting({
11576
11581
  "action": {
11577
11582
  "actionId": "himi.open",
11578
11583
  "params": {
11579
- "screenId": "himi_account",
11580
- "returnScreenId": "himi_orders"
11584
+ "screenId": "himi_account"
11581
11585
  }
11582
11586
  }
11583
11587
  }
@@ -11610,7 +11614,7 @@ const SCREENS = runtimeSetting({
11610
11614
  "token": "border"
11611
11615
  }
11612
11616
  },
11613
- "cornerRadius": 16,
11617
+ "cornerRadius": 4,
11614
11618
  "padding": {
11615
11619
  "leading": 16,
11616
11620
  "trailing": 16,
@@ -13821,7 +13825,7 @@ const SCREENS = runtimeSetting({
13821
13825
  "token": "border"
13822
13826
  }
13823
13827
  },
13824
- "cornerRadius": 16,
13828
+ "cornerRadius": 4,
13825
13829
  "padding": {
13826
13830
  "leading": 16,
13827
13831
  "trailing": 16,
@@ -13911,7 +13915,7 @@ const SCREENS = runtimeSetting({
13911
13915
  "token": "border"
13912
13916
  }
13913
13917
  },
13914
- "cornerRadius": 16,
13918
+ "cornerRadius": 4,
13915
13919
  "padding": {
13916
13920
  "leading": 16,
13917
13921
  "trailing": 16,
@@ -13980,7 +13984,8 @@ const SCREENS = runtimeSetting({
13980
13984
  "action": {
13981
13985
  "actionId": "himi.open",
13982
13986
  "params": {
13983
- "screenId": "himi_account",
13987
+ "screenId": "himi_sign_in",
13988
+ "mode": "signin",
13984
13989
  "intent": "orders",
13985
13990
  "returnScreenId": "himi_orders"
13986
13991
  }
@@ -14117,7 +14122,7 @@ const SCREENS = runtimeSetting({
14117
14122
  "token": "border"
14118
14123
  }
14119
14124
  },
14120
- "cornerRadius": 16,
14125
+ "cornerRadius": 4,
14121
14126
  "padding": {
14122
14127
  "leading": 16,
14123
14128
  "trailing": 16,
@@ -14175,7 +14180,7 @@ const SCREENS = runtimeSetting({
14175
14180
  "token": "border"
14176
14181
  }
14177
14182
  },
14178
- "cornerRadius": 16,
14183
+ "cornerRadius": 4,
14179
14184
  "padding": {
14180
14185
  "leading": 16,
14181
14186
  "trailing": 16,
@@ -14524,7 +14529,7 @@ const SCREENS = runtimeSetting({
14524
14529
  "token": "border"
14525
14530
  }
14526
14531
  },
14527
- "cornerRadius": 16,
14532
+ "cornerRadius": 4,
14528
14533
  "padding": {
14529
14534
  "leading": 16,
14530
14535
  "trailing": 16,
@@ -14613,7 +14618,8 @@ const SCREENS = runtimeSetting({
14613
14618
  "action": {
14614
14619
  "actionId": "himi.open",
14615
14620
  "params": {
14616
- "screenId": "himi_account",
14621
+ "screenId": "himi_sign_in",
14622
+ "mode": "signin",
14617
14623
  "intent": "addresses",
14618
14624
  "returnScreenId": "himi_addresses"
14619
14625
  }
@@ -14705,7 +14711,7 @@ const SCREENS = runtimeSetting({
14705
14711
  "token": "border"
14706
14712
  }
14707
14713
  },
14708
- "cornerRadius": 16,
14714
+ "cornerRadius": 4,
14709
14715
  "padding": {
14710
14716
  "leading": 16,
14711
14717
  "trailing": 16,
@@ -14809,7 +14815,7 @@ const SCREENS = runtimeSetting({
14809
14815
  "token": "border"
14810
14816
  }
14811
14817
  },
14812
- "cornerRadius": 16,
14818
+ "cornerRadius": 4,
14813
14819
  "padding": {
14814
14820
  "leading": 16,
14815
14821
  "trailing": 16,
@@ -14867,7 +14873,7 @@ const SCREENS = runtimeSetting({
14867
14873
  "token": "border"
14868
14874
  }
14869
14875
  },
14870
- "cornerRadius": 16,
14876
+ "cornerRadius": 4,
14871
14877
  "padding": {
14872
14878
  "leading": 16,
14873
14879
  "trailing": 16,
@@ -15079,7 +15085,7 @@ const SCREENS = runtimeSetting({
15079
15085
  "token": "border"
15080
15086
  }
15081
15087
  },
15082
- "cornerRadius": 16,
15088
+ "cornerRadius": 4,
15083
15089
  "padding": {
15084
15090
  "leading": 16,
15085
15091
  "trailing": 16,
@@ -15367,7 +15373,7 @@ const SCREENS = runtimeSetting({
15367
15373
  "token": "border"
15368
15374
  }
15369
15375
  },
15370
- "cornerRadius": 16,
15376
+ "cornerRadius": 4,
15371
15377
  "padding": {
15372
15378
  "leading": 16,
15373
15379
  "trailing": 16,
@@ -15503,7 +15509,7 @@ const SCREENS = runtimeSetting({
15503
15509
  "token": "border"
15504
15510
  }
15505
15511
  },
15506
- "cornerRadius": 16,
15512
+ "cornerRadius": 4,
15507
15513
  "padding": {
15508
15514
  "leading": 16,
15509
15515
  "trailing": 16,
@@ -15669,7 +15675,8 @@ const SCREENS = runtimeSetting({
15669
15675
  "action": {
15670
15676
  "actionId": "himi.open",
15671
15677
  "params": {
15672
- "screenId": "himi_account",
15678
+ "screenId": "himi_sign_in",
15679
+ "mode": "signin",
15673
15680
  "intent": "addresses",
15674
15681
  "returnScreenId": "himi_address"
15675
15682
  }
@@ -15761,7 +15768,7 @@ const SCREENS = runtimeSetting({
15761
15768
  "token": "border"
15762
15769
  }
15763
15770
  },
15764
- "cornerRadius": 16,
15771
+ "cornerRadius": 4,
15765
15772
  "padding": {
15766
15773
  "leading": 16,
15767
15774
  "trailing": 16,
@@ -15877,7 +15884,7 @@ const SCREENS = runtimeSetting({
15877
15884
  "token": "border"
15878
15885
  }
15879
15886
  },
15880
- "cornerRadius": 16,
15887
+ "cornerRadius": 4,
15881
15888
  "padding": {
15882
15889
  "leading": 16,
15883
15890
  "trailing": 16,
@@ -15935,7 +15942,7 @@ const SCREENS = runtimeSetting({
15935
15942
  "token": "border"
15936
15943
  }
15937
15944
  },
15938
- "cornerRadius": 16,
15945
+ "cornerRadius": 4,
15939
15946
  "padding": {
15940
15947
  "leading": 16,
15941
15948
  "trailing": 16,
@@ -16269,7 +16276,7 @@ const SCREENS = runtimeSetting({
16269
16276
  "token": "border"
16270
16277
  }
16271
16278
  },
16272
- "cornerRadius": 16,
16279
+ "cornerRadius": 4,
16273
16280
  "padding": {
16274
16281
  "leading": 16,
16275
16282
  "trailing": 16,
@@ -16339,7 +16346,8 @@ const SCREENS = runtimeSetting({
16339
16346
  "action": {
16340
16347
  "actionId": "himi.open",
16341
16348
  "params": {
16342
- "screenId": "himi_account",
16349
+ "screenId": "himi_sign_in",
16350
+ "mode": "signin",
16343
16351
  "intent": "wallet",
16344
16352
  "returnScreenId": "himi_wallet"
16345
16353
  }
@@ -16431,7 +16439,7 @@ const SCREENS = runtimeSetting({
16431
16439
  "token": "border"
16432
16440
  }
16433
16441
  },
16434
- "cornerRadius": 16,
16442
+ "cornerRadius": 4,
16435
16443
  "padding": {
16436
16444
  "leading": 16,
16437
16445
  "trailing": 16,
@@ -16839,7 +16847,7 @@ const SCREENS = runtimeSetting({
16839
16847
  "action": {
16840
16848
  "actionId": "himi.open",
16841
16849
  "params": {
16842
- "screenId": "himi_account"
16850
+ "screenId": "himi_sign_in"
16843
16851
  }
16844
16852
  }
16845
16853
  }
@@ -18905,7 +18913,7 @@ const SCREENS = runtimeSetting({
18905
18913
  "token": "border"
18906
18914
  }
18907
18915
  },
18908
- "cornerRadius": 16,
18916
+ "cornerRadius": 4,
18909
18917
  "padding": {
18910
18918
  "leading": 16,
18911
18919
  "trailing": 16,
@@ -18962,7 +18970,7 @@ const SCREENS = runtimeSetting({
18962
18970
  "token": "border"
18963
18971
  }
18964
18972
  },
18965
- "cornerRadius": 16,
18973
+ "cornerRadius": 4,
18966
18974
  "padding": {
18967
18975
  "leading": 16,
18968
18976
  "trailing": 16,
@@ -19439,7 +19447,8 @@ const SCREENS = runtimeSetting({
19439
19447
  "action": {
19440
19448
  "actionId": "himi.open",
19441
19449
  "params": {
19442
- "screenId": "himi_account",
19450
+ "screenId": "himi_sign_in",
19451
+ "mode": "signin",
19443
19452
  "intent": "post",
19444
19453
  "returnScreenId": "himi_create_post"
19445
19454
  }
@@ -26457,7 +26466,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26457
26466
  "token": "border"
26458
26467
  }
26459
26468
  },
26460
- "cornerRadius": 16,
26469
+ "cornerRadius": 4,
26461
26470
  "padding": {
26462
26471
  "leading": 16,
26463
26472
  "trailing": 16,
@@ -26515,7 +26524,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26515
26524
  "token": "border"
26516
26525
  }
26517
26526
  },
26518
- "cornerRadius": 16,
26527
+ "cornerRadius": 4,
26519
26528
  "padding": {
26520
26529
  "leading": 16,
26521
26530
  "trailing": 16,
@@ -26640,7 +26649,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26640
26649
  "token": "border"
26641
26650
  }
26642
26651
  },
26643
- "cornerRadius": 16,
26652
+ "cornerRadius": 4,
26644
26653
  "padding": {
26645
26654
  "leading": 16,
26646
26655
  "trailing": 16,
@@ -26818,7 +26827,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26818
26827
  "token": "border"
26819
26828
  }
26820
26829
  },
26821
- "cornerRadius": 16,
26830
+ "cornerRadius": 4,
26822
26831
  "padding": {
26823
26832
  "leading": 16,
26824
26833
  "trailing": 16,
@@ -27078,7 +27087,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27078
27087
  "token": "border"
27079
27088
  }
27080
27089
  },
27081
- "cornerRadius": 16,
27090
+ "cornerRadius": 4,
27082
27091
  "padding": {
27083
27092
  "leading": 16,
27084
27093
  "trailing": 16,
@@ -27264,7 +27273,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27264
27273
  "token": "border"
27265
27274
  }
27266
27275
  },
27267
- "cornerRadius": 16,
27276
+ "cornerRadius": 4,
27268
27277
  "padding": {
27269
27278
  "leading": 16,
27270
27279
  "trailing": 16,
@@ -27286,7 +27295,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27286
27295
  "action": {
27287
27296
  "actionId": "himi.open",
27288
27297
  "params": {
27289
- "screenId": "himi_account",
27298
+ "screenId": "himi_sign_in",
27290
27299
  "returnScreenId": "himi_order",
27291
27300
  "returnId": "$service:himiBrandedOrder.id"
27292
27301
  }