@arc-ui/community-components 3.3.0 → 3.4.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 (104) hide show
  1. package/.turbo/turbo-build.log +132 -12
  2. package/CHANGELOG.md +12 -0
  3. package/lib/Accordion/Accordion.mjs +1 -1
  4. package/lib/ActionTile/ActionTile.mjs +9 -9
  5. package/lib/ArticleSidebar/ArticleSidebar.mjs +44 -44
  6. package/lib/Author/Author.mjs +1 -1
  7. package/lib/BannerWithTabs/BannerWithTabs.mjs +6 -6
  8. package/lib/ContentInfoWidget/ContentInfoWidget.mjs +6 -6
  9. package/lib/CopyLead/CopyLead.cjs +18 -8
  10. package/lib/CopyLead/CopyLead.mjs +59 -49
  11. package/lib/DownloadList/DownloadList.mjs +9 -9
  12. package/lib/FAQs/FAQs.mjs +21 -21
  13. package/lib/FeaturePost/FeaturePost.cjs +1 -1
  14. package/lib/FeaturePost/FeaturePost.mjs +53 -53
  15. package/lib/Highlights/Highlights.mjs +19 -19
  16. package/lib/InlineLinkGroup/InlineLinkGroup.mjs +10 -10
  17. package/lib/LinkTile/LinkTile.mjs +5 -5
  18. package/lib/ProductNavigation/ProductNavigation.cjs +1 -1
  19. package/lib/ProductNavigation/ProductNavigation.mjs +17 -17
  20. package/lib/PromoListing/PromoListing.cjs +1 -1
  21. package/lib/PromoListing/PromoListing.mjs +15 -15
  22. package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +2 -2
  23. package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +8 -8
  24. package/lib/Quote/Quote.mjs +8 -8
  25. package/lib/SectionHeading/SectionHeading.mjs +1 -1
  26. package/lib/Statistics/Statistics.mjs +31 -31
  27. package/lib/Summary/Summary.cjs +1 -1
  28. package/lib/Summary/Summary.mjs +11 -11
  29. package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +1 -1
  30. package/lib/VideoHeroCard/VideoHeroCard.cjs +76 -0
  31. package/lib/VideoHeroCard/VideoHeroCard.mjs +74 -0
  32. package/lib/VideoPortraitCard/VideoPortraitCard.cjs +22 -0
  33. package/lib/VideoPortraitCard/VideoPortraitCard.mjs +20 -0
  34. package/lib/_shared/cjs/Preview-Dx1kCzJ1.cjs +102 -0
  35. package/lib/_shared/cjs/VideoCardThumbnail-BqYgpk0u.cjs +440 -0
  36. package/lib/_shared/cjs/dash.all.min-BPXzla24.cjs +6 -0
  37. package/lib/_shared/cjs/hls-Ckhp5fVA.cjs +36628 -0
  38. package/lib/_shared/cjs/index-DjiIVIaV.cjs +96 -0
  39. package/lib/_shared/cjs/index-oGP6D6gL.cjs +14826 -0
  40. package/lib/_shared/cjs/{index.es-Dq8bYrbW.cjs → index.es-B0J3cvrY.cjs} +1 -1
  41. package/lib/_shared/cjs/mixin-BFwaXKGB.cjs +1027 -0
  42. package/lib/_shared/cjs/react-CEvhi3LL.cjs +737 -0
  43. package/lib/_shared/cjs/react-CqsEClV0.cjs +466 -0
  44. package/lib/_shared/cjs/react-DE6M3seI.cjs +496 -0
  45. package/lib/_shared/cjs/react-Dri2yjKm.cjs +554 -0
  46. package/lib/_shared/cjs/react-DxToimBj.cjs +4239 -0
  47. package/lib/_shared/cjs/react-JTfV8OSA.cjs +325 -0
  48. package/lib/_shared/cjs/react-caXJFZ8W.cjs +400 -0
  49. package/lib/_shared/cjs/react-fep2ei7j.cjs +727 -0
  50. package/lib/_shared/esm/{Accordion-DrOTh90S.mjs → Accordion-DtU7jbCv.mjs} +15 -15
  51. package/lib/_shared/esm/Author-CJQFrQM9.mjs +27 -0
  52. package/lib/_shared/esm/Preview-CmbKOgEO.mjs +100 -0
  53. package/lib/_shared/esm/{SectionHeading-DZOg_gYi.mjs → SectionHeading-BskdQ2Tt.mjs} +9 -9
  54. package/lib/_shared/esm/{ThumbnailSignpost-DaZByYIH.mjs → ThumbnailSignpost-CBSdQiHw.mjs} +12 -12
  55. package/lib/_shared/esm/VideoCardThumbnail-VfOKmPCv.mjs +437 -0
  56. package/lib/_shared/esm/dash.all.min-CbWI_8dN.mjs +4 -0
  57. package/lib/_shared/esm/hls-AFbJDS9D.mjs +36625 -0
  58. package/lib/_shared/esm/index-CrcIrdjn.mjs +14799 -0
  59. package/lib/_shared/esm/index-DYnuIO1L.mjs +94 -0
  60. package/lib/_shared/esm/{index.es-Bfdys5__.mjs → index.es-DraZ-qKh.mjs} +1 -1
  61. package/lib/_shared/esm/mixin-BGGG8VrM.mjs +1024 -0
  62. package/lib/_shared/esm/react-BGimq-TB.mjs +4237 -0
  63. package/lib/_shared/esm/react-BHT4t_eQ.mjs +494 -0
  64. package/lib/_shared/esm/react-BSd0sGcO.mjs +464 -0
  65. package/lib/_shared/esm/react-CSr43fZV.mjs +552 -0
  66. package/lib/_shared/esm/react-Ca6E7Fr-.mjs +398 -0
  67. package/lib/_shared/esm/react-DG070IvZ.mjs +725 -0
  68. package/lib/_shared/esm/react-DZyqy7W7.mjs +735 -0
  69. package/lib/_shared/esm/react-WW_9iHcl.mjs +323 -0
  70. package/lib/index.cjs +249 -123
  71. package/lib/index.cjs.map +1 -1
  72. package/lib/index.d.cts +55 -2
  73. package/lib/index.d.mts +55 -2
  74. package/lib/index.mjs +248 -124
  75. package/lib/index.mjs.map +1 -1
  76. package/lib/styles.css +1 -1
  77. package/package.json +17 -14
  78. package/rollup.config.js +1 -1
  79. package/src/components/CopyLead/components/MediaContent/MediaContent.tsx +7 -6
  80. package/src/components/CopyLead/templates/Content/Content.tsx +5 -3
  81. package/src/components/CopyLead/templates/Media/Media.tsx +5 -6
  82. package/src/components/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.tsx +2 -0
  83. package/src/components/VideoHeroCard/VideoHeroCard.tsx +63 -0
  84. package/src/components/VideoHeroCard/components/VideoHeroCardContent/VideoHeroCardContent.module.css +32 -0
  85. package/src/components/VideoHeroCard/components/VideoHeroCardContent/VideoHeroCardContent.tsx +97 -0
  86. package/src/components/VideoHeroCard/components/VideoHeroCardContent/index.ts +4 -0
  87. package/src/components/VideoHeroCard/index.ts +1 -0
  88. package/src/components/VideoPortraitCard/VideoPortraitCard.tsx +54 -0
  89. package/src/components/VideoPortraitCard/index.ts +4 -0
  90. package/src/components/index.ts +2 -0
  91. package/src/internal/MultiLineText/MultiLineText.tsx +25 -0
  92. package/src/internal/MultiLineText/index.ts +1 -0
  93. package/src/internal/VideoCardPlayer/VideoCardPlayer.module.css +54 -0
  94. package/src/internal/VideoCardPlayer/VideoCardPlayer.tsx +62 -0
  95. package/src/internal/VideoCardPlayer/components/VideoCardPlayIcon/VideoCardPlayIcon.module.css +41 -0
  96. package/src/internal/VideoCardPlayer/components/VideoCardPlayIcon/VideoCardPlayIcon.tsx +28 -0
  97. package/src/internal/VideoCardPlayer/components/VideoCardPlayIcon/index.ts +1 -0
  98. package/src/internal/VideoCardPlayer/components/VideoCardThumbnail/VideoCardThumbnail.module.css +58 -0
  99. package/src/internal/VideoCardPlayer/components/VideoCardThumbnail/VideoCardThumbnail.tsx +38 -0
  100. package/src/internal/VideoCardPlayer/components/VideoCardThumbnail/index.ts +1 -0
  101. package/src/internal/VideoCardPlayer/index.ts +2 -0
  102. package/src/internal/VideoCardPlayer/types/player-props.ts +6 -0
  103. package/versions.json +1 -1
  104. package/lib/_shared/esm/Author-BVCRPgkl.mjs +0 -27
@@ -1,9 +1,9 @@
1
1
  import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
- import React, { useState, useRef, useEffect } from 'react';
2
+ import React__default, { useState, useRef, useEffect } from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
4
4
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
5
- import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-Bfdys5__.mjs';
6
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
5
+ import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-DraZ-qKh.mjs';
6
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-BskdQ2Tt.mjs';
7
7
  import { ButtonV2 } from '@arc-ui/components/ButtonV2';
8
8
  import { InformationCard } from '@arc-ui/components/InformationCard';
9
9
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
@@ -54,24 +54,24 @@ var ProductNavigation = function (_a) {
54
54
  }
55
55
  };
56
56
  var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsS, ")"));
57
- return (React.createElement("div", __assign({}, filterAttrs(props)),
58
- React.createElement(SectionHeading, { isPadded: true, id: id, "data-testid": "ProductNavigation-header", heading: heading, headingLevel: headingLevel, isHeadingWordWrap: isHeadingWordWrap, content: content, image: image }),
59
- React.createElement("ul", { className: classNames(styles["product-navigation-grid"]) }, displayList === null || displayList === void 0 ? void 0 : displayList.map(function (cardProps, i) {
57
+ return (React__default.createElement("div", __assign({}, filterAttrs(props)),
58
+ React__default.createElement(SectionHeading, { isPadded: true, id: id, "data-testid": "ProductNavigation-header", heading: heading, headingLevel: headingLevel, isHeadingWordWrap: isHeadingWordWrap, content: content, image: image }),
59
+ React__default.createElement("ul", { className: classNames(styles["product-navigation-grid"]) }, displayList === null || displayList === void 0 ? void 0 : displayList.map(function (cardProps, i) {
60
60
  var _a;
61
- return (React.createElement("li", { key: "displayList-".concat(i), tabIndex: -1, ref: i === skipLinkCard ? cardRef : undefined, "data-cy": "list-item-".concat(i) },
62
- React.createElement(InformationCard, __assign({}, cardProps, { minHeight: minHeight !== null && minHeight !== void 0 ? minHeight : cardProps.minHeight, headingLevel: (_a = cardProps.headingLevel) !== null && _a !== void 0 ? _a : "2" }))));
61
+ return (React__default.createElement("li", { key: "displayList-".concat(i), tabIndex: -1, ref: i === skipLinkCard ? cardRef : undefined, "data-cy": "list-item-".concat(i) },
62
+ React__default.createElement(InformationCard, __assign({}, cardProps, { minHeight: minHeight !== null && minHeight !== void 0 ? minHeight : cardProps.minHeight, headingLevel: (_a = cardProps.headingLevel) !== null && _a !== void 0 ? _a : "2" }))));
63
63
  })),
64
- React.createElement(VerticalSpace, { size: "40" }),
65
- React.createElement("div", { style: { display: "flex" } },
66
- !hideButton && !hideLessButton && (React.createElement(ButtonV2, { label: displayList.length < productList.length
64
+ React__default.createElement(VerticalSpace, { size: "40" }),
65
+ React__default.createElement("div", { style: { display: "flex" } },
66
+ !hideButton && !hideLessButton && (React__default.createElement(ButtonV2, { label: displayList.length < productList.length
67
67
  ? "Show more"
68
68
  : "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
69
- displayList.length > cardsToDisplay && (React.createElement(React.Fragment, null,
70
- React.createElement("div", { id: "skip-link", className: classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
71
- React.createElement(ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
72
- React.createElement(VisuallyHidden, null,
73
- React.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
74
- React.createElement("p", null,
69
+ displayList.length > cardsToDisplay && (React__default.createElement(React__default.Fragment, null,
70
+ React__default.createElement("div", { id: "skip-link", className: classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
71
+ React__default.createElement(ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
72
+ React__default.createElement(VisuallyHidden, null,
73
+ React__default.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
74
+ React__default.createElement("p", null,
75
75
  "Total products listed ",
76
76
  displayList.length,
77
77
  ". Total products hidden",
@@ -3,7 +3,7 @@
3
3
  var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
6
- var index_es = require('../_shared/cjs/index.es-Dq8bYrbW.cjs');
6
+ var index_es = require('../_shared/cjs/index.es-B0J3cvrY.cjs');
7
7
  var Carousel = require('@arc-ui/components/Carousel');
8
8
  var Heading = require('@arc-ui/components/Heading');
9
9
  var useMediaQuery = require('@arc-ui/components/use-media-query');
@@ -1,11 +1,11 @@
1
1
  import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
- import React, { useId } from 'react';
2
+ import React__default, { useId } from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
4
- import { a as ArcSizeBreakpointsL, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-Bfdys5__.mjs';
4
+ import { a as ArcSizeBreakpointsL, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DraZ-qKh.mjs';
5
5
  import { Carousel } from '@arc-ui/components/Carousel';
6
6
  import { Heading } from '@arc-ui/components/Heading';
7
7
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
8
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
8
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-BskdQ2Tt.mjs';
9
9
  import { MediaCard } from '@arc-ui/components/MediaCard';
10
10
  import { ImpactCard } from '@arc-ui/components/ImpactCard';
11
11
  import { InformationCard } from '@arc-ui/components/InformationCard';
@@ -52,19 +52,19 @@ var PromoListing = function (_a) {
52
52
  };
53
53
  var getCard = function (card) {
54
54
  var CardComponent = CARD_COMPONENTS[card.type];
55
- return React.createElement(CardComponent, __assign({}, card, commonProps));
55
+ return React__default.createElement(CardComponent, __assign({}, card, commonProps));
56
56
  };
57
- return (React.createElement("div", __assign({ className: styles.PromoListing }, filterAttrs(props)),
58
- overlineLabel && (React.createElement(React.Fragment, null,
59
- React.createElement(Heading, { level: overlineHeadingLevel, fontStyle: "overline" }, overlineLabel),
60
- React.createElement(VerticalSpace, { size: "12" }))),
61
- React.createElement(SectionHeading, { isPadded: true, id: id, "data-testid": "PromoListing-header", heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content }),
62
- button.label && (React.createElement(React.Fragment, null,
63
- React.createElement(ButtonV2, __assign({}, button, { icon: button.buttonStyle == "compact" ? BtIconArrowRightFill : undefined, size: "m" })),
64
- React.createElement(VerticalSpace, { size: "40" }))),
65
- isCarousel && !isMinWidthArcBreakpointL ? (React.createElement("div", { className: styles.promolistingCarouselWrapper },
66
- React.createElement(Carousel, { overflow: "visible", itemsPerSlide: 1, behavior: "adaptive", withGutter: false }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React.createElement("div", { key: "promolist-carousel-card-".concat(componentId, "-").concat(i), className: (styles.cardWrapperCarousel) }, getCard(card))); })))) : (React.createElement("ul", { className: classNames(styles.cardGrid, styles["columns-".concat(columns)]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index) { return (React.createElement("li", { key: "promolist-card--".concat(componentId, "-").concat(index) },
67
- React.createElement("div", { "data-testid": "promoList-card".concat(index), className: styles.cardWrapper }, getCard(card)))); })))));
57
+ return (React__default.createElement("div", __assign({ className: styles.PromoListing }, filterAttrs(props)),
58
+ overlineLabel && (React__default.createElement(React__default.Fragment, null,
59
+ React__default.createElement(Heading, { level: overlineHeadingLevel, fontStyle: "overline" }, overlineLabel),
60
+ React__default.createElement(VerticalSpace, { size: "12" }))),
61
+ React__default.createElement(SectionHeading, { isPadded: true, id: id, "data-testid": "PromoListing-header", heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content }),
62
+ button.label && (React__default.createElement(React__default.Fragment, null,
63
+ React__default.createElement(ButtonV2, __assign({}, button, { icon: button.buttonStyle == "compact" ? BtIconArrowRightFill : undefined, size: "m" })),
64
+ React__default.createElement(VerticalSpace, { size: "40" }))),
65
+ isCarousel && !isMinWidthArcBreakpointL ? (React__default.createElement("div", { className: styles.promolistingCarouselWrapper },
66
+ React__default.createElement(Carousel, { overflow: "visible", itemsPerSlide: 1, behavior: "adaptive", withGutter: false }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React__default.createElement("div", { key: "promolist-carousel-card-".concat(componentId, "-").concat(i), className: (styles.cardWrapperCarousel) }, getCard(card))); })))) : (React__default.createElement("ul", { className: classNames(styles.cardGrid, styles["columns-".concat(columns)]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index) { return (React__default.createElement("li", { key: "promolist-card--".concat(componentId, "-").concat(index) },
67
+ React__default.createElement("div", { "data-testid": "promoList-card".concat(index), className: styles.cardWrapper }, getCard(card)))); })))));
68
68
  };
69
69
 
70
70
  export { PromoListing };
@@ -17,9 +17,9 @@ var styles = {"PromoListingThumbnailSignpost":"PromoListingThumbnailSignpost-mod
17
17
  * Use `PromoListingThumbnailSignpost` to give supporting information about a page or proposition in the form of the ThumbnailSignposts components.
18
18
  */
19
19
  var PromoListingThumbnailSignpost = function (_a) {
20
- var _b = _a.isPadded, isPadded = _b === void 0 ? true : _b, heading = _a.heading, content = _a.content, headingLevel = _a.headingLevel, thumbnailList = _a.thumbnailList, props = filterAttrs.__rest(_a, ["isPadded", "heading", "content", "headingLevel", "thumbnailList"]);
20
+ var _b = _a.isPadded, isPadded = _b === void 0 ? true : _b, heading = _a.heading, content = _a.content, headingLevel = _a.headingLevel, thumbnailList = _a.thumbnailList, isHeadingWordWrap = _a.isHeadingWordWrap, props = filterAttrs.__rest(_a, ["isPadded", "heading", "content", "headingLevel", "thumbnailList", "isHeadingWordWrap"]);
21
21
  return (React.createElement("div", filterAttrs.__assign({ className: styles.PromoListingThumbnailSignpost }, filterAttrs.filterAttrs(props)),
22
- React.createElement(SectionHeading.SectionHeading, { isPadded: isPadded, "data-testid": "PromoListingThumbnailSignpost-header", heading: heading, headingLevel: headingLevel, content: content }),
22
+ React.createElement(SectionHeading.SectionHeading, { isPadded: isPadded, "data-testid": "PromoListingThumbnailSignpost-header", heading: heading, headingLevel: headingLevel, content: content, isHeadingWordWrap: isHeadingWordWrap }),
23
23
  React.createElement("ul", { className: styles.list }, thumbnailList.map(function (thumbnail, index) { return (React.createElement("li", { key: index },
24
24
  React.createElement(ThumbnailSignpost.ThumbnailSignpost, filterAttrs.__assign({}, thumbnail)))); }))));
25
25
  };
@@ -1,7 +1,7 @@
1
1
  import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
- import React from 'react';
3
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
4
- import { T as ThumbnailSignpost } from '../_shared/esm/ThumbnailSignpost-DaZByYIH.mjs';
2
+ import React__default from 'react';
3
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-BskdQ2Tt.mjs';
4
+ import { T as ThumbnailSignpost } from '../_shared/esm/ThumbnailSignpost-CBSdQiHw.mjs';
5
5
  import '../_shared/esm/index-BfTCfPZ1.mjs';
6
6
  import '@arc-ui/components/Text';
7
7
  import '@arc-ui/components/VerticalSpace';
@@ -15,11 +15,11 @@ var styles = {"PromoListingThumbnailSignpost":"PromoListingThumbnailSignpost-mod
15
15
  * Use `PromoListingThumbnailSignpost` to give supporting information about a page or proposition in the form of the ThumbnailSignposts components.
16
16
  */
17
17
  var PromoListingThumbnailSignpost = function (_a) {
18
- var _b = _a.isPadded, isPadded = _b === void 0 ? true : _b, heading = _a.heading, content = _a.content, headingLevel = _a.headingLevel, thumbnailList = _a.thumbnailList, props = __rest(_a, ["isPadded", "heading", "content", "headingLevel", "thumbnailList"]);
19
- return (React.createElement("div", __assign({ className: styles.PromoListingThumbnailSignpost }, filterAttrs(props)),
20
- React.createElement(SectionHeading, { isPadded: isPadded, "data-testid": "PromoListingThumbnailSignpost-header", heading: heading, headingLevel: headingLevel, content: content }),
21
- React.createElement("ul", { className: styles.list }, thumbnailList.map(function (thumbnail, index) { return (React.createElement("li", { key: index },
22
- React.createElement(ThumbnailSignpost, __assign({}, thumbnail)))); }))));
18
+ var _b = _a.isPadded, isPadded = _b === void 0 ? true : _b, heading = _a.heading, content = _a.content, headingLevel = _a.headingLevel, thumbnailList = _a.thumbnailList, isHeadingWordWrap = _a.isHeadingWordWrap, props = __rest(_a, ["isPadded", "heading", "content", "headingLevel", "thumbnailList", "isHeadingWordWrap"]);
19
+ return (React__default.createElement("div", __assign({ className: styles.PromoListingThumbnailSignpost }, filterAttrs(props)),
20
+ React__default.createElement(SectionHeading, { isPadded: isPadded, "data-testid": "PromoListingThumbnailSignpost-header", heading: heading, headingLevel: headingLevel, content: content, isHeadingWordWrap: isHeadingWordWrap }),
21
+ React__default.createElement("ul", { className: styles.list }, thumbnailList.map(function (thumbnail, index) { return (React__default.createElement("li", { key: index },
22
+ React__default.createElement(ThumbnailSignpost, __assign({}, thumbnail)))); }))));
23
23
  };
24
24
 
25
25
  export { PromoListingThumbnailSignpost };
@@ -1,7 +1,7 @@
1
1
  import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
- import React from 'react';
2
+ import React__default from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
4
- import { A as Author } from '../_shared/esm/Author-BVCRPgkl.mjs';
4
+ import { A as Author } from '../_shared/esm/Author-CJQFrQM9.mjs';
5
5
  import '@arc-ui/components/Grid';
6
6
  import '@arc-ui/components/Avatar';
7
7
  import '@arc-ui/components/Heading';
@@ -13,12 +13,12 @@ var styles = {"blockQuote":"Quote-module_blockQuote__STj-z","quoteContent":"Quot
13
13
  * Use `Quote` where a quote or testimonial from an existing customer or stakeholder would help build trust and credibility with potential new customers. It's commonly used on product pages where customers would learn about a product or service that we offer.*/
14
14
  var Quote = function (_a) {
15
15
  var author = _a.author, _b = _a.styling, styling = _b === void 0 ? "Default" : _b, content = _a.content, citeUrl = _a.citeUrl, props = __rest(_a, ["author", "styling", "content", "citeUrl"]);
16
- return (React.createElement("div", __assign({ className: "community-component--quote", "data-testid": "quote-test" }, filterAttrs(props)),
17
- React.createElement("blockquote", { "data-testid": "style-test", className: classNames(styles.blockQuote, styles["quote".concat(styling)]), cite: citeUrl },
18
- React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 100 77", className: styles.quoteIcon, "aria-hidden": "true" },
19
- React.createElement("path", { d: "M21.8085 76.4706C15.9574 76.4706 10.8156 74.2732 6.38298 69.8783C2.12766 65.4834 0 58.979 0 50.3651C0 40.5206 3.10284 31.1156 9.30851 22.1501C15.6915 13.1846 25.3546 5.80122 38.2979 0L44.1489 11.3387C37.4113 14.3272 31.7376 18.0189 27.1277 22.4138C22.5177 26.6329 19.6809 31.4672 18.617 36.9168C19.8582 36.741 21.0106 36.6531 22.0745 36.6531C27.7482 36.6531 32.4468 38.499 36.1702 42.1907C40.0709 45.8824 42.0213 50.7167 42.0213 56.6937C42.0213 62.4949 39.9823 67.2414 35.9043 70.9331C32.0035 74.6247 27.305 76.4706 21.8085 76.4706ZM77.6596 76.4706C71.8085 76.4706 66.6667 74.2732 62.234 69.8783C57.9787 65.4834 55.8511 58.979 55.8511 50.3651C55.8511 40.5206 58.9539 31.1156 65.1596 22.1501C71.5425 13.1846 81.2057 5.80122 94.1489 0L100 11.3387C93.2624 14.3272 87.5886 18.0189 82.9787 22.4138C78.3688 26.6329 75.5319 31.4672 74.4681 36.9168C75.7092 36.741 76.8617 36.6531 77.9255 36.6531C83.5993 36.6531 88.2979 38.499 92.0213 42.1907C95.922 45.8824 97.8723 50.7167 97.8723 56.6937C97.8723 62.4949 95.8333 67.2414 91.7553 70.9331C87.8546 74.6247 83.156 76.4706 77.6596 76.4706Z" })),
20
- React.createElement("p", { className: styles.quoteContent }, content)),
21
- author && React.createElement(Author, __assign({}, author))));
16
+ return (React__default.createElement("div", __assign({ className: "community-component--quote", "data-testid": "quote-test" }, filterAttrs(props)),
17
+ React__default.createElement("blockquote", { "data-testid": "style-test", className: classNames(styles.blockQuote, styles["quote".concat(styling)]), cite: citeUrl },
18
+ React__default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 100 77", className: styles.quoteIcon, "aria-hidden": "true" },
19
+ React__default.createElement("path", { d: "M21.8085 76.4706C15.9574 76.4706 10.8156 74.2732 6.38298 69.8783C2.12766 65.4834 0 58.979 0 50.3651C0 40.5206 3.10284 31.1156 9.30851 22.1501C15.6915 13.1846 25.3546 5.80122 38.2979 0L44.1489 11.3387C37.4113 14.3272 31.7376 18.0189 27.1277 22.4138C22.5177 26.6329 19.6809 31.4672 18.617 36.9168C19.8582 36.741 21.0106 36.6531 22.0745 36.6531C27.7482 36.6531 32.4468 38.499 36.1702 42.1907C40.0709 45.8824 42.0213 50.7167 42.0213 56.6937C42.0213 62.4949 39.9823 67.2414 35.9043 70.9331C32.0035 74.6247 27.305 76.4706 21.8085 76.4706ZM77.6596 76.4706C71.8085 76.4706 66.6667 74.2732 62.234 69.8783C57.9787 65.4834 55.8511 58.979 55.8511 50.3651C55.8511 40.5206 58.9539 31.1156 65.1596 22.1501C71.5425 13.1846 81.2057 5.80122 94.1489 0L100 11.3387C93.2624 14.3272 87.5886 18.0189 82.9787 22.4138C78.3688 26.6329 75.5319 31.4672 74.4681 36.9168C75.7092 36.741 76.8617 36.6531 77.9255 36.6531C83.5993 36.6531 88.2979 38.499 92.0213 42.1907C95.922 45.8824 97.8723 50.7167 97.8723 56.6937C97.8723 62.4949 95.8333 67.2414 91.7553 70.9331C87.8546 74.6247 83.156 76.4706 77.6596 76.4706Z" })),
20
+ React__default.createElement("p", { className: styles.quoteContent }, content)),
21
+ author && React__default.createElement(Author, __assign({}, author))));
22
22
  };
23
23
 
24
24
  export { Quote };
@@ -1,4 +1,4 @@
1
- export { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
1
+ export { S as SectionHeading } from '../_shared/esm/SectionHeading-BskdQ2Tt.mjs';
2
2
  import '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
3
3
  import 'react';
4
4
  import '../_shared/esm/index-BfTCfPZ1.mjs';
@@ -1,5 +1,5 @@
1
1
  import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
- import React, { useId } from 'react';
2
+ import React__default, { useId } from 'react';
3
3
  import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
4
4
  import { Rule } from '@arc-ui/components/Rule';
5
5
  import { Text } from '@arc-ui/components/Text';
@@ -7,7 +7,7 @@ import { Align } from '@arc-ui/components/Align';
7
7
  import { Heading } from '@arc-ui/components/Heading';
8
8
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
9
9
  import { Hidden } from '@arc-ui/components/Hidden';
10
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
10
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-BskdQ2Tt.mjs';
11
11
  import '../_shared/esm/index-BfTCfPZ1.mjs';
12
12
  import '@arc-ui/components/Image';
13
13
 
@@ -25,36 +25,36 @@ var getLinkProps = function (link) {
25
25
  var Statistics = function (_a) {
26
26
  var id = _a.id, isHeadingWordWrap = _a.isHeadingWordWrap, headingLevel = _a.headingLevel, heading = _a.heading, content = _a.content, statistics = _a.statistics, props = __rest(_a, ["id", "isHeadingWordWrap", "headingLevel", "heading", "content", "statistics"]);
27
27
  var componentId = useId();
28
- return (React.createElement(Columns, __assign({ isGutterless: true }, filterAttrs(props)),
29
- React.createElement(ColumnsCol, { spanM: 9 },
30
- React.createElement(SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
31
- React.createElement(ColumnsCol, { spanL: 9 },
32
- React.createElement("ul", { className: styles.list }, statistics.map(function (_a, i) {
28
+ return (React__default.createElement(Columns, __assign({ isGutterless: true }, filterAttrs(props)),
29
+ React__default.createElement(ColumnsCol, { spanM: 9 },
30
+ React__default.createElement(SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
31
+ React__default.createElement(ColumnsCol, { spanL: 9 },
32
+ React__default.createElement("ul", { className: styles.list }, statistics.map(function (_a, i) {
33
33
  var stat = _a.stat, copy = _a.copy, link = _a.link, source = _a.source, sourceUrl = _a.sourceUrl;
34
- return (React.createElement("li", { key: "statistic-".concat(componentId, "-").concat(i) },
35
- i !== 0 && (React.createElement(React.Fragment, null,
36
- React.createElement(VerticalSpace, { size: "24", sizeS: "32", sizeXL: "40" }),
37
- React.createElement(Rule, null),
38
- React.createElement(VerticalSpace, { size: "24", sizeS: "32", sizeXL: "40" }))),
39
- React.createElement(Columns, null,
40
- React.createElement(ColumnsCol, { spanS: 6, spanM: 8 },
41
- React.createElement(Align, { vertical: "center" },
42
- React.createElement("div", { className: styles.statWrapper },
43
- React.createElement(Heading, { color: "brand", size: "xxl" }, stat),
44
- React.createElement(Hidden, { s: true, m: true, l: true, xl: true, xxl: true },
45
- React.createElement(VerticalSpace, { size: "12" }))))),
46
- React.createElement(ColumnsCol, { spanS: 6, spanM: 4 },
47
- React.createElement(Align, { vertical: "center" },
48
- React.createElement(Text, null, copy),
49
- link && (React.createElement(React.Fragment, null,
50
- React.createElement(VerticalSpace, { size: "12" }),
51
- React.createElement("a", __assign({ href: link.href, "aria-label": link.ariaLabel }, getLinkProps(link)), link.text))),
52
- source && (React.createElement(React.Fragment, null,
53
- React.createElement(VerticalSpace, { size: "12" }),
54
- React.createElement(Text, { size: "xs" },
55
- React.createElement("span", { className: styles.mutedText }, source)))),
56
- sourceUrl && (React.createElement(Text, { size: "xs" },
57
- React.createElement("a", { className: styles.mutedText, href: sourceUrl }, sourceUrl))))))));
34
+ return (React__default.createElement("li", { key: "statistic-".concat(componentId, "-").concat(i) },
35
+ i !== 0 && (React__default.createElement(React__default.Fragment, null,
36
+ React__default.createElement(VerticalSpace, { size: "24", sizeS: "32", sizeXL: "40" }),
37
+ React__default.createElement(Rule, null),
38
+ React__default.createElement(VerticalSpace, { size: "24", sizeS: "32", sizeXL: "40" }))),
39
+ React__default.createElement(Columns, null,
40
+ React__default.createElement(ColumnsCol, { spanS: 6, spanM: 8 },
41
+ React__default.createElement(Align, { vertical: "center" },
42
+ React__default.createElement("div", { className: styles.statWrapper },
43
+ React__default.createElement(Heading, { color: "brand", size: "xxl" }, stat),
44
+ React__default.createElement(Hidden, { s: true, m: true, l: true, xl: true, xxl: true },
45
+ React__default.createElement(VerticalSpace, { size: "12" }))))),
46
+ React__default.createElement(ColumnsCol, { spanS: 6, spanM: 4 },
47
+ React__default.createElement(Align, { vertical: "center" },
48
+ React__default.createElement(Text, null, copy),
49
+ link && (React__default.createElement(React__default.Fragment, null,
50
+ React__default.createElement(VerticalSpace, { size: "12" }),
51
+ React__default.createElement("a", __assign({ href: link.href, "aria-label": link.ariaLabel }, getLinkProps(link)), link.text))),
52
+ source && (React__default.createElement(React__default.Fragment, null,
53
+ React__default.createElement(VerticalSpace, { size: "12" }),
54
+ React__default.createElement(Text, { size: "xs" },
55
+ React__default.createElement("span", { className: styles.mutedText }, source)))),
56
+ sourceUrl && (React__default.createElement(Text, { size: "xs" },
57
+ React__default.createElement("a", { className: styles.mutedText, href: sourceUrl }, sourceUrl))))))));
58
58
  })))));
59
59
  };
60
60
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
4
4
  var React = require('react');
5
- var index_es = require('../_shared/cjs/index.es-Dq8bYrbW.cjs');
5
+ var index_es = require('../_shared/cjs/index.es-B0J3cvrY.cjs');
6
6
  var Heading = require('@arc-ui/components/Heading');
7
7
  var Text = require('@arc-ui/components/Text');
8
8
  var Box = require('@arc-ui/components/Box');
@@ -1,6 +1,6 @@
1
1
  import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
- import React from 'react';
3
- import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-Bfdys5__.mjs';
2
+ import React__default from 'react';
3
+ import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DraZ-qKh.mjs';
4
4
  import { Heading } from '@arc-ui/components/Heading';
5
5
  import { Text } from '@arc-ui/components/Text';
6
6
  import { Box } from '@arc-ui/components/Box';
@@ -13,16 +13,16 @@ var styles = {"ruleContainer":"Summary-module_ruleContainer__ydWlG","row":"Summa
13
13
  var Summary = function (_a) {
14
14
  var content = _a.content, _b = _a.noBorder, noBorder = _b === void 0 ? false : _b, _c = _a.headingLevel, headingLevel = _c === void 0 ? "3" : _c, props = __rest(_a, ["content", "noBorder", "headingLevel"]);
15
15
  var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
16
- return (React.createElement(Box, __assign({ isBorderRadius: true }, (!noBorder ? { borderWidth: "thin" } : { elevationLevel: "1" }), { padding: "24" }, filterAttrs(props)),
17
- React.createElement("div", { className: styles.row }, content.map(function (_a, i) {
16
+ return (React__default.createElement(Box, __assign({ isBorderRadius: true }, (!noBorder ? { borderWidth: "thin" } : { elevationLevel: "1" }), { padding: "24" }, filterAttrs(props)),
17
+ React__default.createElement("div", { className: styles.row }, content.map(function (_a, i) {
18
18
  var heading = _a.heading, text = _a.text;
19
- return (React.createElement(React.Fragment, null,
20
- React.createElement("div", { className: styles.col },
21
- React.createElement(Heading, { size: "s", level: headingLevel }, heading),
22
- React.createElement(VerticalSpace, { size: "8" }),
23
- React.createElement(Text, { size: "s" }, text)),
24
- i !== content.length - 1 && (React.createElement("div", { className: styles.ruleContainer },
25
- React.createElement(Rule, { orientation: isMinWidthArcBreakpointM ? "vertical" : "horizontal" })))));
19
+ return (React__default.createElement(React__default.Fragment, null,
20
+ React__default.createElement("div", { className: styles.col },
21
+ React__default.createElement(Heading, { size: "s", level: headingLevel }, heading),
22
+ React__default.createElement(VerticalSpace, { size: "8" }),
23
+ React__default.createElement(Text, { size: "s" }, text)),
24
+ i !== content.length - 1 && (React__default.createElement("div", { className: styles.ruleContainer },
25
+ React__default.createElement(Rule, { orientation: isMinWidthArcBreakpointM ? "vertical" : "horizontal" })))));
26
26
  }))));
27
27
  };
28
28
 
@@ -1,4 +1,4 @@
1
- export { T as ThumbnailSignpost } from '../_shared/esm/ThumbnailSignpost-DaZByYIH.mjs';
1
+ export { T as ThumbnailSignpost } from '../_shared/esm/ThumbnailSignpost-CBSdQiHw.mjs';
2
2
  import '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
3
3
  import 'react';
4
4
  import '../_shared/esm/index-BfTCfPZ1.mjs';
@@ -0,0 +1,76 @@
1
+ 'use strict';
2
+
3
+ var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
4
+ var React = require('react');
5
+ var Visible = require('@arc-ui/components/Visible');
6
+ var Spacing = require('@arc-ui/components/Spacing');
7
+ var VideoCardThumbnail = require('../_shared/cjs/VideoCardThumbnail-BqYgpk0u.cjs');
8
+ var Heading = require('@arc-ui/components/Heading');
9
+ var Icon = require('@arc-ui/components/Icon');
10
+ var Text = require('@arc-ui/components/Text');
11
+ var VerticalSpace = require('@arc-ui/components/VerticalSpace');
12
+ var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
13
+
14
+ /**
15
+ * Do not edit directly
16
+ * Generated file
17
+ */
18
+
19
+ const BtIconCalendar =
20
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M27 7h-2V4.5a.5.5 0 0 0-1 0V7H8V4.5a.5.5 0 0 0-1 0V7H5a1.003 1.003 0 0 0-1 1v19a1.003 1.003 0 0 0 1 1h22a1.003 1.003 0 0 0 1-1V8a1.003 1.003 0 0 0-1-1M7 8v.5a.5.5 0 0 0 1 0V8h16v.5a.5.5 0 0 0 1 0V8h2v4H5V8ZM5 27V13h22v14Z'/%3e%3c/svg%3e";
21
+
22
+ /**
23
+ * Do not edit directly
24
+ * Generated file
25
+ */
26
+
27
+ const BtIconChatMessage =
28
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M16 7c7.168 0 13 4.037 13 9a7.79 7.79 0 0 1-3.59 6.184l-.41.3v4.511l-4.535-2.308-.316-.16-.346.073A18.3 18.3 0 0 1 16 25c-7.168 0-13-4.037-13-9s5.832-9 13-9m0-1C8.268 6 2 10.477 2 16s6.268 10 14 10a19.2 19.2 0 0 0 4.012-.422l4.613 2.348A.998.998 0 0 0 26 27v-4.007A8.79 8.79 0 0 0 30 16c0-5.523-6.268-10-14-10'/%3e%3cpath d='M23.5 12h-15a.5.5 0 0 1 0-1h15a.5.5 0 0 1 0 1M25.5 15h-19a.5.5 0 0 1 0-1h19a.5.5 0 0 1 0 1M25.5 18h-19a.5.5 0 0 1 0-1h19a.5.5 0 0 1 0 1M15.5 21h-7a.5.5 0 0 1 0-1h7a.5.5 0 0 1 0 1'/%3e%3c/svg%3e";
29
+
30
+ /**
31
+ * Do not edit directly
32
+ * Generated file
33
+ */
34
+
35
+ const BtIconClock =
36
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M16 29.984A13.984 13.984 0 1 1 29.984 16 14 14 0 0 1 16 29.984m0-26.968A12.984 12.984 0 1 0 28.984 16 13 13 0 0 0 16 3.016'/%3e%3cpath d='M21.594 15.511h-5.081V8.518a.5.5 0 0 0-1 0v7.993h6.08a.5.5 0 0 0 0-1'/%3e%3c/svg%3e";
37
+
38
+ var styles = {"mainText--lightBackground":"VideoHeroCardContent-module_mainText--lightBackground__nGl6W","statContainer--lightBackground":"VideoHeroCardContent-module_statContainer--lightBackground__7hXAf","statContainer--darkBackground":"VideoHeroCardContent-module_statContainer--darkBackground__X3-r2","mainText--darkBackground":"VideoHeroCardContent-module_mainText--darkBackground__Pfizt","statContainer":"VideoHeroCardContent-module_statContainer__q21g9","stat":"VideoHeroCardContent-module_stat__iIcoq"};
39
+
40
+ var VideoHeroCardContent = function (_a) {
41
+ var title = _a.title, label = _a.label, description = _a.description, videoDate = _a.videoDate, duration = _a.duration, background = _a.background, subtitleAvailabilityText = _a.subtitleAvailabilityText;
42
+ var id = React.useId();
43
+ var metaItems = [
44
+ { icon: BtIconCalendar, text: videoDate },
45
+ { icon: BtIconClock, text: duration },
46
+ {
47
+ icon: BtIconChatMessage,
48
+ text: subtitleAvailabilityText,
49
+ },
50
+ ];
51
+ var hasMeta = metaItems.some(function (meta) { return Boolean(meta.text); });
52
+ return (React.createElement("div", { className: styles["".concat(background, "Background")] },
53
+ React.createElement("div", { className: index.classNames(styles.mainText, styles["mainText--".concat(background, "Background")]) },
54
+ React.createElement(Heading.Heading, { fontStyle: "overline" }, label),
55
+ React.createElement(VerticalSpace.VerticalSpace, { size: "8", sizeM: "4" }),
56
+ React.createElement(Heading.Heading, { level: "3", isWordWrap: false, size: "xl" }, title),
57
+ React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
58
+ React.createElement(Text.Text, null, description)),
59
+ hasMeta && (React.createElement(React.Fragment, null,
60
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32", sizeS: "16" }),
61
+ React.createElement("div", { className: index.classNames(styles.statContainer, styles["statContainer--".concat(background, "Background")]) }, metaItems.map(function (meta, i) {
62
+ return meta.text && (React.createElement("div", { key: "".concat(id, "-stat-").concat(i), className: styles.stat },
63
+ React.createElement(Icon.Icon, { icon: meta.icon, size: 20 }),
64
+ React.createElement(Text.Text, { size: "xs" }, meta.text)));
65
+ }))))));
66
+ };
67
+
68
+ var VideoHeroCard = function (_a) {
69
+ var content = _a.content, thumbnailImg = _a.thumbnailImg, player = _a.player, props = filterAttrs.__rest(_a, ["content", "thumbnailImg", "player"]);
70
+ return (React.createElement(VideoCardThumbnail.VideoCardPlayer, filterAttrs.__assign({ thumbnail: React.createElement(VideoCardThumbnail.VideoCardThumbnail, { src: thumbnailImg, orientation: "landscape", contentVisibility: { l: true, xl: true, xxl: true } },
71
+ React.createElement(VideoHeroCardContent, filterAttrs.__assign({}, content, { background: "dark" }))), orientation: "landscape", playIconSize: "l", player: player }, props), content && (React.createElement(Visible.Visible, { xs: true, s: true, m: true },
72
+ React.createElement(Spacing.Spacing, { all: { xs: "16", s: "32" } },
73
+ React.createElement(VideoHeroCardContent, filterAttrs.__assign({}, content, { background: "light" })))))));
74
+ };
75
+
76
+ exports.VideoHeroCard = VideoHeroCard;
@@ -0,0 +1,74 @@
1
+ import { _ as __rest, a as __assign } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
+ import React__default, { useId } from 'react';
3
+ import { Visible } from '@arc-ui/components/Visible';
4
+ import { Spacing } from '@arc-ui/components/Spacing';
5
+ import { V as VideoCardPlayer, a as VideoCardThumbnail } from '../_shared/esm/VideoCardThumbnail-VfOKmPCv.mjs';
6
+ import { Heading } from '@arc-ui/components/Heading';
7
+ import { Icon } from '@arc-ui/components/Icon';
8
+ import { Text } from '@arc-ui/components/Text';
9
+ import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
10
+ import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
11
+
12
+ /**
13
+ * Do not edit directly
14
+ * Generated file
15
+ */
16
+
17
+ const BtIconCalendar =
18
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M27 7h-2V4.5a.5.5 0 0 0-1 0V7H8V4.5a.5.5 0 0 0-1 0V7H5a1.003 1.003 0 0 0-1 1v19a1.003 1.003 0 0 0 1 1h22a1.003 1.003 0 0 0 1-1V8a1.003 1.003 0 0 0-1-1M7 8v.5a.5.5 0 0 0 1 0V8h16v.5a.5.5 0 0 0 1 0V8h2v4H5V8ZM5 27V13h22v14Z'/%3e%3c/svg%3e";
19
+
20
+ /**
21
+ * Do not edit directly
22
+ * Generated file
23
+ */
24
+
25
+ const BtIconChatMessage =
26
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M16 7c7.168 0 13 4.037 13 9a7.79 7.79 0 0 1-3.59 6.184l-.41.3v4.511l-4.535-2.308-.316-.16-.346.073A18.3 18.3 0 0 1 16 25c-7.168 0-13-4.037-13-9s5.832-9 13-9m0-1C8.268 6 2 10.477 2 16s6.268 10 14 10a19.2 19.2 0 0 0 4.012-.422l4.613 2.348A.998.998 0 0 0 26 27v-4.007A8.79 8.79 0 0 0 30 16c0-5.523-6.268-10-14-10'/%3e%3cpath d='M23.5 12h-15a.5.5 0 0 1 0-1h15a.5.5 0 0 1 0 1M25.5 15h-19a.5.5 0 0 1 0-1h19a.5.5 0 0 1 0 1M25.5 18h-19a.5.5 0 0 1 0-1h19a.5.5 0 0 1 0 1M15.5 21h-7a.5.5 0 0 1 0-1h7a.5.5 0 0 1 0 1'/%3e%3c/svg%3e";
27
+
28
+ /**
29
+ * Do not edit directly
30
+ * Generated file
31
+ */
32
+
33
+ const BtIconClock =
34
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M16 29.984A13.984 13.984 0 1 1 29.984 16 14 14 0 0 1 16 29.984m0-26.968A12.984 12.984 0 1 0 28.984 16 13 13 0 0 0 16 3.016'/%3e%3cpath d='M21.594 15.511h-5.081V8.518a.5.5 0 0 0-1 0v7.993h6.08a.5.5 0 0 0 0-1'/%3e%3c/svg%3e";
35
+
36
+ var styles = {"mainText--lightBackground":"VideoHeroCardContent-module_mainText--lightBackground__nGl6W","statContainer--lightBackground":"VideoHeroCardContent-module_statContainer--lightBackground__7hXAf","statContainer--darkBackground":"VideoHeroCardContent-module_statContainer--darkBackground__X3-r2","mainText--darkBackground":"VideoHeroCardContent-module_mainText--darkBackground__Pfizt","statContainer":"VideoHeroCardContent-module_statContainer__q21g9","stat":"VideoHeroCardContent-module_stat__iIcoq"};
37
+
38
+ var VideoHeroCardContent = function (_a) {
39
+ var title = _a.title, label = _a.label, description = _a.description, videoDate = _a.videoDate, duration = _a.duration, background = _a.background, subtitleAvailabilityText = _a.subtitleAvailabilityText;
40
+ var id = useId();
41
+ var metaItems = [
42
+ { icon: BtIconCalendar, text: videoDate },
43
+ { icon: BtIconClock, text: duration },
44
+ {
45
+ icon: BtIconChatMessage,
46
+ text: subtitleAvailabilityText,
47
+ },
48
+ ];
49
+ var hasMeta = metaItems.some(function (meta) { return Boolean(meta.text); });
50
+ return (React__default.createElement("div", { className: styles["".concat(background, "Background")] },
51
+ React__default.createElement("div", { className: classNames(styles.mainText, styles["mainText--".concat(background, "Background")]) },
52
+ React__default.createElement(Heading, { fontStyle: "overline" }, label),
53
+ React__default.createElement(VerticalSpace, { size: "8", sizeM: "4" }),
54
+ React__default.createElement(Heading, { level: "3", isWordWrap: false, size: "xl" }, title),
55
+ React__default.createElement(VerticalSpace, { size: "16" }),
56
+ React__default.createElement(Text, null, description)),
57
+ hasMeta && (React__default.createElement(React__default.Fragment, null,
58
+ React__default.createElement(VerticalSpace, { size: "32", sizeS: "16" }),
59
+ React__default.createElement("div", { className: classNames(styles.statContainer, styles["statContainer--".concat(background, "Background")]) }, metaItems.map(function (meta, i) {
60
+ return meta.text && (React__default.createElement("div", { key: "".concat(id, "-stat-").concat(i), className: styles.stat },
61
+ React__default.createElement(Icon, { icon: meta.icon, size: 20 }),
62
+ React__default.createElement(Text, { size: "xs" }, meta.text)));
63
+ }))))));
64
+ };
65
+
66
+ var VideoHeroCard = function (_a) {
67
+ var content = _a.content, thumbnailImg = _a.thumbnailImg, player = _a.player, props = __rest(_a, ["content", "thumbnailImg", "player"]);
68
+ return (React__default.createElement(VideoCardPlayer, __assign({ thumbnail: React__default.createElement(VideoCardThumbnail, { src: thumbnailImg, orientation: "landscape", contentVisibility: { l: true, xl: true, xxl: true } },
69
+ React__default.createElement(VideoHeroCardContent, __assign({}, content, { background: "dark" }))), orientation: "landscape", playIconSize: "l", player: player }, props), content && (React__default.createElement(Visible, { xs: true, s: true, m: true },
70
+ React__default.createElement(Spacing, { all: { xs: "16", s: "32" } },
71
+ React__default.createElement(VideoHeroCardContent, __assign({}, content, { background: "light" })))))));
72
+ };
73
+
74
+ export { VideoHeroCard };
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
4
+ var React = require('react');
5
+ var Heading = require('@arc-ui/components/Heading');
6
+ var Surface = require('@arc-ui/components/Surface');
7
+ var VerticalSpace = require('@arc-ui/components/VerticalSpace');
8
+ var VideoCardThumbnail = require('../_shared/cjs/VideoCardThumbnail-BqYgpk0u.cjs');
9
+ require('../_shared/cjs/index-Bp6Dd2i1.cjs');
10
+ require('@arc-ui/components/Icon');
11
+ require('@arc-ui/components/Visible');
12
+
13
+ var VideoPortraitCard = function (_a) {
14
+ var thumbnail = _a.thumbnail, player = _a.player, props = filterAttrs.__rest(_a, ["thumbnail", "player"]);
15
+ return (React.createElement(VideoCardThumbnail.VideoCardPlayer, filterAttrs.__assign({ thumbnail: thumbnail && (React.createElement(VideoCardThumbnail.VideoCardThumbnail, { orientation: "portrait", src: thumbnail.img },
16
+ React.createElement(Surface.Surface, { isTransparent: true, background: "dark-black" },
17
+ React.createElement(Heading.Heading, { fontStyle: "overline" }, thumbnail.label),
18
+ React.createElement(VerticalSpace.VerticalSpace, { size: "8" }),
19
+ React.createElement(Heading.Heading, { level: "3", isWordWrap: false, size: "xs" }, thumbnail.title)))), orientation: "portrait", player: player, playIconSize: "s" }, props)));
20
+ };
21
+
22
+ exports.VideoPortraitCard = VideoPortraitCard;
@@ -0,0 +1,20 @@
1
+ import { _ as __rest, a as __assign } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
+ import React__default from 'react';
3
+ import { Heading } from '@arc-ui/components/Heading';
4
+ import { Surface } from '@arc-ui/components/Surface';
5
+ import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
6
+ import { V as VideoCardPlayer, a as VideoCardThumbnail } from '../_shared/esm/VideoCardThumbnail-VfOKmPCv.mjs';
7
+ import '../_shared/esm/index-BfTCfPZ1.mjs';
8
+ import '@arc-ui/components/Icon';
9
+ import '@arc-ui/components/Visible';
10
+
11
+ var VideoPortraitCard = function (_a) {
12
+ var thumbnail = _a.thumbnail, player = _a.player, props = __rest(_a, ["thumbnail", "player"]);
13
+ return (React__default.createElement(VideoCardPlayer, __assign({ thumbnail: thumbnail && (React__default.createElement(VideoCardThumbnail, { orientation: "portrait", src: thumbnail.img },
14
+ React__default.createElement(Surface, { isTransparent: true, background: "dark-black" },
15
+ React__default.createElement(Heading, { fontStyle: "overline" }, thumbnail.label),
16
+ React__default.createElement(VerticalSpace, { size: "8" }),
17
+ React__default.createElement(Heading, { level: "3", isWordWrap: false, size: "xs" }, thumbnail.title)))), orientation: "portrait", player: player, playIconSize: "s" }, props)));
18
+ };
19
+
20
+ export { VideoPortraitCard };