@codecademy/brand 2.0.0-alpha.4e24057d69.0 → 2.0.0-alpha.5000e6813b.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 (330) hide show
  1. package/README.md +1 -1
  2. package/dist/AbbreviatedCommunityEventCard/index.js +98 -0
  3. package/dist/AppBar/AppBarSection.js +41 -0
  4. package/dist/AppBar/index.js +20 -0
  5. package/dist/AppBarDeprecated/AppBarSectionDeprecated.js +25 -0
  6. package/dist/AppBarDeprecated/index.js +26 -0
  7. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.js +98 -0
  8. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.js +63 -0
  9. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.js +440 -0
  10. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.js +157 -0
  11. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderDropdownLink.js +25 -0
  12. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderMenuItem.js +26 -0
  13. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/types.js +1 -0
  14. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/index.js +2 -0
  15. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.js +26 -0
  16. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.js +70 -0
  17. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.js +53 -0
  18. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.js +32 -0
  19. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.js +57 -0
  20. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.js +88 -0
  21. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderDropdownNavButton.js +50 -0
  22. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderMenuNavButton.js +38 -0
  23. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.js +36 -0
  24. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.js +19 -0
  25. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.js +113 -0
  26. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.js +194 -0
  27. package/dist/AppHeader/Search/DefaultResults.js +112 -0
  28. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.js +80 -0
  29. package/dist/AppHeader/Search/SearchButton.js +58 -0
  30. package/dist/AppHeader/Search/SearchPane.js +518 -0
  31. package/dist/AppHeader/Search/SearchWorker/PromiseLookup.js +35 -0
  32. package/dist/AppHeader/Search/SearchWorker/index.js +24 -0
  33. package/dist/AppHeader/Search/SearchWorker/src.js +307 -0
  34. package/dist/AppHeader/Search/SearchWorker/types.js +5 -0
  35. package/dist/AppHeader/Search/SearchWorker/worker.js +31 -0
  36. package/dist/AppHeader/Search/consts.js +40 -0
  37. package/dist/AppHeader/Search/hooks/useUrlChangeDetection.js +14 -0
  38. package/dist/AppHeader/Search/safelyRedirect.js +49 -0
  39. package/dist/AppHeader/Search/types.js +1 -0
  40. package/dist/AppHeader/Search/useHeaderSearch.js +39 -0
  41. package/dist/AppHeader/index.js +77 -0
  42. package/dist/AppHeader/shared/elements.js +151 -0
  43. package/dist/AppHeader/shared/index.js +4 -0
  44. package/dist/AppHeader/shared/keyboardNav.js +67 -0
  45. package/dist/AppHeader/shared/mockAppHeaderItems.js +10 -0
  46. package/dist/AppHeader/shared/testTypes.js +0 -0
  47. package/dist/AppHeader/shared/types.js +1 -0
  48. package/dist/AppHeader/shared/utils.js +103 -0
  49. package/dist/AppHeader/utils/types.js +1 -0
  50. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/MobileSearchBar.js +77 -0
  51. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.js +111 -0
  52. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.js +30 -0
  53. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.js +104 -0
  54. package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.js +60 -0
  55. package/dist/AppHeaderMobile/index.js +226 -0
  56. package/dist/Avatar/Avatar.stories.js +15 -0
  57. package/dist/Avatar/index.js +45 -0
  58. package/dist/AvatarChooser/index.js +105 -0
  59. package/dist/BackToTopAnchor/index.js +38 -0
  60. package/dist/Banner/index.js +102 -0
  61. package/dist/BetaSticker/index.js +57 -0
  62. package/dist/CareerPathCard/index.js +41 -0
  63. package/dist/Carousel/elements.js +14 -0
  64. package/dist/Carousel/index.js +242 -0
  65. package/dist/CertificationPathCard/index.js +42 -0
  66. package/dist/CommunityEventCard/EventTypeIcon.js +59 -0
  67. package/dist/CommunityEventCard/index.js +305 -0
  68. package/dist/CommunityEventToast/index.js +32 -0
  69. package/dist/ContentGroupBaseCard/helpers.js +12 -0
  70. package/dist/ContentGroupBaseCard/index.js +178 -0
  71. package/dist/ContentGroupBaseCard/shared.js +76 -0
  72. package/dist/ContentGroupBaseCard/types.js +12 -0
  73. package/dist/CourseCard/index.js +47 -0
  74. package/dist/CurriculumCard/BottomTag/index.js +26 -0
  75. package/dist/CurriculumCard/Difficulty/helpers.js +13 -0
  76. package/dist/CurriculumCard/Difficulty/index.js +47 -0
  77. package/dist/CurriculumCard/Difficulty/types.js +20 -0
  78. package/dist/CurriculumCard/Footer/index.js +54 -0
  79. package/dist/CurriculumCard/Image/index.js +56 -0
  80. package/dist/CurriculumCard/Subtitle/helpers.js +8 -0
  81. package/dist/CurriculumCard/Subtitle/index.js +34 -0
  82. package/dist/CurriculumCard/index.js +129 -0
  83. package/dist/DropdownButton/DropdownList.js +73 -0
  84. package/dist/DropdownButton/index.js +169 -0
  85. package/dist/DropdownButton/useDynamicPopoverPosition.js +55 -0
  86. package/dist/DropdownButton/useDynamicPopoverPosition.test.js +85 -0
  87. package/dist/EditorialImage/index.js +22 -0
  88. package/dist/EmptySection/index.js +183 -0
  89. package/dist/ErrorContents/index.js +48 -0
  90. package/dist/FeatureList/index.js +41 -0
  91. package/dist/GlobalFooter/FooterHeading.js +30 -0
  92. package/dist/GlobalFooter/FooterLegal/LegalLinks.js +43 -0
  93. package/dist/GlobalFooter/FooterLegal/MadeIn.js +64 -0
  94. package/dist/GlobalFooter/FooterLegal/index.js +22 -0
  95. package/dist/GlobalFooter/FooterLinks.js +53 -0
  96. package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.js +298 -0
  97. package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.js +299 -0
  98. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.js +268 -0
  99. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.js +29 -0
  100. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.js +74 -0
  101. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.js +86 -0
  102. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.js +1 -0
  103. package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.js +50 -0
  104. package/dist/GlobalFooter/FooterNavLinks/index.js +45 -0
  105. package/dist/GlobalFooter/FooterSubHeading.js +22 -0
  106. package/dist/GlobalFooter/index.js +39 -0
  107. package/dist/GlobalFooter/types.js +1 -0
  108. package/dist/GlobalHeader/GlobalHeaderItems.js +405 -0
  109. package/dist/GlobalHeader/GlobalHeaderVariants.js +211 -0
  110. package/dist/GlobalHeader/index.js +101 -0
  111. package/dist/GlobalHeader/types.js +1 -0
  112. package/dist/GlobalHeader/urlHelpers.js +21 -0
  113. package/dist/GlobalPage/index.js +53 -0
  114. package/dist/Grid/GridCollapse.js +199 -0
  115. package/dist/Grid/GridCollapse.test.js +96 -0
  116. package/dist/Grid/Subgrid.js +37 -0
  117. package/dist/Grid/getCSSFromColumnCount.js +7 -0
  118. package/dist/Grid/index.js +3 -0
  119. package/dist/HeaderHeightArea/index.js +40 -0
  120. package/dist/HeaderHeightArea/useIsInHeaderRegion.js +15 -0
  121. package/dist/HorizontalScrollMenu/index.js +75 -0
  122. package/dist/HubCard/index.js +38 -0
  123. package/dist/InfoCard/index.js +157 -0
  124. package/dist/Konamimojisplosion/Konamimojisplosion.js +7 -0
  125. package/dist/Konamimojisplosion/index.js +2 -0
  126. package/dist/Konamimojisplosion/useKonamimojisplosion.js +34 -0
  127. package/dist/LandingPage/CTA.js +11 -0
  128. package/dist/LandingPage/Description.js +14 -0
  129. package/dist/LandingPage/Feature.js +96 -0
  130. package/dist/LandingPage/PageFAQs.js +42 -0
  131. package/dist/LandingPage/PageFeatures.js +112 -0
  132. package/dist/LandingPage/PageFeaturesEnhanced.js +159 -0
  133. package/dist/LandingPage/PageFeaturesWithReferences.js +136 -0
  134. package/dist/LandingPage/PageHero.js +22 -0
  135. package/dist/LandingPage/PagePrefooter.js +74 -0
  136. package/dist/LandingPage/PageSingleFeature.js +128 -0
  137. package/dist/LandingPage/PageTestimonials.js +113 -0
  138. package/dist/LandingPage/PageVideoGallery.js +49 -0
  139. package/dist/LandingPage/Title.js +28 -0
  140. package/dist/LandingPage/TitleWithEyebrow.js +40 -0
  141. package/dist/LandingPage/index.js +14 -0
  142. package/dist/LandingPage/types.js +1 -0
  143. package/dist/LayoutMenu/AccordionMenu.js +68 -0
  144. package/dist/LayoutMenu/LayoutMenu.js +96 -0
  145. package/dist/LayoutMenu/LayoutMenuSection.js +34 -0
  146. package/dist/LayoutMenu/SectionItemLink.js +16 -0
  147. package/dist/LayoutMenu/SelectedSectionItem.js +17 -0
  148. package/dist/LayoutMenu/index.js +3 -0
  149. package/dist/LayoutMenuVariant/AccordionMenu.js +85 -0
  150. package/dist/LayoutMenuVariant/LayoutMenu.js +92 -0
  151. package/dist/LayoutMenuVariant/LayoutMenuSection.js +42 -0
  152. package/dist/LayoutMenuVariant/SectionItemLink.js +17 -0
  153. package/dist/LayoutMenuVariant/index.js +2 -0
  154. package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.js +55 -0
  155. package/dist/LearningOutcomeAssessmentScores/index.js +24 -0
  156. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.js +57 -0
  157. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.js +35 -0
  158. package/dist/LearningOutcomeBadges/index.js +2 -0
  159. package/dist/LearningOutcomeCard/index.js +178 -0
  160. package/dist/LearningOutcomeFlyout/index.js +168 -0
  161. package/dist/LearningOutcomePopover/index.js +125 -0
  162. package/dist/LearningOutcomeTile/Tile.js +79 -0
  163. package/dist/LearningOutcomeTile/index.js +114 -0
  164. package/dist/LearningOutcomeTile/types.js +11 -0
  165. package/dist/ListSection/index.js +64 -0
  166. package/dist/Loading/index.js +82 -0
  167. package/dist/LoadingCurriculumCard/index.js +82 -0
  168. package/dist/Logo/CodecademyLogo.js +19 -0
  169. package/dist/Logo/CodecademyPremiumLogo.js +35 -0
  170. package/dist/Logo/CodecademyProAltLogo.js +19 -0
  171. package/dist/Logo/CodecademyProLockupLogo.js +13 -0
  172. package/dist/Logo/CodecademyProLogo.js +21 -0
  173. package/dist/Logo/CodecademyProMonoLogo.js +22 -0
  174. package/dist/Logo/CodecademyProgramLogo.js +14 -0
  175. package/dist/Logo/CodecademyTeamsLogo.js +41 -0
  176. package/dist/Logo/index.js +30 -0
  177. package/dist/LogoFromSkillsoft/index.js +55 -0
  178. package/dist/LogoLXStudio/index.js +47 -0
  179. package/dist/LogoProCutout/index.js +31 -0
  180. package/dist/LogoProCutoutTransparent/index.js +31 -0
  181. package/dist/MarketingToaster/index.js +67 -0
  182. package/dist/NotFoundContent/index.js +55 -0
  183. package/dist/NotificationList/EmptyNotification/emptyNotificationContents.js +23 -0
  184. package/dist/NotificationList/EmptyNotification/index.js +38 -0
  185. package/dist/NotificationList/NotificationItem.js +151 -0
  186. package/dist/NotificationList/index.js +46 -0
  187. package/dist/NotificationList/typings.js +1 -0
  188. package/dist/Notifications/NotificationBell.js +72 -0
  189. package/dist/Notifications/NotificationsContents.js +85 -0
  190. package/dist/Notifications/NotificationsDropdown.js +25 -0
  191. package/dist/Notifications/__fixtures__/NotificationTestComponent.js +12 -0
  192. package/dist/Notifications/__fixtures__/stubs.js +8 -0
  193. package/dist/Notifications/constants.js +4 -0
  194. package/dist/Notifications/elements.js +21 -0
  195. package/dist/Notifications/types.js +1 -0
  196. package/dist/Notifications/useHeaderNotifications.js +37 -0
  197. package/dist/Notifications/useNotificationButtons.js +56 -0
  198. package/dist/PageAlerts/PageAlerts.js +75 -0
  199. package/dist/PageAlerts/PageAlertsProvider.js +34 -0
  200. package/dist/PageAlerts/index.js +3 -0
  201. package/dist/PageAlerts/types.js +1 -0
  202. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.js +53 -0
  203. package/dist/PageLayoutWithSidebarMenu/index.js +1 -0
  204. package/dist/PageSection/index.js +67 -0
  205. package/dist/PastDue/PastDueModalContents/index.js +30 -0
  206. package/dist/PastDue/index.js +2 -0
  207. package/dist/PastDue/pastDueMessages.js +48 -0
  208. package/dist/PausableImage/BaseImage/index.js +54 -0
  209. package/dist/PausableImage/index.js +37 -0
  210. package/dist/PlanCard/PlanCardBanner.js +28 -0
  211. package/dist/PlanCard/PlanFeature.js +83 -0
  212. package/dist/PlanCard/PopularBadge.js +13 -0
  213. package/dist/PlanCard/PricingAmount.js +117 -0
  214. package/dist/PlanCard/RecommendedBadge.js +24 -0
  215. package/dist/PlanCard/consts.js +135 -0
  216. package/dist/PlanCard/index.js +370 -0
  217. package/dist/PlanCard/types.js +62 -0
  218. package/dist/PlanCardTeams/consts.js +8 -0
  219. package/dist/PlanCardTeams/index.js +167 -0
  220. package/dist/PricingSection/PlanFeature.js +88 -0
  221. package/dist/PricingSection/PricingCard/PricingAmount.js +84 -0
  222. package/dist/PricingSection/PricingCard/RecommendedBadge.js +24 -0
  223. package/dist/PricingSection/PricingCard/consts.js +85 -0
  224. package/dist/PricingSection/PricingCard/index.js +241 -0
  225. package/dist/PricingSection/ProductCTA.js +44 -0
  226. package/dist/PricingSection/Products.js +74 -0
  227. package/dist/PricingSection/config.js +36 -0
  228. package/dist/PricingSection/index.js +58 -0
  229. package/dist/PricingSection/types.js +8 -0
  230. package/dist/ProLabel/index.js +59 -0
  231. package/dist/ProLogo/index.js +27 -0
  232. package/dist/ProLogoAlt/index.js +26 -0
  233. package/dist/ProductFeatureShowcase/index.js +120 -0
  234. package/dist/QuizScore/index.js +84 -0
  235. package/dist/RatingsBar/index.js +32 -0
  236. package/dist/ResourceCard/index.js +59 -0
  237. package/dist/ScoreSummary/SubScores.js +165 -0
  238. package/dist/ScoreSummary/helpers.js +20 -0
  239. package/dist/ScoreSummary/index.js +108 -0
  240. package/dist/ScoreSummary/types.js +1 -0
  241. package/dist/SkillPathCard/index.js +38 -0
  242. package/dist/SocialMediaSharing/SocialShareIconLink.js +49 -0
  243. package/dist/SocialMediaSharing/index.js +116 -0
  244. package/dist/SocialMediaSharingDropdown/index.js +111 -0
  245. package/dist/Testimonial/index.js +163 -0
  246. package/dist/index.js +87 -0
  247. package/dist/lib/breakpointHooks/index.js +60 -0
  248. package/dist/lib/catalogList/index.js +173 -0
  249. package/dist/lib/resourcesList/index.js +232 -0
  250. package/dist/remoteAssets/components.js +1 -0
  251. package/dist/stories/Atoms/Avatar.stories.js +16 -0
  252. package/dist/stories/Atoms/BetaSticker.stories.js +22 -0
  253. package/dist/stories/Atoms/Logos/Logo.stories.js +78 -0
  254. package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.js +15 -0
  255. package/dist/stories/Atoms/Logos/LogoLXStudio.stories.js +11 -0
  256. package/dist/stories/Atoms/Logos/ProLabel.stories.js +16 -0
  257. package/dist/stories/Atoms/Logos/ProLogoAlt.stories.js +24 -0
  258. package/dist/stories/Atoms/RatingsBar.stories.js +16 -0
  259. package/dist/stories/Atoms/Subgrid.stories.js +87 -0
  260. package/dist/stories/Molecules/AppBar.stories.js +32 -0
  261. package/dist/stories/Molecules/AppHeader/AppHeader.stories.js +84 -0
  262. package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.js +67 -0
  263. package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.js +52 -0
  264. package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.js +44 -0
  265. package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.js +34 -0
  266. package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.js +40 -0
  267. package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.js +25 -0
  268. package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.js +176 -0
  269. package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.js +84 -0
  270. package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.js +90 -0
  271. package/dist/stories/Molecules/AvatarChooser.stories.js +22 -0
  272. package/dist/stories/Molecules/BackToTopAnchor.stories.js +51 -0
  273. package/dist/stories/Molecules/Banner.stories.js +115 -0
  274. package/dist/stories/Molecules/Carousel.stories.js +47 -0
  275. package/dist/stories/Molecules/ContentGroupBaseCard.stories.js +173 -0
  276. package/dist/stories/Molecules/CurriculumCard.stories.js +208 -0
  277. package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.js +92 -0
  278. package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.js +65 -0
  279. package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.js +83 -0
  280. package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.js +20 -0
  281. package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.js +90 -0
  282. package/dist/stories/Molecules/DropdownButton.stories.js +207 -0
  283. package/dist/stories/Molecules/EditorialImage.stories.js +17 -0
  284. package/dist/stories/Molecules/EmptySection.stories.js +168 -0
  285. package/dist/stories/Molecules/ErrorContents.stories.js +19 -0
  286. package/dist/stories/Molecules/GridCollapse.stories.js +42 -0
  287. package/dist/stories/Molecules/HorizontalScrollMenu.examples.js +67 -0
  288. package/dist/stories/Molecules/HorizontalScrollMenu.stories.js +11 -0
  289. package/dist/stories/Molecules/HubCard.stories.js +28 -0
  290. package/dist/stories/Molecules/InfoCard.stories.js +30 -0
  291. package/dist/stories/Molecules/LearningOutcomeAssessmentScores.stories.js +23 -0
  292. package/dist/stories/Molecules/LearningOutcomeCard.stories.js +75 -0
  293. package/dist/stories/Molecules/LearningOutcomeFlyout.stories.js +35 -0
  294. package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.js +20 -0
  295. package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.js +10 -0
  296. package/dist/stories/Molecules/LearningOutcomePopover.stories.js +39 -0
  297. package/dist/stories/Molecules/LearningOutcomeTile.stories.js +276 -0
  298. package/dist/stories/Molecules/ListSection.stories.js +97 -0
  299. package/dist/stories/Molecules/Loading.stories.js +10 -0
  300. package/dist/stories/Molecules/NotificationList.stories.js +100 -0
  301. package/dist/stories/Molecules/PageSection.stories.js +67 -0
  302. package/dist/stories/Molecules/PastDueModalContents.stories.js +62 -0
  303. package/dist/stories/Molecules/PausableImage.stories.js +16 -0
  304. package/dist/stories/Molecules/ResourceCard.stories.js +18 -0
  305. package/dist/stories/Molecules/SocialMediaSharing.stories.js +20 -0
  306. package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.js +20 -0
  307. package/dist/stories/Molecules/Testimonial.stories.js +63 -0
  308. package/dist/stories/Organisms/GlobalFooter.stories.js +29 -0
  309. package/dist/stories/Organisms/GlobalHeader/About.stories.js +136 -0
  310. package/dist/stories/Organisms/GlobalHeader/Anon.stories.js +73 -0
  311. package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.js +32 -0
  312. package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.js +108 -0
  313. package/dist/stories/Organisms/GlobalHeader/Free.stories.js +133 -0
  314. package/dist/stories/Organisms/GlobalHeader/Pro.stories.js +199 -0
  315. package/dist/stories/Organisms/GlobalHeader/Simple.stories.js +31 -0
  316. package/dist/stories/Organisms/GlobalPage.stories.js +142 -0
  317. package/dist/stories/Organisms/LayoutMenu.stories.js +242 -0
  318. package/dist/stories/Organisms/LayoutMenuVariant.stories.js +224 -0
  319. package/dist/stories/Organisms/PageAlerts.example.js +42 -0
  320. package/dist/stories/Organisms/PageAlerts.stories.js +15 -0
  321. package/dist/stories/Organisms/PageFeatures.stories.js +183 -0
  322. package/dist/stories/Organisms/PageHero.stories.js +145 -0
  323. package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.js +34 -0
  324. package/dist/stories/Organisms/PagePrefooter.stories.js +62 -0
  325. package/dist/stories/Organisms/PageSingleFeature.stories.js +158 -0
  326. package/dist/stories/Organisms/PageVideoGallery.stories.js +70 -0
  327. package/dist/stories/Organisms/PlanCard.stories.js +98 -0
  328. package/dist/stories/Organisms/PlanCardTeams.stories.js +27 -0
  329. package/dist/stories/Organisms/ScoreSummary.stories.js +299 -0
  330. package/package.json +2 -2
@@ -0,0 +1,60 @@
1
+ import { breakpoints as originalBreakpoints } from '@codecademy/gamut-styles';
2
+ import mapValues from 'lodash/mapValues';
3
+ import { createBreakpoint } from 'react-use';
4
+ export const breakpoints = mapValues({
5
+ xxs: 0,
6
+ ...originalBreakpoints
7
+ }, value => parseInt(value, 10));
8
+
9
+ /**
10
+ * useBreakpoint will provide the current breakpoint to a React component.
11
+ *
12
+ * If you think you need this, make sure to think twice. It is really nice
13
+ * to allow your styles layer to concern itself about the appearance of a
14
+ * component at different screen sizes, and not have to maintain two different
15
+ * components that could drift from eachother. That being said, sometimes
16
+ * The content, layout, and/or functionality of a mobile page/component can
17
+ * be so different that it is non-performant or difficult to maintain the
18
+ * changes in only styles. For those cases where it is actually easier to maintain
19
+ * two components or a programatic distinction of the breakpoint, this helper
20
+ * exists.
21
+ *
22
+ * @deprecated
23
+ * Use Box, LayoutGrid, or other responsive Gamut components instead.
24
+ * JavaScript-time screen size checks are notorious for worsening page performance.
25
+ * @see https://web.dev/cls
26
+ */
27
+ export const useBreakpoint = createBreakpoint(breakpoints);
28
+
29
+ /**
30
+ * @deprecated
31
+ * Use Box, LayoutGrid, or other responsive Gamut components instead.
32
+ * JavaScript-time screen size checks are notorious for worsening page performance.
33
+ * @see https://web.dev/cls
34
+ */
35
+ export function useBreakpointAtOrAbove(breakpoint) {
36
+ const currentBreakpoint = useBreakpoint();
37
+ return breakpoints[currentBreakpoint] >= breakpoints[breakpoint];
38
+ }
39
+
40
+ /**
41
+ * @deprecated
42
+ * Use Box, LayoutGrid, or other responsive Gamut components instead.
43
+ * JavaScript-time screen size checks are notorious for worsening page performance.
44
+ * @see https://web.dev/cls
45
+ */
46
+ export function useBreakpointAt(breakpoint) {
47
+ const currentBreakpoint = useBreakpoint();
48
+ return breakpoints[currentBreakpoint] === breakpoints[breakpoint];
49
+ }
50
+
51
+ /**
52
+ * @deprecated
53
+ * Use Box, LayoutGrid, or other responsive Gamut components instead.
54
+ * JavaScript-time screen size checks are notorious for worsening page performance.
55
+ * @see https://web.dev/cls
56
+ */
57
+ export function useBreakpointAtOrBelow(breakpoint) {
58
+ const currentBreakpoint = useBreakpoint();
59
+ return breakpoints[currentBreakpoint] <= breakpoints[breakpoint];
60
+ }
@@ -0,0 +1,173 @@
1
+ import { renderNewBadge } from '../resourcesList';
2
+ export const careerPaths = [{
3
+ id: 'full-stack-engineer-career-path',
4
+ href: '/learn/paths/full-stack-engineer-career-path',
5
+ trackingTarget: 'topnav_catalog_career_full_stack_engineer',
6
+ text: 'Full-Stack Engineer',
7
+ type: 'link'
8
+ }, {
9
+ id: 'back-end-engineer-career-path',
10
+ href: '/learn/paths/back-end-engineer-career-path',
11
+ trackingTarget: 'topnav_catalog_career_back-end-engineer',
12
+ text: 'Back-End Engineer',
13
+ type: 'link'
14
+ }, {
15
+ id: 'ios-developer',
16
+ href: '/learn/paths/ios-developer',
17
+ trackingTarget: 'topnav_catalog_career_ios-developer',
18
+ text: 'iOS Developer',
19
+ type: 'link'
20
+ }, {
21
+ id: 'front-end-engineer-career-path',
22
+ href: '/learn/paths/front-end-engineer-career-path',
23
+ trackingTarget: 'topnav_catalog_career_front-end-engineer',
24
+ text: 'Front-End Engineer',
25
+ type: 'link'
26
+ }, {
27
+ id: 'computer-science',
28
+ href: '/learn/paths/computer-science',
29
+ trackingTarget: 'topnav_catalog_career_computer-science',
30
+ text: 'Computer Science',
31
+ type: 'link'
32
+ }, {
33
+ id: 'data-science',
34
+ href: '/pages/data-science-career-specializations',
35
+ trackingTarget: 'topnav_catalog_career_data_science',
36
+ text: 'Data Scientist',
37
+ type: 'link'
38
+ }];
39
+ export const liveLearningHubItems = {
40
+ title: 'Live Learning',
41
+ description: 'Build skills faster through live learning with expert instructors.',
42
+ data: [{
43
+ id: 'bootcamps',
44
+ href: '/live-learning',
45
+ text: 'Bootcamps',
46
+ description: 'Learn live from industry experts.',
47
+ trackingTarget: 'topnav_catalog_live_learning_bootcamps',
48
+ type: 'link',
49
+ newTab: true,
50
+ badge: renderNewBadge()
51
+ }, {
52
+ id: 'gk',
53
+ href: '/live-learning#GKLiveLearning',
54
+ text: 'Codecademy x GK',
55
+ description: 'Instructor-led courses, offered via our partner organization.',
56
+ trackingTarget: 'topnav_catalog_live_learning_gk_codecademy',
57
+ type: 'link',
58
+ newTab: true,
59
+ badge: renderNewBadge()
60
+ }]
61
+ };
62
+ export const topLanguages = [{
63
+ id: 'python',
64
+ href: '/catalog/language/python',
65
+ trackingTarget: 'topnav_catalog_skill_python',
66
+ text: 'Python',
67
+ type: 'link'
68
+ }, {
69
+ id: 'javascript',
70
+ href: '/catalog/language/javascript',
71
+ trackingTarget: 'topnav_catalog_skill_javascript',
72
+ text: 'JavaScript',
73
+ type: 'link'
74
+ }, {
75
+ id: 'html-css',
76
+ href: '/catalog/language/html-css',
77
+ trackingTarget: 'topnav_catalog_skill_html-css',
78
+ text: 'HTML & CSS',
79
+ type: 'link'
80
+ }, {
81
+ id: 'sql',
82
+ href: '/catalog/language/sql',
83
+ trackingTarget: 'topnav_catalog_skill_sql',
84
+ text: 'SQL',
85
+ type: 'link'
86
+ }, {
87
+ id: 'java',
88
+ href: '/catalog/language/java',
89
+ trackingTarget: 'topnav_catalog_skill_java',
90
+ text: 'Java',
91
+ type: 'link'
92
+ }, {
93
+ id: 'c-plus-plus',
94
+ href: '/catalog/language/c-plus-plus',
95
+ trackingTarget: 'topnav_catalog_skill_c-plus-plus',
96
+ text: 'C++',
97
+ type: 'link'
98
+ }, {
99
+ id: 'c-sharp',
100
+ href: '/catalog/language/c-sharp',
101
+ trackingTarget: 'topnav_catalog_skill_c-sharp',
102
+ text: 'C#',
103
+ type: 'link'
104
+ }, {
105
+ id: 'c',
106
+ href: '/catalog/language/c',
107
+ trackingTarget: 'topnav_catalog_skill_c',
108
+ text: 'C',
109
+ type: 'link'
110
+ }, {
111
+ id: 'php',
112
+ href: '/catalog/language/php',
113
+ trackingTarget: 'topnav_catalog_skill_php',
114
+ text: 'PHP',
115
+ type: 'link'
116
+ }, {
117
+ id: 'r',
118
+ href: '/catalog/language/r',
119
+ trackingTarget: 'topnav_catalog_skill_r',
120
+ text: 'R',
121
+ type: 'link'
122
+ }, {
123
+ id: 'it',
124
+ href: '/catalog/subject/information-technology',
125
+ trackingTarget: 'topnav_catalog_skill_it',
126
+ text: 'IT',
127
+ type: 'link'
128
+ }, {
129
+ id: 'cybersecurity',
130
+ href: '/catalog/subject/cybersecurity',
131
+ trackingTarget: 'topnav_catalog_skill_cybersecurity',
132
+ text: 'Cybersecurity',
133
+ type: 'link'
134
+ }];
135
+ export const getTopSubjects = () => {
136
+ return [{
137
+ id: 'cloud-computing',
138
+ href: '/catalog/subject/cloud-computing',
139
+ trackingTarget: 'topnav_catalog_skill_cloud-computing',
140
+ text: 'Cloud computing',
141
+ type: 'link'
142
+ }, {
143
+ id: 'artificial-intelligence',
144
+ href: '/catalog/subject/artificial-intelligence',
145
+ trackingTarget: 'topnav_catalog_skill_ai',
146
+ text: 'AI',
147
+ type: 'link'
148
+ }, {
149
+ id: 'web-development',
150
+ href: '/catalog/subject/web-development',
151
+ trackingTarget: 'topnav_catalog_skill_web_development',
152
+ text: 'Web development',
153
+ type: 'link'
154
+ }, {
155
+ id: 'data-science',
156
+ href: '/catalog/subject/data-science',
157
+ trackingTarget: 'topnav_catalog_skill_data-science',
158
+ text: 'Data science',
159
+ type: 'link'
160
+ }, {
161
+ id: 'web-design',
162
+ href: '/catalog/subject/web-design',
163
+ trackingTarget: 'topnav_catalog_skill_web-design',
164
+ text: 'Web design',
165
+ type: 'link'
166
+ }, {
167
+ id: 'professional-skills',
168
+ href: '/catalog/subject/professional-skills',
169
+ trackingTarget: 'topnav_catalog_skill_professional-skills',
170
+ text: 'Professional skills',
171
+ type: 'link'
172
+ }];
173
+ };
@@ -0,0 +1,232 @@
1
+ import { Badge } from '@codecademy/gamut';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ export const renderBadge = text => /*#__PURE__*/_jsx(Badge, {
4
+ size: "sm",
5
+ ml: 8,
6
+ alignSelf: "center",
7
+ children: text
8
+ });
9
+ export const renderNewBadge = (mt = 2) => /*#__PURE__*/_jsx(Badge, {
10
+ size: "sm",
11
+ mt: mt,
12
+ ml: 8,
13
+ alignSelf: "start",
14
+ variant: "accent",
15
+ children: "New"
16
+ });
17
+ export const footerResourcesList = [{
18
+ id: 'articles',
19
+ href: '/articles',
20
+ trackingTarget: 'articles',
21
+ text: 'Articles'
22
+ }, {
23
+ id: 'blog',
24
+ href: 'https://codecademy.com/resources/blog',
25
+ trackingTarget: 'blog',
26
+ text: 'Blog',
27
+ newTab: true
28
+ }, {
29
+ id: 'cheatsheets',
30
+ href: '/resources/cheatsheets/all',
31
+ trackingTarget: 'cheatsheets_home',
32
+ text: 'Cheatsheets'
33
+ }, {
34
+ id: 'challenges',
35
+ href: '/code-challenges',
36
+ trackingTarget: 'challenges',
37
+ text: 'Code challenges'
38
+ }, {
39
+ id: 'docs',
40
+ href: '/resources/docs',
41
+ trackingTarget: 'docs',
42
+ text: 'Docs'
43
+ }, {
44
+ id: 'projects',
45
+ href: '/projects',
46
+ trackingTarget: 'projects',
47
+ text: 'Projects'
48
+ }, {
49
+ id: 'videos',
50
+ href: '/resources/videos',
51
+ trackingTarget: 'videos_homepage',
52
+ text: 'Videos'
53
+ }, {
54
+ id: 'workspaces',
55
+ href: 'https://codecademy.com/pages/workspaces',
56
+ trackingTarget: 'workspaces',
57
+ text: 'Workspaces'
58
+ }];
59
+ export const getHeaderResourcesList = () => {
60
+ const inspirationSection = {
61
+ title: 'Inspiration & career',
62
+ links: [{
63
+ text: 'View all blog topics',
64
+ href: '/resources/blog',
65
+ id: 'view-all-inspiration',
66
+ trackingTarget: 'topnav_resources_inspiration_all',
67
+ type: 'link',
68
+ newTab: true
69
+ }],
70
+ data: [{
71
+ id: 'career-advice',
72
+ href: '/resources/blog/category/career/',
73
+ text: 'Career advice',
74
+ description: 'Get answers to questions about coding careers.',
75
+ trackingTarget: 'topnav_resources_inspiration_career_advice',
76
+ type: 'link',
77
+ newTab: true
78
+ }, {
79
+ id: 'learning-tips',
80
+ href: '/resources/blog/category/learning-tips/',
81
+ text: 'Learning tips',
82
+ description: 'Learn where to start and how to stay motivated.',
83
+ trackingTarget: 'topnav_resources_inspiration_learning_tips',
84
+ type: 'link',
85
+ newTab: true
86
+ }, {
87
+ id: 'career-center',
88
+ href: '/career-center',
89
+ text: 'Career Center',
90
+ description: 'Get tools to reach your tech career goals.',
91
+ trackingTarget: 'topnav_resources_inspiration_career_center',
92
+ type: 'link',
93
+ newTab: true,
94
+ badge: renderNewBadge()
95
+ }]
96
+ };
97
+ return [{
98
+ title: 'Docs',
99
+ description: 'Find definitions, code syntax, and more -- or contribute your own code documentation.',
100
+ links: [{
101
+ text: 'View all docs',
102
+ href: '/resources/docs',
103
+ id: 'view-all-docs',
104
+ trackingTarget: 'topnav_resources_docs_all',
105
+ type: 'link'
106
+ }, {
107
+ text: 'Contribute to docs',
108
+ href: '/pages/contribute-docs',
109
+ id: 'contribute-to-docs',
110
+ trackingTarget: 'topnav_resources_contribution_guide',
111
+ type: 'link'
112
+ }],
113
+ data: [{
114
+ id: 'c',
115
+ href: '/resources/docs/c',
116
+ trackingTarget: 'topnav_resources_docs_c',
117
+ text: 'C',
118
+ type: 'link'
119
+ }, {
120
+ id: 'html',
121
+ href: '/resources/docs/html',
122
+ trackingTarget: 'topnav_resources_docs_html',
123
+ text: 'HTML',
124
+ type: 'link'
125
+ }, {
126
+ id: 'python',
127
+ href: '/resources/docs/python',
128
+ trackingTarget: 'topnav_resources_docs_python',
129
+ text: 'Python',
130
+ type: 'link'
131
+ }, {
132
+ id: 'cpp',
133
+ href: '/resources/docs/cpp',
134
+ trackingTarget: 'topnav_resources_docs_cpp',
135
+ text: 'C++',
136
+ type: 'link'
137
+ }, {
138
+ id: 'java',
139
+ href: '/resources/docs/java',
140
+ trackingTarget: 'topnav_resources_docs_java',
141
+ text: 'Java',
142
+ type: 'link'
143
+ }, {
144
+ id: 'react',
145
+ href: '/resources/docs/react',
146
+ trackingTarget: 'topnav_resources_docs_react',
147
+ text: 'React',
148
+ type: 'link'
149
+ }, {
150
+ id: 'css',
151
+ href: '/resources/docs/css',
152
+ trackingTarget: 'topnav_resources_docs_css',
153
+ text: 'CSS',
154
+ type: 'link'
155
+ }, {
156
+ id: 'javascript',
157
+ href: '/resources/docs/javascript',
158
+ trackingTarget: 'topnav_resources_docs_javascript',
159
+ text: 'JavaScript',
160
+ type: 'link'
161
+ }, {
162
+ id: 'sql',
163
+ href: '/resources/docs/sql',
164
+ trackingTarget: 'topnav_resources_docs_sql',
165
+ text: 'SQL',
166
+ type: 'link'
167
+ }, {
168
+ id: 'git',
169
+ href: '/resources/docs/git',
170
+ trackingTarget: 'topnav_resources_docs_git',
171
+ text: 'Git',
172
+ type: 'link'
173
+ }, {
174
+ id: 'php',
175
+ href: '/resources/docs/php',
176
+ trackingTarget: 'topnav_resources_docs_php',
177
+ text: 'PHP',
178
+ type: 'link'
179
+ }, {
180
+ id: 'uiux',
181
+ href: '/resources/docs/uiux',
182
+ trackingTarget: 'topnav_resources_docs_uiux',
183
+ text: 'UI/UX',
184
+ type: 'link'
185
+ }]
186
+ }, {
187
+ title: 'Learning & practice tools',
188
+ data: [{
189
+ id: 'articles',
190
+ href: '/articles',
191
+ text: 'Articles',
192
+ description: 'Learn about technical concepts.',
193
+ trackingTarget: 'topnav_resources_learning_articles',
194
+ type: 'link'
195
+ }, {
196
+ id: 'cheatsheets',
197
+ href: '/resources/cheatsheets/all',
198
+ text: 'Cheatsheets',
199
+ description: 'Review concepts from your courses.',
200
+ trackingTarget: 'topnav_resources_learning_cheatsheets',
201
+ type: 'link'
202
+ }, {
203
+ id: 'code-challenges',
204
+ href: '/code-challenges',
205
+ text: 'Code challenges',
206
+ description: 'Test your knowledge and prep for interviews.',
207
+ trackingTarget: 'topnav_resources_learning_code_challenges',
208
+ type: 'link'
209
+ }, {
210
+ id: 'projects',
211
+ href: '/projects',
212
+ text: 'Projects',
213
+ description: 'Practice and build your portfolio.',
214
+ trackingTarget: 'topnav_resources_learning_projects',
215
+ type: 'link'
216
+ }, {
217
+ id: 'videos',
218
+ href: '/resources/videos',
219
+ text: 'Videos',
220
+ description: 'Watch tutorials, project walkthroughs, and more.',
221
+ trackingTarget: 'topnav_resources_learning_videos',
222
+ type: 'link'
223
+ }, {
224
+ id: 'workspaces',
225
+ href: '/pages/workspaces',
226
+ text: 'Workspaces',
227
+ description: 'Build and share projects in your browser.',
228
+ trackingTarget: 'topnav_resources_learning_workspaces',
229
+ type: 'link'
230
+ }]
231
+ }, inspirationSection];
232
+ };
@@ -0,0 +1 @@
1
+ export const BASE_STATIC_ASSET_PATH = 'https://static-assets.codecademy.com/components';
@@ -0,0 +1,16 @@
1
+ import { Avatar } from '../../index';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ const meta = {
4
+ component: Avatar,
5
+ args: {
6
+ alt: 'The Codey character drinking Boba tea',
7
+ src: 'https://content.codecademy.com/courses/free/boba.svg'
8
+ }
9
+ };
10
+ export default meta;
11
+ export const Default = {
12
+ render: args => /*#__PURE__*/_jsx(Avatar, {
13
+ ...args
14
+ }),
15
+ name: 'Avatar'
16
+ };
@@ -0,0 +1,22 @@
1
+ import { BetaSticker } from '../../index';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ const meta = {
4
+ component: BetaSticker,
5
+ args: {}
6
+ };
7
+ export default meta;
8
+ export const Default = {
9
+ render: args => /*#__PURE__*/_jsx(BetaSticker, {
10
+ ...args
11
+ }),
12
+ name: 'BetaSticker'
13
+ };
14
+ export const Small = {
15
+ render: args => /*#__PURE__*/_jsx(BetaSticker, {
16
+ ...args
17
+ }),
18
+ name: 'Small',
19
+ args: {
20
+ size: 'small'
21
+ }
22
+ };
@@ -0,0 +1,78 @@
1
+ import { Logo } from '../../../index';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ const meta = {
4
+ component: Logo
5
+ };
6
+ export default meta;
7
+ export const Default = {
8
+ render: args => /*#__PURE__*/_jsx(Logo, {
9
+ ...args
10
+ }),
11
+ name: 'Default',
12
+ args: {
13
+ type: 'default'
14
+ }
15
+ };
16
+ export const Pro = {
17
+ render: args => /*#__PURE__*/_jsx(Logo, {
18
+ ...args
19
+ }),
20
+ name: 'Pro',
21
+ args: {
22
+ type: 'pro'
23
+ }
24
+ };
25
+ export const ProAlt = {
26
+ render: args => /*#__PURE__*/_jsx(Logo, {
27
+ ...args
28
+ }),
29
+ name: 'Pro Alt',
30
+ args: {
31
+ type: 'proAlt'
32
+ }
33
+ };
34
+ export const ProLockup = {
35
+ render: args => /*#__PURE__*/_jsx(Logo, {
36
+ ...args
37
+ }),
38
+ name: 'Pro Lockup',
39
+ args: {
40
+ type: 'proLockup'
41
+ }
42
+ };
43
+ export const Program = {
44
+ render: args => /*#__PURE__*/_jsx(Logo, {
45
+ ...args
46
+ }),
47
+ name: 'Program',
48
+ args: {
49
+ type: 'program'
50
+ }
51
+ };
52
+ export const ProMono = {
53
+ render: args => /*#__PURE__*/_jsx(Logo, {
54
+ ...args
55
+ }),
56
+ name: 'Pro Mono',
57
+ args: {
58
+ type: 'proMono'
59
+ }
60
+ };
61
+ export const Premium = {
62
+ render: args => /*#__PURE__*/_jsx(Logo, {
63
+ ...args
64
+ }),
65
+ name: 'Premium',
66
+ args: {
67
+ type: 'premium'
68
+ }
69
+ };
70
+ export const Teams = {
71
+ render: args => /*#__PURE__*/_jsx(Logo, {
72
+ ...args
73
+ }),
74
+ name: 'Teams',
75
+ args: {
76
+ type: 'teams'
77
+ }
78
+ };
@@ -0,0 +1,15 @@
1
+ import { LogoFromSkillsoft } from '../../../index';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ const meta = {
4
+ args: {
5
+ height: 40
6
+ },
7
+ component: LogoFromSkillsoft
8
+ };
9
+ export default meta;
10
+ export const Default = {
11
+ render: args => /*#__PURE__*/_jsx(LogoFromSkillsoft, {
12
+ ...args
13
+ }),
14
+ name: 'LogoFromSkillsoft'
15
+ };
@@ -0,0 +1,11 @@
1
+ import { LogoLXStudio } from '../../../index';
2
+ const meta = {
3
+ args: {
4
+ height: 40
5
+ },
6
+ component: LogoLXStudio
7
+ };
8
+ export default meta;
9
+ export const Default = {
10
+ args: {}
11
+ };
@@ -0,0 +1,16 @@
1
+ import { ProLabel } from '../../../index';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ const meta = {
4
+ component: ProLabel,
5
+ args: {
6
+ mode: 'light',
7
+ height: 40
8
+ }
9
+ };
10
+ export default meta;
11
+ export const Default = {
12
+ render: args => /*#__PURE__*/_jsx(ProLabel, {
13
+ ...args
14
+ }),
15
+ name: 'ProLabel'
16
+ };
@@ -0,0 +1,24 @@
1
+ import { ProLogoAlt } from '../../../index';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ const meta = {
4
+ component: ProLogoAlt,
5
+ argTypes: {
6
+ backgroundColor: {
7
+ control: {
8
+ type: 'select'
9
+ }
10
+ },
11
+ textColor: {
12
+ control: {
13
+ type: 'select'
14
+ }
15
+ }
16
+ }
17
+ };
18
+ export default meta;
19
+ export const Default = {
20
+ render: args => /*#__PURE__*/_jsx(ProLogoAlt, {
21
+ ...args
22
+ }),
23
+ name: 'ProLogoAlt'
24
+ };
@@ -0,0 +1,16 @@
1
+ import { RatingsBar } from '../../index';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ const meta = {
4
+ component: RatingsBar,
5
+ args: {
6
+ minimumPercent: 5,
7
+ percent: 75
8
+ }
9
+ };
10
+ export default meta;
11
+ export const Default = {
12
+ render: args => /*#__PURE__*/_jsx(RatingsBar, {
13
+ ...args
14
+ }),
15
+ name: 'RatingsBar'
16
+ };