Skip to content

Commit 0b85f5e

Browse files
committed
refactor: update paragon version and scss to use css variables
1 parent 8b321f1 commit 0b85f5e

File tree

6 files changed

+1350
-91
lines changed

6 files changed

+1350
-91
lines changed

dist/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
"homepage": "https://github.com/openedx/frontend-platform#readme",
3535
"devDependencies": {
3636
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
37-
"@edx/browserslist-config": "1.2.0",
38-
"@openedx/frontend-build": "14.1.5",
39-
"@openedx/paragon": "22.8.1",
40-
"@testing-library/jest-dom": "6.5.0",
37+
"@edx/browserslist-config": "1.4.0",
38+
"@openedx/frontend-build": "14.2.2",
39+
"@openedx/paragon": "23.1.1",
40+
"@testing-library/jest-dom": "6.6.3",
4141
"@testing-library/react": "12.1.5",
4242
"@testing-library/react-hooks": "^8.0.1",
4343
"@testing-library/user-event": "14.4.3",
@@ -46,7 +46,7 @@
4646
"jest-environment-jsdom": "29.7.0",
4747
"jest-localstorage-mock": "^2.4.26",
4848
"jsdoc": "^4.0.0",
49-
"nodemon": "3.1.7",
49+
"nodemon": "3.1.9",
5050
"prop-types": "15.8.1",
5151
"react": "17.0.2",
5252
"react-dom": "17.0.2",
@@ -59,7 +59,7 @@
5959
"@formatjs/intl-pluralrules": "4.3.3",
6060
"@formatjs/intl-relativetimeformat": "10.0.1",
6161
"axios": "1.6.7",
62-
"axios-cache-interceptor": "1.3.2",
62+
"axios-cache-interceptor": "1.6.2",
6363
"form-urlencoded": "4.1.4",
6464
"glob": "7.2.3",
6565
"history": "4.10.1",
@@ -71,13 +71,13 @@
7171
"lodash.memoize": "4.1.2",
7272
"lodash.merge": "4.6.2",
7373
"lodash.snakecase": "4.1.1",
74-
"pubsub-js": "1.9.4",
75-
"react-intl": "6.7.0",
74+
"pubsub-js": "1.9.5",
75+
"react-intl": "6.8.9",
7676
"universal-cookie": "4.0.4"
7777
},
7878
"peerDependencies": {
7979
"@openedx/frontend-build": ">= 14.0.0",
80-
"@openedx/paragon": " 23.0.0-alpha.4 || >= 21.5.7 < 23.0.0",
80+
"@openedx/paragon": ">= 21.5.7 < 24.0.0",
8181
"prop-types": ">=15.7.2 <16.0.0",
8282
"react": "^16.9.0 || ^17.0.0",
8383
"react-dom": "^16.9.0 || ^17.0.0",

env.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ const config = {
55
JS_FILE_VAR: 'JS_FILE_VAR_VALUE_FOR_EXAMPLE_APP',
66
};
77

8-
module.config = config;
8+
module.exports = config;

example/index.scss

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
@import "@edx/brand/paragon/fonts";
2-
@import "@edx/brand/paragon/variables";
3-
@import "@openedx/paragon/scss/core/core";
4-
@import "@edx/brand/paragon/overrides";
1+
@use "@openedx/paragon/styles/css/core/custom-media-breakpoints.css" as paragonCustomMediaBreakpoints;

0 commit comments

Comments
 (0)