@codecademy/brand 1.19.0-alpha.fb2b2ae470.0 → 1.19.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 (176) hide show
  1. package/dist/AbbreviatedCommunityEventCard/index.js +7 -8
  2. package/dist/AppBar/AppBarSection.js +4 -5
  3. package/dist/AppBar/index.js +6 -7
  4. package/dist/AppBarDeprecated/AppBarSectionDeprecated.js +5 -6
  5. package/dist/AppBarDeprecated/index.js +5 -6
  6. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.js +5 -6
  7. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.js +26 -30
  8. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.js +12 -14
  9. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderDropdownLink.js +5 -6
  10. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderMenuItem.js +4 -5
  11. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.js +4 -5
  12. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.js +8 -9
  13. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.js +17 -19
  14. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.js +8 -11
  15. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.js +4 -5
  16. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.js +5 -6
  17. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderDropdownNavButton.js +8 -9
  18. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderMenuNavButton.js +6 -7
  19. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.js +6 -7
  20. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.js +3 -4
  21. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.js +5 -6
  22. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.js +32 -36
  23. package/dist/AppHeader/Search/DefaultResults.js +7 -9
  24. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.js +4 -5
  25. package/dist/AppHeader/Search/SearchButton.js +6 -7
  26. package/dist/AppHeader/Search/SearchPane.js +23 -27
  27. package/dist/AppHeader/Search/SearchWorker/PromiseLookup.js +1 -1
  28. package/dist/AppHeader/Search/SearchWorker/src.js +7 -9
  29. package/dist/AppHeader/Search/SearchWorker/worker.js +3 -4
  30. package/dist/AppHeader/Search/hooks/useUrlChangeDetection.js +4 -5
  31. package/dist/AppHeader/Search/useHeaderSearch.js +6 -7
  32. package/dist/AppHeader/index.js +13 -14
  33. package/dist/AppHeader/shared/elements.js +4 -5
  34. package/dist/AppHeader/shared/keyboardNav.js +7 -8
  35. package/dist/AppHeader/shared/utils.js +11 -12
  36. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/MobileSearchBar.js +3 -4
  37. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.js +7 -8
  38. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.js +5 -6
  39. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.js +6 -7
  40. package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.js +4 -5
  41. package/dist/AppHeaderMobile/index.js +15 -18
  42. package/dist/Avatar/index.js +22 -31
  43. package/dist/AvatarChooser/index.js +8 -9
  44. package/dist/BackToTopAnchor/index.js +7 -8
  45. package/dist/Banner/index.js +8 -9
  46. package/dist/BetaSticker/index.js +3 -4
  47. package/dist/CareerPathCard/index.d.ts +2 -0
  48. package/dist/CareerPathCard/index.js +17 -14
  49. package/dist/Carousel/elements.d.ts +2 -2
  50. package/dist/Carousel/index.js +20 -25
  51. package/dist/CertificationPathCard/index.d.ts +2 -0
  52. package/dist/CertificationPathCard/index.js +14 -11
  53. package/dist/CommunityEventCard/EventTypeIcon.js +3 -4
  54. package/dist/CommunityEventCard/index.js +25 -26
  55. package/dist/CommunityEventToast/index.js +3 -4
  56. package/dist/ContentGroupBaseCard/index.d.ts +5 -0
  57. package/dist/ContentGroupBaseCard/index.js +23 -22
  58. package/dist/ContentGroupBaseCard/shared.js +6 -8
  59. package/dist/CourseCard/index.d.ts +2 -0
  60. package/dist/CourseCard/index.js +19 -16
  61. package/dist/CurriculumCard/BottomTag/index.js +4 -5
  62. package/dist/CurriculumCard/Difficulty/index.js +4 -5
  63. package/dist/CurriculumCard/Footer/index.js +7 -8
  64. package/dist/CurriculumCard/Image/index.js +5 -6
  65. package/dist/CurriculumCard/Subtitle/index.js +6 -7
  66. package/dist/CurriculumCard/index.js +27 -31
  67. package/dist/DropdownButton/DropdownList.js +6 -7
  68. package/dist/DropdownButton/index.js +17 -21
  69. package/dist/DropdownButton/useDynamicPopoverPosition.js +5 -6
  70. package/dist/DropdownButton/useDynamicPopoverPosition.test.js +4 -5
  71. package/dist/EditorialImage/index.js +17 -20
  72. package/dist/EmptySection/index.js +8 -9
  73. package/dist/ErrorContents/index.js +44 -50
  74. package/dist/GlobalFooter/FooterHeading.js +9 -10
  75. package/dist/GlobalFooter/FooterLegal/LegalLinks.js +4 -6
  76. package/dist/GlobalFooter/FooterLegal/MadeIn.js +3 -4
  77. package/dist/GlobalFooter/FooterLegal/index.js +4 -5
  78. package/dist/GlobalFooter/FooterLinks.js +11 -13
  79. package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.js +43 -55
  80. package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.js +22 -26
  81. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.js +18 -23
  82. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.js +7 -9
  83. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.js +50 -65
  84. package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.js +18 -21
  85. package/dist/GlobalFooter/FooterNavLinks/index.js +8 -9
  86. package/dist/GlobalFooter/FooterSubHeading.js +5 -6
  87. package/dist/GlobalFooter/index.js +10 -11
  88. package/dist/GlobalPage/index.js +19 -23
  89. package/dist/Grid/GridCollapse.js +55 -66
  90. package/dist/HeaderHeightArea/index.js +6 -7
  91. package/dist/HorizontalScrollMenu/index.js +4 -5
  92. package/dist/HubCard/index.js +34 -37
  93. package/dist/InfoCard/index.js +98 -120
  94. package/dist/Konamimojisplosion/Konamimojisplosion.js +3 -4
  95. package/dist/LandingPage/CTA.js +8 -11
  96. package/dist/LandingPage/Description.js +11 -14
  97. package/dist/LandingPage/Feature.js +61 -79
  98. package/dist/LandingPage/PageFeatures.js +54 -60
  99. package/dist/LandingPage/PageHero.js +10 -13
  100. package/dist/LandingPage/PagePrefooter.js +8 -9
  101. package/dist/LandingPage/PageSingleFeature.js +19 -21
  102. package/dist/LandingPage/PageVideoGallery.js +32 -35
  103. package/dist/LandingPage/Title.js +8 -11
  104. package/dist/LandingPage/TitleWithEyebrow.js +31 -34
  105. package/dist/LayoutMenu/AccordionMenu.js +10 -14
  106. package/dist/LayoutMenu/LayoutMenu.js +12 -13
  107. package/dist/LayoutMenu/LayoutMenuSection.js +28 -31
  108. package/dist/LayoutMenu/SectionItemLink.js +5 -6
  109. package/dist/LayoutMenu/SelectedSectionItem.js +3 -4
  110. package/dist/LayoutMenuVariant/AccordionMenu.js +10 -17
  111. package/dist/LayoutMenuVariant/LayoutMenu.js +11 -12
  112. package/dist/LayoutMenuVariant/LayoutMenuSection.js +24 -27
  113. package/dist/LayoutMenuVariant/SectionItemLink.js +6 -7
  114. package/dist/LearningOutcomeCard/index.js +8 -9
  115. package/dist/{LearningOutcomeSkillTile → LearningOutcomeTile}/index.d.ts +2 -2
  116. package/dist/LearningOutcomeTile/index.js +127 -0
  117. package/dist/ListSection/index.js +8 -9
  118. package/dist/Loading/index.js +3 -4
  119. package/dist/LoadingCurriculumCard/index.js +71 -74
  120. package/dist/Logo/index.js +5 -6
  121. package/dist/LogoFromSkillsoft/index.js +7 -8
  122. package/dist/LogoLXStudio/index.js +7 -8
  123. package/dist/LogoProCutout/index.js +28 -31
  124. package/dist/LogoProCutoutTransparent/index.js +28 -31
  125. package/dist/MarketingToaster/index.js +3 -4
  126. package/dist/NotFoundContent/index.js +5 -6
  127. package/dist/NotificationList/NotificationItem.js +8 -12
  128. package/dist/NotificationList/index.js +6 -7
  129. package/dist/Notifications/NotificationBell.js +6 -7
  130. package/dist/Notifications/NotificationsContents.js +5 -6
  131. package/dist/Notifications/NotificationsDropdown.js +6 -7
  132. package/dist/Notifications/useHeaderNotifications.js +4 -5
  133. package/dist/Notifications/useNotificationButtons.js +6 -7
  134. package/dist/PageAlerts/PageAlerts.js +3 -4
  135. package/dist/PageAlerts/PageAlertsProvider.js +3 -4
  136. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.js +8 -9
  137. package/dist/PageSection/index.js +7 -8
  138. package/dist/PastDue/PastDueModalContents/index.js +6 -7
  139. package/dist/PastDue/pastDueMessages.js +4 -7
  140. package/dist/PausableImage/BaseImage/index.js +4 -5
  141. package/dist/PlanCard/PlanCardBanner.js +4 -5
  142. package/dist/PlanCard/PlanFeature.js +6 -7
  143. package/dist/PlanCard/PricingAmount.js +15 -22
  144. package/dist/PlanCard/index.js +30 -40
  145. package/dist/PlanCardTeams/index.js +36 -41
  146. package/dist/PricingSection/PlanFeature.js +8 -9
  147. package/dist/PricingSection/PricingCard/PricingAmount.js +10 -14
  148. package/dist/PricingSection/PricingCard/index.js +13 -17
  149. package/dist/PricingSection/ProductCTA.js +5 -6
  150. package/dist/PricingSection/Products.js +7 -8
  151. package/dist/PricingSection/index.js +10 -11
  152. package/dist/ProLabel/index.js +5 -6
  153. package/dist/ProLogoAlt/index.js +23 -26
  154. package/dist/ProductFeatureShowcase/index.js +98 -104
  155. package/dist/QuizScore/index.js +9 -10
  156. package/dist/RatingsBar/index.js +4 -5
  157. package/dist/ResourceCard/index.js +8 -9
  158. package/dist/ScoreSummary/SubScores.js +117 -126
  159. package/dist/ScoreSummary/helpers.js +8 -9
  160. package/dist/ScoreSummary/index.js +16 -17
  161. package/dist/SkillPathCard/index.d.ts +2 -0
  162. package/dist/SkillPathCard/index.js +16 -13
  163. package/dist/SocialMediaSharing/SocialShareIconLink.js +8 -9
  164. package/dist/SocialMediaSharing/index.js +65 -78
  165. package/dist/SocialMediaSharingDropdown/index.js +26 -30
  166. package/dist/Testimonial/index.js +16 -17
  167. package/dist/index.d.ts +1 -1
  168. package/dist/index.js +1 -1
  169. package/dist/stories/Atoms/Subgrid.stories.js +10 -13
  170. package/dist/stories/Molecules/ContentGroupBaseCard.stories.d.ts +1 -0
  171. package/dist/stories/Molecules/ContentGroupBaseCard.stories.js +28 -2
  172. package/dist/stories/Molecules/GridCollapse.stories.js +10 -13
  173. package/dist/stories/Molecules/{LearningOutcomeSkillTile.stories.d.ts → LearningOutcomeTile.stories.d.ts} +3 -3
  174. package/dist/stories/Molecules/{LearningOutcomeSkillTile.stories.js → LearningOutcomeTile.stories.js} +17 -17
  175. package/package.json +1 -1
  176. package/dist/LearningOutcomeSkillTile/index.js +0 -128
@@ -4,23 +4,22 @@ import * as React from 'react';
4
4
  import { QuizScore } from '../QuizScore';
5
5
  import { SubScores } from './SubScores';
6
6
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
- export const ScoreSummary = _ref => {
8
- let {
9
- subScores,
10
- totalCorrect,
11
- totalQuestions,
12
- pathSlug,
13
- trackSlug,
14
- trackingData,
15
- untestedSubContent,
16
- lighterBorderColor = 'navy-400',
17
- layout = 'row',
18
- trackUserClick,
19
- description,
20
- noMaxWidth = false,
21
- colorfulIcons = false,
22
- percentToPass
23
- } = _ref;
7
+ export const ScoreSummary = ({
8
+ subScores,
9
+ totalCorrect,
10
+ totalQuestions,
11
+ pathSlug,
12
+ trackSlug,
13
+ trackingData,
14
+ untestedSubContent,
15
+ lighterBorderColor = 'navy-400',
16
+ layout = 'row',
17
+ trackUserClick,
18
+ description,
19
+ noMaxWidth = false,
20
+ colorfulIcons = false,
21
+ percentToPass
22
+ }) => {
24
23
  let numOfRows = Object.entries(subScores).length;
25
24
  if (untestedSubContent) {
26
25
  numOfRows += untestedSubContent.length;
@@ -11,5 +11,7 @@ export interface SkillPathCardProps {
11
11
  isFullSize?: boolean;
12
12
  headingLevel?: HeadingTags;
13
13
  timeToComplete?: number | null;
14
+ header?: React.ReactNode;
15
+ footer?: React.ReactNode;
14
16
  }
15
17
  export declare const SkillPathCard: React.FC<SkillPathCardProps>;
@@ -2,19 +2,20 @@ import { ContentGroupBaseCard } from '../ContentGroupBaseCard';
2
2
  import { getPathImageUrl } from '../ContentGroupBaseCard/helpers';
3
3
  import { CertificateComponent, CourseCountComponent, Divider } from '../ContentGroupBaseCard/shared';
4
4
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
- export const SkillPathCard = _ref => {
6
- let {
7
- title,
8
- shortDescription,
9
- difficulty,
10
- lessonCount,
11
- imageUrl,
12
- courseCount,
13
- enrollmentStatus,
14
- headingLevel = 'h3',
15
- isFullSize = false,
16
- timeToComplete
17
- } = _ref;
5
+ export const SkillPathCard = ({
6
+ title,
7
+ shortDescription,
8
+ difficulty,
9
+ lessonCount,
10
+ imageUrl,
11
+ courseCount,
12
+ enrollmentStatus,
13
+ headingLevel = 'h3',
14
+ isFullSize = false,
15
+ timeToComplete,
16
+ header,
17
+ footer
18
+ }) => {
18
19
  return /*#__PURE__*/_jsxs(ContentGroupBaseCard, {
19
20
  headerBackgroundColor: "blue-100",
20
21
  headerText: "Skill path",
@@ -28,6 +29,8 @@ export const SkillPathCard = _ref => {
28
29
  isFullSize: isFullSize,
29
30
  enrollmentStatus: enrollmentStatus,
30
31
  timeToComplete: timeToComplete,
32
+ header: header,
33
+ footer: footer,
31
34
  children: [/*#__PURE__*/_jsx(Divider, {}), /*#__PURE__*/_jsx(CourseCountComponent, {
32
35
  count: courseCount
33
36
  }), /*#__PURE__*/_jsx(Divider, {}), /*#__PURE__*/_jsx(CertificateComponent, {})]
@@ -10,15 +10,14 @@ const IconLink = /*#__PURE__*/_styled(Box, {
10
10
  label: "IconLink"
11
11
  });
12
12
  const getTitleId = (id, sectionId) => sectionId ? `${sectionId}-${id}` : id;
13
- export const SocialShareIconLink = _ref => {
14
- let {
15
- icon: IconComponent,
16
- id,
17
- href,
18
- onClick,
19
- size,
20
- sectionId
21
- } = _ref;
13
+ export const SocialShareIconLink = ({
14
+ icon: IconComponent,
15
+ id,
16
+ href,
17
+ onClick,
18
+ size,
19
+ sectionId
20
+ }) => {
22
21
  const onIconClick = e => {
23
22
  e.preventDefault();
24
23
  onClick?.(e);
@@ -20,74 +20,64 @@ export const SOCIAL_SHARING_PLATFORMS = [{
20
20
  displayName: 'Facebook',
21
21
  icon: FacebookIcon,
22
22
  baseUrl: 'https://www.facebook.com/dialog/share?app_id=212500508799908',
23
- formatShare: _ref => {
24
- let {
25
- url,
26
- message
27
- } = _ref;
28
- return {
29
- ...(url && {
30
- href: url
31
- }),
32
- ...(message && {
33
- quote: message
34
- }),
35
- hashtag: '#codecademy'
36
- };
37
- }
23
+ formatShare: ({
24
+ url,
25
+ message
26
+ }) => ({
27
+ ...(url && {
28
+ href: url
29
+ }),
30
+ ...(message && {
31
+ quote: message
32
+ }),
33
+ hashtag: '#codecademy'
34
+ })
38
35
  }, {
39
36
  id: 'twitter',
40
37
  displayName: 'Twitter',
41
38
  icon: TwitterIcon,
42
39
  baseUrl: 'https://twitter.com/intent/tweet?',
43
- formatShare: _ref2 => {
44
- let {
45
- url,
46
- message,
47
- hashtags,
48
- mention
49
- } = _ref2;
50
- return {
51
- ...(url && {
52
- url
53
- }),
54
- ...(message && {
55
- text: message
56
- }),
57
- ...(hashtags && {
58
- hashtags: hashtags.join(',')
59
- }),
60
- ...(mention && {
61
- via: mention
62
- })
63
- };
64
- }
40
+ formatShare: ({
41
+ url,
42
+ message,
43
+ hashtags,
44
+ mention
45
+ }) => ({
46
+ ...(url && {
47
+ url
48
+ }),
49
+ ...(message && {
50
+ text: message
51
+ }),
52
+ ...(hashtags && {
53
+ hashtags: hashtags.join(',')
54
+ }),
55
+ ...(mention && {
56
+ via: mention
57
+ })
58
+ })
65
59
  }, {
66
60
  id: 'linkedin',
67
61
  displayName: 'LinkedIn',
68
62
  icon: LinkedinIcon,
69
63
  baseUrl: 'https://www.linkedin.com/shareArticle',
70
- formatShare: _ref3 => {
71
- let {
72
- url
73
- } = _ref3;
74
- return {
75
- url
76
- };
77
- }
64
+ formatShare: ({
65
+ url
66
+ }) => ({
67
+ url
68
+ })
78
69
  }];
79
- export const SocialMediaSharing = _ref4 => {
80
- let {
81
- url,
82
- message,
83
- hashtags,
84
- mention,
85
- action,
86
- label,
87
- sectionId,
88
- size = 'normal',
89
- iconStyles
90
- } = _ref4;
70
+ export const SocialMediaSharing = ({
71
+ url,
72
+ message,
73
+ hashtags,
74
+ mention,
75
+ action,
76
+ label,
77
+ sectionId,
78
+ size = 'normal',
79
+ iconStyles
80
+ }) => {
91
81
  return /*#__PURE__*/_jsxs(Box, {
92
82
  display: "inline-flex",
93
83
  flexDirection: "column",
@@ -103,27 +93,24 @@ export const SocialMediaSharing = _ref4 => {
103
93
  gridAutoFlow: "column",
104
94
  gap: 16,
105
95
  className: iconStyles,
106
- children: SOCIAL_SHARING_PLATFORMS.map(_ref5 => {
107
- let {
108
- id,
109
- icon,
110
- formatShare,
111
- baseUrl
112
- } = _ref5;
113
- return /*#__PURE__*/_jsx(SocialShareIconLink, {
114
- id: id,
115
- sectionId: sectionId,
116
- href: createShareLink(formatShare, baseUrl, {
117
- url,
118
- message,
119
- hashtags,
120
- mention
121
- }),
122
- icon: icon,
123
- size: size,
124
- onClick: e => action?.(e, `${id}_share`)
125
- }, id);
126
- })
96
+ children: SOCIAL_SHARING_PLATFORMS.map(({
97
+ id,
98
+ icon,
99
+ formatShare,
100
+ baseUrl
101
+ }) => /*#__PURE__*/_jsx(SocialShareIconLink, {
102
+ id: id,
103
+ sectionId: sectionId,
104
+ href: createShareLink(formatShare, baseUrl, {
105
+ url,
106
+ message,
107
+ hashtags,
108
+ mention
109
+ }),
110
+ icon: icon,
111
+ size: size,
112
+ onClick: e => action?.(e, `${id}_share`)
113
+ }, id))
127
114
  })]
128
115
  });
129
116
  };
@@ -17,16 +17,15 @@ export const onClickWrapper = (e, id, href, action) => {
17
17
  const features = `menubar=no,toolbar=no,status=no,width=${popupSize},height=${popupSize},top=${top},left=${left}`;
18
18
  window.open(href, '_blank', features)?.focus();
19
19
  };
20
- export const SocialMediaSharingDropdown = _ref => {
21
- let {
22
- url,
23
- message,
24
- hashtags,
25
- mention,
26
- action,
27
- defaultPosition = 'below',
28
- addAlert
29
- } = _ref;
20
+ export const SocialMediaSharingDropdown = ({
21
+ url,
22
+ message,
23
+ hashtags,
24
+ mention,
25
+ action,
26
+ defaultPosition = 'below',
27
+ addAlert
28
+ }) => {
30
29
  const [showClipboardAlert, setShowClipboardAlert] = useState(false);
31
30
  const dropdownRef = useRef(null);
32
31
  const focusDropdown = () => dropdownRef.current?.focus({
@@ -52,26 +51,23 @@ export const SocialMediaSharingDropdown = _ref => {
52
51
  buttonType: "text",
53
52
  defaultPosition: defaultPosition,
54
53
  px: 0,
55
- dropdownItems: [...SOCIAL_SHARING_PLATFORMS.map(_ref2 => {
56
- let {
57
- id,
58
- formatShare,
59
- baseUrl,
60
- displayName
61
- } = _ref2;
62
- return {
63
- id,
64
- text: displayName,
65
- clickHandler: e => {
66
- onClickWrapper(e, id, createShareLink(formatShare, baseUrl, {
67
- url,
68
- message,
69
- hashtags,
70
- mention
71
- }), action);
72
- }
73
- };
74
- }), 'separator', {
54
+ dropdownItems: [...SOCIAL_SHARING_PLATFORMS.map(({
55
+ id,
56
+ formatShare,
57
+ baseUrl,
58
+ displayName
59
+ }) => ({
60
+ id,
61
+ text: displayName,
62
+ clickHandler: e => {
63
+ onClickWrapper(e, id, createShareLink(formatShare, baseUrl, {
64
+ url,
65
+ message,
66
+ hashtags,
67
+ mention
68
+ }), action);
69
+ }
70
+ })), 'separator', {
75
71
  id: 'copy-link',
76
72
  icon: LinkIcon,
77
73
  text: 'Copy link',
@@ -69,23 +69,22 @@ const TestimonialContent = /*#__PURE__*/_styled(Box, {
69
69
  }
70
70
  }
71
71
  }), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9UZXN0aW1vbmlhbC9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMEMyQiIsImZpbGUiOiIuLi8uLi9zcmMvVGVzdGltb25pYWwvaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQW5jaG9yLCBCb3gsIENhcmQsIFRleHQgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dCc7XG5pbXBvcnQgeyBjc3MsIG1vZGVDb2xvclByb3BzLCB2YXJpYW50IH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQtc3R5bGVzJztcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IENvbXBvbmVudFByb3BzLCB1c2VNZW1vIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgZGFya1F1b3RlcyBmcm9tICcuLi9hc3NldHMvbmF2eVF1b3Rlcy5zdmcnO1xuXG5jb25zdCBRdW90ZUFydCA9IHN0eWxlZC5pbWdgXG4gIGhlaWdodDogMjVweDtcbiAgZ3JpZC1hcmVhOiBhcnQ7XG5gO1xuXG5jb25zdCBUZXN0aW1vbmlhbFBpY3R1cmUgPSBzdHlsZWQuaW1nKFxuICBjc3Moe1xuICAgIGhlaWdodDogOTgsXG4gICAgd2lkdGg6IDk4LFxuICAgIGJvcmRlclJhZGl1czogJ2Z1bGwnLFxuICAgIGdyaWRB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iAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgPFRleHQgdmFyaWFudD1cInAtc21hbGxcIiBhcz1cInBcIiBmb250RmFtaWx5PVwiYWNjZW50XCI+XG4gICAgICAgICAgICB7b2NjdXBhdGlvbn1cbiAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgeyEhYm90dG9tVGV4dCAmJiAoXG4gICAgICAgICAgICA8VGV4dCB2YXJpYW50PVwicC1zbWFsbFwiIGFzPVwicFwiIGZvbnRGYW1pbHk9XCJhY2NlbnRcIj5cbiAgICAgICAgICAgICAge2JvdHRvbVRleHR9XG4gICAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgKX1cbiAgICAgICAgPC9Cb3g+XG4gICAgICAgIDxRdW90ZUFydCBhbHQ9XCJcIiBzcmM9e2RhcmtRdW90ZXN9IC8+XG4gICAgICAgIDxUZXh0XG4gICAgICAgICAgcHQ9e3sgXzogMCwgbWQ6IGlzVmVydGljbGVMYXlvdXQgPyAwIDogNCB9fVxuICAgICAgICAgIHByPXt7IF86IDE2LCBzbTogMCB9fVxuICAgICAgICAgIGdyaWRBcmVhPVwidGV4dFwiXG4gICAgICAgICAgdmFyaWFudD1cInRpdGxlLW1kXCJcbiAgICAgICAgICBhcz1cInBcIlxuICAgICAgICA+XG4gICAgICAgICAge3F1b3RlfVxuICAgICAgICA8L1RleHQ+XG4gICAgICA8L1Rlc3RpbW9uaWFsQ29udGVudD5cbiAgICA8L1Rlc3RpbW9uaWFsQ2FyZD5cbiAgKTtcblxuICBjb25zdCByZW5kZXJUZXN0aW1vbmlhbFdpdGhBbmNob3IgPSAoKSA9PiAoXG4gICAgPEFuY2hvclxuICAgICAgZGlzcGxheT17cmVzdC5kaXNwbGF5fVxuICAgICAgZGF0YS10ZXN0aWQ9XCJ0ZXN0aW1vbmlhbC1saW5rXCJcbiAgICAgIGhyZWY9e2hyZWYgfHwgdW5kZWZpbmVkfVxuICAgICAgdmFyaWFudD1cImludGVyZmFjZVwiXG4gICAgICBvbkNsaWNrPXtvbkNsaWNrfVxuICAgICAgYXJpYS1sYWJlbD17YXJpYUxhYmVsfVxuICAgID5cbiAgICAgIHtyZW5kZXJUZXN0aW1vbmlhbCgpfVxuICAgIDwvQW5jaG9yPlxuICApO1xuXG4gIHJldHVybiBocmVmID8gcmVuZGVyVGVzdGltb25pYWxXaXRoQW5jaG9yKCkgOiByZW5kZXJUZXN0aW1vbmlhbCgpO1xufTtcbiJdfQ== */");
72
- export const Testimonial = _ref => {
73
- let {
74
- firstName,
75
- lastName,
76
- company,
77
- occupation,
78
- location,
79
- href,
80
- quote,
81
- onClick,
82
- hidePhoto,
83
- imageUrl,
84
- variant,
85
- orientation,
86
- mode,
87
- ...rest
88
- } = _ref;
72
+ export const Testimonial = ({
73
+ firstName,
74
+ lastName,
75
+ company,
76
+ occupation,
77
+ location,
78
+ href,
79
+ quote,
80
+ onClick,
81
+ hidePhoto,
82
+ imageUrl,
83
+ variant,
84
+ orientation,
85
+ mode,
86
+ ...rest
87
+ }) => {
89
88
  const isVerticleLayout = orientation === 'vertical';
90
89
  const bottomText = useMemo(() => {
91
90
  if (company && location) return `@ ${company}, ${location}`;
package/dist/index.d.ts CHANGED
@@ -46,7 +46,7 @@ export * from './Konamimojisplosion';
46
46
  export * from './LandingPage';
47
47
  export * from './LayoutMenu';
48
48
  export * from './LearningOutcomeCard';
49
- export * from './LearningOutcomeSkillTile';
49
+ export * from './LearningOutcomeTile';
50
50
  export * from './lib/breakpointHooks';
51
51
  export * from './ListSection';
52
52
  export * from './Loading';
package/dist/index.js CHANGED
@@ -46,7 +46,7 @@ export * from './Konamimojisplosion';
46
46
  export * from './LandingPage';
47
47
  export * from './LayoutMenu';
48
48
  export * from './LearningOutcomeCard';
49
- export * from './LearningOutcomeSkillTile';
49
+ export * from './LearningOutcomeTile';
50
50
  export * from './lib/breakpointHooks';
51
51
  export * from './ListSection';
52
52
  export * from './Loading';
@@ -6,19 +6,16 @@ const meta = {
6
6
  args: {}
7
7
  };
8
8
  export default meta;
9
- const Item = _ref => {
10
- let {
11
- children
12
- } = _ref;
13
- return /*#__PURE__*/_jsx(FlexBox, {
14
- as: "li",
15
- p: 8,
16
- background: "#eee",
17
- borderRadius: "md",
18
- center: true,
19
- children: children
20
- });
21
- };
9
+ const Item = ({
10
+ children
11
+ }) => /*#__PURE__*/_jsx(FlexBox, {
12
+ as: "li",
13
+ p: 8,
14
+ background: "#eee",
15
+ borderRadius: "md",
16
+ center: true,
17
+ children: children
18
+ });
22
19
  export const Default = {
23
20
  render: _args => /*#__PURE__*/_jsxs(LayoutGrid, {
24
21
  children: [/*#__PURE__*/_jsx(Column, {
@@ -10,3 +10,4 @@ export declare const ContentGroupBaseCardWithImage: Story;
10
10
  export declare const ContentGroupBaseCardWithShadowVariants: Story;
11
11
  export declare const ContentGroupBaseCardWithEnrollmentStatus: Story;
12
12
  export declare const ContentGroupBaseCardWithTimeToComplete: Story;
13
+ export declare const ContentGroupBaseCardWithCustomHeaderAndFooter: Story;
@@ -1,5 +1,6 @@
1
- import { Column, LayoutGrid, Text } from '@codecademy/gamut';
2
- import { ContentGroupBaseCard, CourseDifficulty, EnrollmentStatus } from '../../index';
1
+ import { Column, FlexBox, LayoutGrid, Text } from '@codecademy/gamut';
2
+ import { CheckFilledIcon } from '@codecademy/gamut-icons';
3
+ import { ContentGroupBaseCard, ContentGroupBaseCardHeaderBackground, CourseDifficulty, EnrollmentStatus } from '../../index';
3
4
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
5
  const meta = {
5
6
  component: ContentGroupBaseCard,
@@ -144,4 +145,29 @@ export const ContentGroupBaseCardWithTimeToComplete = {
144
145
  })]
145
146
  }),
146
147
  name: 'ContentGroupBaseCard with Time to Complete'
148
+ };
149
+ export const ContentGroupBaseCardWithCustomHeaderAndFooter = {
150
+ render: args => /*#__PURE__*/_jsx(LayoutGrid, {
151
+ gap: 24,
152
+ children: /*#__PURE__*/_jsx(Column, {
153
+ size: 6,
154
+ children: /*#__PURE__*/_jsx(ContentGroupBaseCard, {
155
+ ...args,
156
+ header: /*#__PURE__*/_jsx(ContentGroupBaseCardHeaderBackground, {
157
+ bg: "hyper",
158
+ children: /*#__PURE__*/_jsxs(FlexBox, {
159
+ alignItems: "center",
160
+ justifyContent: "center",
161
+ gap: 4,
162
+ children: [/*#__PURE__*/_jsx(CheckFilledIcon, {}), " Custom Header"]
163
+ })
164
+ }),
165
+ footer: /*#__PURE__*/_jsx(Text, {
166
+ textColor: "navy-500",
167
+ children: "Custom Footer"
168
+ })
169
+ })
170
+ })
171
+ }),
172
+ name: 'ContentGroupBaseCard with custom header and footer'
147
173
  };
@@ -21,19 +21,16 @@ const meta = {
21
21
  }
22
22
  };
23
23
  export default meta;
24
- const Item = _ref => {
25
- let {
26
- number
27
- } = _ref;
28
- return /*#__PURE__*/_jsxs(FlexBox, {
29
- as: "li",
30
- p: 8,
31
- background: "#eee",
32
- borderRadius: "md",
33
- center: true,
34
- children: ["Item ", number + 1]
35
- });
36
- };
24
+ const Item = ({
25
+ number
26
+ }) => /*#__PURE__*/_jsxs(FlexBox, {
27
+ as: "li",
28
+ p: 8,
29
+ background: "#eee",
30
+ borderRadius: "md",
31
+ center: true,
32
+ children: ["Item ", number + 1]
33
+ });
37
34
  export const Default = {
38
35
  render: args => /*#__PURE__*/_jsx(GridCollapse, {
39
36
  ...args,
@@ -1,8 +1,8 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
- import { LearningOutcomeSkillTile } from '../../LearningOutcomeSkillTile';
3
- declare const meta: Meta<typeof LearningOutcomeSkillTile>;
2
+ import { LearningOutcomeTile } from '../../LearningOutcomeTile';
3
+ declare const meta: Meta<typeof LearningOutcomeTile>;
4
4
  export default meta;
5
- type Story = StoryObj<typeof LearningOutcomeSkillTile>;
5
+ type Story = StoryObj<typeof LearningOutcomeTile>;
6
6
  export declare const Default: Story;
7
7
  export declare const WithLowAssessments: Story;
8
8
  export declare const Small: Story;
@@ -1,9 +1,9 @@
1
1
  import { FlexBox } from '@codecademy/gamut';
2
2
  import { Background } from '@codecademy/gamut-styles';
3
- import { LearningOutcomeSkillTile } from '../../LearningOutcomeSkillTile';
3
+ import { LearningOutcomeTile } from '../../LearningOutcomeTile';
4
4
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  const meta = {
6
- component: LearningOutcomeSkillTile,
6
+ component: LearningOutcomeTile,
7
7
  args: {
8
8
  progressPercentage: 50,
9
9
  assessmentPercentage: 100,
@@ -14,14 +14,14 @@ export default meta;
14
14
  export const Default = {
15
15
  render: args => /*#__PURE__*/_jsxs(FlexBox, {
16
16
  gap: 16,
17
- children: [/*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
17
+ children: [/*#__PURE__*/_jsx(LearningOutcomeTile, {
18
18
  ...args,
19
19
  progressPercentage: 0,
20
20
  hover: true
21
- }), /*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
21
+ }), /*#__PURE__*/_jsx(LearningOutcomeTile, {
22
22
  ...args,
23
23
  hover: true
24
- }), /*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
24
+ }), /*#__PURE__*/_jsx(LearningOutcomeTile, {
25
25
  ...args,
26
26
  progressPercentage: 100,
27
27
  hover: true
@@ -32,16 +32,16 @@ export const Default = {
32
32
  export const WithLowAssessments = {
33
33
  render: args => /*#__PURE__*/_jsxs(FlexBox, {
34
34
  gap: 16,
35
- children: [/*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
35
+ children: [/*#__PURE__*/_jsx(LearningOutcomeTile, {
36
36
  ...args,
37
37
  progressPercentage: 0,
38
38
  assessmentPercentage: 68,
39
39
  hover: true
40
- }), /*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
40
+ }), /*#__PURE__*/_jsx(LearningOutcomeTile, {
41
41
  ...args,
42
42
  assessmentPercentage: 68,
43
43
  hover: true
44
- }), /*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
44
+ }), /*#__PURE__*/_jsx(LearningOutcomeTile, {
45
45
  ...args,
46
46
  progressPercentage: 100,
47
47
  assessmentPercentage: 68,
@@ -53,14 +53,14 @@ export const WithLowAssessments = {
53
53
  export const Small = {
54
54
  render: args => /*#__PURE__*/_jsxs(FlexBox, {
55
55
  gap: 16,
56
- children: [/*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
56
+ children: [/*#__PURE__*/_jsx(LearningOutcomeTile, {
57
57
  ...args,
58
58
  progressPercentage: 0,
59
59
  size: "small"
60
- }), /*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
60
+ }), /*#__PURE__*/_jsx(LearningOutcomeTile, {
61
61
  ...args,
62
62
  size: "small"
63
- }), /*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
63
+ }), /*#__PURE__*/_jsx(LearningOutcomeTile, {
64
64
  ...args,
65
65
  progressPercentage: 100,
66
66
  size: "small"
@@ -74,30 +74,30 @@ export const DarkMode = {
74
74
  p: 24,
75
75
  children: /*#__PURE__*/_jsxs(FlexBox, {
76
76
  gap: 16,
77
- children: [/*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
77
+ children: [/*#__PURE__*/_jsx(LearningOutcomeTile, {
78
78
  ...args,
79
79
  progressPercentage: 0,
80
80
  assessmentPercentage: 68,
81
81
  hover: true
82
- }), /*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
82
+ }), /*#__PURE__*/_jsx(LearningOutcomeTile, {
83
83
  ...args,
84
84
  assessmentPercentage: 68,
85
85
  hover: true
86
- }), /*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
86
+ }), /*#__PURE__*/_jsx(LearningOutcomeTile, {
87
87
  ...args,
88
88
  progressPercentage: 100,
89
89
  assessmentPercentage: 68,
90
90
  hover: true
91
- }), /*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
91
+ }), /*#__PURE__*/_jsx(LearningOutcomeTile, {
92
92
  ...args,
93
93
  progressPercentage: 0,
94
94
  size: "small",
95
95
  hover: true
96
- }), /*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
96
+ }), /*#__PURE__*/_jsx(LearningOutcomeTile, {
97
97
  ...args,
98
98
  size: "small",
99
99
  hover: true
100
- }), /*#__PURE__*/_jsx(LearningOutcomeSkillTile, {
100
+ }), /*#__PURE__*/_jsx(LearningOutcomeTile, {
101
101
  ...args,
102
102
  progressPercentage: 100,
103
103
  size: "small",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codecademy/brand",
3
3
  "description": "Brand component library for Codecademy",
4
- "version": "1.19.0-alpha.fb2b2ae470.0",
4
+ "version": "1.19.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@emotion/is-prop-valid": "^1.2.1",