@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
@@ -3210,18 +3210,6 @@ const SCREENS = runtimeSetting({
3210
3210
  "style": "title3"
3211
3211
  }
3212
3212
  }
3213
- },
3214
- {
3215
- "id": "",
3216
- "body": {
3217
- "package": "himalaya",
3218
- "type": "Text",
3219
- "props": {
3220
- "text": "Tint the brand surfaces.",
3221
- "style": "footnote",
3222
- "color": "textSecondary"
3223
- }
3224
- }
3225
3213
  }
3226
3214
  ]
3227
3215
  }
@@ -3233,218 +3221,506 @@ const SCREENS = runtimeSetting({
3233
3221
  "package": "himalaya",
3234
3222
  "type": "Grid",
3235
3223
  "props": {
3236
- "columns": 6,
3224
+ "columns": 3,
3237
3225
  "columnsMedium": 6,
3238
3226
  "spacing": 12,
3239
3227
  "items": [
3240
3228
  {
3241
- "id": "himi_appearance.accent.brand",
3229
+ "id": "himi_appearance.accent_option.brand",
3242
3230
  "body": {
3243
3231
  "package": "himalaya",
3244
- "type": "ZStack",
3232
+ "type": "VStack",
3245
3233
  "props": {
3234
+ "spacing": 8,
3246
3235
  "alignment": "center",
3247
- "children": []
3236
+ "children": [
3237
+ {
3238
+ "id": "himi_appearance.accent.brand",
3239
+ "body": {
3240
+ "package": "himalaya",
3241
+ "type": "ZStack",
3242
+ "props": {
3243
+ "alignment": "center",
3244
+ "children": [
3245
+ {
3246
+ "id": "",
3247
+ "body": {
3248
+ "package": "himalaya",
3249
+ "type": "Icon",
3250
+ "props": {
3251
+ "name": "check",
3252
+ "size": 20,
3253
+ "tint": "textOnAccent"
3254
+ }
3255
+ },
3256
+ "modifiers": {
3257
+ "accessibilityRole": "decorative",
3258
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
3259
+ }
3260
+ }
3261
+ ]
3262
+ }
3263
+ },
3264
+ "modifiers": {
3265
+ "width": 46,
3266
+ "height": 46,
3267
+ "cornerRadius": 23,
3268
+ "background": {
3269
+ "token": "accentPrimary"
3270
+ },
3271
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
3272
+ "border": {
3273
+ "width": 2,
3274
+ "color": {
3275
+ "token": "border"
3276
+ }
3277
+ }
3278
+ }
3279
+ },
3280
+ {
3281
+ "id": "himi_appearance.accent_radio.brand",
3282
+ "body": {
3283
+ "package": "himalaya",
3284
+ "type": "SelectionControl",
3285
+ "props": {
3286
+ "kind": "radio",
3287
+ "groupId": "himi_appearance.accent",
3288
+ "label": "Brand",
3289
+ "valuePath": "$service:himiBrandedAppearance.selected_brand",
3290
+ "onChange": {
3291
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
3292
+ "params": {
3293
+ "id": "brand"
3294
+ }
3295
+ }
3296
+ }
3297
+ }
3298
+ }
3299
+ ]
3248
3300
  }
3249
3301
  },
3250
3302
  "modifiers": {
3251
- "width": 46,
3252
- "height": 46,
3253
- "cornerRadius": 23,
3254
- "background": {
3255
- "token": "accentPrimary"
3256
- },
3257
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
3258
- "border": {
3259
- "width": 2,
3260
- "color": {
3261
- "token": "border"
3262
- }
3263
- },
3264
- "onTap": {
3265
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3266
- "params": {
3267
- "id": "brand"
3268
- }
3269
- },
3270
- "pressFeedback": "scale",
3271
- "haptic": "light",
3272
- "accessibilityLabel": "brand"
3303
+ "padding": {
3304
+ "top": 6,
3305
+ "bottom": 6,
3306
+ "leading": 4,
3307
+ "trailing": 4
3308
+ }
3273
3309
  }
3274
3310
  },
3275
3311
  {
3276
- "id": "himi_appearance.accent.amber",
3312
+ "id": "himi_appearance.accent_option.amber",
3277
3313
  "body": {
3278
3314
  "package": "himalaya",
3279
- "type": "ZStack",
3315
+ "type": "VStack",
3280
3316
  "props": {
3317
+ "spacing": 8,
3281
3318
  "alignment": "center",
3282
- "children": []
3319
+ "children": [
3320
+ {
3321
+ "id": "himi_appearance.accent.amber",
3322
+ "body": {
3323
+ "package": "himalaya",
3324
+ "type": "ZStack",
3325
+ "props": {
3326
+ "alignment": "center",
3327
+ "children": [
3328
+ {
3329
+ "id": "",
3330
+ "body": {
3331
+ "package": "himalaya",
3332
+ "type": "Icon",
3333
+ "props": {
3334
+ "name": "check",
3335
+ "size": 20,
3336
+ "tint": "textOnAccent"
3337
+ }
3338
+ },
3339
+ "modifiers": {
3340
+ "accessibilityRole": "decorative",
3341
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
3342
+ }
3343
+ }
3344
+ ]
3345
+ }
3346
+ },
3347
+ "modifiers": {
3348
+ "width": 46,
3349
+ "height": 46,
3350
+ "cornerRadius": 23,
3351
+ "background": {
3352
+ "token": "accentPrimary"
3353
+ },
3354
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
3355
+ "border": {
3356
+ "width": 2,
3357
+ "color": {
3358
+ "token": "border"
3359
+ }
3360
+ }
3361
+ }
3362
+ },
3363
+ {
3364
+ "id": "himi_appearance.accent_radio.amber",
3365
+ "body": {
3366
+ "package": "himalaya",
3367
+ "type": "SelectionControl",
3368
+ "props": {
3369
+ "kind": "radio",
3370
+ "groupId": "himi_appearance.accent",
3371
+ "label": "Amber",
3372
+ "valuePath": "$service:himiBrandedAppearance.selected_amber",
3373
+ "onChange": {
3374
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
3375
+ "params": {
3376
+ "id": "amber"
3377
+ }
3378
+ }
3379
+ }
3380
+ }
3381
+ }
3382
+ ]
3283
3383
  }
3284
3384
  },
3285
3385
  "modifiers": {
3286
- "width": 46,
3287
- "height": 46,
3288
- "cornerRadius": 23,
3289
- "background": {
3290
- "token": "accentPrimary"
3291
- },
3292
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
3293
- "border": {
3294
- "width": 2,
3295
- "color": {
3296
- "token": "border"
3297
- }
3298
- },
3299
- "onTap": {
3300
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3301
- "params": {
3302
- "id": "amber"
3303
- }
3304
- },
3305
- "pressFeedback": "scale",
3306
- "haptic": "light",
3307
- "accessibilityLabel": "amber"
3386
+ "padding": {
3387
+ "top": 6,
3388
+ "bottom": 6,
3389
+ "leading": 4,
3390
+ "trailing": 4
3391
+ }
3308
3392
  }
3309
3393
  },
3310
3394
  {
3311
- "id": "himi_appearance.accent.terracotta",
3395
+ "id": "himi_appearance.accent_option.terracotta",
3312
3396
  "body": {
3313
3397
  "package": "himalaya",
3314
- "type": "ZStack",
3398
+ "type": "VStack",
3315
3399
  "props": {
3400
+ "spacing": 8,
3316
3401
  "alignment": "center",
3317
- "children": []
3402
+ "children": [
3403
+ {
3404
+ "id": "himi_appearance.accent.terracotta",
3405
+ "body": {
3406
+ "package": "himalaya",
3407
+ "type": "ZStack",
3408
+ "props": {
3409
+ "alignment": "center",
3410
+ "children": [
3411
+ {
3412
+ "id": "",
3413
+ "body": {
3414
+ "package": "himalaya",
3415
+ "type": "Icon",
3416
+ "props": {
3417
+ "name": "check",
3418
+ "size": 20,
3419
+ "tint": "textOnAccent"
3420
+ }
3421
+ },
3422
+ "modifiers": {
3423
+ "accessibilityRole": "decorative",
3424
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
3425
+ }
3426
+ }
3427
+ ]
3428
+ }
3429
+ },
3430
+ "modifiers": {
3431
+ "width": 46,
3432
+ "height": 46,
3433
+ "cornerRadius": 23,
3434
+ "background": {
3435
+ "token": "accentPrimary"
3436
+ },
3437
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
3438
+ "border": {
3439
+ "width": 2,
3440
+ "color": {
3441
+ "token": "border"
3442
+ }
3443
+ }
3444
+ }
3445
+ },
3446
+ {
3447
+ "id": "himi_appearance.accent_radio.terracotta",
3448
+ "body": {
3449
+ "package": "himalaya",
3450
+ "type": "SelectionControl",
3451
+ "props": {
3452
+ "kind": "radio",
3453
+ "groupId": "himi_appearance.accent",
3454
+ "label": "Terracotta",
3455
+ "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
3456
+ "onChange": {
3457
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
3458
+ "params": {
3459
+ "id": "terracotta"
3460
+ }
3461
+ }
3462
+ }
3463
+ }
3464
+ }
3465
+ ]
3318
3466
  }
3319
3467
  },
3320
3468
  "modifiers": {
3321
- "width": 46,
3322
- "height": 46,
3323
- "cornerRadius": 23,
3324
- "background": {
3325
- "token": "accentPrimary"
3326
- },
3327
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
3328
- "border": {
3329
- "width": 2,
3330
- "color": {
3331
- "token": "border"
3332
- }
3333
- },
3334
- "onTap": {
3335
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3336
- "params": {
3337
- "id": "terracotta"
3338
- }
3339
- },
3340
- "pressFeedback": "scale",
3341
- "haptic": "light",
3342
- "accessibilityLabel": "terracotta"
3469
+ "padding": {
3470
+ "top": 6,
3471
+ "bottom": 6,
3472
+ "leading": 4,
3473
+ "trailing": 4
3474
+ }
3343
3475
  }
3344
3476
  },
3345
3477
  {
3346
- "id": "himi_appearance.accent.sage",
3478
+ "id": "himi_appearance.accent_option.sage",
3347
3479
  "body": {
3348
3480
  "package": "himalaya",
3349
- "type": "ZStack",
3481
+ "type": "VStack",
3350
3482
  "props": {
3483
+ "spacing": 8,
3351
3484
  "alignment": "center",
3352
- "children": []
3485
+ "children": [
3486
+ {
3487
+ "id": "himi_appearance.accent.sage",
3488
+ "body": {
3489
+ "package": "himalaya",
3490
+ "type": "ZStack",
3491
+ "props": {
3492
+ "alignment": "center",
3493
+ "children": [
3494
+ {
3495
+ "id": "",
3496
+ "body": {
3497
+ "package": "himalaya",
3498
+ "type": "Icon",
3499
+ "props": {
3500
+ "name": "check",
3501
+ "size": 20,
3502
+ "tint": "textOnAccent"
3503
+ }
3504
+ },
3505
+ "modifiers": {
3506
+ "accessibilityRole": "decorative",
3507
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
3508
+ }
3509
+ }
3510
+ ]
3511
+ }
3512
+ },
3513
+ "modifiers": {
3514
+ "width": 46,
3515
+ "height": 46,
3516
+ "cornerRadius": 23,
3517
+ "background": {
3518
+ "token": "accentPrimary"
3519
+ },
3520
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
3521
+ "border": {
3522
+ "width": 2,
3523
+ "color": {
3524
+ "token": "border"
3525
+ }
3526
+ }
3527
+ }
3528
+ },
3529
+ {
3530
+ "id": "himi_appearance.accent_radio.sage",
3531
+ "body": {
3532
+ "package": "himalaya",
3533
+ "type": "SelectionControl",
3534
+ "props": {
3535
+ "kind": "radio",
3536
+ "groupId": "himi_appearance.accent",
3537
+ "label": "Sage",
3538
+ "valuePath": "$service:himiBrandedAppearance.selected_sage",
3539
+ "onChange": {
3540
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
3541
+ "params": {
3542
+ "id": "sage"
3543
+ }
3544
+ }
3545
+ }
3546
+ }
3547
+ }
3548
+ ]
3549
+ }
3550
+ },
3551
+ "modifiers": {
3552
+ "padding": {
3553
+ "top": 6,
3554
+ "bottom": 6,
3555
+ "leading": 4,
3556
+ "trailing": 4
3557
+ }
3558
+ }
3559
+ },
3560
+ {
3561
+ "id": "himi_appearance.accent_option.plum",
3562
+ "body": {
3563
+ "package": "himalaya",
3564
+ "type": "VStack",
3565
+ "props": {
3566
+ "spacing": 8,
3567
+ "alignment": "center",
3568
+ "children": [
3569
+ {
3570
+ "id": "himi_appearance.accent.plum",
3571
+ "body": {
3572
+ "package": "himalaya",
3573
+ "type": "ZStack",
3574
+ "props": {
3575
+ "alignment": "center",
3576
+ "children": [
3577
+ {
3578
+ "id": "",
3579
+ "body": {
3580
+ "package": "himalaya",
3581
+ "type": "Icon",
3582
+ "props": {
3583
+ "name": "check",
3584
+ "size": 20,
3585
+ "tint": "textOnAccent"
3586
+ }
3587
+ },
3588
+ "modifiers": {
3589
+ "accessibilityRole": "decorative",
3590
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
3591
+ }
3592
+ }
3593
+ ]
3594
+ }
3595
+ },
3596
+ "modifiers": {
3597
+ "width": 46,
3598
+ "height": 46,
3599
+ "cornerRadius": 23,
3600
+ "background": {
3601
+ "token": "accentPrimary"
3602
+ },
3603
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
3604
+ "border": {
3605
+ "width": 2,
3606
+ "color": {
3607
+ "token": "border"
3608
+ }
3609
+ }
3610
+ }
3611
+ },
3612
+ {
3613
+ "id": "himi_appearance.accent_radio.plum",
3614
+ "body": {
3615
+ "package": "himalaya",
3616
+ "type": "SelectionControl",
3617
+ "props": {
3618
+ "kind": "radio",
3619
+ "groupId": "himi_appearance.accent",
3620
+ "label": "Plum",
3621
+ "valuePath": "$service:himiBrandedAppearance.selected_plum",
3622
+ "onChange": {
3623
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
3624
+ "params": {
3625
+ "id": "plum"
3626
+ }
3627
+ }
3628
+ }
3629
+ }
3630
+ }
3631
+ ]
3353
3632
  }
3354
3633
  },
3355
3634
  "modifiers": {
3356
- "width": 46,
3357
- "height": 46,
3358
- "cornerRadius": 23,
3359
- "background": {
3360
- "token": "accentPrimary"
3361
- },
3362
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
3363
- "border": {
3364
- "width": 2,
3365
- "color": {
3366
- "token": "border"
3367
- }
3368
- },
3369
- "onTap": {
3370
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3371
- "params": {
3372
- "id": "sage"
3373
- }
3374
- },
3375
- "pressFeedback": "scale",
3376
- "haptic": "light",
3377
- "accessibilityLabel": "sage"
3378
- }
3379
- },
3380
- {
3381
- "id": "himi_appearance.accent.plum",
3382
- "body": {
3383
- "package": "himalaya",
3384
- "type": "ZStack",
3385
- "props": {
3386
- "alignment": "center",
3387
- "children": []
3635
+ "padding": {
3636
+ "top": 6,
3637
+ "bottom": 6,
3638
+ "leading": 4,
3639
+ "trailing": 4
3388
3640
  }
3389
- },
3390
- "modifiers": {
3391
- "width": 46,
3392
- "height": 46,
3393
- "cornerRadius": 23,
3394
- "background": {
3395
- "token": "accentPrimary"
3396
- },
3397
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
3398
- "border": {
3399
- "width": 2,
3400
- "color": {
3401
- "token": "border"
3402
- }
3403
- },
3404
- "onTap": {
3405
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3406
- "params": {
3407
- "id": "plum"
3408
- }
3409
- },
3410
- "pressFeedback": "scale",
3411
- "haptic": "light",
3412
- "accessibilityLabel": "plum"
3413
3641
  }
3414
3642
  },
3415
3643
  {
3416
- "id": "himi_appearance.accent.ocean",
3644
+ "id": "himi_appearance.accent_option.ocean",
3417
3645
  "body": {
3418
3646
  "package": "himalaya",
3419
- "type": "ZStack",
3647
+ "type": "VStack",
3420
3648
  "props": {
3649
+ "spacing": 8,
3421
3650
  "alignment": "center",
3422
- "children": []
3651
+ "children": [
3652
+ {
3653
+ "id": "himi_appearance.accent.ocean",
3654
+ "body": {
3655
+ "package": "himalaya",
3656
+ "type": "ZStack",
3657
+ "props": {
3658
+ "alignment": "center",
3659
+ "children": [
3660
+ {
3661
+ "id": "",
3662
+ "body": {
3663
+ "package": "himalaya",
3664
+ "type": "Icon",
3665
+ "props": {
3666
+ "name": "check",
3667
+ "size": 20,
3668
+ "tint": "textOnAccent"
3669
+ }
3670
+ },
3671
+ "modifiers": {
3672
+ "accessibilityRole": "decorative",
3673
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
3674
+ }
3675
+ }
3676
+ ]
3677
+ }
3678
+ },
3679
+ "modifiers": {
3680
+ "width": 46,
3681
+ "height": 46,
3682
+ "cornerRadius": 23,
3683
+ "background": {
3684
+ "token": "accentPrimary"
3685
+ },
3686
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
3687
+ "border": {
3688
+ "width": 2,
3689
+ "color": {
3690
+ "token": "border"
3691
+ }
3692
+ }
3693
+ }
3694
+ },
3695
+ {
3696
+ "id": "himi_appearance.accent_radio.ocean",
3697
+ "body": {
3698
+ "package": "himalaya",
3699
+ "type": "SelectionControl",
3700
+ "props": {
3701
+ "kind": "radio",
3702
+ "groupId": "himi_appearance.accent",
3703
+ "label": "Ocean",
3704
+ "valuePath": "$service:himiBrandedAppearance.selected_ocean",
3705
+ "onChange": {
3706
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
3707
+ "params": {
3708
+ "id": "ocean"
3709
+ }
3710
+ }
3711
+ }
3712
+ }
3713
+ }
3714
+ ]
3423
3715
  }
3424
3716
  },
3425
3717
  "modifiers": {
3426
- "width": 46,
3427
- "height": 46,
3428
- "cornerRadius": 23,
3429
- "background": {
3430
- "token": "accentPrimary"
3431
- },
3432
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
3433
- "border": {
3434
- "width": 2,
3435
- "color": {
3436
- "token": "border"
3437
- }
3438
- },
3439
- "onTap": {
3440
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3441
- "params": {
3442
- "id": "ocean"
3443
- }
3444
- },
3445
- "pressFeedback": "scale",
3446
- "haptic": "light",
3447
- "accessibilityLabel": "ocean"
3718
+ "padding": {
3719
+ "top": 6,
3720
+ "bottom": 6,
3721
+ "leading": 4,
3722
+ "trailing": 4
3723
+ }
3448
3724
  }
3449
3725
  }
3450
3726
  ]
@@ -3944,41 +4220,21 @@ const SCREENS = runtimeSetting({
3944
4220
  "spacing": 12,
3945
4221
  "children": [
3946
4222
  {
3947
- "id": "",
4223
+ "id": "himi_app_language.option.$item.id",
3948
4224
  "body": {
3949
4225
  "package": "himalaya",
3950
- "type": "VStack",
4226
+ "type": "SelectionControl",
3951
4227
  "props": {
3952
- "spacing": 3,
3953
- "alignment": "leading",
3954
- "children": [
3955
- {
3956
- "id": "",
3957
- "body": {
3958
- "package": "himalaya",
3959
- "type": "Text",
3960
- "props": {
3961
- "text": "$item.name",
3962
- "style": "bodyEmphasis",
3963
- "maxLines": 1
3964
- }
3965
- }
3966
- },
3967
- {
3968
- "id": "",
3969
- "body": {
3970
- "package": "himalaya",
3971
- "type": "Text",
3972
- "props": {
3973
- "text": "$item.subtitle",
3974
- "style": "caption",
3975
- "color": "accentPrimary",
3976
- "maxLines": 1,
3977
- "collapseWhenEmpty": true
3978
- }
3979
- }
4228
+ "kind": "radio",
4229
+ "groupId": "himi_app_language",
4230
+ "label": "$item.name",
4231
+ "valuePath": "$item.selected",
4232
+ "onChange": {
4233
+ "actionId": "tier5.spacesAppLanguage.select",
4234
+ "params": {
4235
+ "id": "$item.id"
3980
4236
  }
3981
- ]
4237
+ }
3982
4238
  }
3983
4239
  }
3984
4240
  },
@@ -4009,16 +4265,7 @@ const SCREENS = runtimeSetting({
4009
4265
  "trailing": 12,
4010
4266
  "top": 12,
4011
4267
  "bottom": 12
4012
- },
4013
- "onTap": {
4014
- "actionId": "tier5.spacesAppLanguage.select",
4015
- "params": {
4016
- "id": "$item.id"
4017
- }
4018
- },
4019
- "pressFeedback": "scale",
4020
- "haptic": "light",
4021
- "accessibilityLabel": "$item.name"
4268
+ }
4022
4269
  }
4023
4270
  }
4024
4271
  ]
@@ -15551,6 +15798,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
15551
15798
  "color": "textSecondary",
15552
15799
  "collapseWhenEmpty": true
15553
15800
  }
15801
+ },
15802
+ "modifiers": {
15803
+ "hiddenPath": "$service:himiStoreProduct.added"
15554
15804
  }
15555
15805
  }
15556
15806
  ]
@@ -15666,7 +15916,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
15666
15916
  "package": "himalaya",
15667
15917
  "type": "VStack",
15668
15918
  "props": {
15669
- "spacing": 0,
15919
+ "spacing": 8,
15670
15920
  "children": [
15671
15921
  {
15672
15922
  "id": "himi_product.add_to_cart",
@@ -15687,6 +15937,117 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
15687
15937
  "pressFeedback": "scale",
15688
15938
  "haptic": "medium"
15689
15939
  }
15940
+ },
15941
+ {
15942
+ "id": "himi_product.adding",
15943
+ "body": {
15944
+ "package": "himalaya",
15945
+ "type": "HStack",
15946
+ "props": {
15947
+ "spacing": 8,
15948
+ "children": [
15949
+ {
15950
+ "id": "",
15951
+ "body": {
15952
+ "package": "himalaya",
15953
+ "type": "ActivityIndicator",
15954
+ "props": {
15955
+ "indeterminate": true,
15956
+ "size": 16
15957
+ }
15958
+ }
15959
+ },
15960
+ {
15961
+ "id": "",
15962
+ "body": {
15963
+ "package": "himalaya",
15964
+ "type": "Text",
15965
+ "props": {
15966
+ "text": "Adding to cart…",
15967
+ "style": "footnote",
15968
+ "color": "textSecondary"
15969
+ }
15970
+ }
15971
+ }
15972
+ ]
15973
+ }
15974
+ },
15975
+ "modifiers": {
15976
+ "hiddenPath": "$service:himiStoreProduct.notAdding"
15977
+ }
15978
+ },
15979
+ {
15980
+ "id": "himi_product.added_confirmation",
15981
+ "body": {
15982
+ "package": "himalaya",
15983
+ "type": "HStack",
15984
+ "props": {
15985
+ "spacing": 10,
15986
+ "children": [
15987
+ {
15988
+ "id": "",
15989
+ "body": {
15990
+ "package": "himalaya",
15991
+ "type": "Icon",
15992
+ "props": {
15993
+ "name": "check",
15994
+ "size": 18,
15995
+ "tint": "success"
15996
+ }
15997
+ },
15998
+ "modifiers": {
15999
+ "accessibilityRole": "decorative"
16000
+ }
16001
+ },
16002
+ {
16003
+ "id": "",
16004
+ "body": {
16005
+ "package": "himalaya",
16006
+ "type": "Text",
16007
+ "props": {
16008
+ "text": "$service:himiStoreProduct.cartHint",
16009
+ "style": "footnote",
16010
+ "collapseWhenEmpty": true
16011
+ }
16012
+ },
16013
+ "modifiers": {
16014
+ "weight": 1
16015
+ }
16016
+ },
16017
+ {
16018
+ "id": "himi_product.view_cart",
16019
+ "body": {
16020
+ "package": "himalaya",
16021
+ "type": "Button",
16022
+ "props": {
16023
+ "title": "View cart",
16024
+ "style": "tertiary",
16025
+ "action": {
16026
+ "actionId": "himi.open",
16027
+ "params": {
16028
+ "screenId": "himi_cart"
16029
+ }
16030
+ }
16031
+ }
16032
+ }
16033
+ }
16034
+ ]
16035
+ }
16036
+ },
16037
+ "modifiers": {
16038
+ "background": {
16039
+ "token": "surfaceSecondary"
16040
+ },
16041
+ "cornerRadius": 8,
16042
+ "padding": {
16043
+ "leading": 12,
16044
+ "trailing": 8,
16045
+ "top": 6,
16046
+ "bottom": 6
16047
+ },
16048
+ "fillMaxWidth": true,
16049
+ "hiddenPath": "$service:himiStoreProduct.notAdded"
16050
+ }
15690
16051
  }
15691
16052
  ]
15692
16053
  }