@codecademy/brand 5.15.0-alpha.17e33fa86.0 → 5.15.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.
- package/dist/AppBar/AppBarSection.js +3 -3
- package/dist/AppBar/index.js +1 -2
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/MarketingBanner.js +9 -17
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.js +4 -4
- package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/elements.js +3 -3
- package/dist/AppHeader/Search/SearchPane.js +12 -13
- package/dist/AppHeader/shared/elements.js +11 -11
- package/dist/AvatarChooser/index.js +3 -3
- package/dist/Carousel/index.js +7 -7
- package/dist/EmptySection/index.js +5 -5
- package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.js +5 -25
- package/dist/GlobalHeader/index.js +3 -2
- package/dist/HeaderHeightArea/index.js +3 -3
- package/dist/InstructorCard/index.js +8 -8
- package/dist/Logos/shared.d.ts +0 -6
- package/dist/MarketingToaster/index.js +3 -4
- package/dist/NotificationList/NotificationItem.js +6 -6
- package/dist/PageAlerts/PageAlerts.js +9 -3
- package/dist/PausableImage/BaseImage/index.js +3 -4
- package/dist/PlanCard/index.js +12 -12
- package/dist/ScoreSummary/index.js +2 -2
- package/dist/SocialMediaSharingDropdown/index.js +1 -2
- package/dist/stories/Organisms/GlobalHeader/About.stories.js +1 -2
- package/dist/stories/Organisms/GlobalHeader/Free.stories.js +2 -2
- package/dist/stories/Organisms/GlobalPage.stories.js +4 -5
- package/package.json +2 -2
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* */
|
|
4
4
|
import { Alert, FlexBox, Text } from '@codecademy/gamut';
|
|
5
5
|
import { LinkIcon, ShareIcon } from '@codecademy/gamut-icons';
|
|
6
|
-
import { zIndexes } from '@codecademy/gamut-styles';
|
|
7
6
|
import { useRef, useState } from 'react';
|
|
8
7
|
import { DropdownButton } from '../DropdownButton';
|
|
9
8
|
import { createShareLink, SOCIAL_SHARING_PLATFORMS } from '../SocialMediaSharing';
|
|
@@ -91,7 +90,7 @@ export const SocialMediaSharingDropdown = ({
|
|
|
91
90
|
_: '10%',
|
|
92
91
|
sm: '20%'
|
|
93
92
|
},
|
|
94
|
-
zIndex:
|
|
93
|
+
zIndex: 999,
|
|
95
94
|
"data-testid": "social-share-copy-to-clipboard-alert",
|
|
96
95
|
justifyContent: "center",
|
|
97
96
|
children: /*#__PURE__*/_jsx(Alert, {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Box } from '@codecademy/gamut';
|
|
2
|
-
import { zIndexes } from '@codecademy/gamut-styles';
|
|
3
2
|
import { GlobalHeader } from '../../../index';
|
|
4
3
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
4
|
const meta = {
|
|
@@ -18,7 +17,7 @@ export default meta;
|
|
|
18
17
|
export const Default = {
|
|
19
18
|
render: args => /*#__PURE__*/_jsxs(Box, {
|
|
20
19
|
position: "relative",
|
|
21
|
-
zIndex:
|
|
20
|
+
zIndex: 0,
|
|
22
21
|
children: [/*#__PURE__*/_jsx(GlobalHeader, {
|
|
23
22
|
...args
|
|
24
23
|
}), /*#__PURE__*/_jsx(Box, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Box } from '@codecademy/gamut';
|
|
2
|
-
import { Background
|
|
2
|
+
import { Background } from '@codecademy/gamut-styles';
|
|
3
3
|
import { GlobalHeader } from '../../../index';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
5
|
const meta = {
|
|
@@ -19,7 +19,7 @@ export const FreeUserDefault = {
|
|
|
19
19
|
render: () => /*#__PURE__*/_jsxs(Background, {
|
|
20
20
|
bg: "background-primary",
|
|
21
21
|
position: "relative",
|
|
22
|
-
zIndex:
|
|
22
|
+
zIndex: 0,
|
|
23
23
|
children: [/*#__PURE__*/_jsx(GlobalHeader, {
|
|
24
24
|
action: () => {},
|
|
25
25
|
notifications: {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Box, ContentContainer, SkipToContentTarget, Text } from '@codecademy/gamut';
|
|
2
|
-
import { zIndexes } from '@codecademy/gamut-styles';
|
|
3
2
|
import { GlobalPage } from '../../index';
|
|
4
3
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
4
|
const header = {
|
|
@@ -49,7 +48,7 @@ export default meta;
|
|
|
49
48
|
export const Default = {
|
|
50
49
|
render: args => /*#__PURE__*/_jsx(Box, {
|
|
51
50
|
position: "relative",
|
|
52
|
-
zIndex:
|
|
51
|
+
zIndex: 0,
|
|
53
52
|
children: /*#__PURE__*/_jsx(GlobalPage, {
|
|
54
53
|
...args,
|
|
55
54
|
children: /*#__PURE__*/_jsx(ContentContainer, {
|
|
@@ -66,7 +65,7 @@ export const Default = {
|
|
|
66
65
|
export const Banner = {
|
|
67
66
|
render: args => /*#__PURE__*/_jsx(Box, {
|
|
68
67
|
position: "relative",
|
|
69
|
-
zIndex:
|
|
68
|
+
zIndex: 0,
|
|
70
69
|
children: /*#__PURE__*/_jsx(GlobalPage, {
|
|
71
70
|
...args,
|
|
72
71
|
children: /*#__PURE__*/_jsx(ContentContainer, {
|
|
@@ -88,7 +87,7 @@ export const Banner = {
|
|
|
88
87
|
export const Modal = {
|
|
89
88
|
render: args => /*#__PURE__*/_jsx(Box, {
|
|
90
89
|
position: "relative",
|
|
91
|
-
zIndex:
|
|
90
|
+
zIndex: 0,
|
|
92
91
|
children: /*#__PURE__*/_jsx(GlobalPage, {
|
|
93
92
|
...args,
|
|
94
93
|
children: /*#__PURE__*/_jsxs(ContentContainer, {
|
|
@@ -114,7 +113,7 @@ export const Modal = {
|
|
|
114
113
|
export const SkipToContent = {
|
|
115
114
|
render: args => /*#__PURE__*/_jsx(Box, {
|
|
116
115
|
position: "relative",
|
|
117
|
-
zIndex:
|
|
116
|
+
zIndex: 0,
|
|
118
117
|
children: /*#__PURE__*/_jsx(GlobalPage, {
|
|
119
118
|
...args,
|
|
120
119
|
children: /*#__PURE__*/_jsxs(ContentContainer, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/brand",
|
|
3
|
-
"version": "5.15.0
|
|
3
|
+
"version": "5.15.0",
|
|
4
4
|
"description": "Brand component library for Codecademy",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "git@github.com:codecademy-engineering/mono.git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@codecademy/gamut-illustrations": "*",
|
|
39
39
|
"@codecademy/gamut-patterns": "*",
|
|
40
40
|
"@codecademy/gamut-styles": "*",
|
|
41
|
-
"@codecademy/tracking": "1.
|
|
41
|
+
"@codecademy/tracking": "1.6.4",
|
|
42
42
|
"@codecademy/variance": "*",
|
|
43
43
|
"@emotion/react": "^11.4.0",
|
|
44
44
|
"@emotion/styled": "^11.3.0",
|