@codecademy/brand 6.0.0-alpha.0839dde39.0 → 6.0.0-alpha.d201d4c8f.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 (1077) hide show
  1. package/dist/AbbreviatedCommunityEventCard/index.cjs.map +1 -1
  2. package/dist/AbbreviatedCommunityEventCard/index.d.cts.map +1 -1
  3. package/dist/AbbreviatedCommunityEventCard/index.d.ts.map +1 -1
  4. package/dist/AbbreviatedCommunityEventCard/index.js.map +1 -1
  5. package/dist/AccordionAreaDeprecated/index.cjs.map +1 -1
  6. package/dist/AccordionAreaDeprecated/index.d.cts +0 -1
  7. package/dist/AccordionAreaDeprecated/index.d.cts.map +1 -1
  8. package/dist/AccordionAreaDeprecated/index.d.ts +0 -1
  9. package/dist/AccordionAreaDeprecated/index.d.ts.map +1 -1
  10. package/dist/AccordionAreaDeprecated/index.js.map +1 -1
  11. package/dist/AccordionButtonDeprecated/ButtonDeprecated/index.cjs +1 -0
  12. package/dist/AccordionButtonDeprecated/ButtonDeprecated/index.cjs.map +1 -1
  13. package/dist/AccordionButtonDeprecated/ButtonDeprecated/index.js +1 -1
  14. package/dist/AccordionButtonDeprecated/ButtonDeprecated/index.js.map +1 -1
  15. package/dist/AccordionButtonDeprecated/ButtonDeprecatedBase/index.cjs.map +1 -1
  16. package/dist/AccordionButtonDeprecated/ButtonDeprecatedBase/index.d.cts +0 -1
  17. package/dist/AccordionButtonDeprecated/ButtonDeprecatedBase/index.d.cts.map +1 -1
  18. package/dist/AccordionButtonDeprecated/ButtonDeprecatedBase/index.d.ts +0 -1
  19. package/dist/AccordionButtonDeprecated/ButtonDeprecatedBase/index.d.ts.map +1 -1
  20. package/dist/AccordionButtonDeprecated/ButtonDeprecatedBase/index.js.map +1 -1
  21. package/dist/AccordionButtonDeprecated/index.cjs.map +1 -1
  22. package/dist/AccordionButtonDeprecated/index.d.cts +0 -1
  23. package/dist/AccordionButtonDeprecated/index.d.cts.map +1 -1
  24. package/dist/AccordionButtonDeprecated/index.d.ts +0 -1
  25. package/dist/AccordionButtonDeprecated/index.d.ts.map +1 -1
  26. package/dist/AccordionButtonDeprecated/index.js.map +1 -1
  27. package/dist/AccordionDeprecated/index.cjs.map +1 -1
  28. package/dist/AccordionDeprecated/index.d.cts +0 -1
  29. package/dist/AccordionDeprecated/index.d.cts.map +1 -1
  30. package/dist/AccordionDeprecated/index.d.ts +0 -1
  31. package/dist/AccordionDeprecated/index.d.ts.map +1 -1
  32. package/dist/AccordionDeprecated/index.js.map +1 -1
  33. package/dist/AppBar/AppBarSection.cjs.map +1 -1
  34. package/dist/AppBar/AppBarSection.d.cts +0 -1
  35. package/dist/AppBar/AppBarSection.d.cts.map +1 -1
  36. package/dist/AppBar/AppBarSection.d.ts +0 -1
  37. package/dist/AppBar/AppBarSection.d.ts.map +1 -1
  38. package/dist/AppBar/AppBarSection.js.map +1 -1
  39. package/dist/AppBar/index.cjs +3 -4
  40. package/dist/AppBar/index.cjs.map +1 -1
  41. package/dist/AppBar/index.d.cts +1 -2
  42. package/dist/AppBar/index.d.cts.map +1 -1
  43. package/dist/AppBar/index.d.ts +1 -2
  44. package/dist/AppBar/index.d.ts.map +1 -1
  45. package/dist/AppBar/index.js +3 -4
  46. package/dist/AppBar/index.js.map +1 -1
  47. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/MarketingBanner.cjs.map +1 -1
  48. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/MarketingBanner.js.map +1 -1
  49. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/NavPanels.cjs +1 -0
  50. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/NavPanels.cjs.map +1 -1
  51. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/NavPanels.js +1 -1
  52. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/NavPanels.js.map +1 -1
  53. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/consts.cjs +1 -0
  54. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/consts.cjs.map +1 -1
  55. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/consts.js +1 -1
  56. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/consts.js.map +1 -1
  57. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.cjs.map +1 -1
  58. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.cts +2 -0
  59. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.cts.map +1 -1
  60. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.ts +2 -0
  61. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.ts.map +1 -1
  62. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.js.map +1 -1
  63. package/dist/AppHeader/AppHeaderElements/AppHeaderDietCard/index.cjs.map +1 -1
  64. package/dist/AppHeader/AppHeaderElements/AppHeaderDietCard/index.js.map +1 -1
  65. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.cjs.map +1 -1
  66. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.cts +1 -1
  67. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.cts.map +1 -1
  68. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.ts +1 -1
  69. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.ts.map +1 -1
  70. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.js.map +1 -1
  71. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.cjs.map +1 -1
  72. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.js.map +1 -1
  73. package/dist/AppHeader/AppHeaderElements/AppHeaderFeatureCard/index.cjs.map +1 -1
  74. package/dist/AppHeader/AppHeaderElements/AppHeaderFeatureCard/index.js.map +1 -1
  75. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.cjs.map +1 -1
  76. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.cts +1 -1
  77. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.cts.map +1 -1
  78. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts +1 -1
  79. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts.map +1 -1
  80. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.js.map +1 -1
  81. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/elements.cjs.map +1 -1
  82. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/elements.js.map +1 -1
  83. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.cjs.map +1 -1
  84. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.js.map +1 -1
  85. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.cjs +1 -0
  86. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.cjs.map +1 -1
  87. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.js +1 -1
  88. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.js.map +1 -1
  89. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.cjs.map +1 -1
  90. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.cts +1 -1
  91. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.cts.map +1 -1
  92. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.ts +1 -1
  93. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.ts.map +1 -1
  94. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.js.map +1 -1
  95. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.cjs +1 -0
  96. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.cjs.map +1 -1
  97. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.js +1 -1
  98. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.js.map +1 -1
  99. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.cjs.map +1 -1
  100. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.js.map +1 -1
  101. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.cjs +1 -0
  102. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.cjs.map +1 -1
  103. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.js +1 -1
  104. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.js.map +1 -1
  105. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/NavPanels.cjs +1 -0
  106. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/NavPanels.cjs.map +1 -1
  107. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/NavPanels.js +1 -1
  108. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/NavPanels.js.map +1 -1
  109. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/consts.cjs.map +1 -1
  110. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/consts.js.map +1 -1
  111. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.cjs.map +1 -1
  112. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.cts +2 -0
  113. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.cts.map +1 -1
  114. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.ts +2 -0
  115. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.ts.map +1 -1
  116. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.js.map +1 -1
  117. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileBackButton.cjs.map +1 -1
  118. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileBackButton.js.map +1 -1
  119. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileNavMenu.cjs.map +1 -1
  120. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileNavMenu.js.map +1 -1
  121. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/NavTabs.cjs.map +1 -1
  122. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/NavTabs.js.map +1 -1
  123. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/PanelLayout.cjs.map +1 -1
  124. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/PanelLayout.js.map +1 -1
  125. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/elements.cjs.map +1 -1
  126. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/elements.js.map +1 -1
  127. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/index.cjs.map +1 -1
  128. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/index.js.map +1 -1
  129. package/dist/AppHeader/AppHeaderElements/AppHeaderSkillTile/index.cjs.map +1 -1
  130. package/dist/AppHeader/AppHeaderElements/AppHeaderSkillTile/index.js.map +1 -1
  131. package/dist/AppHeader/Search/DefaultResults.cjs.map +1 -1
  132. package/dist/AppHeader/Search/DefaultResults.js.map +1 -1
  133. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.cjs +1 -0
  134. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.cjs.map +1 -1
  135. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.js +1 -1
  136. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.js.map +1 -1
  137. package/dist/AppHeader/Search/SearchButton.cjs.map +1 -1
  138. package/dist/AppHeader/Search/SearchButton.js.map +1 -1
  139. package/dist/AppHeader/Search/SearchPane.cjs.map +1 -1
  140. package/dist/AppHeader/Search/SearchPane.js.map +1 -1
  141. package/dist/AppHeader/Search/SearchTrackingProvider/index.cjs +1 -0
  142. package/dist/AppHeader/Search/SearchTrackingProvider/index.cjs.map +1 -1
  143. package/dist/AppHeader/Search/SearchTrackingProvider/index.js +1 -1
  144. package/dist/AppHeader/Search/SearchTrackingProvider/index.js.map +1 -1
  145. package/dist/AppHeader/Search/SearchWorker/PromiseLookup.cjs.map +1 -1
  146. package/dist/AppHeader/Search/SearchWorker/PromiseLookup.js.map +1 -1
  147. package/dist/AppHeader/Search/SearchWorker/index.d.cts +0 -1
  148. package/dist/AppHeader/Search/SearchWorker/index.d.cts.map +1 -1
  149. package/dist/AppHeader/Search/SearchWorker/index.d.ts +0 -1
  150. package/dist/AppHeader/Search/SearchWorker/index.d.ts.map +1 -1
  151. package/dist/AppHeader/Search/SearchWorker/types.cjs.map +1 -1
  152. package/dist/AppHeader/Search/SearchWorker/types.d.cts +1 -1
  153. package/dist/AppHeader/Search/SearchWorker/types.d.cts.map +1 -1
  154. package/dist/AppHeader/Search/SearchWorker/types.d.ts +1 -1
  155. package/dist/AppHeader/Search/SearchWorker/types.d.ts.map +1 -1
  156. package/dist/AppHeader/Search/SearchWorker/types.js.map +1 -1
  157. package/dist/AppHeader/Search/SearchWorker/worker.cjs.map +1 -1
  158. package/dist/AppHeader/Search/SearchWorker/worker.js.map +1 -1
  159. package/dist/AppHeader/Search/consts.cjs.map +1 -1
  160. package/dist/AppHeader/Search/consts.d.cts.map +1 -1
  161. package/dist/AppHeader/Search/consts.d.ts.map +1 -1
  162. package/dist/AppHeader/Search/consts.js.map +1 -1
  163. package/dist/AppHeader/Search/hooks/useUrlChangeDetection.cjs.map +1 -1
  164. package/dist/AppHeader/Search/hooks/useUrlChangeDetection.js.map +1 -1
  165. package/dist/AppHeader/Search/types.d.cts +2 -0
  166. package/dist/AppHeader/Search/types.d.cts.map +1 -1
  167. package/dist/AppHeader/Search/types.d.ts +2 -0
  168. package/dist/AppHeader/Search/types.d.ts.map +1 -1
  169. package/dist/AppHeader/Search/useHeaderSearch.cjs.map +1 -1
  170. package/dist/AppHeader/Search/useHeaderSearch.js.map +1 -1
  171. package/dist/AppHeader/index.cjs +10 -0
  172. package/dist/AppHeader/index.cjs.map +1 -1
  173. package/dist/AppHeader/index.d.cts +2 -2
  174. package/dist/AppHeader/index.d.cts.map +1 -1
  175. package/dist/AppHeader/index.d.ts +2 -2
  176. package/dist/AppHeader/index.d.ts.map +1 -1
  177. package/dist/AppHeader/index.js +1 -1
  178. package/dist/AppHeader/index.js.map +1 -1
  179. package/dist/AppHeader/shared/elements.cjs.map +1 -1
  180. package/dist/AppHeader/shared/elements.d.cts +2 -0
  181. package/dist/AppHeader/shared/elements.d.ts +3 -1
  182. package/dist/AppHeader/shared/elements.js.map +1 -1
  183. package/dist/AppHeader/shared/index.cjs +14 -0
  184. package/dist/AppHeader/shared/index.d.cts +5 -1
  185. package/dist/AppHeader/shared/index.d.ts +5 -1
  186. package/dist/AppHeader/shared/index.js +2 -0
  187. package/dist/AppHeader/shared/keyboardNav.d.cts +1 -1
  188. package/dist/AppHeader/shared/keyboardNav.d.ts +1 -1
  189. package/dist/AppHeader/shared/mockAppHeaderItems.d.cts +1 -1
  190. package/dist/AppHeader/shared/mockAppHeaderItems.d.ts +1 -1
  191. package/dist/AppHeader/shared/types.d.cts +2 -2
  192. package/dist/AppHeader/shared/types.d.cts.map +1 -1
  193. package/dist/AppHeader/shared/types.d.ts +2 -2
  194. package/dist/AppHeader/shared/types.d.ts.map +1 -1
  195. package/dist/AppHeader/shared/utils.cjs.map +1 -1
  196. package/dist/AppHeader/shared/utils.js.map +1 -1
  197. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.cjs.map +1 -1
  198. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.cts +1 -1
  199. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.cts.map +1 -1
  200. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.ts +1 -1
  201. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.ts.map +1 -1
  202. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.js.map +1 -1
  203. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.cjs.map +1 -1
  204. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.js.map +1 -1
  205. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.cjs.map +1 -1
  206. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.cts +0 -1
  207. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.cts.map +1 -1
  208. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.ts +0 -1
  209. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.ts.map +1 -1
  210. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.js.map +1 -1
  211. package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.cjs.map +1 -1
  212. package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.js.map +1 -1
  213. package/dist/AppHeaderMobile/index.cjs.map +1 -1
  214. package/dist/AppHeaderMobile/index.d.cts +3 -1
  215. package/dist/AppHeaderMobile/index.d.cts.map +1 -1
  216. package/dist/AppHeaderMobile/index.d.ts +3 -1
  217. package/dist/AppHeaderMobile/index.d.ts.map +1 -1
  218. package/dist/AppHeaderMobile/index.js.map +1 -1
  219. package/dist/Avatar/index.cjs.map +1 -1
  220. package/dist/Avatar/index.d.cts +0 -1
  221. package/dist/Avatar/index.d.cts.map +1 -1
  222. package/dist/Avatar/index.d.ts +0 -1
  223. package/dist/Avatar/index.d.ts.map +1 -1
  224. package/dist/Avatar/index.js.map +1 -1
  225. package/dist/AvatarChooser/index.cjs.map +1 -1
  226. package/dist/AvatarChooser/index.d.cts +0 -1
  227. package/dist/AvatarChooser/index.d.cts.map +1 -1
  228. package/dist/AvatarChooser/index.d.ts +0 -1
  229. package/dist/AvatarChooser/index.d.ts.map +1 -1
  230. package/dist/AvatarChooser/index.js.map +1 -1
  231. package/dist/BackToTopAnchor/index.cjs.map +1 -1
  232. package/dist/BackToTopAnchor/index.d.cts +7 -3
  233. package/dist/BackToTopAnchor/index.d.cts.map +1 -1
  234. package/dist/BackToTopAnchor/index.d.ts +7 -3
  235. package/dist/BackToTopAnchor/index.d.ts.map +1 -1
  236. package/dist/BackToTopAnchor/index.js.map +1 -1
  237. package/dist/Banner/CountdownTimer.cjs +2 -1
  238. package/dist/Banner/CountdownTimer.cjs.map +1 -1
  239. package/dist/Banner/CountdownTimer.d.cts +0 -1
  240. package/dist/Banner/CountdownTimer.d.cts.map +1 -1
  241. package/dist/Banner/CountdownTimer.d.ts +0 -1
  242. package/dist/Banner/CountdownTimer.d.ts.map +1 -1
  243. package/dist/Banner/CountdownTimer.js +2 -1
  244. package/dist/Banner/CountdownTimer.js.map +1 -1
  245. package/dist/Banner/EnhancedBanner.cjs.map +1 -1
  246. package/dist/Banner/EnhancedBanner.d.cts +0 -1
  247. package/dist/Banner/EnhancedBanner.d.cts.map +1 -1
  248. package/dist/Banner/EnhancedBanner.d.ts +0 -1
  249. package/dist/Banner/EnhancedBanner.d.ts.map +1 -1
  250. package/dist/Banner/EnhancedBanner.js.map +1 -1
  251. package/dist/Banner/index.cjs.map +1 -1
  252. package/dist/Banner/index.d.cts +0 -1
  253. package/dist/Banner/index.d.cts.map +1 -1
  254. package/dist/Banner/index.d.ts +0 -1
  255. package/dist/Banner/index.d.ts.map +1 -1
  256. package/dist/Banner/index.js.map +1 -1
  257. package/dist/BetaSticker/index.cjs.map +1 -1
  258. package/dist/BetaSticker/index.d.cts +0 -1
  259. package/dist/BetaSticker/index.d.cts.map +1 -1
  260. package/dist/BetaSticker/index.d.ts +0 -1
  261. package/dist/BetaSticker/index.d.ts.map +1 -1
  262. package/dist/BetaSticker/index.js.map +1 -1
  263. package/dist/CareerPathCard/index.cjs.map +1 -1
  264. package/dist/CareerPathCard/index.d.cts +0 -1
  265. package/dist/CareerPathCard/index.d.cts.map +1 -1
  266. package/dist/CareerPathCard/index.d.ts +0 -1
  267. package/dist/CareerPathCard/index.d.ts.map +1 -1
  268. package/dist/CareerPathCard/index.js.map +1 -1
  269. package/dist/Carousel/elements.cjs.map +1 -1
  270. package/dist/Carousel/elements.js.map +1 -1
  271. package/dist/Carousel/index.cjs.map +1 -1
  272. package/dist/Carousel/index.d.cts +1 -1
  273. package/dist/Carousel/index.d.cts.map +1 -1
  274. package/dist/Carousel/index.d.ts +1 -1
  275. package/dist/Carousel/index.d.ts.map +1 -1
  276. package/dist/Carousel/index.js.map +1 -1
  277. package/dist/CertificationPathCard/index.cjs.map +1 -1
  278. package/dist/CertificationPathCard/index.d.cts +0 -1
  279. package/dist/CertificationPathCard/index.d.cts.map +1 -1
  280. package/dist/CertificationPathCard/index.d.ts +0 -1
  281. package/dist/CertificationPathCard/index.d.ts.map +1 -1
  282. package/dist/CertificationPathCard/index.js.map +1 -1
  283. package/dist/Coaching/coachingOfferingIcons.d.cts +0 -1
  284. package/dist/Coaching/coachingOfferingIcons.d.cts.map +1 -1
  285. package/dist/Coaching/coachingOfferingIcons.d.ts +0 -1
  286. package/dist/Coaching/coachingOfferingIcons.d.ts.map +1 -1
  287. package/dist/Coaching/coachingOfferings.cjs.map +1 -1
  288. package/dist/Coaching/coachingOfferings.d.cts.map +1 -1
  289. package/dist/Coaching/coachingOfferings.d.ts.map +1 -1
  290. package/dist/Coaching/coachingOfferings.js.map +1 -1
  291. package/dist/Coaching/index.cjs +3 -0
  292. package/dist/Coaching/index.d.cts +2 -1
  293. package/dist/Coaching/index.d.ts +2 -1
  294. package/dist/Coaching/index.js +2 -0
  295. package/dist/CoachingSessionCard/index.cjs +28 -9
  296. package/dist/CoachingSessionCard/index.cjs.map +1 -1
  297. package/dist/CoachingSessionCard/index.d.cts.map +1 -1
  298. package/dist/CoachingSessionCard/index.d.ts.map +1 -1
  299. package/dist/CoachingSessionCard/index.js +29 -10
  300. package/dist/CoachingSessionCard/index.js.map +1 -1
  301. package/dist/CommunityEventCard/EventTypeIcon.cjs +1 -0
  302. package/dist/CommunityEventCard/EventTypeIcon.cjs.map +1 -1
  303. package/dist/CommunityEventCard/EventTypeIcon.js +1 -1
  304. package/dist/CommunityEventCard/EventTypeIcon.js.map +1 -1
  305. package/dist/CommunityEventCard/index.cjs.map +1 -1
  306. package/dist/CommunityEventCard/index.d.cts.map +1 -1
  307. package/dist/CommunityEventCard/index.d.ts.map +1 -1
  308. package/dist/CommunityEventCard/index.js.map +1 -1
  309. package/dist/CommunityEventToast/index.cjs.map +1 -1
  310. package/dist/CommunityEventToast/index.d.cts +0 -1
  311. package/dist/CommunityEventToast/index.d.cts.map +1 -1
  312. package/dist/CommunityEventToast/index.d.ts +0 -1
  313. package/dist/CommunityEventToast/index.d.ts.map +1 -1
  314. package/dist/CommunityEventToast/index.js.map +1 -1
  315. package/dist/ContentGroupBaseCard/helpers.d.cts +0 -1
  316. package/dist/ContentGroupBaseCard/helpers.d.cts.map +1 -1
  317. package/dist/ContentGroupBaseCard/helpers.d.ts +0 -1
  318. package/dist/ContentGroupBaseCard/helpers.d.ts.map +1 -1
  319. package/dist/ContentGroupBaseCard/index.cjs.map +1 -1
  320. package/dist/ContentGroupBaseCard/index.d.cts +0 -1
  321. package/dist/ContentGroupBaseCard/index.d.cts.map +1 -1
  322. package/dist/ContentGroupBaseCard/index.d.ts +0 -1
  323. package/dist/ContentGroupBaseCard/index.d.ts.map +1 -1
  324. package/dist/ContentGroupBaseCard/index.js.map +1 -1
  325. package/dist/ContentGroupBaseCard/shared.cjs.map +1 -1
  326. package/dist/ContentGroupBaseCard/shared.js.map +1 -1
  327. package/dist/ContentGroupBaseCard/types.cjs.map +1 -1
  328. package/dist/ContentGroupBaseCard/types.d.cts.map +1 -1
  329. package/dist/ContentGroupBaseCard/types.d.ts.map +1 -1
  330. package/dist/ContentGroupBaseCard/types.js.map +1 -1
  331. package/dist/CourseCard/index.cjs.map +1 -1
  332. package/dist/CourseCard/index.d.cts +0 -1
  333. package/dist/CourseCard/index.d.cts.map +1 -1
  334. package/dist/CourseCard/index.d.ts +0 -1
  335. package/dist/CourseCard/index.d.ts.map +1 -1
  336. package/dist/CourseCard/index.js.map +1 -1
  337. package/dist/CurriculumCard/BottomTag/index.cjs.map +1 -1
  338. package/dist/CurriculumCard/BottomTag/index.d.cts +1 -0
  339. package/dist/CurriculumCard/BottomTag/index.d.cts.map +1 -1
  340. package/dist/CurriculumCard/BottomTag/index.d.ts +1 -0
  341. package/dist/CurriculumCard/BottomTag/index.d.ts.map +1 -1
  342. package/dist/CurriculumCard/BottomTag/index.js.map +1 -1
  343. package/dist/CurriculumCard/Difficulty/helpers.d.cts +0 -1
  344. package/dist/CurriculumCard/Difficulty/helpers.d.cts.map +1 -1
  345. package/dist/CurriculumCard/Difficulty/helpers.d.ts +0 -1
  346. package/dist/CurriculumCard/Difficulty/helpers.d.ts.map +1 -1
  347. package/dist/CurriculumCard/Difficulty/index.cjs.map +1 -1
  348. package/dist/CurriculumCard/Difficulty/index.d.cts +0 -1
  349. package/dist/CurriculumCard/Difficulty/index.d.cts.map +1 -1
  350. package/dist/CurriculumCard/Difficulty/index.d.ts +0 -1
  351. package/dist/CurriculumCard/Difficulty/index.d.ts.map +1 -1
  352. package/dist/CurriculumCard/Difficulty/index.js.map +1 -1
  353. package/dist/CurriculumCard/Difficulty/types.cjs.map +1 -1
  354. package/dist/CurriculumCard/Difficulty/types.d.cts.map +1 -1
  355. package/dist/CurriculumCard/Difficulty/types.d.ts.map +1 -1
  356. package/dist/CurriculumCard/Difficulty/types.js.map +1 -1
  357. package/dist/CurriculumCard/Footer/index.cjs.map +1 -1
  358. package/dist/CurriculumCard/Footer/index.js.map +1 -1
  359. package/dist/CurriculumCard/Image/index.cjs.map +1 -1
  360. package/dist/CurriculumCard/Image/index.js.map +1 -1
  361. package/dist/CurriculumCard/Subtitle/index.cjs.map +1 -1
  362. package/dist/CurriculumCard/Subtitle/index.d.cts +1 -0
  363. package/dist/CurriculumCard/Subtitle/index.d.cts.map +1 -1
  364. package/dist/CurriculumCard/Subtitle/index.d.ts +1 -0
  365. package/dist/CurriculumCard/Subtitle/index.d.ts.map +1 -1
  366. package/dist/CurriculumCard/Subtitle/index.js.map +1 -1
  367. package/dist/CurriculumCard/index.cjs.map +1 -1
  368. package/dist/CurriculumCard/index.d.cts +0 -1
  369. package/dist/CurriculumCard/index.d.cts.map +1 -1
  370. package/dist/CurriculumCard/index.d.ts +0 -1
  371. package/dist/CurriculumCard/index.d.ts.map +1 -1
  372. package/dist/CurriculumCard/index.js.map +1 -1
  373. package/dist/DropdownButton/DropdownList.cjs +8 -2
  374. package/dist/DropdownButton/DropdownList.cjs.map +1 -1
  375. package/dist/DropdownButton/DropdownList.d.cts +1 -2
  376. package/dist/DropdownButton/DropdownList.d.cts.map +1 -1
  377. package/dist/DropdownButton/DropdownList.d.ts +1 -2
  378. package/dist/DropdownButton/DropdownList.d.ts.map +1 -1
  379. package/dist/DropdownButton/DropdownList.js +8 -2
  380. package/dist/DropdownButton/DropdownList.js.map +1 -1
  381. package/dist/DropdownButton/index.cjs.map +1 -1
  382. package/dist/DropdownButton/index.d.cts +0 -1
  383. package/dist/DropdownButton/index.d.cts.map +1 -1
  384. package/dist/DropdownButton/index.d.ts +0 -1
  385. package/dist/DropdownButton/index.d.ts.map +1 -1
  386. package/dist/DropdownButton/index.js.map +1 -1
  387. package/dist/EmptySection/index.cjs.map +1 -1
  388. package/dist/EmptySection/index.d.cts +1 -1
  389. package/dist/EmptySection/index.d.cts.map +1 -1
  390. package/dist/EmptySection/index.d.ts +1 -1
  391. package/dist/EmptySection/index.d.ts.map +1 -1
  392. package/dist/EmptySection/index.js.map +1 -1
  393. package/dist/ErrorContents/index.cjs.map +1 -1
  394. package/dist/ErrorContents/index.d.cts +0 -1
  395. package/dist/ErrorContents/index.d.cts.map +1 -1
  396. package/dist/ErrorContents/index.d.ts +0 -1
  397. package/dist/ErrorContents/index.d.ts.map +1 -1
  398. package/dist/ErrorContents/index.js.map +1 -1
  399. package/dist/FeatureList/index.cjs.map +1 -1
  400. package/dist/FeatureList/index.d.cts +1 -4
  401. package/dist/FeatureList/index.d.cts.map +1 -1
  402. package/dist/FeatureList/index.d.ts +1 -4
  403. package/dist/FeatureList/index.d.ts.map +1 -1
  404. package/dist/FeatureList/index.js.map +1 -1
  405. package/dist/GlobalFooter/FooterHeading.cjs.map +1 -1
  406. package/dist/GlobalFooter/FooterHeading.js.map +1 -1
  407. package/dist/GlobalFooter/FooterLegal/LegalLinks.cjs.map +1 -1
  408. package/dist/GlobalFooter/FooterLegal/LegalLinks.js.map +1 -1
  409. package/dist/GlobalFooter/FooterLegal/MadeIn.cjs.map +1 -1
  410. package/dist/GlobalFooter/FooterLegal/MadeIn.js.map +1 -1
  411. package/dist/GlobalFooter/FooterLegal/index.cjs.map +1 -1
  412. package/dist/GlobalFooter/FooterLegal/index.js.map +1 -1
  413. package/dist/GlobalFooter/FooterLinks.cjs.map +1 -1
  414. package/dist/GlobalFooter/FooterLinks.js.map +1 -1
  415. package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.cjs.map +1 -1
  416. package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.js.map +1 -1
  417. package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.cjs.map +1 -1
  418. package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.js.map +1 -1
  419. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.cjs.map +1 -1
  420. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.js.map +1 -1
  421. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.cjs.map +1 -1
  422. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.js.map +1 -1
  423. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.cjs.map +1 -1
  424. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.js.map +1 -1
  425. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.cjs.map +1 -1
  426. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.js.map +1 -1
  427. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.d.cts.map +1 -1
  428. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.d.ts.map +1 -1
  429. package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.cjs.map +1 -1
  430. package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.js.map +1 -1
  431. package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.cjs.map +1 -1
  432. package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.js.map +1 -1
  433. package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.cjs.map +1 -1
  434. package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.js.map +1 -1
  435. package/dist/GlobalFooter/FooterNavLinks/index.cjs.map +1 -1
  436. package/dist/GlobalFooter/FooterNavLinks/index.js.map +1 -1
  437. package/dist/GlobalFooter/index.cjs.map +1 -1
  438. package/dist/GlobalFooter/index.d.cts +0 -1
  439. package/dist/GlobalFooter/index.d.cts.map +1 -1
  440. package/dist/GlobalFooter/index.d.ts +0 -1
  441. package/dist/GlobalFooter/index.d.ts.map +1 -1
  442. package/dist/GlobalFooter/index.js.map +1 -1
  443. package/dist/GlobalFooter/types.d.cts +0 -1
  444. package/dist/GlobalFooter/types.d.cts.map +1 -1
  445. package/dist/GlobalFooter/types.d.ts +0 -1
  446. package/dist/GlobalFooter/types.d.ts.map +1 -1
  447. package/dist/GlobalHeader/GlobalHeaderItems.cjs.map +1 -1
  448. package/dist/GlobalHeader/GlobalHeaderItems.js.map +1 -1
  449. package/dist/GlobalHeader/GlobalHeaderVariants.cjs.map +1 -1
  450. package/dist/GlobalHeader/GlobalHeaderVariants.js.map +1 -1
  451. package/dist/GlobalHeader/index.cjs.map +1 -1
  452. package/dist/GlobalHeader/index.d.cts +1 -2
  453. package/dist/GlobalHeader/index.d.cts.map +1 -1
  454. package/dist/GlobalHeader/index.d.ts +1 -2
  455. package/dist/GlobalHeader/index.d.ts.map +1 -1
  456. package/dist/GlobalHeader/index.js.map +1 -1
  457. package/dist/GlobalHeader/types.d.cts +1 -1
  458. package/dist/GlobalHeader/types.d.cts.map +1 -1
  459. package/dist/GlobalHeader/types.d.ts +1 -1
  460. package/dist/GlobalHeader/types.d.ts.map +1 -1
  461. package/dist/GlobalPage/index.cjs.map +1 -1
  462. package/dist/GlobalPage/index.d.cts +0 -1
  463. package/dist/GlobalPage/index.d.cts.map +1 -1
  464. package/dist/GlobalPage/index.d.ts +0 -1
  465. package/dist/GlobalPage/index.d.ts.map +1 -1
  466. package/dist/GlobalPage/index.js.map +1 -1
  467. package/dist/Grid/GridCollapse.cjs.map +1 -1
  468. package/dist/Grid/GridCollapse.d.cts +1 -6
  469. package/dist/Grid/GridCollapse.d.cts.map +1 -1
  470. package/dist/Grid/GridCollapse.d.ts +1 -6
  471. package/dist/Grid/GridCollapse.d.ts.map +1 -1
  472. package/dist/Grid/GridCollapse.js.map +1 -1
  473. package/dist/Grid/Subgrid.d.cts +0 -1
  474. package/dist/Grid/Subgrid.d.cts.map +1 -1
  475. package/dist/Grid/Subgrid.d.ts +0 -1
  476. package/dist/Grid/Subgrid.d.ts.map +1 -1
  477. package/dist/Grid/getCSSFromColumnCount.d.cts +0 -1
  478. package/dist/Grid/getCSSFromColumnCount.d.cts.map +1 -1
  479. package/dist/Grid/getCSSFromColumnCount.d.ts +0 -1
  480. package/dist/Grid/getCSSFromColumnCount.d.ts.map +1 -1
  481. package/dist/Grid/index.cjs +6 -0
  482. package/dist/Grid/index.d.cts +2 -1
  483. package/dist/Grid/index.d.ts +2 -1
  484. package/dist/Grid/index.js +2 -0
  485. package/dist/HeaderHeightArea/index.cjs.map +1 -1
  486. package/dist/HeaderHeightArea/index.js.map +1 -1
  487. package/dist/HorizontalScrollMenu/index.cjs.map +1 -1
  488. package/dist/HorizontalScrollMenu/index.d.cts +1 -0
  489. package/dist/HorizontalScrollMenu/index.d.cts.map +1 -1
  490. package/dist/HorizontalScrollMenu/index.d.ts +1 -0
  491. package/dist/HorizontalScrollMenu/index.d.ts.map +1 -1
  492. package/dist/HorizontalScrollMenu/index.js.map +1 -1
  493. package/dist/HubCard/index.cjs.map +1 -1
  494. package/dist/HubCard/index.d.cts +0 -1
  495. package/dist/HubCard/index.d.cts.map +1 -1
  496. package/dist/HubCard/index.d.ts +0 -1
  497. package/dist/HubCard/index.d.ts.map +1 -1
  498. package/dist/HubCard/index.js.map +1 -1
  499. package/dist/InfoCard/index.cjs.map +1 -1
  500. package/dist/InfoCard/index.d.cts +0 -1
  501. package/dist/InfoCard/index.d.cts.map +1 -1
  502. package/dist/InfoCard/index.d.ts +0 -1
  503. package/dist/InfoCard/index.d.ts.map +1 -1
  504. package/dist/InfoCard/index.js.map +1 -1
  505. package/dist/InstructorCard/index.cjs.map +1 -1
  506. package/dist/InstructorCard/index.d.cts +13 -6
  507. package/dist/InstructorCard/index.d.cts.map +1 -1
  508. package/dist/InstructorCard/index.d.ts +13 -6
  509. package/dist/InstructorCard/index.d.ts.map +1 -1
  510. package/dist/InstructorCard/index.js.map +1 -1
  511. package/dist/Konamimojisplosion/Konamimojisplosion.d.cts +0 -1
  512. package/dist/Konamimojisplosion/Konamimojisplosion.d.cts.map +1 -1
  513. package/dist/Konamimojisplosion/Konamimojisplosion.d.ts +0 -1
  514. package/dist/Konamimojisplosion/Konamimojisplosion.d.ts.map +1 -1
  515. package/dist/Konamimojisplosion/index.cjs +3 -0
  516. package/dist/Konamimojisplosion/index.d.cts +2 -1
  517. package/dist/Konamimojisplosion/index.d.ts +2 -1
  518. package/dist/Konamimojisplosion/index.js +2 -0
  519. package/dist/Konamimojisplosion/useKonamimojisplosion.cjs.map +1 -1
  520. package/dist/Konamimojisplosion/useKonamimojisplosion.d.cts.map +1 -1
  521. package/dist/Konamimojisplosion/useKonamimojisplosion.d.ts.map +1 -1
  522. package/dist/Konamimojisplosion/useKonamimojisplosion.js.map +1 -1
  523. package/dist/LandingPage/Description.cjs.map +1 -1
  524. package/dist/LandingPage/Description.d.cts +0 -1
  525. package/dist/LandingPage/Description.d.cts.map +1 -1
  526. package/dist/LandingPage/Description.d.ts +0 -1
  527. package/dist/LandingPage/Description.d.ts.map +1 -1
  528. package/dist/LandingPage/Description.js.map +1 -1
  529. package/dist/LandingPage/PageFAQs.cjs.map +1 -1
  530. package/dist/LandingPage/PageFAQs.d.cts +0 -1
  531. package/dist/LandingPage/PageFAQs.d.cts.map +1 -1
  532. package/dist/LandingPage/PageFAQs.d.ts +0 -1
  533. package/dist/LandingPage/PageFAQs.d.ts.map +1 -1
  534. package/dist/LandingPage/PageFAQs.js.map +1 -1
  535. package/dist/LandingPage/Title.cjs.map +1 -1
  536. package/dist/LandingPage/Title.d.cts +0 -1
  537. package/dist/LandingPage/Title.d.cts.map +1 -1
  538. package/dist/LandingPage/Title.d.ts +0 -1
  539. package/dist/LandingPage/Title.d.ts.map +1 -1
  540. package/dist/LandingPage/Title.js.map +1 -1
  541. package/dist/LandingPage/TitleWithEyebrow.cjs.map +1 -1
  542. package/dist/LandingPage/TitleWithEyebrow.d.cts +0 -1
  543. package/dist/LandingPage/TitleWithEyebrow.d.cts.map +1 -1
  544. package/dist/LandingPage/TitleWithEyebrow.d.ts +0 -1
  545. package/dist/LandingPage/TitleWithEyebrow.d.ts.map +1 -1
  546. package/dist/LandingPage/TitleWithEyebrow.js.map +1 -1
  547. package/dist/LandingPage/index.cjs +7 -0
  548. package/dist/LandingPage/index.d.cts +2 -1
  549. package/dist/LandingPage/index.d.ts +2 -1
  550. package/dist/LandingPage/index.js +2 -0
  551. package/dist/LandingPage/types.d.cts.map +1 -1
  552. package/dist/LandingPage/types.d.ts.map +1 -1
  553. package/dist/LayoutMenu/AccordionMenu.cjs.map +1 -1
  554. package/dist/LayoutMenu/AccordionMenu.d.cts +0 -1
  555. package/dist/LayoutMenu/AccordionMenu.d.cts.map +1 -1
  556. package/dist/LayoutMenu/AccordionMenu.d.ts +0 -1
  557. package/dist/LayoutMenu/AccordionMenu.d.ts.map +1 -1
  558. package/dist/LayoutMenu/AccordionMenu.js.map +1 -1
  559. package/dist/LayoutMenu/LayoutMenu.cjs.map +1 -1
  560. package/dist/LayoutMenu/LayoutMenu.d.cts +0 -1
  561. package/dist/LayoutMenu/LayoutMenu.d.cts.map +1 -1
  562. package/dist/LayoutMenu/LayoutMenu.d.ts +0 -1
  563. package/dist/LayoutMenu/LayoutMenu.d.ts.map +1 -1
  564. package/dist/LayoutMenu/LayoutMenu.js.map +1 -1
  565. package/dist/LayoutMenu/LayoutMenuSection.cjs.map +1 -1
  566. package/dist/LayoutMenu/LayoutMenuSection.js.map +1 -1
  567. package/dist/LayoutMenu/SectionItemLink.cjs.map +1 -1
  568. package/dist/LayoutMenu/SectionItemLink.d.cts +0 -1
  569. package/dist/LayoutMenu/SectionItemLink.d.cts.map +1 -1
  570. package/dist/LayoutMenu/SectionItemLink.d.ts +0 -1
  571. package/dist/LayoutMenu/SectionItemLink.d.ts.map +1 -1
  572. package/dist/LayoutMenu/SectionItemLink.js.map +1 -1
  573. package/dist/LayoutMenu/SelectedSectionItem.cjs.map +1 -1
  574. package/dist/LayoutMenu/SelectedSectionItem.d.cts +0 -1
  575. package/dist/LayoutMenu/SelectedSectionItem.d.cts.map +1 -1
  576. package/dist/LayoutMenu/SelectedSectionItem.d.ts +0 -1
  577. package/dist/LayoutMenu/SelectedSectionItem.d.ts.map +1 -1
  578. package/dist/LayoutMenu/SelectedSectionItem.js.map +1 -1
  579. package/dist/LayoutMenu/index.cjs +4 -0
  580. package/dist/LayoutMenu/index.d.cts +2 -1
  581. package/dist/LayoutMenu/index.d.ts +2 -1
  582. package/dist/LayoutMenu/index.js +2 -0
  583. package/dist/LayoutMenuVariant/AccordionMenu.cjs.map +1 -1
  584. package/dist/LayoutMenuVariant/AccordionMenu.d.cts +0 -1
  585. package/dist/LayoutMenuVariant/AccordionMenu.d.cts.map +1 -1
  586. package/dist/LayoutMenuVariant/AccordionMenu.d.ts +0 -1
  587. package/dist/LayoutMenuVariant/AccordionMenu.d.ts.map +1 -1
  588. package/dist/LayoutMenuVariant/AccordionMenu.js.map +1 -1
  589. package/dist/LayoutMenuVariant/LayoutMenu.cjs.map +1 -1
  590. package/dist/LayoutMenuVariant/LayoutMenu.d.cts +0 -1
  591. package/dist/LayoutMenuVariant/LayoutMenu.d.cts.map +1 -1
  592. package/dist/LayoutMenuVariant/LayoutMenu.d.ts +0 -1
  593. package/dist/LayoutMenuVariant/LayoutMenu.d.ts.map +1 -1
  594. package/dist/LayoutMenuVariant/LayoutMenu.js.map +1 -1
  595. package/dist/LayoutMenuVariant/LayoutMenuSection.cjs.map +1 -1
  596. package/dist/LayoutMenuVariant/LayoutMenuSection.js.map +1 -1
  597. package/dist/LayoutMenuVariant/SectionItemLink.cjs.map +1 -1
  598. package/dist/LayoutMenuVariant/SectionItemLink.d.cts +0 -1
  599. package/dist/LayoutMenuVariant/SectionItemLink.d.cts.map +1 -1
  600. package/dist/LayoutMenuVariant/SectionItemLink.d.ts +0 -1
  601. package/dist/LayoutMenuVariant/SectionItemLink.d.ts.map +1 -1
  602. package/dist/LayoutMenuVariant/SectionItemLink.js.map +1 -1
  603. package/dist/LayoutMenuVariant/index.cjs +2 -0
  604. package/dist/LayoutMenuVariant/index.d.cts +1 -3
  605. package/dist/LayoutMenuVariant/index.d.ts +1 -3
  606. package/dist/LayoutMenuVariant/index.js +1 -1
  607. package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.cjs.map +1 -1
  608. package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.js.map +1 -1
  609. package/dist/LearningOutcomeAssessmentScores/index.cjs.map +1 -1
  610. package/dist/LearningOutcomeAssessmentScores/index.d.cts.map +1 -1
  611. package/dist/LearningOutcomeAssessmentScores/index.d.ts.map +1 -1
  612. package/dist/LearningOutcomeAssessmentScores/index.js.map +1 -1
  613. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.cjs.map +1 -1
  614. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.cts +0 -1
  615. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.cts.map +1 -1
  616. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.ts +0 -1
  617. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.ts.map +1 -1
  618. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.js.map +1 -1
  619. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.cjs.map +1 -1
  620. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.cts.map +1 -1
  621. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts.map +1 -1
  622. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.js.map +1 -1
  623. package/dist/LearningOutcomeBadges/index.cjs +11 -0
  624. package/dist/LearningOutcomeBadges/index.d.cts +2 -1
  625. package/dist/LearningOutcomeBadges/index.d.ts +2 -1
  626. package/dist/LearningOutcomeBadges/index.js +2 -0
  627. package/dist/LearningOutcomeCard/index.cjs.map +1 -1
  628. package/dist/LearningOutcomeCard/index.d.cts +1 -1
  629. package/dist/LearningOutcomeCard/index.d.cts.map +1 -1
  630. package/dist/LearningOutcomeCard/index.d.ts +1 -1
  631. package/dist/LearningOutcomeCard/index.d.ts.map +1 -1
  632. package/dist/LearningOutcomeCard/index.js.map +1 -1
  633. package/dist/LearningOutcomeFlyout/LearningOutcomeCardList.cjs.map +1 -1
  634. package/dist/LearningOutcomeFlyout/LearningOutcomeCardList.js.map +1 -1
  635. package/dist/LearningOutcomeFlyout/index.cjs.map +1 -1
  636. package/dist/LearningOutcomeFlyout/index.d.cts +1 -1
  637. package/dist/LearningOutcomeFlyout/index.d.cts.map +1 -1
  638. package/dist/LearningOutcomeFlyout/index.d.ts +1 -1
  639. package/dist/LearningOutcomeFlyout/index.d.ts.map +1 -1
  640. package/dist/LearningOutcomeFlyout/index.js.map +1 -1
  641. package/dist/LearningOutcomeFlyout/types.cjs.map +1 -1
  642. package/dist/LearningOutcomeFlyout/types.d.cts +2 -1
  643. package/dist/LearningOutcomeFlyout/types.d.cts.map +1 -1
  644. package/dist/LearningOutcomeFlyout/types.d.ts +2 -1
  645. package/dist/LearningOutcomeFlyout/types.d.ts.map +1 -1
  646. package/dist/LearningOutcomeFlyout/types.js.map +1 -1
  647. package/dist/LearningOutcomePopover/index.cjs.map +1 -1
  648. package/dist/LearningOutcomePopover/index.js.map +1 -1
  649. package/dist/LearningOutcomeTile/Tile.cjs.map +1 -1
  650. package/dist/LearningOutcomeTile/Tile.js.map +1 -1
  651. package/dist/LearningOutcomeTile/index.cjs.map +1 -1
  652. package/dist/LearningOutcomeTile/index.d.cts +0 -1
  653. package/dist/LearningOutcomeTile/index.d.cts.map +1 -1
  654. package/dist/LearningOutcomeTile/index.d.ts +0 -1
  655. package/dist/LearningOutcomeTile/index.d.ts.map +1 -1
  656. package/dist/LearningOutcomeTile/index.js.map +1 -1
  657. package/dist/LearningOutcomeTile/types.cjs.map +1 -1
  658. package/dist/LearningOutcomeTile/types.d.cts +2 -1
  659. package/dist/LearningOutcomeTile/types.d.cts.map +1 -1
  660. package/dist/LearningOutcomeTile/types.d.ts +2 -1
  661. package/dist/LearningOutcomeTile/types.d.ts.map +1 -1
  662. package/dist/LearningOutcomeTile/types.js.map +1 -1
  663. package/dist/ListSection/index.cjs.map +1 -1
  664. package/dist/ListSection/index.d.cts +1 -1
  665. package/dist/ListSection/index.d.cts.map +1 -1
  666. package/dist/ListSection/index.d.ts +1 -1
  667. package/dist/ListSection/index.d.ts.map +1 -1
  668. package/dist/ListSection/index.js.map +1 -1
  669. package/dist/Loading/elements.cjs +60 -0
  670. package/dist/Loading/elements.cjs.map +1 -0
  671. package/dist/Loading/elements.js +56 -0
  672. package/dist/Loading/elements.js.map +1 -0
  673. package/dist/Loading/index.cjs +42 -63
  674. package/dist/Loading/index.cjs.map +1 -1
  675. package/dist/Loading/index.d.cts +0 -1
  676. package/dist/Loading/index.d.cts.map +1 -1
  677. package/dist/Loading/index.d.ts +0 -1
  678. package/dist/Loading/index.d.ts.map +1 -1
  679. package/dist/Loading/index.js +43 -62
  680. package/dist/Loading/index.js.map +1 -1
  681. package/dist/LoadingCurriculumCard/index.cjs.map +1 -1
  682. package/dist/LoadingCurriculumCard/index.d.cts +0 -1
  683. package/dist/LoadingCurriculumCard/index.d.cts.map +1 -1
  684. package/dist/LoadingCurriculumCard/index.d.ts +0 -1
  685. package/dist/LoadingCurriculumCard/index.d.ts.map +1 -1
  686. package/dist/LoadingCurriculumCard/index.js.map +1 -1
  687. package/dist/Logos/LogoCodecademy/index.cjs.map +1 -1
  688. package/dist/Logos/LogoCodecademy/index.d.cts +0 -1
  689. package/dist/Logos/LogoCodecademy/index.d.cts.map +1 -1
  690. package/dist/Logos/LogoCodecademy/index.d.ts +0 -1
  691. package/dist/Logos/LogoCodecademy/index.d.ts.map +1 -1
  692. package/dist/Logos/LogoCodecademy/index.js.map +1 -1
  693. package/dist/Logos/LogoCodecademyMini/index.cjs.map +1 -1
  694. package/dist/Logos/LogoCodecademyMini/index.d.cts +0 -1
  695. package/dist/Logos/LogoCodecademyMini/index.d.cts.map +1 -1
  696. package/dist/Logos/LogoCodecademyMini/index.d.ts +0 -1
  697. package/dist/Logos/LogoCodecademyMini/index.d.ts.map +1 -1
  698. package/dist/Logos/LogoCodecademyMini/index.js.map +1 -1
  699. package/dist/Logos/LogoCodecademyPro/index.cjs.map +1 -1
  700. package/dist/Logos/LogoCodecademyPro/index.d.cts +0 -1
  701. package/dist/Logos/LogoCodecademyPro/index.d.cts.map +1 -1
  702. package/dist/Logos/LogoCodecademyPro/index.d.ts +0 -1
  703. package/dist/Logos/LogoCodecademyPro/index.d.ts.map +1 -1
  704. package/dist/Logos/LogoCodecademyPro/index.js.map +1 -1
  705. package/dist/Logos/LogoCodecademyTeams/index.cjs +11 -7
  706. package/dist/Logos/LogoCodecademyTeams/index.cjs.map +1 -1
  707. package/dist/Logos/LogoCodecademyTeams/index.d.cts +2 -2
  708. package/dist/Logos/LogoCodecademyTeams/index.d.cts.map +1 -1
  709. package/dist/Logos/LogoCodecademyTeams/index.d.ts +2 -2
  710. package/dist/Logos/LogoCodecademyTeams/index.d.ts.map +1 -1
  711. package/dist/Logos/LogoCodecademyTeams/index.js +10 -7
  712. package/dist/Logos/LogoCodecademyTeams/index.js.map +1 -1
  713. package/dist/Logos/LogoFromSkillsoft/index.cjs.map +1 -1
  714. package/dist/Logos/LogoFromSkillsoft/index.d.cts +0 -1
  715. package/dist/Logos/LogoFromSkillsoft/index.d.cts.map +1 -1
  716. package/dist/Logos/LogoFromSkillsoft/index.d.ts +0 -1
  717. package/dist/Logos/LogoFromSkillsoft/index.d.ts.map +1 -1
  718. package/dist/Logos/LogoFromSkillsoft/index.js.map +1 -1
  719. package/dist/Logos/LogoLXStudio/index.cjs.map +1 -1
  720. package/dist/Logos/LogoLXStudio/index.d.cts +0 -1
  721. package/dist/Logos/LogoLXStudio/index.d.cts.map +1 -1
  722. package/dist/Logos/LogoLXStudio/index.d.ts +0 -1
  723. package/dist/Logos/LogoLXStudio/index.d.ts.map +1 -1
  724. package/dist/Logos/LogoLXStudio/index.js.map +1 -1
  725. package/dist/Logos/LogoSkillsoft/index.cjs +26 -0
  726. package/dist/Logos/LogoSkillsoft/index.cjs.map +1 -0
  727. package/dist/Logos/LogoSkillsoft/index.d.cts +7 -0
  728. package/dist/Logos/LogoSkillsoft/index.d.cts.map +1 -0
  729. package/dist/Logos/LogoSkillsoft/index.d.ts +7 -0
  730. package/dist/Logos/LogoSkillsoft/index.d.ts.map +1 -0
  731. package/dist/Logos/LogoSkillsoft/index.js +25 -0
  732. package/dist/Logos/LogoSkillsoft/index.js.map +1 -0
  733. package/dist/Logos/ProLabel/ProLabelCutout/index.cjs.map +1 -1
  734. package/dist/Logos/ProLabel/ProLabelCutout/index.js.map +1 -1
  735. package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.cjs.map +1 -1
  736. package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.js.map +1 -1
  737. package/dist/Logos/ProLabel/index.d.cts +0 -1
  738. package/dist/Logos/ProLabel/index.d.cts.map +1 -1
  739. package/dist/Logos/ProLabel/index.d.ts +0 -1
  740. package/dist/Logos/ProLabel/index.d.ts.map +1 -1
  741. package/dist/Logos/index.cjs +12 -2
  742. package/dist/Logos/index.d.cts +3 -1
  743. package/dist/Logos/index.d.ts +3 -1
  744. package/dist/Logos/index.js +3 -0
  745. package/dist/Logos/shared.cjs.map +1 -1
  746. package/dist/Logos/shared.d.cts +2 -0
  747. package/dist/Logos/shared.d.cts.map +1 -1
  748. package/dist/Logos/shared.d.ts +2 -1
  749. package/dist/Logos/shared.d.ts.map +1 -1
  750. package/dist/Logos/shared.js.map +1 -1
  751. package/dist/MarketingToaster/index.cjs.map +1 -1
  752. package/dist/MarketingToaster/index.d.cts +0 -1
  753. package/dist/MarketingToaster/index.d.cts.map +1 -1
  754. package/dist/MarketingToaster/index.d.ts +0 -1
  755. package/dist/MarketingToaster/index.d.ts.map +1 -1
  756. package/dist/MarketingToaster/index.js.map +1 -1
  757. package/dist/NotFoundContent/404.cjs.map +1 -1
  758. package/dist/NotFoundContent/404.js.map +1 -1
  759. package/dist/NotFoundContent/index.cjs.map +1 -1
  760. package/dist/NotFoundContent/index.d.cts +0 -1
  761. package/dist/NotFoundContent/index.d.cts.map +1 -1
  762. package/dist/NotFoundContent/index.d.ts +0 -1
  763. package/dist/NotFoundContent/index.d.ts.map +1 -1
  764. package/dist/NotFoundContent/index.js.map +1 -1
  765. package/dist/NotificationList/EmptyNotification/emptyNotificationContents.cjs.map +1 -1
  766. package/dist/NotificationList/EmptyNotification/emptyNotificationContents.js.map +1 -1
  767. package/dist/NotificationList/EmptyNotification/index.cjs.map +1 -1
  768. package/dist/NotificationList/EmptyNotification/index.js.map +1 -1
  769. package/dist/NotificationList/NotificationItem.cjs.map +1 -1
  770. package/dist/NotificationList/NotificationItem.d.cts +0 -1
  771. package/dist/NotificationList/NotificationItem.d.cts.map +1 -1
  772. package/dist/NotificationList/NotificationItem.d.ts +0 -1
  773. package/dist/NotificationList/NotificationItem.d.ts.map +1 -1
  774. package/dist/NotificationList/NotificationItem.js.map +1 -1
  775. package/dist/NotificationList/index.cjs.map +1 -1
  776. package/dist/NotificationList/index.d.cts +0 -1
  777. package/dist/NotificationList/index.d.cts.map +1 -1
  778. package/dist/NotificationList/index.d.ts +0 -1
  779. package/dist/NotificationList/index.d.ts.map +1 -1
  780. package/dist/NotificationList/index.js.map +1 -1
  781. package/dist/NotificationList/typings.d.cts.map +1 -1
  782. package/dist/NotificationList/typings.d.ts.map +1 -1
  783. package/dist/Notifications/NotificationBell.cjs.map +1 -1
  784. package/dist/Notifications/NotificationBell.js.map +1 -1
  785. package/dist/Notifications/NotificationsContents.cjs.map +1 -1
  786. package/dist/Notifications/NotificationsContents.js.map +1 -1
  787. package/dist/Notifications/NotificationsDropdown.cjs.map +1 -1
  788. package/dist/Notifications/NotificationsDropdown.js.map +1 -1
  789. package/dist/Notifications/elements.cjs.map +1 -1
  790. package/dist/Notifications/elements.js.map +1 -1
  791. package/dist/Notifications/types.d.cts +2 -1
  792. package/dist/Notifications/types.d.cts.map +1 -1
  793. package/dist/Notifications/types.d.ts +2 -1
  794. package/dist/Notifications/types.d.ts.map +1 -1
  795. package/dist/Notifications/useHeaderNotifications.cjs.map +1 -1
  796. package/dist/Notifications/useHeaderNotifications.js.map +1 -1
  797. package/dist/Notifications/useNotificationButtons.cjs.map +1 -1
  798. package/dist/Notifications/useNotificationButtons.js.map +1 -1
  799. package/dist/PageAlerts/PageAlerts.cjs.map +1 -1
  800. package/dist/PageAlerts/PageAlerts.d.cts +0 -1
  801. package/dist/PageAlerts/PageAlerts.d.cts.map +1 -1
  802. package/dist/PageAlerts/PageAlerts.d.ts +0 -1
  803. package/dist/PageAlerts/PageAlerts.d.ts.map +1 -1
  804. package/dist/PageAlerts/PageAlerts.js.map +1 -1
  805. package/dist/PageAlerts/PageAlertsProvider.cjs.map +1 -1
  806. package/dist/PageAlerts/PageAlertsProvider.d.cts +0 -1
  807. package/dist/PageAlerts/PageAlertsProvider.d.cts.map +1 -1
  808. package/dist/PageAlerts/PageAlertsProvider.d.ts +0 -1
  809. package/dist/PageAlerts/PageAlertsProvider.d.ts.map +1 -1
  810. package/dist/PageAlerts/PageAlertsProvider.js.map +1 -1
  811. package/dist/PageAlerts/index.cjs +6 -0
  812. package/dist/PageAlerts/index.d.cts +2 -1
  813. package/dist/PageAlerts/index.d.ts +2 -1
  814. package/dist/PageAlerts/index.js +2 -0
  815. package/dist/PageAlerts/types.d.cts +1 -2
  816. package/dist/PageAlerts/types.d.cts.map +1 -1
  817. package/dist/PageAlerts/types.d.ts +1 -2
  818. package/dist/PageAlerts/types.d.ts.map +1 -1
  819. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.cjs.map +1 -1
  820. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.cts +0 -1
  821. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.cts.map +1 -1
  822. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.ts +0 -1
  823. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.ts.map +1 -1
  824. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.js.map +1 -1
  825. package/dist/PageLayoutWithSidebarMenu/index.cjs +2 -0
  826. package/dist/PageLayoutWithSidebarMenu/index.d.cts +2 -1
  827. package/dist/PageLayoutWithSidebarMenu/index.d.ts +2 -1
  828. package/dist/PageLayoutWithSidebarMenu/index.js +2 -0
  829. package/dist/PageSection/index.cjs.map +1 -1
  830. package/dist/PageSection/index.d.cts +0 -1
  831. package/dist/PageSection/index.d.cts.map +1 -1
  832. package/dist/PageSection/index.d.ts +0 -1
  833. package/dist/PageSection/index.d.ts.map +1 -1
  834. package/dist/PageSection/index.js.map +1 -1
  835. package/dist/PastDue/PastDueModalContents/index.cjs.map +1 -1
  836. package/dist/PastDue/PastDueModalContents/index.d.cts +0 -1
  837. package/dist/PastDue/PastDueModalContents/index.d.cts.map +1 -1
  838. package/dist/PastDue/PastDueModalContents/index.d.ts +0 -1
  839. package/dist/PastDue/PastDueModalContents/index.d.ts.map +1 -1
  840. package/dist/PastDue/PastDueModalContents/index.js.map +1 -1
  841. package/dist/PastDue/index.cjs +3 -0
  842. package/dist/PastDue/index.d.cts +2 -1
  843. package/dist/PastDue/index.d.ts +2 -1
  844. package/dist/PastDue/index.js +2 -0
  845. package/dist/PastDue/pastDueMessages.cjs.map +1 -1
  846. package/dist/PastDue/pastDueMessages.d.cts +0 -1
  847. package/dist/PastDue/pastDueMessages.d.cts.map +1 -1
  848. package/dist/PastDue/pastDueMessages.d.ts +0 -1
  849. package/dist/PastDue/pastDueMessages.d.ts.map +1 -1
  850. package/dist/PastDue/pastDueMessages.js.map +1 -1
  851. package/dist/PausableImage/BaseImage/index.cjs.map +1 -1
  852. package/dist/PausableImage/BaseImage/index.js.map +1 -1
  853. package/dist/PausableImage/index.cjs.map +1 -1
  854. package/dist/PausableImage/index.d.cts +0 -1
  855. package/dist/PausableImage/index.d.cts.map +1 -1
  856. package/dist/PausableImage/index.d.ts +0 -1
  857. package/dist/PausableImage/index.d.ts.map +1 -1
  858. package/dist/PausableImage/index.js.map +1 -1
  859. package/dist/PlanCard/PlanCardBanner.cjs.map +1 -1
  860. package/dist/PlanCard/PlanCardBanner.d.cts +0 -1
  861. package/dist/PlanCard/PlanCardBanner.d.cts.map +1 -1
  862. package/dist/PlanCard/PlanCardBanner.d.ts +0 -1
  863. package/dist/PlanCard/PlanCardBanner.d.ts.map +1 -1
  864. package/dist/PlanCard/PlanCardBanner.js.map +1 -1
  865. package/dist/PlanCard/PlanFeature.cjs.map +1 -1
  866. package/dist/PlanCard/PlanFeature.js.map +1 -1
  867. package/dist/PlanCard/PopularBadge.cjs.map +1 -1
  868. package/dist/PlanCard/PopularBadge.js.map +1 -1
  869. package/dist/PlanCard/PricingAmount.cjs.map +1 -1
  870. package/dist/PlanCard/PricingAmount.js.map +1 -1
  871. package/dist/PlanCard/RecommendedBadge.cjs.map +1 -1
  872. package/dist/PlanCard/RecommendedBadge.js.map +1 -1
  873. package/dist/PlanCard/consts.cjs.map +1 -1
  874. package/dist/PlanCard/consts.js.map +1 -1
  875. package/dist/PlanCard/index.cjs +45 -14
  876. package/dist/PlanCard/index.cjs.map +1 -1
  877. package/dist/PlanCard/index.d.cts +1 -1
  878. package/dist/PlanCard/index.d.cts.map +1 -1
  879. package/dist/PlanCard/index.d.ts +1 -1
  880. package/dist/PlanCard/index.d.ts.map +1 -1
  881. package/dist/PlanCard/index.js +45 -14
  882. package/dist/PlanCard/index.js.map +1 -1
  883. package/dist/PlanCard/types.cjs.map +1 -1
  884. package/dist/PlanCard/types.d.cts +6 -6
  885. package/dist/PlanCard/types.d.cts.map +1 -1
  886. package/dist/PlanCard/types.d.ts +6 -6
  887. package/dist/PlanCard/types.d.ts.map +1 -1
  888. package/dist/PlanCard/types.js.map +1 -1
  889. package/dist/PlanCardTeams/consts.cjs.map +1 -1
  890. package/dist/PlanCardTeams/consts.js.map +1 -1
  891. package/dist/PlanCardTeams/index.cjs.map +1 -1
  892. package/dist/PlanCardTeams/index.d.cts +0 -1
  893. package/dist/PlanCardTeams/index.d.cts.map +1 -1
  894. package/dist/PlanCardTeams/index.d.ts +0 -1
  895. package/dist/PlanCardTeams/index.d.ts.map +1 -1
  896. package/dist/PlanCardTeams/index.js.map +1 -1
  897. package/dist/PricingSection/ConditionalColorMode.cjs.map +1 -1
  898. package/dist/PricingSection/ConditionalColorMode.js.map +1 -1
  899. package/dist/PricingSection/PricingCard/PricingAmount.cjs.map +1 -1
  900. package/dist/PricingSection/PricingCard/PricingAmount.js.map +1 -1
  901. package/dist/PricingSection/PricingCard/RecommendedBadge.cjs.map +1 -1
  902. package/dist/PricingSection/PricingCard/RecommendedBadge.js.map +1 -1
  903. package/dist/PricingSection/PricingCard/index.cjs.map +1 -1
  904. package/dist/PricingSection/PricingCard/index.js.map +1 -1
  905. package/dist/PricingSection/PricingCard/types.cjs +18 -0
  906. package/dist/PricingSection/PricingCard/types.cjs.map +1 -1
  907. package/dist/PricingSection/PricingCard/types.d.cts +1 -1
  908. package/dist/PricingSection/PricingCard/types.d.cts.map +1 -1
  909. package/dist/PricingSection/PricingCard/types.d.ts +1 -1
  910. package/dist/PricingSection/PricingCard/types.d.ts.map +1 -1
  911. package/dist/PricingSection/PricingCard/types.js +1 -1
  912. package/dist/PricingSection/PricingCard/types.js.map +1 -1
  913. package/dist/PricingSection/ProductCTA.cjs +1 -0
  914. package/dist/PricingSection/ProductCTA.cjs.map +1 -1
  915. package/dist/PricingSection/ProductCTA.js +1 -1
  916. package/dist/PricingSection/ProductCTA.js.map +1 -1
  917. package/dist/PricingSection/Products.cjs.map +1 -1
  918. package/dist/PricingSection/Products.js.map +1 -1
  919. package/dist/PricingSection/index.cjs.map +1 -1
  920. package/dist/PricingSection/index.d.cts +1 -5
  921. package/dist/PricingSection/index.d.cts.map +1 -1
  922. package/dist/PricingSection/index.d.ts +1 -5
  923. package/dist/PricingSection/index.d.ts.map +1 -1
  924. package/dist/PricingSection/index.js.map +1 -1
  925. package/dist/PricingSection/types.cjs.map +1 -1
  926. package/dist/PricingSection/types.d.cts.map +1 -1
  927. package/dist/PricingSection/types.d.ts.map +1 -1
  928. package/dist/PricingSection/types.js.map +1 -1
  929. package/dist/ProLogoAlt/index.cjs.map +1 -1
  930. package/dist/ProLogoAlt/index.d.cts +0 -1
  931. package/dist/ProLogoAlt/index.d.cts.map +1 -1
  932. package/dist/ProLogoAlt/index.d.ts +0 -1
  933. package/dist/ProLogoAlt/index.d.ts.map +1 -1
  934. package/dist/ProLogoAlt/index.js.map +1 -1
  935. package/dist/ProductFeatureShowcase/index.cjs.map +1 -1
  936. package/dist/ProductFeatureShowcase/index.d.cts.map +1 -1
  937. package/dist/ProductFeatureShowcase/index.d.ts.map +1 -1
  938. package/dist/ProductFeatureShowcase/index.js.map +1 -1
  939. package/dist/QuizScore/index.cjs.map +1 -1
  940. package/dist/QuizScore/index.js.map +1 -1
  941. package/dist/RatingsBar/index.cjs.map +1 -1
  942. package/dist/RatingsBar/index.d.cts +0 -1
  943. package/dist/RatingsBar/index.d.cts.map +1 -1
  944. package/dist/RatingsBar/index.d.ts +0 -1
  945. package/dist/RatingsBar/index.d.ts.map +1 -1
  946. package/dist/RatingsBar/index.js.map +1 -1
  947. package/dist/Recurly/context/elements/index.cjs.map +1 -1
  948. package/dist/Recurly/context/elements/index.d.cts +2 -3
  949. package/dist/Recurly/context/elements/index.d.cts.map +1 -1
  950. package/dist/Recurly/context/elements/index.d.ts +2 -3
  951. package/dist/Recurly/context/elements/index.d.ts.map +1 -1
  952. package/dist/Recurly/context/elements/index.js.map +1 -1
  953. package/dist/Recurly/context/index.cjs +5 -0
  954. package/dist/Recurly/context/index.d.cts +2 -1
  955. package/dist/Recurly/context/index.d.ts +2 -1
  956. package/dist/Recurly/context/index.js +2 -0
  957. package/dist/Recurly/context/recurly/index.cjs.map +1 -1
  958. package/dist/Recurly/context/recurly/index.d.cts +1 -5
  959. package/dist/Recurly/context/recurly/index.d.cts.map +1 -1
  960. package/dist/Recurly/context/recurly/index.d.ts +1 -5
  961. package/dist/Recurly/context/recurly/index.d.ts.map +1 -1
  962. package/dist/Recurly/context/recurly/index.js.map +1 -1
  963. package/dist/Recurly/context/recurly/loadRecurly.d.cts +0 -1
  964. package/dist/Recurly/context/recurly/loadRecurly.d.cts.map +1 -1
  965. package/dist/Recurly/context/recurly/loadRecurly.d.ts +0 -1
  966. package/dist/Recurly/context/recurly/loadRecurly.d.ts.map +1 -1
  967. package/dist/Recurly/fields/RecurlyField.cjs.map +1 -1
  968. package/dist/Recurly/fields/RecurlyField.d.cts +1 -6
  969. package/dist/Recurly/fields/RecurlyField.d.cts.map +1 -1
  970. package/dist/Recurly/fields/RecurlyField.d.ts +1 -6
  971. package/dist/Recurly/fields/RecurlyField.d.ts.map +1 -1
  972. package/dist/Recurly/fields/RecurlyField.js.map +1 -1
  973. package/dist/Recurly/fields/elements.cjs.map +1 -1
  974. package/dist/Recurly/fields/elements.d.cts +0 -1
  975. package/dist/Recurly/fields/elements.d.cts.map +1 -1
  976. package/dist/Recurly/fields/elements.d.ts +0 -1
  977. package/dist/Recurly/fields/elements.d.ts.map +1 -1
  978. package/dist/Recurly/fields/elements.js.map +1 -1
  979. package/dist/Recurly/fields/index.cjs +6 -0
  980. package/dist/Recurly/fields/index.d.cts +2 -1
  981. package/dist/Recurly/fields/index.d.ts +2 -1
  982. package/dist/Recurly/fields/index.js +2 -0
  983. package/dist/Recurly/index.cjs +9 -0
  984. package/dist/Recurly/index.d.cts +4 -1
  985. package/dist/Recurly/index.d.ts +4 -1
  986. package/dist/Recurly/index.js +2 -0
  987. package/dist/ResourceCard/index.cjs.map +1 -1
  988. package/dist/ResourceCard/index.d.cts +0 -1
  989. package/dist/ResourceCard/index.d.cts.map +1 -1
  990. package/dist/ResourceCard/index.d.ts +0 -1
  991. package/dist/ResourceCard/index.d.ts.map +1 -1
  992. package/dist/ResourceCard/index.js.map +1 -1
  993. package/dist/ScoreSummary/SubScores.cjs.map +1 -1
  994. package/dist/ScoreSummary/SubScores.d.cts +1 -10
  995. package/dist/ScoreSummary/SubScores.d.cts.map +1 -1
  996. package/dist/ScoreSummary/SubScores.d.ts +1 -10
  997. package/dist/ScoreSummary/SubScores.d.ts.map +1 -1
  998. package/dist/ScoreSummary/SubScores.js.map +1 -1
  999. package/dist/ScoreSummary/helpers.cjs +1 -0
  1000. package/dist/ScoreSummary/helpers.js +1 -1
  1001. package/dist/ScoreSummary/index.cjs.map +1 -1
  1002. package/dist/ScoreSummary/index.d.cts +0 -1
  1003. package/dist/ScoreSummary/index.d.cts.map +1 -1
  1004. package/dist/ScoreSummary/index.d.ts +0 -1
  1005. package/dist/ScoreSummary/index.d.ts.map +1 -1
  1006. package/dist/ScoreSummary/index.js.map +1 -1
  1007. package/dist/ScoreSummary/types.d.cts.map +1 -1
  1008. package/dist/ScoreSummary/types.d.ts.map +1 -1
  1009. package/dist/SkillPathCard/index.cjs.map +1 -1
  1010. package/dist/SkillPathCard/index.d.cts +0 -1
  1011. package/dist/SkillPathCard/index.d.cts.map +1 -1
  1012. package/dist/SkillPathCard/index.d.ts +0 -1
  1013. package/dist/SkillPathCard/index.d.ts.map +1 -1
  1014. package/dist/SkillPathCard/index.js.map +1 -1
  1015. package/dist/SocialMediaSharing/SocialShareIconLink.cjs.map +1 -1
  1016. package/dist/SocialMediaSharing/SocialShareIconLink.d.cts +1 -0
  1017. package/dist/SocialMediaSharing/SocialShareIconLink.d.cts.map +1 -1
  1018. package/dist/SocialMediaSharing/SocialShareIconLink.d.ts +1 -1
  1019. package/dist/SocialMediaSharing/SocialShareIconLink.d.ts.map +1 -1
  1020. package/dist/SocialMediaSharing/SocialShareIconLink.js.map +1 -1
  1021. package/dist/SocialMediaSharing/index.cjs.map +1 -1
  1022. package/dist/SocialMediaSharing/index.d.cts +3 -14
  1023. package/dist/SocialMediaSharing/index.d.cts.map +1 -1
  1024. package/dist/SocialMediaSharing/index.d.ts +3 -14
  1025. package/dist/SocialMediaSharing/index.d.ts.map +1 -1
  1026. package/dist/SocialMediaSharing/index.js.map +1 -1
  1027. package/dist/SocialMediaSharingDropdown/index.cjs.map +1 -1
  1028. package/dist/SocialMediaSharingDropdown/index.d.cts +0 -1
  1029. package/dist/SocialMediaSharingDropdown/index.d.cts.map +1 -1
  1030. package/dist/SocialMediaSharingDropdown/index.d.ts +0 -1
  1031. package/dist/SocialMediaSharingDropdown/index.d.ts.map +1 -1
  1032. package/dist/SocialMediaSharingDropdown/index.js.map +1 -1
  1033. package/dist/Testimonial/index.cjs.map +1 -1
  1034. package/dist/Testimonial/index.d.cts +0 -1
  1035. package/dist/Testimonial/index.d.cts.map +1 -1
  1036. package/dist/Testimonial/index.d.ts +0 -1
  1037. package/dist/Testimonial/index.d.ts.map +1 -1
  1038. package/dist/Testimonial/index.js.map +1 -1
  1039. package/dist/assets/navyQuotes.cjs.map +1 -1
  1040. package/dist/assets/navyQuotes.js.map +1 -1
  1041. package/dist/index.cjs +21 -23
  1042. package/dist/index.d.cts +13 -3
  1043. package/dist/index.d.ts +13 -3
  1044. package/dist/index.js +2 -3
  1045. package/dist/lib/breakpointHooks/index.cjs +6 -3
  1046. package/dist/lib/breakpointHooks/index.cjs.map +1 -1
  1047. package/dist/lib/breakpointHooks/index.d.cts.map +1 -1
  1048. package/dist/lib/breakpointHooks/index.d.ts.map +1 -1
  1049. package/dist/lib/breakpointHooks/index.js +6 -3
  1050. package/dist/lib/breakpointHooks/index.js.map +1 -1
  1051. package/dist/lib/resourcesList/index.cjs.map +1 -1
  1052. package/dist/lib/resourcesList/index.js.map +1 -1
  1053. package/dist/typings/react.d.cts +0 -1
  1054. package/dist/typings/react.d.cts.map +1 -1
  1055. package/dist/typings/react.d.ts +0 -1
  1056. package/dist/typings/react.d.ts.map +1 -1
  1057. package/dist/utils/index.cjs +2 -0
  1058. package/dist/utils/index.js +2 -0
  1059. package/package.json +2 -2
  1060. package/dist/AppBarDeprecated/AppBarSectionDeprecated.cjs +0 -24
  1061. package/dist/AppBarDeprecated/AppBarSectionDeprecated.cjs.map +0 -1
  1062. package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.cts +0 -19
  1063. package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.cts.map +0 -1
  1064. package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.ts +0 -19
  1065. package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.ts.map +0 -1
  1066. package/dist/AppBarDeprecated/AppBarSectionDeprecated.js +0 -20
  1067. package/dist/AppBarDeprecated/AppBarSectionDeprecated.js.map +0 -1
  1068. package/dist/AppBarDeprecated/index.cjs +0 -27
  1069. package/dist/AppBarDeprecated/index.cjs.map +0 -1
  1070. package/dist/AppBarDeprecated/index.d.cts +0 -19
  1071. package/dist/AppBarDeprecated/index.d.cts.map +0 -1
  1072. package/dist/AppBarDeprecated/index.d.ts +0 -19
  1073. package/dist/AppBarDeprecated/index.d.ts.map +0 -1
  1074. package/dist/AppBarDeprecated/index.js +0 -23
  1075. package/dist/AppBarDeprecated/index.js.map +0 -1
  1076. package/dist/AppBarDeprecated/styles/index.module.scss +0 -37
  1077. package/dist/Loading/styles.module.scss +0 -129
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["Anchor","Box","Card","FlexBox","Text","ArrowChevronRightIcon","ClockIcon","styled","format","parseJSON","upperCase","formatTime","EventTypeIcon","AbbreviatedEventCard","title","startDate","endDate","url","type","StyledLink","href","target","isInteractive","gap","height","alignContent","bg","borderRadius","color","justifyContent","px","width","fontFamily","fontSize","lineHeight","alignItems","minWidth","flexDirection","as","truncate","truncateLines","eventType","size"],"sources":["../../src/AbbreviatedCommunityEventCard/index.tsx"],"sourcesContent":["import { Anchor, Box, Card, FlexBox, Text } from '@codecademy/gamut';\nimport { ArrowChevronRightIcon, ClockIcon } from '@codecademy/gamut-icons';\nimport styled from '@emotion/styled';\nimport { format, parseJSON } from 'date-fns';\nimport upperCase from 'lodash/upperCase';\n\nimport { formatTime } from '../CommunityEventCard';\nimport { EventTypeIcon } from '../CommunityEventCard/EventTypeIcon';\n\nexport interface AbbreviatedEventCardProps {\n title: string;\n startDate: string;\n endDate: string;\n url: string;\n type?: string | null;\n}\n\nexport const AbbreviatedEventCard: React.FC<AbbreviatedEventCardProps> = ({\n title,\n startDate,\n endDate,\n url,\n type,\n}) => {\n const StyledLink = styled(Anchor)`\n text-decoration: none;\n &:focus {\n text-decoration: none;\n }\n `;\n\n return (\n <StyledLink href={url} target=\"_blank\">\n <Card isInteractive>\n <FlexBox gap={16} height=\"100%\">\n <Box\n alignContent=\"center\"\n bg=\"navy\"\n borderRadius=\"md\"\n color=\"white\"\n height={80}\n justifyContent=\"center\"\n px={12}\n width={80}\n >\n <Text fontFamily=\"accent\" fontSize={26} lineHeight=\"normal\">\n {upperCase(format(parseJSON(startDate), 'LLL dd'))}\n </Text>\n </Box>\n <FlexBox\n alignItems=\"center\"\n gap={16}\n justifyContent=\"space-between\"\n minWidth={0}\n width=\"100%\"\n >\n <FlexBox flexDirection=\"column\" gap={8} minWidth={0} width=\"100%\">\n <Text as=\"h3\" fontSize={22} truncate=\"ellipsis\" truncateLines={1}>\n {title}\n </Text>\n <FlexBox alignItems=\"center\" justifyContent=\"space-between\">\n <FlexBox alignItems=\"center\" gap={8} minWidth={0}>\n <ClockIcon />\n <Text\n fontFamily=\"accent\"\n fontSize={14}\n truncate=\"ellipsis\"\n truncateLines={1}\n >\n {formatTime(startDate, endDate)}\n </Text>\n </FlexBox>\n {type && (\n <FlexBox alignItems=\"center\" gap={8} minWidth={0}>\n <EventTypeIcon eventType={type} />\n </FlexBox>\n )}\n </FlexBox>\n </FlexBox>\n <ArrowChevronRightIcon size={24} />\n </FlexBox>\n </FlexBox>\n </Card>\n </StyledLink>\n );\n};\n"],"mappings":";;;;;;;;;;;;AAiBA,MAAaa,wBAA6D,EACxEC,OACAC,WACAC,SACAC,KACAC,WACD;CACC,MAAMC,aAAaZ,2CAAOP,0BAAAA;;;;CAO1B,OACE,oBAAA,cAACmB,YAAAA;EAAWC,MAAMH;EAAKI,QAAO;IAC5B,oBAAA,cAACnB,wBAAAA,EAAKoB,eAAAA,QACJ,oBAAA,cAACnB,2BAAAA;EAAQoB,KAAK;EAAIC,QAAO;IACvB,oBAAA,cAACvB,uBAAAA;EACCwB,cAAa;EACbC,IAAG;EACHC,cAAa;EACbC,OAAM;EACNJ,QAAQ;EACRK,gBAAe;EACfC,IAAI;EACJC,OAAO;IAEP,oBAAA,cAAC3B,wBAAAA;EAAK4B,YAAW;EAASC,UAAU;EAAIC,YAAW;kFACrBnB,SAAAA,GAAY,QAAA,CAAA,CAAA,CAAA,GAG5C,oBAAA,cAACZ,2BAAAA;EACCgC,YAAW;EACXZ,KAAK;EACLM,gBAAe;EACfO,UAAU;EACVL,OAAM;IAEN,oBAAA,cAAC5B,2BAAAA;EAAQkC,eAAc;EAASd,KAAK;EAAGa,UAAU;EAAGL,OAAM;IACzD,oBAAA,cAAC3B,wBAAAA;EAAKkC,IAAG;EAAKL,UAAU;EAAIM,UAAS;EAAWC,eAAe;IAC5D1B,KAAAA,GAEH,oBAAA,cAACX,2BAAAA;EAAQgC,YAAW;EAASN,gBAAe;IAC1C,oBAAA,cAAC1B,2BAAAA;EAAQgC,YAAW;EAASZ,KAAK;EAAGa,UAAU;IAC7C,oBAAA,cAAC9B,mCAAAA,IAAAA,GACD,oBAAA,cAACF,wBAAAA;EACC4B,YAAW;EACXC,UAAU;EACVM,UAAS;EACTC,eAAe;IAEd7B,yBAAWI,WAAWC,OAAAA,CAAAA,CAAAA,GAG1BE,QACC,oBAAA,cAACf,2BAAAA;EAAQgC,YAAW;EAASZ,KAAK;EAAGa,UAAU;IAC7C,oBAAA,cAACxB,qCAAAA,EAAc6B,WAAWvB,YAKlC,oBAAA,cAACb,+CAAAA,EAAsBqC,MAAM;AAMzC"}
1
+ {"version":3,"file":"index.cjs","names":["Anchor","Box","Card","FlexBox","Text","ArrowChevronRightIcon","ClockIcon","styled","format","parseJSON","upperCase","formatTime","EventTypeIcon","AbbreviatedEventCard","title","startDate","endDate","url","type","StyledLink","href","target","isInteractive","gap","height","alignContent","bg","borderRadius","color","justifyContent","px","width","fontFamily","fontSize","lineHeight","alignItems","minWidth","flexDirection","as","truncate","truncateLines","eventType","size"],"sources":["../../src/AbbreviatedCommunityEventCard/index.tsx"],"sourcesContent":["import { Anchor, Box, Card, FlexBox, Text } from '@codecademy/gamut';\nimport { ArrowChevronRightIcon, ClockIcon } from '@codecademy/gamut-icons';\nimport styled from '@emotion/styled';\nimport { format, parseJSON } from 'date-fns';\nimport upperCase from 'lodash/upperCase';\n\nimport { formatTime } from '../CommunityEventCard';\nimport { EventTypeIcon } from '../CommunityEventCard/EventTypeIcon';\n\nexport interface AbbreviatedEventCardProps {\n title: string;\n startDate: string;\n endDate: string;\n url: string;\n type?: string | null;\n}\n\nexport const AbbreviatedEventCard: React.FC<AbbreviatedEventCardProps> = ({\n title,\n startDate,\n endDate,\n url,\n type,\n}) => {\n const StyledLink = styled(Anchor)`\n text-decoration: none;\n &:focus {\n text-decoration: none;\n }\n `;\n\n return (\n <StyledLink href={url} target=\"_blank\">\n <Card isInteractive>\n <FlexBox gap={16} height=\"100%\">\n <Box\n alignContent=\"center\"\n bg=\"navy\"\n borderRadius=\"md\"\n color=\"white\"\n height={80}\n justifyContent=\"center\"\n px={12}\n width={80}\n >\n <Text fontFamily=\"accent\" fontSize={26} lineHeight=\"normal\">\n {upperCase(format(parseJSON(startDate), 'LLL dd'))}\n </Text>\n </Box>\n <FlexBox\n alignItems=\"center\"\n gap={16}\n justifyContent=\"space-between\"\n minWidth={0}\n width=\"100%\"\n >\n <FlexBox flexDirection=\"column\" gap={8} minWidth={0} width=\"100%\">\n <Text as=\"h3\" fontSize={22} truncate=\"ellipsis\" truncateLines={1}>\n {title}\n </Text>\n <FlexBox alignItems=\"center\" justifyContent=\"space-between\">\n <FlexBox alignItems=\"center\" gap={8} minWidth={0}>\n <ClockIcon />\n <Text\n fontFamily=\"accent\"\n fontSize={14}\n truncate=\"ellipsis\"\n truncateLines={1}\n >\n {formatTime(startDate, endDate)}\n </Text>\n </FlexBox>\n {type && (\n <FlexBox alignItems=\"center\" gap={8} minWidth={0}>\n <EventTypeIcon eventType={type} />\n </FlexBox>\n )}\n </FlexBox>\n </FlexBox>\n <ArrowChevronRightIcon size={24} />\n </FlexBox>\n </FlexBox>\n </Card>\n </StyledLink>\n );\n};\n"],"mappings":";;;;;;;;;;;;AAiBA,MAAaa,wBAA6D,EACxEC,OACAC,WACAC,SACAC,KACAC,WACD;CACC,MAAMC,aAAaZ,2CAAOP,0BAAAA;;;;CAO1B,OACE,oBAAA,cAACmB,YAAAA;EAAWC,MAAMH;EAAKI,QAAO;CAC5B,GAAA,oBAAA,cAACnB,wBAAAA,EAAKoB,eAAAA,KACJ,GAAA,oBAAA,cAACnB,2BAAAA;EAAQoB,KAAK;EAAIC,QAAO;CACvB,GAAA,oBAAA,cAACvB,uBAAAA;EACCwB,cAAa;EACbC,IAAG;EACHC,cAAa;EACbC,OAAM;EACNJ,QAAQ;EACRK,gBAAe;EACfC,IAAI;EACJC,OAAO;CAEP,GAAA,oBAAA,cAAC3B,wBAAAA;EAAK4B,YAAW;EAASC,UAAU;EAAIC,YAAW;CAChDxB,iFAA2BK,SAAAA,GAAY,QAAA,CAAA,CAAA,CAAA,GAG5C,oBAAA,cAACZ,2BAAAA;EACCgC,YAAW;EACXZ,KAAK;EACLM,gBAAe;EACfO,UAAU;EACVL,OAAM;CAEN,GAAA,oBAAA,cAAC5B,2BAAAA;EAAQkC,eAAc;EAASd,KAAK;EAAGa,UAAU;EAAGL,OAAM;CACzD,GAAA,oBAAA,cAAC3B,wBAAAA;EAAKkC,IAAG;EAAKL,UAAU;EAAIM,UAAS;EAAWC,eAAe;CAC5D1B,GAAAA,KAAAA,GAEH,oBAAA,cAACX,2BAAAA;EAAQgC,YAAW;EAASN,gBAAe;CAC1C,GAAA,oBAAA,cAAC1B,2BAAAA;EAAQgC,YAAW;EAASZ,KAAK;EAAGa,UAAU;CAC7C,GAAA,oBAAA,cAAC9B,mCAAAA,IAAAA,GACD,oBAAA,cAACF,wBAAAA;EACC4B,YAAW;EACXC,UAAU;EACVM,UAAS;EACTC,eAAe;CAEd7B,GAAAA,yBAAWI,WAAWC,OAAAA,CAAAA,CAAAA,GAG1BE,QACC,oBAAA,cAACf,2BAAAA;EAAQgC,YAAW;EAASZ,KAAK;EAAGa,UAAU;CAC7C,GAAA,oBAAA,cAACxB,qCAAAA,EAAc6B,WAAWvB,KAKlC,CAAA,CAAA,CAAA,CAAA,GAAA,oBAAA,cAACb,+CAAAA,EAAsBqC,MAAM;AAMzC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/AbbreviatedCommunityEventCard/index.tsx"],"mappings":";UASiB,yBAAA;EACf,KAAA;EACA,SAAA;EACA,OAAA;EACA,GAAA;EACA,IAAA;AAAA;AAAA,cAGW,oBAAA,EAAsB,KAAA,CAAM,EAAE,CAAC,yBAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/AbbreviatedCommunityEventCard/index.tsx"],"mappings":";UASiB;EACf;EACA;EACA;EACA;EACA;;cAGW,sBAAsB,MAAM,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/AbbreviatedCommunityEventCard/index.tsx"],"mappings":";UASiB,yBAAA;EACf,KAAA;EACA,SAAA;EACA,OAAA;EACA,GAAA;EACA,IAAA;AAAA;AAAA,cAGW,oBAAA,EAAsB,KAAA,CAAM,EAAA,CAAG,yBAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/AbbreviatedCommunityEventCard/index.tsx"],"mappings":";UASiB;EACf;EACA;EACA;EACA;EACA;;cAGW,sBAAsB,MAAM,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["Anchor","Box","Card","FlexBox","Text","ArrowChevronRightIcon","ClockIcon","styled","format","parseJSON","upperCase","formatTime","EventTypeIcon","AbbreviatedEventCard","title","startDate","endDate","url","type","StyledLink","href","target","isInteractive","gap","height","alignContent","bg","borderRadius","color","justifyContent","px","width","fontFamily","fontSize","lineHeight","alignItems","minWidth","flexDirection","as","truncate","truncateLines","eventType","size"],"sources":["../../src/AbbreviatedCommunityEventCard/index.tsx"],"sourcesContent":["import { Anchor, Box, Card, FlexBox, Text } from '@codecademy/gamut';\nimport { ArrowChevronRightIcon, ClockIcon } from '@codecademy/gamut-icons';\nimport styled from '@emotion/styled';\nimport { format, parseJSON } from 'date-fns';\nimport upperCase from 'lodash/upperCase';\n\nimport { formatTime } from '../CommunityEventCard';\nimport { EventTypeIcon } from '../CommunityEventCard/EventTypeIcon';\n\nexport interface AbbreviatedEventCardProps {\n title: string;\n startDate: string;\n endDate: string;\n url: string;\n type?: string | null;\n}\n\nexport const AbbreviatedEventCard: React.FC<AbbreviatedEventCardProps> = ({\n title,\n startDate,\n endDate,\n url,\n type,\n}) => {\n const StyledLink = styled(Anchor)`\n text-decoration: none;\n &:focus {\n text-decoration: none;\n }\n `;\n\n return (\n <StyledLink href={url} target=\"_blank\">\n <Card isInteractive>\n <FlexBox gap={16} height=\"100%\">\n <Box\n alignContent=\"center\"\n bg=\"navy\"\n borderRadius=\"md\"\n color=\"white\"\n height={80}\n justifyContent=\"center\"\n px={12}\n width={80}\n >\n <Text fontFamily=\"accent\" fontSize={26} lineHeight=\"normal\">\n {upperCase(format(parseJSON(startDate), 'LLL dd'))}\n </Text>\n </Box>\n <FlexBox\n alignItems=\"center\"\n gap={16}\n justifyContent=\"space-between\"\n minWidth={0}\n width=\"100%\"\n >\n <FlexBox flexDirection=\"column\" gap={8} minWidth={0} width=\"100%\">\n <Text as=\"h3\" fontSize={22} truncate=\"ellipsis\" truncateLines={1}>\n {title}\n </Text>\n <FlexBox alignItems=\"center\" justifyContent=\"space-between\">\n <FlexBox alignItems=\"center\" gap={8} minWidth={0}>\n <ClockIcon />\n <Text\n fontFamily=\"accent\"\n fontSize={14}\n truncate=\"ellipsis\"\n truncateLines={1}\n >\n {formatTime(startDate, endDate)}\n </Text>\n </FlexBox>\n {type && (\n <FlexBox alignItems=\"center\" gap={8} minWidth={0}>\n <EventTypeIcon eventType={type} />\n </FlexBox>\n )}\n </FlexBox>\n </FlexBox>\n <ArrowChevronRightIcon size={24} />\n </FlexBox>\n </FlexBox>\n </Card>\n </StyledLink>\n );\n};\n"],"mappings":";;;;;;;;;AAiBA,MAAaa,wBAA6D,EACxEC,OACAC,WACAC,SACAC,KACAC,WACD;CACC,MAAMC,aAAaZ,qBAAOP,QAAAA;;;;CAO1B,OACE,oBAAA,cAACmB,YAAAA;EAAWC,MAAMH;EAAKI,QAAO;IAC5B,oBAAA,cAACnB,MAAAA,EAAKoB,eAAAA,QACJ,oBAAA,cAACnB,SAAAA;EAAQoB,KAAK;EAAIC,QAAO;IACvB,oBAAA,cAACvB,KAAAA;EACCwB,cAAa;EACbC,IAAG;EACHC,cAAa;EACbC,OAAM;EACNJ,QAAQ;EACRK,gBAAe;EACfC,IAAI;EACJC,OAAO;IAEP,oBAAA,cAAC3B,MAAAA;EAAK4B,YAAW;EAASC,UAAU;EAAIC,YAAW;IAChDxB,UAAUF,OAAOC,UAAUM,SAAAA,GAAY,QAAA,CAAA,CAAA,CAAA,GAG5C,oBAAA,cAACZ,SAAAA;EACCgC,YAAW;EACXZ,KAAK;EACLM,gBAAe;EACfO,UAAU;EACVL,OAAM;IAEN,oBAAA,cAAC5B,SAAAA;EAAQkC,eAAc;EAASd,KAAK;EAAGa,UAAU;EAAGL,OAAM;IACzD,oBAAA,cAAC3B,MAAAA;EAAKkC,IAAG;EAAKL,UAAU;EAAIM,UAAS;EAAWC,eAAe;IAC5D1B,KAAAA,GAEH,oBAAA,cAACX,SAAAA;EAAQgC,YAAW;EAASN,gBAAe;IAC1C,oBAAA,cAAC1B,SAAAA;EAAQgC,YAAW;EAASZ,KAAK;EAAGa,UAAU;IAC7C,oBAAA,cAAC9B,WAAAA,IAAAA,GACD,oBAAA,cAACF,MAAAA;EACC4B,YAAW;EACXC,UAAU;EACVM,UAAS;EACTC,eAAe;IAEd7B,WAAWI,WAAWC,OAAAA,CAAAA,CAAAA,GAG1BE,QACC,oBAAA,cAACf,SAAAA;EAAQgC,YAAW;EAASZ,KAAK;EAAGa,UAAU;IAC7C,oBAAA,cAACxB,eAAAA,EAAc6B,WAAWvB,YAKlC,oBAAA,cAACb,uBAAAA,EAAsBqC,MAAM;AAMzC"}
1
+ {"version":3,"file":"index.js","names":["Anchor","Box","Card","FlexBox","Text","ArrowChevronRightIcon","ClockIcon","styled","format","parseJSON","upperCase","formatTime","EventTypeIcon","AbbreviatedEventCard","title","startDate","endDate","url","type","StyledLink","href","target","isInteractive","gap","height","alignContent","bg","borderRadius","color","justifyContent","px","width","fontFamily","fontSize","lineHeight","alignItems","minWidth","flexDirection","as","truncate","truncateLines","eventType","size"],"sources":["../../src/AbbreviatedCommunityEventCard/index.tsx"],"sourcesContent":["import { Anchor, Box, Card, FlexBox, Text } from '@codecademy/gamut';\nimport { ArrowChevronRightIcon, ClockIcon } from '@codecademy/gamut-icons';\nimport styled from '@emotion/styled';\nimport { format, parseJSON } from 'date-fns';\nimport upperCase from 'lodash/upperCase';\n\nimport { formatTime } from '../CommunityEventCard';\nimport { EventTypeIcon } from '../CommunityEventCard/EventTypeIcon';\n\nexport interface AbbreviatedEventCardProps {\n title: string;\n startDate: string;\n endDate: string;\n url: string;\n type?: string | null;\n}\n\nexport const AbbreviatedEventCard: React.FC<AbbreviatedEventCardProps> = ({\n title,\n startDate,\n endDate,\n url,\n type,\n}) => {\n const StyledLink = styled(Anchor)`\n text-decoration: none;\n &:focus {\n text-decoration: none;\n }\n `;\n\n return (\n <StyledLink href={url} target=\"_blank\">\n <Card isInteractive>\n <FlexBox gap={16} height=\"100%\">\n <Box\n alignContent=\"center\"\n bg=\"navy\"\n borderRadius=\"md\"\n color=\"white\"\n height={80}\n justifyContent=\"center\"\n px={12}\n width={80}\n >\n <Text fontFamily=\"accent\" fontSize={26} lineHeight=\"normal\">\n {upperCase(format(parseJSON(startDate), 'LLL dd'))}\n </Text>\n </Box>\n <FlexBox\n alignItems=\"center\"\n gap={16}\n justifyContent=\"space-between\"\n minWidth={0}\n width=\"100%\"\n >\n <FlexBox flexDirection=\"column\" gap={8} minWidth={0} width=\"100%\">\n <Text as=\"h3\" fontSize={22} truncate=\"ellipsis\" truncateLines={1}>\n {title}\n </Text>\n <FlexBox alignItems=\"center\" justifyContent=\"space-between\">\n <FlexBox alignItems=\"center\" gap={8} minWidth={0}>\n <ClockIcon />\n <Text\n fontFamily=\"accent\"\n fontSize={14}\n truncate=\"ellipsis\"\n truncateLines={1}\n >\n {formatTime(startDate, endDate)}\n </Text>\n </FlexBox>\n {type && (\n <FlexBox alignItems=\"center\" gap={8} minWidth={0}>\n <EventTypeIcon eventType={type} />\n </FlexBox>\n )}\n </FlexBox>\n </FlexBox>\n <ArrowChevronRightIcon size={24} />\n </FlexBox>\n </FlexBox>\n </Card>\n </StyledLink>\n );\n};\n"],"mappings":";;;;;;;;;AAiBA,MAAaa,wBAA6D,EACxEC,OACAC,WACAC,SACAC,KACAC,WACD;CACC,MAAMC,aAAaZ,qBAAOP,QAAAA;;;;CAO1B,OACE,oBAAA,cAACmB,YAAAA;EAAWC,MAAMH;EAAKI,QAAO;CAC5B,GAAA,oBAAA,cAACnB,MAAAA,EAAKoB,eAAAA,KACJ,GAAA,oBAAA,cAACnB,SAAAA;EAAQoB,KAAK;EAAIC,QAAO;CACvB,GAAA,oBAAA,cAACvB,KAAAA;EACCwB,cAAa;EACbC,IAAG;EACHC,cAAa;EACbC,OAAM;EACNJ,QAAQ;EACRK,gBAAe;EACfC,IAAI;EACJC,OAAO;CAEP,GAAA,oBAAA,cAAC3B,MAAAA;EAAK4B,YAAW;EAASC,UAAU;EAAIC,YAAW;CAChDxB,GAAAA,UAAUF,OAAOC,UAAUM,SAAAA,GAAY,QAAA,CAAA,CAAA,CAAA,GAG5C,oBAAA,cAACZ,SAAAA;EACCgC,YAAW;EACXZ,KAAK;EACLM,gBAAe;EACfO,UAAU;EACVL,OAAM;CAEN,GAAA,oBAAA,cAAC5B,SAAAA;EAAQkC,eAAc;EAASd,KAAK;EAAGa,UAAU;EAAGL,OAAM;CACzD,GAAA,oBAAA,cAAC3B,MAAAA;EAAKkC,IAAG;EAAKL,UAAU;EAAIM,UAAS;EAAWC,eAAe;CAC5D1B,GAAAA,KAAAA,GAEH,oBAAA,cAACX,SAAAA;EAAQgC,YAAW;EAASN,gBAAe;CAC1C,GAAA,oBAAA,cAAC1B,SAAAA;EAAQgC,YAAW;EAASZ,KAAK;EAAGa,UAAU;CAC7C,GAAA,oBAAA,cAAC9B,WAAAA,IAAAA,GACD,oBAAA,cAACF,MAAAA;EACC4B,YAAW;EACXC,UAAU;EACVM,UAAS;EACTC,eAAe;CAEd7B,GAAAA,WAAWI,WAAWC,OAAAA,CAAAA,CAAAA,GAG1BE,QACC,oBAAA,cAACf,SAAAA;EAAQgC,YAAW;EAASZ,KAAK;EAAGa,UAAU;CAC7C,GAAA,oBAAA,cAACxB,eAAAA,EAAc6B,WAAWvB,KAKlC,CAAA,CAAA,CAAA,CAAA,GAAA,oBAAA,cAACb,uBAAAA,EAAsBqC,MAAM;AAMzC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["styled","motion","useState","React","useIsomorphicLayoutEffect","transitionDuration","variants","expanded","height","folded","AccordionAreaDeprecated","children","className","top","delayExpanded","setDelayExpanded","handle","setTimeout","clearTimeout","div","StyledAccordionBody","animate","initial","transition","duration","ease"],"sources":["../../src/AccordionAreaDeprecated/index.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { motion } from 'framer-motion';\nimport { useState } from 'react';\nimport * as React from 'react';\nimport { useIsomorphicLayoutEffect } from 'react-use';\n\nexport type AccordionAreaDeprecatedProps = {\n children: React.ReactNode;\n\n className?: string;\n\n /**\n * Whether the accordion is visually expanded to show its contents.\n */\n expanded?: boolean;\n\n /**\n * Contents of the clickable header button.\n */\n top: React.ReactNode;\n};\n\nconst transitionDuration = 0.2;\n\nconst variants = {\n expanded: { height: 'auto' },\n folded: { height: '0' },\n};\n\n/**\n * @deprecated\n * This component is in the old visual identity and will be updated soon.\n * @see `Disclosure` and `List` from `@codecademy/gamut`\n *\n * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status\n */\n\nexport const AccordionAreaDeprecated: React.FC<\n AccordionAreaDeprecatedProps\n> = ({ children, className, expanded, top }) => {\n const [delayExpanded, setDelayExpanded] = useState(expanded);\n\n useIsomorphicLayoutEffect(() => {\n const handle = setTimeout(\n () => setDelayExpanded(expanded),\n transitionDuration * 1000\n );\n\n return () => clearTimeout(handle);\n }, [expanded]);\n\n return (\n <div className={className}>\n {top}\n <StyledAccordionBody\n animate={expanded ? 'expanded' : 'folded'}\n initial={expanded ? 'expanded' : 'folded'}\n transition={{ duration: 0.2, ease: 'easeInOut' }}\n variants={variants}\n >\n {(expanded || delayExpanded) && children}\n </StyledAccordionBody>\n </div>\n );\n};\n\nconst StyledAccordionBody = styled(motion.div)`\n overflow: hidden;\n`;\n"],"mappings":";;;;;;;;;AAsBA,MAAMK,qBAAqB;AAE3B,MAAMC,WAAW;CACfC,UAAU,EAAEC,QAAQ,OAAO;CAC3BC,QAAQ,EAAED,QAAQ,IAAI;AACxB;;;;;;;GAUA,MAAaE,2BAER,EAAEC,UAAUC,WAAWL,UAAUM,UAAK;CACzC,MAAM,CAACC,eAAeC,wCAA6BR,QAAAA;CAEnDH,+CAA0B;EACxB,MAAMY,SAASC,iBACPF,iBAAiBR,QAAAA,GACvBF,qBAAqB,GAAA;EAGvB,aAAaa,aAAaF,MAAAA;CAC5B,GAAG,CAACT,SAAS;CAEb,OACE,oBAAA,cAACY,OAAAA,EAAeP,aACbC,KACD,oBAAA,cAACO,qBAAAA;EACCC,SAASd,WAAW,aAAa;EACjCe,SAASf,WAAW,aAAa;EACjCgB,YAAY;GAAEC,UAAU;GAAKC,MAAM;EAAY;EACrCnB;KAERC,YAAYO,kBAAkBH,QAAAA,CAAAA;AAIxC;AAEA,MAAMS,sBAAsBpB,2CAAOC,qBAAOkB,KAAG"}
1
+ {"version":3,"file":"index.cjs","names":["styled","motion","useState","React","useIsomorphicLayoutEffect","transitionDuration","variants","expanded","height","folded","AccordionAreaDeprecated","children","className","top","delayExpanded","setDelayExpanded","handle","setTimeout","clearTimeout","div","StyledAccordionBody","animate","initial","transition","duration","ease"],"sources":["../../src/AccordionAreaDeprecated/index.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { motion } from 'framer-motion';\nimport { useState } from 'react';\nimport * as React from 'react';\nimport { useIsomorphicLayoutEffect } from 'react-use';\n\nexport type AccordionAreaDeprecatedProps = {\n children: React.ReactNode;\n\n className?: string;\n\n /**\n * Whether the accordion is visually expanded to show its contents.\n */\n expanded?: boolean;\n\n /**\n * Contents of the clickable header button.\n */\n top: React.ReactNode;\n};\n\nconst transitionDuration = 0.2;\n\nconst variants = {\n expanded: { height: 'auto' },\n folded: { height: '0' },\n};\n\n/**\n * @deprecated\n * This component is in the old visual identity and will be updated soon.\n * @see `Disclosure` and `List` from `@codecademy/gamut`\n *\n * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status\n */\n\nexport const AccordionAreaDeprecated: React.FC<\n AccordionAreaDeprecatedProps\n> = ({ children, className, expanded, top }) => {\n const [delayExpanded, setDelayExpanded] = useState(expanded);\n\n useIsomorphicLayoutEffect(() => {\n const handle = setTimeout(\n () => setDelayExpanded(expanded),\n transitionDuration * 1000\n );\n\n return () => clearTimeout(handle);\n }, [expanded]);\n\n return (\n <div className={className}>\n {top}\n <StyledAccordionBody\n animate={expanded ? 'expanded' : 'folded'}\n initial={expanded ? 'expanded' : 'folded'}\n transition={{ duration: 0.2, ease: 'easeInOut' }}\n variants={variants}\n >\n {(expanded || delayExpanded) && children}\n </StyledAccordionBody>\n </div>\n );\n};\n\nconst StyledAccordionBody = styled(motion.div)`\n overflow: hidden;\n`;\n"],"mappings":";;;;;;;;;AAsBA,MAAMK,qBAAqB;AAE3B,MAAMC,WAAW;CACfC,UAAU,EAAEC,QAAQ,OAAO;CAC3BC,QAAQ,EAAED,QAAQ,IAAI;AACxB;;;;;;;GAUA,MAAaE,2BAER,EAAEC,UAAUC,WAAWL,UAAUM,UAAK;CACzC,MAAM,CAACC,eAAeC,wCAA6BR,QAAAA;CAEnDH,+CAA0B;EACxB,MAAMY,SAASC,iBACPF,iBAAiBR,QAAAA,GACvBF,qBAAqB,GAAA;EAGvB,aAAaa,aAAaF,MAAAA;CAC5B,GAAG,CAACT,QAAS,CAAA;CAEb,OACE,oBAAA,cAACY,OAAAA,EAAeP,UACbC,GAAAA,KACD,oBAAA,cAACO,qBAAAA;EACCC,SAASd,WAAW,aAAa;EACjCe,SAASf,WAAW,aAAa;EACjCgB,YAAY;GAAEC,UAAU;GAAKC,MAAM;EAAY;EACrCnB;CAET,IAACC,YAAYO,kBAAkBH,QAAAA,CAAAA;AAIxC;AAEA,MAAMS,sBAAsBpB,2CAAOC,qBAAOkB,KAAG"}
@@ -1,5 +1,4 @@
1
1
  import * as React$1 from "react";
2
-
3
2
  //#region src/AccordionAreaDeprecated/index.d.ts
4
3
  type AccordionAreaDeprecatedProps = {
5
4
  children: React$1.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/AccordionAreaDeprecated/index.tsx"],"mappings":";;;KAMY,4BAAA;EACV,QAAA,EAAU,OAAA,CAAM,SAAA;EAEhB,SAAA;EAHsC;;;EAQtC,QAAA;EAPU;;;EAYV,GAAA,EAAK,OAAA,CAAM,SAAS;AAAA;;;;AAAA;AAkBtB;;;cAAa,uBAAA,EAAyB,OAAA,CAAM,EAAE,CAC5C,4BAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/AccordionAreaDeprecated/index.tsx"],"mappings":";;KAMY;EACV,UAAU,QAAM;EAEhB;;;;EAKA;;;;EAKA,KAAK,QAAM;;;;;;;;;cAkBA,yBAAyB,QAAM,GAC1C"}
@@ -1,5 +1,4 @@
1
1
  import * as React$1 from "react";
2
-
3
2
  //#region src/AccordionAreaDeprecated/index.d.ts
4
3
  type AccordionAreaDeprecatedProps = {
5
4
  children: React$1.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/AccordionAreaDeprecated/index.tsx"],"mappings":";;;KAMY,4BAAA;EACV,QAAA,EAAU,OAAA,CAAM,SAAA;EAEhB,SAAA;EAHsC;;;EAQtC,QAAA;EAPU;;;EAYV,GAAA,EAAK,OAAA,CAAM,SAAA;AAAA;;;;;AAkBb;;;cAAa,uBAAA,EAAyB,OAAA,CAAM,EAAA,CAC1C,4BAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/AccordionAreaDeprecated/index.tsx"],"mappings":";;KAMY;EACV,UAAU,QAAM;EAEhB;;;;EAKA;;;;EAKA,KAAK,QAAM;;;;;;;;;cAkBA,yBAAyB,QAAM,GAC1C"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["styled","motion","useState","React","useIsomorphicLayoutEffect","transitionDuration","variants","expanded","height","folded","AccordionAreaDeprecated","children","className","top","delayExpanded","setDelayExpanded","handle","setTimeout","clearTimeout","div","StyledAccordionBody","animate","initial","transition","duration","ease"],"sources":["../../src/AccordionAreaDeprecated/index.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { motion } from 'framer-motion';\nimport { useState } from 'react';\nimport * as React from 'react';\nimport { useIsomorphicLayoutEffect } from 'react-use';\n\nexport type AccordionAreaDeprecatedProps = {\n children: React.ReactNode;\n\n className?: string;\n\n /**\n * Whether the accordion is visually expanded to show its contents.\n */\n expanded?: boolean;\n\n /**\n * Contents of the clickable header button.\n */\n top: React.ReactNode;\n};\n\nconst transitionDuration = 0.2;\n\nconst variants = {\n expanded: { height: 'auto' },\n folded: { height: '0' },\n};\n\n/**\n * @deprecated\n * This component is in the old visual identity and will be updated soon.\n * @see `Disclosure` and `List` from `@codecademy/gamut`\n *\n * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status\n */\n\nexport const AccordionAreaDeprecated: React.FC<\n AccordionAreaDeprecatedProps\n> = ({ children, className, expanded, top }) => {\n const [delayExpanded, setDelayExpanded] = useState(expanded);\n\n useIsomorphicLayoutEffect(() => {\n const handle = setTimeout(\n () => setDelayExpanded(expanded),\n transitionDuration * 1000\n );\n\n return () => clearTimeout(handle);\n }, [expanded]);\n\n return (\n <div className={className}>\n {top}\n <StyledAccordionBody\n animate={expanded ? 'expanded' : 'folded'}\n initial={expanded ? 'expanded' : 'folded'}\n transition={{ duration: 0.2, ease: 'easeInOut' }}\n variants={variants}\n >\n {(expanded || delayExpanded) && children}\n </StyledAccordionBody>\n </div>\n );\n};\n\nconst StyledAccordionBody = styled(motion.div)`\n overflow: hidden;\n`;\n"],"mappings":";;;;;;;AAsBA,MAAMK,qBAAqB;AAE3B,MAAMC,WAAW;CACfC,UAAU,EAAEC,QAAQ,OAAO;CAC3BC,QAAQ,EAAED,QAAQ,IAAI;AACxB;;;;;;;GAUA,MAAaE,2BAER,EAAEC,UAAUC,WAAWL,UAAUM,UAAK;CACzC,MAAM,CAACC,eAAeC,oBAAoBb,SAASK,QAAAA;CAEnDH,gCAA0B;EACxB,MAAMY,SAASC,iBACPF,iBAAiBR,QAAAA,GACvBF,qBAAqB,GAAA;EAGvB,aAAaa,aAAaF,MAAAA;CAC5B,GAAG,CAACT,SAAS;CAEb,OACE,sBAAA,cAACY,OAAAA,EAAeP,aACbC,KACD,sBAAA,cAACO,qBAAAA;EACCC,SAASd,WAAW,aAAa;EACjCe,SAASf,WAAW,aAAa;EACjCgB,YAAY;GAAEC,UAAU;GAAKC,MAAM;EAAY;EACrCnB;KAERC,YAAYO,kBAAkBH,QAAAA,CAAAA;AAIxC;AAEA,MAAMS,sBAAsBpB,qBAAOC,OAAOkB,KAAG"}
1
+ {"version":3,"file":"index.js","names":["styled","motion","useState","React","useIsomorphicLayoutEffect","transitionDuration","variants","expanded","height","folded","AccordionAreaDeprecated","children","className","top","delayExpanded","setDelayExpanded","handle","setTimeout","clearTimeout","div","StyledAccordionBody","animate","initial","transition","duration","ease"],"sources":["../../src/AccordionAreaDeprecated/index.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { motion } from 'framer-motion';\nimport { useState } from 'react';\nimport * as React from 'react';\nimport { useIsomorphicLayoutEffect } from 'react-use';\n\nexport type AccordionAreaDeprecatedProps = {\n children: React.ReactNode;\n\n className?: string;\n\n /**\n * Whether the accordion is visually expanded to show its contents.\n */\n expanded?: boolean;\n\n /**\n * Contents of the clickable header button.\n */\n top: React.ReactNode;\n};\n\nconst transitionDuration = 0.2;\n\nconst variants = {\n expanded: { height: 'auto' },\n folded: { height: '0' },\n};\n\n/**\n * @deprecated\n * This component is in the old visual identity and will be updated soon.\n * @see `Disclosure` and `List` from `@codecademy/gamut`\n *\n * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status\n */\n\nexport const AccordionAreaDeprecated: React.FC<\n AccordionAreaDeprecatedProps\n> = ({ children, className, expanded, top }) => {\n const [delayExpanded, setDelayExpanded] = useState(expanded);\n\n useIsomorphicLayoutEffect(() => {\n const handle = setTimeout(\n () => setDelayExpanded(expanded),\n transitionDuration * 1000\n );\n\n return () => clearTimeout(handle);\n }, [expanded]);\n\n return (\n <div className={className}>\n {top}\n <StyledAccordionBody\n animate={expanded ? 'expanded' : 'folded'}\n initial={expanded ? 'expanded' : 'folded'}\n transition={{ duration: 0.2, ease: 'easeInOut' }}\n variants={variants}\n >\n {(expanded || delayExpanded) && children}\n </StyledAccordionBody>\n </div>\n );\n};\n\nconst StyledAccordionBody = styled(motion.div)`\n overflow: hidden;\n`;\n"],"mappings":";;;;;;;AAsBA,MAAMK,qBAAqB;AAE3B,MAAMC,WAAW;CACfC,UAAU,EAAEC,QAAQ,OAAO;CAC3BC,QAAQ,EAAED,QAAQ,IAAI;AACxB;;;;;;;GAUA,MAAaE,2BAER,EAAEC,UAAUC,WAAWL,UAAUM,UAAK;CACzC,MAAM,CAACC,eAAeC,oBAAoBb,SAASK,QAAAA;CAEnDH,gCAA0B;EACxB,MAAMY,SAASC,iBACPF,iBAAiBR,QAAAA,GACvBF,qBAAqB,GAAA;EAGvB,aAAaa,aAAaF,MAAAA;CAC5B,GAAG,CAACT,QAAS,CAAA;CAEb,OACE,sBAAA,cAACY,OAAAA,EAAeP,UACbC,GAAAA,KACD,sBAAA,cAACO,qBAAAA;EACCC,SAASd,WAAW,aAAa;EACjCe,SAASf,WAAW,aAAa;EACjCgB,YAAY;GAAEC,UAAU;GAAKC,MAAM;EAAY;EACrCnB;CAET,IAACC,YAAYO,kBAAkBH,QAAAA,CAAAA;AAIxC;AAEA,MAAMS,sBAAsBpB,qBAAOC,OAAOkB,KAAG"}
@@ -73,4 +73,5 @@ const isPreset = (theme) => {
73
73
 
74
74
  //#endregion
75
75
  exports.ButtonDeprecated = ButtonDeprecated;
76
+ exports.buttonPresetThemes = buttonPresetThemes;
76
77
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["cx","hasIn","React","omitProps","ButtonDeprecatedBase","styles","buttonPresetThemes","secondary","platform","lantern","royalblue","themes","propKeys","isPreset","theme","ButtonDeprecated","props","typeClassName","link","btn","themeClassName","classes","size","block","go","outline","underline","caps","round","square","flat","fitText","className","propsToTransfer","onClick","children"],"sources":["../../../src/AccordionButtonDeprecated/ButtonDeprecated/index.tsx"],"sourcesContent":["/* eslint-disable react/destructuring-assignment */\nimport cx from 'classnames';\nimport hasIn from 'lodash/hasIn';\nimport { ReactNode } from 'react';\nimport * as React from 'react';\n\nimport { omitProps } from '../../utils';\nimport {\n ButtonDeprecatedBase,\n ButtonDeprecatedBaseProps,\n} from '../ButtonDeprecatedBase';\n// eslint-disable-next-line gamut/no-css-standalone\nimport styles from './styles/index.module.scss';\n\n// themes can be an alias to a color\n// or a unique button type\nexport const buttonPresetThemes = {\n secondary: 'mint',\n platform: 'greyblue',\n lantern: 'darkmint',\n royalblue: 'brand-purple',\n} as const;\n\nconst themes = [\n 'hyper',\n 'navy',\n 'red',\n 'white',\n 'brand-red',\n 'brand-yellow',\n 'brand-purple',\n 'brand-dark-blue',\n 'brand-blue',\n 'mint',\n 'darkmint',\n 'grey',\n 'greyblue',\n] as const;\n\nexport type ButtonDeprecatedThemes =\n | keyof typeof buttonPresetThemes\n | (typeof themes)[number];\n\nconst propKeys = [\n 'theme',\n 'size',\n 'outline',\n 'underline',\n 'link',\n 'caps',\n 'go',\n 'children',\n 'block',\n 'className',\n 'round',\n 'square',\n 'flat',\n 'fitText',\n 'onClick',\n];\n\nexport type ButtonDeprecatedProps = ButtonDeprecatedBaseProps & {\n /**\n * Whether button should behave like a block element or inline.\n */\n block?: boolean;\n /**\n * Capitalize the text of the button.\n */\n caps?: boolean;\n children: ReactNode;\n /**\n * Disables the button and adds visual indicators to show it is not interactive.\n */\n disabled?: boolean;\n /**\n * Variant that displays the button as flat.\n */\n flat?: boolean;\n /**\n * Adds a pulsing animation to the button\n */\n go?: boolean;\n /**\n * Changes the button to a link with no visual indication\n */\n href?: string;\n /**\n * Link relationship property to be used with `href`\n */\n rel?: string;\n /**\n * Link target property to be used with `href`\n */\n target?: string;\n id?: string;\n /**\n * Variant that displays the button as an inline link element, but maintains its semantic meaning as a button.\n */\n link?: boolean;\n /**\n * Variant the displays the button as a button that is outlined instead of solid.\n */\n outline?: boolean;\n /**\n * Variant that rounds the corners of the button\n */\n round?: boolean;\n /**\n * Variant that determines the size of the button\n */\n size?: 'small' | 'large';\n /**\n * Variant that displays the button as a square\n */\n square?: boolean;\n /**\n * Variant that controls the background and text color of the button\n * */\n theme?: ButtonDeprecatedThemes;\n type?: string;\n /**\n * Variant that underlines the text of the button.\n */\n underline?: boolean;\n /**\n * Determines whether button dimensions should be determined by the content\n */\n fitText?: boolean;\n};\n\nconst isPreset = (theme: string): theme is keyof typeof buttonPresetThemes => {\n return hasIn(buttonPresetThemes, theme);\n};\n\n/**\n * @deprecated\n * This component is deprecated and is no longer supported.\n *\n * See [FillButon](https://gamut.codecademy.com/storybook/?path=/docs/atoms-button--fill-button#fill-button)\n *\n * @example\n * import { FillButton } fom '@codecademy/gamut';\n *\n * <FillButton variant=\"primary\" />\n */\n\nexport const ButtonDeprecated: React.FC<ButtonDeprecatedProps> = (props) => {\n let { theme = 'brand-red' } = props;\n\n if (isPreset(theme)) {\n theme = buttonPresetThemes[theme];\n }\n\n const typeClassName = props.link ? styles.link : styles.btn;\n const themeClassName = props.link\n ? styles[`link-${theme}`]\n : styles[`btn-${theme}`];\n\n const classes = cx(\n typeClassName,\n themeClassName,\n styles[props.size!],\n {\n [styles.block]: props.block,\n [styles.go]: props.go,\n [styles.outline]: props.outline,\n [styles.underline]: props.underline,\n [styles.caps]: props.caps,\n [styles.round]: props.round,\n [styles.square]: props.square,\n [styles.flat]: props.flat,\n [styles['fit-text']]: props.fitText,\n },\n props.className\n );\n\n const propsToTransfer = omitProps(propKeys, props);\n\n return (\n <ButtonDeprecatedBase\n {...propsToTransfer}\n className={classes}\n link={props.link}\n onClick={props.onClick}\n >\n {props.children}\n </ButtonDeprecatedBase>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;AAgBA,MAAaM,qBAAqB;CAChCC,WAAW;CACXC,UAAU;CACVC,SAAS;CACTC,WAAW;AACb;AAsBA,MAAME,WAAW;CACf;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;AAyEF,MAAMC,YAAYC,UAAAA;CAChB,oCAAaR,oBAAoBQ,KAAAA;AACnC;;;;;;;;;;;GAcA,MAAaC,oBAAqDC,UAAAA;CAChE,IAAI,EAAEF,QAAQ,gBAAgBE;CAE9B,IAAIH,SAASC,KAAAA,GACXA,QAAQR,mBAAmBQ;CAQ7B,MAAMO,kCALgBL,MAAME,OAAOb,gFAAOa,OAAOb,gFAAOc,KACjCH,MAAME,OACzBb,gFAAO,QAAQS,WACfT,gFAAO,OAAOS,UAKhBT,gFAAOW,MAAMM,OACb;GACGjB,gFAAOkB,QAAQP,MAAMO;GACrBlB,gFAAOmB,KAAKR,MAAMQ;GAClBnB,gFAAOoB,UAAUT,MAAMS;GACvBpB,gFAAOqB,YAAYV,MAAMU;GACzBrB,gFAAOsB,OAAOX,MAAMW;GACpBtB,gFAAOuB,QAAQZ,MAAMY;GACrBvB,gFAAOwB,SAASb,MAAMa;GACtBxB,gFAAOyB,OAAOd,MAAMc;GACpBzB,gFAAO,cAAcW,MAAMe;CAC9B,GACAf,MAAMgB,SAAS;CAGjB,MAAMC,kBAAkB9B,4BAAUS,UAAUI,KAAAA;CAE5C,OACE,oBAAA,cAACZ,sCAAAA;EACE,GAAG6B;EACJD,WAAWX;EACXH,MAAMF,MAAME;EACZgB,SAASlB,MAAMkB;IAEdlB,MAAMmB,QAAQ;AAGrB"}
1
+ {"version":3,"file":"index.cjs","names":["cx","hasIn","React","omitProps","ButtonDeprecatedBase","styles","buttonPresetThemes","secondary","platform","lantern","royalblue","themes","propKeys","isPreset","theme","ButtonDeprecated","props","typeClassName","link","btn","themeClassName","classes","size","block","go","outline","underline","caps","round","square","flat","fitText","className","propsToTransfer","onClick","children"],"sources":["../../../src/AccordionButtonDeprecated/ButtonDeprecated/index.tsx"],"sourcesContent":["/* eslint-disable react/destructuring-assignment */\nimport cx from 'classnames';\nimport hasIn from 'lodash/hasIn';\nimport { ReactNode } from 'react';\nimport * as React from 'react';\n\nimport { omitProps } from '../../utils';\nimport {\n ButtonDeprecatedBase,\n ButtonDeprecatedBaseProps,\n} from '../ButtonDeprecatedBase';\n// eslint-disable-next-line gamut/no-css-standalone\nimport styles from './styles/index.module.scss';\n\n// themes can be an alias to a color\n// or a unique button type\nexport const buttonPresetThemes = {\n secondary: 'mint',\n platform: 'greyblue',\n lantern: 'darkmint',\n royalblue: 'brand-purple',\n} as const;\n\nconst themes = [\n 'hyper',\n 'navy',\n 'red',\n 'white',\n 'brand-red',\n 'brand-yellow',\n 'brand-purple',\n 'brand-dark-blue',\n 'brand-blue',\n 'mint',\n 'darkmint',\n 'grey',\n 'greyblue',\n] as const;\n\nexport type ButtonDeprecatedThemes =\n | keyof typeof buttonPresetThemes\n | (typeof themes)[number];\n\nconst propKeys = [\n 'theme',\n 'size',\n 'outline',\n 'underline',\n 'link',\n 'caps',\n 'go',\n 'children',\n 'block',\n 'className',\n 'round',\n 'square',\n 'flat',\n 'fitText',\n 'onClick',\n];\n\nexport type ButtonDeprecatedProps = ButtonDeprecatedBaseProps & {\n /**\n * Whether button should behave like a block element or inline.\n */\n block?: boolean;\n /**\n * Capitalize the text of the button.\n */\n caps?: boolean;\n children: ReactNode;\n /**\n * Disables the button and adds visual indicators to show it is not interactive.\n */\n disabled?: boolean;\n /**\n * Variant that displays the button as flat.\n */\n flat?: boolean;\n /**\n * Adds a pulsing animation to the button\n */\n go?: boolean;\n /**\n * Changes the button to a link with no visual indication\n */\n href?: string;\n /**\n * Link relationship property to be used with `href`\n */\n rel?: string;\n /**\n * Link target property to be used with `href`\n */\n target?: string;\n id?: string;\n /**\n * Variant that displays the button as an inline link element, but maintains its semantic meaning as a button.\n */\n link?: boolean;\n /**\n * Variant the displays the button as a button that is outlined instead of solid.\n */\n outline?: boolean;\n /**\n * Variant that rounds the corners of the button\n */\n round?: boolean;\n /**\n * Variant that determines the size of the button\n */\n size?: 'small' | 'large';\n /**\n * Variant that displays the button as a square\n */\n square?: boolean;\n /**\n * Variant that controls the background and text color of the button\n * */\n theme?: ButtonDeprecatedThemes;\n type?: string;\n /**\n * Variant that underlines the text of the button.\n */\n underline?: boolean;\n /**\n * Determines whether button dimensions should be determined by the content\n */\n fitText?: boolean;\n};\n\nconst isPreset = (theme: string): theme is keyof typeof buttonPresetThemes => {\n return hasIn(buttonPresetThemes, theme);\n};\n\n/**\n * @deprecated\n * This component is deprecated and is no longer supported.\n *\n * See [FillButon](https://gamut.codecademy.com/storybook/?path=/docs/atoms-button--fill-button#fill-button)\n *\n * @example\n * import { FillButton } fom '@codecademy/gamut';\n *\n * <FillButton variant=\"primary\" />\n */\n\nexport const ButtonDeprecated: React.FC<ButtonDeprecatedProps> = (props) => {\n let { theme = 'brand-red' } = props;\n\n if (isPreset(theme)) {\n theme = buttonPresetThemes[theme];\n }\n\n const typeClassName = props.link ? styles.link : styles.btn;\n const themeClassName = props.link\n ? styles[`link-${theme}`]\n : styles[`btn-${theme}`];\n\n const classes = cx(\n typeClassName,\n themeClassName,\n styles[props.size!],\n {\n [styles.block]: props.block,\n [styles.go]: props.go,\n [styles.outline]: props.outline,\n [styles.underline]: props.underline,\n [styles.caps]: props.caps,\n [styles.round]: props.round,\n [styles.square]: props.square,\n [styles.flat]: props.flat,\n [styles['fit-text']]: props.fitText,\n },\n props.className\n );\n\n const propsToTransfer = omitProps(propKeys, props);\n\n return (\n <ButtonDeprecatedBase\n {...propsToTransfer}\n className={classes}\n link={props.link}\n onClick={props.onClick}\n >\n {props.children}\n </ButtonDeprecatedBase>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;AAgBA,MAAaM,qBAAqB;CAChCC,WAAW;CACXC,UAAU;CACVC,SAAS;CACTC,WAAW;AACb;AAsBA,MAAME,WAAW;CACf;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AAwED,MAAMC,YAAYC,UAAAA;CAChB,oCAAaR,oBAAoBQ,KAAAA;AACnC;;;;;;;;;;;GAcA,MAAaC,oBAAqDC,UAAAA;CAChE,IAAI,EAAEF,QAAQ,gBAAgBE;CAE9B,IAAIH,SAASC,KAAAA,GACXA,QAAQR,mBAAmBQ;CAQ7B,MAAMO,kCALgBL,MAAME,OAAOb,gFAAOa,OAAOb,gFAAOc,KACjCH,MAAME,OACzBb,gFAAO,QAAQS,WACfT,gFAAO,OAAOS,UAKhBT,gFAAOW,MAAMM,OACb;GACGjB,gFAAOkB,QAAQP,MAAMO;GACrBlB,gFAAOmB,KAAKR,MAAMQ;GAClBnB,gFAAOoB,UAAUT,MAAMS;GACvBpB,gFAAOqB,YAAYV,MAAMU;GACzBrB,gFAAOsB,OAAOX,MAAMW;GACpBtB,gFAAOuB,QAAQZ,MAAMY;GACrBvB,gFAAOwB,SAASb,MAAMa;GACtBxB,gFAAOyB,OAAOd,MAAMc;GACpBzB,gFAAO,cAAcW,MAAMe;CAC9B,GACAf,MAAMgB,SAAS;CAGjB,MAAMC,kBAAkB9B,4BAAUS,UAAUI,KAAAA;CAE5C,OACE,oBAAA,cAACZ,sCAAAA;EACE,GAAG6B;EACJD,WAAWX;EACXH,MAAMF,MAAME;EACZgB,SAASlB,MAAMkB;CAEdlB,GAAAA,MAAMmB,QAAQ;AAGrB"}
@@ -67,5 +67,5 @@ const isPreset = (theme) => {
67
67
  };
68
68
 
69
69
  //#endregion
70
- export { ButtonDeprecated };
70
+ export { ButtonDeprecated, buttonPresetThemes };
71
71
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["cx","hasIn","React","omitProps","ButtonDeprecatedBase","styles","buttonPresetThemes","secondary","platform","lantern","royalblue","themes","propKeys","isPreset","theme","ButtonDeprecated","props","typeClassName","link","btn","themeClassName","classes","size","block","go","outline","underline","caps","round","square","flat","fitText","className","propsToTransfer","onClick","children"],"sources":["../../../src/AccordionButtonDeprecated/ButtonDeprecated/index.tsx"],"sourcesContent":["/* eslint-disable react/destructuring-assignment */\nimport cx from 'classnames';\nimport hasIn from 'lodash/hasIn';\nimport { ReactNode } from 'react';\nimport * as React from 'react';\n\nimport { omitProps } from '../../utils';\nimport {\n ButtonDeprecatedBase,\n ButtonDeprecatedBaseProps,\n} from '../ButtonDeprecatedBase';\n// eslint-disable-next-line gamut/no-css-standalone\nimport styles from './styles/index.module.scss';\n\n// themes can be an alias to a color\n// or a unique button type\nexport const buttonPresetThemes = {\n secondary: 'mint',\n platform: 'greyblue',\n lantern: 'darkmint',\n royalblue: 'brand-purple',\n} as const;\n\nconst themes = [\n 'hyper',\n 'navy',\n 'red',\n 'white',\n 'brand-red',\n 'brand-yellow',\n 'brand-purple',\n 'brand-dark-blue',\n 'brand-blue',\n 'mint',\n 'darkmint',\n 'grey',\n 'greyblue',\n] as const;\n\nexport type ButtonDeprecatedThemes =\n | keyof typeof buttonPresetThemes\n | (typeof themes)[number];\n\nconst propKeys = [\n 'theme',\n 'size',\n 'outline',\n 'underline',\n 'link',\n 'caps',\n 'go',\n 'children',\n 'block',\n 'className',\n 'round',\n 'square',\n 'flat',\n 'fitText',\n 'onClick',\n];\n\nexport type ButtonDeprecatedProps = ButtonDeprecatedBaseProps & {\n /**\n * Whether button should behave like a block element or inline.\n */\n block?: boolean;\n /**\n * Capitalize the text of the button.\n */\n caps?: boolean;\n children: ReactNode;\n /**\n * Disables the button and adds visual indicators to show it is not interactive.\n */\n disabled?: boolean;\n /**\n * Variant that displays the button as flat.\n */\n flat?: boolean;\n /**\n * Adds a pulsing animation to the button\n */\n go?: boolean;\n /**\n * Changes the button to a link with no visual indication\n */\n href?: string;\n /**\n * Link relationship property to be used with `href`\n */\n rel?: string;\n /**\n * Link target property to be used with `href`\n */\n target?: string;\n id?: string;\n /**\n * Variant that displays the button as an inline link element, but maintains its semantic meaning as a button.\n */\n link?: boolean;\n /**\n * Variant the displays the button as a button that is outlined instead of solid.\n */\n outline?: boolean;\n /**\n * Variant that rounds the corners of the button\n */\n round?: boolean;\n /**\n * Variant that determines the size of the button\n */\n size?: 'small' | 'large';\n /**\n * Variant that displays the button as a square\n */\n square?: boolean;\n /**\n * Variant that controls the background and text color of the button\n * */\n theme?: ButtonDeprecatedThemes;\n type?: string;\n /**\n * Variant that underlines the text of the button.\n */\n underline?: boolean;\n /**\n * Determines whether button dimensions should be determined by the content\n */\n fitText?: boolean;\n};\n\nconst isPreset = (theme: string): theme is keyof typeof buttonPresetThemes => {\n return hasIn(buttonPresetThemes, theme);\n};\n\n/**\n * @deprecated\n * This component is deprecated and is no longer supported.\n *\n * See [FillButon](https://gamut.codecademy.com/storybook/?path=/docs/atoms-button--fill-button#fill-button)\n *\n * @example\n * import { FillButton } fom '@codecademy/gamut';\n *\n * <FillButton variant=\"primary\" />\n */\n\nexport const ButtonDeprecated: React.FC<ButtonDeprecatedProps> = (props) => {\n let { theme = 'brand-red' } = props;\n\n if (isPreset(theme)) {\n theme = buttonPresetThemes[theme];\n }\n\n const typeClassName = props.link ? styles.link : styles.btn;\n const themeClassName = props.link\n ? styles[`link-${theme}`]\n : styles[`btn-${theme}`];\n\n const classes = cx(\n typeClassName,\n themeClassName,\n styles[props.size!],\n {\n [styles.block]: props.block,\n [styles.go]: props.go,\n [styles.outline]: props.outline,\n [styles.underline]: props.underline,\n [styles.caps]: props.caps,\n [styles.round]: props.round,\n [styles.square]: props.square,\n [styles.flat]: props.flat,\n [styles['fit-text']]: props.fitText,\n },\n props.className\n );\n\n const propsToTransfer = omitProps(propKeys, props);\n\n return (\n <ButtonDeprecatedBase\n {...propsToTransfer}\n className={classes}\n link={props.link}\n onClick={props.onClick}\n >\n {props.children}\n </ButtonDeprecatedBase>\n );\n};\n"],"mappings":";;;;;;;;;AAgBA,MAAaM,qBAAqB;CAChCC,WAAW;CACXC,UAAU;CACVC,SAAS;CACTC,WAAW;AACb;AAsBA,MAAME,WAAW;CACf;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;AAyEF,MAAMC,YAAYC,UAAAA;CAChB,OAAOb,MAAMK,oBAAoBQ,KAAAA;AACnC;;;;;;;;;;;GAcA,MAAaC,oBAAqDC,UAAAA;CAChE,IAAI,EAAEF,QAAQ,gBAAgBE;CAE9B,IAAIH,SAASC,KAAAA,GACXA,QAAQR,mBAAmBQ;CAQ7B,MAAMO,UAAUrB,GALMgB,MAAME,OAAOb,OAAOa,OAAOb,OAAOc,KACjCH,MAAME,OACzBb,OAAO,QAAQS,WACfT,OAAO,OAAOS,UAKhBT,OAAOW,MAAMM,OACb;GACGjB,OAAOkB,QAAQP,MAAMO;GACrBlB,OAAOmB,KAAKR,MAAMQ;GAClBnB,OAAOoB,UAAUT,MAAMS;GACvBpB,OAAOqB,YAAYV,MAAMU;GACzBrB,OAAOsB,OAAOX,MAAMW;GACpBtB,OAAOuB,QAAQZ,MAAMY;GACrBvB,OAAOwB,SAASb,MAAMa;GACtBxB,OAAOyB,OAAOd,MAAMc;GACpBzB,OAAO,cAAcW,MAAMe;CAC9B,GACAf,MAAMgB,SAAS;CAGjB,MAAMC,kBAAkB9B,UAAUS,UAAUI,KAAAA;CAE5C,OACE,sBAAA,cAACZ,sBAAAA;EACE,GAAG6B;EACJD,WAAWX;EACXH,MAAMF,MAAME;EACZgB,SAASlB,MAAMkB;IAEdlB,MAAMmB,QAAQ;AAGrB"}
1
+ {"version":3,"file":"index.js","names":["cx","hasIn","React","omitProps","ButtonDeprecatedBase","styles","buttonPresetThemes","secondary","platform","lantern","royalblue","themes","propKeys","isPreset","theme","ButtonDeprecated","props","typeClassName","link","btn","themeClassName","classes","size","block","go","outline","underline","caps","round","square","flat","fitText","className","propsToTransfer","onClick","children"],"sources":["../../../src/AccordionButtonDeprecated/ButtonDeprecated/index.tsx"],"sourcesContent":["/* eslint-disable react/destructuring-assignment */\nimport cx from 'classnames';\nimport hasIn from 'lodash/hasIn';\nimport { ReactNode } from 'react';\nimport * as React from 'react';\n\nimport { omitProps } from '../../utils';\nimport {\n ButtonDeprecatedBase,\n ButtonDeprecatedBaseProps,\n} from '../ButtonDeprecatedBase';\n// eslint-disable-next-line gamut/no-css-standalone\nimport styles from './styles/index.module.scss';\n\n// themes can be an alias to a color\n// or a unique button type\nexport const buttonPresetThemes = {\n secondary: 'mint',\n platform: 'greyblue',\n lantern: 'darkmint',\n royalblue: 'brand-purple',\n} as const;\n\nconst themes = [\n 'hyper',\n 'navy',\n 'red',\n 'white',\n 'brand-red',\n 'brand-yellow',\n 'brand-purple',\n 'brand-dark-blue',\n 'brand-blue',\n 'mint',\n 'darkmint',\n 'grey',\n 'greyblue',\n] as const;\n\nexport type ButtonDeprecatedThemes =\n | keyof typeof buttonPresetThemes\n | (typeof themes)[number];\n\nconst propKeys = [\n 'theme',\n 'size',\n 'outline',\n 'underline',\n 'link',\n 'caps',\n 'go',\n 'children',\n 'block',\n 'className',\n 'round',\n 'square',\n 'flat',\n 'fitText',\n 'onClick',\n];\n\nexport type ButtonDeprecatedProps = ButtonDeprecatedBaseProps & {\n /**\n * Whether button should behave like a block element or inline.\n */\n block?: boolean;\n /**\n * Capitalize the text of the button.\n */\n caps?: boolean;\n children: ReactNode;\n /**\n * Disables the button and adds visual indicators to show it is not interactive.\n */\n disabled?: boolean;\n /**\n * Variant that displays the button as flat.\n */\n flat?: boolean;\n /**\n * Adds a pulsing animation to the button\n */\n go?: boolean;\n /**\n * Changes the button to a link with no visual indication\n */\n href?: string;\n /**\n * Link relationship property to be used with `href`\n */\n rel?: string;\n /**\n * Link target property to be used with `href`\n */\n target?: string;\n id?: string;\n /**\n * Variant that displays the button as an inline link element, but maintains its semantic meaning as a button.\n */\n link?: boolean;\n /**\n * Variant the displays the button as a button that is outlined instead of solid.\n */\n outline?: boolean;\n /**\n * Variant that rounds the corners of the button\n */\n round?: boolean;\n /**\n * Variant that determines the size of the button\n */\n size?: 'small' | 'large';\n /**\n * Variant that displays the button as a square\n */\n square?: boolean;\n /**\n * Variant that controls the background and text color of the button\n * */\n theme?: ButtonDeprecatedThemes;\n type?: string;\n /**\n * Variant that underlines the text of the button.\n */\n underline?: boolean;\n /**\n * Determines whether button dimensions should be determined by the content\n */\n fitText?: boolean;\n};\n\nconst isPreset = (theme: string): theme is keyof typeof buttonPresetThemes => {\n return hasIn(buttonPresetThemes, theme);\n};\n\n/**\n * @deprecated\n * This component is deprecated and is no longer supported.\n *\n * See [FillButon](https://gamut.codecademy.com/storybook/?path=/docs/atoms-button--fill-button#fill-button)\n *\n * @example\n * import { FillButton } fom '@codecademy/gamut';\n *\n * <FillButton variant=\"primary\" />\n */\n\nexport const ButtonDeprecated: React.FC<ButtonDeprecatedProps> = (props) => {\n let { theme = 'brand-red' } = props;\n\n if (isPreset(theme)) {\n theme = buttonPresetThemes[theme];\n }\n\n const typeClassName = props.link ? styles.link : styles.btn;\n const themeClassName = props.link\n ? styles[`link-${theme}`]\n : styles[`btn-${theme}`];\n\n const classes = cx(\n typeClassName,\n themeClassName,\n styles[props.size!],\n {\n [styles.block]: props.block,\n [styles.go]: props.go,\n [styles.outline]: props.outline,\n [styles.underline]: props.underline,\n [styles.caps]: props.caps,\n [styles.round]: props.round,\n [styles.square]: props.square,\n [styles.flat]: props.flat,\n [styles['fit-text']]: props.fitText,\n },\n props.className\n );\n\n const propsToTransfer = omitProps(propKeys, props);\n\n return (\n <ButtonDeprecatedBase\n {...propsToTransfer}\n className={classes}\n link={props.link}\n onClick={props.onClick}\n >\n {props.children}\n </ButtonDeprecatedBase>\n );\n};\n"],"mappings":";;;;;;;;;AAgBA,MAAaM,qBAAqB;CAChCC,WAAW;CACXC,UAAU;CACVC,SAAS;CACTC,WAAW;AACb;AAsBA,MAAME,WAAW;CACf;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AAwED,MAAMC,YAAYC,UAAAA;CAChB,OAAOb,MAAMK,oBAAoBQ,KAAAA;AACnC;;;;;;;;;;;GAcA,MAAaC,oBAAqDC,UAAAA;CAChE,IAAI,EAAEF,QAAQ,gBAAgBE;CAE9B,IAAIH,SAASC,KAAAA,GACXA,QAAQR,mBAAmBQ;CAQ7B,MAAMO,UAAUrB,GALMgB,MAAME,OAAOb,OAAOa,OAAOb,OAAOc,KACjCH,MAAME,OACzBb,OAAO,QAAQS,WACfT,OAAO,OAAOS,UAKhBT,OAAOW,MAAMM,OACb;GACGjB,OAAOkB,QAAQP,MAAMO;GACrBlB,OAAOmB,KAAKR,MAAMQ;GAClBnB,OAAOoB,UAAUT,MAAMS;GACvBpB,OAAOqB,YAAYV,MAAMU;GACzBrB,OAAOsB,OAAOX,MAAMW;GACpBtB,OAAOuB,QAAQZ,MAAMY;GACrBvB,OAAOwB,SAASb,MAAMa;GACtBxB,OAAOyB,OAAOd,MAAMc;GACpBzB,OAAO,cAAcW,MAAMe;CAC9B,GACAf,MAAMgB,SAAS;CAGjB,MAAMC,kBAAkB9B,UAAUS,UAAUI,KAAAA;CAE5C,OACE,sBAAA,cAACZ,sBAAAA;EACE,GAAG6B;EACJD,WAAWX;EACXH,MAAMF,MAAME;EACZgB,SAASlB,MAAMkB;CAEdlB,GAAAA,MAAMmB,QAAQ;AAGrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["cx","React","omitProps","styles","propKeys","ButtonDeprecatedBase","props","href","className","link","onClick","target","rel","as","As","asProps","restOfProps","propsToTransfer","classes","basicBtn","basicLink","defaultProps","anchorProps","a","button"],"sources":["../../../src/AccordionButtonDeprecated/ButtonDeprecatedBase/index.tsx"],"sourcesContent":["import cx from 'classnames';\nimport { HTMLProps, ReactNode } from 'react';\nimport * as React from 'react';\n\nimport { ChildComponentDescriptor } from '../../typings/react';\nimport { omitProps } from '../../utils';\n// eslint-disable-next-line gamut/no-css-standalone\nimport styles from './styles.module.scss';\n\nconst propKeys = [\n 'children',\n 'className',\n 'href',\n 'link',\n 'onClick',\n 'target',\n 'rel',\n];\n\nexport type ButtonDeprecatedBaseProps = Omit<\n HTMLProps<HTMLAnchorElement> & HTMLProps<HTMLButtonElement>,\n 'as' | 'size'\n> & {\n /**\n * Component type to wrap children with.\n */\n as?: ChildComponentDescriptor;\n /**\n * @remarks We would love to properly type this with generics, but cannot yet.\n * @see https://github.com/Codecademy/gamut/pull/270#discussion_r270917147\n * @see https://github.com/Microsoft/TypeScript/issues/21048\n */\n asProps?: any;\n children?: ReactNode;\n className?: string;\n href?: string;\n target?: string;\n rel?: string;\n /**\n * Variant that displays the button as an inline link element, but maintains its semantic meaning as a button.\n */\n link?: boolean;\n /**\n * @remarks\n * Technically, this is only ever a button event *or* a link event.\n * We '&' them together for ease of usage.\n */\n onClick?: (\n event: React.MouseEvent<HTMLAnchorElement> &\n React.MouseEvent<HTMLButtonElement>\n ) => void;\n};\n\n/**\n * @deprecated\n * This component is deprecated and is no longer supported.\n *\n * See [Anchor](https://gamut.codecademy.com/storybook/?path=/docs/typography-anchor--anchor) for similiar functionality\n *\n * @example\n * import { Anchor } from '@codecademy/gamut';\n *\n * <Anchor variant=\"interface\">Button</Anchor>\n *\n */\n\nexport const ButtonDeprecatedBase: React.FC<ButtonDeprecatedBaseProps> = (\n props\n) => {\n const { href, className, link, onClick, target, rel } = props;\n const { as: As, asProps = {}, ...restOfProps } = props;\n const propsToTransfer = omitProps(propKeys, restOfProps);\n\n const classes = cx(styles.basicBtn, className, {\n [styles.basicLink]: link,\n });\n\n const defaultProps = {\n ...propsToTransfer,\n className: classes,\n onClick,\n 'data-btn': true,\n };\n\n if (As) {\n return <As {...defaultProps} {...asProps} />;\n }\n\n if (href) {\n // Check if this is a popup and and appropriate rel props if they don't exist (see https://web.dev/external-anchors-use-rel-noopener/)\n const anchorProps = {\n target,\n rel: target === '_blank' && !rel ? 'noopener noreferrer' : rel,\n };\n\n // Anchor tag receives children content from propsToTransfer\n // eslint-disable-next-line jsx-a11y/anchor-has-content\n return <a {...defaultProps} {...anchorProps} href={href} />;\n }\n\n // eslint-disable-next-line react/button-has-type\n return <button {...defaultProps} />;\n};\n"],"mappings":";;;;;;;;;;;AASA,MAAMI,WAAW;CACf;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;;;;;GAkDF,MAAaC,wBACXC,UAAAA;CAEA,MAAM,EAAEC,MAAMC,WAAWC,MAAMC,SAASC,QAAQC,QAAQN;CACxD,MAAM,EAAEO,IAAIC,IAAIC,UAAU,CAAC,GAAG,GAAGC,gBAAgBV;CACjD,MAAMW,kBAAkBf,4BAAUE,UAAUY,WAAAA;CAE5C,MAAME,kCAAaf,8EAAOgB,UAAUX,WAAW,GAC5CL,8EAAOiB,YAAYX,KACtB,CAAA;CAEA,MAAMY,eAAe;EACnB,GAAGJ;EACHT,WAAWU;EACXR;EACA,YAAY;CACd;CAEA,IAAII,IACF,OAAO,oBAAA,cAACA,IAAAA;EAAI,GAAGO;EAAe,GAAGN;;CAGnC,IAAIR,MAAM;EAER,MAAMe,cAAc;GAClBX;GACAC,KAAKD,WAAW,YAAY,CAACC,MAAM,wBAAwBA;EAC7D;EAIA,OAAO,oBAAA,cAACW,KAAAA;GAAG,GAAGF;GAAe,GAAGC;GAAmBf;;CACrD;CAGA,OAAO,oBAAA,cAACiB,UAAWH,YAAAA;AACrB"}
1
+ {"version":3,"file":"index.cjs","names":["cx","React","omitProps","styles","propKeys","ButtonDeprecatedBase","props","href","className","link","onClick","target","rel","as","As","asProps","restOfProps","propsToTransfer","classes","basicBtn","basicLink","defaultProps","anchorProps","a","button"],"sources":["../../../src/AccordionButtonDeprecated/ButtonDeprecatedBase/index.tsx"],"sourcesContent":["import cx from 'classnames';\nimport { HTMLProps, ReactNode } from 'react';\nimport * as React from 'react';\n\nimport { ChildComponentDescriptor } from '../../typings/react';\nimport { omitProps } from '../../utils';\n// eslint-disable-next-line gamut/no-css-standalone\nimport styles from './styles.module.scss';\n\nconst propKeys = [\n 'children',\n 'className',\n 'href',\n 'link',\n 'onClick',\n 'target',\n 'rel',\n];\n\nexport type ButtonDeprecatedBaseProps = Omit<\n HTMLProps<HTMLAnchorElement> & HTMLProps<HTMLButtonElement>,\n 'as' | 'size'\n> & {\n /**\n * Component type to wrap children with.\n */\n as?: ChildComponentDescriptor;\n /**\n * @remarks We would love to properly type this with generics, but cannot yet.\n * @see https://github.com/Codecademy/gamut/pull/270#discussion_r270917147\n * @see https://github.com/Microsoft/TypeScript/issues/21048\n */\n asProps?: any;\n children?: ReactNode;\n className?: string;\n href?: string;\n target?: string;\n rel?: string;\n /**\n * Variant that displays the button as an inline link element, but maintains its semantic meaning as a button.\n */\n link?: boolean;\n /**\n * @remarks\n * Technically, this is only ever a button event *or* a link event.\n * We '&' them together for ease of usage.\n */\n onClick?: (\n event: React.MouseEvent<HTMLAnchorElement> &\n React.MouseEvent<HTMLButtonElement>\n ) => void;\n};\n\n/**\n * @deprecated\n * This component is deprecated and is no longer supported.\n *\n * See [Anchor](https://gamut.codecademy.com/storybook/?path=/docs/typography-anchor--anchor) for similiar functionality\n *\n * @example\n * import { Anchor } from '@codecademy/gamut';\n *\n * <Anchor variant=\"interface\">Button</Anchor>\n *\n */\n\nexport const ButtonDeprecatedBase: React.FC<ButtonDeprecatedBaseProps> = (\n props\n) => {\n const { href, className, link, onClick, target, rel } = props;\n const { as: As, asProps = {}, ...restOfProps } = props;\n const propsToTransfer = omitProps(propKeys, restOfProps);\n\n const classes = cx(styles.basicBtn, className, {\n [styles.basicLink]: link,\n });\n\n const defaultProps = {\n ...propsToTransfer,\n className: classes,\n onClick,\n 'data-btn': true,\n };\n\n if (As) {\n return <As {...defaultProps} {...asProps} />;\n }\n\n if (href) {\n // Check if this is a popup and and appropriate rel props if they don't exist (see https://web.dev/external-anchors-use-rel-noopener/)\n const anchorProps = {\n target,\n rel: target === '_blank' && !rel ? 'noopener noreferrer' : rel,\n };\n\n // Anchor tag receives children content from propsToTransfer\n // eslint-disable-next-line jsx-a11y/anchor-has-content\n return <a {...defaultProps} {...anchorProps} href={href} />;\n }\n\n // eslint-disable-next-line react/button-has-type\n return <button {...defaultProps} />;\n};\n"],"mappings":";;;;;;;;;;;AASA,MAAMI,WAAW;CACf;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;;;;;;;;;;;GAiDD,MAAaC,wBACXC,UAAAA;CAEA,MAAM,EAAEC,MAAMC,WAAWC,MAAMC,SAASC,QAAQC,QAAQN;CACxD,MAAM,EAAEO,IAAIC,IAAIC,UAAU,CAAC,GAAG,GAAGC,gBAAgBV;CACjD,MAAMW,kBAAkBf,4BAAUE,UAAUY,WAAAA;CAE5C,MAAME,kCAAaf,8EAAOgB,UAAUX,WAAW,GAC5CL,8EAAOiB,YAAYX,KACtB,CAAA;CAEA,MAAMY,eAAe;EACnB,GAAGJ;EACHT,WAAWU;EACXR;EACA,YAAY;CACd;CAEA,IAAII,IACF,OAAO,oBAAA,cAACA,IAAAA;EAAI,GAAGO;EAAe,GAAGN;;CAGnC,IAAIR,MAAM;EAER,MAAMe,cAAc;GAClBX;GACAC,KAAKD,WAAW,YAAY,CAACC,MAAM,wBAAwBA;EAC7D;EAIA,OAAO,oBAAA,cAACW,KAAAA;GAAG,GAAGF;GAAe,GAAGC;GAAmBf;;CACrD;CAGA,OAAO,oBAAA,cAACiB,UAAWH,YAAAA;AACrB"}
@@ -1,7 +1,6 @@
1
1
  import { ChildComponentDescriptor } from "../../typings/react.cjs";
2
2
  import * as React$1 from "react";
3
3
  import { HTMLProps, ReactNode } from "react";
4
-
5
4
  //#region src/AccordionButtonDeprecated/ButtonDeprecatedBase/index.d.ts
6
5
  type ButtonDeprecatedBaseProps = Omit<HTMLProps<HTMLAnchorElement> & HTMLProps<HTMLButtonElement>, 'as' | 'size'> & {
7
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../../src/AccordionButtonDeprecated/ButtonDeprecatedBase/index.tsx"],"mappings":";;;;;KAmBY,yBAAA,GAA4B,IAAA,CACtC,SAAA,CAAU,iBAAA,IAAqB,SAAA,CAAU,iBAAA;;AAD3C;;EAOE,EAAA,GAAK,wBAAA;EANK;;;;;EAYV,OAAA;EACA,QAAA,GAAW,SAAA;EACX,SAAA;EACA,IAAA;EACA,MAAA;EACA,GAAA;EAYoB;;;EARpB,IAAA;EArBU;;;;;EA2BV,OAAA,IACE,KAAA,EAAO,OAAA,CAAM,UAAA,CAAW,iBAAA,IACtB,OAAA,CAAM,UAAA,CAAW,iBAAA;AAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../../src/AccordionButtonDeprecated/ButtonDeprecatedBase/index.tsx"],"mappings":";;;;KAmBY,4BAA4B,KACtC,UAAU,qBAAqB,UAAU;;;;EAMzC,KAAK;;;;;;EAML;EACA,WAAW;EACX;EACA;EACA;EACA;;;;EAIA;;;;;;EAMA,WACE,OAAO,QAAM,WAAW,qBACtB,QAAM,WAAW"}
@@ -1,7 +1,6 @@
1
1
  import { ChildComponentDescriptor } from "../../typings/react.js";
2
2
  import * as React$1 from "react";
3
3
  import { HTMLProps, ReactNode } from "react";
4
-
5
4
  //#region src/AccordionButtonDeprecated/ButtonDeprecatedBase/index.d.ts
6
5
  type ButtonDeprecatedBaseProps = Omit<HTMLProps<HTMLAnchorElement> & HTMLProps<HTMLButtonElement>, 'as' | 'size'> & {
7
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/AccordionButtonDeprecated/ButtonDeprecatedBase/index.tsx"],"mappings":";;;;;KAmBY,yBAAA,GAA4B,IAAA,CACtC,SAAA,CAAU,iBAAA,IAAqB,SAAA,CAAU,iBAAA;;AAD3C;;EAOE,EAAA,GAAK,wBAAA;EANK;;;;;EAYV,OAAA;EACA,QAAA,GAAW,SAAA;EACX,SAAA;EACA,IAAA;EACA,MAAA;EACA,GAAA;;;;EAIA,IAAA;EArBU;;;;;EA2BV,OAAA,IACE,KAAA,EAAO,OAAA,CAAM,UAAA,CAAW,iBAAA,IACtB,OAAA,CAAM,UAAA,CAAW,iBAAA;AAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/AccordionButtonDeprecated/ButtonDeprecatedBase/index.tsx"],"mappings":";;;;KAmBY,4BAA4B,KACtC,UAAU,qBAAqB,UAAU;;;;EAMzC,KAAK;;;;;;EAML;EACA,WAAW;EACX;EACA;EACA;EACA;;;;EAIA;;;;;;EAMA,WACE,OAAO,QAAM,WAAW,qBACtB,QAAM,WAAW"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["cx","React","omitProps","styles","propKeys","ButtonDeprecatedBase","props","href","className","link","onClick","target","rel","as","As","asProps","restOfProps","propsToTransfer","classes","basicBtn","basicLink","defaultProps","anchorProps","a","button"],"sources":["../../../src/AccordionButtonDeprecated/ButtonDeprecatedBase/index.tsx"],"sourcesContent":["import cx from 'classnames';\nimport { HTMLProps, ReactNode } from 'react';\nimport * as React from 'react';\n\nimport { ChildComponentDescriptor } from '../../typings/react';\nimport { omitProps } from '../../utils';\n// eslint-disable-next-line gamut/no-css-standalone\nimport styles from './styles.module.scss';\n\nconst propKeys = [\n 'children',\n 'className',\n 'href',\n 'link',\n 'onClick',\n 'target',\n 'rel',\n];\n\nexport type ButtonDeprecatedBaseProps = Omit<\n HTMLProps<HTMLAnchorElement> & HTMLProps<HTMLButtonElement>,\n 'as' | 'size'\n> & {\n /**\n * Component type to wrap children with.\n */\n as?: ChildComponentDescriptor;\n /**\n * @remarks We would love to properly type this with generics, but cannot yet.\n * @see https://github.com/Codecademy/gamut/pull/270#discussion_r270917147\n * @see https://github.com/Microsoft/TypeScript/issues/21048\n */\n asProps?: any;\n children?: ReactNode;\n className?: string;\n href?: string;\n target?: string;\n rel?: string;\n /**\n * Variant that displays the button as an inline link element, but maintains its semantic meaning as a button.\n */\n link?: boolean;\n /**\n * @remarks\n * Technically, this is only ever a button event *or* a link event.\n * We '&' them together for ease of usage.\n */\n onClick?: (\n event: React.MouseEvent<HTMLAnchorElement> &\n React.MouseEvent<HTMLButtonElement>\n ) => void;\n};\n\n/**\n * @deprecated\n * This component is deprecated and is no longer supported.\n *\n * See [Anchor](https://gamut.codecademy.com/storybook/?path=/docs/typography-anchor--anchor) for similiar functionality\n *\n * @example\n * import { Anchor } from '@codecademy/gamut';\n *\n * <Anchor variant=\"interface\">Button</Anchor>\n *\n */\n\nexport const ButtonDeprecatedBase: React.FC<ButtonDeprecatedBaseProps> = (\n props\n) => {\n const { href, className, link, onClick, target, rel } = props;\n const { as: As, asProps = {}, ...restOfProps } = props;\n const propsToTransfer = omitProps(propKeys, restOfProps);\n\n const classes = cx(styles.basicBtn, className, {\n [styles.basicLink]: link,\n });\n\n const defaultProps = {\n ...propsToTransfer,\n className: classes,\n onClick,\n 'data-btn': true,\n };\n\n if (As) {\n return <As {...defaultProps} {...asProps} />;\n }\n\n if (href) {\n // Check if this is a popup and and appropriate rel props if they don't exist (see https://web.dev/external-anchors-use-rel-noopener/)\n const anchorProps = {\n target,\n rel: target === '_blank' && !rel ? 'noopener noreferrer' : rel,\n };\n\n // Anchor tag receives children content from propsToTransfer\n // eslint-disable-next-line jsx-a11y/anchor-has-content\n return <a {...defaultProps} {...anchorProps} href={href} />;\n }\n\n // eslint-disable-next-line react/button-has-type\n return <button {...defaultProps} />;\n};\n"],"mappings":";;;;;;;AASA,MAAMI,WAAW;CACf;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;;;;;GAkDF,MAAaC,wBACXC,UAAAA;CAEA,MAAM,EAAEC,MAAMC,WAAWC,MAAMC,SAASC,QAAQC,QAAQN;CACxD,MAAM,EAAEO,IAAIC,IAAIC,UAAU,CAAC,GAAG,GAAGC,gBAAgBV;CACjD,MAAMW,kBAAkBf,UAAUE,UAAUY,WAAAA;CAE5C,MAAME,UAAUlB,GAAGG,OAAOgB,UAAUX,WAAW,GAC5CL,OAAOiB,YAAYX,KACtB,CAAA;CAEA,MAAMY,eAAe;EACnB,GAAGJ;EACHT,WAAWU;EACXR;EACA,YAAY;CACd;CAEA,IAAII,IACF,OAAO,sBAAA,cAACA,IAAAA;EAAI,GAAGO;EAAe,GAAGN;;CAGnC,IAAIR,MAAM;EAER,MAAMe,cAAc;GAClBX;GACAC,KAAKD,WAAW,YAAY,CAACC,MAAM,wBAAwBA;EAC7D;EAIA,OAAO,sBAAA,cAACW,KAAAA;GAAG,GAAGF;GAAe,GAAGC;GAAmBf;;CACrD;CAGA,OAAO,sBAAA,cAACiB,UAAWH,YAAAA;AACrB"}
1
+ {"version":3,"file":"index.js","names":["cx","React","omitProps","styles","propKeys","ButtonDeprecatedBase","props","href","className","link","onClick","target","rel","as","As","asProps","restOfProps","propsToTransfer","classes","basicBtn","basicLink","defaultProps","anchorProps","a","button"],"sources":["../../../src/AccordionButtonDeprecated/ButtonDeprecatedBase/index.tsx"],"sourcesContent":["import cx from 'classnames';\nimport { HTMLProps, ReactNode } from 'react';\nimport * as React from 'react';\n\nimport { ChildComponentDescriptor } from '../../typings/react';\nimport { omitProps } from '../../utils';\n// eslint-disable-next-line gamut/no-css-standalone\nimport styles from './styles.module.scss';\n\nconst propKeys = [\n 'children',\n 'className',\n 'href',\n 'link',\n 'onClick',\n 'target',\n 'rel',\n];\n\nexport type ButtonDeprecatedBaseProps = Omit<\n HTMLProps<HTMLAnchorElement> & HTMLProps<HTMLButtonElement>,\n 'as' | 'size'\n> & {\n /**\n * Component type to wrap children with.\n */\n as?: ChildComponentDescriptor;\n /**\n * @remarks We would love to properly type this with generics, but cannot yet.\n * @see https://github.com/Codecademy/gamut/pull/270#discussion_r270917147\n * @see https://github.com/Microsoft/TypeScript/issues/21048\n */\n asProps?: any;\n children?: ReactNode;\n className?: string;\n href?: string;\n target?: string;\n rel?: string;\n /**\n * Variant that displays the button as an inline link element, but maintains its semantic meaning as a button.\n */\n link?: boolean;\n /**\n * @remarks\n * Technically, this is only ever a button event *or* a link event.\n * We '&' them together for ease of usage.\n */\n onClick?: (\n event: React.MouseEvent<HTMLAnchorElement> &\n React.MouseEvent<HTMLButtonElement>\n ) => void;\n};\n\n/**\n * @deprecated\n * This component is deprecated and is no longer supported.\n *\n * See [Anchor](https://gamut.codecademy.com/storybook/?path=/docs/typography-anchor--anchor) for similiar functionality\n *\n * @example\n * import { Anchor } from '@codecademy/gamut';\n *\n * <Anchor variant=\"interface\">Button</Anchor>\n *\n */\n\nexport const ButtonDeprecatedBase: React.FC<ButtonDeprecatedBaseProps> = (\n props\n) => {\n const { href, className, link, onClick, target, rel } = props;\n const { as: As, asProps = {}, ...restOfProps } = props;\n const propsToTransfer = omitProps(propKeys, restOfProps);\n\n const classes = cx(styles.basicBtn, className, {\n [styles.basicLink]: link,\n });\n\n const defaultProps = {\n ...propsToTransfer,\n className: classes,\n onClick,\n 'data-btn': true,\n };\n\n if (As) {\n return <As {...defaultProps} {...asProps} />;\n }\n\n if (href) {\n // Check if this is a popup and and appropriate rel props if they don't exist (see https://web.dev/external-anchors-use-rel-noopener/)\n const anchorProps = {\n target,\n rel: target === '_blank' && !rel ? 'noopener noreferrer' : rel,\n };\n\n // Anchor tag receives children content from propsToTransfer\n // eslint-disable-next-line jsx-a11y/anchor-has-content\n return <a {...defaultProps} {...anchorProps} href={href} />;\n }\n\n // eslint-disable-next-line react/button-has-type\n return <button {...defaultProps} />;\n};\n"],"mappings":";;;;;;;AASA,MAAMI,WAAW;CACf;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;;;;;;;;;;;GAiDD,MAAaC,wBACXC,UAAAA;CAEA,MAAM,EAAEC,MAAMC,WAAWC,MAAMC,SAASC,QAAQC,QAAQN;CACxD,MAAM,EAAEO,IAAIC,IAAIC,UAAU,CAAC,GAAG,GAAGC,gBAAgBV;CACjD,MAAMW,kBAAkBf,UAAUE,UAAUY,WAAAA;CAE5C,MAAME,UAAUlB,GAAGG,OAAOgB,UAAUX,WAAW,GAC5CL,OAAOiB,YAAYX,KACtB,CAAA;CAEA,MAAMY,eAAe;EACnB,GAAGJ;EACHT,WAAWU;EACXR;EACA,YAAY;CACd;CAEA,IAAII,IACF,OAAO,sBAAA,cAACA,IAAAA;EAAI,GAAGO;EAAe,GAAGN;;CAGnC,IAAIR,MAAM;EAER,MAAMe,cAAc;GAClBX;GACAC,KAAKD,WAAW,YAAY,CAACC,MAAM,wBAAwBA;EAC7D;EAIA,OAAO,sBAAA,cAACW,KAAAA;GAAG,GAAGF;GAAe,GAAGC;GAAmBf;;CACrD;CAGA,OAAO,sBAAA,cAACiB,UAAWH,YAAAA;AACrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["ArrowChevronDownIcon","cx","React","ButtonDeprecated","ButtonDeprecatedBase","styles","buttonThemes","blue","component","props","flat","theme","plain","yellow","AccordionButtonDeprecated","children","className","expanded","size","baseProps","ButtonComponent","iconSize","undefined","aria-expanded","accordionButton","span","aria-hidden","expansionIcon","expansionIconExpanded","height","width"],"sources":["../../src/AccordionButtonDeprecated/index.tsx"],"sourcesContent":["import { ArrowChevronDownIcon } from '@codecademy/gamut-icons';\nimport cx from 'classnames';\nimport * as React from 'react';\n\nimport { ButtonDeprecated } from './ButtonDeprecated';\nimport {\n ButtonDeprecatedBase,\n ButtonDeprecatedBaseProps,\n} from './ButtonDeprecatedBase';\n// eslint-disable-next-line gamut/no-css-standalone\nimport styles from './styles.module.scss';\n\nexport type AccordionButtonSize = 'normal' | 'large';\n\nexport type AccordionButtonTheme = 'blue' | 'plain' | 'yellow';\n\nexport type AccordionButtonDeprecatedProps = ButtonDeprecatedBaseProps & {\n /**\n * Whether the button should display as open or closed.\n */\n expanded?: boolean;\n\n /**\n * Determines the size of the button.\n */\n size?: 'normal' | 'large';\n\n /**\n * Visual theme for the clickable header button.\n */\n theme?: 'blue' | 'plain' | 'yellow';\n};\n\nconst buttonThemes = {\n blue: {\n component: ButtonDeprecated,\n props: {\n flat: true,\n theme: 'white',\n },\n },\n plain: {\n component: ButtonDeprecated,\n props: {\n flat: true,\n theme: 'brand-dark-blue',\n },\n },\n yellow: {\n component: ButtonDeprecatedBase,\n props: {},\n },\n} as const;\n\n/**\n * @deprecated\n * This component is in the old visual identity and will be updated soon.\n * @see `Disclosure` and `List` from `@codecademy/gamut`\n *\n * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status\n */\n\nexport const AccordionButtonDeprecated: React.FC<\n AccordionButtonDeprecatedProps\n> = ({\n children,\n className,\n expanded,\n size = 'normal',\n theme = 'plain',\n ...baseProps\n}) => {\n const { component: ButtonComponent, props } = buttonThemes[theme];\n const iconSize = size === 'large' ? 30 : undefined;\n\n return (\n <ButtonComponent\n aria-expanded={expanded}\n className={cx(\n styles.accordionButton,\n styles[theme],\n styles[size],\n className\n )}\n {...baseProps}\n {...props}\n >\n <span className={styles.children}>{children}</span>\n <ArrowChevronDownIcon\n aria-hidden\n className={cx(\n styles.expansionIcon,\n expanded && styles.expansionIconExpanded\n )}\n height={iconSize}\n width={iconSize}\n />\n </ButtonComponent>\n );\n};\n"],"mappings":";;;;;;;;;;;;AAiCA,MAAMM,eAAe;CACnBC,MAAM;EACJC,WAAWL;EACXM,OAAO;GACLC,MAAM;GACNC,OAAO;EACT;CACF;CACAC,OAAO;EACLJ,WAAWL;EACXM,OAAO;GACLC,MAAM;GACNC,OAAO;EACT;CACF;CACAE,QAAQ;EACNL,WAAWJ;EACXK,OAAO,CAAC;CACV;AACF;;;;;;;GAUA,MAAaK,6BAER,EACHC,UACAC,WACAC,UACAC,OAAO,UACPP,QAAQ,SACR,GAAGQ,gBACJ;CACC,MAAM,EAAEX,WAAWY,iBAAiBX,UAAUH,aAAaK;CAC3D,MAAMU,WAAWH,SAAS,UAAU,KAAKI;CAEzC,OACE,oBAAA,cAACF,iBAAAA;EACCG,iBAAeN;EACfD,mCACEX,yDAAOmB,iBACPnB,yDAAOM,QACPN,yDAAOa,OACPF,SAAAA;EAED,GAAGG;EACH,GAAGV;IAEJ,oBAAA,cAACgB,QAAAA,EAAKT,WAAWX,yDAAOU,YAAWA,QAAAA,GACnC,oBAAA,cAACf,8CAAAA;EACC0B,eAAAA;EACAV,mCACEX,yDAAOsB,eACPV,YAAYZ,yDAAOuB,qBAAqB;EAE1CC,QAAQR;EACRS,OAAOT;;AAIf"}
1
+ {"version":3,"file":"index.cjs","names":["ArrowChevronDownIcon","cx","React","ButtonDeprecated","ButtonDeprecatedBase","styles","buttonThemes","blue","component","props","flat","theme","plain","yellow","AccordionButtonDeprecated","children","className","expanded","size","baseProps","ButtonComponent","iconSize","undefined","aria-expanded","accordionButton","span","aria-hidden","expansionIcon","expansionIconExpanded","height","width"],"sources":["../../src/AccordionButtonDeprecated/index.tsx"],"sourcesContent":["import { ArrowChevronDownIcon } from '@codecademy/gamut-icons';\nimport cx from 'classnames';\nimport * as React from 'react';\n\nimport { ButtonDeprecated } from './ButtonDeprecated';\nimport {\n ButtonDeprecatedBase,\n ButtonDeprecatedBaseProps,\n} from './ButtonDeprecatedBase';\n// eslint-disable-next-line gamut/no-css-standalone\nimport styles from './styles.module.scss';\n\nexport type AccordionButtonSize = 'normal' | 'large';\n\nexport type AccordionButtonTheme = 'blue' | 'plain' | 'yellow';\n\nexport type AccordionButtonDeprecatedProps = ButtonDeprecatedBaseProps & {\n /**\n * Whether the button should display as open or closed.\n */\n expanded?: boolean;\n\n /**\n * Determines the size of the button.\n */\n size?: 'normal' | 'large';\n\n /**\n * Visual theme for the clickable header button.\n */\n theme?: 'blue' | 'plain' | 'yellow';\n};\n\nconst buttonThemes = {\n blue: {\n component: ButtonDeprecated,\n props: {\n flat: true,\n theme: 'white',\n },\n },\n plain: {\n component: ButtonDeprecated,\n props: {\n flat: true,\n theme: 'brand-dark-blue',\n },\n },\n yellow: {\n component: ButtonDeprecatedBase,\n props: {},\n },\n} as const;\n\n/**\n * @deprecated\n * This component is in the old visual identity and will be updated soon.\n * @see `Disclosure` and `List` from `@codecademy/gamut`\n *\n * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status\n */\n\nexport const AccordionButtonDeprecated: React.FC<\n AccordionButtonDeprecatedProps\n> = ({\n children,\n className,\n expanded,\n size = 'normal',\n theme = 'plain',\n ...baseProps\n}) => {\n const { component: ButtonComponent, props } = buttonThemes[theme];\n const iconSize = size === 'large' ? 30 : undefined;\n\n return (\n <ButtonComponent\n aria-expanded={expanded}\n className={cx(\n styles.accordionButton,\n styles[theme],\n styles[size],\n className\n )}\n {...baseProps}\n {...props}\n >\n <span className={styles.children}>{children}</span>\n <ArrowChevronDownIcon\n aria-hidden\n className={cx(\n styles.expansionIcon,\n expanded && styles.expansionIconExpanded\n )}\n height={iconSize}\n width={iconSize}\n />\n </ButtonComponent>\n );\n};\n"],"mappings":";;;;;;;;;;;;AAiCA,MAAMM,eAAe;CACnBC,MAAM;EACJC,WAAWL;EACXM,OAAO;GACLC,MAAM;GACNC,OAAO;EACT;CACF;CACAC,OAAO;EACLJ,WAAWL;EACXM,OAAO;GACLC,MAAM;GACNC,OAAO;EACT;CACF;CACAE,QAAQ;EACNL,WAAWJ;EACXK,OAAO,CAAC;CACV;AACF;;;;;;;GAUA,MAAaK,6BAER,EACHC,UACAC,WACAC,UACAC,OAAO,UACPP,QAAQ,SACR,GAAGQ,gBACJ;CACC,MAAM,EAAEX,WAAWY,iBAAiBX,UAAUH,aAAaK;CAC3D,MAAMU,WAAWH,SAAS,UAAU,KAAKI;CAEzC,OACE,oBAAA,cAACF,iBAAAA;EACCG,iBAAeN;EACfD,mCACEX,yDAAOmB,iBACPnB,yDAAOM,QACPN,yDAAOa,OACPF,SAAAA;EAED,GAAGG;EACH,GAAGV;CAEJ,GAAA,oBAAA,cAACgB,QAAAA,EAAKT,WAAWX,yDAAOU,SAAWA,GAAAA,QAAAA,GACnC,oBAAA,cAACf,8CAAAA;EACC0B,eAAAA;EACAV,mCACEX,yDAAOsB,eACPV,YAAYZ,yDAAOuB,qBAAqB;EAE1CC,QAAQR;EACRS,OAAOT;;AAIf"}
@@ -1,6 +1,5 @@
1
1
  import { ButtonDeprecatedBaseProps } from "./ButtonDeprecatedBase/index.cjs";
2
2
  import * as React$1 from "react";
3
-
4
3
  //#region src/AccordionButtonDeprecated/index.d.ts
5
4
  type AccordionButtonSize = 'normal' | 'large';
6
5
  type AccordionButtonTheme = 'blue' | 'plain' | 'yellow';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/AccordionButtonDeprecated/index.tsx"],"mappings":";;;;KAYY,mBAAA;AAAA,KAEA,oBAAA;AAAA,KAEA,8BAAA,GAAiC,yBAAyB;EAJvC;;;EAQ7B,QAAA;EANU;;;EAWV,IAAA;EAX8B;AAEhC;;EAcE,KAAA;AAAA;;;;;;AAAK;AAgCP;cAAa,yBAAA,EAA2B,OAAA,CAAM,EAAE,CAC9C,8BAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/AccordionButtonDeprecated/index.tsx"],"mappings":";;;KAYY;KAEA;KAEA,iCAAiC;;;;EAI3C;;;;EAKA;;;;EAKA;;;;;;;;;cAgCW,2BAA2B,QAAM,GAC5C"}
@@ -1,6 +1,5 @@
1
1
  import { ButtonDeprecatedBaseProps } from "./ButtonDeprecatedBase/index.js";
2
2
  import * as React$1 from "react";
3
-
4
3
  //#region src/AccordionButtonDeprecated/index.d.ts
5
4
  type AccordionButtonSize = 'normal' | 'large';
6
5
  type AccordionButtonTheme = 'blue' | 'plain' | 'yellow';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/AccordionButtonDeprecated/index.tsx"],"mappings":";;;;KAYY,mBAAA;AAAA,KAEA,oBAAA;AAAA,KAEA,8BAAA,GAAiC,yBAAA;EAJd;;;EAQ7B,QAAA;EANU;;;EAWV,IAAA;;AATF;;EAcE,KAAA;AAAA;;;;;;;AAgCF;cAAa,yBAAA,EAA2B,OAAA,CAAM,EAAA,CAC5C,8BAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/AccordionButtonDeprecated/index.tsx"],"mappings":";;;KAYY;KAEA;KAEA,iCAAiC;;;;EAI3C;;;;EAKA;;;;EAKA;;;;;;;;;cAgCW,2BAA2B,QAAM,GAC5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["ArrowChevronDownIcon","cx","React","ButtonDeprecated","ButtonDeprecatedBase","styles","buttonThemes","blue","component","props","flat","theme","plain","yellow","AccordionButtonDeprecated","children","className","expanded","size","baseProps","ButtonComponent","iconSize","undefined","aria-expanded","accordionButton","span","aria-hidden","expansionIcon","expansionIconExpanded","height","width"],"sources":["../../src/AccordionButtonDeprecated/index.tsx"],"sourcesContent":["import { ArrowChevronDownIcon } from '@codecademy/gamut-icons';\nimport cx from 'classnames';\nimport * as React from 'react';\n\nimport { ButtonDeprecated } from './ButtonDeprecated';\nimport {\n ButtonDeprecatedBase,\n ButtonDeprecatedBaseProps,\n} from './ButtonDeprecatedBase';\n// eslint-disable-next-line gamut/no-css-standalone\nimport styles from './styles.module.scss';\n\nexport type AccordionButtonSize = 'normal' | 'large';\n\nexport type AccordionButtonTheme = 'blue' | 'plain' | 'yellow';\n\nexport type AccordionButtonDeprecatedProps = ButtonDeprecatedBaseProps & {\n /**\n * Whether the button should display as open or closed.\n */\n expanded?: boolean;\n\n /**\n * Determines the size of the button.\n */\n size?: 'normal' | 'large';\n\n /**\n * Visual theme for the clickable header button.\n */\n theme?: 'blue' | 'plain' | 'yellow';\n};\n\nconst buttonThemes = {\n blue: {\n component: ButtonDeprecated,\n props: {\n flat: true,\n theme: 'white',\n },\n },\n plain: {\n component: ButtonDeprecated,\n props: {\n flat: true,\n theme: 'brand-dark-blue',\n },\n },\n yellow: {\n component: ButtonDeprecatedBase,\n props: {},\n },\n} as const;\n\n/**\n * @deprecated\n * This component is in the old visual identity and will be updated soon.\n * @see `Disclosure` and `List` from `@codecademy/gamut`\n *\n * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status\n */\n\nexport const AccordionButtonDeprecated: React.FC<\n AccordionButtonDeprecatedProps\n> = ({\n children,\n className,\n expanded,\n size = 'normal',\n theme = 'plain',\n ...baseProps\n}) => {\n const { component: ButtonComponent, props } = buttonThemes[theme];\n const iconSize = size === 'large' ? 30 : undefined;\n\n return (\n <ButtonComponent\n aria-expanded={expanded}\n className={cx(\n styles.accordionButton,\n styles[theme],\n styles[size],\n className\n )}\n {...baseProps}\n {...props}\n >\n <span className={styles.children}>{children}</span>\n <ArrowChevronDownIcon\n aria-hidden\n className={cx(\n styles.expansionIcon,\n expanded && styles.expansionIconExpanded\n )}\n height={iconSize}\n width={iconSize}\n />\n </ButtonComponent>\n );\n};\n"],"mappings":";;;;;;;;AAiCA,MAAMM,eAAe;CACnBC,MAAM;EACJC,WAAWL;EACXM,OAAO;GACLC,MAAM;GACNC,OAAO;EACT;CACF;CACAC,OAAO;EACLJ,WAAWL;EACXM,OAAO;GACLC,MAAM;GACNC,OAAO;EACT;CACF;CACAE,QAAQ;EACNL,WAAWJ;EACXK,OAAO,CAAC;CACV;AACF;;;;;;;GAUA,MAAaK,6BAER,EACHC,UACAC,WACAC,UACAC,OAAO,UACPP,QAAQ,SACR,GAAGQ,gBACJ;CACC,MAAM,EAAEX,WAAWY,iBAAiBX,UAAUH,aAAaK;CAC3D,MAAMU,WAAWH,SAAS,UAAU,KAAKI;CAEzC,OACE,sBAAA,cAACF,iBAAAA;EACCG,iBAAeN;EACfD,WAAWf,GACTI,OAAOmB,iBACPnB,OAAOM,QACPN,OAAOa,OACPF,SAAAA;EAED,GAAGG;EACH,GAAGV;IAEJ,sBAAA,cAACgB,QAAAA,EAAKT,WAAWX,OAAOU,YAAWA,QAAAA,GACnC,sBAAA,cAACf,sBAAAA;EACC0B,eAAAA;EACAV,WAAWf,GACTI,OAAOsB,eACPV,YAAYZ,OAAOuB,qBAAqB;EAE1CC,QAAQR;EACRS,OAAOT;;AAIf"}
1
+ {"version":3,"file":"index.js","names":["ArrowChevronDownIcon","cx","React","ButtonDeprecated","ButtonDeprecatedBase","styles","buttonThemes","blue","component","props","flat","theme","plain","yellow","AccordionButtonDeprecated","children","className","expanded","size","baseProps","ButtonComponent","iconSize","undefined","aria-expanded","accordionButton","span","aria-hidden","expansionIcon","expansionIconExpanded","height","width"],"sources":["../../src/AccordionButtonDeprecated/index.tsx"],"sourcesContent":["import { ArrowChevronDownIcon } from '@codecademy/gamut-icons';\nimport cx from 'classnames';\nimport * as React from 'react';\n\nimport { ButtonDeprecated } from './ButtonDeprecated';\nimport {\n ButtonDeprecatedBase,\n ButtonDeprecatedBaseProps,\n} from './ButtonDeprecatedBase';\n// eslint-disable-next-line gamut/no-css-standalone\nimport styles from './styles.module.scss';\n\nexport type AccordionButtonSize = 'normal' | 'large';\n\nexport type AccordionButtonTheme = 'blue' | 'plain' | 'yellow';\n\nexport type AccordionButtonDeprecatedProps = ButtonDeprecatedBaseProps & {\n /**\n * Whether the button should display as open or closed.\n */\n expanded?: boolean;\n\n /**\n * Determines the size of the button.\n */\n size?: 'normal' | 'large';\n\n /**\n * Visual theme for the clickable header button.\n */\n theme?: 'blue' | 'plain' | 'yellow';\n};\n\nconst buttonThemes = {\n blue: {\n component: ButtonDeprecated,\n props: {\n flat: true,\n theme: 'white',\n },\n },\n plain: {\n component: ButtonDeprecated,\n props: {\n flat: true,\n theme: 'brand-dark-blue',\n },\n },\n yellow: {\n component: ButtonDeprecatedBase,\n props: {},\n },\n} as const;\n\n/**\n * @deprecated\n * This component is in the old visual identity and will be updated soon.\n * @see `Disclosure` and `List` from `@codecademy/gamut`\n *\n * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status\n */\n\nexport const AccordionButtonDeprecated: React.FC<\n AccordionButtonDeprecatedProps\n> = ({\n children,\n className,\n expanded,\n size = 'normal',\n theme = 'plain',\n ...baseProps\n}) => {\n const { component: ButtonComponent, props } = buttonThemes[theme];\n const iconSize = size === 'large' ? 30 : undefined;\n\n return (\n <ButtonComponent\n aria-expanded={expanded}\n className={cx(\n styles.accordionButton,\n styles[theme],\n styles[size],\n className\n )}\n {...baseProps}\n {...props}\n >\n <span className={styles.children}>{children}</span>\n <ArrowChevronDownIcon\n aria-hidden\n className={cx(\n styles.expansionIcon,\n expanded && styles.expansionIconExpanded\n )}\n height={iconSize}\n width={iconSize}\n />\n </ButtonComponent>\n );\n};\n"],"mappings":";;;;;;;;AAiCA,MAAMM,eAAe;CACnBC,MAAM;EACJC,WAAWL;EACXM,OAAO;GACLC,MAAM;GACNC,OAAO;EACT;CACF;CACAC,OAAO;EACLJ,WAAWL;EACXM,OAAO;GACLC,MAAM;GACNC,OAAO;EACT;CACF;CACAE,QAAQ;EACNL,WAAWJ;EACXK,OAAO,CAAC;CACV;AACF;;;;;;;GAUA,MAAaK,6BAER,EACHC,UACAC,WACAC,UACAC,OAAO,UACPP,QAAQ,SACR,GAAGQ,gBACJ;CACC,MAAM,EAAEX,WAAWY,iBAAiBX,UAAUH,aAAaK;CAC3D,MAAMU,WAAWH,SAAS,UAAU,KAAKI;CAEzC,OACE,sBAAA,cAACF,iBAAAA;EACCG,iBAAeN;EACfD,WAAWf,GACTI,OAAOmB,iBACPnB,OAAOM,QACPN,OAAOa,OACPF,SAAAA;EAED,GAAGG;EACH,GAAGV;CAEJ,GAAA,sBAAA,cAACgB,QAAAA,EAAKT,WAAWX,OAAOU,SAAWA,GAAAA,QAAAA,GACnC,sBAAA,cAACf,sBAAAA;EACC0B,eAAAA;EACAV,WAAWf,GACTI,OAAOsB,eACPV,YAAYZ,OAAOuB,qBAAqB;EAE1CC,QAAQR;EACRS,OAAOT;;AAIf"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useState","React","AccordionAreaDeprecated","AccordionButtonDeprecated","AccordionDeprecated","children","className","initiallyExpanded","onClick","size","theme","top","expanded","setExpanded","expandRenderer","renderer","Function"],"sources":["../../src/AccordionDeprecated/index.tsx"],"sourcesContent":["import { useState } from 'react';\nimport * as React from 'react';\n\nimport { AccordionAreaDeprecated } from '../AccordionAreaDeprecated';\nimport {\n AccordionButtonDeprecated,\n AccordionButtonSize,\n AccordionButtonTheme,\n} from '../AccordionButtonDeprecated';\n\nexport type ChildrenOrExpandedRender =\n | React.ReactNode\n | ((expanded: boolean) => React.ReactNode);\n\nexport type AccordionDeprecatedProps = {\n children: ChildrenOrExpandedRender;\n\n /**\n * CSS class name added to the root area container.\n */\n className?: string;\n\n /**\n * Whether the accordion should start off with expanded state.\n */\n initiallyExpanded?: boolean;\n\n /**\n * Called when the top button is clicked.\n *\n * @param expanding - New expanded state the accordion will transition to.\n */\n onClick?: (expanding: boolean) => void;\n\n /**\n * Visual size of the top button.\n */\n size?: AccordionButtonSize;\n\n /**\n * Visual theme of the top button.\n */\n theme?: AccordionButtonTheme;\n\n /**\n * Contents to place within the top button.\n */\n top: ChildrenOrExpandedRender;\n};\n\n/**\n * @deprecated\n * This component is in the old visual identity and will be updated soon.\n *\n * @see `Disclosure` and `List` from `@codecademy/gamut`\n *\n * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status\n */\n\nexport const AccordionDeprecated: React.FC<AccordionDeprecatedProps> = ({\n children,\n className,\n initiallyExpanded,\n onClick,\n size,\n theme,\n top,\n}) => {\n const [expanded, setExpanded] = useState(!!initiallyExpanded);\n const expandRenderer = (renderer: ChildrenOrExpandedRender) =>\n renderer instanceof Function ? renderer(expanded) : renderer;\n\n return (\n <AccordionAreaDeprecated\n className={className}\n expanded={expanded}\n top={\n <AccordionButtonDeprecated\n expanded={expanded}\n size={size}\n theme={theme}\n onClick={() => {\n setExpanded(!expanded);\n onClick?.(!expanded);\n }}\n >\n {expandRenderer(top)}\n </AccordionButtonDeprecated>\n }\n >\n {expandRenderer(children)}\n </AccordionAreaDeprecated>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;GA2DA,MAAaI,uBAA2D,EACtEC,UACAC,WACAC,mBACAC,SACAC,MACAC,OACAC,UACD;CACC,MAAM,CAACC,UAAUC,mCAAwB,CAAC,CAACN,iBAAAA;CAC3C,MAAMO,kBAAkBC,aACtBA,oBAAoBC,WAAWD,SAASH,QAAAA,IAAYG;CAEtD,OACE,oBAAA,cAACb,uCAAAA;EACYI;EACDM;EACVD,KACE,oBAAA,cAACR,2CAAAA;GACWS;GACJH;GACCC;GACPF,eAAS;IACPK,YAAY,CAACD,QAAAA;IACbJ,UAAU,CAACI,QAAAA;GACb;KAECE,eAAeH,GAAAA,CAAAA;IAInBG,eAAeT,QAAAA,CAAAA;AAGtB"}
1
+ {"version":3,"file":"index.cjs","names":["useState","React","AccordionAreaDeprecated","AccordionButtonDeprecated","AccordionDeprecated","children","className","initiallyExpanded","onClick","size","theme","top","expanded","setExpanded","expandRenderer","renderer","Function"],"sources":["../../src/AccordionDeprecated/index.tsx"],"sourcesContent":["import { useState } from 'react';\nimport * as React from 'react';\n\nimport { AccordionAreaDeprecated } from '../AccordionAreaDeprecated';\nimport {\n AccordionButtonDeprecated,\n AccordionButtonSize,\n AccordionButtonTheme,\n} from '../AccordionButtonDeprecated';\n\nexport type ChildrenOrExpandedRender =\n | React.ReactNode\n | ((expanded: boolean) => React.ReactNode);\n\nexport type AccordionDeprecatedProps = {\n children: ChildrenOrExpandedRender;\n\n /**\n * CSS class name added to the root area container.\n */\n className?: string;\n\n /**\n * Whether the accordion should start off with expanded state.\n */\n initiallyExpanded?: boolean;\n\n /**\n * Called when the top button is clicked.\n *\n * @param expanding - New expanded state the accordion will transition to.\n */\n onClick?: (expanding: boolean) => void;\n\n /**\n * Visual size of the top button.\n */\n size?: AccordionButtonSize;\n\n /**\n * Visual theme of the top button.\n */\n theme?: AccordionButtonTheme;\n\n /**\n * Contents to place within the top button.\n */\n top: ChildrenOrExpandedRender;\n};\n\n/**\n * @deprecated\n * This component is in the old visual identity and will be updated soon.\n *\n * @see `Disclosure` and `List` from `@codecademy/gamut`\n *\n * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status\n */\n\nexport const AccordionDeprecated: React.FC<AccordionDeprecatedProps> = ({\n children,\n className,\n initiallyExpanded,\n onClick,\n size,\n theme,\n top,\n}) => {\n const [expanded, setExpanded] = useState(!!initiallyExpanded);\n const expandRenderer = (renderer: ChildrenOrExpandedRender) =>\n renderer instanceof Function ? renderer(expanded) : renderer;\n\n return (\n <AccordionAreaDeprecated\n className={className}\n expanded={expanded}\n top={\n <AccordionButtonDeprecated\n expanded={expanded}\n size={size}\n theme={theme}\n onClick={() => {\n setExpanded(!expanded);\n onClick?.(!expanded);\n }}\n >\n {expandRenderer(top)}\n </AccordionButtonDeprecated>\n }\n >\n {expandRenderer(children)}\n </AccordionAreaDeprecated>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;GA2DA,MAAaI,uBAA2D,EACtEC,UACAC,WACAC,mBACAC,SACAC,MACAC,OACAC,UACD;CACC,MAAM,CAACC,UAAUC,mCAAwB,CAAC,CAACN,iBAAAA;CAC3C,MAAMO,kBAAkBC,aACtBA,oBAAoBC,WAAWD,SAASH,QAAAA,IAAYG;CAEtD,OACE,oBAAA,cAACb,uCAAAA;EACYI;EACDM;EACVD,KACE,oBAAA,cAACR,2CAAAA;GACWS;GACJH;GACCC;GACPF,eAAS;IACPK,YAAY,CAACD,QAAAA;IACbJ,UAAU,CAACI,QAAAA;GACb;EAECE,GAAAA,eAAeH,GAAAA,CAAAA;CAInBG,GAAAA,eAAeT,QAAAA,CAAAA;AAGtB"}
@@ -1,6 +1,5 @@
1
1
  import { AccordionButtonSize, AccordionButtonTheme } from "../AccordionButtonDeprecated/index.cjs";
2
2
  import * as React$1 from "react";
3
-
4
3
  //#region src/AccordionDeprecated/index.d.ts
5
4
  type ChildrenOrExpandedRender = React$1.ReactNode | ((expanded: boolean) => React$1.ReactNode);
6
5
  type AccordionDeprecatedProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/AccordionDeprecated/index.tsx"],"mappings":";;;;KAUY,wBAAA,GACR,OAAA,CAAM,SAAA,KACJ,QAAA,cAAsB,OAAA,CAAM,SAAS;AAAA,KAE/B,wBAAA;EACV,QAAA,EAAU,wBAAA;EALwB;;;EAUlC,SAAA;EATQ;;;EAcR,iBAAA;EAbyC;AAAA;AAE3C;;;EAkBE,OAAA,IAAW,SAAA;EAKJ;;;EAAP,IAAA,GAAO,mBAAA;EAUsB;;;EAL7B,KAAA,GAAQ,oBAAA;EAjBR;;;EAsBA,GAAA,EAAK,wBAAA;AAAA;;;;;;AAAwB;AAY/B;;cAAa,mBAAA,EAAqB,OAAA,CAAM,EAAE,CAAC,wBAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/AccordionDeprecated/index.tsx"],"mappings":";;;KAUY,2BACR,QAAM,cACJ,sBAAsB,QAAM;KAEtB;EACV,UAAU;;;;EAKV;;;;EAKA;;;;;;EAOA,WAAW;;;;EAKX,OAAO;;;;EAKP,QAAQ;;;;EAKR,KAAK;;;;;;;;;;cAYM,qBAAqB,QAAM,GAAG"}
@@ -1,6 +1,5 @@
1
1
  import { AccordionButtonSize, AccordionButtonTheme } from "../AccordionButtonDeprecated/index.js";
2
2
  import * as React$1 from "react";
3
-
4
3
  //#region src/AccordionDeprecated/index.d.ts
5
4
  type ChildrenOrExpandedRender = React$1.ReactNode | ((expanded: boolean) => React$1.ReactNode);
6
5
  type AccordionDeprecatedProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/AccordionDeprecated/index.tsx"],"mappings":";;;;KAUY,wBAAA,GACR,OAAA,CAAM,SAAA,KACJ,QAAA,cAAsB,OAAA,CAAM,SAAA;AAAA,KAEtB,wBAAA;EACV,QAAA,EAAU,wBAAA;EALwB;;;EAUlC,SAAA;EATQ;;;EAcR,iBAAA;;;AAXF;;;EAkBE,OAAA,IAAW,SAAA;EAKJ;;;EAAP,IAAA,GAAO,mBAAA;EAUsB;;;EAL7B,KAAA,GAAQ,oBAAA;EAjBR;;;EAsBA,GAAA,EAAK,wBAAA;AAAA;;;;;;;AAYP;;cAAa,mBAAA,EAAqB,OAAA,CAAM,EAAA,CAAG,wBAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/AccordionDeprecated/index.tsx"],"mappings":";;;KAUY,2BACR,QAAM,cACJ,sBAAsB,QAAM;KAEtB;EACV,UAAU;;;;EAKV;;;;EAKA;;;;;;EAOA,WAAW;;;;EAKX,OAAO;;;;EAKP,QAAQ;;;;EAKR,KAAK;;;;;;;;;;cAYM,qBAAqB,QAAM,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["useState","React","AccordionAreaDeprecated","AccordionButtonDeprecated","AccordionDeprecated","children","className","initiallyExpanded","onClick","size","theme","top","expanded","setExpanded","expandRenderer","renderer","Function"],"sources":["../../src/AccordionDeprecated/index.tsx"],"sourcesContent":["import { useState } from 'react';\nimport * as React from 'react';\n\nimport { AccordionAreaDeprecated } from '../AccordionAreaDeprecated';\nimport {\n AccordionButtonDeprecated,\n AccordionButtonSize,\n AccordionButtonTheme,\n} from '../AccordionButtonDeprecated';\n\nexport type ChildrenOrExpandedRender =\n | React.ReactNode\n | ((expanded: boolean) => React.ReactNode);\n\nexport type AccordionDeprecatedProps = {\n children: ChildrenOrExpandedRender;\n\n /**\n * CSS class name added to the root area container.\n */\n className?: string;\n\n /**\n * Whether the accordion should start off with expanded state.\n */\n initiallyExpanded?: boolean;\n\n /**\n * Called when the top button is clicked.\n *\n * @param expanding - New expanded state the accordion will transition to.\n */\n onClick?: (expanding: boolean) => void;\n\n /**\n * Visual size of the top button.\n */\n size?: AccordionButtonSize;\n\n /**\n * Visual theme of the top button.\n */\n theme?: AccordionButtonTheme;\n\n /**\n * Contents to place within the top button.\n */\n top: ChildrenOrExpandedRender;\n};\n\n/**\n * @deprecated\n * This component is in the old visual identity and will be updated soon.\n *\n * @see `Disclosure` and `List` from `@codecademy/gamut`\n *\n * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status\n */\n\nexport const AccordionDeprecated: React.FC<AccordionDeprecatedProps> = ({\n children,\n className,\n initiallyExpanded,\n onClick,\n size,\n theme,\n top,\n}) => {\n const [expanded, setExpanded] = useState(!!initiallyExpanded);\n const expandRenderer = (renderer: ChildrenOrExpandedRender) =>\n renderer instanceof Function ? renderer(expanded) : renderer;\n\n return (\n <AccordionAreaDeprecated\n className={className}\n expanded={expanded}\n top={\n <AccordionButtonDeprecated\n expanded={expanded}\n size={size}\n theme={theme}\n onClick={() => {\n setExpanded(!expanded);\n onClick?.(!expanded);\n }}\n >\n {expandRenderer(top)}\n </AccordionButtonDeprecated>\n }\n >\n {expandRenderer(children)}\n </AccordionAreaDeprecated>\n );\n};\n"],"mappings":";;;;;;;;;;;;;GA2DA,MAAaI,uBAA2D,EACtEC,UACAC,WACAC,mBACAC,SACAC,MACAC,OACAC,UACD;CACC,MAAM,CAACC,UAAUC,eAAeb,SAAS,CAAC,CAACO,iBAAAA;CAC3C,MAAMO,kBAAkBC,aACtBA,oBAAoBC,WAAWD,SAASH,QAAAA,IAAYG;CAEtD,OACE,sBAAA,cAACb,yBAAAA;EACYI;EACDM;EACVD,KACE,sBAAA,cAACR,2BAAAA;GACWS;GACJH;GACCC;GACPF,eAAS;IACPK,YAAY,CAACD,QAAAA;IACbJ,UAAU,CAACI,QAAAA;GACb;KAECE,eAAeH,GAAAA,CAAAA;IAInBG,eAAeT,QAAAA,CAAAA;AAGtB"}
1
+ {"version":3,"file":"index.js","names":["useState","React","AccordionAreaDeprecated","AccordionButtonDeprecated","AccordionDeprecated","children","className","initiallyExpanded","onClick","size","theme","top","expanded","setExpanded","expandRenderer","renderer","Function"],"sources":["../../src/AccordionDeprecated/index.tsx"],"sourcesContent":["import { useState } from 'react';\nimport * as React from 'react';\n\nimport { AccordionAreaDeprecated } from '../AccordionAreaDeprecated';\nimport {\n AccordionButtonDeprecated,\n AccordionButtonSize,\n AccordionButtonTheme,\n} from '../AccordionButtonDeprecated';\n\nexport type ChildrenOrExpandedRender =\n | React.ReactNode\n | ((expanded: boolean) => React.ReactNode);\n\nexport type AccordionDeprecatedProps = {\n children: ChildrenOrExpandedRender;\n\n /**\n * CSS class name added to the root area container.\n */\n className?: string;\n\n /**\n * Whether the accordion should start off with expanded state.\n */\n initiallyExpanded?: boolean;\n\n /**\n * Called when the top button is clicked.\n *\n * @param expanding - New expanded state the accordion will transition to.\n */\n onClick?: (expanding: boolean) => void;\n\n /**\n * Visual size of the top button.\n */\n size?: AccordionButtonSize;\n\n /**\n * Visual theme of the top button.\n */\n theme?: AccordionButtonTheme;\n\n /**\n * Contents to place within the top button.\n */\n top: ChildrenOrExpandedRender;\n};\n\n/**\n * @deprecated\n * This component is in the old visual identity and will be updated soon.\n *\n * @see `Disclosure` and `List` from `@codecademy/gamut`\n *\n * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status\n */\n\nexport const AccordionDeprecated: React.FC<AccordionDeprecatedProps> = ({\n children,\n className,\n initiallyExpanded,\n onClick,\n size,\n theme,\n top,\n}) => {\n const [expanded, setExpanded] = useState(!!initiallyExpanded);\n const expandRenderer = (renderer: ChildrenOrExpandedRender) =>\n renderer instanceof Function ? renderer(expanded) : renderer;\n\n return (\n <AccordionAreaDeprecated\n className={className}\n expanded={expanded}\n top={\n <AccordionButtonDeprecated\n expanded={expanded}\n size={size}\n theme={theme}\n onClick={() => {\n setExpanded(!expanded);\n onClick?.(!expanded);\n }}\n >\n {expandRenderer(top)}\n </AccordionButtonDeprecated>\n }\n >\n {expandRenderer(children)}\n </AccordionAreaDeprecated>\n );\n};\n"],"mappings":";;;;;;;;;;;;;GA2DA,MAAaI,uBAA2D,EACtEC,UACAC,WACAC,mBACAC,SACAC,MACAC,OACAC,UACD;CACC,MAAM,CAACC,UAAUC,eAAeb,SAAS,CAAC,CAACO,iBAAAA;CAC3C,MAAMO,kBAAkBC,aACtBA,oBAAoBC,WAAWD,SAASH,QAAAA,IAAYG;CAEtD,OACE,sBAAA,cAACb,yBAAAA;EACYI;EACDM;EACVD,KACE,sBAAA,cAACR,2BAAAA;GACWS;GACJH;GACCC;GACPF,eAAS;IACPK,YAAY,CAACD,QAAAA;IACbJ,UAAU,CAACI,QAAAA;GACb;EAECE,GAAAA,eAAeH,GAAAA,CAAAA;CAInBG,GAAAA,eAAeT,QAAAA,CAAAA;AAGtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"AppBarSection.cjs","names":["styledOptions","variant","styled","React","positionVariants","prop","base","display","alignItems","height","zIndex","variants","left","flex","right","justifyContent","center","textAlign","StyledSection","AppBarSection","position","children"],"sources":["../../src/AppBar/AppBarSection.tsx"],"sourcesContent":["import { WithChildrenProp } from '@codecademy/gamut';\nimport { styledOptions, variant } from '@codecademy/gamut-styles';\nimport { StyleProps } from '@codecademy/variance';\nimport styled from '@emotion/styled';\nimport * as React from 'react';\n\nconst positionVariants = variant({\n prop: 'position',\n base: {\n display: 'flex',\n alignItems: 'center',\n height: '100%',\n zIndex: 1,\n },\n variants: {\n left: {\n flex: 1,\n },\n right: {\n flex: 1,\n justifyContent: 'flex-end',\n },\n center: {\n flex: 2,\n justifyContent: 'center',\n textAlign: 'center',\n },\n },\n});\n\nexport interface AppBarSectionProps\n extends StyleProps<typeof positionVariants>,\n WithChildrenProp {}\n\nconst StyledSection = styled(\n 'div',\n styledOptions\n)<AppBarSectionProps>(positionVariants);\n\nexport const AppBarSection: React.FC<AppBarSectionProps> = ({\n position,\n children,\n}) => {\n return <StyledSection position={position}>{children}</StyledSection>;\n};\n"],"mappings":";;;;;;;;AAMA,MAAMI,yDAA2B;CAC/BC,MAAM;CACNC,MAAM;EACJC,SAAS;EACTC,YAAY;EACZC,QAAQ;EACRC,QAAQ;CACV;CACAC,UAAU;EACRC,MAAM,EACJC,MAAM,EACR;EACAC,OAAO;GACLD,MAAM;GACNE,gBAAgB;EAClB;EACAC,QAAQ;GACNH,MAAM;GACNE,gBAAgB;GAChBE,WAAW;EACb;CACF;AACF,CAAA;AAMA,MAAMC,gBAAgBhB,2CACpB,OACAF,wCAAAA;;;GACoBI,kBAAAA,iuDAAAA;AAEtB,MAAae,iBAA+C,EAC1DC,UACAC,eACD;CACC,OAAO,oBAAA,cAACH,eAAAA,EAAwBE,YAAWC,QAAAA;AAC7C"}
1
+ {"version":3,"file":"AppBarSection.cjs","names":["styledOptions","variant","styled","React","positionVariants","prop","base","display","alignItems","height","zIndex","variants","left","flex","right","justifyContent","center","textAlign","StyledSection","AppBarSection","position","children"],"sources":["../../src/AppBar/AppBarSection.tsx"],"sourcesContent":["import { WithChildrenProp } from '@codecademy/gamut';\nimport { styledOptions, variant } from '@codecademy/gamut-styles';\nimport { StyleProps } from '@codecademy/variance';\nimport styled from '@emotion/styled';\nimport * as React from 'react';\n\nconst positionVariants = variant({\n prop: 'position',\n base: {\n display: 'flex',\n alignItems: 'center',\n height: '100%',\n zIndex: 1,\n },\n variants: {\n left: {\n flex: 1,\n },\n right: {\n flex: 1,\n justifyContent: 'flex-end',\n },\n center: {\n flex: 2,\n justifyContent: 'center',\n textAlign: 'center',\n },\n },\n});\n\nexport interface AppBarSectionProps\n extends StyleProps<typeof positionVariants>,\n WithChildrenProp {}\n\nconst StyledSection = styled(\n 'div',\n styledOptions\n)<AppBarSectionProps>(positionVariants);\n\nexport const AppBarSection: React.FC<AppBarSectionProps> = ({\n position,\n children,\n}) => {\n return <StyledSection position={position}>{children}</StyledSection>;\n};\n"],"mappings":";;;;;;;;AAMA,MAAMI,yDAA2B;CAC/BC,MAAM;CACNC,MAAM;EACJC,SAAS;EACTC,YAAY;EACZC,QAAQ;EACRC,QAAQ;CACV;CACAC,UAAU;EACRC,MAAM,EACJC,MAAM,EACR;EACAC,OAAO;GACLD,MAAM;GACNE,gBAAgB;EAClB;EACAC,QAAQ;GACNH,MAAM;GACNE,gBAAgB;GAChBE,WAAW;EACb;CACF;AACF,CAAA;AAMA,MAAMC,gBAAgBhB,2CACpB,OACAF,wCAAAA;;;AACoBI,CAAAA,CAAAA,CAAAA,kBAAAA,iuDAAAA;AAEtB,MAAae,iBAA+C,EAC1DC,UACAC,eACD;CACC,OAAO,oBAAA,cAACH,eAAAA,EAAwBE,SAAWC,GAAAA,QAAAA;AAC7C"}
@@ -1,7 +1,6 @@
1
1
  import { WithChildrenProp } from "@codecademy/gamut";
2
2
  import * as React$1 from "react";
3
3
  import { StyleProps } from "@codecademy/variance";
4
-
5
4
  //#region src/AppBar/AppBarSection.d.ts
6
5
  declare const positionVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"position", false | "right" | "left" | "center"> & {
7
6
  theme?: import("@emotion/react").Theme;
@@ -1 +1 @@
1
- {"version":3,"file":"AppBarSection.d.cts","names":[],"sources":["../../src/AppBar/AppBarSection.tsx"],"mappings":";;;;;cAMM,gBAAA,GAAgB,KAAA,mDAAA,YAAA;;;UAwBL,kBAAA,SACP,UAAA,QAAkB,gBAAA,GACxB,gBAAA;AAAA,cAOS,aAAA,EAAe,OAAA,CAAM,EAAE,CAAC,kBAAA"}
1
+ {"version":3,"file":"AppBarSection.d.cts","names":[],"sources":["../../src/AppBar/AppBarSection.tsx"],"mappings":";;;;cAMM,mBAAgB,wDAAA;;qCAsBpB;UAEe,2BACP,kBAAkB,mBACxB;cAOS,eAAe,QAAM,GAAG"}
@@ -1,7 +1,6 @@
1
1
  import { WithChildrenProp } from "@codecademy/gamut";
2
2
  import * as React$1 from "react";
3
3
  import { StyleProps } from "@codecademy/variance";
4
-
5
4
  //#region src/AppBar/AppBarSection.d.ts
6
5
  declare const positionVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"position", false | "right" | "left" | "center"> & {
7
6
  theme?: import("@emotion/react").Theme;
@@ -1 +1 @@
1
- {"version":3,"file":"AppBarSection.d.ts","names":[],"sources":["../../src/AppBar/AppBarSection.tsx"],"mappings":";;;;;cAMM,gBAAA,GAAgB,KAAA,mDAAA,YAAA;;;UAwBL,kBAAA,SACP,UAAA,QAAkB,gBAAA,GACxB,gBAAA;AAAA,cAOS,aAAA,EAAe,OAAA,CAAM,EAAA,CAAG,kBAAA"}
1
+ {"version":3,"file":"AppBarSection.d.ts","names":[],"sources":["../../src/AppBar/AppBarSection.tsx"],"mappings":";;;;cAMM,mBAAgB,wDAAA;;qCAsBpB;UAEe,2BACP,kBAAkB,mBACxB;cAOS,eAAe,QAAM,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"AppBarSection.js","names":["styledOptions","variant","styled","React","positionVariants","prop","base","display","alignItems","height","zIndex","variants","left","flex","right","justifyContent","center","textAlign","StyledSection","AppBarSection","position","children"],"sources":["../../src/AppBar/AppBarSection.tsx"],"sourcesContent":["import { WithChildrenProp } from '@codecademy/gamut';\nimport { styledOptions, variant } from '@codecademy/gamut-styles';\nimport { StyleProps } from '@codecademy/variance';\nimport styled from '@emotion/styled';\nimport * as React from 'react';\n\nconst positionVariants = variant({\n prop: 'position',\n base: {\n display: 'flex',\n alignItems: 'center',\n height: '100%',\n zIndex: 1,\n },\n variants: {\n left: {\n flex: 1,\n },\n right: {\n flex: 1,\n justifyContent: 'flex-end',\n },\n center: {\n flex: 2,\n justifyContent: 'center',\n textAlign: 'center',\n },\n },\n});\n\nexport interface AppBarSectionProps\n extends StyleProps<typeof positionVariants>,\n WithChildrenProp {}\n\nconst StyledSection = styled(\n 'div',\n styledOptions\n)<AppBarSectionProps>(positionVariants);\n\nexport const AppBarSection: React.FC<AppBarSectionProps> = ({\n position,\n children,\n}) => {\n return <StyledSection position={position}>{children}</StyledSection>;\n};\n"],"mappings":";;;;;AAMA,MAAMI,mBAAmBH,QAAQ;CAC/BI,MAAM;CACNC,MAAM;EACJC,SAAS;EACTC,YAAY;EACZC,QAAQ;EACRC,QAAQ;CACV;CACAC,UAAU;EACRC,MAAM,EACJC,MAAM,EACR;EACAC,OAAO;GACLD,MAAM;GACNE,gBAAgB;EAClB;EACAC,QAAQ;GACNH,MAAM;GACNE,gBAAgB;GAChBE,WAAW;EACb;CACF;AACF,CAAA;AAMA,MAAMC,gBAAgBhB,qBACpB,OACAF,eAAAA;;;GACoBI,kBAAAA,iuDAAAA;AAEtB,MAAae,iBAA+C,EAC1DC,UACAC,eACD;CACC,OAAO,sBAAA,cAACH,eAAAA,EAAwBE,YAAWC,QAAAA;AAC7C"}
1
+ {"version":3,"file":"AppBarSection.js","names":["styledOptions","variant","styled","React","positionVariants","prop","base","display","alignItems","height","zIndex","variants","left","flex","right","justifyContent","center","textAlign","StyledSection","AppBarSection","position","children"],"sources":["../../src/AppBar/AppBarSection.tsx"],"sourcesContent":["import { WithChildrenProp } from '@codecademy/gamut';\nimport { styledOptions, variant } from '@codecademy/gamut-styles';\nimport { StyleProps } from '@codecademy/variance';\nimport styled from '@emotion/styled';\nimport * as React from 'react';\n\nconst positionVariants = variant({\n prop: 'position',\n base: {\n display: 'flex',\n alignItems: 'center',\n height: '100%',\n zIndex: 1,\n },\n variants: {\n left: {\n flex: 1,\n },\n right: {\n flex: 1,\n justifyContent: 'flex-end',\n },\n center: {\n flex: 2,\n justifyContent: 'center',\n textAlign: 'center',\n },\n },\n});\n\nexport interface AppBarSectionProps\n extends StyleProps<typeof positionVariants>,\n WithChildrenProp {}\n\nconst StyledSection = styled(\n 'div',\n styledOptions\n)<AppBarSectionProps>(positionVariants);\n\nexport const AppBarSection: React.FC<AppBarSectionProps> = ({\n position,\n children,\n}) => {\n return <StyledSection position={position}>{children}</StyledSection>;\n};\n"],"mappings":";;;;;AAMA,MAAMI,mBAAmBH,QAAQ;CAC/BI,MAAM;CACNC,MAAM;EACJC,SAAS;EACTC,YAAY;EACZC,QAAQ;EACRC,QAAQ;CACV;CACAC,UAAU;EACRC,MAAM,EACJC,MAAM,EACR;EACAC,OAAO;GACLD,MAAM;GACNE,gBAAgB;EAClB;EACAC,QAAQ;GACNH,MAAM;GACNE,gBAAgB;GAChBE,WAAW;EACb;CACF;AACF,CAAA;AAMA,MAAMC,gBAAgBhB,qBACpB,OACAF,eAAAA;;;AACoBI,CAAAA,CAAAA,CAAAA,kBAAAA,iuDAAAA;AAEtB,MAAae,iBAA+C,EAC1DC,UACAC,eACD;CACC,OAAO,sBAAA,cAACH,eAAAA,EAAwBE,SAAWC,GAAAA,QAAAA;AAC7C"}
@@ -4,15 +4,14 @@ let react = require("react");
4
4
  react = require_runtime.__toESM(react);
5
5
 
6
6
  //#region src/AppBar/index.tsx
7
- const AppBar = ({ "aria-label": ariaLabel, as, wide, children }) => {
7
+ const AppBar = ({ wide, children, ...rest }) => {
8
8
  return /*#__PURE__*/ react.createElement(_codecademy_gamut.ContentContainer, {
9
- "aria-label": ariaLabel,
10
- as,
11
9
  display: "flex",
12
10
  alignItems: "center",
13
11
  height: "100%",
14
12
  size: wide ? "wide" : "medium",
15
- zIndex: 14
13
+ zIndex: 14,
14
+ ...rest
16
15
  }, children);
17
16
  };
18
17
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["ContentContainer","React","AppBar","ariaLabel","as","wide","children","aria-label","display","alignItems","height","size","zIndex"],"sources":["../../src/AppBar/index.tsx"],"sourcesContent":["import { ContentContainer, WithChildrenProp } from '@codecademy/gamut';\nimport * as React from 'react';\n\nexport interface AppBarProps\n extends WithChildrenProp,\n Pick<React.ComponentProps<typeof ContentContainer>, 'aria-label' | 'as'> {\n /**\n * Whether the container should be larger than the default content size.\n */\n wide?: boolean;\n}\n\nexport const AppBar: React.FC<AppBarProps> = ({\n 'aria-label': ariaLabel,\n as,\n wide,\n children,\n}) => {\n return (\n <ContentContainer\n aria-label={ariaLabel}\n as={as}\n display=\"flex\"\n alignItems=\"center\"\n height=\"100%\"\n size={wide ? 'wide' : 'medium'}\n zIndex={14}\n >\n {children}\n </ContentContainer>\n );\n};\n"],"mappings":";;;;;;AAYA,MAAaE,UAAiC,EAC5C,cAAcC,WACdC,IACAC,MACAC,eACD;CACC,OACE,oBAAA,cAACN,oCAAAA;EACCO,cAAYJ;EACRC;EACJI,SAAQ;EACRC,YAAW;EACXC,QAAO;EACPC,MAAMN,OAAO,SAAS;EACtBO,QAAQ;IAEPN,QAAAA;AAGP"}
1
+ {"version":3,"file":"index.cjs","names":["ContentContainer","React","AppBar","wide","children","rest","display","alignItems","height","size","zIndex"],"sources":["../../src/AppBar/index.tsx"],"sourcesContent":["import { ContentContainer, WithChildrenProp } from '@codecademy/gamut';\nimport * as React from 'react';\n\nexport interface AppBarProps\n extends WithChildrenProp,\n Pick<\n React.ComponentProps<typeof ContentContainer>,\n 'aria-label' | 'as' | 'className'\n > {\n /**\n * Whether the container should be larger than the default content size.\n */\n wide?: boolean;\n}\n\nexport const AppBar: React.FC<AppBarProps> = ({ wide, children, ...rest }) => {\n return (\n <ContentContainer\n display=\"flex\"\n alignItems=\"center\"\n height=\"100%\"\n size={wide ? 'wide' : 'medium'}\n zIndex={14}\n {...rest}\n >\n {children}\n </ContentContainer>\n );\n};\n"],"mappings":";;;;;;AAeA,MAAaE,UAAiC,EAAEC,MAAMC,UAAU,GAAGC,WAAM;CACvE,OACE,oBAAA,cAACL,oCAAAA;EACCM,SAAQ;EACRC,YAAW;EACXC,QAAO;EACPC,MAAMN,OAAO,SAAS;EACtBO,QAAQ;EACP,GAAGL;CAEHD,GAAAA,QAAAA;AAGP"}
@@ -1,8 +1,7 @@
1
1
  import { ContentContainer, WithChildrenProp } from "@codecademy/gamut";
2
2
  import * as React$1 from "react";
3
-
4
3
  //#region src/AppBar/index.d.ts
5
- interface AppBarProps extends WithChildrenProp, Pick<React$1.ComponentProps<typeof ContentContainer>, 'aria-label' | 'as'> {
4
+ interface AppBarProps extends WithChildrenProp, Pick<React$1.ComponentProps<typeof ContentContainer>, 'aria-label' | 'as' | 'className'> {
6
5
  /**
7
6
  * Whether the container should be larger than the default content size.
8
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/AppBar/index.tsx"],"mappings":";;;;UAGiB,WAAA,SACP,gBAAA,EACN,IAAA,CAAK,OAAA,CAAM,cAAA,QAAsB,gBAAA;;AAFrC;;EAME,IAAA;AAAA;AAAA,cAGW,MAAA,EAAQ,OAAA,CAAM,EAAE,CAAC,WAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/AppBar/index.tsx"],"mappings":";;;UAGiB,oBACP,kBACN,KACE,QAAM,sBAAsB;;;;EAMhC;;cAGW,QAAQ,QAAM,GAAG"}
@@ -1,8 +1,7 @@
1
1
  import { ContentContainer, WithChildrenProp } from "@codecademy/gamut";
2
2
  import * as React$1 from "react";
3
-
4
3
  //#region src/AppBar/index.d.ts
5
- interface AppBarProps extends WithChildrenProp, Pick<React$1.ComponentProps<typeof ContentContainer>, 'aria-label' | 'as'> {
4
+ interface AppBarProps extends WithChildrenProp, Pick<React$1.ComponentProps<typeof ContentContainer>, 'aria-label' | 'as' | 'className'> {
6
5
  /**
7
6
  * Whether the container should be larger than the default content size.
8
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/AppBar/index.tsx"],"mappings":";;;;UAGiB,WAAA,SACP,gBAAA,EACN,IAAA,CAAK,OAAA,CAAM,cAAA,QAAsB,gBAAA;;AAFrC;;EAME,IAAA;AAAA;AAAA,cAGW,MAAA,EAAQ,OAAA,CAAM,EAAA,CAAG,WAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/AppBar/index.tsx"],"mappings":";;;UAGiB,oBACP,kBACN,KACE,QAAM,sBAAsB;;;;EAMhC;;cAGW,QAAQ,QAAM,GAAG"}