richie-education 3.3.2-dev19 → 3.3.2-dev25
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/.eslintrc.json +0 -3
- package/.storybook/preview.tsx +1 -1
- package/cunningham.cjs +1 -0
- package/i18n/compile-translations.js +12 -10
- package/jest.config.js +5 -0
- package/js/components/AddressesManagement/AddressForm/index.stories.tsx +1 -1
- package/js/components/AddressesManagement/AddressForm/index.tsx +4 -3
- package/js/components/AddressesManagement/index.stories.tsx +1 -1
- package/js/components/AddressesManagement/index.tsx +5 -3
- package/js/components/Badge/index.stories.tsx +1 -1
- package/js/components/Badge/index.tsx +1 -1
- package/js/components/Banner/index.stories.tsx +1 -1
- package/js/components/CourseGlimpse/index.stories.tsx +1 -1
- package/js/components/CourseGlimpseList/index.stories.tsx +1 -1
- package/js/components/CreditCardSelector/index.tsx +11 -3
- package/js/components/DownloadCertificateButton/index.tsx +2 -1
- package/js/components/DownloadContractButton/index.tsx +7 -1
- package/js/components/Form/Form/index.tsx +4 -2
- package/js/components/Icon/index.stories.tsx +2 -1
- package/js/components/Modal/index.stories.tsx +1 -1
- package/js/components/Modal/index.tsx +2 -1
- package/js/components/OpenEdxFullNameForm/index.stories.tsx +1 -1
- package/js/components/OpenEdxFullNameForm/index.tsx +2 -2
- package/js/components/PurchaseButton/index.stories.tsx +1 -1
- package/js/components/RegisteredAddress/index.stories.tsx +1 -1
- package/js/components/RegisteredAddress/index.tsx +4 -2
- package/js/components/SaleTunnel/AddressSelector/CreateAddressFormModal.tsx +1 -1
- package/js/components/SaleTunnel/AddressSelector/EditAddressFormModal.tsx +1 -1
- package/js/components/SaleTunnel/AddressSelector/index.tsx +4 -2
- package/js/components/SaleTunnel/SaleTunnelInformation/SaleTunnelInformationGroup.tsx +4 -3
- package/js/components/SaleTunnel/SaleTunnelInformation/SaleTunnelInformationSingular.tsx +8 -2
- package/js/components/SaleTunnel/index.stories.tsx +1 -1
- package/js/components/Spinner/index.stories.tsx +1 -1
- package/js/components/Tabs/index.stories.tsx +1 -1
- package/js/components/Tabs/index.tsx +2 -1
- package/js/components/TeacherDashboardCourseList/index.tsx +2 -1
- package/js/hooks/useAddressesManagement.tsx +4 -2
- package/js/hooks/useCreditCards/index.ts +6 -4
- package/js/hooks/useDashboardAddressForm.tsx +3 -3
- package/js/hooks/useMatchMedia.ts +1 -1
- package/js/hooks/useResources/useResourcesRoot.ts +1 -1
- package/js/hooks/useUnionResource/index.ts +6 -2
- package/js/hooks/useUnionResource/utils/fetchEntity.ts +1 -0
- package/js/pages/DashboardAddressesManagement/DashboardAddressBox.tsx +3 -3
- package/js/pages/DashboardAddressesManagement/DashboardCreateAddress.stories.tsx +1 -1
- package/js/pages/DashboardAddressesManagement/DashboardCreateAddress.tsx +1 -1
- package/js/pages/DashboardAddressesManagement/DashboardEditAddress.stories.tsx +1 -1
- package/js/pages/DashboardAddressesManagement/DashboardEditAddress.tsx +3 -2
- package/js/pages/DashboardAddressesManagement/index.stories.tsx +1 -1
- package/js/pages/DashboardAddressesManagement/index.tsx +1 -1
- package/js/pages/DashboardCourses/index.tsx +2 -1
- package/js/pages/DashboardCreditCardsManagement/CreditCardBrandLogo.stories.tsx +1 -1
- package/js/pages/DashboardCreditCardsManagement/DashboardCreditCardBox.tsx +3 -3
- package/js/pages/DashboardCreditCardsManagement/DashboardEditCreditCard.stories.tsx +1 -1
- package/js/pages/DashboardCreditCardsManagement/DashboardEditCreditCard.tsx +3 -2
- package/js/pages/DashboardCreditCardsManagement/index.stories.tsx +1 -1
- package/js/pages/DashboardOpenEdxProfile/index.stories.tsx +1 -1
- package/js/pages/TeacherDashboardContractsLayout/components/BulkDownloadContractButton/index.tsx +4 -2
- package/js/pages/TeacherDashboardContractsLayout/components/SignOrganizationContractButton/index.tsx +2 -1
- package/js/pages/TeacherDashboardContractsLayout/hooks/useCheckContractArchiveExists/index.spec.tsx +4 -4
- package/js/pages/TeacherDashboardContractsLayout/hooks/useDownloadContractArchive/index.spec.tsx +8 -9
- package/js/pages/TeacherDashboardContractsLayout/hooks/useDownloadContractArchive/index.tsx +14 -3
- package/js/pages/TeacherDashboardCourseLearnersLayout/components/CourseLearnerDataGrid/index.tsx +6 -1
- package/js/pages/TeacherDashboardCourseLoader/CourseRunList/utils.tsx +2 -1
- package/js/pages/TeacherDashboardOrganizationAgreements/BulkAgreementContractButton.tsx +4 -2
- package/js/pages/TeacherDashboardOrganizationAgreements/SignOrganizationAgreementButton.tsx +2 -1
- package/js/pages/TeacherDashboardOrganizationQuotes/index.tsx +2 -1
- package/js/utils/ProductHelper/index.spec.ts +1 -1
- package/js/utils/cunningham-tokens.ts +1111 -142
- package/js/utils/errors/handle.spec.ts +3 -3
- package/js/utils/react-query/useSessionMutation/index.ts +8 -3
- package/js/widgets/Dashboard/components/DashboardAvatar/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardBox/index.stories.tsx +13 -5
- package/js/widgets/Dashboard/components/DashboardBreadcrumbs/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardBreadcrumbs/index.tsx +3 -2
- package/js/widgets/Dashboard/components/DashboardCard/index.spec.tsx +13 -2
- package/js/widgets/Dashboard/components/DashboardCard/index.stories.tsx +12 -4
- package/js/widgets/Dashboard/components/DashboardCard/index.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/BatchOrder/BatchOrderPaymentModal/BatchOrderPaymentManager.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/BatchOrder/BatchOrderPaymentModal/index.tsx +2 -1
- package/js/widgets/Dashboard/components/DashboardItem/Certificate/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/Contract/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/CourseEnrolling/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/CourseEnrolling/index.tsx +8 -4
- package/js/widgets/Dashboard/components/DashboardItem/Enrollment/DashboardItemEnrollment.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/Enrollment/ProductCertificateFooter/index.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/Order/DashboardItemOrderReadonly.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/Order/DashboardItemOrderWritable.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/Order/Installment/index.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrderPaymentRetryModal/index.tsx +2 -1
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrganizationBlock/index.tsx +6 -3
- package/js/widgets/Dashboard/components/DashboardItem/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardItem/index.tsx +2 -1
- package/js/widgets/Dashboard/components/DashboardListAvatar/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/DashboardSidebar/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/LearnerDashboardSidebar/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/ProtectedOutlet/AuthenticatedOutlet.spec.tsx +1 -1
- package/js/widgets/Dashboard/components/ProtectedOutlet/ProtectedOutlet.spec.tsx +1 -1
- package/js/widgets/Dashboard/components/SearchBar/index.tsx +2 -1
- package/js/widgets/Dashboard/components/TeacherDashboardOrganizationSidebar/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/components/TeacherDashboardProfileSidebar/index.stories.tsx +1 -1
- package/js/widgets/Dashboard/index.spec.tsx +1 -1
- package/js/widgets/Search/components/SearchFilterValueParent/index.stories.tsx +1 -1
- package/js/widgets/Search/components/SearchFiltersPane/index.tsx +2 -1
- package/js/widgets/Slider/index.stories.tsx +1 -1
- package/js/widgets/SyllabusCourseRunsList/components/CourseProductItem/components/CourseProductCertificateItem/index.stories.tsx +1 -1
- package/js/widgets/SyllabusCourseRunsList/components/CourseProductItem/components/CourseRunItem/index.stories.tsx +1 -1
- package/js/widgets/SyllabusCourseRunsList/components/CourseProductItem/index.stories.tsx +1 -1
- package/js/widgets/SyllabusCourseRunsList/components/CourseWishButton/index.tsx +4 -2
- package/js/widgets/SyllabusCourseRunsList/components/SyllabusCourseRun/index.stories.tsx +1 -1
- package/js/widgets/SyllabusCourseRunsList/components/SyllabusCourseRunCompacted/index.stories.tsx +1 -1
- package/js/widgets/UserLogin/index.stories.tsx +1 -1
- package/package.json +75 -75
- package/scss/vendors/css/cunningham-tokens.css +1259 -154
- package/scss/vendors/cunningham-tokens.scss +1479 -150
- package/tsconfig.json +1 -1
- package/webpack.config.js +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "richie-education",
|
|
3
|
-
"version": "3.3.2-
|
|
3
|
+
"version": "3.3.2-dev25",
|
|
4
4
|
"description": "A CMS to build learning portals for Open Education",
|
|
5
5
|
"main": "sandbox/manage.py",
|
|
6
6
|
"scripts": {
|
|
@@ -34,125 +34,125 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://github.com/openfun/richie#readme",
|
|
36
36
|
"browserslist": [
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"not
|
|
37
|
+
">0.2%",
|
|
38
|
+
"not dead",
|
|
39
|
+
"not op_mini all"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@babel/core": "7.
|
|
42
|
+
"@babel/core": "7.29.0",
|
|
43
43
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
44
|
-
"@babel/plugin-transform-modules-commonjs": "7.
|
|
45
|
-
"@babel/preset-env": "7.
|
|
46
|
-
"@babel/preset-react": "7.
|
|
47
|
-
"@babel/preset-typescript": "7.
|
|
44
|
+
"@babel/plugin-transform-modules-commonjs": "7.28.6",
|
|
45
|
+
"@babel/preset-env": "7.29.0",
|
|
46
|
+
"@babel/preset-react": "7.28.5",
|
|
47
|
+
"@babel/preset-typescript": "7.28.5",
|
|
48
48
|
"@emotion/react": "^11.14.0",
|
|
49
49
|
"@emotion/styled": "^11.14.1",
|
|
50
|
-
"@faker-js/faker": "
|
|
51
|
-
"@formatjs/cli": "6.
|
|
52
|
-
"@formatjs/intl-relativetimeformat": "
|
|
53
|
-
"@hookform/resolvers": "
|
|
54
|
-
"@lyracom/embedded-form-glue": "1.4.
|
|
50
|
+
"@faker-js/faker": "10.3.0",
|
|
51
|
+
"@formatjs/cli": "6.13.0",
|
|
52
|
+
"@formatjs/intl-relativetimeformat": "12.2.2",
|
|
53
|
+
"@hookform/resolvers": "5.2.2",
|
|
54
|
+
"@lyracom/embedded-form-glue": "1.4.4",
|
|
55
55
|
"@mui/material": "^7.3.2",
|
|
56
|
-
"@openfun/cunningham-react": "
|
|
57
|
-
"@openfun/cunningham-tokens": "
|
|
58
|
-
"@sentry/browser": "
|
|
59
|
-
"@sentry/types": "
|
|
60
|
-
"@storybook/addon-actions": "
|
|
61
|
-
"@storybook/addon-essentials": "8.6.
|
|
62
|
-
"@storybook/addon-interactions": "8.6.
|
|
63
|
-
"@storybook/addon-links": "
|
|
64
|
-
"@storybook/react": "
|
|
65
|
-
"@storybook/react-webpack5": "
|
|
66
|
-
"@storybook/test": "8.6.
|
|
67
|
-
"@tanstack/query-core": "5.
|
|
68
|
-
"@tanstack/query-sync-storage-persister": "5.
|
|
69
|
-
"@tanstack/react-query": "5.
|
|
70
|
-
"@tanstack/react-query-devtools": "5.
|
|
71
|
-
"@tanstack/react-query-persist-client": "5.
|
|
72
|
-
"@testing-library/dom": "10.4.
|
|
73
|
-
"@testing-library/jest-dom": "6.
|
|
74
|
-
"@testing-library/react": "16.2
|
|
56
|
+
"@openfun/cunningham-react": "4.0.0",
|
|
57
|
+
"@openfun/cunningham-tokens": "3.0.0",
|
|
58
|
+
"@sentry/browser": "10.40.0",
|
|
59
|
+
"@sentry/types": "10.40.0",
|
|
60
|
+
"@storybook/addon-actions": "9.0.8",
|
|
61
|
+
"@storybook/addon-essentials": "8.6.14",
|
|
62
|
+
"@storybook/addon-interactions": "8.6.14",
|
|
63
|
+
"@storybook/addon-links": "10.2.13",
|
|
64
|
+
"@storybook/react": "10.2.13",
|
|
65
|
+
"@storybook/react-webpack5": "10.2.13",
|
|
66
|
+
"@storybook/test": "8.6.15",
|
|
67
|
+
"@tanstack/query-core": "5.90.20",
|
|
68
|
+
"@tanstack/query-sync-storage-persister": "5.90.23",
|
|
69
|
+
"@tanstack/react-query": "5.90.21",
|
|
70
|
+
"@tanstack/react-query-devtools": "5.91.3",
|
|
71
|
+
"@tanstack/react-query-persist-client": "5.90.23",
|
|
72
|
+
"@testing-library/dom": "10.4.1",
|
|
73
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
74
|
+
"@testing-library/react": "16.3.2",
|
|
75
75
|
"@testing-library/user-event": "14.6.1",
|
|
76
76
|
"@types/fetch-mock": "9.2.2",
|
|
77
77
|
"@types/iframe-resizer": "4.0.0",
|
|
78
|
-
"@types/jest": "
|
|
78
|
+
"@types/jest": "30.0.0",
|
|
79
79
|
"@types/js-cookie": "3.0.6",
|
|
80
80
|
"@types/lodash-es": "4.17.12",
|
|
81
|
-
"@types/node-fetch": "2.6.
|
|
81
|
+
"@types/node-fetch": "2.6.13",
|
|
82
82
|
"@types/query-string": "6.3.0",
|
|
83
|
-
"@types/react": "19.
|
|
83
|
+
"@types/react": "19.2.14",
|
|
84
84
|
"@types/react-autosuggest": "10.1.11",
|
|
85
|
-
"@types/react-dom": "19.
|
|
85
|
+
"@types/react-dom": "19.2.3",
|
|
86
86
|
"@types/react-modal": "3.16.3",
|
|
87
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
88
|
-
"@typescript-eslint/parser": "8.
|
|
89
|
-
"babel-jest": "
|
|
87
|
+
"@typescript-eslint/eslint-plugin": "8.56.1",
|
|
88
|
+
"@typescript-eslint/parser": "8.56.1",
|
|
89
|
+
"babel-jest": "30.2.0",
|
|
90
90
|
"babel-loader": "10.0.0",
|
|
91
91
|
"babel-plugin-react-intl": "8.2.25",
|
|
92
92
|
"bootstrap": ">=4.6.0 <5",
|
|
93
93
|
"classnames": "2.5.1",
|
|
94
94
|
"cljs-merge": "1.1.1",
|
|
95
|
-
"core-js": "3.
|
|
96
|
-
"downshift": "9.
|
|
95
|
+
"core-js": "3.48.0",
|
|
96
|
+
"downshift": "9.3.2",
|
|
97
97
|
"embla-carousel-autoplay": "8.6.0",
|
|
98
|
-
"embla-carousel-react": "8.
|
|
99
|
-
"embla-carousel-wheel-gestures": "8.0
|
|
98
|
+
"embla-carousel-react": "8.6.0",
|
|
99
|
+
"embla-carousel-wheel-gestures": "8.1.0",
|
|
100
100
|
"eslint": ">=8.57.0 <9",
|
|
101
101
|
"eslint-config-airbnb": "19.0.4",
|
|
102
102
|
"eslint-config-airbnb-typescript": "18.0.0",
|
|
103
|
-
"eslint-config-prettier": "10.1.
|
|
103
|
+
"eslint-config-prettier": "10.1.8",
|
|
104
104
|
"eslint-import-resolver-webpack": "0.13.10",
|
|
105
|
-
"eslint-plugin-compat": "
|
|
106
|
-
"eslint-plugin-formatjs": "
|
|
107
|
-
"eslint-plugin-import": "2.
|
|
105
|
+
"eslint-plugin-compat": "7.0.0",
|
|
106
|
+
"eslint-plugin-formatjs": "6.2.0",
|
|
107
|
+
"eslint-plugin-import": "2.32.0",
|
|
108
108
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
109
|
-
"eslint-plugin-prettier": "5.
|
|
110
|
-
"eslint-plugin-react": "7.37.
|
|
111
|
-
"eslint-plugin-react-hooks": "
|
|
112
|
-
"eslint-plugin-storybook": "
|
|
109
|
+
"eslint-plugin-prettier": "5.5.5",
|
|
110
|
+
"eslint-plugin-react": "7.37.5",
|
|
111
|
+
"eslint-plugin-react-hooks": "7.0.1",
|
|
112
|
+
"eslint-plugin-storybook": "10.2.13",
|
|
113
113
|
"fetch-mock": "<10",
|
|
114
114
|
"file-loader": "6.2.0",
|
|
115
115
|
"glob": "11.0.1",
|
|
116
116
|
"i18n-iso-countries": "7.14.0",
|
|
117
117
|
"iframe-resizer": "<5",
|
|
118
118
|
"intl-pluralrules": "2.0.1",
|
|
119
|
-
"jest": "
|
|
120
|
-
"jest-environment-jsdom": "
|
|
119
|
+
"jest": "30.2.0",
|
|
120
|
+
"jest-environment-jsdom": "30.2.0",
|
|
121
121
|
"js-cookie": "3.0.5",
|
|
122
|
-
"keycloak-js": "26.2.
|
|
122
|
+
"keycloak-js": "26.2.3",
|
|
123
123
|
"lodash-es": "4.17.21",
|
|
124
124
|
"mdn-polyfills": "5.20.0",
|
|
125
|
-
"msw": "2.
|
|
125
|
+
"msw": "2.12.10",
|
|
126
126
|
"node-fetch": ">2.6.6 <3",
|
|
127
|
-
"nodemon": "3.1.
|
|
128
|
-
"prettier": "3.
|
|
129
|
-
"query-string": "9.
|
|
130
|
-
"react": "19.
|
|
127
|
+
"nodemon": "3.1.14",
|
|
128
|
+
"prettier": "3.8.1",
|
|
129
|
+
"query-string": "9.3.1",
|
|
130
|
+
"react": "19.2.4",
|
|
131
131
|
"react-autosuggest": "10.1.0",
|
|
132
|
-
"react-dom": "19.
|
|
133
|
-
"react-hook-form": "7.
|
|
134
|
-
"react-intl": "
|
|
132
|
+
"react-dom": "19.2.4",
|
|
133
|
+
"react-hook-form": "7.71.2",
|
|
134
|
+
"react-intl": "8.1.3",
|
|
135
135
|
"react-modal": "3.16.3",
|
|
136
136
|
"react-router": "7.4.0",
|
|
137
|
-
"sass": "1.
|
|
137
|
+
"sass": "1.97.3",
|
|
138
138
|
"source-map-loader": "5.0.0",
|
|
139
139
|
"storybook": "8.6.8",
|
|
140
140
|
"tsconfig-paths-webpack-plugin": "4.2.0",
|
|
141
|
-
"typescript": "5.
|
|
142
|
-
"uuid": "
|
|
141
|
+
"typescript": "5.9.3",
|
|
142
|
+
"uuid": "13.0.0",
|
|
143
143
|
"webpack": "5.98.0",
|
|
144
144
|
"webpack-cli": "6.0.1",
|
|
145
145
|
"whatwg-fetch": "3.6.20",
|
|
146
146
|
"xhr-mock": "2.5.1",
|
|
147
|
-
"yargs": "
|
|
148
|
-
"yup": "1.
|
|
147
|
+
"yargs": "18.0.0",
|
|
148
|
+
"yup": "1.7.1"
|
|
149
149
|
},
|
|
150
150
|
"resolutions": {
|
|
151
|
-
"@testing-library/dom": "10.4.
|
|
152
|
-
"@types/react": "19.
|
|
153
|
-
"@types/react-dom": "19.
|
|
154
|
-
"react": "19.
|
|
155
|
-
"react-dom": "19.
|
|
151
|
+
"@testing-library/dom": "10.4.1",
|
|
152
|
+
"@types/react": "19.2.14",
|
|
153
|
+
"@types/react-dom": "19.2.3",
|
|
154
|
+
"react": "19.2.4",
|
|
155
|
+
"react-dom": "19.2.4"
|
|
156
156
|
},
|
|
157
157
|
"msw": {
|
|
158
158
|
"workerDirectory": "../richie/static/richie/js"
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"yarn": "1.22.22"
|
|
163
163
|
},
|
|
164
164
|
"devDependencies": {
|
|
165
|
-
"@storybook/addon-mdx-gfm": "8.6.
|
|
166
|
-
"@storybook/addon-webpack5-compiler-babel": "
|
|
165
|
+
"@storybook/addon-mdx-gfm": "8.6.14",
|
|
166
|
+
"@storybook/addon-webpack5-compiler-babel": "4.0.0"
|
|
167
167
|
}
|
|
168
168
|
}
|