@wix/himalaya-cli 0.1288.0 → 0.1289.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 (47) hide show
  1. package/dist/cli.mjs +31 -29
  2. package/dist/preview-assets.generated.bin +0 -0
  3. package/package.json +2 -2
  4. package/templates/beauty-salon/dev/index.ts +83 -478
  5. package/templates/beauty-salon/tier5-src/_shared/himi-layouts.ts +13 -34
  6. package/templates/beauty-salon/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  7. package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +1 -17
  8. package/templates/branded-lite/dev/index.ts +83 -479
  9. package/templates/branded-lite/tier5-src/_shared/himi-layouts.ts +13 -34
  10. package/templates/branded-lite/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  11. package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +1 -17
  12. package/templates/community-club/dev/index.ts +83 -479
  13. package/templates/community-club/tier5-src/_shared/himi-layouts.ts +13 -34
  14. package/templates/community-club/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  15. package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +1 -17
  16. package/templates/events-meetups/dev/index.ts +83 -479
  17. package/templates/events-meetups/tier5-src/_shared/himi-layouts.ts +13 -34
  18. package/templates/events-meetups/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  19. package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +1 -17
  20. package/templates/gym-fitness/dev/index.ts +83 -478
  21. package/templates/gym-fitness/tier5-src/_shared/himi-layouts.ts +13 -34
  22. package/templates/gym-fitness/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  23. package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +1 -17
  24. package/templates/nonprofit-cause/dev/index.ts +83 -479
  25. package/templates/nonprofit-cause/tier5-src/_shared/himi-layouts.ts +13 -34
  26. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  27. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +1 -17
  28. package/templates/podcast-creator/dev/index.ts +83 -479
  29. package/templates/podcast-creator/tier5-src/_shared/himi-layouts.ts +13 -34
  30. package/templates/podcast-creator/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  31. package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +1 -17
  32. package/templates/portfolio-creative/dev/index.ts +83 -478
  33. package/templates/portfolio-creative/tier5-src/_shared/himi-layouts.ts +13 -34
  34. package/templates/portfolio-creative/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  35. package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +1 -17
  36. package/templates/restaurant/dev/index.ts +83 -478
  37. package/templates/restaurant/tier5-src/_shared/himi-layouts.ts +13 -34
  38. package/templates/restaurant/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  39. package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +1 -17
  40. package/templates/retail-store/dev/index.ts +83 -478
  41. package/templates/retail-store/tier5-src/_shared/himi-layouts.ts +13 -34
  42. package/templates/retail-store/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  43. package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +1 -17
  44. package/templates/yoga-studio/dev/index.ts +83 -478
  45. package/templates/yoga-studio/tier5-src/_shared/himi-layouts.ts +13 -34
  46. package/templates/yoga-studio/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  47. package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +1 -17
@@ -3212,588 +3212,193 @@ const SCREENS = runtimeSetting({
3212
3212
  }
3213
3213
  },
3214
3214
  {
3215
- "id": "",
3215
+ "id": "himi_appearance.theme_title",
3216
3216
  "body": {
3217
3217
  "package": "himalaya",
3218
3218
  "type": "Text",
3219
3219
  "props": {
3220
- "text": "Tint the brand surfaces with your accent color.",
3221
- "style": "body",
3222
- "color": "textSecondary"
3220
+ "text": "Choose the app color theme",
3221
+ "style": "body"
3223
3222
  }
3224
3223
  }
3225
3224
  },
3226
3225
  {
3227
- "id": "",
3226
+ "id": "himi_appearance.themes",
3228
3227
  "body": {
3229
3228
  "package": "himalaya",
3230
3229
  "type": "VStack",
3231
3230
  "props": {
3232
- "spacing": 3,
3231
+ "spacing": 10,
3233
3232
  "alignment": "leading",
3234
3233
  "children": [
3235
3234
  {
3236
- "id": "",
3237
- "body": {
3238
- "package": "himalaya",
3239
- "type": "Text",
3240
- "props": {
3241
- "text": "Accent",
3242
- "style": "title3"
3243
- }
3244
- }
3245
- }
3246
- ]
3247
- }
3248
- }
3249
- },
3250
- {
3251
- "id": "himi_appearance.accents",
3252
- "body": {
3253
- "package": "himalaya",
3254
- "type": "Grid",
3255
- "props": {
3256
- "columns": 3,
3257
- "columnsMedium": 6,
3258
- "spacing": 12,
3259
- "items": [
3260
- {
3261
- "id": "himi_appearance.accent_option.brand",
3235
+ "id": "himi_appearance.theme_option.system",
3262
3236
  "body": {
3263
3237
  "package": "himalaya",
3264
- "type": "VStack",
3238
+ "type": "HStack",
3265
3239
  "props": {
3266
- "spacing": 8,
3267
- "alignment": "center",
3240
+ "spacing": 12,
3268
3241
  "children": [
3269
3242
  {
3270
- "id": "himi_appearance.accent.brand",
3271
- "body": {
3272
- "package": "himalaya",
3273
- "type": "ZStack",
3274
- "props": {
3275
- "alignment": "center",
3276
- "children": [
3277
- {
3278
- "id": "",
3279
- "body": {
3280
- "package": "himalaya",
3281
- "type": "Icon",
3282
- "props": {
3283
- "name": "check",
3284
- "size": 20,
3285
- "tint": "textOnAccent"
3286
- }
3287
- },
3288
- "modifiers": {
3289
- "accessibilityRole": "decorative",
3290
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
3291
- }
3292
- }
3293
- ]
3294
- }
3295
- },
3296
- "modifiers": {
3297
- "width": 46,
3298
- "height": 46,
3299
- "cornerRadius": 23,
3300
- "background": {
3301
- "token": "accentPrimary"
3302
- },
3303
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
3304
- "border": {
3305
- "width": 2,
3306
- "color": {
3307
- "token": "border"
3308
- }
3309
- }
3310
- }
3311
- },
3312
- {
3313
- "id": "himi_appearance.accent_radio.brand",
3243
+ "id": "himi_appearance.theme_radio.system",
3314
3244
  "body": {
3315
3245
  "package": "himalaya",
3316
3246
  "type": "SelectionControl",
3317
3247
  "props": {
3318
3248
  "kind": "radio",
3319
- "groupId": "himi_appearance.accent",
3320
- "label": "Brand",
3321
- "valuePath": "$service:himiBrandedAppearance.selected_brand",
3249
+ "groupId": "himi_appearance.theme",
3250
+ "label": "System default",
3251
+ "valuePath": "$service:himiBrandedAppearance.selected_system",
3322
3252
  "onChange": {
3323
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3253
+ "actionId": "tier5.himiBrandedAppearance.selectTheme",
3324
3254
  "params": {
3325
- "id": "brand"
3326
- }
3327
- }
3328
- }
3329
- }
3330
- }
3331
- ]
3332
- }
3333
- },
3334
- "modifiers": {
3335
- "padding": {
3336
- "top": 6,
3337
- "bottom": 6,
3338
- "leading": 4,
3339
- "trailing": 4
3340
- }
3341
- }
3342
- },
3343
- {
3344
- "id": "himi_appearance.accent_option.amber",
3345
- "body": {
3346
- "package": "himalaya",
3347
- "type": "VStack",
3348
- "props": {
3349
- "spacing": 8,
3350
- "alignment": "center",
3351
- "children": [
3352
- {
3353
- "id": "himi_appearance.accent.amber",
3354
- "body": {
3355
- "package": "himalaya",
3356
- "type": "ZStack",
3357
- "props": {
3358
- "alignment": "center",
3359
- "children": [
3360
- {
3361
- "id": "",
3362
- "body": {
3363
- "package": "himalaya",
3364
- "type": "Icon",
3365
- "props": {
3366
- "name": "check",
3367
- "size": 20,
3368
- "tint": "textOnAccent"
3369
- }
3370
- },
3371
- "modifiers": {
3372
- "accessibilityRole": "decorative",
3373
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
3374
- }
3255
+ "id": "system"
3375
3256
  }
3376
- ]
3377
- }
3378
- },
3379
- "modifiers": {
3380
- "width": 46,
3381
- "height": 46,
3382
- "cornerRadius": 23,
3383
- "background": {
3384
- "token": "accentPrimary"
3385
- },
3386
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
3387
- "border": {
3388
- "width": 2,
3389
- "color": {
3390
- "token": "border"
3391
3257
  }
3392
3258
  }
3393
3259
  }
3394
3260
  },
3395
3261
  {
3396
- "id": "himi_appearance.accent_radio.amber",
3262
+ "id": "",
3397
3263
  "body": {
3398
3264
  "package": "himalaya",
3399
- "type": "SelectionControl",
3400
- "props": {
3401
- "kind": "radio",
3402
- "groupId": "himi_appearance.accent",
3403
- "label": "Amber",
3404
- "valuePath": "$service:himiBrandedAppearance.selected_amber",
3405
- "onChange": {
3406
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3407
- "params": {
3408
- "id": "amber"
3409
- }
3410
- }
3411
- }
3265
+ "type": "Spacer",
3266
+ "props": {}
3412
3267
  }
3413
3268
  }
3414
3269
  ]
3415
3270
  }
3416
3271
  },
3417
3272
  "modifiers": {
3273
+ "background": {
3274
+ "token": "surfaceElevated"
3275
+ },
3276
+ "border": {
3277
+ "width": 1,
3278
+ "color": {
3279
+ "token": "border"
3280
+ }
3281
+ },
3282
+ "cornerRadius": 8,
3418
3283
  "padding": {
3419
- "top": 6,
3420
- "bottom": 6,
3421
- "leading": 4,
3422
- "trailing": 4
3284
+ "leading": 12,
3285
+ "trailing": 12,
3286
+ "top": 12,
3287
+ "bottom": 12
3423
3288
  }
3424
3289
  }
3425
3290
  },
3426
3291
  {
3427
- "id": "himi_appearance.accent_option.terracotta",
3292
+ "id": "himi_appearance.theme_option.light",
3428
3293
  "body": {
3429
3294
  "package": "himalaya",
3430
- "type": "VStack",
3295
+ "type": "HStack",
3431
3296
  "props": {
3432
- "spacing": 8,
3433
- "alignment": "center",
3297
+ "spacing": 12,
3434
3298
  "children": [
3435
3299
  {
3436
- "id": "himi_appearance.accent.terracotta",
3437
- "body": {
3438
- "package": "himalaya",
3439
- "type": "ZStack",
3440
- "props": {
3441
- "alignment": "center",
3442
- "children": [
3443
- {
3444
- "id": "",
3445
- "body": {
3446
- "package": "himalaya",
3447
- "type": "Icon",
3448
- "props": {
3449
- "name": "check",
3450
- "size": 20,
3451
- "tint": "textOnAccent"
3452
- }
3453
- },
3454
- "modifiers": {
3455
- "accessibilityRole": "decorative",
3456
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
3457
- }
3458
- }
3459
- ]
3460
- }
3461
- },
3462
- "modifiers": {
3463
- "width": 46,
3464
- "height": 46,
3465
- "cornerRadius": 23,
3466
- "background": {
3467
- "token": "accentPrimary"
3468
- },
3469
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
3470
- "border": {
3471
- "width": 2,
3472
- "color": {
3473
- "token": "border"
3474
- }
3475
- }
3476
- }
3477
- },
3478
- {
3479
- "id": "himi_appearance.accent_radio.terracotta",
3300
+ "id": "himi_appearance.theme_radio.light",
3480
3301
  "body": {
3481
3302
  "package": "himalaya",
3482
3303
  "type": "SelectionControl",
3483
3304
  "props": {
3484
3305
  "kind": "radio",
3485
- "groupId": "himi_appearance.accent",
3486
- "label": "Terracotta",
3487
- "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
3306
+ "groupId": "himi_appearance.theme",
3307
+ "label": "Light",
3308
+ "valuePath": "$service:himiBrandedAppearance.selected_light",
3488
3309
  "onChange": {
3489
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3310
+ "actionId": "tier5.himiBrandedAppearance.selectTheme",
3490
3311
  "params": {
3491
- "id": "terracotta"
3312
+ "id": "light"
3492
3313
  }
3493
3314
  }
3494
3315
  }
3495
3316
  }
3496
- }
3497
- ]
3498
- }
3499
- },
3500
- "modifiers": {
3501
- "padding": {
3502
- "top": 6,
3503
- "bottom": 6,
3504
- "leading": 4,
3505
- "trailing": 4
3506
- }
3507
- }
3508
- },
3509
- {
3510
- "id": "himi_appearance.accent_option.sage",
3511
- "body": {
3512
- "package": "himalaya",
3513
- "type": "VStack",
3514
- "props": {
3515
- "spacing": 8,
3516
- "alignment": "center",
3517
- "children": [
3518
- {
3519
- "id": "himi_appearance.accent.sage",
3520
- "body": {
3521
- "package": "himalaya",
3522
- "type": "ZStack",
3523
- "props": {
3524
- "alignment": "center",
3525
- "children": [
3526
- {
3527
- "id": "",
3528
- "body": {
3529
- "package": "himalaya",
3530
- "type": "Icon",
3531
- "props": {
3532
- "name": "check",
3533
- "size": 20,
3534
- "tint": "textOnAccent"
3535
- }
3536
- },
3537
- "modifiers": {
3538
- "accessibilityRole": "decorative",
3539
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
3540
- }
3541
- }
3542
- ]
3543
- }
3544
- },
3545
- "modifiers": {
3546
- "width": 46,
3547
- "height": 46,
3548
- "cornerRadius": 23,
3549
- "background": {
3550
- "token": "accentPrimary"
3551
- },
3552
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
3553
- "border": {
3554
- "width": 2,
3555
- "color": {
3556
- "token": "border"
3557
- }
3558
- }
3559
- }
3560
3317
  },
3561
3318
  {
3562
- "id": "himi_appearance.accent_radio.sage",
3319
+ "id": "",
3563
3320
  "body": {
3564
3321
  "package": "himalaya",
3565
- "type": "SelectionControl",
3566
- "props": {
3567
- "kind": "radio",
3568
- "groupId": "himi_appearance.accent",
3569
- "label": "Sage",
3570
- "valuePath": "$service:himiBrandedAppearance.selected_sage",
3571
- "onChange": {
3572
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3573
- "params": {
3574
- "id": "sage"
3575
- }
3576
- }
3577
- }
3322
+ "type": "Spacer",
3323
+ "props": {}
3578
3324
  }
3579
3325
  }
3580
3326
  ]
3581
3327
  }
3582
3328
  },
3583
3329
  "modifiers": {
3330
+ "background": {
3331
+ "token": "surfaceElevated"
3332
+ },
3333
+ "border": {
3334
+ "width": 1,
3335
+ "color": {
3336
+ "token": "border"
3337
+ }
3338
+ },
3339
+ "cornerRadius": 8,
3584
3340
  "padding": {
3585
- "top": 6,
3586
- "bottom": 6,
3587
- "leading": 4,
3588
- "trailing": 4
3341
+ "leading": 12,
3342
+ "trailing": 12,
3343
+ "top": 12,
3344
+ "bottom": 12
3589
3345
  }
3590
3346
  }
3591
3347
  },
3592
3348
  {
3593
- "id": "himi_appearance.accent_option.plum",
3349
+ "id": "himi_appearance.theme_option.dark",
3594
3350
  "body": {
3595
3351
  "package": "himalaya",
3596
- "type": "VStack",
3352
+ "type": "HStack",
3597
3353
  "props": {
3598
- "spacing": 8,
3599
- "alignment": "center",
3354
+ "spacing": 12,
3600
3355
  "children": [
3601
3356
  {
3602
- "id": "himi_appearance.accent.plum",
3603
- "body": {
3604
- "package": "himalaya",
3605
- "type": "ZStack",
3606
- "props": {
3607
- "alignment": "center",
3608
- "children": [
3609
- {
3610
- "id": "",
3611
- "body": {
3612
- "package": "himalaya",
3613
- "type": "Icon",
3614
- "props": {
3615
- "name": "check",
3616
- "size": 20,
3617
- "tint": "textOnAccent"
3618
- }
3619
- },
3620
- "modifiers": {
3621
- "accessibilityRole": "decorative",
3622
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
3623
- }
3624
- }
3625
- ]
3626
- }
3627
- },
3628
- "modifiers": {
3629
- "width": 46,
3630
- "height": 46,
3631
- "cornerRadius": 23,
3632
- "background": {
3633
- "token": "accentPrimary"
3634
- },
3635
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
3636
- "border": {
3637
- "width": 2,
3638
- "color": {
3639
- "token": "border"
3640
- }
3641
- }
3642
- }
3643
- },
3644
- {
3645
- "id": "himi_appearance.accent_radio.plum",
3357
+ "id": "himi_appearance.theme_radio.dark",
3646
3358
  "body": {
3647
3359
  "package": "himalaya",
3648
3360
  "type": "SelectionControl",
3649
3361
  "props": {
3650
3362
  "kind": "radio",
3651
- "groupId": "himi_appearance.accent",
3652
- "label": "Plum",
3653
- "valuePath": "$service:himiBrandedAppearance.selected_plum",
3363
+ "groupId": "himi_appearance.theme",
3364
+ "label": "Dark",
3365
+ "valuePath": "$service:himiBrandedAppearance.selected_dark",
3654
3366
  "onChange": {
3655
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3367
+ "actionId": "tier5.himiBrandedAppearance.selectTheme",
3656
3368
  "params": {
3657
- "id": "plum"
3369
+ "id": "dark"
3658
3370
  }
3659
3371
  }
3660
3372
  }
3661
3373
  }
3662
- }
3663
- ]
3664
- }
3665
- },
3666
- "modifiers": {
3667
- "padding": {
3668
- "top": 6,
3669
- "bottom": 6,
3670
- "leading": 4,
3671
- "trailing": 4
3672
- }
3673
- }
3674
- },
3675
- {
3676
- "id": "himi_appearance.accent_option.ocean",
3677
- "body": {
3678
- "package": "himalaya",
3679
- "type": "VStack",
3680
- "props": {
3681
- "spacing": 8,
3682
- "alignment": "center",
3683
- "children": [
3684
- {
3685
- "id": "himi_appearance.accent.ocean",
3686
- "body": {
3687
- "package": "himalaya",
3688
- "type": "ZStack",
3689
- "props": {
3690
- "alignment": "center",
3691
- "children": [
3692
- {
3693
- "id": "",
3694
- "body": {
3695
- "package": "himalaya",
3696
- "type": "Icon",
3697
- "props": {
3698
- "name": "check",
3699
- "size": 20,
3700
- "tint": "textOnAccent"
3701
- }
3702
- },
3703
- "modifiers": {
3704
- "accessibilityRole": "decorative",
3705
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
3706
- }
3707
- }
3708
- ]
3709
- }
3710
- },
3711
- "modifiers": {
3712
- "width": 46,
3713
- "height": 46,
3714
- "cornerRadius": 23,
3715
- "background": {
3716
- "token": "accentPrimary"
3717
- },
3718
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
3719
- "border": {
3720
- "width": 2,
3721
- "color": {
3722
- "token": "border"
3723
- }
3724
- }
3725
- }
3726
3374
  },
3727
3375
  {
3728
- "id": "himi_appearance.accent_radio.ocean",
3376
+ "id": "",
3729
3377
  "body": {
3730
3378
  "package": "himalaya",
3731
- "type": "SelectionControl",
3732
- "props": {
3733
- "kind": "radio",
3734
- "groupId": "himi_appearance.accent",
3735
- "label": "Ocean",
3736
- "valuePath": "$service:himiBrandedAppearance.selected_ocean",
3737
- "onChange": {
3738
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
3739
- "params": {
3740
- "id": "ocean"
3741
- }
3742
- }
3743
- }
3379
+ "type": "Spacer",
3380
+ "props": {}
3744
3381
  }
3745
3382
  }
3746
3383
  ]
3747
3384
  }
3748
3385
  },
3749
3386
  "modifiers": {
3750
- "padding": {
3751
- "top": 6,
3752
- "bottom": 6,
3753
- "leading": 4,
3754
- "trailing": 4
3755
- }
3756
- }
3757
- }
3758
- ]
3759
- }
3760
- }
3761
- },
3762
- {
3763
- "id": "",
3764
- "body": {
3765
- "package": "himalaya",
3766
- "type": "HStack",
3767
- "props": {
3768
- "spacing": 10,
3769
- "children": [
3770
- {
3771
- "id": "himi_appearance.apply",
3772
- "body": {
3773
- "package": "himalaya",
3774
- "type": "Button",
3775
- "props": {
3776
- "title": "Apply",
3777
- "style": "primary",
3778
- "fullWidth": true,
3779
- "action": {
3780
- "actionId": "tier5.himiBrandedAppearance.apply"
3781
- }
3782
- }
3783
- }
3784
- },
3785
- {
3786
- "id": "himi_appearance.reset",
3787
- "body": {
3788
- "package": "himalaya",
3789
- "type": "Button",
3790
- "props": {
3791
- "title": "Reset",
3792
- "style": "secondary",
3793
- "fullWidth": true,
3794
- "action": {
3795
- "actionId": "tier5.himiBrandedAppearance.reset"
3387
+ "background": {
3388
+ "token": "surfaceElevated"
3389
+ },
3390
+ "border": {
3391
+ "width": 1,
3392
+ "color": {
3393
+ "token": "border"
3796
3394
  }
3395
+ },
3396
+ "cornerRadius": 8,
3397
+ "padding": {
3398
+ "leading": 12,
3399
+ "trailing": 12,
3400
+ "top": 12,
3401
+ "bottom": 12
3797
3402
  }
3798
3403
  }
3799
3404
  }