@wix/himalaya-cli 0.1440.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 (50) hide show
  1. package/dist/cli.mjs +95 -37
  2. package/dist/preview-assets.generated.bin +0 -0
  3. package/guides/himi-mcp.md +21 -11
  4. package/guides/skill.md +1 -1
  5. package/guides/trim-a-template.md +4 -1
  6. package/package.json +2 -2
  7. package/templates/beauty-salon/config.ts +14 -0
  8. package/templates/beauty-salon/dev/index.ts +1385 -1382
  9. package/templates/beauty-salon/himalaya.content.json +3 -0
  10. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +322 -27
  11. package/templates/branded-lite/config.ts +14 -0
  12. package/templates/branded-lite/dev/index.ts +1479 -1511
  13. package/templates/branded-lite/himalaya.content.json +3 -0
  14. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +322 -27
  15. package/templates/community-club/config.ts +14 -0
  16. package/templates/community-club/dev/index.ts +1253 -1068
  17. package/templates/community-club/himalaya.content.json +3 -0
  18. package/templates/community-club/tier5-src/himi-store-account/index.ts +322 -27
  19. package/templates/events-meetups/config.ts +14 -0
  20. package/templates/events-meetups/dev/index.ts +1222 -1037
  21. package/templates/events-meetups/himalaya.content.json +3 -0
  22. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +322 -27
  23. package/templates/gym-fitness/config.ts +14 -0
  24. package/templates/gym-fitness/dev/index.ts +1296 -1300
  25. package/templates/gym-fitness/himalaya.content.json +3 -0
  26. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +322 -27
  27. package/templates/nonprofit-cause/config.ts +14 -0
  28. package/templates/nonprofit-cause/dev/index.ts +1276 -1193
  29. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  30. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +322 -27
  31. package/templates/podcast-creator/config.ts +14 -0
  32. package/templates/podcast-creator/dev/index.ts +1271 -1188
  33. package/templates/podcast-creator/himalaya.content.json +3 -0
  34. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +322 -27
  35. package/templates/portfolio-creative/config.ts +14 -0
  36. package/templates/portfolio-creative/dev/index.ts +1371 -1273
  37. package/templates/portfolio-creative/himalaya.content.json +3 -0
  38. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +322 -27
  39. package/templates/restaurant/config.ts +14 -0
  40. package/templates/restaurant/dev/index.ts +1334 -1168
  41. package/templates/restaurant/himalaya.content.json +3 -0
  42. package/templates/restaurant/tier5-src/himi-store-account/index.ts +322 -27
  43. package/templates/retail-store/config.ts +14 -0
  44. package/templates/retail-store/dev/index.ts +1399 -1294
  45. package/templates/retail-store/himalaya.content.json +3 -0
  46. package/templates/retail-store/tier5-src/himi-store-account/index.ts +322 -27
  47. package/templates/yoga-studio/config.ts +14 -0
  48. package/templates/yoga-studio/dev/index.ts +1367 -1291
  49. package/templates/yoga-studio/himalaya.content.json +3 -0
  50. 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,
@@ -1502,50 +1502,26 @@ const SCREENS = runtimeSetting({
1502
1502
  "package": "himalaya",
1503
1503
  "type": "VStack",
1504
1504
  "props": {
1505
- "spacing": 16,
1505
+ "spacing": 0,
1506
1506
  "alignment": "leading",
1507
1507
  "children": [
1508
1508
  {
1509
- "id": "himi_account.title",
1510
- "body": {
1511
- "package": "himalaya",
1512
- "type": "Text",
1513
- "props": {
1514
- "text": "My profile",
1515
- "style": "title1"
1516
- }
1517
- }
1518
- },
1519
- {
1520
- "id": "",
1521
- "body": {
1522
- "package": "himalaya",
1523
- "type": "Text",
1524
- "props": {
1525
- "text": "Orders and saved content in one place.",
1526
- "style": "body",
1527
- "color": "textSecondary"
1528
- }
1529
- }
1530
- },
1531
- {
1532
- "id": "himi_account.login",
1509
+ "id": "himi_account.guest",
1533
1510
  "body": {
1534
1511
  "package": "himalaya",
1535
1512
  "type": "VStack",
1536
1513
  "props": {
1537
- "spacing": 8,
1514
+ "spacing": 0,
1538
1515
  "alignment": "leading",
1539
1516
  "children": [
1540
1517
  {
1541
- "id": "",
1518
+ "id": "himi_account.title",
1542
1519
  "body": {
1543
1520
  "package": "himalaya",
1544
1521
  "type": "Text",
1545
1522
  "props": {
1546
- "text": "$service:himiStoreAccount.authTitle",
1547
- "style": "title2",
1548
- "collapseWhenEmpty": true
1523
+ "text": "Hey, guest",
1524
+ "style": "title1"
1549
1525
  }
1550
1526
  }
1551
1527
  },
@@ -1555,291 +1531,257 @@ const SCREENS = runtimeSetting({
1555
1531
  "package": "himalaya",
1556
1532
  "type": "Text",
1557
1533
  "props": {
1558
- "text": "$service:himiStoreAccount.authBody",
1534
+ "text": "Sign in to see your activity in one place.",
1559
1535
  "style": "body",
1560
- "color": "textSecondary",
1561
- "collapseWhenEmpty": true
1562
- }
1563
- }
1564
- },
1565
- {
1566
- "id": "himi_account.first_name",
1567
- "body": {
1568
- "package": "himalaya",
1569
- "type": "TextField",
1570
- "props": {
1571
- "placeholder": "First name",
1572
- "autoCapitalization": "words",
1573
- "submitLabel": "next",
1574
- "onSubmit": {
1575
- "actionId": "tier5.himiStoreAccount.focusLastName"
1576
- },
1577
- "onChange": {
1578
- "actionId": "tier5.himiStoreAccount.setFirstName"
1579
- }
1536
+ "color": "textSecondary"
1580
1537
  }
1581
1538
  },
1582
1539
  "modifiers": {
1583
- "hiddenPath": "$service:himiStoreAccount.notRegistering"
1540
+ "padding": {
1541
+ "top": 4
1542
+ }
1584
1543
  }
1585
1544
  },
1586
1545
  {
1587
- "id": "himi_account.last_name",
1546
+ "id": "",
1588
1547
  "body": {
1589
1548
  "package": "himalaya",
1590
- "type": "TextField",
1549
+ "type": "VStack",
1591
1550
  "props": {
1592
- "placeholder": "Last name",
1593
- "autoCapitalization": "words",
1594
- "focusPath": "$service:himiStoreAccount.lastNameFocus",
1595
- "submitLabel": "next",
1596
- "onSubmit": {
1597
- "actionId": "tier5.himiStoreAccount.focusEmail"
1598
- },
1599
- "onChange": {
1600
- "actionId": "tier5.himiStoreAccount.setLastName"
1601
- }
1551
+ "spacing": 8,
1552
+ "children": [
1553
+ {
1554
+ "id": "himi_account.signin",
1555
+ "body": {
1556
+ "package": "himalaya",
1557
+ "type": "Button",
1558
+ "props": {
1559
+ "title": "SIGN IN",
1560
+ "style": "primary",
1561
+ "fullWidth": true,
1562
+ "action": {
1563
+ "actionId": "himi.open",
1564
+ "params": {
1565
+ "screenId": "himi_sign_in",
1566
+ "mode": "signin"
1567
+ }
1568
+ }
1569
+ }
1570
+ }
1571
+ },
1572
+ {
1573
+ "id": "himi_account.register",
1574
+ "body": {
1575
+ "package": "himalaya",
1576
+ "type": "Button",
1577
+ "props": {
1578
+ "title": "CREATE ACCOUNT",
1579
+ "style": "secondary",
1580
+ "fullWidth": true,
1581
+ "action": {
1582
+ "actionId": "himi.open",
1583
+ "params": {
1584
+ "screenId": "himi_sign_in",
1585
+ "mode": "register"
1586
+ }
1587
+ }
1588
+ }
1589
+ }
1590
+ }
1591
+ ]
1602
1592
  }
1603
1593
  },
1604
1594
  "modifiers": {
1605
- "hiddenPath": "$service:himiStoreAccount.notRegistering"
1595
+ "fillMaxWidth": true,
1596
+ "padding": {
1597
+ "top": 20
1598
+ }
1606
1599
  }
1607
- },
1600
+ }
1601
+ ]
1602
+ }
1603
+ },
1604
+ "modifiers": {
1605
+ "fillMaxWidth": true,
1606
+ "hiddenPath": "$service:himiStoreAccount.hideGuest"
1607
+ }
1608
+ },
1609
+ {
1610
+ "id": "",
1611
+ "body": {
1612
+ "package": "himalaya",
1613
+ "type": "VStack",
1614
+ "props": {
1615
+ "spacing": 16,
1616
+ "alignment": "leading",
1617
+ "children": [
1608
1618
  {
1609
- "id": "himi_account.email",
1619
+ "id": "himi_account.member",
1610
1620
  "body": {
1611
1621
  "package": "himalaya",
1612
- "type": "TextField",
1622
+ "type": "HStack",
1613
1623
  "props": {
1614
- "placeholder": "Email",
1615
- "keyboard": "email",
1616
- "validation": {
1617
- "required": true,
1618
- "type": "email",
1619
- "mode": "on_blur"
1620
- },
1621
- "errorPath": "$service:himiStoreAccount.emailError",
1622
- "submitLabel": "go",
1623
- "onSubmit": {
1624
- "actionId": "tier5.himiStoreAccount.submit"
1625
- },
1626
- "autoCapitalization": "none",
1627
- "focusPath": "$service:himiStoreAccount.emailFocus",
1628
- "onChange": {
1629
- "actionId": "tier5.himiStoreAccount.setEmail"
1630
- }
1624
+ "spacing": 12,
1625
+ "alignment": "center",
1626
+ "children": [
1627
+ {
1628
+ "id": "himi_account.avatar",
1629
+ "body": {
1630
+ "package": "himalaya",
1631
+ "type": "Image",
1632
+ "props": {
1633
+ "url": "$service:himiStoreAccount.memberImage",
1634
+ "width": 48,
1635
+ "height": 48,
1636
+ "contentMode": "fill",
1637
+ "shape": "circle"
1638
+ }
1639
+ },
1640
+ "modifiers": {
1641
+ "accessibilityRole": "decorative",
1642
+ "hiddenPath": "$service:himiStoreAccount.noMemberImage"
1643
+ }
1644
+ },
1645
+ {
1646
+ "id": "",
1647
+ "body": {
1648
+ "package": "himalaya",
1649
+ "type": "ZStack",
1650
+ "props": {
1651
+ "alignment": "center",
1652
+ "children": [
1653
+ {
1654
+ "id": "",
1655
+ "body": {
1656
+ "package": "himalaya",
1657
+ "type": "Text",
1658
+ "props": {
1659
+ "text": "$service:himiStoreAccount.memberInitials",
1660
+ "style": "title3",
1661
+ "color": "textOnAccent"
1662
+ }
1663
+ }
1664
+ }
1665
+ ]
1666
+ }
1667
+ },
1668
+ "modifiers": {
1669
+ "width": 48,
1670
+ "height": 48,
1671
+ "background": {
1672
+ "token": "accentPrimary"
1673
+ },
1674
+ "cornerRadius": 24,
1675
+ "hiddenPath": "$service:himiStoreAccount.hasMemberImage"
1676
+ }
1677
+ },
1678
+ {
1679
+ "id": "",
1680
+ "body": {
1681
+ "package": "himalaya",
1682
+ "type": "VStack",
1683
+ "props": {
1684
+ "spacing": 2,
1685
+ "alignment": "leading",
1686
+ "children": [
1687
+ {
1688
+ "id": "himi_account.greeting",
1689
+ "body": {
1690
+ "package": "himalaya",
1691
+ "type": "HStack",
1692
+ "props": {
1693
+ "spacing": 6,
1694
+ "alignment": "center",
1695
+ "children": [
1696
+ {
1697
+ "id": "",
1698
+ "body": {
1699
+ "package": "himalaya",
1700
+ "type": "Text",
1701
+ "props": {
1702
+ "text": "Hey,",
1703
+ "style": "title1"
1704
+ }
1705
+ }
1706
+ },
1707
+ {
1708
+ "id": "",
1709
+ "body": {
1710
+ "package": "himalaya",
1711
+ "type": "Text",
1712
+ "props": {
1713
+ "text": "$service:himiStoreAccount.greetingFirstName",
1714
+ "style": "title1",
1715
+ "collapseWhenEmpty": true
1716
+ }
1717
+ }
1718
+ }
1719
+ ]
1720
+ }
1721
+ }
1722
+ },
1723
+ {
1724
+ "id": "",
1725
+ "body": {
1726
+ "package": "himalaya",
1727
+ "type": "Text",
1728
+ "props": {
1729
+ "text": "$service:himiStoreAccount.identityLine",
1730
+ "style": "caption",
1731
+ "color": "accentPrimary",
1732
+ "collapseWhenEmpty": true
1733
+ }
1734
+ }
1735
+ },
1736
+ {
1737
+ "id": "",
1738
+ "body": {
1739
+ "package": "himalaya",
1740
+ "type": "Text",
1741
+ "props": {
1742
+ "text": "$service:himiStoreAccount.memberEmail",
1743
+ "style": "footnote",
1744
+ "color": "textSecondary",
1745
+ "collapseWhenEmpty": true
1746
+ }
1747
+ }
1748
+ }
1749
+ ]
1750
+ }
1751
+ }
1752
+ }
1753
+ ]
1631
1754
  }
1632
1755
  }
1633
1756
  },
1634
1757
  {
1635
- "id": "himi_account.password",
1758
+ "id": "himi_account.return",
1636
1759
  "body": {
1637
1760
  "package": "himalaya",
1638
- "type": "TextField",
1761
+ "type": "Button",
1639
1762
  "props": {
1640
- "placeholder": "Password",
1641
- "secure": true,
1642
- "visibilityToggle": true,
1643
- "validation": {
1644
- "required": true,
1645
- "mode": "on_blur",
1646
- "message": "Enter your password."
1647
- },
1648
- "errorPath": "$service:himiStoreAccount.passwordError",
1649
- "focusPath": "$service:himiStoreAccount.passwordFocus",
1650
- "submitLabel": "go",
1651
- "onSubmit": {
1652
- "actionId": "tier5.himiStoreAccount.submit"
1653
- },
1654
- "autoCapitalization": "none",
1655
- "onChange": {
1656
- "actionId": "tier5.himiStoreAccount.setPassword"
1657
- }
1658
- }
1659
- },
1660
- "modifiers": {
1661
- "hiddenPath": "$service:himiStoreAccount.isRecovering"
1662
- }
1663
- },
1664
- {
1665
- "id": "",
1666
- "body": {
1667
- "package": "himalaya",
1668
- "type": "Text",
1669
- "props": {
1670
- "text": "$service:himiStoreAccount.busyMessage",
1671
- "style": "footnote",
1672
- "collapseWhenEmpty": true
1673
- }
1674
- }
1675
- },
1676
- {
1677
- "id": "himi_account.message",
1678
- "body": {
1679
- "package": "himalaya",
1680
- "type": "Text",
1681
- "props": {
1682
- "text": "$service:himiStoreAccount.message",
1683
- "style": "footnote",
1684
- "color": "textPrimary",
1685
- "collapseWhenEmpty": true
1686
- }
1687
- }
1688
- },
1689
- {
1690
- "id": "himi_account.signin",
1691
- "body": {
1692
- "package": "himalaya",
1693
- "type": "Button",
1694
- "props": {
1695
- "title": "Sign in",
1696
- "style": "primary",
1697
- "fullWidth": true,
1698
- "disabledPath": "$service:himiStoreAccount.authBusy",
1699
- "action": {
1700
- "actionId": "tier5.himiStoreAccount.signIn"
1701
- }
1702
- }
1703
- },
1704
- "modifiers": {
1705
- "hiddenPath": "$service:himiStoreAccount.hideSignInChoices"
1706
- }
1707
- },
1708
- {
1709
- "id": "himi_account.register",
1710
- "body": {
1711
- "package": "himalaya",
1712
- "type": "Button",
1713
- "props": {
1714
- "title": "Create account",
1715
- "style": "primary",
1716
- "fullWidth": true,
1717
- "disabledPath": "$service:himiStoreAccount.authBusy",
1718
- "action": {
1719
- "actionId": "tier5.himiStoreAccount.register"
1720
- }
1721
- }
1722
- },
1723
- "modifiers": {
1724
- "hiddenPath": "$service:himiStoreAccount.notRegistering"
1725
- }
1726
- },
1727
- {
1728
- "id": "himi_account.reset_password",
1729
- "body": {
1730
- "package": "himalaya",
1731
- "type": "Button",
1732
- "props": {
1733
- "title": "Send reset link",
1763
+ "title": "$service:himiStoreAccount.returnCta",
1734
1764
  "style": "primary",
1735
1765
  "fullWidth": true,
1736
- "disabledPath": "$service:himiStoreAccount.authBusy",
1737
- "action": {
1738
- "actionId": "tier5.himiStoreAccount.resetPassword"
1739
- }
1740
- }
1741
- },
1742
- "modifiers": {
1743
- "hiddenPath": "$service:himiStoreAccount.notRecovering"
1744
- }
1745
- },
1746
- {
1747
- "id": "himi_account.show_recovery",
1748
- "body": {
1749
- "package": "himalaya",
1750
- "type": "Button",
1751
- "props": {
1752
- "title": "Forgot password?",
1753
- "style": "secondary",
1754
- "fullWidth": true,
1755
- "disabledPath": "$service:himiStoreAccount.authBusy",
1756
- "action": {
1757
- "actionId": "tier5.himiStoreAccount.showRecovery"
1758
- }
1759
- }
1760
- },
1761
- "modifiers": {
1762
- "hiddenPath": "$service:himiStoreAccount.hideSignInChoices"
1763
- }
1764
- },
1765
- {
1766
- "id": "himi_account.show_register",
1767
- "body": {
1768
- "package": "himalaya",
1769
- "type": "Button",
1770
- "props": {
1771
- "title": "Register",
1772
- "style": "secondary",
1773
- "fullWidth": true,
1774
- "disabledPath": "$service:himiStoreAccount.authBusy",
1775
- "action": {
1776
- "actionId": "tier5.himiStoreAccount.showRegister"
1777
- }
1778
- }
1779
- },
1780
- "modifiers": {
1781
- "hiddenPath": "$service:himiStoreAccount.hideSignInChoices"
1782
- }
1783
- },
1784
- {
1785
- "id": "himi_account.show_signin",
1786
- "body": {
1787
- "package": "himalaya",
1788
- "type": "Button",
1789
- "props": {
1790
- "title": "Sign in instead",
1791
- "style": "secondary",
1792
- "fullWidth": true,
1793
- "disabledPath": "$service:himiStoreAccount.authBusy",
1794
- "action": {
1795
- "actionId": "tier5.himiStoreAccount.showSignIn"
1796
- }
1797
- }
1798
- },
1799
- "modifiers": {
1800
- "hiddenPath": "$service:himiStoreAccount.notRegistering"
1801
- }
1802
- },
1803
- {
1804
- "id": "himi_account.cancel_recovery",
1805
- "body": {
1806
- "package": "himalaya",
1807
- "type": "Button",
1808
- "props": {
1809
- "title": "Back to sign in",
1810
- "style": "secondary",
1811
- "fullWidth": true,
1812
- "disabledPath": "$service:himiStoreAccount.authBusy",
1813
1766
  "action": {
1814
- "actionId": "tier5.himiStoreAccount.showSignIn"
1767
+ "actionId": "himi.open",
1768
+ "params": {
1769
+ "screenId": "$service:himiStoreAccount.returnScreenId",
1770
+ "id": "$service:himiStoreAccount.returnId",
1771
+ "channelId": "$service:himiStoreAccount.returnChannelId"
1772
+ }
1815
1773
  }
1816
1774
  }
1817
1775
  },
1818
1776
  "modifiers": {
1819
- "hiddenPath": "$service:himiStoreAccount.notRecovering"
1777
+ "hiddenPath": "$service:himiStoreAccount.noReturnPath"
1820
1778
  }
1821
1779
  }
1822
1780
  ]
1823
1781
  }
1824
1782
  },
1825
1783
  "modifiers": {
1826
- "background": {
1827
- "token": "surfaceElevated"
1828
- },
1829
- "border": {
1830
- "width": 1,
1831
- "color": {
1832
- "token": "border"
1833
- }
1834
- },
1835
- "cornerRadius": 16,
1836
- "padding": {
1837
- "leading": 16,
1838
- "trailing": 16,
1839
- "top": 16,
1840
- "bottom": 16
1841
- },
1842
- "hiddenPath": "$service:himiStoreAccount.isMember"
1784
+ "hiddenPath": "$service:himiStoreAccount.hideMember"
1843
1785
  }
1844
1786
  },
1845
1787
  {
@@ -1848,174 +1790,47 @@ const SCREENS = runtimeSetting({
1848
1790
  "package": "himalaya",
1849
1791
  "type": "VStack",
1850
1792
  "props": {
1851
- "spacing": 12,
1793
+ "spacing": 0,
1794
+ "alignment": "leading",
1852
1795
  "children": [
1853
1796
  {
1854
- "id": "himi_account.member",
1797
+ "id": "himi_account.view_profile",
1855
1798
  "body": {
1856
1799
  "package": "himalaya",
1857
- "type": "VStack",
1800
+ "type": "HStack",
1858
1801
  "props": {
1859
- "spacing": 8,
1860
- "alignment": "leading",
1802
+ "spacing": 12,
1803
+ "alignment": "center",
1861
1804
  "children": [
1862
1805
  {
1863
1806
  "id": "",
1864
1807
  "body": {
1865
1808
  "package": "himalaya",
1866
- "type": "HStack",
1809
+ "type": "ZStack",
1867
1810
  "props": {
1868
- "spacing": 12,
1811
+ "alignment": "center",
1869
1812
  "children": [
1870
- {
1871
- "id": "himi_account.avatar",
1872
- "body": {
1873
- "package": "himalaya",
1874
- "type": "Image",
1875
- "props": {
1876
- "url": "$service:himiStoreAccount.memberImage",
1877
- "width": 64,
1878
- "height": 64,
1879
- "contentMode": "fill",
1880
- "shape": "circle"
1881
- }
1882
- },
1883
- "modifiers": {
1884
- "accessibilityRole": "decorative",
1885
- "hiddenPath": "$service:himiStoreAccount.noMemberImage"
1886
- }
1887
- },
1888
1813
  {
1889
1814
  "id": "",
1890
1815
  "body": {
1891
1816
  "package": "himalaya",
1892
- "type": "ZStack",
1817
+ "type": "Icon",
1893
1818
  "props": {
1894
- "alignment": "center",
1895
- "children": [
1896
- {
1897
- "id": "",
1898
- "body": {
1899
- "package": "himalaya",
1900
- "type": "Text",
1901
- "props": {
1902
- "text": "$service:himiStoreAccount.memberInitials",
1903
- "style": "title2",
1904
- "color": "textOnAccent"
1905
- }
1906
- }
1907
- }
1908
- ]
1819
+ "name": "person",
1820
+ "size": 20,
1821
+ "tint": "textPrimary"
1909
1822
  }
1910
1823
  },
1911
1824
  "modifiers": {
1912
- "width": 64,
1913
- "height": 64,
1914
- "background": {
1915
- "token": "accentPrimary"
1916
- },
1917
- "cornerRadius": 32,
1918
- "hiddenPath": "$service:himiStoreAccount.hasMemberImage"
1919
- }
1920
- },
1921
- {
1922
- "id": "",
1923
- "body": {
1924
- "package": "himalaya",
1925
- "type": "VStack",
1926
- "props": {
1927
- "spacing": 3,
1928
- "alignment": "leading",
1929
- "children": [
1930
- {
1931
- "id": "",
1932
- "body": {
1933
- "package": "himalaya",
1934
- "type": "Text",
1935
- "props": {
1936
- "text": "$service:himiStoreAccount.identityLine",
1937
- "style": "caption",
1938
- "color": "accentPrimary",
1939
- "collapseWhenEmpty": true
1940
- }
1941
- }
1942
- },
1943
- {
1944
- "id": "",
1945
- "body": {
1946
- "package": "himalaya",
1947
- "type": "Text",
1948
- "props": {
1949
- "text": "$service:himiStoreAccount.memberName",
1950
- "style": "title2",
1951
- "collapseWhenEmpty": true
1952
- }
1953
- }
1954
- },
1955
- {
1956
- "id": "",
1957
- "body": {
1958
- "package": "himalaya",
1959
- "type": "Text",
1960
- "props": {
1961
- "text": "$service:himiStoreAccount.memberEmail",
1962
- "style": "body",
1963
- "color": "textSecondary",
1964
- "collapseWhenEmpty": true
1965
- }
1966
- }
1967
- }
1968
- ]
1969
- }
1825
+ "accessibilityRole": "decorative"
1970
1826
  }
1971
1827
  }
1972
1828
  ]
1973
1829
  }
1974
- }
1975
- }
1976
- ]
1977
- }
1978
- },
1979
- "modifiers": {
1980
- "background": {
1981
- "token": "surfaceElevated"
1982
- },
1983
- "border": {
1984
- "width": 1,
1985
- "color": {
1986
- "token": "border"
1987
- }
1988
- },
1989
- "cornerRadius": 16,
1990
- "padding": {
1991
- "leading": 16,
1992
- "trailing": 16,
1993
- "top": 16,
1994
- "bottom": 16
1995
- }
1996
- }
1997
- },
1998
- {
1999
- "id": "himi_account.orders",
2000
- "body": {
2001
- "package": "himalaya",
2002
- "type": "HStack",
2003
- "props": {
2004
- "spacing": 12,
2005
- "children": [
2006
- {
2007
- "id": "",
2008
- "body": {
2009
- "package": "himalaya",
2010
- "type": "Icon",
2011
- "props": {
2012
- "name": "bag",
2013
- "size": 18,
2014
- "tint": "accentPrimary"
2015
- }
2016
1830
  },
2017
1831
  "modifiers": {
2018
- "accessibilityRole": "decorative"
1832
+ "width": 24,
1833
+ "height": 24
2019
1834
  }
2020
1835
  },
2021
1836
  {
@@ -2024,8 +1839,9 @@ const SCREENS = runtimeSetting({
2024
1839
  "package": "himalaya",
2025
1840
  "type": "Text",
2026
1841
  "props": {
2027
- "text": "My orders",
2028
- "style": "bodyEmphasis"
1842
+ "text": "View profile",
1843
+ "style": "body",
1844
+ "maxLines": 1
2029
1845
  }
2030
1846
  }
2031
1847
  },
@@ -2036,74 +1852,66 @@ const SCREENS = runtimeSetting({
2036
1852
  "type": "Spacer",
2037
1853
  "props": {}
2038
1854
  }
2039
- },
2040
- {
2041
- "id": "",
2042
- "body": {
2043
- "package": "himalaya",
2044
- "type": "Icon",
2045
- "props": {
2046
- "name": "chevron_right",
2047
- "size": 16,
2048
- "tint": "textTertiary"
2049
- }
2050
- },
2051
- "modifiers": {
2052
- "accessibilityRole": "decorative"
2053
- }
2054
1855
  }
2055
1856
  ]
2056
1857
  }
2057
1858
  },
2058
1859
  "modifiers": {
2059
- "background": {
2060
- "token": "surfaceElevated"
2061
- },
2062
- "border": {
2063
- "width": 1,
2064
- "color": {
2065
- "token": "border"
2066
- }
2067
- },
2068
- "cornerRadius": 8,
1860
+ "fillMaxWidth": true,
2069
1861
  "padding": {
2070
- "leading": 14,
2071
- "trailing": 14,
2072
- "top": 13,
2073
- "bottom": 13
1862
+ "top": 12,
1863
+ "bottom": 12
2074
1864
  },
2075
1865
  "onTap": {
2076
- "actionId": "himi.open",
1866
+ "actionId": "tier5.himiStoreAccount.openMember",
2077
1867
  "params": {
2078
- "screenId": "himi_orders"
1868
+ "screenId": "himi_account_settings"
2079
1869
  }
2080
1870
  },
2081
- "pressFeedback": "scale",
1871
+ "pressFeedback": "highlight",
2082
1872
  "haptic": "light",
2083
- "accessibilityLabel": "My orders"
1873
+ "accessibilityRole": "button",
1874
+ "accessibilityLabel": "View profile"
2084
1875
  }
2085
1876
  },
2086
1877
  {
2087
- "id": "himi_account.cart",
1878
+ "id": "himi_account.orders",
2088
1879
  "body": {
2089
1880
  "package": "himalaya",
2090
1881
  "type": "HStack",
2091
1882
  "props": {
2092
1883
  "spacing": 12,
1884
+ "alignment": "center",
2093
1885
  "children": [
2094
1886
  {
2095
1887
  "id": "",
2096
1888
  "body": {
2097
1889
  "package": "himalaya",
2098
- "type": "Icon",
1890
+ "type": "ZStack",
2099
1891
  "props": {
2100
- "name": "cart",
2101
- "size": 18,
2102
- "tint": "accentPrimary"
1892
+ "alignment": "center",
1893
+ "children": [
1894
+ {
1895
+ "id": "",
1896
+ "body": {
1897
+ "package": "himalaya",
1898
+ "type": "Icon",
1899
+ "props": {
1900
+ "name": "bag",
1901
+ "size": 20,
1902
+ "tint": "textPrimary"
1903
+ }
1904
+ },
1905
+ "modifiers": {
1906
+ "accessibilityRole": "decorative"
1907
+ }
1908
+ }
1909
+ ]
2103
1910
  }
2104
1911
  },
2105
1912
  "modifiers": {
2106
- "accessibilityRole": "decorative"
1913
+ "width": 24,
1914
+ "height": 24
2107
1915
  }
2108
1916
  },
2109
1917
  {
@@ -2112,8 +1920,9 @@ const SCREENS = runtimeSetting({
2112
1920
  "package": "himalaya",
2113
1921
  "type": "Text",
2114
1922
  "props": {
2115
- "text": "Cart",
2116
- "style": "bodyEmphasis"
1923
+ "text": "My orders",
1924
+ "style": "body",
1925
+ "maxLines": 1
2117
1926
  }
2118
1927
  }
2119
1928
  },
@@ -2124,51 +1933,26 @@ const SCREENS = runtimeSetting({
2124
1933
  "type": "Spacer",
2125
1934
  "props": {}
2126
1935
  }
2127
- },
2128
- {
2129
- "id": "",
2130
- "body": {
2131
- "package": "himalaya",
2132
- "type": "Icon",
2133
- "props": {
2134
- "name": "chevron_right",
2135
- "size": 16,
2136
- "tint": "textTertiary"
2137
- }
2138
- },
2139
- "modifiers": {
2140
- "accessibilityRole": "decorative"
2141
- }
2142
1936
  }
2143
1937
  ]
2144
1938
  }
2145
1939
  },
2146
1940
  "modifiers": {
2147
- "background": {
2148
- "token": "surfaceElevated"
2149
- },
2150
- "border": {
2151
- "width": 1,
2152
- "color": {
2153
- "token": "border"
2154
- }
2155
- },
2156
- "cornerRadius": 8,
1941
+ "fillMaxWidth": true,
2157
1942
  "padding": {
2158
- "leading": 14,
2159
- "trailing": 14,
2160
- "top": 13,
2161
- "bottom": 13
1943
+ "top": 12,
1944
+ "bottom": 12
2162
1945
  },
2163
1946
  "onTap": {
2164
- "actionId": "himi.open",
1947
+ "actionId": "tier5.himiStoreAccount.openMember",
2165
1948
  "params": {
2166
- "screenId": "himi_cart"
1949
+ "screenId": "himi_orders"
2167
1950
  }
2168
1951
  },
2169
- "pressFeedback": "scale",
1952
+ "pressFeedback": "highlight",
2170
1953
  "haptic": "light",
2171
- "accessibilityLabel": "Cart"
1954
+ "accessibilityRole": "button",
1955
+ "accessibilityLabel": "My orders"
2172
1956
  }
2173
1957
  },
2174
1958
  {
@@ -2178,20 +1962,37 @@ const SCREENS = runtimeSetting({
2178
1962
  "type": "HStack",
2179
1963
  "props": {
2180
1964
  "spacing": 12,
1965
+ "alignment": "center",
2181
1966
  "children": [
2182
1967
  {
2183
1968
  "id": "",
2184
1969
  "body": {
2185
1970
  "package": "himalaya",
2186
- "type": "Icon",
1971
+ "type": "ZStack",
2187
1972
  "props": {
2188
- "name": "bookmark",
2189
- "size": 18,
2190
- "tint": "accentPrimary"
1973
+ "alignment": "center",
1974
+ "children": [
1975
+ {
1976
+ "id": "",
1977
+ "body": {
1978
+ "package": "himalaya",
1979
+ "type": "Icon",
1980
+ "props": {
1981
+ "name": "bookmark",
1982
+ "size": 20,
1983
+ "tint": "textPrimary"
1984
+ }
1985
+ },
1986
+ "modifiers": {
1987
+ "accessibilityRole": "decorative"
1988
+ }
1989
+ }
1990
+ ]
2191
1991
  }
2192
1992
  },
2193
1993
  "modifiers": {
2194
- "accessibilityRole": "decorative"
1994
+ "width": 24,
1995
+ "height": 24
2195
1996
  }
2196
1997
  },
2197
1998
  {
@@ -2200,8 +2001,9 @@ const SCREENS = runtimeSetting({
2200
2001
  "package": "himalaya",
2201
2002
  "type": "Text",
2202
2003
  "props": {
2203
- "text": "Saved posts",
2204
- "style": "bodyEmphasis"
2004
+ "text": "My saved posts",
2005
+ "style": "body",
2006
+ "maxLines": 1
2205
2007
  }
2206
2008
  }
2207
2009
  },
@@ -2212,41 +2014,15 @@ const SCREENS = runtimeSetting({
2212
2014
  "type": "Spacer",
2213
2015
  "props": {}
2214
2016
  }
2215
- },
2216
- {
2217
- "id": "",
2218
- "body": {
2219
- "package": "himalaya",
2220
- "type": "Icon",
2221
- "props": {
2222
- "name": "chevron_right",
2223
- "size": 16,
2224
- "tint": "textTertiary"
2225
- }
2226
- },
2227
- "modifiers": {
2228
- "accessibilityRole": "decorative"
2229
- }
2230
2017
  }
2231
2018
  ]
2232
2019
  }
2233
2020
  },
2234
2021
  "modifiers": {
2235
- "background": {
2236
- "token": "surfaceElevated"
2237
- },
2238
- "border": {
2239
- "width": 1,
2240
- "color": {
2241
- "token": "border"
2242
- }
2243
- },
2244
- "cornerRadius": 8,
2022
+ "fillMaxWidth": true,
2245
2023
  "padding": {
2246
- "leading": 14,
2247
- "trailing": 14,
2248
- "top": 13,
2249
- "bottom": 13
2024
+ "top": 12,
2025
+ "bottom": 12
2250
2026
  },
2251
2027
  "onTap": {
2252
2028
  "actionId": "himi.open",
@@ -2254,9 +2030,10 @@ const SCREENS = runtimeSetting({
2254
2030
  "screenId": "himi_saved"
2255
2031
  }
2256
2032
  },
2257
- "pressFeedback": "scale",
2033
+ "pressFeedback": "highlight",
2258
2034
  "haptic": "light",
2259
- "accessibilityLabel": "Saved posts"
2035
+ "accessibilityRole": "button",
2036
+ "accessibilityLabel": "My saved posts"
2260
2037
  }
2261
2038
  },
2262
2039
  {
@@ -2266,20 +2043,37 @@ const SCREENS = runtimeSetting({
2266
2043
  "type": "HStack",
2267
2044
  "props": {
2268
2045
  "spacing": 12,
2046
+ "alignment": "center",
2269
2047
  "children": [
2270
2048
  {
2271
2049
  "id": "",
2272
2050
  "body": {
2273
2051
  "package": "himalaya",
2274
- "type": "Icon",
2052
+ "type": "ZStack",
2275
2053
  "props": {
2276
- "name": "refresh",
2277
- "size": 18,
2278
- "tint": "accentPrimary"
2054
+ "alignment": "center",
2055
+ "children": [
2056
+ {
2057
+ "id": "",
2058
+ "body": {
2059
+ "package": "himalaya",
2060
+ "type": "Icon",
2061
+ "props": {
2062
+ "name": "refresh",
2063
+ "size": 20,
2064
+ "tint": "textPrimary"
2065
+ }
2066
+ },
2067
+ "modifiers": {
2068
+ "accessibilityRole": "decorative"
2069
+ }
2070
+ }
2071
+ ]
2279
2072
  }
2280
2073
  },
2281
2074
  "modifiers": {
2282
- "accessibilityRole": "decorative"
2075
+ "width": 24,
2076
+ "height": 24
2283
2077
  }
2284
2078
  },
2285
2079
  {
@@ -2289,7 +2083,8 @@ const SCREENS = runtimeSetting({
2289
2083
  "type": "Text",
2290
2084
  "props": {
2291
2085
  "text": "$service:himiStoreAccount.restoreLabel",
2292
- "style": "bodyEmphasis"
2086
+ "style": "body",
2087
+ "maxLines": 1
2293
2088
  }
2294
2089
  }
2295
2090
  },
@@ -2305,27 +2100,17 @@ const SCREENS = runtimeSetting({
2305
2100
  }
2306
2101
  },
2307
2102
  "modifiers": {
2308
- "background": {
2309
- "token": "surfaceElevated"
2103
+ "fillMaxWidth": true,
2104
+ "padding": {
2105
+ "top": 12,
2106
+ "bottom": 12
2310
2107
  },
2311
- "border": {
2312
- "width": 1,
2313
- "color": {
2314
- "token": "border"
2315
- }
2108
+ "onTap": {
2109
+ "actionId": "tier5.himiStoreAccount.iapRestore"
2316
2110
  },
2317
- "cornerRadius": 8,
2318
- "padding": {
2319
- "leading": 14,
2320
- "trailing": 14,
2321
- "top": 13,
2322
- "bottom": 13
2323
- },
2324
- "onTap": {
2325
- "actionId": "tier5.himiStoreAccount.iapRestore"
2326
- },
2327
- "pressFeedback": "scale",
2111
+ "pressFeedback": "highlight",
2328
2112
  "haptic": "light",
2113
+ "accessibilityRole": "button",
2329
2114
  "accessibilityLabel": "$service:himiStoreAccount.restoreLabel",
2330
2115
  "hiddenPath": "$service:himiStoreAccount.restoreHidden"
2331
2116
  }
@@ -2353,20 +2138,37 @@ const SCREENS = runtimeSetting({
2353
2138
  "type": "HStack",
2354
2139
  "props": {
2355
2140
  "spacing": 12,
2141
+ "alignment": "center",
2356
2142
  "children": [
2357
2143
  {
2358
2144
  "id": "",
2359
2145
  "body": {
2360
2146
  "package": "himalaya",
2361
- "type": "Icon",
2147
+ "type": "ZStack",
2362
2148
  "props": {
2363
- "name": "location",
2364
- "size": 18,
2365
- "tint": "accentPrimary"
2149
+ "alignment": "center",
2150
+ "children": [
2151
+ {
2152
+ "id": "",
2153
+ "body": {
2154
+ "package": "himalaya",
2155
+ "type": "Icon",
2156
+ "props": {
2157
+ "name": "location",
2158
+ "size": 20,
2159
+ "tint": "textPrimary"
2160
+ }
2161
+ },
2162
+ "modifiers": {
2163
+ "accessibilityRole": "decorative"
2164
+ }
2165
+ }
2166
+ ]
2366
2167
  }
2367
2168
  },
2368
2169
  "modifiers": {
2369
- "accessibilityRole": "decorative"
2170
+ "width": 24,
2171
+ "height": 24
2370
2172
  }
2371
2173
  },
2372
2174
  {
@@ -2376,7 +2178,8 @@ const SCREENS = runtimeSetting({
2376
2178
  "type": "Text",
2377
2179
  "props": {
2378
2180
  "text": "My addresses",
2379
- "style": "bodyEmphasis"
2181
+ "style": "body",
2182
+ "maxLines": 1
2380
2183
  }
2381
2184
  }
2382
2185
  },
@@ -2387,50 +2190,25 @@ const SCREENS = runtimeSetting({
2387
2190
  "type": "Spacer",
2388
2191
  "props": {}
2389
2192
  }
2390
- },
2391
- {
2392
- "id": "",
2393
- "body": {
2394
- "package": "himalaya",
2395
- "type": "Icon",
2396
- "props": {
2397
- "name": "chevron_right",
2398
- "size": 16,
2399
- "tint": "textTertiary"
2400
- }
2401
- },
2402
- "modifiers": {
2403
- "accessibilityRole": "decorative"
2404
- }
2405
2193
  }
2406
2194
  ]
2407
2195
  }
2408
2196
  },
2409
2197
  "modifiers": {
2410
- "background": {
2411
- "token": "surfaceElevated"
2412
- },
2413
- "border": {
2414
- "width": 1,
2415
- "color": {
2416
- "token": "border"
2417
- }
2418
- },
2419
- "cornerRadius": 8,
2198
+ "fillMaxWidth": true,
2420
2199
  "padding": {
2421
- "leading": 14,
2422
- "trailing": 14,
2423
- "top": 13,
2424
- "bottom": 13
2200
+ "top": 12,
2201
+ "bottom": 12
2425
2202
  },
2426
2203
  "onTap": {
2427
- "actionId": "himi.open",
2204
+ "actionId": "tier5.himiStoreAccount.openMember",
2428
2205
  "params": {
2429
2206
  "screenId": "himi_addresses"
2430
2207
  }
2431
2208
  },
2432
- "pressFeedback": "scale",
2209
+ "pressFeedback": "highlight",
2433
2210
  "haptic": "light",
2211
+ "accessibilityRole": "button",
2434
2212
  "accessibilityLabel": "My addresses",
2435
2213
  "hiddenPath": "$service:himiStoreAccount.noMemberAddresses"
2436
2214
  }
@@ -2442,20 +2220,37 @@ const SCREENS = runtimeSetting({
2442
2220
  "type": "HStack",
2443
2221
  "props": {
2444
2222
  "spacing": 12,
2223
+ "alignment": "center",
2445
2224
  "children": [
2446
2225
  {
2447
2226
  "id": "",
2448
2227
  "body": {
2449
2228
  "package": "himalaya",
2450
- "type": "Icon",
2229
+ "type": "ZStack",
2451
2230
  "props": {
2452
- "name": "lock",
2453
- "size": 18,
2454
- "tint": "accentPrimary"
2231
+ "alignment": "center",
2232
+ "children": [
2233
+ {
2234
+ "id": "",
2235
+ "body": {
2236
+ "package": "himalaya",
2237
+ "type": "Icon",
2238
+ "props": {
2239
+ "name": "lock",
2240
+ "size": 20,
2241
+ "tint": "textPrimary"
2242
+ }
2243
+ },
2244
+ "modifiers": {
2245
+ "accessibilityRole": "decorative"
2246
+ }
2247
+ }
2248
+ ]
2455
2249
  }
2456
2250
  },
2457
2251
  "modifiers": {
2458
- "accessibilityRole": "decorative"
2252
+ "width": 24,
2253
+ "height": 24
2459
2254
  }
2460
2255
  },
2461
2256
  {
@@ -2465,7 +2260,8 @@ const SCREENS = runtimeSetting({
2465
2260
  "type": "Text",
2466
2261
  "props": {
2467
2262
  "text": "My wallet",
2468
- "style": "bodyEmphasis"
2263
+ "style": "body",
2264
+ "maxLines": 1
2469
2265
  }
2470
2266
  }
2471
2267
  },
@@ -2476,61 +2272,82 @@ const SCREENS = runtimeSetting({
2476
2272
  "type": "Spacer",
2477
2273
  "props": {}
2478
2274
  }
2479
- },
2480
- {
2481
- "id": "",
2482
- "body": {
2483
- "package": "himalaya",
2484
- "type": "Icon",
2485
- "props": {
2486
- "name": "chevron_right",
2487
- "size": 16,
2488
- "tint": "textTertiary"
2489
- }
2490
- },
2491
- "modifiers": {
2492
- "accessibilityRole": "decorative"
2493
- }
2494
2275
  }
2495
2276
  ]
2496
2277
  }
2497
2278
  },
2498
2279
  "modifiers": {
2499
- "background": {
2500
- "token": "surfaceElevated"
2501
- },
2502
- "border": {
2503
- "width": 1,
2504
- "color": {
2505
- "token": "border"
2506
- }
2507
- },
2508
- "cornerRadius": 8,
2280
+ "fillMaxWidth": true,
2509
2281
  "padding": {
2510
- "leading": 14,
2511
- "trailing": 14,
2512
- "top": 13,
2513
- "bottom": 13
2282
+ "top": 12,
2283
+ "bottom": 12
2514
2284
  },
2515
2285
  "onTap": {
2516
- "actionId": "himi.open",
2286
+ "actionId": "tier5.himiStoreAccount.openMember",
2517
2287
  "params": {
2518
2288
  "screenId": "himi_wallet"
2519
2289
  }
2520
2290
  },
2521
- "pressFeedback": "scale",
2291
+ "pressFeedback": "highlight",
2522
2292
  "haptic": "light",
2293
+ "accessibilityRole": "button",
2523
2294
  "accessibilityLabel": "My wallet",
2524
2295
  "hiddenPath": "$service:himiStoreAccount.noMemberWallet"
2525
2296
  }
2526
- },
2297
+ }
2298
+ ]
2299
+ }
2300
+ },
2301
+ "modifiers": {
2302
+ "fillMaxWidth": true,
2303
+ "padding": {
2304
+ "top": 24
2305
+ }
2306
+ }
2307
+ },
2308
+ {
2309
+ "id": "",
2310
+ "body": {
2311
+ "package": "himalaya",
2312
+ "type": "VStack",
2313
+ "props": {
2314
+ "spacing": 0,
2315
+ "children": [
2527
2316
  {
2528
- "id": "himi_account.view_profile",
2317
+ "id": "",
2529
2318
  "body": {
2530
2319
  "package": "himalaya",
2531
- "type": "HStack",
2320
+ "type": "Divider",
2321
+ "props": {}
2322
+ }
2323
+ }
2324
+ ]
2325
+ }
2326
+ },
2327
+ "modifiers": {
2328
+ "fillMaxWidth": true,
2329
+ "padding": {
2330
+ "top": 8,
2331
+ "bottom": 8
2332
+ }
2333
+ }
2334
+ },
2335
+ {
2336
+ "id": "himi_account.language",
2337
+ "body": {
2338
+ "package": "himalaya",
2339
+ "type": "HStack",
2340
+ "props": {
2341
+ "spacing": 12,
2342
+ "alignment": "center",
2343
+ "children": [
2344
+ {
2345
+ "id": "",
2346
+ "body": {
2347
+ "package": "himalaya",
2348
+ "type": "ZStack",
2532
2349
  "props": {
2533
- "spacing": 12,
2350
+ "alignment": "center",
2534
2351
  "children": [
2535
2352
  {
2536
2353
  "id": "",
@@ -2538,43 +2355,9 @@ const SCREENS = runtimeSetting({
2538
2355
  "package": "himalaya",
2539
2356
  "type": "Icon",
2540
2357
  "props": {
2541
- "name": "person",
2542
- "size": 18,
2543
- "tint": "accentPrimary"
2544
- }
2545
- },
2546
- "modifiers": {
2547
- "accessibilityRole": "decorative"
2548
- }
2549
- },
2550
- {
2551
- "id": "",
2552
- "body": {
2553
- "package": "himalaya",
2554
- "type": "Text",
2555
- "props": {
2556
- "text": "View profile",
2557
- "style": "bodyEmphasis"
2558
- }
2559
- }
2560
- },
2561
- {
2562
- "id": "",
2563
- "body": {
2564
- "package": "himalaya",
2565
- "type": "Spacer",
2566
- "props": {}
2567
- }
2568
- },
2569
- {
2570
- "id": "",
2571
- "body": {
2572
- "package": "himalaya",
2573
- "type": "Icon",
2574
- "props": {
2575
- "name": "chevron_right",
2576
- "size": 16,
2577
- "tint": "textTertiary"
2358
+ "name": "globe",
2359
+ "size": 20,
2360
+ "tint": "textPrimary"
2578
2361
  }
2579
2362
  },
2580
2363
  "modifiers": {
@@ -2585,123 +2368,67 @@ const SCREENS = runtimeSetting({
2585
2368
  }
2586
2369
  },
2587
2370
  "modifiers": {
2588
- "background": {
2589
- "token": "surfaceElevated"
2590
- },
2591
- "border": {
2592
- "width": 1,
2593
- "color": {
2594
- "token": "border"
2595
- }
2596
- },
2597
- "cornerRadius": 8,
2598
- "padding": {
2599
- "leading": 14,
2600
- "trailing": 14,
2601
- "top": 13,
2602
- "bottom": 13
2603
- },
2604
- "onTap": {
2605
- "actionId": "himi.open",
2606
- "params": {
2607
- "screenId": "himi_account_settings"
2608
- }
2609
- },
2610
- "pressFeedback": "scale",
2611
- "haptic": "light",
2612
- "accessibilityLabel": "View profile"
2371
+ "width": 24,
2372
+ "height": 24
2613
2373
  }
2614
2374
  },
2615
2375
  {
2616
- "id": "himi_account.return",
2376
+ "id": "",
2617
2377
  "body": {
2618
2378
  "package": "himalaya",
2619
- "type": "Button",
2379
+ "type": "Text",
2620
2380
  "props": {
2621
- "title": "$service:himiStoreAccount.returnCta",
2622
- "style": "primary",
2623
- "fullWidth": true,
2624
- "action": {
2625
- "actionId": "himi.open",
2626
- "params": {
2627
- "screenId": "$service:himiStoreAccount.returnScreenId",
2628
- "id": "$service:himiStoreAccount.returnId",
2629
- "channelId": "$service:himiStoreAccount.returnChannelId"
2630
- }
2631
- }
2381
+ "text": "App language",
2382
+ "style": "body",
2383
+ "maxLines": 1
2632
2384
  }
2633
- },
2634
- "modifiers": {
2635
- "hiddenPath": "$service:himiStoreAccount.noReturnPath"
2636
2385
  }
2637
2386
  },
2638
2387
  {
2639
- "id": "himi_account.signout",
2388
+ "id": "",
2640
2389
  "body": {
2641
2390
  "package": "himalaya",
2642
- "type": "Button",
2643
- "props": {
2644
- "title": "Sign out",
2645
- "style": "secondary",
2646
- "fullWidth": true,
2647
- "action": {
2648
- "actionId": "tier5.himiStoreAccount.signOut"
2649
- }
2650
- }
2651
- }
2652
- },
2653
- {
2654
- "id": "",
2655
- "body": {
2656
- "package": "himalaya",
2657
- "type": "Text",
2658
- "props": {
2659
- "text": "Delete account",
2660
- "style": "footnote",
2661
- "color": "textSecondary"
2662
- }
2663
- },
2664
- "modifiers": {
2665
- "onTap": {
2666
- "actionId": "himi.open",
2667
- "params": {
2668
- "screenId": "himi_delete_account"
2669
- }
2670
- },
2671
- "pressFeedback": "scale",
2672
- "haptic": "light",
2673
- "padding": {
2674
- "leading": 4,
2675
- "trailing": 4,
2676
- "top": 4,
2677
- "bottom": 4
2678
- },
2679
- "accessibilityLabel": "Delete account"
2391
+ "type": "Spacer",
2392
+ "props": {}
2680
2393
  }
2681
2394
  }
2682
2395
  ]
2683
2396
  }
2684
2397
  },
2685
2398
  "modifiers": {
2686
- "hiddenPath": "$service:himiStoreAccount.notMember"
2399
+ "fillMaxWidth": true,
2400
+ "padding": {
2401
+ "top": 12,
2402
+ "bottom": 12
2403
+ },
2404
+ "onTap": {
2405
+ "actionId": "himi.open",
2406
+ "params": {
2407
+ "screenId": "himi_app_language"
2408
+ }
2409
+ },
2410
+ "pressFeedback": "highlight",
2411
+ "haptic": "light",
2412
+ "accessibilityRole": "button",
2413
+ "accessibilityLabel": "App language"
2687
2414
  }
2688
2415
  },
2689
2416
  {
2690
- "id": "",
2417
+ "id": "himi_account.whats_new",
2691
2418
  "body": {
2692
2419
  "package": "himalaya",
2693
- "type": "VStack",
2420
+ "type": "HStack",
2694
2421
  "props": {
2695
- "spacing": 8,
2696
- "alignment": "leading",
2422
+ "spacing": 12,
2423
+ "alignment": "center",
2697
2424
  "children": [
2698
2425
  {
2699
- "id": "himi_account.restore_guest",
2426
+ "id": "",
2700
2427
  "body": {
2701
2428
  "package": "himalaya",
2702
- "type": "HStack",
2429
+ "type": "ZStack",
2703
2430
  "props": {
2704
- "spacing": 12,
2431
+ "alignment": "center",
2705
2432
  "children": [
2706
2433
  {
2707
2434
  "id": "",
@@ -2709,107 +2436,102 @@ const SCREENS = runtimeSetting({
2709
2436
  "package": "himalaya",
2710
2437
  "type": "Icon",
2711
2438
  "props": {
2712
- "name": "refresh",
2713
- "size": 18,
2714
- "tint": "accentPrimary"
2439
+ "name": "bell",
2440
+ "size": 20,
2441
+ "tint": "textPrimary"
2715
2442
  }
2716
2443
  },
2717
2444
  "modifiers": {
2718
2445
  "accessibilityRole": "decorative"
2719
2446
  }
2720
- },
2721
- {
2722
- "id": "",
2723
- "body": {
2724
- "package": "himalaya",
2725
- "type": "Text",
2726
- "props": {
2727
- "text": "$service:himiStoreAccount.restoreLabel",
2728
- "style": "bodyEmphasis"
2729
- }
2730
- }
2731
- },
2732
- {
2733
- "id": "",
2734
- "body": {
2735
- "package": "himalaya",
2736
- "type": "Spacer",
2737
- "props": {}
2738
- }
2739
2447
  }
2740
2448
  ]
2741
2449
  }
2742
2450
  },
2743
2451
  "modifiers": {
2744
- "background": {
2745
- "token": "surfaceElevated"
2746
- },
2747
- "border": {
2748
- "width": 1,
2749
- "color": {
2750
- "token": "border"
2751
- }
2752
- },
2753
- "cornerRadius": 8,
2754
- "padding": {
2755
- "leading": 14,
2756
- "trailing": 14,
2757
- "top": 13,
2758
- "bottom": 13
2759
- },
2760
- "onTap": {
2761
- "actionId": "tier5.himiStoreAccount.iapRestore"
2762
- },
2763
- "pressFeedback": "scale",
2764
- "haptic": "light",
2765
- "accessibilityLabel": "$service:himiStoreAccount.restoreLabel",
2766
- "hiddenPath": "$service:himiStoreAccount.restoreHidden"
2452
+ "width": 24,
2453
+ "height": 24
2767
2454
  }
2768
2455
  },
2769
2456
  {
2770
- "id": "himi_account.restore_guest_message",
2457
+ "id": "",
2771
2458
  "body": {
2772
2459
  "package": "himalaya",
2773
2460
  "type": "Text",
2774
2461
  "props": {
2775
- "text": "$service:himiStoreAccount.restoreMessage",
2776
- "style": "footnote",
2777
- "color": "textSecondary",
2778
- "collapseWhenEmpty": true
2462
+ "text": "What's new",
2463
+ "style": "body",
2464
+ "maxLines": 1
2779
2465
  }
2780
- },
2781
- "modifiers": {
2782
- "hiddenPath": "$service:himiStoreAccount.restoreHidden"
2466
+ }
2467
+ },
2468
+ {
2469
+ "id": "",
2470
+ "body": {
2471
+ "package": "himalaya",
2472
+ "type": "Spacer",
2473
+ "props": {}
2783
2474
  }
2784
2475
  }
2785
2476
  ]
2786
2477
  }
2787
2478
  },
2788
2479
  "modifiers": {
2789
- "hiddenPath": "$service:himiStoreAccount.isMember"
2480
+ "fillMaxWidth": true,
2481
+ "padding": {
2482
+ "top": 12,
2483
+ "bottom": 12
2484
+ },
2485
+ "onTap": {
2486
+ "actionId": "himi.open",
2487
+ "params": {
2488
+ "screenId": "himi_whats_new"
2489
+ }
2490
+ },
2491
+ "pressFeedback": "highlight",
2492
+ "haptic": "light",
2493
+ "accessibilityRole": "button",
2494
+ "accessibilityLabel": "What's new"
2790
2495
  }
2791
2496
  },
2792
2497
  {
2793
- "id": "himi_account.language",
2498
+ "id": "himi_account.appearance",
2794
2499
  "body": {
2795
2500
  "package": "himalaya",
2796
2501
  "type": "HStack",
2797
2502
  "props": {
2798
2503
  "spacing": 12,
2504
+ "alignment": "center",
2799
2505
  "children": [
2800
2506
  {
2801
2507
  "id": "",
2802
2508
  "body": {
2803
2509
  "package": "himalaya",
2804
- "type": "Icon",
2510
+ "type": "ZStack",
2805
2511
  "props": {
2806
- "name": "globe",
2807
- "size": 18,
2808
- "tint": "accentPrimary"
2512
+ "alignment": "center",
2513
+ "children": [
2514
+ {
2515
+ "id": "",
2516
+ "body": {
2517
+ "package": "himalaya",
2518
+ "type": "Icon",
2519
+ "props": {
2520
+ "name": "settings",
2521
+ "size": 20,
2522
+ "tint": "textPrimary"
2523
+ }
2524
+ },
2525
+ "modifiers": {
2526
+ "accessibilityRole": "decorative"
2527
+ }
2528
+ }
2529
+ ]
2809
2530
  }
2810
2531
  },
2811
2532
  "modifiers": {
2812
- "accessibilityRole": "decorative"
2533
+ "width": 24,
2534
+ "height": 24
2813
2535
  }
2814
2536
  },
2815
2537
  {
@@ -2818,8 +2540,9 @@ const SCREENS = runtimeSetting({
2818
2540
  "package": "himalaya",
2819
2541
  "type": "Text",
2820
2542
  "props": {
2821
- "text": "App language",
2822
- "style": "bodyEmphasis"
2543
+ "text": "Settings",
2544
+ "style": "body",
2545
+ "maxLines": 1
2823
2546
  }
2824
2547
  }
2825
2548
  },
@@ -2830,74 +2553,66 @@ const SCREENS = runtimeSetting({
2830
2553
  "type": "Spacer",
2831
2554
  "props": {}
2832
2555
  }
2833
- },
2834
- {
2835
- "id": "",
2836
- "body": {
2837
- "package": "himalaya",
2838
- "type": "Icon",
2839
- "props": {
2840
- "name": "chevron_right",
2841
- "size": 16,
2842
- "tint": "textTertiary"
2843
- }
2844
- },
2845
- "modifiers": {
2846
- "accessibilityRole": "decorative"
2847
- }
2848
2556
  }
2849
2557
  ]
2850
2558
  }
2851
2559
  },
2852
2560
  "modifiers": {
2853
- "background": {
2854
- "token": "surfaceElevated"
2855
- },
2856
- "border": {
2857
- "width": 1,
2858
- "color": {
2859
- "token": "border"
2860
- }
2861
- },
2862
- "cornerRadius": 8,
2561
+ "fillMaxWidth": true,
2863
2562
  "padding": {
2864
- "leading": 14,
2865
- "trailing": 14,
2866
- "top": 13,
2867
- "bottom": 13
2563
+ "top": 12,
2564
+ "bottom": 12
2868
2565
  },
2869
2566
  "onTap": {
2870
2567
  "actionId": "himi.open",
2871
2568
  "params": {
2872
- "screenId": "himi_app_language"
2569
+ "screenId": "himi_appearance"
2873
2570
  }
2874
2571
  },
2875
- "pressFeedback": "scale",
2572
+ "pressFeedback": "highlight",
2876
2573
  "haptic": "light",
2877
- "accessibilityLabel": "App language"
2574
+ "accessibilityRole": "button",
2575
+ "accessibilityLabel": "Settings"
2878
2576
  }
2879
2577
  },
2880
2578
  {
2881
- "id": "himi_account.whats_new",
2579
+ "id": "himi_account.app_info",
2882
2580
  "body": {
2883
2581
  "package": "himalaya",
2884
2582
  "type": "HStack",
2885
2583
  "props": {
2886
2584
  "spacing": 12,
2585
+ "alignment": "center",
2887
2586
  "children": [
2888
2587
  {
2889
2588
  "id": "",
2890
2589
  "body": {
2891
2590
  "package": "himalaya",
2892
- "type": "Icon",
2591
+ "type": "ZStack",
2893
2592
  "props": {
2894
- "name": "bell",
2895
- "size": 18,
2896
- "tint": "accentPrimary"
2593
+ "alignment": "center",
2594
+ "children": [
2595
+ {
2596
+ "id": "",
2597
+ "body": {
2598
+ "package": "himalaya",
2599
+ "type": "Icon",
2600
+ "props": {
2601
+ "name": "info",
2602
+ "size": 20,
2603
+ "tint": "textPrimary"
2604
+ }
2605
+ },
2606
+ "modifiers": {
2607
+ "accessibilityRole": "decorative"
2608
+ }
2609
+ }
2610
+ ]
2897
2611
  }
2898
2612
  },
2899
2613
  "modifiers": {
2900
- "accessibilityRole": "decorative"
2614
+ "width": 24,
2615
+ "height": 24
2901
2616
  }
2902
2617
  },
2903
2618
  {
@@ -2906,8 +2621,9 @@ const SCREENS = runtimeSetting({
2906
2621
  "package": "himalaya",
2907
2622
  "type": "Text",
2908
2623
  "props": {
2909
- "text": "What's new",
2910
- "style": "bodyEmphasis"
2624
+ "text": "About",
2625
+ "style": "body",
2626
+ "maxLines": 1
2911
2627
  }
2912
2628
  }
2913
2629
  },
@@ -2918,227 +2634,55 @@ const SCREENS = runtimeSetting({
2918
2634
  "type": "Spacer",
2919
2635
  "props": {}
2920
2636
  }
2921
- },
2922
- {
2923
- "id": "",
2924
- "body": {
2925
- "package": "himalaya",
2926
- "type": "Icon",
2927
- "props": {
2928
- "name": "chevron_right",
2929
- "size": 16,
2930
- "tint": "textTertiary"
2931
- }
2932
- },
2933
- "modifiers": {
2934
- "accessibilityRole": "decorative"
2935
- }
2936
2637
  }
2937
2638
  ]
2938
2639
  }
2939
2640
  },
2940
2641
  "modifiers": {
2941
- "background": {
2942
- "token": "surfaceElevated"
2943
- },
2944
- "border": {
2945
- "width": 1,
2946
- "color": {
2947
- "token": "border"
2948
- }
2949
- },
2950
- "cornerRadius": 8,
2642
+ "fillMaxWidth": true,
2951
2643
  "padding": {
2952
- "leading": 14,
2953
- "trailing": 14,
2954
- "top": 13,
2955
- "bottom": 13
2644
+ "top": 12,
2645
+ "bottom": 12
2956
2646
  },
2957
2647
  "onTap": {
2958
2648
  "actionId": "himi.open",
2959
2649
  "params": {
2960
- "screenId": "himi_whats_new"
2650
+ "screenId": "himi_app_info"
2961
2651
  }
2962
2652
  },
2963
- "pressFeedback": "scale",
2653
+ "pressFeedback": "highlight",
2964
2654
  "haptic": "light",
2965
- "accessibilityLabel": "What's new"
2655
+ "accessibilityRole": "button",
2656
+ "accessibilityLabel": "About"
2966
2657
  }
2967
2658
  },
2968
2659
  {
2969
- "id": "himi_account.appearance",
2660
+ "id": "himi_account.delete_account",
2970
2661
  "body": {
2971
2662
  "package": "himalaya",
2972
- "type": "HStack",
2663
+ "type": "Text",
2973
2664
  "props": {
2974
- "spacing": 12,
2975
- "children": [
2976
- {
2977
- "id": "",
2978
- "body": {
2979
- "package": "himalaya",
2980
- "type": "Icon",
2981
- "props": {
2982
- "name": "settings",
2983
- "size": 18,
2984
- "tint": "accentPrimary"
2985
- }
2986
- },
2987
- "modifiers": {
2988
- "accessibilityRole": "decorative"
2989
- }
2990
- },
2991
- {
2992
- "id": "",
2993
- "body": {
2994
- "package": "himalaya",
2995
- "type": "Text",
2996
- "props": {
2997
- "text": "Appearance",
2998
- "style": "bodyEmphasis"
2999
- }
3000
- }
3001
- },
3002
- {
3003
- "id": "",
3004
- "body": {
3005
- "package": "himalaya",
3006
- "type": "Spacer",
3007
- "props": {}
3008
- }
3009
- },
3010
- {
3011
- "id": "",
3012
- "body": {
3013
- "package": "himalaya",
3014
- "type": "Icon",
3015
- "props": {
3016
- "name": "chevron_right",
3017
- "size": 16,
3018
- "tint": "textTertiary"
3019
- }
3020
- },
3021
- "modifiers": {
3022
- "accessibilityRole": "decorative"
3023
- }
3024
- }
3025
- ]
2665
+ "text": "Delete account",
2666
+ "style": "footnote",
2667
+ "color": "textSecondary"
3026
2668
  }
3027
2669
  },
3028
2670
  "modifiers": {
3029
- "background": {
3030
- "token": "surfaceElevated"
3031
- },
3032
- "border": {
3033
- "width": 1,
3034
- "color": {
3035
- "token": "border"
3036
- }
3037
- },
3038
- "cornerRadius": 8,
3039
- "padding": {
3040
- "leading": 14,
3041
- "trailing": 14,
3042
- "top": 13,
3043
- "bottom": 13
3044
- },
3045
2671
  "onTap": {
3046
2672
  "actionId": "himi.open",
3047
2673
  "params": {
3048
- "screenId": "himi_appearance"
2674
+ "screenId": "himi_delete_account"
3049
2675
  }
3050
2676
  },
3051
- "pressFeedback": "scale",
2677
+ "pressFeedback": "highlight",
3052
2678
  "haptic": "light",
3053
- "accessibilityLabel": "Appearance"
3054
- }
3055
- },
3056
- {
3057
- "id": "himi_account.app_info",
3058
- "body": {
3059
- "package": "himalaya",
3060
- "type": "HStack",
3061
- "props": {
3062
- "spacing": 12,
3063
- "children": [
3064
- {
3065
- "id": "",
3066
- "body": {
3067
- "package": "himalaya",
3068
- "type": "Icon",
3069
- "props": {
3070
- "name": "info",
3071
- "size": 18,
3072
- "tint": "accentPrimary"
3073
- }
3074
- },
3075
- "modifiers": {
3076
- "accessibilityRole": "decorative"
3077
- }
3078
- },
3079
- {
3080
- "id": "",
3081
- "body": {
3082
- "package": "himalaya",
3083
- "type": "Text",
3084
- "props": {
3085
- "text": "App & support",
3086
- "style": "bodyEmphasis"
3087
- }
3088
- }
3089
- },
3090
- {
3091
- "id": "",
3092
- "body": {
3093
- "package": "himalaya",
3094
- "type": "Spacer",
3095
- "props": {}
3096
- }
3097
- },
3098
- {
3099
- "id": "",
3100
- "body": {
3101
- "package": "himalaya",
3102
- "type": "Icon",
3103
- "props": {
3104
- "name": "chevron_right",
3105
- "size": 16,
3106
- "tint": "textTertiary"
3107
- }
3108
- },
3109
- "modifiers": {
3110
- "accessibilityRole": "decorative"
3111
- }
3112
- }
3113
- ]
3114
- }
3115
- },
3116
- "modifiers": {
3117
- "background": {
3118
- "token": "surfaceElevated"
3119
- },
3120
- "border": {
3121
- "width": 1,
3122
- "color": {
3123
- "token": "border"
3124
- }
3125
- },
3126
- "cornerRadius": 8,
3127
2679
  "padding": {
3128
- "leading": 14,
3129
- "trailing": 14,
3130
- "top": 13,
3131
- "bottom": 13
3132
- },
3133
- "onTap": {
3134
- "actionId": "himi.open",
3135
- "params": {
3136
- "screenId": "himi_app_info"
3137
- }
2680
+ "top": 16,
2681
+ "bottom": 4
3138
2682
  },
3139
- "pressFeedback": "scale",
3140
- "haptic": "light",
3141
- "accessibilityLabel": "App & support"
2683
+ "accessibilityRole": "button",
2684
+ "accessibilityLabel": "Delete account",
2685
+ "hiddenPath": "$service:himiStoreAccount.notMember"
3142
2686
  }
3143
2687
  }
3144
2688
  ]
@@ -3152,13 +2696,16 @@ const SCREENS = runtimeSetting({
3152
2696
  "leading": 16,
3153
2697
  "trailing": 16,
3154
2698
  "top": 18,
3155
- "bottom": 28
2699
+ "bottom": 96
3156
2700
  },
3157
2701
  "onAppear": {
3158
2702
  "actionId": "tier5.himiStoreAccount.refresh",
3159
2703
  "params": {
3160
2704
  "memberAccountLinks": "1",
3161
2705
  "restorePurchases": "1",
2706
+ "signInScreen": "himi_sign_in",
2707
+ "pollIdentity": "1",
2708
+ "cartCount": "1",
3162
2709
  "copy": "{\"account.subtitle\":\"Orders and saved content in one place.\",\"storeAccount.authBody\":\"Sign in to continue — your cart stays with you.\",\"storeAccount.authBodyRegister\":\"Create a member account to continue — your cart stays with you.\"}"
3163
2710
  }
3164
2711
  }
@@ -3175,123 +2722,271 @@ const SCREENS = runtimeSetting({
3175
2722
  ],
3176
2723
  "minBinaryVersion": "0.2.0",
3177
2724
  "bundleVersion": "0.0.1"
3178
- }
3179
- },
3180
- "himi_account_settings": {
3181
- "screenId": "himi_account_settings",
3182
- "renderer": "sdui_intent",
3183
- "title": "",
3184
- "schemaVersion": 1,
3185
- "cacheControl": {
3186
- "maxAge": 0,
3187
- "staleWhileRevalidate": 0
3188
2725
  },
3189
- "payload": {
3190
- "id": "himi_account_settings.root",
2726
+ "topBar": {
2727
+ "actions": [
2728
+ {
2729
+ "id": "cart",
2730
+ "icon": "cart",
2731
+ "accessibilityLabel": "My cart",
2732
+ "onTap": {
2733
+ "actionId": "himi.open",
2734
+ "params": {
2735
+ "screenId": "himi_cart"
2736
+ }
2737
+ },
2738
+ "badge": {
2739
+ "kind": "count",
2740
+ "valuePath": "$service:himiStoreAccount.cartCount"
2741
+ }
2742
+ }
2743
+ ]
2744
+ },
2745
+ "stickyFooter": {
2746
+ "id": "himi_account.footer",
3191
2747
  "body": {
3192
2748
  "package": "himalaya",
3193
2749
  "type": "VStack",
3194
2750
  "props": {
3195
- "spacing": 16,
2751
+ "spacing": 0,
3196
2752
  "alignment": "leading",
3197
2753
  "children": [
3198
- {
3199
- "id": "himi_account_settings.title",
3200
- "body": {
3201
- "package": "himalaya",
3202
- "type": "Text",
3203
- "props": {
3204
- "text": "My Account",
3205
- "style": "title1"
3206
- }
3207
- }
3208
- },
3209
2754
  {
3210
2755
  "id": "",
3211
2756
  "body": {
3212
2757
  "package": "himalaya",
3213
- "type": "Text",
3214
- "props": {
3215
- "text": "Update the profile details connected to your member account.",
3216
- "style": "body",
3217
- "color": "textSecondary"
3218
- }
3219
- }
3220
- },
3221
- {
3222
- "id": "himi_account_settings.loading",
3223
- "body": {
3224
- "package": "himalaya",
3225
- "type": "Skeleton",
3226
- "props": {
3227
- "height": 72,
3228
- "cornerRadius": 12,
3229
- "count": 3
3230
- }
3231
- },
3232
- "modifiers": {
3233
- "hiddenPath": "$service:himiBrandedAccountSettings.notLoading"
2758
+ "type": "Divider",
2759
+ "props": {}
3234
2760
  }
3235
2761
  },
3236
2762
  {
3237
- "id": "himi_account_settings.error",
2763
+ "id": "",
3238
2764
  "body": {
3239
2765
  "package": "himalaya",
3240
2766
  "type": "VStack",
3241
2767
  "props": {
3242
- "spacing": 8,
2768
+ "spacing": 0,
3243
2769
  "alignment": "leading",
3244
2770
  "children": [
3245
2771
  {
3246
- "id": "",
3247
- "body": {
3248
- "package": "himalaya",
3249
- "type": "Text",
3250
- "props": {
3251
- "text": "$service:himiBrandedAccountSettings.error",
3252
- "style": "body",
3253
- "collapseWhenEmpty": true
3254
- }
3255
- }
3256
- },
3257
- {
3258
- "id": "himi_account_settings.retry",
3259
- "body": {
3260
- "package": "himalaya",
3261
- "type": "Button",
3262
- "props": {
3263
- "title": "Try again",
3264
- "style": "secondary",
3265
- "action": {
3266
- "actionId": "tier5.himiBrandedAccountSettings.load",
3267
- "params": {
3268
- "siteUrl": "__HIMI_MEMBER_SITE_URL__",
3269
- "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
3270
- }
3271
- }
3272
- }
3273
- }
3274
- },
3275
- {
3276
- "id": "himi_account_settings.sign_in",
2772
+ "id": "himi_account.signout",
3277
2773
  "body": {
3278
2774
  "package": "himalaya",
3279
- "type": "Button",
2775
+ "type": "HStack",
3280
2776
  "props": {
3281
- "title": "Sign in",
3282
- "style": "primary",
3283
- "action": {
3284
- "actionId": "himi.open",
3285
- "params": {
3286
- "screenId": "himi_account",
3287
- "returnScreenId": "himi_account_settings"
3288
- }
3289
- }
3290
- }
3291
- },
3292
- "modifiers": {
3293
- "hiddenPath": "$service:himiBrandedAccountSettings.noSignIn"
3294
- }
2777
+ "spacing": 12,
2778
+ "alignment": "center",
2779
+ "children": [
2780
+ {
2781
+ "id": "",
2782
+ "body": {
2783
+ "package": "himalaya",
2784
+ "type": "ZStack",
2785
+ "props": {
2786
+ "alignment": "center",
2787
+ "children": [
2788
+ {
2789
+ "id": "",
2790
+ "body": {
2791
+ "package": "himalaya",
2792
+ "type": "Icon",
2793
+ "props": {
2794
+ "name": "logout",
2795
+ "size": 20,
2796
+ "tint": "textPrimary"
2797
+ }
2798
+ },
2799
+ "modifiers": {
2800
+ "accessibilityRole": "decorative"
2801
+ }
2802
+ }
2803
+ ]
2804
+ }
2805
+ },
2806
+ "modifiers": {
2807
+ "width": 24,
2808
+ "height": 24
2809
+ }
2810
+ },
2811
+ {
2812
+ "id": "",
2813
+ "body": {
2814
+ "package": "himalaya",
2815
+ "type": "Text",
2816
+ "props": {
2817
+ "text": "Sign out",
2818
+ "style": "body",
2819
+ "maxLines": 1
2820
+ }
2821
+ }
2822
+ },
2823
+ {
2824
+ "id": "",
2825
+ "body": {
2826
+ "package": "himalaya",
2827
+ "type": "Spacer",
2828
+ "props": {}
2829
+ }
2830
+ }
2831
+ ]
2832
+ }
2833
+ },
2834
+ "modifiers": {
2835
+ "fillMaxWidth": true,
2836
+ "padding": {
2837
+ "top": 12,
2838
+ "bottom": 12
2839
+ },
2840
+ "onTap": {
2841
+ "actionId": "tier5.himiStoreAccount.signOut"
2842
+ },
2843
+ "pressFeedback": "highlight",
2844
+ "haptic": "light",
2845
+ "accessibilityRole": "button",
2846
+ "accessibilityLabel": "Sign out"
2847
+ }
2848
+ }
2849
+ ]
2850
+ }
2851
+ },
2852
+ "modifiers": {
2853
+ "fillMaxWidth": true,
2854
+ "padding": {
2855
+ "leading": 16,
2856
+ "trailing": 16,
2857
+ "top": 4,
2858
+ "bottom": 4
2859
+ }
2860
+ }
2861
+ }
2862
+ ]
2863
+ }
2864
+ },
2865
+ "modifiers": {
2866
+ "fillMaxWidth": true,
2867
+ "background": {
2868
+ "token": "surfacePrimary"
2869
+ },
2870
+ "hiddenPath": "$service:himiStoreAccount.hideMember"
2871
+ }
2872
+ }
2873
+ },
2874
+ "himi_account_settings": {
2875
+ "screenId": "himi_account_settings",
2876
+ "renderer": "sdui_intent",
2877
+ "title": "",
2878
+ "schemaVersion": 1,
2879
+ "cacheControl": {
2880
+ "maxAge": 0,
2881
+ "staleWhileRevalidate": 0
2882
+ },
2883
+ "payload": {
2884
+ "id": "himi_account_settings.root",
2885
+ "body": {
2886
+ "package": "himalaya",
2887
+ "type": "VStack",
2888
+ "props": {
2889
+ "spacing": 16,
2890
+ "alignment": "leading",
2891
+ "children": [
2892
+ {
2893
+ "id": "himi_account_settings.title",
2894
+ "body": {
2895
+ "package": "himalaya",
2896
+ "type": "Text",
2897
+ "props": {
2898
+ "text": "My Account",
2899
+ "style": "title1"
2900
+ }
2901
+ }
2902
+ },
2903
+ {
2904
+ "id": "",
2905
+ "body": {
2906
+ "package": "himalaya",
2907
+ "type": "Text",
2908
+ "props": {
2909
+ "text": "Update the profile details connected to your member account.",
2910
+ "style": "body",
2911
+ "color": "textSecondary"
2912
+ }
2913
+ }
2914
+ },
2915
+ {
2916
+ "id": "himi_account_settings.loading",
2917
+ "body": {
2918
+ "package": "himalaya",
2919
+ "type": "Skeleton",
2920
+ "props": {
2921
+ "height": 72,
2922
+ "cornerRadius": 12,
2923
+ "count": 3
2924
+ }
2925
+ },
2926
+ "modifiers": {
2927
+ "hiddenPath": "$service:himiBrandedAccountSettings.notLoading"
2928
+ }
2929
+ },
2930
+ {
2931
+ "id": "himi_account_settings.error",
2932
+ "body": {
2933
+ "package": "himalaya",
2934
+ "type": "VStack",
2935
+ "props": {
2936
+ "spacing": 8,
2937
+ "alignment": "leading",
2938
+ "children": [
2939
+ {
2940
+ "id": "",
2941
+ "body": {
2942
+ "package": "himalaya",
2943
+ "type": "Text",
2944
+ "props": {
2945
+ "text": "$service:himiBrandedAccountSettings.error",
2946
+ "style": "body",
2947
+ "collapseWhenEmpty": true
2948
+ }
2949
+ }
2950
+ },
2951
+ {
2952
+ "id": "himi_account_settings.retry",
2953
+ "body": {
2954
+ "package": "himalaya",
2955
+ "type": "Button",
2956
+ "props": {
2957
+ "title": "Try again",
2958
+ "style": "secondary",
2959
+ "action": {
2960
+ "actionId": "tier5.himiBrandedAccountSettings.load",
2961
+ "params": {
2962
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
2963
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
2964
+ }
2965
+ }
2966
+ }
2967
+ }
2968
+ },
2969
+ {
2970
+ "id": "himi_account_settings.sign_in",
2971
+ "body": {
2972
+ "package": "himalaya",
2973
+ "type": "Button",
2974
+ "props": {
2975
+ "title": "Sign in",
2976
+ "style": "primary",
2977
+ "action": {
2978
+ "actionId": "himi.open",
2979
+ "params": {
2980
+ "screenId": "himi_sign_in",
2981
+ "mode": "signin",
2982
+ "returnScreenId": "himi_account_settings"
2983
+ }
2984
+ }
2985
+ }
2986
+ },
2987
+ "modifiers": {
2988
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSignIn"
2989
+ }
3295
2990
  }
3296
2991
  ]
3297
2992
  }
@@ -3306,7 +3001,7 @@ const SCREENS = runtimeSetting({
3306
3001
  "token": "border"
3307
3002
  }
3308
3003
  },
3309
- "cornerRadius": 16,
3004
+ "cornerRadius": 4,
3310
3005
  "padding": {
3311
3006
  "leading": 16,
3312
3007
  "trailing": 16,
@@ -4068,7 +3763,7 @@ const SCREENS = runtimeSetting({
4068
3763
  "token": "border"
4069
3764
  }
4070
3765
  },
4071
- "cornerRadius": 16,
3766
+ "cornerRadius": 4,
4072
3767
  "padding": {
4073
3768
  "leading": 16,
4074
3769
  "trailing": 16,
@@ -4343,7 +4038,7 @@ const SCREENS = runtimeSetting({
4343
4038
  "token": "border"
4344
4039
  }
4345
4040
  },
4346
- "cornerRadius": 16,
4041
+ "cornerRadius": 4,
4347
4042
  "padding": {
4348
4043
  "leading": 16,
4349
4044
  "trailing": 16,
@@ -4693,112 +4388,519 @@ const SCREENS = runtimeSetting({
4693
4388
  }
4694
4389
  },
4695
4390
  {
4696
- "id": "himi_account_settings.email_sheet",
4391
+ "id": "himi_account_settings.email_sheet",
4392
+ "body": {
4393
+ "package": "himalaya",
4394
+ "type": "BottomSheet",
4395
+ "props": {
4396
+ "presentedPath": "$service:himiBrandedAccountSettings.emailPanelOpen",
4397
+ "dismissible": true,
4398
+ "showGrabber": true,
4399
+ "onDismiss": {
4400
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
4401
+ },
4402
+ "content": {
4403
+ "id": "",
4404
+ "body": {
4405
+ "package": "himalaya",
4406
+ "type": "VStack",
4407
+ "props": {
4408
+ "spacing": 16,
4409
+ "alignment": "leading",
4410
+ "children": [
4411
+ {
4412
+ "id": "",
4413
+ "body": {
4414
+ "package": "himalaya",
4415
+ "type": "Text",
4416
+ "props": {
4417
+ "text": "Change login email",
4418
+ "style": "title2"
4419
+ }
4420
+ }
4421
+ },
4422
+ {
4423
+ "id": "",
4424
+ "body": {
4425
+ "package": "himalaya",
4426
+ "type": "Text",
4427
+ "props": {
4428
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
4429
+ "style": "bodyEmphasis"
4430
+ }
4431
+ }
4432
+ },
4433
+ {
4434
+ "id": "",
4435
+ "body": {
4436
+ "package": "himalaya",
4437
+ "type": "Text",
4438
+ "props": {
4439
+ "text": "Login email changes are not available in this app yet. Use your site's account management page to change it.",
4440
+ "style": "body",
4441
+ "color": "textSecondary"
4442
+ }
4443
+ }
4444
+ },
4445
+ {
4446
+ "id": "btn_tier5_himibrandedaccountsettings_opensite",
4447
+ "body": {
4448
+ "package": "himalaya",
4449
+ "type": "Button",
4450
+ "props": {
4451
+ "title": "Visit website",
4452
+ "style": "secondary",
4453
+ "fullWidth": true,
4454
+ "action": {
4455
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
4456
+ }
4457
+ }
4458
+ },
4459
+ "modifiers": {
4460
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
4461
+ }
4462
+ },
4463
+ {
4464
+ "id": "btn_tier5_himibrandedaccountsettings_closeemailpanel",
4465
+ "body": {
4466
+ "package": "himalaya",
4467
+ "type": "Button",
4468
+ "props": {
4469
+ "title": "Close",
4470
+ "style": "plain",
4471
+ "action": {
4472
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
4473
+ }
4474
+ }
4475
+ }
4476
+ }
4477
+ ]
4478
+ }
4479
+ },
4480
+ "modifiers": {
4481
+ "padding": {
4482
+ "leading": 20,
4483
+ "trailing": 20,
4484
+ "top": 20,
4485
+ "bottom": 24
4486
+ }
4487
+ }
4488
+ }
4489
+ }
4490
+ }
4491
+ }
4492
+ ]
4493
+ }
4494
+ },
4495
+ "modifiers": {
4496
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMember"
4497
+ }
4498
+ }
4499
+ ]
4500
+ }
4501
+ },
4502
+ "modifiers": {
4503
+ "background": {
4504
+ "token": "surfacePrimary"
4505
+ },
4506
+ "padding": {
4507
+ "leading": 16,
4508
+ "trailing": 16,
4509
+ "top": 18,
4510
+ "bottom": 28
4511
+ },
4512
+ "onAppear": {
4513
+ "actionId": "tier5.himiBrandedAccountSettings.load",
4514
+ "params": {
4515
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
4516
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
4517
+ }
4518
+ }
4519
+ }
4520
+ },
4521
+ "logicBundle": {
4522
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
4523
+ "integrity": "",
4524
+ "contentType": "application/javascript+ts-bundle",
4525
+ "declaredCapabilities": [
4526
+ "wix_api",
4527
+ "app_info",
4528
+ "open_url"
4529
+ ],
4530
+ "minBinaryVersion": "0.1.0",
4531
+ "bundleVersion": "0.0.1"
4532
+ }
4533
+ },
4534
+ "himi_sign_in": {
4535
+ "screenId": "himi_sign_in",
4536
+ "renderer": "sdui_intent",
4537
+ "title": "",
4538
+ "schemaVersion": 1,
4539
+ "cacheControl": {
4540
+ "maxAge": 0,
4541
+ "staleWhileRevalidate": 0
4542
+ },
4543
+ "payload": {
4544
+ "id": "himi_sign_in.root",
4545
+ "body": {
4546
+ "package": "himalaya",
4547
+ "type": "VStack",
4548
+ "props": {
4549
+ "spacing": 12,
4550
+ "alignment": "leading",
4551
+ "children": [
4552
+ {
4553
+ "id": "",
4554
+ "body": {
4555
+ "package": "himalaya",
4556
+ "type": "VStack",
4557
+ "props": {
4558
+ "spacing": 12,
4559
+ "alignment": "leading",
4560
+ "children": [
4561
+ {
4562
+ "id": "",
4563
+ "body": {
4564
+ "package": "himalaya",
4565
+ "type": "VStack",
4566
+ "props": {
4567
+ "spacing": 4,
4568
+ "alignment": "leading",
4569
+ "children": [
4570
+ {
4571
+ "id": "himi_sign_in.title",
4572
+ "body": {
4573
+ "package": "himalaya",
4574
+ "type": "Text",
4575
+ "props": {
4576
+ "text": "$service:himiStoreAccount.authTitle",
4577
+ "style": "title1",
4578
+ "collapseWhenEmpty": true
4579
+ }
4580
+ }
4581
+ },
4582
+ {
4583
+ "id": "",
4584
+ "body": {
4585
+ "package": "himalaya",
4586
+ "type": "Text",
4587
+ "props": {
4588
+ "text": "$service:himiStoreAccount.authBody",
4589
+ "style": "body",
4590
+ "color": "textSecondary",
4591
+ "collapseWhenEmpty": true
4592
+ }
4593
+ }
4594
+ }
4595
+ ]
4596
+ }
4597
+ }
4598
+ },
4599
+ {
4600
+ "id": "himi_sign_in.first_name",
4601
+ "body": {
4602
+ "package": "himalaya",
4603
+ "type": "TextField",
4604
+ "props": {
4605
+ "placeholder": "First name",
4606
+ "autoCapitalization": "words",
4607
+ "submitLabel": "next",
4608
+ "onSubmit": {
4609
+ "actionId": "tier5.himiStoreAccount.focusLastName"
4610
+ },
4611
+ "onChange": {
4612
+ "actionId": "tier5.himiStoreAccount.setFirstName"
4613
+ }
4614
+ }
4615
+ },
4616
+ "modifiers": {
4617
+ "hiddenPath": "$service:himiStoreAccount.notRegistering"
4618
+ }
4619
+ },
4620
+ {
4621
+ "id": "himi_sign_in.last_name",
4622
+ "body": {
4623
+ "package": "himalaya",
4624
+ "type": "TextField",
4625
+ "props": {
4626
+ "placeholder": "Last name",
4627
+ "autoCapitalization": "words",
4628
+ "focusPath": "$service:himiStoreAccount.lastNameFocus",
4629
+ "submitLabel": "next",
4630
+ "onSubmit": {
4631
+ "actionId": "tier5.himiStoreAccount.focusEmail"
4632
+ },
4633
+ "onChange": {
4634
+ "actionId": "tier5.himiStoreAccount.setLastName"
4635
+ }
4636
+ }
4637
+ },
4638
+ "modifiers": {
4639
+ "hiddenPath": "$service:himiStoreAccount.notRegistering"
4640
+ }
4641
+ },
4642
+ {
4643
+ "id": "himi_sign_in.email",
4644
+ "body": {
4645
+ "package": "himalaya",
4646
+ "type": "TextField",
4647
+ "props": {
4648
+ "placeholder": "Email",
4649
+ "keyboard": "email",
4650
+ "validation": {
4651
+ "required": true,
4652
+ "type": "email",
4653
+ "mode": "on_blur"
4654
+ },
4655
+ "errorPath": "$service:himiStoreAccount.emailError",
4656
+ "submitLabel": "go",
4657
+ "onSubmit": {
4658
+ "actionId": "tier5.himiStoreAccount.submit"
4659
+ },
4660
+ "autoCapitalization": "none",
4661
+ "focusPath": "$service:himiStoreAccount.emailFocus",
4662
+ "onChange": {
4663
+ "actionId": "tier5.himiStoreAccount.setEmail"
4664
+ }
4665
+ }
4666
+ }
4667
+ },
4668
+ {
4669
+ "id": "himi_sign_in.password",
4670
+ "body": {
4671
+ "package": "himalaya",
4672
+ "type": "TextField",
4673
+ "props": {
4674
+ "placeholder": "Password",
4675
+ "secure": true,
4676
+ "visibilityToggle": true,
4677
+ "validation": {
4678
+ "required": true,
4679
+ "mode": "on_blur",
4680
+ "message": "Enter your password."
4681
+ },
4682
+ "errorPath": "$service:himiStoreAccount.passwordError",
4683
+ "focusPath": "$service:himiStoreAccount.passwordFocus",
4684
+ "submitLabel": "go",
4685
+ "onSubmit": {
4686
+ "actionId": "tier5.himiStoreAccount.submit"
4687
+ },
4688
+ "autoCapitalization": "none",
4689
+ "onChange": {
4690
+ "actionId": "tier5.himiStoreAccount.setPassword"
4691
+ }
4692
+ }
4693
+ },
4694
+ "modifiers": {
4695
+ "hiddenPath": "$service:himiStoreAccount.isRecovering"
4696
+ }
4697
+ },
4698
+ {
4699
+ "id": "",
4700
+ "body": {
4701
+ "package": "himalaya",
4702
+ "type": "Text",
4703
+ "props": {
4704
+ "text": "$service:himiStoreAccount.busyMessage",
4705
+ "style": "footnote",
4706
+ "collapseWhenEmpty": true
4707
+ }
4708
+ }
4709
+ },
4710
+ {
4711
+ "id": "himi_sign_in.message",
4712
+ "body": {
4713
+ "package": "himalaya",
4714
+ "type": "Text",
4715
+ "props": {
4716
+ "text": "$service:himiStoreAccount.message",
4717
+ "style": "footnote",
4718
+ "color": "textPrimary",
4719
+ "collapseWhenEmpty": true
4720
+ }
4721
+ }
4722
+ },
4723
+ {
4724
+ "id": "himi_sign_in.signin",
4725
+ "body": {
4726
+ "package": "himalaya",
4727
+ "type": "Button",
4728
+ "props": {
4729
+ "title": "SIGN IN",
4730
+ "style": "primary",
4731
+ "fullWidth": true,
4732
+ "disabledPath": "$service:himiStoreAccount.authBusy",
4733
+ "action": {
4734
+ "actionId": "tier5.himiStoreAccount.signIn"
4735
+ }
4736
+ }
4737
+ },
4738
+ "modifiers": {
4739
+ "hiddenPath": "$service:himiStoreAccount.hideSignInChoices"
4740
+ }
4741
+ },
4742
+ {
4743
+ "id": "himi_sign_in.register",
4744
+ "body": {
4745
+ "package": "himalaya",
4746
+ "type": "Button",
4747
+ "props": {
4748
+ "title": "CREATE ACCOUNT",
4749
+ "style": "primary",
4750
+ "fullWidth": true,
4751
+ "disabledPath": "$service:himiStoreAccount.authBusy",
4752
+ "action": {
4753
+ "actionId": "tier5.himiStoreAccount.register"
4754
+ }
4755
+ }
4756
+ },
4757
+ "modifiers": {
4758
+ "hiddenPath": "$service:himiStoreAccount.notRegistering"
4759
+ }
4760
+ },
4761
+ {
4762
+ "id": "himi_sign_in.reset_password",
4763
+ "body": {
4764
+ "package": "himalaya",
4765
+ "type": "Button",
4766
+ "props": {
4767
+ "title": "Send reset link",
4768
+ "style": "primary",
4769
+ "fullWidth": true,
4770
+ "disabledPath": "$service:himiStoreAccount.authBusy",
4771
+ "action": {
4772
+ "actionId": "tier5.himiStoreAccount.resetPassword"
4773
+ }
4774
+ }
4775
+ },
4776
+ "modifiers": {
4777
+ "hiddenPath": "$service:himiStoreAccount.notRecovering"
4778
+ }
4779
+ },
4780
+ {
4781
+ "id": "himi_sign_in.show_register",
4697
4782
  "body": {
4698
4783
  "package": "himalaya",
4699
- "type": "BottomSheet",
4784
+ "type": "Button",
4700
4785
  "props": {
4701
- "presentedPath": "$service:himiBrandedAccountSettings.emailPanelOpen",
4702
- "dismissible": true,
4703
- "showGrabber": true,
4704
- "onDismiss": {
4705
- "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
4706
- },
4707
- "content": {
4708
- "id": "",
4709
- "body": {
4710
- "package": "himalaya",
4711
- "type": "VStack",
4712
- "props": {
4713
- "spacing": 16,
4714
- "alignment": "leading",
4715
- "children": [
4716
- {
4717
- "id": "",
4718
- "body": {
4719
- "package": "himalaya",
4720
- "type": "Text",
4721
- "props": {
4722
- "text": "Change login email",
4723
- "style": "title2"
4724
- }
4725
- }
4726
- },
4727
- {
4728
- "id": "",
4729
- "body": {
4730
- "package": "himalaya",
4731
- "type": "Text",
4732
- "props": {
4733
- "text": "$service:himiBrandedAccountSettings.loginEmail",
4734
- "style": "bodyEmphasis"
4735
- }
4736
- }
4737
- },
4738
- {
4739
- "id": "",
4740
- "body": {
4741
- "package": "himalaya",
4742
- "type": "Text",
4743
- "props": {
4744
- "text": "Login email changes are not available in this app yet. Use your site's account management page to change it.",
4745
- "style": "body",
4746
- "color": "textSecondary"
4747
- }
4748
- }
4749
- },
4750
- {
4751
- "id": "btn_tier5_himibrandedaccountsettings_opensite",
4752
- "body": {
4753
- "package": "himalaya",
4754
- "type": "Button",
4755
- "props": {
4756
- "title": "Visit website",
4757
- "style": "secondary",
4758
- "fullWidth": true,
4759
- "action": {
4760
- "actionId": "tier5.himiBrandedAccountSettings.openSite"
4761
- }
4762
- }
4763
- },
4764
- "modifiers": {
4765
- "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
4766
- }
4767
- },
4768
- {
4769
- "id": "btn_tier5_himibrandedaccountsettings_closeemailpanel",
4770
- "body": {
4771
- "package": "himalaya",
4772
- "type": "Button",
4773
- "props": {
4774
- "title": "Close",
4775
- "style": "plain",
4776
- "action": {
4777
- "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
4778
- }
4779
- }
4780
- }
4781
- }
4782
- ]
4783
- }
4784
- },
4785
- "modifiers": {
4786
- "padding": {
4787
- "leading": 20,
4788
- "trailing": 20,
4789
- "top": 20,
4790
- "bottom": 24
4791
- }
4792
- }
4786
+ "title": "CREATE ACCOUNT",
4787
+ "style": "secondary",
4788
+ "fullWidth": true,
4789
+ "disabledPath": "$service:himiStoreAccount.authBusy",
4790
+ "action": {
4791
+ "actionId": "tier5.himiStoreAccount.showRegister"
4792
+ }
4793
+ }
4794
+ },
4795
+ "modifiers": {
4796
+ "hiddenPath": "$service:himiStoreAccount.hideSignInChoices"
4797
+ }
4798
+ },
4799
+ {
4800
+ "id": "himi_sign_in.show_signin",
4801
+ "body": {
4802
+ "package": "himalaya",
4803
+ "type": "Button",
4804
+ "props": {
4805
+ "title": "Sign in instead",
4806
+ "style": "secondary",
4807
+ "fullWidth": true,
4808
+ "disabledPath": "$service:himiStoreAccount.authBusy",
4809
+ "action": {
4810
+ "actionId": "tier5.himiStoreAccount.showSignIn"
4811
+ }
4812
+ }
4813
+ },
4814
+ "modifiers": {
4815
+ "hiddenPath": "$service:himiStoreAccount.notRegistering"
4816
+ }
4817
+ },
4818
+ {
4819
+ "id": "himi_sign_in.cancel_recovery",
4820
+ "body": {
4821
+ "package": "himalaya",
4822
+ "type": "Button",
4823
+ "props": {
4824
+ "title": "Back to sign in",
4825
+ "style": "secondary",
4826
+ "fullWidth": true,
4827
+ "disabledPath": "$service:himiStoreAccount.authBusy",
4828
+ "action": {
4829
+ "actionId": "tier5.himiStoreAccount.showSignIn"
4830
+ }
4831
+ }
4832
+ },
4833
+ "modifiers": {
4834
+ "hiddenPath": "$service:himiStoreAccount.notRecovering"
4835
+ }
4836
+ },
4837
+ {
4838
+ "id": "himi_sign_in.show_recovery",
4839
+ "body": {
4840
+ "package": "himalaya",
4841
+ "type": "Button",
4842
+ "props": {
4843
+ "title": "Forgot password?",
4844
+ "style": "plain",
4845
+ "fullWidth": true,
4846
+ "disabledPath": "$service:himiStoreAccount.authBusy",
4847
+ "action": {
4848
+ "actionId": "tier5.himiStoreAccount.showRecovery"
4793
4849
  }
4794
4850
  }
4851
+ },
4852
+ "modifiers": {
4853
+ "hiddenPath": "$service:himiStoreAccount.hideSignInChoices"
4795
4854
  }
4796
4855
  }
4797
4856
  ]
4798
4857
  }
4799
4858
  },
4800
4859
  "modifiers": {
4801
- "hiddenPath": "$service:himiBrandedAccountSettings.noMember"
4860
+ "hiddenPath": "$service:himiStoreAccount.isMember"
4861
+ }
4862
+ },
4863
+ {
4864
+ "id": "",
4865
+ "body": {
4866
+ "package": "himalaya",
4867
+ "type": "VStack",
4868
+ "props": {
4869
+ "spacing": 12,
4870
+ "alignment": "leading",
4871
+ "children": [
4872
+ {
4873
+ "id": "himi_sign_in.signed_in",
4874
+ "body": {
4875
+ "package": "himalaya",
4876
+ "type": "Text",
4877
+ "props": {
4878
+ "text": "You're signed in.",
4879
+ "style": "title1"
4880
+ }
4881
+ }
4882
+ },
4883
+ {
4884
+ "id": "himi_sign_in.continue",
4885
+ "body": {
4886
+ "package": "himalaya",
4887
+ "type": "Button",
4888
+ "props": {
4889
+ "title": "Continue",
4890
+ "style": "primary",
4891
+ "fullWidth": true,
4892
+ "action": {
4893
+ "actionId": "nav.back",
4894
+ "presentation": "back"
4895
+ }
4896
+ }
4897
+ }
4898
+ }
4899
+ ]
4900
+ }
4901
+ },
4902
+ "modifiers": {
4903
+ "hiddenPath": "$service:himiStoreAccount.notMember"
4802
4904
  }
4803
4905
  }
4804
4906
  ]
@@ -4815,24 +4917,22 @@ const SCREENS = runtimeSetting({
4815
4917
  "bottom": 28
4816
4918
  },
4817
4919
  "onAppear": {
4818
- "actionId": "tier5.himiBrandedAccountSettings.load",
4920
+ "actionId": "tier5.himiStoreAccount.refresh",
4819
4921
  "params": {
4820
- "siteUrl": "__HIMI_MEMBER_SITE_URL__",
4821
- "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
4922
+ "standalone": "1",
4923
+ "copy": "{\"account.subtitle\":\"Orders and saved content in one place.\",\"storeAccount.authBody\":\"Sign in to continue — your cart stays with you.\",\"storeAccount.authBodyRegister\":\"Create a member account to continue — your cart stays with you.\"}"
4822
4924
  }
4823
4925
  }
4824
4926
  }
4825
4927
  },
4826
4928
  "logicBundle": {
4827
- "url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
4929
+ "url": "http://localhost:8190/v1/bundles/himi-store-account?integrity=",
4828
4930
  "integrity": "",
4829
4931
  "contentType": "application/javascript+ts-bundle",
4830
4932
  "declaredCapabilities": [
4831
- "wix_api",
4832
- "app_info",
4833
- "open_url"
4933
+ "wix_api"
4834
4934
  ],
4835
- "minBinaryVersion": "0.1.0",
4935
+ "minBinaryVersion": "0.2.0",
4836
4936
  "bundleVersion": "0.0.1"
4837
4937
  }
4838
4938
  },
@@ -4925,7 +5025,7 @@ const SCREENS = runtimeSetting({
4925
5025
  "token": "border"
4926
5026
  }
4927
5027
  },
4928
- "cornerRadius": 16,
5028
+ "cornerRadius": 4,
4929
5029
  "padding": {
4930
5030
  "leading": 16,
4931
5031
  "trailing": 16,
@@ -5063,7 +5163,7 @@ const SCREENS = runtimeSetting({
5063
5163
  "token": "border"
5064
5164
  }
5065
5165
  },
5066
- "cornerRadius": 16,
5166
+ "cornerRadius": 4,
5067
5167
  "padding": {
5068
5168
  "leading": 16,
5069
5169
  "trailing": 16,
@@ -5696,7 +5796,8 @@ const SCREENS = runtimeSetting({
5696
5796
  "action": {
5697
5797
  "actionId": "himi.open",
5698
5798
  "params": {
5699
- "screenId": "himi_account",
5799
+ "screenId": "himi_sign_in",
5800
+ "mode": "signin",
5700
5801
  "intent": "profile",
5701
5802
  "returnScreenId": "himi_view_profile"
5702
5803
  }
@@ -6184,7 +6285,7 @@ const SCREENS = runtimeSetting({
6184
6285
  "token": "border"
6185
6286
  }
6186
6287
  },
6187
- "cornerRadius": 16,
6288
+ "cornerRadius": 4,
6188
6289
  "padding": {
6189
6290
  "leading": 16,
6190
6291
  "trailing": 16,
@@ -10323,7 +10424,7 @@ const SCREENS = runtimeSetting({
10323
10424
  "token": "border"
10324
10425
  }
10325
10426
  },
10326
- "cornerRadius": 16,
10427
+ "cornerRadius": 4,
10327
10428
  "padding": {
10328
10429
  "leading": 16,
10329
10430
  "trailing": 16,
@@ -10577,7 +10678,7 @@ const SCREENS = runtimeSetting({
10577
10678
  "token": "border"
10578
10679
  }
10579
10680
  },
10580
- "cornerRadius": 16,
10681
+ "cornerRadius": 4,
10581
10682
  "padding": {
10582
10683
  "leading": 16,
10583
10684
  "trailing": 16,
@@ -10670,7 +10771,7 @@ const SCREENS = runtimeSetting({
10670
10771
  "token": "border"
10671
10772
  }
10672
10773
  },
10673
- "cornerRadius": 16,
10774
+ "cornerRadius": 4,
10674
10775
  "padding": {
10675
10776
  "leading": 16,
10676
10777
  "trailing": 16,
@@ -10767,7 +10868,7 @@ const SCREENS = runtimeSetting({
10767
10868
  "token": "border"
10768
10869
  }
10769
10870
  },
10770
- "cornerRadius": 16,
10871
+ "cornerRadius": 4,
10771
10872
  "padding": {
10772
10873
  "leading": 16,
10773
10874
  "trailing": 16,
@@ -10888,7 +10989,7 @@ const SCREENS = runtimeSetting({
10888
10989
  "token": "border"
10889
10990
  }
10890
10991
  },
10891
- "cornerRadius": 16,
10992
+ "cornerRadius": 4,
10892
10993
  "padding": {
10893
10994
  "leading": 16,
10894
10995
  "trailing": 16,
@@ -10930,8 +11031,7 @@ const SCREENS = runtimeSetting({
10930
11031
  "action": {
10931
11032
  "actionId": "himi.open",
10932
11033
  "params": {
10933
- "screenId": "himi_account",
10934
- "returnScreenId": "himi_orders"
11034
+ "screenId": "himi_account"
10935
11035
  }
10936
11036
  }
10937
11037
  }
@@ -10964,7 +11064,7 @@ const SCREENS = runtimeSetting({
10964
11064
  "token": "border"
10965
11065
  }
10966
11066
  },
10967
- "cornerRadius": 16,
11067
+ "cornerRadius": 4,
10968
11068
  "padding": {
10969
11069
  "leading": 16,
10970
11070
  "trailing": 16,
@@ -13175,7 +13275,7 @@ const SCREENS = runtimeSetting({
13175
13275
  "token": "border"
13176
13276
  }
13177
13277
  },
13178
- "cornerRadius": 16,
13278
+ "cornerRadius": 4,
13179
13279
  "padding": {
13180
13280
  "leading": 16,
13181
13281
  "trailing": 16,
@@ -13265,7 +13365,7 @@ const SCREENS = runtimeSetting({
13265
13365
  "token": "border"
13266
13366
  }
13267
13367
  },
13268
- "cornerRadius": 16,
13368
+ "cornerRadius": 4,
13269
13369
  "padding": {
13270
13370
  "leading": 16,
13271
13371
  "trailing": 16,
@@ -13334,7 +13434,8 @@ const SCREENS = runtimeSetting({
13334
13434
  "action": {
13335
13435
  "actionId": "himi.open",
13336
13436
  "params": {
13337
- "screenId": "himi_account",
13437
+ "screenId": "himi_sign_in",
13438
+ "mode": "signin",
13338
13439
  "intent": "orders",
13339
13440
  "returnScreenId": "himi_orders"
13340
13441
  }
@@ -13471,7 +13572,7 @@ const SCREENS = runtimeSetting({
13471
13572
  "token": "border"
13472
13573
  }
13473
13574
  },
13474
- "cornerRadius": 16,
13575
+ "cornerRadius": 4,
13475
13576
  "padding": {
13476
13577
  "leading": 16,
13477
13578
  "trailing": 16,
@@ -13529,7 +13630,7 @@ const SCREENS = runtimeSetting({
13529
13630
  "token": "border"
13530
13631
  }
13531
13632
  },
13532
- "cornerRadius": 16,
13633
+ "cornerRadius": 4,
13533
13634
  "padding": {
13534
13635
  "leading": 16,
13535
13636
  "trailing": 16,
@@ -13878,7 +13979,7 @@ const SCREENS = runtimeSetting({
13878
13979
  "token": "border"
13879
13980
  }
13880
13981
  },
13881
- "cornerRadius": 16,
13982
+ "cornerRadius": 4,
13882
13983
  "padding": {
13883
13984
  "leading": 16,
13884
13985
  "trailing": 16,
@@ -13967,7 +14068,8 @@ const SCREENS = runtimeSetting({
13967
14068
  "action": {
13968
14069
  "actionId": "himi.open",
13969
14070
  "params": {
13970
- "screenId": "himi_account",
14071
+ "screenId": "himi_sign_in",
14072
+ "mode": "signin",
13971
14073
  "intent": "addresses",
13972
14074
  "returnScreenId": "himi_addresses"
13973
14075
  }
@@ -14059,7 +14161,7 @@ const SCREENS = runtimeSetting({
14059
14161
  "token": "border"
14060
14162
  }
14061
14163
  },
14062
- "cornerRadius": 16,
14164
+ "cornerRadius": 4,
14063
14165
  "padding": {
14064
14166
  "leading": 16,
14065
14167
  "trailing": 16,
@@ -14163,7 +14265,7 @@ const SCREENS = runtimeSetting({
14163
14265
  "token": "border"
14164
14266
  }
14165
14267
  },
14166
- "cornerRadius": 16,
14268
+ "cornerRadius": 4,
14167
14269
  "padding": {
14168
14270
  "leading": 16,
14169
14271
  "trailing": 16,
@@ -14221,7 +14323,7 @@ const SCREENS = runtimeSetting({
14221
14323
  "token": "border"
14222
14324
  }
14223
14325
  },
14224
- "cornerRadius": 16,
14326
+ "cornerRadius": 4,
14225
14327
  "padding": {
14226
14328
  "leading": 16,
14227
14329
  "trailing": 16,
@@ -14433,7 +14535,7 @@ const SCREENS = runtimeSetting({
14433
14535
  "token": "border"
14434
14536
  }
14435
14537
  },
14436
- "cornerRadius": 16,
14538
+ "cornerRadius": 4,
14437
14539
  "padding": {
14438
14540
  "leading": 16,
14439
14541
  "trailing": 16,
@@ -14721,7 +14823,7 @@ const SCREENS = runtimeSetting({
14721
14823
  "token": "border"
14722
14824
  }
14723
14825
  },
14724
- "cornerRadius": 16,
14826
+ "cornerRadius": 4,
14725
14827
  "padding": {
14726
14828
  "leading": 16,
14727
14829
  "trailing": 16,
@@ -14857,7 +14959,7 @@ const SCREENS = runtimeSetting({
14857
14959
  "token": "border"
14858
14960
  }
14859
14961
  },
14860
- "cornerRadius": 16,
14962
+ "cornerRadius": 4,
14861
14963
  "padding": {
14862
14964
  "leading": 16,
14863
14965
  "trailing": 16,
@@ -15023,7 +15125,8 @@ const SCREENS = runtimeSetting({
15023
15125
  "action": {
15024
15126
  "actionId": "himi.open",
15025
15127
  "params": {
15026
- "screenId": "himi_account",
15128
+ "screenId": "himi_sign_in",
15129
+ "mode": "signin",
15027
15130
  "intent": "addresses",
15028
15131
  "returnScreenId": "himi_address"
15029
15132
  }
@@ -15115,7 +15218,7 @@ const SCREENS = runtimeSetting({
15115
15218
  "token": "border"
15116
15219
  }
15117
15220
  },
15118
- "cornerRadius": 16,
15221
+ "cornerRadius": 4,
15119
15222
  "padding": {
15120
15223
  "leading": 16,
15121
15224
  "trailing": 16,
@@ -15231,7 +15334,7 @@ const SCREENS = runtimeSetting({
15231
15334
  "token": "border"
15232
15335
  }
15233
15336
  },
15234
- "cornerRadius": 16,
15337
+ "cornerRadius": 4,
15235
15338
  "padding": {
15236
15339
  "leading": 16,
15237
15340
  "trailing": 16,
@@ -15289,7 +15392,7 @@ const SCREENS = runtimeSetting({
15289
15392
  "token": "border"
15290
15393
  }
15291
15394
  },
15292
- "cornerRadius": 16,
15395
+ "cornerRadius": 4,
15293
15396
  "padding": {
15294
15397
  "leading": 16,
15295
15398
  "trailing": 16,
@@ -15623,7 +15726,7 @@ const SCREENS = runtimeSetting({
15623
15726
  "token": "border"
15624
15727
  }
15625
15728
  },
15626
- "cornerRadius": 16,
15729
+ "cornerRadius": 4,
15627
15730
  "padding": {
15628
15731
  "leading": 16,
15629
15732
  "trailing": 16,
@@ -15693,7 +15796,8 @@ const SCREENS = runtimeSetting({
15693
15796
  "action": {
15694
15797
  "actionId": "himi.open",
15695
15798
  "params": {
15696
- "screenId": "himi_account",
15799
+ "screenId": "himi_sign_in",
15800
+ "mode": "signin",
15697
15801
  "intent": "wallet",
15698
15802
  "returnScreenId": "himi_wallet"
15699
15803
  }
@@ -15785,7 +15889,7 @@ const SCREENS = runtimeSetting({
15785
15889
  "token": "border"
15786
15890
  }
15787
15891
  },
15788
- "cornerRadius": 16,
15892
+ "cornerRadius": 4,
15789
15893
  "padding": {
15790
15894
  "leading": 16,
15791
15895
  "trailing": 16,
@@ -15914,7 +16018,8 @@ const SCREENS = runtimeSetting({
15914
16018
  "action": {
15915
16019
  "actionId": "himi.open",
15916
16020
  "params": {
15917
- "screenId": "himi_account",
16021
+ "screenId": "himi_sign_in",
16022
+ "mode": "signin",
15918
16023
  "intent": "post",
15919
16024
  "returnScreenId": "himi_create_post"
15920
16025
  }
@@ -19320,7 +19425,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
19320
19425
  "token": "border"
19321
19426
  }
19322
19427
  },
19323
- "cornerRadius": 16,
19428
+ "cornerRadius": 4,
19324
19429
  "padding": {
19325
19430
  "leading": 16,
19326
19431
  "trailing": 16,
@@ -19378,7 +19483,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
19378
19483
  "token": "border"
19379
19484
  }
19380
19485
  },
19381
- "cornerRadius": 16,
19486
+ "cornerRadius": 4,
19382
19487
  "padding": {
19383
19488
  "leading": 16,
19384
19489
  "trailing": 16,
@@ -19503,7 +19608,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
19503
19608
  "token": "border"
19504
19609
  }
19505
19610
  },
19506
- "cornerRadius": 16,
19611
+ "cornerRadius": 4,
19507
19612
  "padding": {
19508
19613
  "leading": 16,
19509
19614
  "trailing": 16,
@@ -19681,7 +19786,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
19681
19786
  "token": "border"
19682
19787
  }
19683
19788
  },
19684
- "cornerRadius": 16,
19789
+ "cornerRadius": 4,
19685
19790
  "padding": {
19686
19791
  "leading": 16,
19687
19792
  "trailing": 16,
@@ -19941,7 +20046,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
19941
20046
  "token": "border"
19942
20047
  }
19943
20048
  },
19944
- "cornerRadius": 16,
20049
+ "cornerRadius": 4,
19945
20050
  "padding": {
19946
20051
  "leading": 16,
19947
20052
  "trailing": 16,
@@ -20127,7 +20232,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
20127
20232
  "token": "border"
20128
20233
  }
20129
20234
  },
20130
- "cornerRadius": 16,
20235
+ "cornerRadius": 4,
20131
20236
  "padding": {
20132
20237
  "leading": 16,
20133
20238
  "trailing": 16,
@@ -20149,7 +20254,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
20149
20254
  "action": {
20150
20255
  "actionId": "himi.open",
20151
20256
  "params": {
20152
- "screenId": "himi_account",
20257
+ "screenId": "himi_sign_in",
20153
20258
  "returnScreenId": "himi_order",
20154
20259
  "returnId": "$service:himiBrandedOrder.id"
20155
20260
  }