@carbon/ibmdotcom-web-components 2.42.0 → 2.44.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 (112) hide show
  1. package/custom-elements.json +694 -21
  2. package/dist/dotcom-shell.js +2 -2
  3. package/dist/dotcom-shell.min.js +2 -2
  4. package/dist/ibmdotcom-web-components-dotcom-shell.js +2 -2
  5. package/dist/ibmdotcom-web-components-dotcom-shell.min.js +2 -2
  6. package/dist/{index-1c798fbb.js → index-61a58423.js} +1126 -820
  7. package/dist/{index-0582e43b.js → index-ec9bb3a7.js} +325 -325
  8. package/dist/{left-nav-menu-222d7e12.js → left-nav-menu-1ff7160b.js} +2 -2
  9. package/dist/{left-nav-menu-fbe31764.js → left-nav-menu-7d664773.js} +2 -2
  10. package/dist/{left-nav-menu-category-heading-bad5c9a4.js → left-nav-menu-category-heading-3fda0fd5.js} +2 -2
  11. package/dist/{left-nav-menu-category-heading-d40df38d.js → left-nav-menu-category-heading-df0252db.js} +2 -2
  12. package/dist/{left-nav-menu-item-1c789f3b.js → left-nav-menu-item-b217b8fd.js} +2 -2
  13. package/dist/{left-nav-menu-item-d8292202.js → left-nav-menu-item-caa0c565.js} +2 -2
  14. package/dist/{left-nav-menu-section-722a4f08.js → left-nav-menu-section-d00e6604.js} +2 -2
  15. package/dist/{left-nav-menu-section-ad075d07.js → left-nav-menu-section-dbde241d.js} +2 -2
  16. package/dist/{left-nav-overlay-c4bce0ba.js → left-nav-overlay-cd84d0bc.js} +2 -2
  17. package/dist/{left-nav-overlay-6931a643.js → left-nav-overlay-f5867fdc.js} +2 -2
  18. package/dist/{megamenu-category-group-b28f721d.js → megamenu-category-group-251cebcf.js} +2 -2
  19. package/dist/{megamenu-category-group-6a9005b2.js → megamenu-category-group-802948a9.js} +2 -2
  20. package/dist/{megamenu-category-group-copy-09e2b942.js → megamenu-category-group-copy-484e9b27.js} +2 -2
  21. package/dist/{megamenu-category-group-copy-a1712d7f.js → megamenu-category-group-copy-7efee05a.js} +2 -2
  22. package/dist/{megamenu-category-heading-b5cf4e2d.js → megamenu-category-heading-2190977a.js} +2 -2
  23. package/dist/{megamenu-category-heading-d1c1fa95.js → megamenu-category-heading-315eb114.js} +2 -2
  24. package/dist/{megamenu-category-link-aeb6f7d6.js → megamenu-category-link-3d42179f.js} +2 -2
  25. package/dist/{megamenu-category-link-2c38f1b8.js → megamenu-category-link-84c22ab0.js} +2 -2
  26. package/dist/{megamenu-category-link-group-492f73c5.js → megamenu-category-link-group-3cdb6bfc.js} +2 -2
  27. package/dist/{megamenu-category-link-group-c7ade8c5.js → megamenu-category-link-group-94e4b16c.js} +2 -2
  28. package/dist/{megamenu-left-navigation-328b8153.js → megamenu-left-navigation-b5b03849.js} +2 -2
  29. package/dist/{megamenu-left-navigation-015a1a3e.js → megamenu-left-navigation-ee2dc6e8.js} +2 -2
  30. package/dist/{megamenu-overlay-763b7455.js → megamenu-overlay-646b736f.js} +2 -2
  31. package/dist/{megamenu-overlay-a9dcb9ea.js → megamenu-overlay-6a12d82a.js} +2 -2
  32. package/dist/{megamenu-tab-9623c21c.js → megamenu-tab-5490376a.js} +2 -2
  33. package/dist/{megamenu-tab-faaeff5a.js → megamenu-tab-99df887a.js} +2 -2
  34. package/es/components/back-to-top/__stories__/back-to-top.stories.css.js +1 -1
  35. package/es/components/card-group/card-group.css.js +1 -1
  36. package/es/components/card-section-offset/card-section-offset.css.js +1 -1
  37. package/es/components/card-section-simple/card-section-simple.css.js +1 -1
  38. package/es/components/content-block/content-block.css.js +1 -1
  39. package/es/components/content-block-cards/content-block-cards.css.js +1 -1
  40. package/es/components/content-block-media/content-block-media.css.js +1 -1
  41. package/es/components/content-section/content-section.css.js +1 -1
  42. package/es/components/cta-block/cta-block.css.js +1 -1
  43. package/es/components/cta-section/cta-section.css.js +1 -1
  44. package/es/components/dotcom-shell/dotcom-shell.css.js +1 -1
  45. package/es/components/footer/footer-composite.d.ts +10 -10
  46. package/es/components/footer/footer-composite.js +78 -53
  47. package/es/components/footer/footer-composite.js.map +1 -1
  48. package/es/components/footer/footer-container.d.ts +4 -3
  49. package/es/components/footer/footer-container.js +8 -5
  50. package/es/components/footer/footer-container.js.map +1 -1
  51. package/es/components/footer/footer.css.js +1 -1
  52. package/es/components/global-banner/global-banner.css.js +1 -1
  53. package/es/components/leadspace/leadspace.css.js +1 -1
  54. package/es/components/leadspace-with-search/leadspace-with-search.css.js +1 -1
  55. package/es/components/link-list-section/link-list-section.css.js +1 -1
  56. package/es/components/locale-modal/locale-modal.css.js +1 -1
  57. package/es/components/masthead/masthead-cart.d.ts +1 -0
  58. package/es/components/masthead/masthead-cart.js +23 -5
  59. package/es/components/masthead/masthead-cart.js.map +1 -1
  60. package/es/components/masthead/masthead-l1.css.js +1 -1
  61. package/es/components/masthead/masthead.css.js +1 -1
  62. package/es/components/table-of-contents/table-of-contents-cdn.css.js +1 -1
  63. package/es/components/table-of-contents/table-of-contents.css.js +1 -1
  64. package/es/components/table-of-contents/table-of-contents.d.ts +1 -1
  65. package/es/components/table-of-contents/table-of-contents.js +15 -2
  66. package/es/components/table-of-contents/table-of-contents.js.map +1 -1
  67. package/es/components/video-player-v7/defs.d.ts +42 -0
  68. package/es/components/video-player-v7/defs.js +46 -0
  69. package/es/components/video-player-v7/defs.js.map +1 -0
  70. package/es/components/video-player-v7/index.d.ts +11 -0
  71. package/es/components/video-player-v7/index.js +18 -0
  72. package/es/components/video-player-v7/index.js.map +1 -0
  73. package/es/components/video-player-v7/video-player-composite.d.ts +873 -0
  74. package/es/components/video-player-v7/video-player-composite.js +705 -0
  75. package/es/components/video-player-v7/video-player-composite.js.map +1 -0
  76. package/es/components/video-player-v7/video-player-container.d.ts +1219 -0
  77. package/es/components/video-player-v7/video-player-container.js +392 -0
  78. package/es/components/video-player-v7/video-player-container.js.map +1 -0
  79. package/es/components/video-player-v7/video-player.css.js +12 -0
  80. package/es/components/video-player-v7/video-player.d.ts +807 -0
  81. package/es/components/video-player-v7/video-player.js +577 -0
  82. package/es/components/video-player-v7/video-player.js.map +1 -0
  83. package/es/components-react/footer/footer-container.d.ts +1 -1
  84. package/es/components-react/video-player-v7/defs.js +9 -0
  85. package/es/components-react/video-player-v7/video-player-composite.d.ts +32 -0
  86. package/es/components-react/video-player-v7/video-player-container.d.ts +19 -0
  87. package/es/components-react/video-player-v7/video-player.d.ts +37 -0
  88. package/es/globals/scss/themes.css.js +1 -1
  89. package/es/internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayerV7/KalturaPlayer.js +366 -0
  90. package/es/internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayerV7/index.js +8 -0
  91. package/es/internal/vendor/@carbon/ibmdotcom-services-store/actions/kalturaPlayerAPIv7.d.ts +54 -0
  92. package/es/internal/vendor/@carbon/ibmdotcom-services-store/actions/kalturaPlayerAPIv7.js +88 -0
  93. package/es/internal/vendor/@carbon/ibmdotcom-services-store/actions/kalturaPlayerAPIv7.js.map +1 -0
  94. package/es/internal/vendor/@carbon/ibmdotcom-services-store/reducers/kalturaPlayerAPIv7.d.ts +18 -0
  95. package/es/internal/vendor/@carbon/ibmdotcom-services-store/reducers/kalturaPlayerAPIv7.js +88 -0
  96. package/es/internal/vendor/@carbon/ibmdotcom-services-store/reducers/kalturaPlayerAPIv7.js.map +1 -0
  97. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPIv7.d.ts +77 -0
  98. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPIv7.js +36 -0
  99. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPIv7.js.map +1 -0
  100. package/lib/components/video-player-v7/defs.js +50 -0
  101. package/lib/components/video-player-v7/defs.js.map +1 -0
  102. package/lib/components-react-node/video-player-v7/defs.js +24 -0
  103. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayerV7/KalturaPlayer.js +371 -0
  104. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayerV7/index.js +13 -0
  105. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/actions/kalturaPlayerAPIv7.js +104 -0
  106. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/actions/kalturaPlayerAPIv7.js.map +1 -0
  107. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/reducers/kalturaPlayerAPIv7.js +94 -0
  108. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/reducers/kalturaPlayerAPIv7.js.map +1 -0
  109. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPIv7.js +39 -0
  110. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPIv7.js.map +1 -0
  111. package/package.json +7 -7
  112. package/scss/components/video-player-v7/video-player.scss +8 -0
@@ -11511,22 +11511,18 @@
11511
11511
  "type": "string | undefined"
11512
11512
  },
11513
11513
  {
11514
- "name": "legalLinks",
11515
- "description": "The legal nav links.",
11516
- "type": "BasicLink[]",
11517
- "default": "[]"
11514
+ "name": "links",
11515
+ "type": "BasicLinkSet[] | undefined"
11518
11516
  },
11519
11517
  {
11520
- "name": "adjunctLinks",
11518
+ "name": "legalLinks",
11521
11519
  "description": "The adjunct links.",
11522
- "type": "BasicLink[]",
11523
- "default": "[]"
11520
+ "type": "BasicLink[] | undefined"
11524
11521
  },
11525
11522
  {
11526
- "name": "links",
11523
+ "name": "adjunctLinks",
11527
11524
  "description": "The footer links.",
11528
- "type": "BasicLinkSet[]",
11529
- "default": "[]"
11525
+ "type": "BasicLink[] | undefined"
11530
11526
  },
11531
11527
  {
11532
11528
  "name": "localeList",
@@ -11555,7 +11551,7 @@
11555
11551
  {
11556
11552
  "name": "c4d-footer-container",
11557
11553
  "path": "./src/components/footer/footer-container.ts",
11558
- "description": "Container component for masthead.",
11554
+ "description": "Container component for footer.",
11559
11555
  "attributes": [
11560
11556
  {
11561
11557
  "name": "buttonLabel",
@@ -11670,22 +11666,18 @@
11670
11666
  "type": "string | undefined"
11671
11667
  },
11672
11668
  {
11673
- "name": "legalLinks",
11674
- "description": "The legal nav links.",
11675
- "type": "BasicLink[]",
11676
- "default": "[]"
11669
+ "name": "links",
11670
+ "type": "BasicLinkSet[] | undefined"
11677
11671
  },
11678
11672
  {
11679
- "name": "adjunctLinks",
11673
+ "name": "legalLinks",
11680
11674
  "description": "The adjunct links.",
11681
- "type": "BasicLink[]",
11682
- "default": "[]"
11675
+ "type": "BasicLink[] | undefined"
11683
11676
  },
11684
11677
  {
11685
- "name": "links",
11678
+ "name": "adjunctLinks",
11686
11679
  "description": "The footer links.",
11687
- "type": "BasicLinkSet[]",
11688
- "default": "[]"
11680
+ "type": "BasicLink[] | undefined"
11689
11681
  },
11690
11682
  {
11691
11683
  "name": "localeList",
@@ -23821,6 +23813,687 @@
23821
23813
  }
23822
23814
  ]
23823
23815
  },
23816
+ {
23817
+ "name": "c4d-video-player-composite-v7",
23818
+ "path": "./src/components/video-player-v7/video-player-composite.ts",
23819
+ "description": "Component that renders video player from its metadata, etc.",
23820
+ "attributes": [
23821
+ {
23822
+ "name": "auto-play",
23823
+ "description": "`true` to autoplay the videos.",
23824
+ "type": "boolean",
23825
+ "default": "false"
23826
+ },
23827
+ {
23828
+ "name": "muted",
23829
+ "description": "`true` load videos with sound muted.",
23830
+ "type": "boolean",
23831
+ "default": "false"
23832
+ },
23833
+ {
23834
+ "name": "caption",
23835
+ "description": "Optional custom video caption.",
23836
+ "type": "\"\" | undefined"
23837
+ },
23838
+ {
23839
+ "name": "video-description",
23840
+ "description": "Custom video description. This property should only be set when `playing-mode=\"lightbox\"`.",
23841
+ "type": "string | undefined"
23842
+ },
23843
+ {
23844
+ "name": "hide-caption",
23845
+ "description": "`true` to hide the caption.",
23846
+ "type": "boolean",
23847
+ "default": "false"
23848
+ },
23849
+ {
23850
+ "name": "background-mode",
23851
+ "description": "`true` to autoplay, mute, and hide player UI.",
23852
+ "type": "boolean",
23853
+ "default": "false"
23854
+ },
23855
+ {
23856
+ "name": "intersection-mode",
23857
+ "description": "Triggers playback on intersection with the viewport / carousel.",
23858
+ "type": "boolean",
23859
+ "default": "false"
23860
+ },
23861
+ {
23862
+ "name": "button-position",
23863
+ "description": "The position of the toggle playback button.",
23864
+ "type": "BUTTON_POSITION",
23865
+ "default": "\"bottom-right\""
23866
+ },
23867
+ {
23868
+ "name": "video-id",
23869
+ "description": "The video ID.",
23870
+ "type": "string",
23871
+ "default": "\"\""
23872
+ },
23873
+ {
23874
+ "name": "aspect-ratio",
23875
+ "description": "The aspect ratio.",
23876
+ "type": "\"\" | undefined"
23877
+ },
23878
+ {
23879
+ "name": "isPlaying",
23880
+ "description": "The current playback state",
23881
+ "type": "boolean",
23882
+ "default": "false"
23883
+ },
23884
+ {
23885
+ "name": "playing-mode",
23886
+ "description": "The video player's mode showing Inline or Lightbox.",
23887
+ "type": "VIDEO_PLAYER_PLAYING_MODE",
23888
+ "default": "\"inline\""
23889
+ },
23890
+ {
23891
+ "name": "thumbnail",
23892
+ "description": "Optional custom video thumbnail",
23893
+ "type": "\"\" | undefined"
23894
+ },
23895
+ {
23896
+ "name": "video-thumbnail-width",
23897
+ "description": "The video thumbnail width.",
23898
+ "type": "number",
23899
+ "default": "3"
23900
+ },
23901
+ {
23902
+ "name": "isRTL",
23903
+ "description": "Determines if the direction is right-to-left",
23904
+ "type": "boolean",
23905
+ "default": "false"
23906
+ }
23907
+ ],
23908
+ "properties": [
23909
+ {
23910
+ "name": "autoPlay",
23911
+ "attribute": "auto-play",
23912
+ "description": "`true` to autoplay the videos.",
23913
+ "type": "boolean",
23914
+ "default": "false"
23915
+ },
23916
+ {
23917
+ "name": "muted",
23918
+ "attribute": "muted",
23919
+ "description": "`true` load videos with sound muted.",
23920
+ "type": "boolean",
23921
+ "default": "false"
23922
+ },
23923
+ {
23924
+ "name": "embeddedVideos",
23925
+ "description": "The embedded Kaltura player element (that has APIs), keyed by the video ID.",
23926
+ "type": "{ [videoId: string]: any; } | undefined"
23927
+ },
23928
+ {
23929
+ "name": "caption",
23930
+ "attribute": "caption",
23931
+ "description": "Optional custom video caption.",
23932
+ "type": "\"\" | undefined"
23933
+ },
23934
+ {
23935
+ "name": "customVideoDescription",
23936
+ "attribute": "video-description",
23937
+ "description": "Custom video description. This property should only be set when `playing-mode=\"lightbox\"`.",
23938
+ "type": "string | undefined"
23939
+ },
23940
+ {
23941
+ "name": "formatCaption",
23942
+ "description": "The formatter for the video caption, composed with the video name and the video duration.\nShould be changed upon the locale the UI is rendered with.",
23943
+ "type": "(({ duration, name, }: { duration?: string | undefined; name?: string | undefined; }) => string) | undefined"
23944
+ },
23945
+ {
23946
+ "name": "formatDuration",
23947
+ "description": "The formatter for the video duration.\nShould be changed upon the locale the UI is rendered with.",
23948
+ "type": "(({ duration }: { duration?: number | undefined; }) => string) | undefined"
23949
+ },
23950
+ {
23951
+ "name": "hideCaption",
23952
+ "attribute": "hide-caption",
23953
+ "description": "`true` to hide the caption.",
23954
+ "type": "boolean",
23955
+ "default": "false"
23956
+ },
23957
+ {
23958
+ "name": "backgroundMode",
23959
+ "attribute": "background-mode",
23960
+ "description": "`true` to autoplay, mute, and hide player UI.",
23961
+ "type": "boolean",
23962
+ "default": "false"
23963
+ },
23964
+ {
23965
+ "name": "intersectionMode",
23966
+ "attribute": "intersection-mode",
23967
+ "description": "Triggers playback on intersection with the viewport / carousel.",
23968
+ "type": "boolean",
23969
+ "default": "false"
23970
+ },
23971
+ {
23972
+ "name": "buttonPosition",
23973
+ "attribute": "button-position",
23974
+ "description": "The position of the toggle playback button.",
23975
+ "type": "BUTTON_POSITION",
23976
+ "default": "\"bottom-right\""
23977
+ },
23978
+ {
23979
+ "name": "playbackTriggered",
23980
+ "description": "Track when we have triggered initial playback.",
23981
+ "type": "boolean",
23982
+ "default": "false"
23983
+ },
23984
+ {
23985
+ "name": "mediaData",
23986
+ "description": "The video data, keyed by the video ID.",
23987
+ "type": "{ [videoId: string]: MediaData; } | undefined"
23988
+ },
23989
+ {
23990
+ "name": "videoId",
23991
+ "attribute": "video-id",
23992
+ "description": "The video ID.",
23993
+ "type": "string",
23994
+ "default": "\"\""
23995
+ },
23996
+ {
23997
+ "name": "aspectRatio",
23998
+ "attribute": "aspect-ratio",
23999
+ "description": "The aspect ratio.",
24000
+ "type": "\"\" | undefined"
24001
+ },
24002
+ {
24003
+ "name": "isPlaying",
24004
+ "attribute": "isPlaying",
24005
+ "description": "The current playback state",
24006
+ "type": "boolean",
24007
+ "default": "false"
24008
+ },
24009
+ {
24010
+ "name": "playingMode",
24011
+ "attribute": "playing-mode",
24012
+ "description": "The video player's mode showing Inline or Lightbox.",
24013
+ "type": "VIDEO_PLAYER_PLAYING_MODE",
24014
+ "default": "\"inline\""
24015
+ },
24016
+ {
24017
+ "name": "thumbnail",
24018
+ "attribute": "thumbnail",
24019
+ "description": "Optional custom video thumbnail",
24020
+ "type": "\"\" | undefined"
24021
+ },
24022
+ {
24023
+ "name": "videoThumbnailWidth",
24024
+ "attribute": "video-thumbnail-width",
24025
+ "description": "The video thumbnail width.",
24026
+ "type": "number",
24027
+ "default": "3"
24028
+ },
24029
+ {
24030
+ "name": "isRTL",
24031
+ "attribute": "isRTL",
24032
+ "description": "Determines if the direction is right-to-left",
24033
+ "type": "boolean",
24034
+ "default": "false"
24035
+ }
24036
+ ],
24037
+ "cssParts": [
24038
+ {
24039
+ "name": "video-player",
24040
+ "description": "The video player. Usage `c4d-video-player-composite-v7::part(video-player)`"
24041
+ }
24042
+ ]
24043
+ },
24044
+ {
24045
+ "name": "c4d-video-player-container-v7",
24046
+ "path": "./src/components/video-player-v7/video-player-container.ts",
24047
+ "description": "Container component for video player.",
24048
+ "attributes": [
24049
+ {
24050
+ "name": "auto-play",
24051
+ "description": "`true` to autoplay the videos.",
24052
+ "type": "boolean",
24053
+ "default": "false"
24054
+ },
24055
+ {
24056
+ "name": "muted",
24057
+ "description": "`true` load videos with sound muted.",
24058
+ "type": "boolean",
24059
+ "default": "false"
24060
+ },
24061
+ {
24062
+ "name": "caption",
24063
+ "description": "Optional custom video caption.",
24064
+ "type": "\"\" | undefined"
24065
+ },
24066
+ {
24067
+ "name": "video-description",
24068
+ "description": "Custom video description. This property should only be set when `playing-mode=\"lightbox\"`.",
24069
+ "type": "string | undefined"
24070
+ },
24071
+ {
24072
+ "name": "hide-caption",
24073
+ "description": "`true` to hide the caption.",
24074
+ "type": "boolean",
24075
+ "default": "false"
24076
+ },
24077
+ {
24078
+ "name": "background-mode",
24079
+ "description": "`true` to autoplay, mute, and hide player UI.",
24080
+ "type": "boolean",
24081
+ "default": "false"
24082
+ },
24083
+ {
24084
+ "name": "intersection-mode",
24085
+ "description": "Triggers playback on intersection with the viewport / carousel.",
24086
+ "type": "boolean",
24087
+ "default": "false"
24088
+ },
24089
+ {
24090
+ "name": "button-position",
24091
+ "description": "The position of the toggle playback button.",
24092
+ "type": "BUTTON_POSITION",
24093
+ "default": "\"bottom-right\""
24094
+ },
24095
+ {
24096
+ "name": "video-id",
24097
+ "description": "The video ID.",
24098
+ "type": "string",
24099
+ "default": "\"\""
24100
+ },
24101
+ {
24102
+ "name": "aspect-ratio",
24103
+ "description": "The aspect ratio.",
24104
+ "type": "\"\" | undefined"
24105
+ },
24106
+ {
24107
+ "name": "isPlaying",
24108
+ "description": "The current playback state",
24109
+ "type": "boolean",
24110
+ "default": "false"
24111
+ },
24112
+ {
24113
+ "name": "playing-mode",
24114
+ "description": "The video player's mode showing Inline or Lightbox.",
24115
+ "type": "VIDEO_PLAYER_PLAYING_MODE",
24116
+ "default": "\"inline\""
24117
+ },
24118
+ {
24119
+ "name": "thumbnail",
24120
+ "description": "Optional custom video thumbnail",
24121
+ "type": "\"\" | undefined"
24122
+ },
24123
+ {
24124
+ "name": "video-thumbnail-width",
24125
+ "description": "The video thumbnail width.",
24126
+ "type": "number",
24127
+ "default": "3"
24128
+ },
24129
+ {
24130
+ "name": "isRTL",
24131
+ "description": "Determines if the direction is right-to-left",
24132
+ "type": "boolean",
24133
+ "default": "false"
24134
+ }
24135
+ ],
24136
+ "properties": [
24137
+ {
24138
+ "name": "autoPlay",
24139
+ "attribute": "auto-play",
24140
+ "description": "`true` to autoplay the videos.",
24141
+ "type": "boolean",
24142
+ "default": "false"
24143
+ },
24144
+ {
24145
+ "name": "muted",
24146
+ "attribute": "muted",
24147
+ "description": "`true` load videos with sound muted.",
24148
+ "type": "boolean",
24149
+ "default": "false"
24150
+ },
24151
+ {
24152
+ "name": "caption",
24153
+ "attribute": "caption",
24154
+ "description": "Optional custom video caption.",
24155
+ "type": "\"\" | undefined"
24156
+ },
24157
+ {
24158
+ "name": "customVideoDescription",
24159
+ "attribute": "video-description",
24160
+ "description": "Custom video description. This property should only be set when `playing-mode=\"lightbox\"`.",
24161
+ "type": "string | undefined"
24162
+ },
24163
+ {
24164
+ "name": "formatCaption",
24165
+ "description": "The formatter for the video caption, composed with the video name and the video duration.\nShould be changed upon the locale the UI is rendered with.",
24166
+ "type": "(({ duration, name, }: { duration?: string | undefined; name?: string | undefined; }) => string) | undefined"
24167
+ },
24168
+ {
24169
+ "name": "formatDuration",
24170
+ "description": "The formatter for the video duration.\nShould be changed upon the locale the UI is rendered with.",
24171
+ "type": "(({ duration }: { duration?: number | undefined; }) => string) | undefined"
24172
+ },
24173
+ {
24174
+ "name": "hideCaption",
24175
+ "attribute": "hide-caption",
24176
+ "description": "`true` to hide the caption.",
24177
+ "type": "boolean",
24178
+ "default": "false"
24179
+ },
24180
+ {
24181
+ "name": "backgroundMode",
24182
+ "attribute": "background-mode",
24183
+ "description": "`true` to autoplay, mute, and hide player UI.",
24184
+ "type": "boolean",
24185
+ "default": "false"
24186
+ },
24187
+ {
24188
+ "name": "intersectionMode",
24189
+ "attribute": "intersection-mode",
24190
+ "description": "Triggers playback on intersection with the viewport / carousel.",
24191
+ "type": "boolean",
24192
+ "default": "false"
24193
+ },
24194
+ {
24195
+ "name": "buttonPosition",
24196
+ "attribute": "button-position",
24197
+ "description": "The position of the toggle playback button.",
24198
+ "type": "BUTTON_POSITION",
24199
+ "default": "\"bottom-right\""
24200
+ },
24201
+ {
24202
+ "name": "playbackTriggered",
24203
+ "description": "Track when we have triggered initial playback.",
24204
+ "type": "boolean",
24205
+ "default": "false"
24206
+ },
24207
+ {
24208
+ "name": "mediaData",
24209
+ "description": "The video data, keyed by the video ID.",
24210
+ "type": "{ [videoId: string]: MediaData; } | undefined"
24211
+ },
24212
+ {
24213
+ "name": "videoId",
24214
+ "attribute": "video-id",
24215
+ "description": "The video ID.",
24216
+ "type": "string",
24217
+ "default": "\"\""
24218
+ },
24219
+ {
24220
+ "name": "aspectRatio",
24221
+ "attribute": "aspect-ratio",
24222
+ "description": "The aspect ratio.",
24223
+ "type": "\"\" | undefined"
24224
+ },
24225
+ {
24226
+ "name": "isPlaying",
24227
+ "attribute": "isPlaying",
24228
+ "description": "The current playback state",
24229
+ "type": "boolean",
24230
+ "default": "false"
24231
+ },
24232
+ {
24233
+ "name": "playingMode",
24234
+ "attribute": "playing-mode",
24235
+ "description": "The video player's mode showing Inline or Lightbox.",
24236
+ "type": "VIDEO_PLAYER_PLAYING_MODE",
24237
+ "default": "\"inline\""
24238
+ },
24239
+ {
24240
+ "name": "thumbnail",
24241
+ "attribute": "thumbnail",
24242
+ "description": "Optional custom video thumbnail",
24243
+ "type": "\"\" | undefined"
24244
+ },
24245
+ {
24246
+ "name": "videoThumbnailWidth",
24247
+ "attribute": "video-thumbnail-width",
24248
+ "description": "The video thumbnail width.",
24249
+ "type": "number",
24250
+ "default": "3"
24251
+ },
24252
+ {
24253
+ "name": "isRTL",
24254
+ "attribute": "isRTL",
24255
+ "description": "Determines if the direction is right-to-left",
24256
+ "type": "boolean",
24257
+ "default": "false"
24258
+ }
24259
+ ],
24260
+ "cssParts": [
24261
+ {
24262
+ "name": "video-player",
24263
+ "description": "The video player. Usage `c4d-video-player-composite-v7::part(video-player)`"
24264
+ }
24265
+ ]
24266
+ },
24267
+ {
24268
+ "name": "c4d-video-player-v7",
24269
+ "path": "./src/components/video-player-v7/video-player.ts",
24270
+ "description": "Video player.",
24271
+ "attributes": [
24272
+ {
24273
+ "name": "playing-mode",
24274
+ "description": "The video player's mode showing Inline or Lightbox.",
24275
+ "type": "VIDEO_PLAYER_PLAYING_MODE",
24276
+ "default": "\"inline\""
24277
+ },
24278
+ {
24279
+ "name": "intersection-mode",
24280
+ "description": "Triggers playback on intersection with the viewport / carousel.",
24281
+ "type": "boolean",
24282
+ "default": "false"
24283
+ },
24284
+ {
24285
+ "name": "isPlaying",
24286
+ "description": "The current playback state, inherited from the parent.",
24287
+ "type": "boolean",
24288
+ "default": "false"
24289
+ },
24290
+ {
24291
+ "name": "button-position",
24292
+ "description": "The position of the toggle playback button.",
24293
+ "type": "BUTTON_POSITION",
24294
+ "default": "\"bottom-right\""
24295
+ },
24296
+ {
24297
+ "name": "content-state",
24298
+ "description": "The video player's content state.",
24299
+ "type": "VIDEO_PLAYER_CONTENT_STATE",
24300
+ "default": "\"thumbnail\""
24301
+ },
24302
+ {
24303
+ "name": "duration",
24304
+ "description": "The video duration.",
24305
+ "type": "number | undefined"
24306
+ },
24307
+ {
24308
+ "name": "hide-caption",
24309
+ "description": "`true` to hide the caption.",
24310
+ "type": "boolean",
24311
+ "default": "false"
24312
+ },
24313
+ {
24314
+ "name": "name",
24315
+ "description": "The video name.",
24316
+ "type": "string",
24317
+ "default": "\"\""
24318
+ },
24319
+ {
24320
+ "name": "background-mode",
24321
+ "description": "`true` to autoplay, mute video, and hide UI",
24322
+ "type": "boolean",
24323
+ "default": "false"
24324
+ },
24325
+ {
24326
+ "name": "auto-play",
24327
+ "description": "`true` to autoplay",
24328
+ "type": "boolean",
24329
+ "default": "false"
24330
+ },
24331
+ {
24332
+ "name": "video-description",
24333
+ "description": "Custom video description. This property should only be set when using `playing-mode=\"lightbox\"`",
24334
+ "type": "string | undefined"
24335
+ },
24336
+ {
24337
+ "name": "thumbnail-url",
24338
+ "description": "The thumbnail URL.",
24339
+ "type": "string",
24340
+ "default": "\"\""
24341
+ },
24342
+ {
24343
+ "name": "video-id",
24344
+ "description": "The video ID.",
24345
+ "type": "string | undefined"
24346
+ },
24347
+ {
24348
+ "name": "aspect-ratio",
24349
+ "description": "Override default aspect ratio of `16x9`.\nAvailable aspect ratios:\n\n`16x9`, `9x16`, `2x1`, `1x2`, `4x3`, `3x4`, `1x1`",
24350
+ "type": "string | undefined"
24351
+ }
24352
+ ],
24353
+ "properties": [
24354
+ {
24355
+ "name": "playingMode",
24356
+ "attribute": "playing-mode",
24357
+ "description": "The video player's mode showing Inline or Lightbox.",
24358
+ "type": "VIDEO_PLAYER_PLAYING_MODE",
24359
+ "default": "\"inline\""
24360
+ },
24361
+ {
24362
+ "name": "intersectionMode",
24363
+ "attribute": "intersection-mode",
24364
+ "description": "Triggers playback on intersection with the viewport / carousel.",
24365
+ "type": "boolean",
24366
+ "default": "false"
24367
+ },
24368
+ {
24369
+ "name": "isPlaying",
24370
+ "attribute": "isPlaying",
24371
+ "description": "The current playback state, inherited from the parent.",
24372
+ "type": "boolean",
24373
+ "default": "false"
24374
+ },
24375
+ {
24376
+ "name": "buttonPosition",
24377
+ "attribute": "button-position",
24378
+ "description": "The position of the toggle playback button.",
24379
+ "type": "BUTTON_POSITION",
24380
+ "default": "\"bottom-right\""
24381
+ },
24382
+ {
24383
+ "name": "contentState",
24384
+ "attribute": "content-state",
24385
+ "description": "The video player's content state.",
24386
+ "type": "VIDEO_PLAYER_CONTENT_STATE",
24387
+ "default": "\"thumbnail\""
24388
+ },
24389
+ {
24390
+ "name": "duration",
24391
+ "attribute": "duration",
24392
+ "description": "The video duration.",
24393
+ "type": "number | undefined"
24394
+ },
24395
+ {
24396
+ "name": "formatCaption",
24397
+ "description": "The formatter for the video caption, composed with the video name and the video duration.\nShould be changed upon the locale the UI is rendered with.",
24398
+ "type": "(...args: any[]) => string",
24399
+ "default": "\"formatVideoCaption\""
24400
+ },
24401
+ {
24402
+ "name": "formatDuration",
24403
+ "description": "The formatter for the video duration.\nShould be changed upon the locale the UI is rendered with.",
24404
+ "type": "(...args: any[]) => string",
24405
+ "default": "\"formatVideoDuration\""
24406
+ },
24407
+ {
24408
+ "name": "hideCaption",
24409
+ "attribute": "hide-caption",
24410
+ "description": "`true` to hide the caption.",
24411
+ "type": "boolean",
24412
+ "default": "false"
24413
+ },
24414
+ {
24415
+ "name": "name",
24416
+ "attribute": "name",
24417
+ "description": "The video name.",
24418
+ "type": "string",
24419
+ "default": "\"\""
24420
+ },
24421
+ {
24422
+ "name": "backgroundMode",
24423
+ "attribute": "background-mode",
24424
+ "description": "`true` to autoplay, mute video, and hide UI",
24425
+ "type": "boolean",
24426
+ "default": "false"
24427
+ },
24428
+ {
24429
+ "name": "autoplay",
24430
+ "attribute": "auto-play",
24431
+ "description": "`true` to autoplay",
24432
+ "type": "boolean",
24433
+ "default": "false"
24434
+ },
24435
+ {
24436
+ "name": "customVideoDescription",
24437
+ "attribute": "video-description",
24438
+ "description": "Custom video description. This property should only be set when using `playing-mode=\"lightbox\"`",
24439
+ "type": "string | undefined"
24440
+ },
24441
+ {
24442
+ "name": "thumbnailUrl",
24443
+ "attribute": "thumbnail-url",
24444
+ "description": "The thumbnail URL.",
24445
+ "type": "string",
24446
+ "default": "\"\""
24447
+ },
24448
+ {
24449
+ "name": "videoId",
24450
+ "attribute": "video-id",
24451
+ "description": "The video ID.",
24452
+ "type": "string | undefined"
24453
+ },
24454
+ {
24455
+ "name": "aspectRatio",
24456
+ "attribute": "aspect-ratio",
24457
+ "description": "Override default aspect ratio of `16x9`.\nAvailable aspect ratios:\n\n`16x9`, `9x16`, `2x1`, `1x2`, `4x3`, `3x4`, `1x1`",
24458
+ "type": "string | undefined"
24459
+ },
24460
+ {
24461
+ "name": "shadowRootOptions",
24462
+ "type": "{ delegatesFocus: boolean; mode: ShadowRootMode; }",
24463
+ "default": "{\"delegatesFocus\":true}"
24464
+ },
24465
+ {
24466
+ "name": "styles",
24467
+ "default": "\"styles\""
24468
+ }
24469
+ ],
24470
+ "cssParts": [
24471
+ {
24472
+ "name": "video",
24473
+ "description": "The video. Usage `c4d-video-player::part(video)`"
24474
+ },
24475
+ {
24476
+ "name": "button",
24477
+ "description": "The play button. Usage `c4d-video-player::part(button)`"
24478
+ },
24479
+ {
24480
+ "name": "image",
24481
+ "description": "The thumbnail image. Usage `c4d-video-player::part(image)`"
24482
+ },
24483
+ {
24484
+ "name": "play-video",
24485
+ "description": "The play video icon. Usage `c4d-video-player::part(play-video)`"
24486
+ },
24487
+ {
24488
+ "name": "video-container",
24489
+ "description": "The video container. Usage `c4d-video-player::part(video-container)`"
24490
+ },
24491
+ {
24492
+ "name": "caption",
24493
+ "description": "The caption. Usage `c4d-video-player::part(caption)`"
24494
+ }
24495
+ ]
24496
+ },
23824
24497
  {
23825
24498
  "name": "c4d-video-player-composite",
23826
24499
  "path": "./src/components/video-player/video-player-composite.ts",