@codecademy/brand 1.2.0-alpha.e615dd3060.0 → 1.2.0-alpha.f0e3fddeb4.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 (43) hide show
  1. package/dist/AbbreviatedCommunityEventCard/index.js +2 -3
  2. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.js +10 -34
  3. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderDropdownNavButton.d.ts +2 -12
  4. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderDropdownNavButton.js +5 -22
  5. package/dist/AppHeader/index.d.ts +12 -5
  6. package/dist/AppHeader/index.js +92 -12
  7. package/dist/AppHeader/shared/elements.d.ts +0 -13
  8. package/dist/AppHeader/shared/elements.js +12 -34
  9. package/dist/AppHeader/shared/types.d.ts +2 -5
  10. package/dist/AppHeaderMobile/index.js +7 -15
  11. package/dist/CommunityEventCard/index.js +3 -3
  12. package/dist/ContentGroupBaseCard/index.d.ts +1 -1
  13. package/dist/ContentGroupBaseCard/index.js +3 -2
  14. package/dist/CurriculumCard/index.d.ts +2 -1
  15. package/dist/CurriculumCard/index.js +2 -2
  16. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.js +145 -161
  17. package/dist/HubCard/index.js +1 -1
  18. package/dist/InfoCard/index.js +1 -1
  19. package/dist/LoadingCurriculumCard/index.d.ts +1 -1
  20. package/dist/LogoFromSkillsoft/index.d.ts +5 -4
  21. package/dist/LogoFromSkillsoft/index.js +2 -2
  22. package/dist/PlanCard/index.js +7 -7
  23. package/dist/ResourceCard/index.d.ts +2 -1
  24. package/dist/ResourceCard/index.js +1 -1
  25. package/dist/Testimonial/index.d.ts +3 -5
  26. package/dist/Testimonial/index.js +21 -20
  27. package/dist/index.d.ts +0 -1
  28. package/dist/index.js +0 -1
  29. package/dist/stories/Molecules/AppHeader/AppHeader.stories.js +1 -21
  30. package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.js +0 -2
  31. package/dist/stories/Molecules/ContentGroupBaseCard.stories.js +1 -11
  32. package/dist/stories/Molecules/Testimonial.stories.js +15 -6
  33. package/package.json +1 -1
  34. package/dist/AppHeader/shared/utils.d.ts +0 -14
  35. package/dist/AppHeader/shared/utils.js +0 -76
  36. package/dist/LogoLXStudio/index.d.ts +0 -3
  37. package/dist/LogoLXStudio/index.js +0 -48
  38. package/dist/stories/Atoms/Logos/LogoLXStudio.stories.d.ts +0 -6
  39. package/dist/stories/Atoms/Logos/LogoLXStudio.stories.js +0 -11
  40. package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.d.ts +0 -6
  41. package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.js +0 -80
  42. package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.d.ts +0 -6
  43. package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.js +0 -80
@@ -1,80 +0,0 @@
1
- import { GearIcon, LayoutModuleIcon, PercipioIcon, PersonIcon, SupportIcon } from '@codecademy/gamut-icons';
2
- import { AppHeader, LogoLXStudio } from '../../../index';
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- const meta = {
5
- component: AppHeader,
6
- args: {
7
- action: () => {},
8
- isStandalone: true,
9
- hideRightButtonDefaults: true,
10
- items: {
11
- left: [{
12
- id: 'render-element',
13
- renderElement: () => /*#__PURE__*/_jsx(LogoLXStudio, {
14
- height: 1,
15
- width: 1
16
- }),
17
- type: 'render-element'
18
- }],
19
- right: [{
20
- id: 'menu',
21
- text: 'Menu',
22
- icon: LayoutModuleIcon,
23
- isIconOnly: true,
24
- popover: [{
25
- id: 'sublink-1',
26
- text: 'Percipio',
27
- href: 'http://codecademy.com',
28
- trackingTarget: '',
29
- type: 'link',
30
- icon: PercipioIcon
31
- }],
32
- trackingTarget: '',
33
- type: 'dropdown'
34
- }, {
35
- id: 'profile-dropdown',
36
- type: 'profile-dropdown',
37
- avatar: 'https://pbs.twimg.com/media/F9QcGzgXEAAPqLo?format=jpg&name=small',
38
- userDisplayName: 'cinnamoroll',
39
- popover: [[{
40
- id: 'sublink-1',
41
- icon: PersonIcon,
42
- text: 'My profile',
43
- href: 'http://codecademy.com',
44
- trackingTarget: '',
45
- type: 'link'
46
- }, {
47
- id: 'sublink-2',
48
- icon: GearIcon,
49
- text: 'Settings',
50
- href: 'http://codecademy.com',
51
- trackingTarget: '',
52
- type: 'link'
53
- }, {
54
- id: 'sublink-2',
55
- icon: SupportIcon,
56
- text: 'Help',
57
- href: 'http://codecademy.com',
58
- trackingTarget: '',
59
- type: 'link'
60
- }], [{
61
- id: 'sublink-2',
62
- icon: PersonIcon,
63
- text: 'Log out',
64
- href: 'http://codecademy.com',
65
- trackingTarget: '',
66
- type: 'link'
67
- }]],
68
- text: 'string;',
69
- trackingTarget: 'string'
70
- }]
71
- }
72
- }
73
- };
74
- export default meta;
75
- export const Default = {
76
- render: args => /*#__PURE__*/_jsx(AppHeader, {
77
- ...args
78
- }),
79
- name: 'LXStudio AppHeader'
80
- };
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { AppHeaderMobile } from '../../../index';
3
- declare const meta: Meta<typeof AppHeaderMobile>;
4
- export default meta;
5
- type Story = StoryObj<typeof AppHeaderMobile>;
6
- export declare const Default: Story;
@@ -1,80 +0,0 @@
1
- import { GearIcon, LayoutModuleIcon, PercipioIcon, PersonIcon, SupportIcon } from '@codecademy/gamut-icons';
2
- import { AppHeaderMobile, LogoLXStudio } from '../../../index';
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- const meta = {
5
- component: AppHeaderMobile,
6
- args: {
7
- action: () => {},
8
- isEnterprise: true,
9
- items: {
10
- left: [{
11
- id: 'render-element',
12
- renderElement: () => /*#__PURE__*/_jsx(LogoLXStudio, {
13
- height: 1,
14
- width: 1
15
- }),
16
- type: 'render-element'
17
- }],
18
- right: [],
19
- mainMenu: [{
20
- id: 'menu',
21
- text: 'Menu',
22
- icon: LayoutModuleIcon,
23
- isIconOnly: true,
24
- popover: [{
25
- id: 'sublink-1',
26
- text: 'Percipio',
27
- href: 'http://codecademy.com',
28
- trackingTarget: '',
29
- type: 'link',
30
- icon: PercipioIcon
31
- }],
32
- trackingTarget: '',
33
- type: 'dropdown'
34
- }, {
35
- id: 'profile-dropdown',
36
- type: 'profile-dropdown',
37
- avatar: 'https://pbs.twimg.com/media/F9QcGzgXEAAPqLo?format=jpg&name=small',
38
- userDisplayName: 'cinnamoroll',
39
- popover: [[{
40
- id: 'sublink-1',
41
- icon: PersonIcon,
42
- text: 'My profile',
43
- href: 'http://codecademy.com',
44
- trackingTarget: '',
45
- type: 'link'
46
- }, {
47
- id: 'sublink-2',
48
- icon: GearIcon,
49
- text: 'Settings',
50
- href: 'http://codecademy.com',
51
- trackingTarget: '',
52
- type: 'link'
53
- }, {
54
- id: 'sublink-3',
55
- icon: SupportIcon,
56
- text: 'Help',
57
- href: 'http://codecademy.com',
58
- trackingTarget: '',
59
- type: 'link'
60
- }], [{
61
- id: 'sublink-4',
62
- icon: PersonIcon,
63
- text: 'Log out',
64
- href: 'http://codecademy.com',
65
- trackingTarget: '',
66
- type: 'link'
67
- }]],
68
- text: 'string;',
69
- trackingTarget: 'string'
70
- }]
71
- }
72
- }
73
- };
74
- export default meta;
75
- export const Default = {
76
- render: args => /*#__PURE__*/_jsx(AppHeaderMobile, {
77
- ...args
78
- }),
79
- name: 'LXStudio AppHeaderMobile'
80
- };