richie-education 3.5.1 → 3.5.2-dev8
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/js/api/joanie.ts +5 -0
- package/js/api/lms/dummy.ts +1 -0
- package/js/api/lms/openedx-fonzie-keycloak.spec.ts +7 -10
- package/js/api/lms/openedx-fonzie-keycloak.ts +24 -21
- package/js/components/SaleTunnel/index.spec.tsx +31 -1
- package/js/hooks/useLearnerCoursesSearch/index.tsx +17 -4
- package/js/hooks/useProductOrder/index.spec.tsx +1 -0
- package/js/pages/DashboardCourses/index.spec.tsx +40 -8
- package/js/types/Joanie.ts +18 -1
- package/js/utils/OrderHelper/index.spec.ts +75 -0
- package/js/utils/OrderHelper/index.ts +14 -2
- package/js/utils/test/factories/joanie.ts +10 -0
- package/js/widgets/Dashboard/components/DashboardItem/Enrollment/ProductCertificateFooter/index.spec.tsx +213 -1
- package/js/widgets/Dashboard/components/DashboardItem/Enrollment/ProductCertificateFooter/index.tsx +133 -31
- package/js/widgets/Dashboard/components/DashboardItem/Order/DashboardItemOrder.spec.tsx +22 -0
- package/js/widgets/Dashboard/components/DashboardItem/Order/DashboardItemOrder.tsx +29 -13
- package/js/widgets/Dashboard/components/DashboardItem/Order/DashboardItemOrderContract.useUnionResource.cache.spec.tsx +0 -2
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrderStateLearnerMessage/index.spec.tsx +12 -0
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrderStateLearnerMessage/index.tsx +11 -0
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrderStateMessage/index.tsx +5 -1
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrderStateTeacherMessage/index.spec.tsx +12 -0
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrderStateTeacherMessage/index.tsx +11 -0
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrderWithdrawalModal/index.spec.tsx +145 -0
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrderWithdrawalModal/index.tsx +259 -0
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrganizationBlock/index.spec.tsx +102 -0
- package/js/widgets/Dashboard/components/DashboardItem/Order/OrganizationBlock/index.tsx +84 -2
- package/js/widgets/Dashboard/components/DashboardItem/_styles.scss +9 -1
- package/js/widgets/Dashboard/index.spec.tsx +0 -1
- package/package.json +1 -1
|
@@ -56,7 +56,9 @@
|
|
|
56
56
|
|
|
57
57
|
&__status {
|
|
58
58
|
display: flex;
|
|
59
|
-
|
|
59
|
+
// flex-start (not center) so the icon stays aligned with the first line
|
|
60
|
+
// of text when the text wraps onto several lines.
|
|
61
|
+
align-items: flex-start;
|
|
60
62
|
gap: 0.5rem;
|
|
61
63
|
|
|
62
64
|
@include media-breakpoint-down(sm) {
|
|
@@ -179,6 +181,7 @@
|
|
|
179
181
|
justify-content: space-between;
|
|
180
182
|
padding: 0.5rem 1rem;
|
|
181
183
|
min-height: 3.75rem;
|
|
184
|
+
border-top: $onepixel solid r-theme-val(dashboard-item, base-border);
|
|
182
185
|
|
|
183
186
|
&:first-child {
|
|
184
187
|
border-top: 0;
|
|
@@ -201,6 +204,11 @@
|
|
|
201
204
|
p {
|
|
202
205
|
margin: 0;
|
|
203
206
|
}
|
|
207
|
+
|
|
208
|
+
&__withdrawal__button {
|
|
209
|
+
text-decoration: underline;
|
|
210
|
+
white-space: nowrap;
|
|
211
|
+
}
|
|
204
212
|
}
|
|
205
213
|
|
|
206
214
|
&__runs {
|