@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
@@ -265,11 +265,25 @@ const SCREENS = runtimeSetting({
265
265
  "leading": 20,
266
266
  "trailing": 20,
267
267
  "top": 24,
268
- "bottom": 16
268
+ "bottom": 24
269
269
  },
270
270
  "fillMaxWidth": true
271
271
  }
272
272
  },
273
+ {
274
+ "id": ".gap",
275
+ "body": {
276
+ "package": "himalaya",
277
+ "type": "VStack",
278
+ "props": {
279
+ "children": []
280
+ }
281
+ },
282
+ "modifiers": {
283
+ "height": 16,
284
+ "fillMaxWidth": true
285
+ }
286
+ },
273
287
  {
274
288
  "id": "",
275
289
  "body": {
@@ -4304,18 +4318,6 @@ const SCREENS = runtimeSetting({
4304
4318
  "style": "title3"
4305
4319
  }
4306
4320
  }
4307
- },
4308
- {
4309
- "id": "",
4310
- "body": {
4311
- "package": "himalaya",
4312
- "type": "Text",
4313
- "props": {
4314
- "text": "Tint the brand surfaces.",
4315
- "style": "footnote",
4316
- "color": "textSecondary"
4317
- }
4318
- }
4319
4321
  }
4320
4322
  ]
4321
4323
  }
@@ -4327,218 +4329,506 @@ const SCREENS = runtimeSetting({
4327
4329
  "package": "himalaya",
4328
4330
  "type": "Grid",
4329
4331
  "props": {
4330
- "columns": 6,
4332
+ "columns": 3,
4331
4333
  "columnsMedium": 6,
4332
4334
  "spacing": 12,
4333
4335
  "items": [
4334
4336
  {
4335
- "id": "himi_appearance.accent.brand",
4337
+ "id": "himi_appearance.accent_option.brand",
4336
4338
  "body": {
4337
4339
  "package": "himalaya",
4338
- "type": "ZStack",
4340
+ "type": "VStack",
4339
4341
  "props": {
4342
+ "spacing": 8,
4340
4343
  "alignment": "center",
4341
- "children": []
4344
+ "children": [
4345
+ {
4346
+ "id": "himi_appearance.accent.brand",
4347
+ "body": {
4348
+ "package": "himalaya",
4349
+ "type": "ZStack",
4350
+ "props": {
4351
+ "alignment": "center",
4352
+ "children": [
4353
+ {
4354
+ "id": "",
4355
+ "body": {
4356
+ "package": "himalaya",
4357
+ "type": "Icon",
4358
+ "props": {
4359
+ "name": "check",
4360
+ "size": 20,
4361
+ "tint": "textOnAccent"
4362
+ }
4363
+ },
4364
+ "modifiers": {
4365
+ "accessibilityRole": "decorative",
4366
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
4367
+ }
4368
+ }
4369
+ ]
4370
+ }
4371
+ },
4372
+ "modifiers": {
4373
+ "width": 46,
4374
+ "height": 46,
4375
+ "cornerRadius": 23,
4376
+ "background": {
4377
+ "token": "accentPrimary"
4378
+ },
4379
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4380
+ "border": {
4381
+ "width": 2,
4382
+ "color": {
4383
+ "token": "border"
4384
+ }
4385
+ }
4386
+ }
4387
+ },
4388
+ {
4389
+ "id": "himi_appearance.accent_radio.brand",
4390
+ "body": {
4391
+ "package": "himalaya",
4392
+ "type": "SelectionControl",
4393
+ "props": {
4394
+ "kind": "radio",
4395
+ "groupId": "himi_appearance.accent",
4396
+ "label": "Brand",
4397
+ "valuePath": "$service:himiBrandedAppearance.selected_brand",
4398
+ "onChange": {
4399
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4400
+ "params": {
4401
+ "id": "brand"
4402
+ }
4403
+ }
4404
+ }
4405
+ }
4406
+ }
4407
+ ]
4342
4408
  }
4343
4409
  },
4344
4410
  "modifiers": {
4345
- "width": 46,
4346
- "height": 46,
4347
- "cornerRadius": 23,
4348
- "background": {
4349
- "token": "accentPrimary"
4350
- },
4351
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4352
- "border": {
4353
- "width": 2,
4354
- "color": {
4355
- "token": "border"
4356
- }
4357
- },
4358
- "onTap": {
4359
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4360
- "params": {
4361
- "id": "brand"
4362
- }
4363
- },
4364
- "pressFeedback": "scale",
4365
- "haptic": "light",
4366
- "accessibilityLabel": "brand"
4411
+ "padding": {
4412
+ "top": 6,
4413
+ "bottom": 6,
4414
+ "leading": 4,
4415
+ "trailing": 4
4416
+ }
4367
4417
  }
4368
4418
  },
4369
4419
  {
4370
- "id": "himi_appearance.accent.amber",
4420
+ "id": "himi_appearance.accent_option.amber",
4371
4421
  "body": {
4372
4422
  "package": "himalaya",
4373
- "type": "ZStack",
4423
+ "type": "VStack",
4374
4424
  "props": {
4425
+ "spacing": 8,
4375
4426
  "alignment": "center",
4376
- "children": []
4427
+ "children": [
4428
+ {
4429
+ "id": "himi_appearance.accent.amber",
4430
+ "body": {
4431
+ "package": "himalaya",
4432
+ "type": "ZStack",
4433
+ "props": {
4434
+ "alignment": "center",
4435
+ "children": [
4436
+ {
4437
+ "id": "",
4438
+ "body": {
4439
+ "package": "himalaya",
4440
+ "type": "Icon",
4441
+ "props": {
4442
+ "name": "check",
4443
+ "size": 20,
4444
+ "tint": "textOnAccent"
4445
+ }
4446
+ },
4447
+ "modifiers": {
4448
+ "accessibilityRole": "decorative",
4449
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
4450
+ }
4451
+ }
4452
+ ]
4453
+ }
4454
+ },
4455
+ "modifiers": {
4456
+ "width": 46,
4457
+ "height": 46,
4458
+ "cornerRadius": 23,
4459
+ "background": {
4460
+ "token": "accentPrimary"
4461
+ },
4462
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4463
+ "border": {
4464
+ "width": 2,
4465
+ "color": {
4466
+ "token": "border"
4467
+ }
4468
+ }
4469
+ }
4470
+ },
4471
+ {
4472
+ "id": "himi_appearance.accent_radio.amber",
4473
+ "body": {
4474
+ "package": "himalaya",
4475
+ "type": "SelectionControl",
4476
+ "props": {
4477
+ "kind": "radio",
4478
+ "groupId": "himi_appearance.accent",
4479
+ "label": "Amber",
4480
+ "valuePath": "$service:himiBrandedAppearance.selected_amber",
4481
+ "onChange": {
4482
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4483
+ "params": {
4484
+ "id": "amber"
4485
+ }
4486
+ }
4487
+ }
4488
+ }
4489
+ }
4490
+ ]
4377
4491
  }
4378
4492
  },
4379
4493
  "modifiers": {
4380
- "width": 46,
4381
- "height": 46,
4382
- "cornerRadius": 23,
4383
- "background": {
4384
- "token": "accentPrimary"
4385
- },
4386
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4387
- "border": {
4388
- "width": 2,
4389
- "color": {
4390
- "token": "border"
4391
- }
4392
- },
4393
- "onTap": {
4394
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4395
- "params": {
4396
- "id": "amber"
4397
- }
4398
- },
4399
- "pressFeedback": "scale",
4400
- "haptic": "light",
4401
- "accessibilityLabel": "amber"
4494
+ "padding": {
4495
+ "top": 6,
4496
+ "bottom": 6,
4497
+ "leading": 4,
4498
+ "trailing": 4
4499
+ }
4402
4500
  }
4403
4501
  },
4404
4502
  {
4405
- "id": "himi_appearance.accent.terracotta",
4503
+ "id": "himi_appearance.accent_option.terracotta",
4406
4504
  "body": {
4407
4505
  "package": "himalaya",
4408
- "type": "ZStack",
4506
+ "type": "VStack",
4409
4507
  "props": {
4508
+ "spacing": 8,
4410
4509
  "alignment": "center",
4411
- "children": []
4510
+ "children": [
4511
+ {
4512
+ "id": "himi_appearance.accent.terracotta",
4513
+ "body": {
4514
+ "package": "himalaya",
4515
+ "type": "ZStack",
4516
+ "props": {
4517
+ "alignment": "center",
4518
+ "children": [
4519
+ {
4520
+ "id": "",
4521
+ "body": {
4522
+ "package": "himalaya",
4523
+ "type": "Icon",
4524
+ "props": {
4525
+ "name": "check",
4526
+ "size": 20,
4527
+ "tint": "textOnAccent"
4528
+ }
4529
+ },
4530
+ "modifiers": {
4531
+ "accessibilityRole": "decorative",
4532
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
4533
+ }
4534
+ }
4535
+ ]
4536
+ }
4537
+ },
4538
+ "modifiers": {
4539
+ "width": 46,
4540
+ "height": 46,
4541
+ "cornerRadius": 23,
4542
+ "background": {
4543
+ "token": "accentPrimary"
4544
+ },
4545
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4546
+ "border": {
4547
+ "width": 2,
4548
+ "color": {
4549
+ "token": "border"
4550
+ }
4551
+ }
4552
+ }
4553
+ },
4554
+ {
4555
+ "id": "himi_appearance.accent_radio.terracotta",
4556
+ "body": {
4557
+ "package": "himalaya",
4558
+ "type": "SelectionControl",
4559
+ "props": {
4560
+ "kind": "radio",
4561
+ "groupId": "himi_appearance.accent",
4562
+ "label": "Terracotta",
4563
+ "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
4564
+ "onChange": {
4565
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4566
+ "params": {
4567
+ "id": "terracotta"
4568
+ }
4569
+ }
4570
+ }
4571
+ }
4572
+ }
4573
+ ]
4412
4574
  }
4413
4575
  },
4414
4576
  "modifiers": {
4415
- "width": 46,
4416
- "height": 46,
4417
- "cornerRadius": 23,
4418
- "background": {
4419
- "token": "accentPrimary"
4420
- },
4421
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4422
- "border": {
4423
- "width": 2,
4424
- "color": {
4425
- "token": "border"
4426
- }
4427
- },
4428
- "onTap": {
4429
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4430
- "params": {
4431
- "id": "terracotta"
4432
- }
4433
- },
4434
- "pressFeedback": "scale",
4435
- "haptic": "light",
4436
- "accessibilityLabel": "terracotta"
4577
+ "padding": {
4578
+ "top": 6,
4579
+ "bottom": 6,
4580
+ "leading": 4,
4581
+ "trailing": 4
4582
+ }
4437
4583
  }
4438
4584
  },
4439
4585
  {
4440
- "id": "himi_appearance.accent.sage",
4586
+ "id": "himi_appearance.accent_option.sage",
4441
4587
  "body": {
4442
4588
  "package": "himalaya",
4443
- "type": "ZStack",
4589
+ "type": "VStack",
4444
4590
  "props": {
4591
+ "spacing": 8,
4445
4592
  "alignment": "center",
4446
- "children": []
4593
+ "children": [
4594
+ {
4595
+ "id": "himi_appearance.accent.sage",
4596
+ "body": {
4597
+ "package": "himalaya",
4598
+ "type": "ZStack",
4599
+ "props": {
4600
+ "alignment": "center",
4601
+ "children": [
4602
+ {
4603
+ "id": "",
4604
+ "body": {
4605
+ "package": "himalaya",
4606
+ "type": "Icon",
4607
+ "props": {
4608
+ "name": "check",
4609
+ "size": 20,
4610
+ "tint": "textOnAccent"
4611
+ }
4612
+ },
4613
+ "modifiers": {
4614
+ "accessibilityRole": "decorative",
4615
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
4616
+ }
4617
+ }
4618
+ ]
4619
+ }
4620
+ },
4621
+ "modifiers": {
4622
+ "width": 46,
4623
+ "height": 46,
4624
+ "cornerRadius": 23,
4625
+ "background": {
4626
+ "token": "accentPrimary"
4627
+ },
4628
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4629
+ "border": {
4630
+ "width": 2,
4631
+ "color": {
4632
+ "token": "border"
4633
+ }
4634
+ }
4635
+ }
4636
+ },
4637
+ {
4638
+ "id": "himi_appearance.accent_radio.sage",
4639
+ "body": {
4640
+ "package": "himalaya",
4641
+ "type": "SelectionControl",
4642
+ "props": {
4643
+ "kind": "radio",
4644
+ "groupId": "himi_appearance.accent",
4645
+ "label": "Sage",
4646
+ "valuePath": "$service:himiBrandedAppearance.selected_sage",
4647
+ "onChange": {
4648
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4649
+ "params": {
4650
+ "id": "sage"
4651
+ }
4652
+ }
4653
+ }
4654
+ }
4655
+ }
4656
+ ]
4447
4657
  }
4448
4658
  },
4449
4659
  "modifiers": {
4450
- "width": 46,
4451
- "height": 46,
4452
- "cornerRadius": 23,
4453
- "background": {
4454
- "token": "accentPrimary"
4455
- },
4456
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4457
- "border": {
4458
- "width": 2,
4459
- "color": {
4460
- "token": "border"
4461
- }
4462
- },
4463
- "onTap": {
4464
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4465
- "params": {
4466
- "id": "sage"
4467
- }
4468
- },
4469
- "pressFeedback": "scale",
4470
- "haptic": "light",
4471
- "accessibilityLabel": "sage"
4660
+ "padding": {
4661
+ "top": 6,
4662
+ "bottom": 6,
4663
+ "leading": 4,
4664
+ "trailing": 4
4665
+ }
4472
4666
  }
4473
4667
  },
4474
4668
  {
4475
- "id": "himi_appearance.accent.plum",
4669
+ "id": "himi_appearance.accent_option.plum",
4476
4670
  "body": {
4477
4671
  "package": "himalaya",
4478
- "type": "ZStack",
4672
+ "type": "VStack",
4479
4673
  "props": {
4674
+ "spacing": 8,
4480
4675
  "alignment": "center",
4481
- "children": []
4676
+ "children": [
4677
+ {
4678
+ "id": "himi_appearance.accent.plum",
4679
+ "body": {
4680
+ "package": "himalaya",
4681
+ "type": "ZStack",
4682
+ "props": {
4683
+ "alignment": "center",
4684
+ "children": [
4685
+ {
4686
+ "id": "",
4687
+ "body": {
4688
+ "package": "himalaya",
4689
+ "type": "Icon",
4690
+ "props": {
4691
+ "name": "check",
4692
+ "size": 20,
4693
+ "tint": "textOnAccent"
4694
+ }
4695
+ },
4696
+ "modifiers": {
4697
+ "accessibilityRole": "decorative",
4698
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
4699
+ }
4700
+ }
4701
+ ]
4702
+ }
4703
+ },
4704
+ "modifiers": {
4705
+ "width": 46,
4706
+ "height": 46,
4707
+ "cornerRadius": 23,
4708
+ "background": {
4709
+ "token": "accentPrimary"
4710
+ },
4711
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4712
+ "border": {
4713
+ "width": 2,
4714
+ "color": {
4715
+ "token": "border"
4716
+ }
4717
+ }
4718
+ }
4719
+ },
4720
+ {
4721
+ "id": "himi_appearance.accent_radio.plum",
4722
+ "body": {
4723
+ "package": "himalaya",
4724
+ "type": "SelectionControl",
4725
+ "props": {
4726
+ "kind": "radio",
4727
+ "groupId": "himi_appearance.accent",
4728
+ "label": "Plum",
4729
+ "valuePath": "$service:himiBrandedAppearance.selected_plum",
4730
+ "onChange": {
4731
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4732
+ "params": {
4733
+ "id": "plum"
4734
+ }
4735
+ }
4736
+ }
4737
+ }
4738
+ }
4739
+ ]
4482
4740
  }
4483
4741
  },
4484
4742
  "modifiers": {
4485
- "width": 46,
4486
- "height": 46,
4487
- "cornerRadius": 23,
4488
- "background": {
4489
- "token": "accentPrimary"
4490
- },
4491
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4492
- "border": {
4493
- "width": 2,
4494
- "color": {
4495
- "token": "border"
4496
- }
4497
- },
4498
- "onTap": {
4499
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4500
- "params": {
4501
- "id": "plum"
4502
- }
4503
- },
4504
- "pressFeedback": "scale",
4505
- "haptic": "light",
4506
- "accessibilityLabel": "plum"
4743
+ "padding": {
4744
+ "top": 6,
4745
+ "bottom": 6,
4746
+ "leading": 4,
4747
+ "trailing": 4
4748
+ }
4507
4749
  }
4508
4750
  },
4509
4751
  {
4510
- "id": "himi_appearance.accent.ocean",
4752
+ "id": "himi_appearance.accent_option.ocean",
4511
4753
  "body": {
4512
4754
  "package": "himalaya",
4513
- "type": "ZStack",
4755
+ "type": "VStack",
4514
4756
  "props": {
4757
+ "spacing": 8,
4515
4758
  "alignment": "center",
4516
- "children": []
4759
+ "children": [
4760
+ {
4761
+ "id": "himi_appearance.accent.ocean",
4762
+ "body": {
4763
+ "package": "himalaya",
4764
+ "type": "ZStack",
4765
+ "props": {
4766
+ "alignment": "center",
4767
+ "children": [
4768
+ {
4769
+ "id": "",
4770
+ "body": {
4771
+ "package": "himalaya",
4772
+ "type": "Icon",
4773
+ "props": {
4774
+ "name": "check",
4775
+ "size": 20,
4776
+ "tint": "textOnAccent"
4777
+ }
4778
+ },
4779
+ "modifiers": {
4780
+ "accessibilityRole": "decorative",
4781
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
4782
+ }
4783
+ }
4784
+ ]
4785
+ }
4786
+ },
4787
+ "modifiers": {
4788
+ "width": 46,
4789
+ "height": 46,
4790
+ "cornerRadius": 23,
4791
+ "background": {
4792
+ "token": "accentPrimary"
4793
+ },
4794
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4795
+ "border": {
4796
+ "width": 2,
4797
+ "color": {
4798
+ "token": "border"
4799
+ }
4800
+ }
4801
+ }
4802
+ },
4803
+ {
4804
+ "id": "himi_appearance.accent_radio.ocean",
4805
+ "body": {
4806
+ "package": "himalaya",
4807
+ "type": "SelectionControl",
4808
+ "props": {
4809
+ "kind": "radio",
4810
+ "groupId": "himi_appearance.accent",
4811
+ "label": "Ocean",
4812
+ "valuePath": "$service:himiBrandedAppearance.selected_ocean",
4813
+ "onChange": {
4814
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4815
+ "params": {
4816
+ "id": "ocean"
4817
+ }
4818
+ }
4819
+ }
4820
+ }
4821
+ }
4822
+ ]
4517
4823
  }
4518
4824
  },
4519
4825
  "modifiers": {
4520
- "width": 46,
4521
- "height": 46,
4522
- "cornerRadius": 23,
4523
- "background": {
4524
- "token": "accentPrimary"
4525
- },
4526
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4527
- "border": {
4528
- "width": 2,
4529
- "color": {
4530
- "token": "border"
4531
- }
4532
- },
4533
- "onTap": {
4534
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4535
- "params": {
4536
- "id": "ocean"
4537
- }
4538
- },
4539
- "pressFeedback": "scale",
4540
- "haptic": "light",
4541
- "accessibilityLabel": "ocean"
4826
+ "padding": {
4827
+ "top": 6,
4828
+ "bottom": 6,
4829
+ "leading": 4,
4830
+ "trailing": 4
4831
+ }
4542
4832
  }
4543
4833
  }
4544
4834
  ]
@@ -5038,41 +5328,21 @@ const SCREENS = runtimeSetting({
5038
5328
  "spacing": 12,
5039
5329
  "children": [
5040
5330
  {
5041
- "id": "",
5331
+ "id": "himi_app_language.option.$item.id",
5042
5332
  "body": {
5043
5333
  "package": "himalaya",
5044
- "type": "VStack",
5334
+ "type": "SelectionControl",
5045
5335
  "props": {
5046
- "spacing": 3,
5047
- "alignment": "leading",
5048
- "children": [
5049
- {
5050
- "id": "",
5051
- "body": {
5052
- "package": "himalaya",
5053
- "type": "Text",
5054
- "props": {
5055
- "text": "$item.name",
5056
- "style": "bodyEmphasis",
5057
- "maxLines": 1
5058
- }
5059
- }
5060
- },
5061
- {
5062
- "id": "",
5063
- "body": {
5064
- "package": "himalaya",
5065
- "type": "Text",
5066
- "props": {
5067
- "text": "$item.subtitle",
5068
- "style": "caption",
5069
- "color": "accentPrimary",
5070
- "maxLines": 1,
5071
- "collapseWhenEmpty": true
5072
- }
5073
- }
5336
+ "kind": "radio",
5337
+ "groupId": "himi_app_language",
5338
+ "label": "$item.name",
5339
+ "valuePath": "$item.selected",
5340
+ "onChange": {
5341
+ "actionId": "tier5.spacesAppLanguage.select",
5342
+ "params": {
5343
+ "id": "$item.id"
5074
5344
  }
5075
- ]
5345
+ }
5076
5346
  }
5077
5347
  }
5078
5348
  },
@@ -5103,16 +5373,7 @@ const SCREENS = runtimeSetting({
5103
5373
  "trailing": 12,
5104
5374
  "top": 12,
5105
5375
  "bottom": 12
5106
- },
5107
- "onTap": {
5108
- "actionId": "tier5.spacesAppLanguage.select",
5109
- "params": {
5110
- "id": "$item.id"
5111
- }
5112
- },
5113
- "pressFeedback": "scale",
5114
- "haptic": "light",
5115
- "accessibilityLabel": "$item.name"
5376
+ }
5116
5377
  }
5117
5378
  }
5118
5379
  ]