@wix/himalaya-cli 0.1028.0 → 0.1030.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 (89) hide show
  1. package/dist/cli.mjs +146 -36
  2. package/dist/preview-assets.generated.bin +0 -0
  3. package/guides/component-reference.json +0 -7
  4. package/guides/component-reference.md +0 -2
  5. package/package.json +2 -2
  6. package/templates/beauty-salon/dev/index.ts +590 -217
  7. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +4 -1
  8. package/templates/beauty-salon/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  9. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +36 -5
  10. package/templates/beauty-salon/tier5-src/wix-spaces-app-language/index.ts +4 -2
  11. package/templates/beauty-salon-owner/dev/index.ts +22 -27
  12. package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +23 -3
  13. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +4 -1
  14. package/templates/branded-lite/dev/index.ts +731 -232
  15. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +4 -1
  16. package/templates/branded-lite/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  17. package/templates/branded-lite/tier5-src/himi-branded-lite-notifsettings/index.ts +11 -6
  18. package/templates/branded-lite/tier5-src/himi-branded-lite-reviews/index.ts +11 -6
  19. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +36 -5
  20. package/templates/branded-lite/tier5-src/wix-spaces-app-language/index.ts +4 -2
  21. package/templates/community-club/dev/index.ts +451 -204
  22. package/templates/community-club/tier5-src/_shared/collection-contract.ts +4 -1
  23. package/templates/community-club/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  24. package/templates/community-club/tier5-src/wix-spaces-app-language/index.ts +4 -2
  25. package/templates/community-club-owner/dev/index.ts +22 -27
  26. package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +23 -3
  27. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +4 -1
  28. package/templates/events-meetups/dev/index.ts +451 -204
  29. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +4 -1
  30. package/templates/events-meetups/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  31. package/templates/events-meetups/tier5-src/wix-spaces-app-language/index.ts +4 -2
  32. package/templates/events-meetups-owner/dev/index.ts +22 -27
  33. package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +23 -3
  34. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +4 -1
  35. package/templates/gym-fitness/dev/index.ts +590 -217
  36. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +4 -1
  37. package/templates/gym-fitness/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  38. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +36 -5
  39. package/templates/gym-fitness/tier5-src/wix-spaces-app-language/index.ts +4 -2
  40. package/templates/gym-fitness-owner/dev/index.ts +22 -27
  41. package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +23 -3
  42. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +4 -1
  43. package/templates/nonprofit-cause/dev/index.ts +451 -204
  44. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +4 -1
  45. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  46. package/templates/nonprofit-cause/tier5-src/wix-spaces-app-language/index.ts +4 -2
  47. package/templates/nonprofit-cause-owner/dev/index.ts +22 -27
  48. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +23 -3
  49. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +4 -1
  50. package/templates/owner-lite/dev/index.ts +22 -27
  51. package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +23 -3
  52. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +4 -1
  53. package/templates/podcast-creator/dev/index.ts +451 -204
  54. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +4 -1
  55. package/templates/podcast-creator/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  56. package/templates/podcast-creator/tier5-src/wix-spaces-app-language/index.ts +4 -2
  57. package/templates/podcast-creator-owner/dev/index.ts +22 -27
  58. package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +23 -3
  59. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +4 -1
  60. package/templates/portfolio-creative/dev/index.ts +575 -214
  61. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +4 -1
  62. package/templates/portfolio-creative/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  63. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +36 -5
  64. package/templates/portfolio-creative/tier5-src/wix-spaces-app-language/index.ts +4 -2
  65. package/templates/portfolio-creative-owner/dev/index.ts +22 -27
  66. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +23 -3
  67. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +4 -1
  68. package/templates/restaurant/dev/index.ts +451 -204
  69. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +4 -1
  70. package/templates/restaurant/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  71. package/templates/restaurant/tier5-src/wix-spaces-app-language/index.ts +4 -2
  72. package/templates/restaurant-owner/dev/index.ts +22 -27
  73. package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +23 -3
  74. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +4 -1
  75. package/templates/retail-store/dev/index.ts +575 -214
  76. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +4 -1
  77. package/templates/retail-store/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  78. package/templates/retail-store/tier5-src/himi-store-product/index.ts +36 -5
  79. package/templates/retail-store/tier5-src/wix-spaces-app-language/index.ts +4 -2
  80. package/templates/retail-store-owner/dev/index.ts +22 -27
  81. package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +23 -3
  82. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +4 -1
  83. package/templates/yoga-studio/dev/index.ts +466 -205
  84. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +4 -1
  85. package/templates/yoga-studio/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  86. package/templates/yoga-studio/tier5-src/wix-spaces-app-language/index.ts +4 -2
  87. package/templates/yoga-studio-owner/dev/index.ts +22 -27
  88. package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +23 -3
  89. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +4 -1
@@ -144,10 +144,22 @@ const SCREENS = runtimeSetting({
144
144
  }
145
145
  },
146
146
  "cornerRadius": 8,
147
- "hiddenPath": "$service:himiBrandedHome.hideHeroSkeleton",
148
- "padding": {
149
- "bottom": 16
147
+ "hiddenPath": "$service:himiBrandedHome.hideHeroSkeleton"
148
+ }
149
+ },
150
+ {
151
+ "id": "himi_branded_home.salon.hero_skeleton.gap",
152
+ "body": {
153
+ "package": "himalaya",
154
+ "type": "VStack",
155
+ "props": {
156
+ "children": []
150
157
  }
158
+ },
159
+ "modifiers": {
160
+ "height": 16,
161
+ "fillMaxWidth": true,
162
+ "hiddenPath": "$service:himiBrandedHome.hideHeroSkeleton"
151
163
  }
152
164
  },
153
165
  {
@@ -4379,18 +4391,6 @@ const SCREENS = runtimeSetting({
4379
4391
  "style": "title3"
4380
4392
  }
4381
4393
  }
4382
- },
4383
- {
4384
- "id": "",
4385
- "body": {
4386
- "package": "himalaya",
4387
- "type": "Text",
4388
- "props": {
4389
- "text": "Tint the brand surfaces.",
4390
- "style": "footnote",
4391
- "color": "textSecondary"
4392
- }
4393
- }
4394
4394
  }
4395
4395
  ]
4396
4396
  }
@@ -4402,218 +4402,506 @@ const SCREENS = runtimeSetting({
4402
4402
  "package": "himalaya",
4403
4403
  "type": "Grid",
4404
4404
  "props": {
4405
- "columns": 6,
4405
+ "columns": 3,
4406
4406
  "columnsMedium": 6,
4407
4407
  "spacing": 12,
4408
4408
  "items": [
4409
4409
  {
4410
- "id": "himi_appearance.accent.brand",
4410
+ "id": "himi_appearance.accent_option.brand",
4411
4411
  "body": {
4412
4412
  "package": "himalaya",
4413
- "type": "ZStack",
4413
+ "type": "VStack",
4414
4414
  "props": {
4415
+ "spacing": 8,
4415
4416
  "alignment": "center",
4416
- "children": []
4417
+ "children": [
4418
+ {
4419
+ "id": "himi_appearance.accent.brand",
4420
+ "body": {
4421
+ "package": "himalaya",
4422
+ "type": "ZStack",
4423
+ "props": {
4424
+ "alignment": "center",
4425
+ "children": [
4426
+ {
4427
+ "id": "",
4428
+ "body": {
4429
+ "package": "himalaya",
4430
+ "type": "Icon",
4431
+ "props": {
4432
+ "name": "check",
4433
+ "size": 20,
4434
+ "tint": "textOnAccent"
4435
+ }
4436
+ },
4437
+ "modifiers": {
4438
+ "accessibilityRole": "decorative",
4439
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
4440
+ }
4441
+ }
4442
+ ]
4443
+ }
4444
+ },
4445
+ "modifiers": {
4446
+ "width": 46,
4447
+ "height": 46,
4448
+ "cornerRadius": 23,
4449
+ "background": {
4450
+ "token": "accentPrimary"
4451
+ },
4452
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4453
+ "border": {
4454
+ "width": 2,
4455
+ "color": {
4456
+ "token": "border"
4457
+ }
4458
+ }
4459
+ }
4460
+ },
4461
+ {
4462
+ "id": "himi_appearance.accent_radio.brand",
4463
+ "body": {
4464
+ "package": "himalaya",
4465
+ "type": "SelectionControl",
4466
+ "props": {
4467
+ "kind": "radio",
4468
+ "groupId": "himi_appearance.accent",
4469
+ "label": "Brand",
4470
+ "valuePath": "$service:himiBrandedAppearance.selected_brand",
4471
+ "onChange": {
4472
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4473
+ "params": {
4474
+ "id": "brand"
4475
+ }
4476
+ }
4477
+ }
4478
+ }
4479
+ }
4480
+ ]
4417
4481
  }
4418
4482
  },
4419
4483
  "modifiers": {
4420
- "width": 46,
4421
- "height": 46,
4422
- "cornerRadius": 23,
4423
- "background": {
4424
- "token": "accentPrimary"
4425
- },
4426
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4427
- "border": {
4428
- "width": 2,
4429
- "color": {
4430
- "token": "border"
4431
- }
4432
- },
4433
- "onTap": {
4434
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4435
- "params": {
4436
- "id": "brand"
4437
- }
4438
- },
4439
- "pressFeedback": "scale",
4440
- "haptic": "light",
4441
- "accessibilityLabel": "brand"
4484
+ "padding": {
4485
+ "top": 6,
4486
+ "bottom": 6,
4487
+ "leading": 4,
4488
+ "trailing": 4
4489
+ }
4442
4490
  }
4443
4491
  },
4444
4492
  {
4445
- "id": "himi_appearance.accent.amber",
4493
+ "id": "himi_appearance.accent_option.amber",
4446
4494
  "body": {
4447
4495
  "package": "himalaya",
4448
- "type": "ZStack",
4496
+ "type": "VStack",
4449
4497
  "props": {
4498
+ "spacing": 8,
4450
4499
  "alignment": "center",
4451
- "children": []
4500
+ "children": [
4501
+ {
4502
+ "id": "himi_appearance.accent.amber",
4503
+ "body": {
4504
+ "package": "himalaya",
4505
+ "type": "ZStack",
4506
+ "props": {
4507
+ "alignment": "center",
4508
+ "children": [
4509
+ {
4510
+ "id": "",
4511
+ "body": {
4512
+ "package": "himalaya",
4513
+ "type": "Icon",
4514
+ "props": {
4515
+ "name": "check",
4516
+ "size": 20,
4517
+ "tint": "textOnAccent"
4518
+ }
4519
+ },
4520
+ "modifiers": {
4521
+ "accessibilityRole": "decorative",
4522
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
4523
+ }
4524
+ }
4525
+ ]
4526
+ }
4527
+ },
4528
+ "modifiers": {
4529
+ "width": 46,
4530
+ "height": 46,
4531
+ "cornerRadius": 23,
4532
+ "background": {
4533
+ "token": "accentPrimary"
4534
+ },
4535
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4536
+ "border": {
4537
+ "width": 2,
4538
+ "color": {
4539
+ "token": "border"
4540
+ }
4541
+ }
4542
+ }
4543
+ },
4544
+ {
4545
+ "id": "himi_appearance.accent_radio.amber",
4546
+ "body": {
4547
+ "package": "himalaya",
4548
+ "type": "SelectionControl",
4549
+ "props": {
4550
+ "kind": "radio",
4551
+ "groupId": "himi_appearance.accent",
4552
+ "label": "Amber",
4553
+ "valuePath": "$service:himiBrandedAppearance.selected_amber",
4554
+ "onChange": {
4555
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4556
+ "params": {
4557
+ "id": "amber"
4558
+ }
4559
+ }
4560
+ }
4561
+ }
4562
+ }
4563
+ ]
4452
4564
  }
4453
4565
  },
4454
4566
  "modifiers": {
4455
- "width": 46,
4456
- "height": 46,
4457
- "cornerRadius": 23,
4458
- "background": {
4459
- "token": "accentPrimary"
4460
- },
4461
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4462
- "border": {
4463
- "width": 2,
4464
- "color": {
4465
- "token": "border"
4466
- }
4467
- },
4468
- "onTap": {
4469
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4470
- "params": {
4471
- "id": "amber"
4472
- }
4473
- },
4474
- "pressFeedback": "scale",
4475
- "haptic": "light",
4476
- "accessibilityLabel": "amber"
4567
+ "padding": {
4568
+ "top": 6,
4569
+ "bottom": 6,
4570
+ "leading": 4,
4571
+ "trailing": 4
4572
+ }
4477
4573
  }
4478
4574
  },
4479
4575
  {
4480
- "id": "himi_appearance.accent.terracotta",
4576
+ "id": "himi_appearance.accent_option.terracotta",
4481
4577
  "body": {
4482
4578
  "package": "himalaya",
4483
- "type": "ZStack",
4579
+ "type": "VStack",
4484
4580
  "props": {
4581
+ "spacing": 8,
4485
4582
  "alignment": "center",
4486
- "children": []
4583
+ "children": [
4584
+ {
4585
+ "id": "himi_appearance.accent.terracotta",
4586
+ "body": {
4587
+ "package": "himalaya",
4588
+ "type": "ZStack",
4589
+ "props": {
4590
+ "alignment": "center",
4591
+ "children": [
4592
+ {
4593
+ "id": "",
4594
+ "body": {
4595
+ "package": "himalaya",
4596
+ "type": "Icon",
4597
+ "props": {
4598
+ "name": "check",
4599
+ "size": 20,
4600
+ "tint": "textOnAccent"
4601
+ }
4602
+ },
4603
+ "modifiers": {
4604
+ "accessibilityRole": "decorative",
4605
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
4606
+ }
4607
+ }
4608
+ ]
4609
+ }
4610
+ },
4611
+ "modifiers": {
4612
+ "width": 46,
4613
+ "height": 46,
4614
+ "cornerRadius": 23,
4615
+ "background": {
4616
+ "token": "accentPrimary"
4617
+ },
4618
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4619
+ "border": {
4620
+ "width": 2,
4621
+ "color": {
4622
+ "token": "border"
4623
+ }
4624
+ }
4625
+ }
4626
+ },
4627
+ {
4628
+ "id": "himi_appearance.accent_radio.terracotta",
4629
+ "body": {
4630
+ "package": "himalaya",
4631
+ "type": "SelectionControl",
4632
+ "props": {
4633
+ "kind": "radio",
4634
+ "groupId": "himi_appearance.accent",
4635
+ "label": "Terracotta",
4636
+ "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
4637
+ "onChange": {
4638
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4639
+ "params": {
4640
+ "id": "terracotta"
4641
+ }
4642
+ }
4643
+ }
4644
+ }
4645
+ }
4646
+ ]
4487
4647
  }
4488
4648
  },
4489
4649
  "modifiers": {
4490
- "width": 46,
4491
- "height": 46,
4492
- "cornerRadius": 23,
4493
- "background": {
4494
- "token": "accentPrimary"
4495
- },
4496
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4497
- "border": {
4498
- "width": 2,
4499
- "color": {
4500
- "token": "border"
4501
- }
4502
- },
4503
- "onTap": {
4504
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4505
- "params": {
4506
- "id": "terracotta"
4507
- }
4508
- },
4509
- "pressFeedback": "scale",
4510
- "haptic": "light",
4511
- "accessibilityLabel": "terracotta"
4650
+ "padding": {
4651
+ "top": 6,
4652
+ "bottom": 6,
4653
+ "leading": 4,
4654
+ "trailing": 4
4655
+ }
4512
4656
  }
4513
4657
  },
4514
4658
  {
4515
- "id": "himi_appearance.accent.sage",
4659
+ "id": "himi_appearance.accent_option.sage",
4516
4660
  "body": {
4517
4661
  "package": "himalaya",
4518
- "type": "ZStack",
4662
+ "type": "VStack",
4519
4663
  "props": {
4664
+ "spacing": 8,
4520
4665
  "alignment": "center",
4521
- "children": []
4666
+ "children": [
4667
+ {
4668
+ "id": "himi_appearance.accent.sage",
4669
+ "body": {
4670
+ "package": "himalaya",
4671
+ "type": "ZStack",
4672
+ "props": {
4673
+ "alignment": "center",
4674
+ "children": [
4675
+ {
4676
+ "id": "",
4677
+ "body": {
4678
+ "package": "himalaya",
4679
+ "type": "Icon",
4680
+ "props": {
4681
+ "name": "check",
4682
+ "size": 20,
4683
+ "tint": "textOnAccent"
4684
+ }
4685
+ },
4686
+ "modifiers": {
4687
+ "accessibilityRole": "decorative",
4688
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
4689
+ }
4690
+ }
4691
+ ]
4692
+ }
4693
+ },
4694
+ "modifiers": {
4695
+ "width": 46,
4696
+ "height": 46,
4697
+ "cornerRadius": 23,
4698
+ "background": {
4699
+ "token": "accentPrimary"
4700
+ },
4701
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4702
+ "border": {
4703
+ "width": 2,
4704
+ "color": {
4705
+ "token": "border"
4706
+ }
4707
+ }
4708
+ }
4709
+ },
4710
+ {
4711
+ "id": "himi_appearance.accent_radio.sage",
4712
+ "body": {
4713
+ "package": "himalaya",
4714
+ "type": "SelectionControl",
4715
+ "props": {
4716
+ "kind": "radio",
4717
+ "groupId": "himi_appearance.accent",
4718
+ "label": "Sage",
4719
+ "valuePath": "$service:himiBrandedAppearance.selected_sage",
4720
+ "onChange": {
4721
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4722
+ "params": {
4723
+ "id": "sage"
4724
+ }
4725
+ }
4726
+ }
4727
+ }
4728
+ }
4729
+ ]
4730
+ }
4731
+ },
4732
+ "modifiers": {
4733
+ "padding": {
4734
+ "top": 6,
4735
+ "bottom": 6,
4736
+ "leading": 4,
4737
+ "trailing": 4
4738
+ }
4739
+ }
4740
+ },
4741
+ {
4742
+ "id": "himi_appearance.accent_option.plum",
4743
+ "body": {
4744
+ "package": "himalaya",
4745
+ "type": "VStack",
4746
+ "props": {
4747
+ "spacing": 8,
4748
+ "alignment": "center",
4749
+ "children": [
4750
+ {
4751
+ "id": "himi_appearance.accent.plum",
4752
+ "body": {
4753
+ "package": "himalaya",
4754
+ "type": "ZStack",
4755
+ "props": {
4756
+ "alignment": "center",
4757
+ "children": [
4758
+ {
4759
+ "id": "",
4760
+ "body": {
4761
+ "package": "himalaya",
4762
+ "type": "Icon",
4763
+ "props": {
4764
+ "name": "check",
4765
+ "size": 20,
4766
+ "tint": "textOnAccent"
4767
+ }
4768
+ },
4769
+ "modifiers": {
4770
+ "accessibilityRole": "decorative",
4771
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
4772
+ }
4773
+ }
4774
+ ]
4775
+ }
4776
+ },
4777
+ "modifiers": {
4778
+ "width": 46,
4779
+ "height": 46,
4780
+ "cornerRadius": 23,
4781
+ "background": {
4782
+ "token": "accentPrimary"
4783
+ },
4784
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4785
+ "border": {
4786
+ "width": 2,
4787
+ "color": {
4788
+ "token": "border"
4789
+ }
4790
+ }
4791
+ }
4792
+ },
4793
+ {
4794
+ "id": "himi_appearance.accent_radio.plum",
4795
+ "body": {
4796
+ "package": "himalaya",
4797
+ "type": "SelectionControl",
4798
+ "props": {
4799
+ "kind": "radio",
4800
+ "groupId": "himi_appearance.accent",
4801
+ "label": "Plum",
4802
+ "valuePath": "$service:himiBrandedAppearance.selected_plum",
4803
+ "onChange": {
4804
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4805
+ "params": {
4806
+ "id": "plum"
4807
+ }
4808
+ }
4809
+ }
4810
+ }
4811
+ }
4812
+ ]
4522
4813
  }
4523
4814
  },
4524
4815
  "modifiers": {
4525
- "width": 46,
4526
- "height": 46,
4527
- "cornerRadius": 23,
4528
- "background": {
4529
- "token": "accentPrimary"
4530
- },
4531
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4532
- "border": {
4533
- "width": 2,
4534
- "color": {
4535
- "token": "border"
4536
- }
4537
- },
4538
- "onTap": {
4539
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4540
- "params": {
4541
- "id": "sage"
4542
- }
4543
- },
4544
- "pressFeedback": "scale",
4545
- "haptic": "light",
4546
- "accessibilityLabel": "sage"
4547
- }
4548
- },
4549
- {
4550
- "id": "himi_appearance.accent.plum",
4551
- "body": {
4552
- "package": "himalaya",
4553
- "type": "ZStack",
4554
- "props": {
4555
- "alignment": "center",
4556
- "children": []
4816
+ "padding": {
4817
+ "top": 6,
4818
+ "bottom": 6,
4819
+ "leading": 4,
4820
+ "trailing": 4
4557
4821
  }
4558
- },
4559
- "modifiers": {
4560
- "width": 46,
4561
- "height": 46,
4562
- "cornerRadius": 23,
4563
- "background": {
4564
- "token": "accentPrimary"
4565
- },
4566
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4567
- "border": {
4568
- "width": 2,
4569
- "color": {
4570
- "token": "border"
4571
- }
4572
- },
4573
- "onTap": {
4574
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4575
- "params": {
4576
- "id": "plum"
4577
- }
4578
- },
4579
- "pressFeedback": "scale",
4580
- "haptic": "light",
4581
- "accessibilityLabel": "plum"
4582
4822
  }
4583
4823
  },
4584
4824
  {
4585
- "id": "himi_appearance.accent.ocean",
4825
+ "id": "himi_appearance.accent_option.ocean",
4586
4826
  "body": {
4587
4827
  "package": "himalaya",
4588
- "type": "ZStack",
4828
+ "type": "VStack",
4589
4829
  "props": {
4830
+ "spacing": 8,
4590
4831
  "alignment": "center",
4591
- "children": []
4832
+ "children": [
4833
+ {
4834
+ "id": "himi_appearance.accent.ocean",
4835
+ "body": {
4836
+ "package": "himalaya",
4837
+ "type": "ZStack",
4838
+ "props": {
4839
+ "alignment": "center",
4840
+ "children": [
4841
+ {
4842
+ "id": "",
4843
+ "body": {
4844
+ "package": "himalaya",
4845
+ "type": "Icon",
4846
+ "props": {
4847
+ "name": "check",
4848
+ "size": 20,
4849
+ "tint": "textOnAccent"
4850
+ }
4851
+ },
4852
+ "modifiers": {
4853
+ "accessibilityRole": "decorative",
4854
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
4855
+ }
4856
+ }
4857
+ ]
4858
+ }
4859
+ },
4860
+ "modifiers": {
4861
+ "width": 46,
4862
+ "height": 46,
4863
+ "cornerRadius": 23,
4864
+ "background": {
4865
+ "token": "accentPrimary"
4866
+ },
4867
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4868
+ "border": {
4869
+ "width": 2,
4870
+ "color": {
4871
+ "token": "border"
4872
+ }
4873
+ }
4874
+ }
4875
+ },
4876
+ {
4877
+ "id": "himi_appearance.accent_radio.ocean",
4878
+ "body": {
4879
+ "package": "himalaya",
4880
+ "type": "SelectionControl",
4881
+ "props": {
4882
+ "kind": "radio",
4883
+ "groupId": "himi_appearance.accent",
4884
+ "label": "Ocean",
4885
+ "valuePath": "$service:himiBrandedAppearance.selected_ocean",
4886
+ "onChange": {
4887
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4888
+ "params": {
4889
+ "id": "ocean"
4890
+ }
4891
+ }
4892
+ }
4893
+ }
4894
+ }
4895
+ ]
4592
4896
  }
4593
4897
  },
4594
4898
  "modifiers": {
4595
- "width": 46,
4596
- "height": 46,
4597
- "cornerRadius": 23,
4598
- "background": {
4599
- "token": "accentPrimary"
4600
- },
4601
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4602
- "border": {
4603
- "width": 2,
4604
- "color": {
4605
- "token": "border"
4606
- }
4607
- },
4608
- "onTap": {
4609
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4610
- "params": {
4611
- "id": "ocean"
4612
- }
4613
- },
4614
- "pressFeedback": "scale",
4615
- "haptic": "light",
4616
- "accessibilityLabel": "ocean"
4899
+ "padding": {
4900
+ "top": 6,
4901
+ "bottom": 6,
4902
+ "leading": 4,
4903
+ "trailing": 4
4904
+ }
4617
4905
  }
4618
4906
  }
4619
4907
  ]
@@ -5113,41 +5401,21 @@ const SCREENS = runtimeSetting({
5113
5401
  "spacing": 12,
5114
5402
  "children": [
5115
5403
  {
5116
- "id": "",
5404
+ "id": "himi_app_language.option.$item.id",
5117
5405
  "body": {
5118
5406
  "package": "himalaya",
5119
- "type": "VStack",
5407
+ "type": "SelectionControl",
5120
5408
  "props": {
5121
- "spacing": 3,
5122
- "alignment": "leading",
5123
- "children": [
5124
- {
5125
- "id": "",
5126
- "body": {
5127
- "package": "himalaya",
5128
- "type": "Text",
5129
- "props": {
5130
- "text": "$item.name",
5131
- "style": "bodyEmphasis",
5132
- "maxLines": 1
5133
- }
5134
- }
5135
- },
5136
- {
5137
- "id": "",
5138
- "body": {
5139
- "package": "himalaya",
5140
- "type": "Text",
5141
- "props": {
5142
- "text": "$item.subtitle",
5143
- "style": "caption",
5144
- "color": "accentPrimary",
5145
- "maxLines": 1,
5146
- "collapseWhenEmpty": true
5147
- }
5148
- }
5409
+ "kind": "radio",
5410
+ "groupId": "himi_app_language",
5411
+ "label": "$item.name",
5412
+ "valuePath": "$item.selected",
5413
+ "onChange": {
5414
+ "actionId": "tier5.spacesAppLanguage.select",
5415
+ "params": {
5416
+ "id": "$item.id"
5149
5417
  }
5150
- ]
5418
+ }
5151
5419
  }
5152
5420
  }
5153
5421
  },
@@ -5178,16 +5446,7 @@ const SCREENS = runtimeSetting({
5178
5446
  "trailing": 12,
5179
5447
  "top": 12,
5180
5448
  "bottom": 12
5181
- },
5182
- "onTap": {
5183
- "actionId": "tier5.spacesAppLanguage.select",
5184
- "params": {
5185
- "id": "$item.id"
5186
- }
5187
- },
5188
- "pressFeedback": "scale",
5189
- "haptic": "light",
5190
- "accessibilityLabel": "$item.name"
5449
+ }
5191
5450
  }
5192
5451
  }
5193
5452
  ]
@@ -25601,6 +25860,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25601
25860
  "color": "textSecondary",
25602
25861
  "collapseWhenEmpty": true
25603
25862
  }
25863
+ },
25864
+ "modifiers": {
25865
+ "hiddenPath": "$service:himiStoreProduct.added"
25604
25866
  }
25605
25867
  }
25606
25868
  ]
@@ -25716,7 +25978,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25716
25978
  "package": "himalaya",
25717
25979
  "type": "VStack",
25718
25980
  "props": {
25719
- "spacing": 0,
25981
+ "spacing": 8,
25720
25982
  "children": [
25721
25983
  {
25722
25984
  "id": "himi_product.add_to_cart",
@@ -25737,6 +25999,117 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25737
25999
  "pressFeedback": "scale",
25738
26000
  "haptic": "medium"
25739
26001
  }
26002
+ },
26003
+ {
26004
+ "id": "himi_product.adding",
26005
+ "body": {
26006
+ "package": "himalaya",
26007
+ "type": "HStack",
26008
+ "props": {
26009
+ "spacing": 8,
26010
+ "children": [
26011
+ {
26012
+ "id": "",
26013
+ "body": {
26014
+ "package": "himalaya",
26015
+ "type": "ActivityIndicator",
26016
+ "props": {
26017
+ "indeterminate": true,
26018
+ "size": 16
26019
+ }
26020
+ }
26021
+ },
26022
+ {
26023
+ "id": "",
26024
+ "body": {
26025
+ "package": "himalaya",
26026
+ "type": "Text",
26027
+ "props": {
26028
+ "text": "Adding to cart…",
26029
+ "style": "footnote",
26030
+ "color": "textSecondary"
26031
+ }
26032
+ }
26033
+ }
26034
+ ]
26035
+ }
26036
+ },
26037
+ "modifiers": {
26038
+ "hiddenPath": "$service:himiStoreProduct.notAdding"
26039
+ }
26040
+ },
26041
+ {
26042
+ "id": "himi_product.added_confirmation",
26043
+ "body": {
26044
+ "package": "himalaya",
26045
+ "type": "HStack",
26046
+ "props": {
26047
+ "spacing": 10,
26048
+ "children": [
26049
+ {
26050
+ "id": "",
26051
+ "body": {
26052
+ "package": "himalaya",
26053
+ "type": "Icon",
26054
+ "props": {
26055
+ "name": "check",
26056
+ "size": 18,
26057
+ "tint": "success"
26058
+ }
26059
+ },
26060
+ "modifiers": {
26061
+ "accessibilityRole": "decorative"
26062
+ }
26063
+ },
26064
+ {
26065
+ "id": "",
26066
+ "body": {
26067
+ "package": "himalaya",
26068
+ "type": "Text",
26069
+ "props": {
26070
+ "text": "$service:himiStoreProduct.cartHint",
26071
+ "style": "footnote",
26072
+ "collapseWhenEmpty": true
26073
+ }
26074
+ },
26075
+ "modifiers": {
26076
+ "weight": 1
26077
+ }
26078
+ },
26079
+ {
26080
+ "id": "himi_product.view_cart",
26081
+ "body": {
26082
+ "package": "himalaya",
26083
+ "type": "Button",
26084
+ "props": {
26085
+ "title": "View cart",
26086
+ "style": "tertiary",
26087
+ "action": {
26088
+ "actionId": "himi.open",
26089
+ "params": {
26090
+ "screenId": "himi_cart"
26091
+ }
26092
+ }
26093
+ }
26094
+ }
26095
+ }
26096
+ ]
26097
+ }
26098
+ },
26099
+ "modifiers": {
26100
+ "background": {
26101
+ "token": "surfaceSecondary"
26102
+ },
26103
+ "cornerRadius": 8,
26104
+ "padding": {
26105
+ "leading": 12,
26106
+ "trailing": 8,
26107
+ "top": 6,
26108
+ "bottom": 6
26109
+ },
26110
+ "fillMaxWidth": true,
26111
+ "hiddenPath": "$service:himiStoreProduct.notAdded"
26112
+ }
25740
26113
  }
25741
26114
  ]
25742
26115
  }