@openedx/frontend-app-authn 1.0.0-alpha.11 → 1.0.0-alpha.12
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/Main.d.ts +1 -1
- package/dist/Main.js +1 -1
- package/dist/Main.js.map +1 -1
- package/dist/routes.js +1 -1
- package/dist/routes.js.map +1 -1
- package/dist/sass/_base_component.scss +2 -2
- package/dist/{sass/_style.scss → style.scss} +8 -6
- package/package.json +2 -4
- package/dist/app.scss +0 -2
package/dist/Main.d.ts
CHANGED
package/dist/Main.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Outlet } from 'react-router-dom';
|
|
|
3
3
|
import { CurrentAppProvider } from '@openedx/frontend-base';
|
|
4
4
|
import { appId } from './constants';
|
|
5
5
|
import { registerIcons, } from './common-components';
|
|
6
|
-
import './
|
|
6
|
+
import './style.scss';
|
|
7
7
|
registerIcons();
|
|
8
8
|
const Main = () => (_jsx(CurrentAppProvider, { appId: appId, children: _jsx(Outlet, {}) }));
|
|
9
9
|
export default Main;
|
package/dist/Main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Main.js","sourceRoot":"","sources":["../src/Main.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,aAAa,GACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,
|
|
1
|
+
{"version":3,"file":"Main.js","sourceRoot":"","sources":["../src/Main.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,aAAa,GACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,cAAc,CAAC;AAEtB,aAAa,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,GAAG,EAAE,CAAC,CACjB,KAAC,kBAAkB,IAAC,KAAK,EAAE,KAAK,YAC9B,KAAC,MAAM,KAAG,GACS,CACtB,CAAC;AAEF,eAAe,IAAI,CAAC","sourcesContent":["import { Outlet } from 'react-router-dom';\nimport { CurrentAppProvider } from '@openedx/frontend-base';\n\nimport { appId } from './constants';\nimport {\n registerIcons,\n} from './common-components';\n\nimport './style.scss';\n\nregisterIcons();\n\nconst Main = () => (\n <CurrentAppProvider appId={appId}>\n <Outlet />\n </CurrentAppProvider>\n);\n\nexport default Main;\n"]}
|
package/dist/routes.js
CHANGED
|
@@ -21,7 +21,7 @@ const routes = [
|
|
|
21
21
|
path: '/authn',
|
|
22
22
|
lazy() {
|
|
23
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
const module = yield import('./Main');
|
|
24
|
+
const module = yield import(/* webpackChunkName: "authn-main" */ './Main');
|
|
25
25
|
return { Component: module.default };
|
|
26
26
|
});
|
|
27
27
|
},
|
package/dist/routes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../src/routes.jsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAE,yBAAyB,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC/F,OAAO,EACL,mBAAmB,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EACvD,wBAAwB,EAAE,oBAAoB,EAAE,YAAY,EAAE,YAAY,EAC1E,SAAS,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW,GACvD,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,oBAAo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AC,KAAC,gBAAgB,KAAG,GAA4B,CAC5E;aACF;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,MAAM,EAAE;oBACN,KAAK,EAAE,CAAC,SAAS,CAAC;iBACnB;gBACD,OAAO,EAAE,CACP,KAAC,eAAe,cAAC,KAAC,YAAY,IAAC,YAAY,EAAE,SAAS,GAAI,GAAkB,CAC7E;aACF;YACD;gBACE,IAAI,EAAE,YAAY;gBAClB,MAAM,EAAE;oBACN,KAAK,EAAE,CAAC,YAAY,CAAC;iBACtB;gBACD,OAAO,EAAE,CACP,KAAC,eAAe,cAAC,KAAC,YAAY,KAAG,GAAkB,CACpD;aACF;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,MAAM,EAAE;oBACN,KAAK,EAAE,CAAC,iBAAiB,CAAC;iBAC3B;gBACD,OAAO,EAAE,CACP,KAAC,eAAe,cAAC,KAAC,kBAAkB,KAAG,GAAkB,CAC1D;aACF;YACD;gBACE,IAAI,EAAE,GAAG,wBAAwB,SAAS;gBAC1C,MAAM,EAAE;oBACN,KAAK,EAAE,CAAC,mBAAmB,CAAC;iBAC7B;gBACD,OAAO,EAAE,CACP,KAAC,iBAAiB,KAAG,CACtB;aACF;YACD;gBACE,IAAI,EAAE,WAAW;gBACjB,MAAM,EAAE;oBACN,KAAK,EAAE,CAAC,WAAW,CAAC;iBACrB;gBACD,OAAO,EAAE,CACP,KAAC,oBAAoB,KAAG,CACzB;aACF;YACD;gBACE,IAAI,EAAE,YAAY;gBAClB,OAAO,EAAE,CACP,KAAC,YAAY,KAAG,CACjB;aACF;SACF;KACF;CACF,CAAC;AAEF,eAAe,MAAM,CAAC","sourcesContent":["import { EmbeddedRegistrationRoute, NotFoundPage, UnAuthOnlyRoute } from './common-components';\nimport {\n confirmPasswordRole, loginPath, loginRole, notFoundPath,\n passwordResetConfirmPath, registerEmbeddedPath, registerPath, registerRole,\n resetPath, resetPasswordRole, welcomePath, welcomeRole,\n} from './constants';\nimport { ForgotPasswordPage } from './forgot-password';\nimport Logistration from './logistration/Logistration';\nimport { ProgressiveProfiling } from './progressive-profiling';\nimport { RegistrationPage } from './register';\nimport { ResetPasswordPage } from './reset-password';\n\nconst routes = [\n {\n id: 'org.openedx.frontend.route.authn.main',\n path: '/authn',\n async lazy() {\n const module = await import(/* webpackChunkName: \"authn-main\" */ './Main');\n return { Component: module.default };\n },\n children: [\n {\n path: registerEmbeddedPath,\n element: (\n <EmbeddedRegistrationRoute><RegistrationPage /></EmbeddedRegistrationRoute>\n ),\n },\n {\n path: loginPath,\n handle: {\n roles: [loginRole],\n },\n element: (\n <UnAuthOnlyRoute><Logistration selectedPage={loginPath} /></UnAuthOnlyRoute>\n ),\n },\n {\n path: registerPath,\n handle: {\n roles: [registerRole],\n },\n element: (\n <UnAuthOnlyRoute><Logistration /></UnAuthOnlyRoute>\n ),\n },\n {\n path: resetPath,\n handle: {\n roles: [resetPasswordRole],\n },\n element: (\n <UnAuthOnlyRoute><ForgotPasswordPage /></UnAuthOnlyRoute>\n ),\n },\n {\n path: `${passwordResetConfirmPath}/:token`,\n handle: {\n roles: [confirmPasswordRole],\n },\n element: (\n <ResetPasswordPage />\n ),\n },\n {\n path: welcomePath,\n handle: {\n roles: [welcomeRole],\n },\n element: (\n <ProgressiveProfiling />\n ),\n },\n {\n path: notFoundPath,\n element: (\n <NotFoundPage />\n ),\n },\n ]\n }\n];\n\nexport default routes;\n"]}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
margin-bottom: 0.5rem;
|
|
60
60
|
font-weight: 700;
|
|
61
61
|
|
|
62
|
-
@media (
|
|
62
|
+
@media (--pgn-size-breakpoint-max-width-xl) {
|
|
63
63
|
font-size: 1.375rem;
|
|
64
64
|
line-height: 1.75rem;
|
|
65
65
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.large-screen-left-container {
|
|
74
|
-
@media (
|
|
74
|
+
@media (--pgn-size-breakpoint-max-width-xl) {
|
|
75
75
|
flex: 0 0 25%;
|
|
76
76
|
max-width: 25%;
|
|
77
77
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
@use "@openedx/paragon/styles/css/core/custom-media-breakpoints.css";
|
|
2
|
+
|
|
1
3
|
// Load component based styles
|
|
2
|
-
@use "
|
|
3
|
-
@use "
|
|
4
|
-
@use "
|
|
5
|
-
@use "
|
|
6
|
-
@use "
|
|
7
|
-
@use "
|
|
4
|
+
@use "./sass/base_component";
|
|
5
|
+
@use "./sass/registration";
|
|
6
|
+
@use "./sass/reset_password";
|
|
7
|
+
@use "./sass/progressive_profiling_page";
|
|
8
|
+
@use "./sass/login_page";
|
|
9
|
+
@use "./sass/forgot_password";
|
|
8
10
|
|
|
9
11
|
//
|
|
10
12
|
// ----------------------------
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openedx/frontend-app-authn",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.12",
|
|
4
4
|
"description": "Frontend authentication",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^24.12"
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"url": "git+https://github.com/openedx/frontend-app-authn.git"
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
|
-
".": "./dist/index.js"
|
|
14
|
-
"./app.scss": "./dist/app.scss"
|
|
13
|
+
".": "./dist/index.js"
|
|
15
14
|
},
|
|
16
15
|
"files": [
|
|
17
16
|
"/dist"
|
|
@@ -59,7 +58,6 @@
|
|
|
59
58
|
"url": "https://github.com/openedx/frontend-app-authn/issues"
|
|
60
59
|
},
|
|
61
60
|
"dependencies": {
|
|
62
|
-
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.3",
|
|
63
61
|
"@edx/openedx-atlas": "^0.7.0",
|
|
64
62
|
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
|
65
63
|
"@fortawesome/free-brands-svg-icons": "^6.7.2",
|
package/dist/app.scss
DELETED