@codecademy/brand 3.28.0 → 3.29.0-alpha.4ef0da6b35.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 (30) hide show
  1. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.js +0 -0
  2. package/dist/DropdownButton/index.d.ts +1 -3
  3. package/dist/stories/Atoms/BetaSticker.stories.js +0 -1
  4. package/dist/stories/Molecules/AppBar.stories.d.ts +0 -1
  5. package/dist/stories/Molecules/AppBar.stories.js +1 -2
  6. package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.js +0 -2
  7. package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.js +1 -2
  8. package/dist/stories/Molecules/Banner.stories.js +0 -3
  9. package/dist/stories/Molecules/CurriculumCard.stories.js +0 -7
  10. package/dist/stories/Molecules/EmptySection.stories.js +1 -2
  11. package/dist/stories/Molecules/EnhancedBanner.stories.js +1 -1
  12. package/dist/stories/Molecules/HubCard.stories.js +0 -1
  13. package/dist/stories/Molecules/NotificationList.stories.js +1 -2
  14. package/dist/stories/Molecules/Testimonial.stories.js +4 -8
  15. package/dist/stories/Organisms/GlobalFooter.stories.js +1 -2
  16. package/dist/stories/Organisms/GlobalHeader/About.stories.js +1 -2
  17. package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.js +1 -2
  18. package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.js +1 -2
  19. package/dist/stories/Organisms/GlobalHeader/Simple.stories.js +1 -2
  20. package/dist/stories/Organisms/GlobalPage.stories.js +0 -2
  21. package/dist/stories/Organisms/LayoutMenu.stories.js +3 -6
  22. package/dist/stories/Organisms/LayoutMenuVariant.stories.js +2 -4
  23. package/dist/stories/Organisms/PageFeatures.stories.js +1 -9
  24. package/dist/stories/Organisms/PageHero.stories.js +10 -20
  25. package/dist/stories/Organisms/PagePrefooter.stories.js +4 -8
  26. package/dist/stories/Organisms/PageSingleFeature.stories.js +10 -20
  27. package/dist/stories/Organisms/PageVideoGallery.stories.js +5 -10
  28. package/dist/stories/Organisms/ScoreSummary.stories.js +4 -8
  29. package/dist/svg.d.ts +0 -1
  30. package/package.json +2 -1
@@ -42,9 +42,7 @@ export declare const DropdownButton: React.ForwardRefExoticComponent<(Omit<{
42
42
  verticalOffset?: number;
43
43
  } & import("@codecademy/gamut/dist/Button/shared").ButtonBaseProps & Omit<{
44
44
  theme?: import("@emotion/react").Theme | undefined;
45
- as?: import("react" /**
46
- * Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
47
- */).ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
45
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
48
46
  } & {
49
47
  theme?: import("@emotion/react").Theme | undefined;
50
48
  } & Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "content" | "translate" | "property" | "hidden" | "form" | "slot" | "style" | "title" | "suppressHydrationWarning" | "className" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof React.ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value">, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
@@ -15,7 +15,6 @@ export const Small = {
15
15
  render: args => /*#__PURE__*/_jsx(BetaSticker, {
16
16
  ...args
17
17
  }),
18
- name: 'Small',
19
18
  args: {
20
19
  size: 'small'
21
20
  }
@@ -11,5 +11,4 @@ export declare const Default: {
11
11
  };
12
12
  export declare const Header: {
13
13
  render: () => import("react/jsx-runtime").JSX.Element;
14
- name: string;
15
14
  };
@@ -27,6 +27,5 @@ export const Header = {
27
27
  position: "right",
28
28
  children: "Sign In"
29
29
  })]
30
- }),
31
- name: 'Header'
30
+ })
32
31
  };
@@ -23,7 +23,6 @@ export const CurrentTab = {
23
23
  render: args => /*#__PURE__*/_jsx(AppHeaderLink, {
24
24
  ...args
25
25
  }),
26
- name: 'Current Tab',
27
26
  args: {
28
27
  item: {
29
28
  id: 'link-current-tab',
@@ -38,7 +37,6 @@ export const NewTab = {
38
37
  render: args => /*#__PURE__*/_jsx(AppHeaderLink, {
39
38
  ...args
40
39
  }),
41
- name: 'New Tab',
42
40
  args: {
43
41
  item: {
44
42
  id: 'link-new-tab',
@@ -23,8 +23,7 @@ export const Default = {
23
23
  export const Pro = {
24
24
  render: args => /*#__PURE__*/_jsx(AppHeaderLogo, {
25
25
  ...args
26
- }),
27
- name: 'Pro'
26
+ })
28
27
  };
29
28
  export const FreeAnon = {
30
29
  render: args => /*#__PURE__*/_jsx(AppHeaderLogo, {
@@ -18,7 +18,6 @@ export const Navy = {
18
18
  render: args => /*#__PURE__*/_jsx(Banner, {
19
19
  ...args
20
20
  }),
21
- name: 'Navy',
22
21
  args: {
23
22
  children: 'Navy',
24
23
  variant: 'navy'
@@ -28,7 +27,6 @@ export const Yellow = {
28
27
  render: args => /*#__PURE__*/_jsx(Banner, {
29
28
  ...args
30
29
  }),
31
- name: 'Yellow',
32
30
  args: {
33
31
  children: 'Yellow',
34
32
  variant: 'yellow'
@@ -38,7 +36,6 @@ export const Subtle = {
38
36
  render: args => /*#__PURE__*/_jsx(Banner, {
39
37
  ...args
40
38
  }),
41
- name: 'Subtle',
42
39
  args: {
43
40
  children: 'Subtle',
44
41
  variant: 'subtle'
@@ -43,7 +43,6 @@ export const CurriculumCardEnrolled = {
43
43
  render: args => /*#__PURE__*/_jsx(CurriculumCard, {
44
44
  ...args
45
45
  }),
46
- name: 'Curriculum Card Enrolled',
47
46
  args: {
48
47
  progressState: 'inProgress'
49
48
  }
@@ -52,7 +51,6 @@ export const CurriculumCardInProgress = {
52
51
  render: args => /*#__PURE__*/_jsx(CurriculumCard, {
53
52
  ...args
54
53
  }),
55
- name: 'Curriculum Card In Progress',
56
54
  args: {
57
55
  progressState: 'inProgress',
58
56
  footerTextVariant: 'inProgress'
@@ -62,7 +60,6 @@ export const CurriculumCardCompleted = {
62
60
  render: args => /*#__PURE__*/_jsx(CurriculumCard, {
63
61
  ...args
64
62
  }),
65
- name: 'Curriculum Card Completed',
66
63
  args: {
67
64
  progressState: 'completed'
68
65
  }
@@ -71,7 +68,6 @@ export const CurriculumCardBeta = {
71
68
  render: args => /*#__PURE__*/_jsx(CurriculumCard, {
72
69
  ...args
73
70
  }),
74
- name: 'Curriculum Card Beta',
75
71
  args: {
76
72
  beta: true
77
73
  }
@@ -80,7 +76,6 @@ export const CurriculumCardAlternativeSubtitle = {
80
76
  render: args => /*#__PURE__*/_jsx(CurriculumCard, {
81
77
  ...args
82
78
  }),
83
- name: 'Curriculum Card Alternative Subtitle',
84
79
  args: {
85
80
  showAltSubtitle: true,
86
81
  scope: {
@@ -129,7 +124,6 @@ export const CareerPathVariant = {
129
124
  })
130
125
  })]
131
126
  }),
132
- name: 'Career Path Variant',
133
127
  args: {
134
128
  text: 'Career Path',
135
129
  title: 'Front-End Engineer',
@@ -156,7 +150,6 @@ export const HorizontalCurriculumCard = {
156
150
  })
157
151
  })
158
152
  }),
159
- name: 'Horizontal Curriculum Card',
160
153
  args: {
161
154
  text: 'Career Path',
162
155
  title: 'Front-End Engineer',
@@ -163,6 +163,5 @@ export const Playground = {
163
163
  children: /*#__PURE__*/_jsx(FillButton, {
164
164
  children: "Do Something"
165
165
  })
166
- }),
167
- name: 'Playground'
166
+ })
168
167
  };
@@ -1,4 +1,4 @@
1
- import { action } from '@storybook/addon-actions';
1
+ import { action } from 'storybook/actions';
2
2
  import { EnhancedBanner } from '../../Banner/EnhancedBanner';
3
3
  const meta = {
4
4
  title: 'Molecules/Enhanced Banner',
@@ -20,7 +20,6 @@ export const BackgroundRight = {
20
20
  render: args => /*#__PURE__*/_jsx(HubCard, {
21
21
  ...args
22
22
  }),
23
- name: 'Background Right',
24
23
  args: {
25
24
  backgroundImage: 'https://static-assets.codecademy.com/assets/components/cards/explore-category-card/subject/data-science.svg',
26
25
  backgroundPosition: 'right'
@@ -1,4 +1,4 @@
1
- import { action } from '@storybook/addon-actions';
1
+ import { action } from 'storybook/actions';
2
2
  import { NotificationList } from '../../index';
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  const notifications = [{
@@ -93,7 +93,6 @@ export const Empty = {
93
93
  render: args => /*#__PURE__*/_jsx(NotificationList, {
94
94
  ...args
95
95
  }),
96
- name: 'Empty',
97
96
  args: {
98
97
  notifications: []
99
98
  }
@@ -28,8 +28,7 @@ export const Default = {
28
28
  export const LightMode = {
29
29
  render: args => /*#__PURE__*/_jsx(Testimonial, {
30
30
  ...args
31
- }),
32
- name: 'Light Mode'
31
+ })
33
32
  };
34
33
  export const DarkMode = {
35
34
  render: args => /*#__PURE__*/_jsx(Background, {
@@ -43,21 +42,18 @@ export const DarkMode = {
43
42
  ...args
44
43
  })
45
44
  })
46
- }),
47
- name: 'Dark Mode'
45
+ })
48
46
  };
49
47
  export const SmallLight = {
50
48
  render: args => /*#__PURE__*/_jsx(Testimonial, {
51
49
  orientation: "vertical",
52
50
  ...args
53
- }),
54
- name: 'Small Light'
51
+ })
55
52
  };
56
53
  export const MediumDark = {
57
54
  render: args => /*#__PURE__*/_jsx(Testimonial, {
58
55
  ...args,
59
56
  orientation: "horizontal",
60
57
  hidePhoto: true
61
- }),
62
- name: 'Medium Dark'
58
+ })
63
59
  };
@@ -17,8 +17,7 @@ export const HidePricing = {
17
17
  render: args => /*#__PURE__*/_jsx(GlobalFooter, {
18
18
  hidePricing: true,
19
19
  ...args
20
- }),
21
- name: 'Hide Pricing'
20
+ })
22
21
  };
23
22
  export const ClickableMadeIn = {
24
23
  render: args => /*#__PURE__*/_jsx(GlobalFooter, {
@@ -131,6 +131,5 @@ export const Loading = {
131
131
  onSearchAsYouType: () => {}
132
132
  },
133
133
  type: "loading"
134
- }),
135
- name: 'Loading'
134
+ })
136
135
  };
@@ -27,6 +27,5 @@ export const Bootcamp = {
27
27
  },
28
28
  type: "bootcamp",
29
29
  bootcampSlug: "bootcamp-slug"
30
- }),
31
- name: 'Bootcamp'
30
+ })
32
31
  };
@@ -31,8 +31,7 @@ export const Enterprise = {
31
31
  displayName: 'Kallie',
32
32
  isAccountManager: true
33
33
  }
34
- }),
35
- name: 'Enterprise'
34
+ })
36
35
  };
37
36
  export const BusinessAccountManagerPro = {
38
37
  render: () => /*#__PURE__*/_jsx(GlobalHeader, {
@@ -26,6 +26,5 @@ export const Simple = {
26
26
  onSearchAsYouType: () => {}
27
27
  },
28
28
  type: "simple"
29
- }),
30
- name: 'Simple'
29
+ })
31
30
  };
@@ -78,7 +78,6 @@ export const Banner = {
78
78
  })
79
79
  })
80
80
  }),
81
- name: 'Banner',
82
81
  args: {
83
82
  ...defaultArgs,
84
83
  banner: {
@@ -104,7 +103,6 @@ export const Modal = {
104
103
  })
105
104
  })
106
105
  }),
107
- name: 'Modal',
108
106
  args: {
109
107
  ...defaultArgs,
110
108
  modal: {
@@ -55,8 +55,7 @@ export const WithSelectedItem = {
55
55
  render: args => /*#__PURE__*/_jsx(LayoutMenu, {
56
56
  ...args,
57
57
  selectedItem: "python"
58
- }),
59
- name: 'With Selected Item'
58
+ })
60
59
  };
61
60
  export const WithAdditionalLinks = {
62
61
  render: args => /*#__PURE__*/_jsxs(LayoutMenu, {
@@ -74,8 +73,7 @@ export const WithAdditionalLinks = {
74
73
  children: "Where do I begin?"
75
74
  })
76
75
  })]
77
- }),
78
- name: 'With Additional Links'
76
+ })
79
77
  };
80
78
  export const WithAdditionalLinksOnTopAndBottom = {
81
79
  render: args => /*#__PURE__*/_jsx(LayoutMenu, {
@@ -237,6 +235,5 @@ export const WithSetMenuHeight = {
237
235
  children: "Where do I begin?"
238
236
  })
239
237
  })]
240
- }),
241
- name: 'With Set Menu Height'
238
+ })
242
239
  };
@@ -62,8 +62,7 @@ export const WithAdditionalLinks = {
62
62
  children: "Where do I begin?"
63
63
  })
64
64
  })
65
- }),
66
- name: 'With Additional Links'
65
+ })
67
66
  };
68
67
  export const WithAdditionalLinksOnTopAndBottom = {
69
68
  render: args => /*#__PURE__*/_jsx(LayoutMenuVariant.LayoutMenu, {
@@ -219,6 +218,5 @@ export const WithSetMenuHeight = {
219
218
  children: "Where do I begin?"
220
219
  })
221
220
  })
222
- }),
223
- name: 'With Set Menu Height'
221
+ })
224
222
  };
@@ -48,14 +48,12 @@ export default meta;
48
48
  export const FeaturedInfo = {
49
49
  render: args => /*#__PURE__*/_jsx(PageFeatures, {
50
50
  ...args
51
- }),
52
- name: 'Featured Info'
51
+ })
53
52
  };
54
53
  export const FeaturedImages = {
55
54
  render: args => /*#__PURE__*/_jsx(PageFeatures, {
56
55
  ...args
57
56
  }),
58
- name: 'Featured Images',
59
57
  args: {
60
58
  featuresMedia: 'image'
61
59
  }
@@ -64,7 +62,6 @@ export const FeaturedIcons = {
64
62
  render: args => /*#__PURE__*/_jsx(PageFeatures, {
65
63
  ...args
66
64
  }),
67
- name: 'Featured Icons',
68
65
  args: {
69
66
  featuresMedia: 'icon'
70
67
  }
@@ -73,7 +70,6 @@ export const FeaturedStats = {
73
70
  render: args => /*#__PURE__*/_jsx(PageFeatures, {
74
71
  ...args
75
72
  }),
76
- name: 'Featured Stats',
77
73
  args: {
78
74
  featuresMedia: 'stat',
79
75
  features: [{
@@ -95,7 +91,6 @@ export const FeaturesGrid = {
95
91
  render: args => /*#__PURE__*/_jsx(PageFeatures, {
96
92
  ...args
97
93
  }),
98
- name: 'Features Grid',
99
94
  args: {
100
95
  maxCols: 3,
101
96
  featuresMedia: 'icon'
@@ -105,7 +100,6 @@ export const WithoutDescription = {
105
100
  render: args => /*#__PURE__*/_jsx(PageFeatures, {
106
101
  ...args
107
102
  }),
108
- name: 'Without Description',
109
103
  args: {
110
104
  featuresMedia: 'icon',
111
105
  desc: undefined,
@@ -129,7 +123,6 @@ export const RegularButton = {
129
123
  buttonType: 'fill'
130
124
  }
131
125
  }),
132
- name: 'Regular Button',
133
126
  args: {
134
127
  featuresMedia: 'image'
135
128
  }
@@ -142,7 +135,6 @@ export const DarkMode = {
142
135
  ...args
143
136
  })
144
137
  }),
145
- name: 'Dark Mode',
146
138
  args: {
147
139
  featuresMedia: 'icon'
148
140
  }
@@ -46,15 +46,13 @@ export const Video = {
46
46
  autoplay: true
47
47
  },
48
48
  title: "What's it like to be a Software Engineer"
49
- }),
50
- name: 'Video'
49
+ })
51
50
  };
52
51
  export const ShortText = {
53
52
  render: args => /*#__PURE__*/_jsx(PageHero, {
54
53
  ...args,
55
54
  textLength: "short"
56
- }),
57
- name: 'Short Text'
55
+ })
58
56
  };
59
57
  export const RegularButton = {
60
58
  render: args => /*#__PURE__*/_jsx(PageHero, {
@@ -63,22 +61,19 @@ export const RegularButton = {
63
61
  ...ctaArgs,
64
62
  buttonType: 'fill'
65
63
  }
66
- }),
67
- name: 'Regular Button'
64
+ })
68
65
  };
69
66
  export const WithoutButton = {
70
67
  render: args => /*#__PURE__*/_jsx(PageHero, {
71
68
  ...args,
72
69
  cta: undefined
73
- }),
74
- name: 'Without Button'
70
+ })
75
71
  };
76
72
  export const WithoutDescription = {
77
73
  render: args => /*#__PURE__*/_jsx(PageHero, {
78
74
  ...args,
79
75
  desc: undefined
80
- }),
81
- name: 'Without Description'
76
+ })
82
77
  };
83
78
  export const Eyebrow = {
84
79
  render: args => /*#__PURE__*/_jsx(PageHero, {
@@ -87,8 +82,7 @@ export const Eyebrow = {
87
82
  text: 'Hello there'
88
83
  },
89
84
  textLength: "short"
90
- }),
91
- name: 'Eyebrow'
85
+ })
92
86
  };
93
87
  export const AccentEyebrow = {
94
88
  render: args => /*#__PURE__*/_jsx(PageHero, {
@@ -98,23 +92,20 @@ export const AccentEyebrow = {
98
92
  accent: true
99
93
  },
100
94
  textLength: "short"
101
- }),
102
- name: 'Accent Eyebrow'
95
+ })
103
96
  };
104
97
  export const ShowImageOnMobile = {
105
98
  render: args => /*#__PURE__*/_jsx(PageHero, {
106
99
  ...args,
107
100
  showImageOnMobile: true,
108
101
  textLength: "short"
109
- }),
110
- name: 'Show Image On Mobile'
102
+ })
111
103
  };
112
104
  export const WithoutMedia = {
113
105
  render: args => /*#__PURE__*/_jsx(PageHero, {
114
106
  ...args,
115
107
  media: undefined
116
- }),
117
- name: 'Without Media'
108
+ })
118
109
  };
119
110
  export const DarkMode = {
120
111
  render: args => /*#__PURE__*/_jsx(Background, {
@@ -126,8 +117,7 @@ export const DarkMode = {
126
117
  text: 'Hello there'
127
118
  }
128
119
  })
129
- }),
130
- name: 'Dark Mode'
120
+ })
131
121
  };
132
122
  export const PausableImage = {
133
123
  render: args => /*#__PURE__*/_jsx(PageHero, {
@@ -33,22 +33,19 @@ export const RegularButton = {
33
33
  ...ctaArgs,
34
34
  buttonType: 'fill'
35
35
  }
36
- }),
37
- name: 'Regular Button'
36
+ })
38
37
  };
39
38
  export const WithoutButton = {
40
39
  render: args => /*#__PURE__*/_jsx(PagePrefooter, {
41
40
  ...args,
42
41
  cta: undefined
43
- }),
44
- name: 'Without Button'
42
+ })
45
43
  };
46
44
  export const WithoutDescription = {
47
45
  render: args => /*#__PURE__*/_jsx(PagePrefooter, {
48
46
  ...args,
49
47
  desc: undefined
50
- }),
51
- name: 'Without Description'
48
+ })
52
49
  };
53
50
  export const DarkMode = {
54
51
  render: args => /*#__PURE__*/_jsx(Background, {
@@ -57,6 +54,5 @@ export const DarkMode = {
57
54
  children: /*#__PURE__*/_jsx(PagePrefooter, {
58
55
  ...args
59
56
  })
60
- }),
61
- name: 'Dark Mode'
57
+ })
62
58
  };
@@ -28,8 +28,7 @@ export default meta;
28
28
  export const SingleFeature = {
29
29
  render: args => /*#__PURE__*/_jsx(PageSingleFeature, {
30
30
  ...args
31
- }),
32
- name: 'Single Feature'
31
+ })
33
32
  };
34
33
  export const Video = {
35
34
  render: args => /*#__PURE__*/_jsx(PageSingleFeature, {
@@ -42,8 +41,7 @@ export const Video = {
42
41
  autoplay: true
43
42
  },
44
43
  title: "What's it like to be a Software Engineer"
45
- }),
46
- name: 'Video'
44
+ })
47
45
  };
48
46
  export const AdjustTheMediaWidth = {
49
47
  render: args => /*#__PURE__*/_jsx(PageSingleFeature, {
@@ -61,24 +59,21 @@ export const RegularButton = {
61
59
  buttonType: 'fill'
62
60
  },
63
61
  mediaWidth: 4
64
- }),
65
- name: 'Regular Button'
62
+ })
66
63
  };
67
64
  export const WithoutButton = {
68
65
  render: args => /*#__PURE__*/_jsx(PageSingleFeature, {
69
66
  ...args,
70
67
  cta: undefined,
71
68
  mediaWidth: 3
72
- }),
73
- name: 'Without Button'
69
+ })
74
70
  };
75
71
  export const WithoutDescription = {
76
72
  render: args => /*#__PURE__*/_jsx(PageSingleFeature, {
77
73
  ...args,
78
74
  desc: undefined,
79
75
  mediaWidth: 4
80
- }),
81
- name: 'Without Description'
76
+ })
82
77
  };
83
78
  export const Eyebrow = {
84
79
  render: args => /*#__PURE__*/_jsx(PageSingleFeature, {
@@ -86,8 +81,7 @@ export const Eyebrow = {
86
81
  eyebrow: {
87
82
  text: 'Codecademy'
88
83
  }
89
- }),
90
- name: 'Eyebrow'
84
+ })
91
85
  };
92
86
  export const AccentEyebrow = {
93
87
  render: args => /*#__PURE__*/_jsx(PageSingleFeature, {
@@ -96,8 +90,7 @@ export const AccentEyebrow = {
96
90
  text: 'Codecademy',
97
91
  accent: true
98
92
  }
99
- }),
100
- name: 'Accent Eyebrow'
93
+ })
101
94
  };
102
95
  export const HideImageOnMobile = {
103
96
  render: args => /*#__PURE__*/_jsx(PageSingleFeature, {
@@ -111,8 +104,7 @@ export const WithoutMedia = {
111
104
  render: args => /*#__PURE__*/_jsx(PageSingleFeature, {
112
105
  ...args,
113
106
  media: undefined
114
- }),
115
- name: 'Without Media'
107
+ })
116
108
  };
117
109
  export const DarkMode = {
118
110
  render: args => /*#__PURE__*/_jsx(Background, {
@@ -124,8 +116,7 @@ export const DarkMode = {
124
116
  text: 'Codecademy'
125
117
  }
126
118
  })
127
- }),
128
- name: 'Dark Mode'
119
+ })
129
120
  };
130
121
  export const PausableImage = {
131
122
  render: args => /*#__PURE__*/_jsx(PageSingleFeature, {
@@ -153,6 +144,5 @@ export const LinkableImage = {
153
144
  eyebrow: {
154
145
  text: 'Codecademy'
155
146
  }
156
- }),
157
- name: 'Linkable Image'
147
+ })
158
148
  };
@@ -32,8 +32,7 @@ export default meta;
32
32
  export const VideoGallery = {
33
33
  render: args => /*#__PURE__*/_jsx(PageVideoGallery, {
34
34
  ...args
35
- }),
36
- name: 'Video Gallery'
35
+ })
37
36
  };
38
37
  export const RegularButton = {
39
38
  render: args => /*#__PURE__*/_jsx(PageVideoGallery, {
@@ -42,21 +41,18 @@ export const RegularButton = {
42
41
  ...ctaArgs,
43
42
  buttonType: 'fill'
44
43
  }
45
- }),
46
- name: 'Regular Button'
44
+ })
47
45
  };
48
46
  export const WithoutDescription = {
49
47
  render: args => /*#__PURE__*/_jsx(PageVideoGallery, {
50
48
  ...args,
51
49
  desc: undefined
52
- }),
53
- name: 'Without Description'
50
+ })
54
51
  };
55
52
  export const GalleryOnly = {
56
53
  render: args => /*#__PURE__*/_jsx(PageVideoGallery, {
57
54
  videos: args.videos
58
- }),
59
- name: 'Gallery Only'
55
+ })
60
56
  };
61
57
  export const DarkMode = {
62
58
  render: args => /*#__PURE__*/_jsx(Background, {
@@ -65,6 +61,5 @@ export const DarkMode = {
65
61
  children: /*#__PURE__*/_jsx(PageVideoGallery, {
66
62
  ...args
67
63
  })
68
- }),
69
- name: 'Dark Mode'
64
+ })
70
65
  };
@@ -79,8 +79,7 @@ export const RowLayout = {
79
79
  slug: 'becp-22-going-off-platform-with-html-and-css',
80
80
  title: 'Going off-platform with HTML and CSS'
81
81
  }]
82
- }),
83
- name: 'Row Layout'
82
+ })
84
83
  };
85
84
  export const ColumnLayout = {
86
85
  render: args => /*#__PURE__*/_jsx(ScoreSummary, {
@@ -126,8 +125,7 @@ export const ColumnLayout = {
126
125
  slug: 'wdcp-22-practice-javascript-syntax-arrays-loops-objects-iterators',
127
126
  title: 'Practice JavaScript Syntax: Arrays, Loops, Objects, Iterators'
128
127
  }]
129
- }),
130
- name: 'Column Layout'
128
+ })
131
129
  };
132
130
  export const RowLayoutNoMaxWidth = {
133
131
  render: args => /*#__PURE__*/_jsx(ScoreSummary, {
@@ -214,8 +212,7 @@ export const Description = {
214
212
  slug: 'wdcp-22-practice-javascript-syntax-arrays-loops-objects-iterators',
215
213
  title: 'Practice JavaScript Syntax: Arrays, Loops, Objects, Iterators'
216
214
  }]
217
- }),
218
- name: 'Description'
215
+ })
219
216
  };
220
217
  export const DescriptionInColumnLayout = {
221
218
  render: args => /*#__PURE__*/_jsx(ScoreSummary, {
@@ -294,6 +291,5 @@ export const ColorfulIcons = {
294
291
  },
295
292
  trackSlug: undefined,
296
293
  untestedSubContent: []
297
- }),
298
- name: 'Colorful Icons'
294
+ })
299
295
  };
package/dist/svg.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  declare module '*.svg' {
2
- type AssetURL = string;
3
2
  const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>;
4
3
  const content: string;
5
4
 
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@codecademy/brand",
3
3
  "description": "Brand component library for Codecademy",
4
- "version": "3.28.0",
4
+ "version": "3.29.0-alpha.4ef0da6b35.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@emotion/is-prop-valid": "^1.2.1",
8
8
  "@splidejs/react-splide": "^0.7.12",
9
9
  "@splidejs/splide": "4.1.3",
10
+ "@types/recurly__recurly-js": "4.22.0",
10
11
  "classnames": "^2.3.2",
11
12
  "date-fns": "^2.30.0",
12
13
  "emojisplosion": "^2.6.1",