@wix/himalaya-cli 0.1387.0 → 0.1388.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 (56) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/video/src/display.d.ts +66 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/video/src/index.d.ts +185 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-video.mjs +324 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
  5. package/dist/cli.mjs +5 -2
  6. package/guides/importable-sdks.md +1 -0
  7. package/guides/sdk-reference.json +253 -0
  8. package/package.json +2 -2
  9. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +1 -1
  10. package/templates/beauty-salon/tier5-src/_shared/video-caption.ts +21 -0
  11. package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +31 -1
  12. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +1 -1
  13. package/templates/branded-lite/dev/index.ts +982 -16
  14. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +1 -1
  15. package/templates/branded-lite/tier5-src/_shared/video-caption.ts +21 -0
  16. package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +31 -1
  17. package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +23 -32
  18. package/templates/branded-lite/tier5-src/himi-branded-lite-videos/index.ts +44 -38
  19. package/templates/community-club/tier5-src/_shared/collection-contract.ts +1 -1
  20. package/templates/community-club/tier5-src/_shared/video-caption.ts +21 -0
  21. package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +31 -1
  22. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +1 -1
  23. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +1 -1
  24. package/templates/events-meetups/tier5-src/_shared/video-caption.ts +21 -0
  25. package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +31 -1
  26. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +1 -1
  27. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +1 -1
  28. package/templates/gym-fitness/tier5-src/_shared/video-caption.ts +21 -0
  29. package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +31 -1
  30. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +1 -1
  31. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +1 -1
  32. package/templates/nonprofit-cause/tier5-src/_shared/video-caption.ts +21 -0
  33. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +31 -1
  34. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +1 -1
  35. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +1 -1
  36. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +1 -1
  37. package/templates/podcast-creator/tier5-src/_shared/video-caption.ts +21 -0
  38. package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +31 -1
  39. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +1 -1
  40. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +1 -1
  41. package/templates/portfolio-creative/tier5-src/_shared/video-caption.ts +21 -0
  42. package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +31 -1
  43. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +1 -1
  44. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +1 -1
  45. package/templates/restaurant/tier5-src/_shared/video-caption.ts +21 -0
  46. package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +31 -1
  47. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +1 -1
  48. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +1 -1
  49. package/templates/retail-store/tier5-src/_shared/video-caption.ts +21 -0
  50. package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +31 -1
  51. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +1 -1
  52. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +1 -1
  53. package/templates/yoga-studio/tier5-src/_shared/video-caption.ts +21 -0
  54. package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +31 -1
  55. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +1 -1
  56. package/templates/branded-lite/tier5-src/_shared/vod.ts +0 -71
@@ -2622,6 +2622,335 @@ const SCREENS = runtimeSetting({
2622
2622
  "pressFeedback": "scale",
2623
2623
  "haptic": "light"
2624
2624
  }
2625
+ },
2626
+ {
2627
+ "id": "himi_branded_home.videos_section",
2628
+ "body": {
2629
+ "package": "himalaya",
2630
+ "type": "VStack",
2631
+ "props": {
2632
+ "spacing": 10,
2633
+ "alignment": "leading",
2634
+ "children": [
2635
+ {
2636
+ "id": "",
2637
+ "body": {
2638
+ "package": "himalaya",
2639
+ "type": "VStack",
2640
+ "props": {
2641
+ "spacing": 3,
2642
+ "alignment": "leading",
2643
+ "children": [
2644
+ {
2645
+ "id": "",
2646
+ "body": {
2647
+ "package": "himalaya",
2648
+ "type": "Text",
2649
+ "props": {
2650
+ "text": "Videos",
2651
+ "style": "title3"
2652
+ }
2653
+ }
2654
+ },
2655
+ {
2656
+ "id": "",
2657
+ "body": {
2658
+ "package": "himalaya",
2659
+ "type": "Text",
2660
+ "props": {
2661
+ "text": "The latest from our channels",
2662
+ "style": "footnote",
2663
+ "color": "textSecondary"
2664
+ }
2665
+ }
2666
+ }
2667
+ ]
2668
+ }
2669
+ }
2670
+ },
2671
+ {
2672
+ "id": "himi_branded_home.video_rail",
2673
+ "body": {
2674
+ "package": "himalaya",
2675
+ "type": "Carousel",
2676
+ "props": {
2677
+ "itemsPath": "$service:himiBrandedHome.homeVideos",
2678
+ "items": [
2679
+ {
2680
+ "id": "",
2681
+ "body": {
2682
+ "package": "himalaya",
2683
+ "type": "VStack",
2684
+ "props": {
2685
+ "spacing": 8,
2686
+ "alignment": "leading",
2687
+ "children": [
2688
+ {
2689
+ "id": "",
2690
+ "body": {
2691
+ "package": "himalaya",
2692
+ "type": "ZStack",
2693
+ "props": {
2694
+ "alignment": "leading",
2695
+ "children": [
2696
+ {
2697
+ "id": "",
2698
+ "body": {
2699
+ "package": "himalaya",
2700
+ "type": "Image",
2701
+ "props": {
2702
+ "url": "$item.coverUrl",
2703
+ "fillWidth": true,
2704
+ "height": 158,
2705
+ "contentMode": "fill"
2706
+ }
2707
+ },
2708
+ "modifiers": {
2709
+ "accessibilityRole": "decorative",
2710
+ "hiddenPath": "$item.noCover"
2711
+ }
2712
+ },
2713
+ {
2714
+ "id": "",
2715
+ "body": {
2716
+ "package": "himalaya",
2717
+ "type": "ZStack",
2718
+ "props": {
2719
+ "alignment": "center",
2720
+ "children": [
2721
+ {
2722
+ "id": "",
2723
+ "body": {
2724
+ "package": "himalaya",
2725
+ "type": "Icon",
2726
+ "props": {
2727
+ "name": "play",
2728
+ "size": 28,
2729
+ "tint": "accentPrimary"
2730
+ }
2731
+ },
2732
+ "modifiers": {
2733
+ "accessibilityRole": "decorative"
2734
+ }
2735
+ }
2736
+ ]
2737
+ }
2738
+ },
2739
+ "modifiers": {
2740
+ "fillMaxWidth": true,
2741
+ "height": 158,
2742
+ "background": {
2743
+ "token": "accentSurface"
2744
+ },
2745
+ "hiddenPath": "$item.hasCover"
2746
+ }
2747
+ },
2748
+ {
2749
+ "id": "",
2750
+ "body": {
2751
+ "package": "himalaya",
2752
+ "type": "VStack",
2753
+ "props": {
2754
+ "spacing": 0,
2755
+ "alignment": "leading",
2756
+ "children": [
2757
+ {
2758
+ "id": "",
2759
+ "body": {
2760
+ "package": "himalaya",
2761
+ "type": "Spacer",
2762
+ "props": {}
2763
+ }
2764
+ },
2765
+ {
2766
+ "id": "",
2767
+ "body": {
2768
+ "package": "himalaya",
2769
+ "type": "HStack",
2770
+ "props": {
2771
+ "spacing": 8,
2772
+ "children": [
2773
+ {
2774
+ "id": "",
2775
+ "body": {
2776
+ "package": "himalaya",
2777
+ "type": "Icon",
2778
+ "props": {
2779
+ "name": "play",
2780
+ "size": 14,
2781
+ "tint": "textOnAccent"
2782
+ }
2783
+ },
2784
+ "modifiers": {
2785
+ "accessibilityRole": "decorative"
2786
+ }
2787
+ },
2788
+ {
2789
+ "id": "",
2790
+ "body": {
2791
+ "package": "himalaya",
2792
+ "type": "VStack",
2793
+ "props": {
2794
+ "spacing": 1,
2795
+ "alignment": "leading",
2796
+ "children": [
2797
+ {
2798
+ "id": "",
2799
+ "body": {
2800
+ "package": "himalaya",
2801
+ "type": "Text",
2802
+ "props": {
2803
+ "text": "$item.title",
2804
+ "style": "bodyEmphasis",
2805
+ "color": "textOnAccent",
2806
+ "maxLines": 1
2807
+ }
2808
+ }
2809
+ },
2810
+ {
2811
+ "id": "",
2812
+ "body": {
2813
+ "package": "himalaya",
2814
+ "type": "Text",
2815
+ "props": {
2816
+ "text": "$item.meta",
2817
+ "style": "caption",
2818
+ "color": "textOnAccent",
2819
+ "maxLines": 1,
2820
+ "collapseWhenEmpty": true
2821
+ }
2822
+ }
2823
+ }
2824
+ ]
2825
+ }
2826
+ }
2827
+ }
2828
+ ]
2829
+ }
2830
+ },
2831
+ "modifiers": {
2832
+ "background": {
2833
+ "token": "accentPrimary"
2834
+ },
2835
+ "cornerRadius": 10,
2836
+ "padding": {
2837
+ "leading": 10,
2838
+ "trailing": 12,
2839
+ "top": 6,
2840
+ "bottom": 6
2841
+ }
2842
+ }
2843
+ }
2844
+ ]
2845
+ }
2846
+ },
2847
+ "modifiers": {
2848
+ "height": 158,
2849
+ "fillMaxWidth": true,
2850
+ "padding": {
2851
+ "leading": 10,
2852
+ "trailing": 10,
2853
+ "bottom": 10
2854
+ },
2855
+ "hiddenPath": "$item.captionBelow"
2856
+ }
2857
+ }
2858
+ ]
2859
+ }
2860
+ },
2861
+ "modifiers": {
2862
+ "fillMaxWidth": true,
2863
+ "height": 158,
2864
+ "cornerRadius": 12
2865
+ }
2866
+ },
2867
+ {
2868
+ "id": "",
2869
+ "body": {
2870
+ "package": "himalaya",
2871
+ "type": "VStack",
2872
+ "props": {
2873
+ "spacing": 2,
2874
+ "alignment": "leading",
2875
+ "children": [
2876
+ {
2877
+ "id": "",
2878
+ "body": {
2879
+ "package": "himalaya",
2880
+ "type": "Text",
2881
+ "props": {
2882
+ "text": "$item.title",
2883
+ "style": "bodyEmphasis",
2884
+ "maxLines": 2
2885
+ }
2886
+ }
2887
+ },
2888
+ {
2889
+ "id": "",
2890
+ "body": {
2891
+ "package": "himalaya",
2892
+ "type": "Text",
2893
+ "props": {
2894
+ "text": "$item.meta",
2895
+ "style": "caption",
2896
+ "color": "textSecondary",
2897
+ "maxLines": 1,
2898
+ "collapseWhenEmpty": true
2899
+ }
2900
+ }
2901
+ }
2902
+ ]
2903
+ }
2904
+ },
2905
+ "modifiers": {
2906
+ "hiddenPath": "$item.captionOnImage"
2907
+ }
2908
+ }
2909
+ ]
2910
+ }
2911
+ },
2912
+ "modifiers": {
2913
+ "width": 280,
2914
+ "onTap": {
2915
+ "actionId": "himi.open",
2916
+ "params": {
2917
+ "screenId": "himi_video",
2918
+ "id": "$item.id",
2919
+ "channelId": "$item.channelId"
2920
+ }
2921
+ },
2922
+ "pressFeedback": "scale",
2923
+ "haptic": "light",
2924
+ "accessibilityLabel": "$item.accessibilityLabel"
2925
+ }
2926
+ }
2927
+ ]
2928
+ }
2929
+ }
2930
+ },
2931
+ {
2932
+ "id": "himi_branded_home.videos_all",
2933
+ "body": {
2934
+ "package": "himalaya",
2935
+ "type": "Button",
2936
+ "props": {
2937
+ "title": "See all videos",
2938
+ "style": "plain",
2939
+ "action": {
2940
+ "actionId": "himi.open",
2941
+ "params": {
2942
+ "screenId": "himi_videos"
2943
+ }
2944
+ }
2945
+ }
2946
+ }
2947
+ }
2948
+ ]
2949
+ }
2950
+ },
2951
+ "modifiers": {
2952
+ "hiddenPath": "$service:himiBrandedHome.noHomeVideos"
2953
+ }
2625
2954
  }
2626
2955
  ]
2627
2956
  }
@@ -2961,6 +3290,7 @@ const SCREENS = runtimeSetting({
2961
3290
  "verticals": "[\"store\",\"bookings\",\"restaurants\",\"programs\",\"plans\",\"feed\",\"members\",\"forum\",\"coupons\",\"notifications\",\"loyalty\",\"reviews\",\"portfolio\",\"reservations\",\"invoices\",\"badges\",\"notifsettings\",\"events\",\"blog\",\"groups\",\"cms\",\"donations\",\"giftCards\",\"videos\",\"podcasts\",\"forms\",\"galleries\",\"inbox\",\"faq\"]",
2962
3291
  "homeModules": "[{\"id\":\"member_progress\",\"label\":\"This week's schedule\",\"dataSource\":\"member.bookings.schedule\",\"emptyWhen\":[\"hideMemberProgress\"]},{\"id\":\"up_next\",\"label\":\"Up next\",\"dataSource\":\"member.bookings\",\"emptyWhen\":[\"hideNextBooking\",\"hidePersonalError\"]},{\"id\":\"saved\",\"label\":\"Saved on this device\",\"dataSource\":\"device.saved_items\",\"emptyWhen\":[\"noSavedContent\"]},{\"id\":\"section_0\",\"label\":\"Discover 1\",\"dataSource\":\"classic.section0\",\"emptyWhen\":[\"hideFeaturedSkeleton\"]},{\"id\":\"section_1\",\"label\":\"Featured products\",\"dataSource\":\"classic.section1\"}]",
2963
3292
  "ownerDefaultLayout": "",
3293
+ "videoCaption": "overlay",
2964
3294
  "weeklyGoal": "2"
2965
3295
  }
2966
3296
  }
@@ -69337,6 +69667,358 @@ const SCREENS = runtimeSetting({
69337
69667
  "hiddenPath": "$service:himiBrandedVideos.notMockUnavailable"
69338
69668
  }
69339
69669
  },
69670
+ {
69671
+ "id": "himi_videos.loading",
69672
+ "body": {
69673
+ "package": "himalaya",
69674
+ "type": "ZStack",
69675
+ "props": {
69676
+ "alignment": "center",
69677
+ "children": []
69678
+ }
69679
+ },
69680
+ "modifiers": {
69681
+ "height": 158,
69682
+ "background": {
69683
+ "token": "surfaceSecondary"
69684
+ },
69685
+ "border": {
69686
+ "width": 1,
69687
+ "color": {
69688
+ "token": "border"
69689
+ }
69690
+ },
69691
+ "cornerRadius": 8,
69692
+ "hiddenPath": "$service:himiBrandedVideos.notLoading"
69693
+ }
69694
+ },
69695
+ {
69696
+ "id": "himi_videos.latest_section",
69697
+ "body": {
69698
+ "package": "himalaya",
69699
+ "type": "VStack",
69700
+ "props": {
69701
+ "spacing": 10,
69702
+ "alignment": "leading",
69703
+ "children": [
69704
+ {
69705
+ "id": "",
69706
+ "body": {
69707
+ "package": "himalaya",
69708
+ "type": "VStack",
69709
+ "props": {
69710
+ "spacing": 3,
69711
+ "alignment": "leading",
69712
+ "children": [
69713
+ {
69714
+ "id": "",
69715
+ "body": {
69716
+ "package": "himalaya",
69717
+ "type": "Text",
69718
+ "props": {
69719
+ "text": "Latest videos",
69720
+ "style": "title3"
69721
+ }
69722
+ }
69723
+ }
69724
+ ]
69725
+ }
69726
+ }
69727
+ },
69728
+ {
69729
+ "id": "himi_videos.latest",
69730
+ "body": {
69731
+ "package": "himalaya",
69732
+ "type": "Carousel",
69733
+ "props": {
69734
+ "itemsPath": "$service:himiBrandedVideos.latestVideos",
69735
+ "items": [
69736
+ {
69737
+ "id": "",
69738
+ "body": {
69739
+ "package": "himalaya",
69740
+ "type": "VStack",
69741
+ "props": {
69742
+ "spacing": 8,
69743
+ "alignment": "leading",
69744
+ "children": [
69745
+ {
69746
+ "id": "",
69747
+ "body": {
69748
+ "package": "himalaya",
69749
+ "type": "ZStack",
69750
+ "props": {
69751
+ "alignment": "leading",
69752
+ "children": [
69753
+ {
69754
+ "id": "",
69755
+ "body": {
69756
+ "package": "himalaya",
69757
+ "type": "Image",
69758
+ "props": {
69759
+ "url": "$item.coverUrl",
69760
+ "fillWidth": true,
69761
+ "height": 158,
69762
+ "contentMode": "fill"
69763
+ }
69764
+ },
69765
+ "modifiers": {
69766
+ "accessibilityRole": "decorative",
69767
+ "hiddenPath": "$item.noCover"
69768
+ }
69769
+ },
69770
+ {
69771
+ "id": "",
69772
+ "body": {
69773
+ "package": "himalaya",
69774
+ "type": "ZStack",
69775
+ "props": {
69776
+ "alignment": "center",
69777
+ "children": [
69778
+ {
69779
+ "id": "",
69780
+ "body": {
69781
+ "package": "himalaya",
69782
+ "type": "Icon",
69783
+ "props": {
69784
+ "name": "play",
69785
+ "size": 28,
69786
+ "tint": "accentPrimary"
69787
+ }
69788
+ },
69789
+ "modifiers": {
69790
+ "accessibilityRole": "decorative"
69791
+ }
69792
+ }
69793
+ ]
69794
+ }
69795
+ },
69796
+ "modifiers": {
69797
+ "fillMaxWidth": true,
69798
+ "height": 158,
69799
+ "background": {
69800
+ "token": "accentSurface"
69801
+ },
69802
+ "hiddenPath": "$item.hasCover"
69803
+ }
69804
+ },
69805
+ {
69806
+ "id": "",
69807
+ "body": {
69808
+ "package": "himalaya",
69809
+ "type": "VStack",
69810
+ "props": {
69811
+ "spacing": 0,
69812
+ "alignment": "leading",
69813
+ "children": [
69814
+ {
69815
+ "id": "",
69816
+ "body": {
69817
+ "package": "himalaya",
69818
+ "type": "Spacer",
69819
+ "props": {}
69820
+ }
69821
+ },
69822
+ {
69823
+ "id": "",
69824
+ "body": {
69825
+ "package": "himalaya",
69826
+ "type": "HStack",
69827
+ "props": {
69828
+ "spacing": 8,
69829
+ "children": [
69830
+ {
69831
+ "id": "",
69832
+ "body": {
69833
+ "package": "himalaya",
69834
+ "type": "Icon",
69835
+ "props": {
69836
+ "name": "play",
69837
+ "size": 14,
69838
+ "tint": "textOnAccent"
69839
+ }
69840
+ },
69841
+ "modifiers": {
69842
+ "accessibilityRole": "decorative"
69843
+ }
69844
+ },
69845
+ {
69846
+ "id": "",
69847
+ "body": {
69848
+ "package": "himalaya",
69849
+ "type": "VStack",
69850
+ "props": {
69851
+ "spacing": 1,
69852
+ "alignment": "leading",
69853
+ "children": [
69854
+ {
69855
+ "id": "",
69856
+ "body": {
69857
+ "package": "himalaya",
69858
+ "type": "Text",
69859
+ "props": {
69860
+ "text": "$item.title",
69861
+ "style": "bodyEmphasis",
69862
+ "color": "textOnAccent",
69863
+ "maxLines": 1
69864
+ }
69865
+ }
69866
+ },
69867
+ {
69868
+ "id": "",
69869
+ "body": {
69870
+ "package": "himalaya",
69871
+ "type": "Text",
69872
+ "props": {
69873
+ "text": "$item.meta",
69874
+ "style": "caption",
69875
+ "color": "textOnAccent",
69876
+ "maxLines": 1,
69877
+ "collapseWhenEmpty": true
69878
+ }
69879
+ }
69880
+ }
69881
+ ]
69882
+ }
69883
+ }
69884
+ }
69885
+ ]
69886
+ }
69887
+ },
69888
+ "modifiers": {
69889
+ "background": {
69890
+ "token": "accentPrimary"
69891
+ },
69892
+ "cornerRadius": 10,
69893
+ "padding": {
69894
+ "leading": 10,
69895
+ "trailing": 12,
69896
+ "top": 6,
69897
+ "bottom": 6
69898
+ }
69899
+ }
69900
+ }
69901
+ ]
69902
+ }
69903
+ },
69904
+ "modifiers": {
69905
+ "height": 158,
69906
+ "fillMaxWidth": true,
69907
+ "padding": {
69908
+ "leading": 10,
69909
+ "trailing": 10,
69910
+ "bottom": 10
69911
+ },
69912
+ "hiddenPath": "$item.captionBelow"
69913
+ }
69914
+ }
69915
+ ]
69916
+ }
69917
+ },
69918
+ "modifiers": {
69919
+ "fillMaxWidth": true,
69920
+ "height": 158,
69921
+ "cornerRadius": 12
69922
+ }
69923
+ },
69924
+ {
69925
+ "id": "",
69926
+ "body": {
69927
+ "package": "himalaya",
69928
+ "type": "VStack",
69929
+ "props": {
69930
+ "spacing": 2,
69931
+ "alignment": "leading",
69932
+ "children": [
69933
+ {
69934
+ "id": "",
69935
+ "body": {
69936
+ "package": "himalaya",
69937
+ "type": "Text",
69938
+ "props": {
69939
+ "text": "$item.title",
69940
+ "style": "bodyEmphasis",
69941
+ "maxLines": 2
69942
+ }
69943
+ }
69944
+ },
69945
+ {
69946
+ "id": "",
69947
+ "body": {
69948
+ "package": "himalaya",
69949
+ "type": "Text",
69950
+ "props": {
69951
+ "text": "$item.meta",
69952
+ "style": "caption",
69953
+ "color": "textSecondary",
69954
+ "maxLines": 1,
69955
+ "collapseWhenEmpty": true
69956
+ }
69957
+ }
69958
+ }
69959
+ ]
69960
+ }
69961
+ },
69962
+ "modifiers": {
69963
+ "hiddenPath": "$item.captionOnImage"
69964
+ }
69965
+ }
69966
+ ]
69967
+ }
69968
+ },
69969
+ "modifiers": {
69970
+ "width": 280,
69971
+ "onTap": {
69972
+ "actionId": "himi.open",
69973
+ "params": {
69974
+ "screenId": "himi_video",
69975
+ "id": "$item.id",
69976
+ "channelId": "$item.channelId"
69977
+ }
69978
+ },
69979
+ "pressFeedback": "scale",
69980
+ "haptic": "light",
69981
+ "accessibilityLabel": "$item.accessibilityLabel"
69982
+ }
69983
+ }
69984
+ ]
69985
+ }
69986
+ }
69987
+ }
69988
+ ]
69989
+ }
69990
+ },
69991
+ "modifiers": {
69992
+ "hiddenPath": "$service:himiBrandedVideos.noLatestVideos"
69993
+ }
69994
+ },
69995
+ {
69996
+ "id": "",
69997
+ "body": {
69998
+ "package": "himalaya",
69999
+ "type": "VStack",
70000
+ "props": {
70001
+ "spacing": 3,
70002
+ "alignment": "leading",
70003
+ "children": [
70004
+ {
70005
+ "id": "",
70006
+ "body": {
70007
+ "package": "himalaya",
70008
+ "type": "Text",
70009
+ "props": {
70010
+ "text": "Channels",
70011
+ "style": "title3"
70012
+ }
70013
+ }
70014
+ }
70015
+ ]
70016
+ }
70017
+ },
70018
+ "modifiers": {
70019
+ "hiddenPath": "$service:himiBrandedVideos.noChannels"
70020
+ }
70021
+ },
69340
70022
  {
69341
70023
  "id": "himi_videos.rows.collection.toolbar",
69342
70024
  "body": {
@@ -69369,7 +70051,7 @@ const SCREENS = runtimeSetting({
69369
70051
  "package": "himalaya",
69370
70052
  "type": "SearchField",
69371
70053
  "props": {
69372
- "placeholder": "Search",
70054
+ "placeholder": "Search channels",
69373
70055
  "value": "$service:himiBrandedVideos.collection.query",
69374
70056
  "debounceMs": 200,
69375
70057
  "onChange": {
@@ -70060,6 +70742,73 @@ const SCREENS = runtimeSetting({
70060
70742
  "spacing": 8,
70061
70743
  "alignment": "leading",
70062
70744
  "children": [
70745
+ {
70746
+ "id": "",
70747
+ "body": {
70748
+ "package": "himalaya",
70749
+ "type": "VStack",
70750
+ "props": {
70751
+ "spacing": 0,
70752
+ "children": [
70753
+ {
70754
+ "id": "himi_videos.rows.collection.grid.$item.collectionId/image",
70755
+ "body": {
70756
+ "package": "himalaya",
70757
+ "type": "Image",
70758
+ "props": {
70759
+ "url": "$item.collectionImage",
70760
+ "contentDescription": "$item.collectionTitle",
70761
+ "contentMode": "fill",
70762
+ "height": 112,
70763
+ "fillWidth": true
70764
+ }
70765
+ },
70766
+ "modifiers": {
70767
+ "cornerRadius": 12,
70768
+ "hiddenPath": "$item.collectionNoImage"
70769
+ }
70770
+ },
70771
+ {
70772
+ "id": "",
70773
+ "body": {
70774
+ "package": "himalaya",
70775
+ "type": "ZStack",
70776
+ "props": {
70777
+ "alignment": "center",
70778
+ "children": [
70779
+ {
70780
+ "id": "",
70781
+ "body": {
70782
+ "package": "himalaya",
70783
+ "type": "Icon",
70784
+ "props": {
70785
+ "name": "photo",
70786
+ "size": 28,
70787
+ "tint": "accentPrimary"
70788
+ }
70789
+ },
70790
+ "modifiers": {
70791
+ "accessibilityRole": "decorative"
70792
+ }
70793
+ }
70794
+ ]
70795
+ }
70796
+ },
70797
+ "modifiers": {
70798
+ "height": 112,
70799
+ "fillMaxWidth": true,
70800
+ "cornerRadius": 12,
70801
+ "background": {
70802
+ "token": "surfaceSecondary"
70803
+ },
70804
+ "accessibilityLabel": "No image available",
70805
+ "hiddenPath": "$item.collectionHasImage"
70806
+ }
70807
+ }
70808
+ ]
70809
+ }
70810
+ }
70811
+ },
70063
70812
  {
70064
70813
  "id": "",
70065
70814
  "body": {
@@ -70604,6 +71353,73 @@ const SCREENS = runtimeSetting({
70604
71353
  "spacing": 8,
70605
71354
  "alignment": "leading",
70606
71355
  "children": [
71356
+ {
71357
+ "id": "",
71358
+ "body": {
71359
+ "package": "himalaya",
71360
+ "type": "VStack",
71361
+ "props": {
71362
+ "spacing": 0,
71363
+ "children": [
71364
+ {
71365
+ "id": "himi_videos.rows.collection.compact-grid.$item.collectionId/image",
71366
+ "body": {
71367
+ "package": "himalaya",
71368
+ "type": "Image",
71369
+ "props": {
71370
+ "url": "$item.collectionImage",
71371
+ "contentDescription": "$item.collectionTitle",
71372
+ "contentMode": "fill",
71373
+ "height": 80,
71374
+ "fillWidth": true
71375
+ }
71376
+ },
71377
+ "modifiers": {
71378
+ "cornerRadius": 12,
71379
+ "hiddenPath": "$item.collectionNoImage"
71380
+ }
71381
+ },
71382
+ {
71383
+ "id": "",
71384
+ "body": {
71385
+ "package": "himalaya",
71386
+ "type": "ZStack",
71387
+ "props": {
71388
+ "alignment": "center",
71389
+ "children": [
71390
+ {
71391
+ "id": "",
71392
+ "body": {
71393
+ "package": "himalaya",
71394
+ "type": "Icon",
71395
+ "props": {
71396
+ "name": "photo",
71397
+ "size": 28,
71398
+ "tint": "accentPrimary"
71399
+ }
71400
+ },
71401
+ "modifiers": {
71402
+ "accessibilityRole": "decorative"
71403
+ }
71404
+ }
71405
+ ]
71406
+ }
71407
+ },
71408
+ "modifiers": {
71409
+ "height": 80,
71410
+ "fillMaxWidth": true,
71411
+ "cornerRadius": 12,
71412
+ "background": {
71413
+ "token": "surfaceSecondary"
71414
+ },
71415
+ "accessibilityLabel": "No image available",
71416
+ "hiddenPath": "$item.collectionHasImage"
71417
+ }
71418
+ }
71419
+ ]
71420
+ }
71421
+ }
71422
+ },
70607
71423
  {
70608
71424
  "id": "",
70609
71425
  "body": {
@@ -71161,6 +71977,73 @@ const SCREENS = runtimeSetting({
71161
71977
  "spacing": 8,
71162
71978
  "alignment": "leading",
71163
71979
  "children": [
71980
+ {
71981
+ "id": "",
71982
+ "body": {
71983
+ "package": "himalaya",
71984
+ "type": "VStack",
71985
+ "props": {
71986
+ "spacing": 0,
71987
+ "children": [
71988
+ {
71989
+ "id": "himi_videos.rows.collection.preview.$item.collectionId/image",
71990
+ "body": {
71991
+ "package": "himalaya",
71992
+ "type": "Image",
71993
+ "props": {
71994
+ "url": "$item.collectionImage",
71995
+ "contentDescription": "$item.collectionTitle",
71996
+ "contentMode": "fill",
71997
+ "height": 112,
71998
+ "fillWidth": true
71999
+ }
72000
+ },
72001
+ "modifiers": {
72002
+ "cornerRadius": 12,
72003
+ "hiddenPath": "$item.collectionNoImage"
72004
+ }
72005
+ },
72006
+ {
72007
+ "id": "",
72008
+ "body": {
72009
+ "package": "himalaya",
72010
+ "type": "ZStack",
72011
+ "props": {
72012
+ "alignment": "center",
72013
+ "children": [
72014
+ {
72015
+ "id": "",
72016
+ "body": {
72017
+ "package": "himalaya",
72018
+ "type": "Icon",
72019
+ "props": {
72020
+ "name": "photo",
72021
+ "size": 28,
72022
+ "tint": "accentPrimary"
72023
+ }
72024
+ },
72025
+ "modifiers": {
72026
+ "accessibilityRole": "decorative"
72027
+ }
72028
+ }
72029
+ ]
72030
+ }
72031
+ },
72032
+ "modifiers": {
72033
+ "height": 112,
72034
+ "fillMaxWidth": true,
72035
+ "cornerRadius": 12,
72036
+ "background": {
72037
+ "token": "surfaceSecondary"
72038
+ },
72039
+ "accessibilityLabel": "No image available",
72040
+ "hiddenPath": "$item.collectionHasImage"
72041
+ }
72042
+ }
72043
+ ]
72044
+ }
72045
+ }
72046
+ },
71164
72047
  {
71165
72048
  "id": "",
71166
72049
  "body": {
@@ -71400,7 +72283,10 @@ const SCREENS = runtimeSetting({
71400
72283
  "bottom": 28
71401
72284
  },
71402
72285
  "onAppear": {
71403
- "actionId": "tier5.himiBrandedVideos.load"
72286
+ "actionId": "tier5.himiBrandedVideos.load",
72287
+ "params": {
72288
+ "videoCaption": "overlay"
72289
+ }
71404
72290
  }
71405
72291
  }
71406
72292
  },
@@ -71484,32 +72370,112 @@ const SCREENS = runtimeSetting({
71484
72370
  "id": "",
71485
72371
  "body": {
71486
72372
  "package": "himalaya",
71487
- "type": "VStack",
72373
+ "type": "HStack",
71488
72374
  "props": {
71489
- "spacing": 4,
71490
- "alignment": "leading",
72375
+ "spacing": 12,
71491
72376
  "children": [
71492
72377
  {
71493
72378
  "id": "",
71494
72379
  "body": {
71495
72380
  "package": "himalaya",
71496
- "type": "Text",
72381
+ "type": "Image",
71497
72382
  "props": {
71498
- "text": "$item.title",
71499
- "style": "bodyEmphasis"
72383
+ "url": "$item.coverUrl",
72384
+ "width": 112,
72385
+ "height": 63,
72386
+ "contentMode": "fill"
71500
72387
  }
72388
+ },
72389
+ "modifiers": {
72390
+ "accessibilityRole": "decorative",
72391
+ "cornerRadius": 8,
72392
+ "hiddenPath": "$item.noCover"
71501
72393
  }
71502
72394
  },
71503
72395
  {
71504
72396
  "id": "",
71505
72397
  "body": {
71506
72398
  "package": "himalaya",
71507
- "type": "Text",
72399
+ "type": "ZStack",
71508
72400
  "props": {
71509
- "text": "$item.subtitle",
71510
- "style": "caption",
71511
- "color": "textSecondary",
71512
- "collapseWhenEmpty": true
72401
+ "alignment": "center",
72402
+ "children": [
72403
+ {
72404
+ "id": "",
72405
+ "body": {
72406
+ "package": "himalaya",
72407
+ "type": "Icon",
72408
+ "props": {
72409
+ "name": "play",
72410
+ "size": 20,
72411
+ "tint": "accentPrimary"
72412
+ }
72413
+ },
72414
+ "modifiers": {
72415
+ "accessibilityRole": "decorative"
72416
+ }
72417
+ }
72418
+ ]
72419
+ }
72420
+ },
72421
+ "modifiers": {
72422
+ "width": 112,
72423
+ "height": 63,
72424
+ "background": {
72425
+ "token": "accentSurface"
72426
+ },
72427
+ "cornerRadius": 8,
72428
+ "hiddenPath": "$item.hasCover"
72429
+ }
72430
+ },
72431
+ {
72432
+ "id": "",
72433
+ "body": {
72434
+ "package": "himalaya",
72435
+ "type": "VStack",
72436
+ "props": {
72437
+ "spacing": 4,
72438
+ "alignment": "leading",
72439
+ "children": [
72440
+ {
72441
+ "id": "",
72442
+ "body": {
72443
+ "package": "himalaya",
72444
+ "type": "Text",
72445
+ "props": {
72446
+ "text": "$item.title",
72447
+ "style": "bodyEmphasis",
72448
+ "maxLines": 2
72449
+ }
72450
+ }
72451
+ },
72452
+ {
72453
+ "id": "",
72454
+ "body": {
72455
+ "package": "himalaya",
72456
+ "type": "Text",
72457
+ "props": {
72458
+ "text": "$item.meta",
72459
+ "style": "caption",
72460
+ "color": "textSecondary",
72461
+ "collapseWhenEmpty": true
72462
+ }
72463
+ }
72464
+ },
72465
+ {
72466
+ "id": "",
72467
+ "body": {
72468
+ "package": "himalaya",
72469
+ "type": "Text",
72470
+ "props": {
72471
+ "text": "$item.subtitle",
72472
+ "style": "caption",
72473
+ "color": "textSecondary",
72474
+ "collapseWhenEmpty": true
72475
+ }
72476
+ }
72477
+ }
72478
+ ]
71513
72479
  }
71514
72480
  }
71515
72481
  }
@@ -71522,10 +72488,10 @@ const SCREENS = runtimeSetting({
71522
72488
  },
71523
72489
  "cornerRadius": 12,
71524
72490
  "padding": {
71525
- "leading": 16,
72491
+ "leading": 10,
71526
72492
  "trailing": 16,
71527
- "top": 12,
71528
- "bottom": 12
72493
+ "top": 10,
72494
+ "bottom": 10
71529
72495
  },
71530
72496
  "onTap": {
71531
72497
  "actionId": "himi.open",