@edx/frontend-app-subscription-learner-dashboard 1.37.2 → 1.38.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/style.scss CHANGED
@@ -1,7 +1,9 @@
1
- $fa-font-path: "~font-awesome/fonts";
2
- @import "~font-awesome/scss/font-awesome";
1
+ $fa-font-path: '~font-awesome/fonts';
2
+ @import '~font-awesome/scss/font-awesome';
3
3
 
4
- $input-focus-box-shadow: var(--pgn-elevation-form-input-base); // hack to get upgrade to paragon 4.0.0 to work
4
+ $input-focus-box-shadow: var(
5
+ --pgn-elevation-form-input-base
6
+ ); // hack to get upgrade to paragon 4.0.0 to work
5
7
 
6
8
  #learnerDashboardRoot {
7
9
  main {
@@ -9,7 +11,7 @@ $input-focus-box-shadow: var(--pgn-elevation-form-input-base); // hack to get up
9
11
  }
10
12
 
11
13
  // Removing a odd 1.5 scaling on checkboxes.:
12
- input[type=checkbox] {
14
+ input[type='checkbox'] {
13
15
  transform: none;
14
16
  }
15
17
 
@@ -34,3 +36,7 @@ $input-focus-box-shadow: var(--pgn-elevation-form-input-base); // hack to get up
34
36
  }
35
37
  }
36
38
  }
39
+
40
+ .dashboard-header-navlink a {
41
+ color: var(--pgn-color-primary-500);
42
+ }
@@ -99,6 +99,10 @@ export default function Footer() {
99
99
  title: intl.formatMessage(footerMessages['footer.legalLinks.sitemap']),
100
100
  hidden: intl.locale === 'es',
101
101
  },
102
+ {
103
+ href: `#`,
104
+ title: intl.formatMessage(footerMessages['footer.legalLinks.privacyChoices']),
105
+ },
102
106
  ] }) }), _jsx("div", { className: "d-flex flex-column flex-fill" })] }), _jsx("div", { className: "mt-4.5 d-flex align-items-start", children: _jsxs("div", { className: "d-flex flex-column align-items-start", children: [_jsx("p", { className: "x-small text-white", children: intl.formatMessage(footerMessages['footer.copyRight']) }), _jsx("p", { className: "x-small text-white", children: intl.formatMessage(footerMessages['footer.copyRightCn']) })] }) })] }));
103
107
  }
104
108
  //# sourceMappingURL=Footer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/widgets/LearnerDashboardFooter/Footer.tsx"],"names":[],"mappings":";AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,UAAU,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,eAAe,MAAM,eAAe,CAAC;AAC5C,OAAO,cAAc,MAAM,YAAY,CAAC;AACxC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;AAE7C,MAAM,CAAC,OAAO,UAAU,MAAM;IAC5B,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;IAEtD,SAAS,CAAC,GAAG,EAAE;QACb,YAAY,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACzC,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,eAAK,SAAS,EAAC,8BAA8B,aAC3C,eAAK,SAAS,EAAC,0DAA0D,aACvE,YACE,IAAI,EAAC,iBAAiB,gBACV,IAAI,CAAC,aAAa,CAC5B,cAAc,CAAC,uBAAuB,CAAC,CACxC,YAED,cACE,SAAS,EAAC,mBAAmB,EAC7B,GAAG,EAAE,UAAU,EACf,GAAG,EAAE,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC,GAC9D,GACA,EACJ,KAAC,eAAe,KAAG,IACf,EACN,eAAK,SAAS,EAAC,QAAQ,aACrB,cAAK,SAAS,EAAC,8BAA8B,YAC3C,KAAC,QAAQ,IACP,SAAS,EAAC,QAAQ,EAClB,KAAK,EAAC,KAAK,EACX,KAAK,EAAE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CACjD;iCACF;gCACD;oCACE,IAAI,EAAE,GAAG,kBAAkB,gBAAgB;oCAC3C,KAAK,EAAE,IAAI,CAAC,aAAa,CACvB,cAAc,CAAC,8BAA8B,CAAC,CAC/C;iCACF;gCACD;oCACE,IAAI,EAAE,GAAG,kBAAkB,aAAa;oCACxC,KAAK,EAAE,IAAI,CAAC,aAAa,CACvB,cAAc,CAAC,mCAAmC,CAAC,CACpD;oCACD,MAAM,EAAE,IAAI,CAAC,MAAM,KAAK,IAAI;iCAC7B;gCACD;oCACE,IAAI,EAAE,GAAG,kBAAkB,2BAA2B;oCACtD,KAAK,EAAE,IAAI,CAAC,aAAa,CACvB,cAAc,CAAC,iCAAiC,CAAC,CAClD;iCACF;gCACD;oCACE,IAAI,EAAE,GAAG,kBAAkB,UAAU;oCACrC,KAAK,EAAE,IAAI,CAAC,aAAa,CACvB,cAAc,CAAC,2BAA2B,CAAC,CAC5C;oCACD,MAAM,EAAE,IAAI,CAAC,MAAM,KAAK,IAAI;iCAC7B;6BACF,GACD,GACE,EACN,cAAK,SAAS,EAAC,8BAA8B,GAEvC,IACF,EAEN,cAAK,SAAS,EAAC,iCAAiC,YAC9C,eAAK,SAAS,EAAC,sCAAsC,aACnD,YAAG,SAAS,EAAC,oBAAoB,YAC9B,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,GACrD,EACJ,YAAG,SAAS,EAAC,oBAAoB,YAC9B,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,GACvD,IACA,GACF,IACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["import './index.scss';\nimport footerLogo from '../../assets/footerLogo.svg';\n\nimport { useIntl } from '@openedx/frontend-base';\nimport SocialIconLinks from './SocialLinks';\nimport footerMessages from './messages';\nimport LinkList from './LinkList';\nimport { useEffect, useState } from 'react';\n\nconst MARKETING_BASE_URL = 'https://edx.org';\n\nexport default function Footer() {\n const intl = useIntl();\n const [utmSource, setUtmSource] = useState('edx.org');\n\n useEffect(() => {\n setUtmSource(window.location.hostname);\n }, []);\n\n return (\n <div className=\"footer py-5.5 bg-primary-500\">\n <div className=\"d-flex align-items-center justify-content-between mb-4.5\">\n <a\n href=\"https://edx.org\"\n aria-label={intl.formatMessage(\n footerMessages['footer.logo.ariaLabel'],\n )}\n >\n <img\n className=\"footer__logo-main\"\n src={footerLogo}\n alt={intl.formatMessage(footerMessages['footer.logo.altText'])}\n />\n </a>\n <SocialIconLinks />\n </div>\n <div className=\"d-flex\">\n <div className=\"d-flex flex-column flex-fill\">\n <LinkList\n className=\"area-2\"\n title=\"edX\"\n links={[\n {\n href: `${MARKETING_BASE_URL}/about-us`,\n title: intl.formatMessage(\n footerMessages['footer.edxLinks.about'],\n ),\n },\n {\n href: `https://business.edx.org/?utm_campaign=edX.org+Referral&utm_medium=Footer&utm_source=${utmSource}`,\n title: intl.formatMessage(\n footerMessages['footer.edxLinks.business'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/affiliate-program`,\n title: intl.formatMessage(\n footerMessages['footer.edxLinks.affiliates'],\n ),\n hidden: intl.locale === 'es',\n },\n {\n href: 'http://open.edx.org',\n title: intl.formatMessage(\n footerMessages['footer.edxLinks.openEdx'],\n ),\n hidden: intl.locale === 'es',\n },\n {\n href: 'https://www.edx.org/learn/devops',\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.advisory'],\n ),\n hidden: intl.locale === 'es',\n },\n {\n href: `${MARKETING_BASE_URL}/careers`,\n title: intl.formatMessage(\n footerMessages['footer.edxLinks.careers'],\n ),\n hidden: intl.locale === 'es',\n },\n {\n href: `https://press.edx.org/`,\n title: intl.formatMessage(\n footerMessages['footer.edxLinks.news'],\n ),\n },\n ]}\n />\n </div>\n <div className=\"d-flex flex-column flex-fill\">\n <LinkList\n className=\"area-4\"\n title={intl.formatMessage(\n footerMessages['footer.connectLinks.heading'],\n )}\n links={[\n {\n href: 'https://www.edx.org/resources',\n title: intl.formatMessage(\n footerMessages['footer.connectLinks.blog'],\n ),\n },\n {\n href: 'https://courses.edx.org/support/contact_us',\n title: intl.formatMessage(\n footerMessages['footer.connectLinks.contact'],\n ),\n },\n {\n href: 'https://support.edx.org',\n title: intl.formatMessage(\n footerMessages['footer.connectLinks.help'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/policy/security`,\n title: intl.formatMessage(\n footerMessages['footer.connectLinks.security'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/media-kit`,\n title: intl.formatMessage(\n footerMessages['footer.connectLinks.mediaKit'],\n ),\n hidden: intl.locale === 'es',\n },\n ]}\n />\n </div>\n <div className=\"d-flex flex-column flex-fill\">\n <LinkList\n className=\"area-3\"\n title={intl.formatMessage(\n footerMessages['footer.legalLinks.heading'],\n )}\n links={[\n {\n href: `${MARKETING_BASE_URL}/edx-terms-service`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.termsOfService'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/edx-privacy-policy`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.privacyPolicy'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/edx-privacy-policy/cookies`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.cookiePolicy'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/accessibility`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.a11yPolicy'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/trademarks`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.trademarkPolicy'],\n ),\n hidden: intl.locale === 'es',\n },\n {\n href: `${MARKETING_BASE_URL}/modern-slavery-statement`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.modernSlavery'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/sitemap`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.sitemap'],\n ),\n hidden: intl.locale === 'es',\n },\n ]}\n />\n </div>\n <div className=\"d-flex flex-column flex-fill\">\n {/* language selector not implemented */}\n </div>\n </div>\n\n <div className=\"mt-4.5 d-flex align-items-start\">\n <div className=\"d-flex flex-column align-items-start\">\n <p className=\"x-small text-white\">\n {intl.formatMessage(footerMessages['footer.copyRight'])}\n </p>\n <p className=\"x-small text-white\">\n {intl.formatMessage(footerMessages['footer.copyRightCn'])}\n </p>\n </div>\n </div>\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/widgets/LearnerDashboardFooter/Footer.tsx"],"names":[],"mappings":";AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,UAAU,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,eAAe,MAAM,eAAe,CAAC;AAC5C,OAAO,cAAc,MAAM,YAAY,CAAC;AACxC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;AAE7C,MAAM,CAAC,OAAO,UAAU,MAAM;IAC5B,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;IAEtD,SAAS,CAAC,GAAG,EAAE;QACb,YAAY,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACzC,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,eAAK,SAAS,EAAC,8BAA8B,aAC3C,eAAK,SAAS,EAAC,0DAA0D,aACvE,YACE,IAAI,EAAC,iBAAiB,gBACV,IAAI,CAAC,aAAa,CAC5B,cAAc,CAAC,uBAAuB,CAAC,CACxC,YAED,cACE,SAAS,EAAC,mBAAmB,EAC7B,GAAG,EAAE,UAAU,EACf,GAAG,EAAE,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC,G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oB,CAAC,CAAC,GACvD,IACA,GACF,IACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["import './index.scss';\nimport footerLogo from '../../assets/footerLogo.svg';\n\nimport { useIntl } from '@openedx/frontend-base';\nimport SocialIconLinks from './SocialLinks';\nimport footerMessages from './messages';\nimport LinkList from './LinkList';\nimport { useEffect, useState } from 'react';\n\nconst MARKETING_BASE_URL = 'https://edx.org';\n\nexport default function Footer() {\n const intl = useIntl();\n const [utmSource, setUtmSource] = useState('edx.org');\n\n useEffect(() => {\n setUtmSource(window.location.hostname);\n }, []);\n\n return (\n <div className=\"footer py-5.5 bg-primary-500\">\n <div className=\"d-flex align-items-center justify-content-between mb-4.5\">\n <a\n href=\"https://edx.org\"\n aria-label={intl.formatMessage(\n footerMessages['footer.logo.ariaLabel'],\n )}\n >\n <img\n className=\"footer__logo-main\"\n src={footerLogo}\n alt={intl.formatMessage(footerMessages['footer.logo.altText'])}\n />\n </a>\n <SocialIconLinks />\n </div>\n <div className=\"d-flex\">\n <div className=\"d-flex flex-column flex-fill\">\n <LinkList\n className=\"area-2\"\n title=\"edX\"\n links={[\n {\n href: `${MARKETING_BASE_URL}/about-us`,\n title: intl.formatMessage(\n footerMessages['footer.edxLinks.about'],\n ),\n },\n {\n href: `https://business.edx.org/?utm_campaign=edX.org+Referral&utm_medium=Footer&utm_source=${utmSource}`,\n title: intl.formatMessage(\n footerMessages['footer.edxLinks.business'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/affiliate-program`,\n title: intl.formatMessage(\n footerMessages['footer.edxLinks.affiliates'],\n ),\n hidden: intl.locale === 'es',\n },\n {\n href: 'http://open.edx.org',\n title: intl.formatMessage(\n footerMessages['footer.edxLinks.openEdx'],\n ),\n hidden: intl.locale === 'es',\n },\n {\n href: 'https://www.edx.org/learn/devops',\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.advisory'],\n ),\n hidden: intl.locale === 'es',\n },\n {\n href: `${MARKETING_BASE_URL}/careers`,\n title: intl.formatMessage(\n footerMessages['footer.edxLinks.careers'],\n ),\n hidden: intl.locale === 'es',\n },\n {\n href: `https://press.edx.org/`,\n title: intl.formatMessage(\n footerMessages['footer.edxLinks.news'],\n ),\n },\n ]}\n />\n </div>\n <div className=\"d-flex flex-column flex-fill\">\n <LinkList\n className=\"area-4\"\n title={intl.formatMessage(\n footerMessages['footer.connectLinks.heading'],\n )}\n links={[\n {\n href: 'https://www.edx.org/resources',\n title: intl.formatMessage(\n footerMessages['footer.connectLinks.blog'],\n ),\n },\n {\n href: 'https://courses.edx.org/support/contact_us',\n title: intl.formatMessage(\n footerMessages['footer.connectLinks.contact'],\n ),\n },\n {\n href: 'https://support.edx.org',\n title: intl.formatMessage(\n footerMessages['footer.connectLinks.help'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/policy/security`,\n title: intl.formatMessage(\n footerMessages['footer.connectLinks.security'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/media-kit`,\n title: intl.formatMessage(\n footerMessages['footer.connectLinks.mediaKit'],\n ),\n hidden: intl.locale === 'es',\n },\n ]}\n />\n </div>\n <div className=\"d-flex flex-column flex-fill\">\n <LinkList\n className=\"area-3\"\n title={intl.formatMessage(\n footerMessages['footer.legalLinks.heading'],\n )}\n links={[\n {\n href: `${MARKETING_BASE_URL}/edx-terms-service`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.termsOfService'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/edx-privacy-policy`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.privacyPolicy'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/edx-privacy-policy/cookies`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.cookiePolicy'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/accessibility`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.a11yPolicy'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/trademarks`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.trademarkPolicy'],\n ),\n hidden: intl.locale === 'es',\n },\n {\n href: `${MARKETING_BASE_URL}/modern-slavery-statement`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.modernSlavery'],\n ),\n },\n {\n href: `${MARKETING_BASE_URL}/sitemap`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.sitemap'],\n ),\n hidden: intl.locale === 'es',\n },\n {\n href: `#`,\n title: intl.formatMessage(\n footerMessages['footer.legalLinks.privacyChoices'],\n ),\n },\n ]}\n />\n </div>\n <div className=\"d-flex flex-column flex-fill\">\n {/* language selector not implemented */}\n </div>\n </div>\n\n <div className=\"mt-4.5 d-flex align-items-start\">\n <div className=\"d-flex flex-column align-items-start\">\n <p className=\"x-small text-white\">\n {intl.formatMessage(footerMessages['footer.copyRight'])}\n </p>\n <p className=\"x-small text-white\">\n {intl.formatMessage(footerMessages['footer.copyRightCn'])}\n </p>\n </div>\n </div>\n </div>\n );\n}\n"]}
@@ -184,5 +184,10 @@ declare const footerMessages: {
184
184
  defaultMessage: string;
185
185
  description: string;
186
186
  };
187
+ 'footer.legalLinks.privacyChoices': {
188
+ id: string;
189
+ defaultMessage: string;
190
+ description: string;
191
+ };
187
192
  };
188
193
  export default footerMessages;
@@ -117,7 +117,7 @@ const footerMessages = defineMessages({
117
117
  },
118
118
  'footer.connectLinks.blog': {
119
119
  id: 'footer.connectLinks.blog',
120
- defaultMessage: 'Resources',
120
+ defaultMessage: 'Idea Hub',
121
121
  description: 'The label for the link to edX Idea Hub page.',
122
122
  },
123
123
  'footer.connectLinks.contact': {
@@ -185,6 +185,11 @@ const footerMessages = defineMessages({
185
185
  defaultMessage: '2U Advisory Council',
186
186
  description: 'link button that leads to the edX "2U Advisory Council" page',
187
187
  },
188
+ 'footer.legalLinks.privacyChoices': {
189
+ id: 'footer.legalLinks.privacyChoices',
190
+ defaultMessage: 'Your Privacy Choices',
191
+ description: 'link button that leads to the edX "Your Privacy Choices" page',
192
+ },
188
193
  });
189
194
  export default footerMessages;
190
195
  //# sourceMappingURL=messages.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../src/widgets/LearnerDashboardFooter/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,MAAM,cAAc,GAAG,cAAc,CAAC;IACpC,oCAAoC,EAAE;QACpC,EAAE,EAAE,oCAAoC;QACxC,cAAc,EAAE,sBAAsB;QACtC,WAAW,EACT,iFAAiF;KACpF;IACD,mCAAmC,EAAE;QACnC,EAAE,EAAE,mCAAmC;QACvC,cAAc,EAAE,oCAAoC;QACpD,WAAW,EACT,sFAAsF;KACzF;IACD,mCAAmC,EAAE;QACnC,EAAE,EAAE,mCAAmC;QACvC,cAAc,EAAE,sCAAsC;QACtD,WAAW,EACT,gFAAgF;KACnF;IACD,oCAAoC,EAAE;QACpC,EAAE,EAAE,oCAAoC;QACxC,cAAc,EAAE,wBAAwB;QACxC,WAAW,EACT,iFAAiF;KACpF;IACD,qCAAqC,EAAE;QACrC,EAAE,EAAE,qCAAqC;QACzC,cAAc,EAAE,yBAAyB;QACzC,WAAW,EACT,kFAAkF;KACrF;IACD,kCAAkC,EAAE;QAClC,EAAE,EAAE,kCAAkC;QACtC,cAAc,EAAE,gCAAgC;QAChD,WAAW,EACT,+EAA+E;KAClF;IACD,kCAAkC,EAAE;QAClC,EAAE,EAAE,kCAAkC;QACtC,cAAc,EAAE,iBAAiB;QACjC,WAAW,EACT,wEAAwE;KAC3E;IACD,kCAAkC,EAAE;QAClC,EAAE,EAAE,kCAAkC;QACtC,cAAc,EAAE,OAAO;QACvB,WAAW,EAAE,6DAA6D;KAC3E;IACD,uBAAuB,EAAE;QACvB,EAAE,EAAE,uBAAuB;QAC3B,cAAc,EAAE,OAAO;QACvB,WAAW,EAAE,+CAA+C;KAC7D;IACD,0BAA0B,EAAE;QAC1B,EAAE,EAAE,0BAA0B;QAC9B,cAAc,EAAE,kBAAkB;QAClC,WA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QAClB,EAAE,EAAE,kBAAkB;QACtB,cAAc,EAAE,sCAAsC;QACtD,WAAW,EAAE,2BAA2B;KACzC;IACD,oBAAoB,EAAE;QACpB,EAAE,EAAE,oBAAoB;QACxB,cAAc,EAAE,gBAAgB;QAChC,WAAW,EAAE,8BAA8B;KAC5C;IACD,gCAAgC,EAAE;QAChC,EAAE,EAAE,gCAAgC;QACpC,cAAc,EAAE,eAAe;QAC/B,WAAW,EAAE,wDAAwD;KACtE;IACD,4BAA4B,EAAE;QAC5B,EAAE,EAAE,4BAA4B;QAChC,cAAc,EAAE,qBAAqB;QACrC,WAAW,EAAE,8DAA8D;KAC5E;CACF,CAAC,CAAC;AAEH,eAAe,cAAc,CAAC","sourcesContent":["import { defineMessages } from '@openedx/frontend-base';\n\nconst footerMessages = defineMessages({\n 'footer.socialLinks.srText.facebook': {\n id: 'footer.socialLinks.srText.facebook',\n defaultMessage: 'Like edX on Facebook',\n description:\n 'This is screenreader text for the edX Facebook social media link in the footer.',\n },\n 'footer.socialLinks.srText.twitter': {\n id: 'footer.socialLinks.srText.twitter',\n defaultMessage: 'Follow edX on X (formerly Twitter)',\n description:\n 'This is screenreader text for the edX X (formerly Twitter) media link in the footer.',\n },\n 'footer.socialLinks.srText.youtube': {\n id: 'footer.socialLinks.srText.youtube',\n defaultMessage: 'Subscribe to the edX YouTube channel',\n description:\n 'This is screenreader text for the edX YouTube social media link in the footer.',\n },\n 'footer.socialLinks.srText.linkedin': {\n id: 'footer.socialLinks.srText.linkedin',\n defaultMessage: 'Follow edX on LinkedIn',\n description:\n 'This is screenreader text for the edX LinkedIn social media link in the footer.',\n },\n 'footer.socialLinks.srText.instagram': {\n id: 'footer.socialLinks.srText.instagram',\n defaultMessage: 'Follow edX on Instagram',\n description:\n 'This is screenreader text for the edX Instagram social media link in the footer.',\n },\n 'footer.socialLinks.srText.reddit': {\n id: 'footer.socialLinks.srText.reddit',\n defaultMessage: 'Subscribe to the edX subreddit',\n description:\n 'This is screenreader text for the edX reddit social media link in the footer.',\n },\n 'footer.languageForm.select.label': {\n id: 'footer.languageForm.select.label',\n defaultMessage: 'Choose Language',\n description:\n 'The label for the language select part of the language selection form.',\n },\n 'footer.languageForm.submit.label': {\n id: 'footer.languageForm.submit.label',\n defaultMessage: 'Apply',\n description: 'The label for button to submit the language selection form.',\n },\n 'footer.edxLinks.about': {\n id: 'footer.edxLinks.about',\n defaultMessage: 'About',\n description: 'The label for the link to the about edX page.',\n },\n 'footer.edxLinks.business': {\n id: 'footer.edxLinks.business',\n defaultMessage: 'edX for Business',\n description: 'The label for the link to the edX for business page.',\n },\n 'footer.edxLinks.affiliates': {\n id: 'footer.edxLinks.affiliates',\n defaultMessage: 'Affiliates',\n description: 'The label for the link to the edX affiliates page.',\n },\n 'footer.edxLinks.openEdx': {\n id: 'footer.edxLinks.openEdx',\n defaultMessage: 'Open edX',\n description: 'The label for the link to the open edX site.',\n },\n 'footer.edxLinks.careers': {\n id: 'footer.edxLinks.careers',\n defaultMessage: 'Careers',\n description: 'The label for the link to the edX Careers page.',\n },\n 'footer.edxLinks.news': {\n id: 'footer.edxLinks.news',\n defaultMessage: 'News',\n description: 'The label for the link to the edX news page.',\n },\n 'footer.legalLinks.heading': {\n id: 'footer.legalLinks.heading',\n defaultMessage: 'Legal',\n description: 'Heading for the legal links section of the footer.',\n },\n 'footer.legalLinks.termsOfService': {\n id: 'footer.legalLinks.termsOfService',\n defaultMessage: 'Terms of Service & Honor Code',\n description: 'The label for the link to the edX terms of service page.',\n },\n 'footer.legalLinks.privacyPolicy': {\n id: 'footer.legalLinks.privacyPolicy',\n defaultMessage: 'Privacy Policy',\n description: 'The label for the link to the edX privacy policy page.',\n },\n 'footer.legalLinks.a11yPolicy': {\n id: 'footer.legalLinks.a11yPolicy',\n defaultMessage: 'Accessibility Policy',\n description: 'The label for the link to the edX accessibility policy page.',\n },\n 'footer.legalLinks.trademarkPolicy': {\n id: 'footer.legalLinks.trademarkPolicy',\n defaultMessage: 'Trademark Policy',\n description: 'The label for the link to the edX trademark policy page.',\n },\n 'footer.legalLinks.sitemap': {\n id: 'footer.legalLinks.sitemap',\n defaultMessage: 'Sitemap',\n description: 'The label for the link to the edX sitemap page.',\n },\n 'footer.legalLinks.doNotSellData': {\n id: 'footer.legalLinks.doNotSellData',\n defaultMessage: 'Your Privacy Choices',\n description:\n 'link button that leads to the One Trust modal and sets the edx_do_not_sell cookie.',\n },\n 'footer.legalLinks.modernSlavery': {\n id: 'footer.legalLinks.modernSlavery',\n defaultMessage: 'Modern Slavery Statement',\n description: 'link button that leads to the edX \"Cookie Policy\" page',\n },\n 'footer.connectLinks.heading': {\n id: 'footer.connectLinks.heading',\n defaultMessage: 'Connect',\n description: 'Heading for the connect links section of the footer.',\n },\n 'footer.connectLinks.blog': {\n id: 'footer.connectLinks.blog',\n defaultMessage: 'Resources',\n description: 'The label for the link to edX Idea Hub page.',\n },\n 'footer.connectLinks.contact': {\n id: 'footer.connectLinks.contact',\n defaultMessage: 'Contact Us',\n description: 'The label for the link to the contact edX page.',\n },\n 'footer.connectLinks.help': {\n id: 'footer.connectLinks.help',\n defaultMessage: 'Help Center',\n description: 'The label for the link to the edX help center.',\n },\n 'footer.connectLinks.security': {\n id: 'footer.connectLinks.security',\n defaultMessage: 'Security',\n description: 'The label for the link to the security disclosures page.',\n },\n 'footer.connectLinks.mediaKit': {\n id: 'footer.connectLinks.mediaKit',\n defaultMessage: 'Media Kit',\n description: 'The label for the link to the edX media kit page.',\n },\n 'footer.mobileApp.apple': {\n id: 'footer.mobileApp.apple',\n defaultMessage: 'Download the edX mobile app from the Apple App Store',\n description:\n 'The label for the link to download the apple version of the edX app.',\n },\n 'footer.mobileApp.google': {\n id: 'footer.mobileApp.google',\n defaultMessage: 'Download the edX mobile app from Google Play',\n description:\n 'The label for the link to download the google version of the edX app.',\n },\n 'footer.logo.altText': {\n id: 'footer.logo.altText',\n defaultMessage: 'edX Logo',\n description: 'alt text for the footer logo.',\n },\n 'footer.logo.ariaLabel': {\n id: 'footer.logo.ariaLabel',\n defaultMessage: 'edX Home',\n description: 'aria-label for the footer logo.',\n },\n 'footer.ariaLabel': {\n id: 'footer.ariaLabel',\n defaultMessage: 'Page Footer',\n description: 'aria-label for the footer component',\n },\n 'footer.copyRight': {\n id: 'footer.copyRight',\n defaultMessage: '© 2026 edX LLC. All rights reserved.',\n description: 'Footer copy right message',\n },\n 'footer.copyRightCn': {\n id: 'footer.copyRightCn',\n defaultMessage: '| 深圳市恒宇博科技有限公司',\n description: 'Footer copy right message CN',\n },\n 'footer.legalLinks.cookiePolicy': {\n id: 'footer.legalLinks.cookiePolicy',\n defaultMessage: 'Cookie Policy',\n description: 'link button that leads to the edX \"Cookie Policy\" page',\n },\n 'footer.legalLinks.advisory': {\n id: 'footer.legalLinks.advisory',\n defaultMessage: '2U Advisory Council',\n description: 'link button that leads to the edX \"2U Advisory Council\" page',\n },\n});\n\nexport default footerMessages;\n"]}
1
+ {"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../src/widgets/LearnerDashboardFooter/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,MAAM,cAAc,GAAG,cAAc,CAAC;IACpC,oCAAoC,EAAE;QACpC,EAAE,EAAE,oCAAoC;QACxC,cAAc,EAAE,sBAAsB;QACtC,WAAW,EACT,iFAAiF;KACpF;IACD,mCAAmC,EAAE;QACnC,EAAE,EAAE,mCAAmC;QACvC,cAAc,EAAE,oCAAoC;QACpD,WAAW,EACT,sFAAsF;KACzF;IACD,mCAAmC,EAAE;QACnC,EAAE,EAAE,mCAAmC;QACvC,cAAc,EAAE,sCAAsC;QACtD,WAAW,EACT,gFAAgF;KACnF;IACD,oCAAoC,EAAE;QACpC,EAAE,EAAE,oCAAoC;QACxC,cAAc,EAAE,wBAAwB;QACxC,WAAW,EACT,iFAAiF;KACpF;IACD,qCAAqC,EAAE;QACrC,EAAE,EAAE,qCAAqC;QACzC,cAAc,EAAE,yBAAyB;QACz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;QACxB,EAAE,EAAE,wBAAwB;QAC5B,cAAc,EAAE,sDAAsD;QACtE,WAAW,EACT,sEAAsE;KACzE;IACD,yBAAyB,EAAE;QACzB,EAAE,EAAE,yBAAyB;QAC7B,cAAc,EAAE,8CAA8C;QAC9D,WAAW,EACT,uEAAuE;KAC1E;IACD,qBAAqB,EAAE;QACrB,EAAE,EAAE,qBAAqB;QACzB,cAAc,EAAE,UAAU;QAC1B,WAAW,EAAE,+BAA+B;KAC7C;IACD,uBAAuB,EAAE;QACvB,EAAE,EAAE,uBAAuB;QAC3B,cAAc,EAAE,UAAU;QAC1B,WAAW,EAAE,iCAAiC;KAC/C;IACD,kBAAkB,EAAE;QAClB,EAAE,EAAE,kBAAkB;QACtB,cAAc,EAAE,aAAa;QAC7B,WAAW,EAAE,qCAAqC;KACnD;IACD,kBAAkB,EAAE;QAClB,EAAE,EAAE,kBAAkB;QACtB,cAAc,EAAE,sCAAsC;QACtD,WAAW,EAAE,2BAA2B;KACzC;IACD,oBAAoB,EAAE;QACpB,EAAE,EAAE,oBAAoB;QACxB,cAAc,EAAE,gBAAgB;QAChC,WAAW,EAAE,8BAA8B;KAC5C;IACD,gCAAgC,EAAE;QAChC,EAAE,EAAE,gCAAgC;QACpC,cAAc,EAAE,eAAe;QAC/B,WAAW,EAAE,wDAAwD;KACtE;IACD,4BAA4B,EAAE;QAC5B,EAAE,EAAE,4BAA4B;QAChC,cAAc,EAAE,qBAAqB;QACrC,WAAW,EAAE,8DAA8D;KAC5E;IACD,kCAAkC,EAAE;QAClC,EAAE,EAAE,kCAAkC;QACtC,cAAc,EAAE,sBAAsB;QACtC,WAAW,EACT,+DAA+D;KAClE;CACF,CAAC,CAAC;AAEH,eAAe,cAAc,CAAC","sourcesContent":["import { defineMessages } from '@openedx/frontend-base';\n\nconst footerMessages = defineMessages({\n 'footer.socialLinks.srText.facebook': {\n id: 'footer.socialLinks.srText.facebook',\n defaultMessage: 'Like edX on Facebook',\n description:\n 'This is screenreader text for the edX Facebook social media link in the footer.',\n },\n 'footer.socialLinks.srText.twitter': {\n id: 'footer.socialLinks.srText.twitter',\n defaultMessage: 'Follow edX on X (formerly Twitter)',\n description:\n 'This is screenreader text for the edX X (formerly Twitter) media link in the footer.',\n },\n 'footer.socialLinks.srText.youtube': {\n id: 'footer.socialLinks.srText.youtube',\n defaultMessage: 'Subscribe to the edX YouTube channel',\n description:\n 'This is screenreader text for the edX YouTube social media link in the footer.',\n },\n 'footer.socialLinks.srText.linkedin': {\n id: 'footer.socialLinks.srText.linkedin',\n defaultMessage: 'Follow edX on LinkedIn',\n description:\n 'This is screenreader text for the edX LinkedIn social media link in the footer.',\n },\n 'footer.socialLinks.srText.instagram': {\n id: 'footer.socialLinks.srText.instagram',\n defaultMessage: 'Follow edX on Instagram',\n description:\n 'This is screenreader text for the edX Instagram social media link in the footer.',\n },\n 'footer.socialLinks.srText.reddit': {\n id: 'footer.socialLinks.srText.reddit',\n defaultMessage: 'Subscribe to the edX subreddit',\n description:\n 'This is screenreader text for the edX reddit social media link in the footer.',\n },\n 'footer.languageForm.select.label': {\n id: 'footer.languageForm.select.label',\n defaultMessage: 'Choose Language',\n description:\n 'The label for the language select part of the language selection form.',\n },\n 'footer.languageForm.submit.label': {\n id: 'footer.languageForm.submit.label',\n defaultMessage: 'Apply',\n description: 'The label for button to submit the language selection form.',\n },\n 'footer.edxLinks.about': {\n id: 'footer.edxLinks.about',\n defaultMessage: 'About',\n description: 'The label for the link to the about edX page.',\n },\n 'footer.edxLinks.business': {\n id: 'footer.edxLinks.business',\n defaultMessage: 'edX for Business',\n description: 'The label for the link to the edX for business page.',\n },\n 'footer.edxLinks.affiliates': {\n id: 'footer.edxLinks.affiliates',\n defaultMessage: 'Affiliates',\n description: 'The label for the link to the edX affiliates page.',\n },\n 'footer.edxLinks.openEdx': {\n id: 'footer.edxLinks.openEdx',\n defaultMessage: 'Open edX',\n description: 'The label for the link to the open edX site.',\n },\n 'footer.edxLinks.careers': {\n id: 'footer.edxLinks.careers',\n defaultMessage: 'Careers',\n description: 'The label for the link to the edX Careers page.',\n },\n 'footer.edxLinks.news': {\n id: 'footer.edxLinks.news',\n defaultMessage: 'News',\n description: 'The label for the link to the edX news page.',\n },\n 'footer.legalLinks.heading': {\n id: 'footer.legalLinks.heading',\n defaultMessage: 'Legal',\n description: 'Heading for the legal links section of the footer.',\n },\n 'footer.legalLinks.termsOfService': {\n id: 'footer.legalLinks.termsOfService',\n defaultMessage: 'Terms of Service & Honor Code',\n description: 'The label for the link to the edX terms of service page.',\n },\n 'footer.legalLinks.privacyPolicy': {\n id: 'footer.legalLinks.privacyPolicy',\n defaultMessage: 'Privacy Policy',\n description: 'The label for the link to the edX privacy policy page.',\n },\n 'footer.legalLinks.a11yPolicy': {\n id: 'footer.legalLinks.a11yPolicy',\n defaultMessage: 'Accessibility Policy',\n description: 'The label for the link to the edX accessibility policy page.',\n },\n 'footer.legalLinks.trademarkPolicy': {\n id: 'footer.legalLinks.trademarkPolicy',\n defaultMessage: 'Trademark Policy',\n description: 'The label for the link to the edX trademark policy page.',\n },\n 'footer.legalLinks.sitemap': {\n id: 'footer.legalLinks.sitemap',\n defaultMessage: 'Sitemap',\n description: 'The label for the link to the edX sitemap page.',\n },\n 'footer.legalLinks.doNotSellData': {\n id: 'footer.legalLinks.doNotSellData',\n defaultMessage: 'Your Privacy Choices',\n description:\n 'link button that leads to the One Trust modal and sets the edx_do_not_sell cookie.',\n },\n 'footer.legalLinks.modernSlavery': {\n id: 'footer.legalLinks.modernSlavery',\n defaultMessage: 'Modern Slavery Statement',\n description: 'link button that leads to the edX \"Cookie Policy\" page',\n },\n 'footer.connectLinks.heading': {\n id: 'footer.connectLinks.heading',\n defaultMessage: 'Connect',\n description: 'Heading for the connect links section of the footer.',\n },\n 'footer.connectLinks.blog': {\n id: 'footer.connectLinks.blog',\n defaultMessage: 'Idea Hub',\n description: 'The label for the link to edX Idea Hub page.',\n },\n 'footer.connectLinks.contact': {\n id: 'footer.connectLinks.contact',\n defaultMessage: 'Contact Us',\n description: 'The label for the link to the contact edX page.',\n },\n 'footer.connectLinks.help': {\n id: 'footer.connectLinks.help',\n defaultMessage: 'Help Center',\n description: 'The label for the link to the edX help center.',\n },\n 'footer.connectLinks.security': {\n id: 'footer.connectLinks.security',\n defaultMessage: 'Security',\n description: 'The label for the link to the security disclosures page.',\n },\n 'footer.connectLinks.mediaKit': {\n id: 'footer.connectLinks.mediaKit',\n defaultMessage: 'Media Kit',\n description: 'The label for the link to the edX media kit page.',\n },\n 'footer.mobileApp.apple': {\n id: 'footer.mobileApp.apple',\n defaultMessage: 'Download the edX mobile app from the Apple App Store',\n description:\n 'The label for the link to download the apple version of the edX app.',\n },\n 'footer.mobileApp.google': {\n id: 'footer.mobileApp.google',\n defaultMessage: 'Download the edX mobile app from Google Play',\n description:\n 'The label for the link to download the google version of the edX app.',\n },\n 'footer.logo.altText': {\n id: 'footer.logo.altText',\n defaultMessage: 'edX Logo',\n description: 'alt text for the footer logo.',\n },\n 'footer.logo.ariaLabel': {\n id: 'footer.logo.ariaLabel',\n defaultMessage: 'edX Home',\n description: 'aria-label for the footer logo.',\n },\n 'footer.ariaLabel': {\n id: 'footer.ariaLabel',\n defaultMessage: 'Page Footer',\n description: 'aria-label for the footer component',\n },\n 'footer.copyRight': {\n id: 'footer.copyRight',\n defaultMessage: '© 2026 edX LLC. All rights reserved.',\n description: 'Footer copy right message',\n },\n 'footer.copyRightCn': {\n id: 'footer.copyRightCn',\n defaultMessage: '| 深圳市恒宇博科技有限公司',\n description: 'Footer copy right message CN',\n },\n 'footer.legalLinks.cookiePolicy': {\n id: 'footer.legalLinks.cookiePolicy',\n defaultMessage: 'Cookie Policy',\n description: 'link button that leads to the edX \"Cookie Policy\" page',\n },\n 'footer.legalLinks.advisory': {\n id: 'footer.legalLinks.advisory',\n defaultMessage: '2U Advisory Council',\n description: 'link button that leads to the edX \"2U Advisory Council\" page',\n },\n 'footer.legalLinks.privacyChoices': {\n id: 'footer.legalLinks.privacyChoices',\n defaultMessage: 'Your Privacy Choices',\n description:\n 'link button that leads to the edX \"Your Privacy Choices\" page',\n },\n});\n\nexport default footerMessages;\n"]}
@@ -48,7 +48,7 @@ const app = {
48
48
  slotId: 'org.openedx.frontend.slot.header.desktopRight.v1',
49
49
  id: 'org.edx.frontend.widget.learnerHome.headerLinkDashboard.v1',
50
50
  op: WidgetOperationTypes.PREPEND,
51
- element: (_jsx("div", { className: "px-3", children: _jsx(LinkMenuItem, { label: messages['header.user.menu.dashboard'].defaultMessage, url: subscriptionDashboardUrlPath, variant: "navLink" }) })),
51
+ element: (_jsx("div", { className: "px-3 dashboard-header-navlink", children: _jsx(LinkMenuItem, { label: messages['header.user.menu.dashboard'].defaultMessage, url: subscriptionDashboardUrlPath, variant: "hyperlink" }) })),
52
52
  },
53
53
  {
54
54
  slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',
@@ -1 +1 @@
1
- {"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/widgets/LearnerDashboardHeader/app.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEL,YAAY,EACZ,oBAAoB,EACpB,YAAY,GACb,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,KAAK,EACL,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAC1D,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAClE,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,MAAM,GAAG,GAAQ;IACf,KAAK,EAAE,kDAAkD;IACzD,KAAK,EAAE;QACL;YACE,MAAM,EAAE,0CAA0C;YAClD,EAAE,EAAE,oEAAoE;YACxE,EAAE,EAAE,oBAAoB,CAAC,OAAO;YAChC,SAAS,EAAE,kBAAkB;SA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G,CAAC","sourcesContent":["import {\n App,\n LinkMenuItem,\n WidgetOperationTypes,\n getAppConfig,\n} from '@openedx/frontend-base';\n\nimport {\n appId,\n subscriptionDashboardUrlPath,\n subscriptionSignoutRole,\n} from '../../constants';\n\nimport ConfirmEmailBanner from './ConfirmEmailBanner';\nimport ProgramsLinkMenuItem from './ProgramsLinkMenuItem';\nimport SupportLinkMenuItem from './SupportLinkMenuItem';\nimport OrderHistoryLinkMenuItem from './OrderHistoryLinkMenuItem';\nimport messages from '@src/messages';\nimport CustomAvatarMenu from './CustomAvatarMenu';\n\nconst app: App = {\n appId: 'org.openedx.frontend.app.learnerDashboard.header',\n slots: [\n {\n slotId: 'org.openedx.frontend.slot.header.main.v1',\n id: 'org.openedx.frontend.widget.learnerDashboard.headerConfirmEmail.v1',\n op: WidgetOperationTypes.PREPEND,\n component: ConfirmEmailBanner,\n },\n {\n slotId: 'org.openedx.frontend.slot.header.primaryLinks.v1',\n id: 'org.openedx.frontend.widget.learnerDashboard.headerLinkPrograms.v1',\n op: WidgetOperationTypes.APPEND,\n element: <ProgramsLinkMenuItem variant=\"navLink\" />,\n condition: {\n callback: () => getAppConfig(appId).ENABLE_PROGRAMS === true,\n },\n },\n {\n slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',\n id: 'org.openedx.frontend.widget.learnerDashboard.headerLinkSupport.v1',\n op: WidgetOperationTypes.APPEND,\n element: <SupportLinkMenuItem variant=\"dropdownItem\" />,\n condition: {\n callback: () => (getAppConfig(appId).SUPPORT_URL ? true : false),\n },\n },\n {\n slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',\n id: 'org.openedx.frontend.widget.learnerDashboard.headerLinkOrderHistory.v1',\n op: WidgetOperationTypes.INSERT_BEFORE,\n relatedId:\n 'org.openedx.frontend.widget.header.desktopAuthenticatedMenuLogout.v1',\n element: <OrderHistoryLinkMenuItem variant=\"navLink\" />,\n condition: {\n callback: () => (getAppConfig(appId).ORDER_HISTORY_URL ? true : false),\n },\n },\n {\n slotId: 'org.openedx.frontend.slot.header.desktopRight.v1',\n id: 'org.edx.frontend.widget.learnerHome.headerLinkDashboard.v1',\n op: WidgetOperationTypes.PREPEND,\n element: (\n <div className=\"px-3\">\n <LinkMenuItem\n label={messages['header.user.menu.dashboard'].defaultMessage}\n url={subscriptionDashboardUrlPath}\n variant=\"navLink\"\n />\n </div>\n ),\n },\n {\n slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',\n id: 'org.edx.frontend.widget.header.user.menu.manageSubscription.v1',\n op: WidgetOperationTypes.APPEND,\n element: (\n <LinkMenuItem\n label={messages['header.user.menu.manageSubscription'].defaultMessage}\n url=\"/manage-subscription\"\n variant=\"dropdownItem\"\n />\n ),\n },\n {\n slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',\n id: 'org.edx.frontend.widget.learnerDashboard.headerAuthenticatedMenuSignOut.v1',\n op: WidgetOperationTypes.APPEND,\n element: (\n <LinkMenuItem\n label={messages['header.user.menu.signOut'].defaultMessage}\n role={subscriptionSignoutRole}\n variant=\"dropdownItem\"\n />\n ),\n },\n {\n slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',\n id: 'org.edx.frontend.widget.learnerDashboard.dashboard.v1',\n op: WidgetOperationTypes.PREPEND,\n element: (\n <LinkMenuItem\n label={messages['header.user.menu.dashboard'].defaultMessage}\n url={subscriptionDashboardUrlPath}\n variant=\"dropdownItem\"\n />\n ),\n },\n {\n slotId: 'org.openedx.frontend.slot.header.desktopRight.v1',\n id: 'org.openedx.frontend.widget.header.desktopAuthenticatedMenu.v1',\n op: WidgetOperationTypes.REPLACE,\n relatedId:\n 'org.openedx.frontend.widget.header.desktopAuthenticatedMenu.v1', // Required for REPLACE\n element: <CustomAvatarMenu />,\n condition: {\n authenticated: true,\n },\n },\n // {\n // // TO-DO : Resume your last course will be implemented seprately in a different ticket.(Ticket: SUBS-818)\n // // https://2u-internal.atlassian.net/browse/SUBS-818\n // slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',\n // id: 'org.openedx.frontend.widget.learnerDashboard.headerAuthenticatedMenuLastCourse.v1',\n // op: WidgetOperationTypes.PREPEND,\n // element: (\n // <LinkMenuItem\n // label={messages['header.user.menu.lastCourse'].defaultMessage}\n // url=\"/last-course\"\n // variant=\"dropdownItem\"\n // />\n // )\n // },\n ],\n};\n\nexport default app;\n"]}
1
+ {"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/widgets/LearnerDashboardHeader/app.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEL,YAAY,EACZ,oBAAoB,EACpB,YAAY,GACb,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,KAAK,EACL,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAC1D,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAClE,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,MAAM,GAAG,GAAQ;IACf,KAAK,EAAE,kDAAkD;IACzD,KAAK,EAAE;QACL;YACE,MAAM,EAAE,0CAA0C;YAClD,EAAE,EAAE,oEAAoE;YACxE,EAAE,EAAE,oBAAoB,CAAC,OAAO;YAChC,SAAS,EAAE,kBAAkB;SAC9B;QACD;YACE,MAAM,EAAE,kDAAkD;YAC1D,EAAE,EAAE,oEAAoE;YACxE,EAAE,EAAE,oBAAoB,CAAC,MAAM;YAC/B,OAAO,EAAE,KAAC,oBAAoB,IAAC,OAAO,EAAC,SAAS,GAAG;YACnD,SAAS,EAAE;gBACT,QAAQ,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,eAAe,KAAK,IAAI;aAC7D;SACF;QACD;YACE,MAAM,EAAE,uDAAuD;YAC/D,E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,4EAA4E;YAChF,EAAE,EAAE,oBAAoB,CAAC,MAAM;YAC/B,OAAO,EAAE,CACP,KAAC,YAAY,IACX,KAAK,EAAE,QAAQ,CAAC,0BAA0B,CAAC,CAAC,cAAc,EAC1D,IAAI,EAAE,uBAAuB,EAC7B,OAAO,EAAC,cAAc,GACtB,CACH;SACF;QACD;YACE,MAAM,EAAE,uDAAuD;YAC/D,EAAE,EAAE,uDAAuD;YAC3D,EAAE,EAAE,oBAAoB,CAAC,OAAO;YAChC,OAAO,EAAE,CACP,KAAC,YAAY,IACX,KAAK,EAAE,QAAQ,CAAC,4BAA4B,CAAC,CAAC,cAAc,EAC5D,GAAG,EAAE,4BAA4B,EACjC,OAAO,EAAC,cAAc,GACtB,CACH;SACF;QACD;YACE,MAAM,EAAE,kDAAkD;YAC1D,EAAE,EAAE,gEAAgE;YACpE,EAAE,EAAE,oBAAoB,CAAC,OAAO;YAChC,SAAS,EACP,gEAAgE,EAAE,uBAAuB;YAC3F,OAAO,EAAE,KAAC,gBAAgB,KAAG;YAC7B,SAAS,EAAE;gBACT,aAAa,EAAE,IAAI;aACpB;SACF;QACD,IAAI;QACJ,8GAA8G;QAC9G,yDAAyD;QACzD,qEAAqE;QACrE,6FAA6F;QAC7F,sCAAsC;QACtC,eAAe;QACf,oBAAoB;QACpB,uEAAuE;QACvE,2BAA2B;QAC3B,+BAA+B;QAC/B,SAAS;QACT,MAAM;QACN,KAAK;KACN;CACF,CAAC;AAEF,eAAe,GAAG,CAAC","sourcesContent":["import {\n App,\n LinkMenuItem,\n WidgetOperationTypes,\n getAppConfig,\n} from '@openedx/frontend-base';\n\nimport {\n appId,\n subscriptionDashboardUrlPath,\n subscriptionSignoutRole,\n} from '../../constants';\n\nimport ConfirmEmailBanner from './ConfirmEmailBanner';\nimport ProgramsLinkMenuItem from './ProgramsLinkMenuItem';\nimport SupportLinkMenuItem from './SupportLinkMenuItem';\nimport OrderHistoryLinkMenuItem from './OrderHistoryLinkMenuItem';\nimport messages from '@src/messages';\nimport CustomAvatarMenu from './CustomAvatarMenu';\n\nconst app: App = {\n appId: 'org.openedx.frontend.app.learnerDashboard.header',\n slots: [\n {\n slotId: 'org.openedx.frontend.slot.header.main.v1',\n id: 'org.openedx.frontend.widget.learnerDashboard.headerConfirmEmail.v1',\n op: WidgetOperationTypes.PREPEND,\n component: ConfirmEmailBanner,\n },\n {\n slotId: 'org.openedx.frontend.slot.header.primaryLinks.v1',\n id: 'org.openedx.frontend.widget.learnerDashboard.headerLinkPrograms.v1',\n op: WidgetOperationTypes.APPEND,\n element: <ProgramsLinkMenuItem variant=\"navLink\" />,\n condition: {\n callback: () => getAppConfig(appId).ENABLE_PROGRAMS === true,\n },\n },\n {\n slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',\n id: 'org.openedx.frontend.widget.learnerDashboard.headerLinkSupport.v1',\n op: WidgetOperationTypes.APPEND,\n element: <SupportLinkMenuItem variant=\"dropdownItem\" />,\n condition: {\n callback: () => (getAppConfig(appId).SUPPORT_URL ? true : false),\n },\n },\n {\n slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',\n id: 'org.openedx.frontend.widget.learnerDashboard.headerLinkOrderHistory.v1',\n op: WidgetOperationTypes.INSERT_BEFORE,\n relatedId:\n 'org.openedx.frontend.widget.header.desktopAuthenticatedMenuLogout.v1',\n element: <OrderHistoryLinkMenuItem variant=\"navLink\" />,\n condition: {\n callback: () => (getAppConfig(appId).ORDER_HISTORY_URL ? true : false),\n },\n },\n {\n slotId: 'org.openedx.frontend.slot.header.desktopRight.v1',\n id: 'org.edx.frontend.widget.learnerHome.headerLinkDashboard.v1',\n op: WidgetOperationTypes.PREPEND,\n element: (\n <div className=\"px-3 dashboard-header-navlink\">\n <LinkMenuItem\n label={messages['header.user.menu.dashboard'].defaultMessage}\n url={subscriptionDashboardUrlPath}\n variant=\"hyperlink\"\n />\n </div>\n ),\n },\n {\n slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',\n id: 'org.edx.frontend.widget.header.user.menu.manageSubscription.v1',\n op: WidgetOperationTypes.APPEND,\n element: (\n <LinkMenuItem\n label={messages['header.user.menu.manageSubscription'].defaultMessage}\n url=\"/manage-subscription\"\n variant=\"dropdownItem\"\n />\n ),\n },\n {\n slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',\n id: 'org.edx.frontend.widget.learnerDashboard.headerAuthenticatedMenuSignOut.v1',\n op: WidgetOperationTypes.APPEND,\n element: (\n <LinkMenuItem\n label={messages['header.user.menu.signOut'].defaultMessage}\n role={subscriptionSignoutRole}\n variant=\"dropdownItem\"\n />\n ),\n },\n {\n slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',\n id: 'org.edx.frontend.widget.learnerDashboard.dashboard.v1',\n op: WidgetOperationTypes.PREPEND,\n element: (\n <LinkMenuItem\n label={messages['header.user.menu.dashboard'].defaultMessage}\n url={subscriptionDashboardUrlPath}\n variant=\"dropdownItem\"\n />\n ),\n },\n {\n slotId: 'org.openedx.frontend.slot.header.desktopRight.v1',\n id: 'org.openedx.frontend.widget.header.desktopAuthenticatedMenu.v1',\n op: WidgetOperationTypes.REPLACE,\n relatedId:\n 'org.openedx.frontend.widget.header.desktopAuthenticatedMenu.v1', // Required for REPLACE\n element: <CustomAvatarMenu />,\n condition: {\n authenticated: true,\n },\n },\n // {\n // // TO-DO : Resume your last course will be implemented seprately in a different ticket.(Ticket: SUBS-818)\n // // https://2u-internal.atlassian.net/browse/SUBS-818\n // slotId: 'org.openedx.frontend.slot.header.authenticatedMenu.v1',\n // id: 'org.openedx.frontend.widget.learnerDashboard.headerAuthenticatedMenuLastCourse.v1',\n // op: WidgetOperationTypes.PREPEND,\n // element: (\n // <LinkMenuItem\n // label={messages['header.user.menu.lastCourse'].defaultMessage}\n // url=\"/last-course\"\n // variant=\"dropdownItem\"\n // />\n // )\n // },\n ],\n};\n\nexport default app;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edx/frontend-app-subscription-learner-dashboard",
3
- "version": "1.37.2",
3
+ "version": "1.38.0",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",