@codecademy/brand 2.0.0-alpha.a27f454af3.0 → 2.0.0-alpha.a3eb12cdcb.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 (172) hide show
  1. package/package.json +1 -1
  2. package/dist/LearningOutcomeCard/index.js +0 -178
  3. package/dist/LearningOutcomeFlyout/index.js +0 -234
  4. package/dist/LearningOutcomePopover/index.js +0 -125
  5. package/dist/LearningOutcomeTile/Tile.js +0 -79
  6. package/dist/LearningOutcomeTile/index.js +0 -114
  7. package/dist/LearningOutcomeTile/types.js +0 -11
  8. package/dist/ListSection/index.js +0 -64
  9. package/dist/Loading/index.js +0 -82
  10. package/dist/LoadingCurriculumCard/index.js +0 -82
  11. package/dist/Logo/CodecademyLogo.js +0 -19
  12. package/dist/Logo/CodecademyPremiumLogo.js +0 -35
  13. package/dist/Logo/CodecademyProAltLogo.js +0 -19
  14. package/dist/Logo/CodecademyProLockupLogo.js +0 -13
  15. package/dist/Logo/CodecademyProLogo.js +0 -21
  16. package/dist/Logo/CodecademyProMonoLogo.js +0 -22
  17. package/dist/Logo/CodecademyProgramLogo.js +0 -14
  18. package/dist/Logo/CodecademyTeamsLogo.js +0 -41
  19. package/dist/Logo/index.js +0 -30
  20. package/dist/LogoFromSkillsoft/index.js +0 -55
  21. package/dist/LogoLXStudio/index.js +0 -47
  22. package/dist/LogoProCutout/index.js +0 -31
  23. package/dist/LogoProCutoutTransparent/index.js +0 -31
  24. package/dist/MarketingToaster/index.js +0 -67
  25. package/dist/NotFoundContent/index.js +0 -55
  26. package/dist/NotificationList/EmptyNotification/emptyNotificationContents.js +0 -23
  27. package/dist/NotificationList/EmptyNotification/index.js +0 -38
  28. package/dist/NotificationList/NotificationItem.js +0 -151
  29. package/dist/NotificationList/index.js +0 -46
  30. package/dist/NotificationList/typings.js +0 -1
  31. package/dist/Notifications/NotificationBell.js +0 -72
  32. package/dist/Notifications/NotificationsContents.js +0 -85
  33. package/dist/Notifications/NotificationsDropdown.js +0 -25
  34. package/dist/Notifications/__fixtures__/NotificationTestComponent.js +0 -12
  35. package/dist/Notifications/__fixtures__/stubs.js +0 -8
  36. package/dist/Notifications/constants.js +0 -4
  37. package/dist/Notifications/elements.js +0 -21
  38. package/dist/Notifications/types.js +0 -1
  39. package/dist/Notifications/useHeaderNotifications.js +0 -37
  40. package/dist/Notifications/useNotificationButtons.js +0 -56
  41. package/dist/PageAlerts/PageAlerts.js +0 -75
  42. package/dist/PageAlerts/PageAlertsProvider.js +0 -34
  43. package/dist/PageAlerts/index.js +0 -3
  44. package/dist/PageAlerts/types.js +0 -1
  45. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.js +0 -53
  46. package/dist/PageLayoutWithSidebarMenu/index.js +0 -1
  47. package/dist/PageSection/index.js +0 -67
  48. package/dist/PastDue/PastDueModalContents/index.js +0 -30
  49. package/dist/PastDue/index.js +0 -2
  50. package/dist/PastDue/pastDueMessages.js +0 -48
  51. package/dist/PausableImage/BaseImage/index.js +0 -54
  52. package/dist/PausableImage/index.js +0 -37
  53. package/dist/PlanCard/PlanCardBanner.js +0 -28
  54. package/dist/PlanCard/PlanFeature.js +0 -83
  55. package/dist/PlanCard/PopularBadge.js +0 -13
  56. package/dist/PlanCard/PricingAmount.js +0 -117
  57. package/dist/PlanCard/RecommendedBadge.js +0 -24
  58. package/dist/PlanCard/consts.js +0 -135
  59. package/dist/PlanCard/index.js +0 -323
  60. package/dist/PlanCard/types.js +0 -62
  61. package/dist/PlanCardTeams/consts.js +0 -8
  62. package/dist/PlanCardTeams/index.js +0 -167
  63. package/dist/PricingSection/PlanFeature.js +0 -88
  64. package/dist/PricingSection/PricingCard/PricingAmount.js +0 -84
  65. package/dist/PricingSection/PricingCard/RecommendedBadge.js +0 -24
  66. package/dist/PricingSection/PricingCard/consts.js +0 -85
  67. package/dist/PricingSection/PricingCard/index.js +0 -241
  68. package/dist/PricingSection/ProductCTA.js +0 -44
  69. package/dist/PricingSection/Products.js +0 -74
  70. package/dist/PricingSection/config.js +0 -36
  71. package/dist/PricingSection/index.js +0 -58
  72. package/dist/PricingSection/types.js +0 -8
  73. package/dist/ProLabel/index.js +0 -59
  74. package/dist/ProLogo/index.js +0 -27
  75. package/dist/ProLogoAlt/index.js +0 -26
  76. package/dist/ProductFeatureShowcase/index.js +0 -120
  77. package/dist/QuizScore/index.js +0 -84
  78. package/dist/RatingsBar/index.js +0 -32
  79. package/dist/ResourceCard/index.js +0 -59
  80. package/dist/ScoreSummary/SubScores.js +0 -165
  81. package/dist/ScoreSummary/helpers.js +0 -20
  82. package/dist/ScoreSummary/index.js +0 -108
  83. package/dist/ScoreSummary/types.js +0 -1
  84. package/dist/SkillPathCard/index.js +0 -38
  85. package/dist/SocialMediaSharing/SocialShareIconLink.js +0 -49
  86. package/dist/SocialMediaSharing/index.js +0 -116
  87. package/dist/SocialMediaSharingDropdown/index.js +0 -111
  88. package/dist/Testimonial/index.js +0 -163
  89. package/dist/index.js +0 -87
  90. package/dist/lib/breakpointHooks/index.js +0 -60
  91. package/dist/lib/catalogList/index.js +0 -173
  92. package/dist/lib/resourcesList/index.js +0 -232
  93. package/dist/remoteAssets/components.js +0 -1
  94. package/dist/stories/Atoms/Avatar.stories.js +0 -16
  95. package/dist/stories/Atoms/BetaSticker.stories.js +0 -22
  96. package/dist/stories/Atoms/Logos/Logo.stories.js +0 -78
  97. package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.js +0 -15
  98. package/dist/stories/Atoms/Logos/LogoLXStudio.stories.js +0 -11
  99. package/dist/stories/Atoms/Logos/ProLabel.stories.js +0 -16
  100. package/dist/stories/Atoms/Logos/ProLogoAlt.stories.js +0 -24
  101. package/dist/stories/Atoms/RatingsBar.stories.js +0 -16
  102. package/dist/stories/Atoms/Subgrid.stories.js +0 -87
  103. package/dist/stories/Molecules/AppBar.stories.js +0 -32
  104. package/dist/stories/Molecules/AppHeader/AppHeader.stories.js +0 -84
  105. package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.js +0 -67
  106. package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.js +0 -52
  107. package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.js +0 -44
  108. package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.js +0 -34
  109. package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.js +0 -40
  110. package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.js +0 -25
  111. package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.js +0 -176
  112. package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.js +0 -84
  113. package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.js +0 -90
  114. package/dist/stories/Molecules/AvatarChooser.stories.js +0 -22
  115. package/dist/stories/Molecules/BackToTopAnchor.stories.js +0 -51
  116. package/dist/stories/Molecules/Banner.stories.js +0 -115
  117. package/dist/stories/Molecules/Carousel.stories.js +0 -47
  118. package/dist/stories/Molecules/ContentGroupBaseCard.stories.js +0 -173
  119. package/dist/stories/Molecules/CurriculumCard.stories.js +0 -208
  120. package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.js +0 -92
  121. package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.js +0 -65
  122. package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.js +0 -83
  123. package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.js +0 -20
  124. package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.js +0 -90
  125. package/dist/stories/Molecules/DropdownButton.stories.js +0 -207
  126. package/dist/stories/Molecules/EditorialImage.stories.js +0 -17
  127. package/dist/stories/Molecules/EmptySection.stories.js +0 -168
  128. package/dist/stories/Molecules/ErrorContents.stories.js +0 -19
  129. package/dist/stories/Molecules/GridCollapse.stories.js +0 -42
  130. package/dist/stories/Molecules/HorizontalScrollMenu.examples.js +0 -67
  131. package/dist/stories/Molecules/HorizontalScrollMenu.stories.js +0 -11
  132. package/dist/stories/Molecules/HubCard.stories.js +0 -28
  133. package/dist/stories/Molecules/InfoCard.stories.js +0 -30
  134. package/dist/stories/Molecules/LearningOutcomeAssessmentScores.stories.js +0 -23
  135. package/dist/stories/Molecules/LearningOutcomeCard.stories.js +0 -75
  136. package/dist/stories/Molecules/LearningOutcomeFlyout.stories.js +0 -34
  137. package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.js +0 -20
  138. package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.js +0 -10
  139. package/dist/stories/Molecules/LearningOutcomePopover.stories.js +0 -39
  140. package/dist/stories/Molecules/LearningOutcomeTile.stories.js +0 -276
  141. package/dist/stories/Molecules/ListSection.stories.js +0 -97
  142. package/dist/stories/Molecules/Loading.stories.js +0 -10
  143. package/dist/stories/Molecules/NotificationList.stories.js +0 -100
  144. package/dist/stories/Molecules/PageSection.stories.js +0 -67
  145. package/dist/stories/Molecules/PastDueModalContents.stories.js +0 -62
  146. package/dist/stories/Molecules/PausableImage.stories.js +0 -16
  147. package/dist/stories/Molecules/ResourceCard.stories.js +0 -18
  148. package/dist/stories/Molecules/SocialMediaSharing.stories.js +0 -20
  149. package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.js +0 -20
  150. package/dist/stories/Molecules/Testimonial.stories.js +0 -63
  151. package/dist/stories/Organisms/GlobalFooter.stories.js +0 -29
  152. package/dist/stories/Organisms/GlobalHeader/About.stories.js +0 -136
  153. package/dist/stories/Organisms/GlobalHeader/Anon.stories.js +0 -73
  154. package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.js +0 -32
  155. package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.js +0 -108
  156. package/dist/stories/Organisms/GlobalHeader/Free.stories.js +0 -133
  157. package/dist/stories/Organisms/GlobalHeader/Pro.stories.js +0 -199
  158. package/dist/stories/Organisms/GlobalHeader/Simple.stories.js +0 -31
  159. package/dist/stories/Organisms/GlobalPage.stories.js +0 -142
  160. package/dist/stories/Organisms/LayoutMenu.stories.js +0 -242
  161. package/dist/stories/Organisms/LayoutMenuVariant.stories.js +0 -224
  162. package/dist/stories/Organisms/PageAlerts.example.js +0 -42
  163. package/dist/stories/Organisms/PageAlerts.stories.js +0 -15
  164. package/dist/stories/Organisms/PageFeatures.stories.js +0 -183
  165. package/dist/stories/Organisms/PageHero.stories.js +0 -145
  166. package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.js +0 -34
  167. package/dist/stories/Organisms/PagePrefooter.stories.js +0 -62
  168. package/dist/stories/Organisms/PageSingleFeature.stories.js +0 -158
  169. package/dist/stories/Organisms/PageVideoGallery.stories.js +0 -70
  170. package/dist/stories/Organisms/PlanCard.stories.js +0 -98
  171. package/dist/stories/Organisms/PlanCardTeams.stories.js +0 -27
  172. package/dist/stories/Organisms/ScoreSummary.stories.js +0 -299
@@ -1,299 +0,0 @@
1
- import { ScoreSummary } from '../../index';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- const meta = {
4
- component: ScoreSummary,
5
- args: {
6
- subScores: {
7
- 'id-1': {
8
- correct: 2,
9
- slug: 'command-line',
10
- title: 'Command Line',
11
- total: 8
12
- }
13
- },
14
- totalCorrect: 2,
15
- totalQuestions: 8,
16
- pathSlug: 'back-end-engineer-career-path',
17
- trackSlug: 'becp-22-setting-up-a-dev-environment',
18
- trackingData: {
19
- context: 'feedback_page',
20
- page_name: 'cumulative_assessment',
21
- path_id: 'path-id',
22
- target: 'review_concepts',
23
- track_id: 'track-id'
24
- },
25
- untestedSubContent: [{
26
- id: 'id-2',
27
- slug: 'becp-22-text-editors',
28
- title: 'Text Editors'
29
- }],
30
- trackUserClick: () => {},
31
- percentToPass: 70
32
- }
33
- };
34
- export default meta;
35
- export const Default = {
36
- render: args => /*#__PURE__*/_jsx(ScoreSummary, {
37
- ...args
38
- }),
39
- name: 'Score Summary'
40
- };
41
- export const RowLayout = {
42
- render: args => /*#__PURE__*/_jsx(ScoreSummary, {
43
- ...args,
44
- subScores: {
45
- 'id-1': {
46
- correct: 5,
47
- slug: 'becp-22-learn-html-elements-and-structure',
48
- title: 'Learn HTML: Elements and Structure',
49
- total: 24
50
- },
51
- 'id-2': {
52
- correct: 4,
53
- slug: 'wdcp-22-learn-css-selectors-and-visual-roles',
54
- title: 'Learn CSS: Selectors and Visual Rules',
55
- total: 20
56
- },
57
- 'id-3': {
58
- correct: 2,
59
- slug: 'wdcp-22-learn-javascript-syntax-objects',
60
- title: 'Learn JavaScript Syntax: Objects',
61
- total: 17
62
- },
63
- 'id-4': {
64
- correct: 2,
65
- slug: 'wdcp-22-learn-javascript-syntax-arrays',
66
- title: 'Learn JavaScript Syntax: Arrays',
67
- total: 5
68
- }
69
- },
70
- totalCorrect: 9,
71
- totalQuestions: 44,
72
- trackSlug: "becp-22-website-development-fundamentals",
73
- untestedSubContent: [{
74
- id: 'id-5',
75
- slug: 'wdcp-22-the-internet-and-web-development',
76
- title: 'The Internet and Web Development'
77
- }, {
78
- id: 'id-6',
79
- slug: 'becp-22-going-off-platform-with-html-and-css',
80
- title: 'Going off-platform with HTML and CSS'
81
- }]
82
- }),
83
- name: 'Row Layout'
84
- };
85
- export const ColumnLayout = {
86
- render: args => /*#__PURE__*/_jsx(ScoreSummary, {
87
- ...args,
88
- layout: "column",
89
- subScores: {
90
- 'id-1': {
91
- correct: 2,
92
- slug: 'wdcp-22-learn-javascript-syntax-objects',
93
- title: 'Learn JavaScript Syntax: Objects',
94
- total: 17
95
- },
96
- 'id-2': {
97
- correct: 2,
98
- slug: 'wdcp-22-learn-javascript-syntax-arrays',
99
- title: 'Learn JavaScript Syntax: Arrays',
100
- total: 5
101
- },
102
- 'id-3': {
103
- correct: 1,
104
- slug: 'wdcp-22-learn-javascript-syntax-iterators',
105
- title: 'Learn JavaScript Syntax: Iterators',
106
- total: 7
107
- },
108
- 'id-4': {
109
- correct: 1,
110
- slug: 'wdcp-22-learn-javascript-syntax-errors-and-debugging',
111
- title: 'Learn JavaScript Syntax: Errors and Debugging',
112
- total: 6
113
- },
114
- 'id-5': {
115
- correct: 0,
116
- slug: 'wdcp-22-learn-javascript-syntax-loops',
117
- title: 'Learn JavaScript Syntax: Loops',
118
- total: 7
119
- }
120
- },
121
- totalCorrect: 5,
122
- totalQuestions: 42,
123
- trackSlug: "becp-22-javascript-syntax-part-ii",
124
- untestedSubContent: [{
125
- id: 'id-6',
126
- slug: 'wdcp-22-practice-javascript-syntax-arrays-loops-objects-iterators',
127
- title: 'Practice JavaScript Syntax: Arrays, Loops, Objects, Iterators'
128
- }]
129
- }),
130
- name: 'Column Layout'
131
- };
132
- export const RowLayoutNoMaxWidth = {
133
- render: args => /*#__PURE__*/_jsx(ScoreSummary, {
134
- ...args,
135
- noMaxWidth: true,
136
- subScores: {
137
- 'id-2': {
138
- correct: 5,
139
- slug: 'becp-22-learn-html-elements-and-structure',
140
- title: 'Learn HTML: Elements and Structure',
141
- total: 24
142
- },
143
- 'id-3': {
144
- correct: 4,
145
- slug: 'wdcp-22-learn-css-selectors-and-visual-roles',
146
- title: 'Learn CSS: Selectors and Visual Rules',
147
- total: 20
148
- }
149
- },
150
- totalCorrect: 9,
151
- totalQuestions: 44,
152
- trackSlug: "",
153
- untestedSubContent: [{
154
- id: 'id-5',
155
- slug: 'wdcp-22-the-internet-and-web-development',
156
- title: 'The Internet and Web Development'
157
- }, {
158
- id: 'id-6',
159
- slug: 'becp-22-going-off-platform-with-html-and-css',
160
- title: 'Going off-platform with HTML and CSS'
161
- }]
162
- }),
163
- name: 'Row Layout noMaxWidth'
164
- };
165
- export const Description = {
166
- render: args => /*#__PURE__*/_jsx(ScoreSummary, {
167
- ...args,
168
- description: "Try again! You can take the test again in 24 hours.",
169
- subScores: {
170
- 'id-2': {
171
- correct: 5,
172
- slug: 'becp-22-learn-html-elements-and-structure',
173
- title: 'Learn HTML: Elements and Structure',
174
- total: 24
175
- },
176
- 'id-3': {
177
- correct: 4,
178
- slug: 'wdcp-22-learn-css-selectors-and-visual-roles',
179
- title: 'Learn CSS: Selectors and Visual Rules',
180
- total: 20
181
- },
182
- 'id-1': {
183
- correct: 1,
184
- slug: 'wdcp-22-learn-javascript-syntax-iterators',
185
- title: 'Learn JavaScript Syntax: Iterators',
186
- total: 7
187
- },
188
- 'id-4': {
189
- correct: 1,
190
- slug: 'wdcp-22-learn-javascript-syntax-errors-and-debugging',
191
- title: 'Learn JavaScript Syntax: Errors and Debugging',
192
- total: 6
193
- },
194
- 'id-5': {
195
- correct: 0,
196
- slug: 'wdcp-22-learn-javascript-syntax-loops',
197
- title: 'Learn JavaScript Syntax: Loops',
198
- total: 7
199
- }
200
- },
201
- totalCorrect: 9,
202
- totalQuestions: 44,
203
- trackSlug: "becp-22-website-development-fundamentals",
204
- untestedSubContent: [{
205
- id: 'id-5',
206
- slug: 'wdcp-22-the-internet-and-web-development',
207
- title: 'The Internet and Web Development'
208
- }, {
209
- id: 'id-6',
210
- slug: 'becp-22-going-off-platform-with-html-and-css',
211
- title: 'Going off-platform with HTML and CSS'
212
- }, {
213
- id: 'id-6',
214
- slug: 'wdcp-22-practice-javascript-syntax-arrays-loops-objects-iterators',
215
- title: 'Practice JavaScript Syntax: Arrays, Loops, Objects, Iterators'
216
- }]
217
- }),
218
- name: 'Description'
219
- };
220
- export const DescriptionInColumnLayout = {
221
- render: args => /*#__PURE__*/_jsx(ScoreSummary, {
222
- ...args,
223
- layout: "column",
224
- description: "A minimum score of 70% is required on all 6 certification exams to earn a professional certification",
225
- subScores: {
226
- 'id-1': {
227
- correct: 2,
228
- slug: 'wdcp-22-learn-javascript-syntax-objects',
229
- title: 'Learn JavaScript Syntax: Objects',
230
- total: 17
231
- },
232
- 'id-2': {
233
- correct: 2,
234
- slug: 'wdcp-22-learn-javascript-syntax-arrays',
235
- title: 'Learn JavaScript Syntax: Arrays',
236
- total: 5
237
- },
238
- 'id-3': {
239
- correct: 1,
240
- slug: 'wdcp-22-learn-javascript-syntax-iterators',
241
- title: 'Learn JavaScript Syntax: Iterators',
242
- total: 7
243
- },
244
- 'id-4': {
245
- correct: 1,
246
- slug: 'wdcp-22-learn-javascript-syntax-errors-and-debugging',
247
- title: 'Learn JavaScript Syntax: Errors and Debugging',
248
- total: 6
249
- },
250
- 'id-5': {
251
- correct: 0,
252
- slug: 'wdcp-22-learn-javascript-syntax-loops',
253
- title: 'Learn JavaScript Syntax: Loops',
254
- total: 7
255
- }
256
- },
257
- totalCorrect: 5,
258
- totalQuestions: 42,
259
- trackSlug: "becp-22-javascript-syntax-part-ii",
260
- untestedSubContent: [{
261
- id: 'id-6',
262
- slug: 'wdcp-22-practice-javascript-syntax-arrays-loops-objects-iterators',
263
- title: 'Practice JavaScript Syntax: Arrays, Loops, Objects, Iterators'
264
- }]
265
- }),
266
- name: 'Description in Column Layout'
267
- };
268
- export const ColorfulIcons = {
269
- render: args => /*#__PURE__*/_jsx(ScoreSummary, {
270
- ...args,
271
- colorfulIcons: true,
272
- totalCorrect: 18,
273
- totalQuestions: 26,
274
- layout: "column",
275
- subScores: {
276
- 'id-2': {
277
- correct: 5,
278
- slug: 'becp-22-learn-html-elements-and-structure',
279
- title: 'Learn HTML: Elements and Structure',
280
- total: 10
281
- },
282
- 'id-3': {
283
- correct: 5,
284
- slug: 'wdcp-22-learn-css-selectors-and-visual-roles',
285
- title: 'Learn CSS: Selectors and Visual Rules',
286
- total: 6
287
- },
288
- 'id-1': {
289
- correct: 8,
290
- slug: 'wdcp-22-learn-javascript-syntax-objects',
291
- title: 'Learn JavaScript Syntax: Objects',
292
- total: 10
293
- }
294
- },
295
- trackSlug: undefined,
296
- untestedSubContent: []
297
- }),
298
- name: 'Colorful Icons'
299
- };