@apolitical/component-library 8.3.0 → 8.3.1-RR.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/constants/index.d.ts +0 -1
- package/courses/course-progression/course-progression.d.ts +2 -2
- package/courses/course-progression/course-progression.types.d.ts +1 -1
- package/courses/course-progression/index.d.ts +1 -0
- package/helpers/intl.d.ts +4 -1
- package/index.js +39 -39
- package/index.mjs +3546 -3541
- package/layout/page-layout/components/header/components/language-unavailable-message/language-unavailable-message.d.ts +2 -1
- package/package.json +1 -1
- package/constants/storage-keys.d.ts +0 -6
package/constants/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
declare const CourseProgression: ({ element, data: { timeLeftToFinish, percentageCompleted: { inTime, inLessons }, shouldShowTimes, }, graph, styling, className, }:
|
|
2
|
+
import { ICourseProgressionProps } from './course-progression.types';
|
|
3
|
+
declare const CourseProgression: ({ element, data: { timeLeftToFinish, percentageCompleted: { inTime, inLessons }, shouldShowTimes, }, graph, styling, className, }: ICourseProgressionProps) => React.DetailedReactHTMLElement<{
|
|
4
4
|
className: string;
|
|
5
5
|
children: import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
}, HTMLElement>;
|
|
@@ -11,7 +11,7 @@ export interface ICourseProgressionData {
|
|
|
11
11
|
/** Whether the course shows the time for lessons */
|
|
12
12
|
shouldShowTimes?: boolean;
|
|
13
13
|
}
|
|
14
|
-
export interface
|
|
14
|
+
export interface ICourseProgressionProps {
|
|
15
15
|
/** The element to wrap the course progression in */
|
|
16
16
|
element?: 'p' | 'aside' | 'div';
|
|
17
17
|
/** The data to display */
|
package/helpers/intl.d.ts
CHANGED
|
@@ -478,7 +478,10 @@ export declare const checkIntlPathExists: (path: string, language?: {
|
|
|
478
478
|
'header_account_log-out': string;
|
|
479
479
|
header_buttons_login: string;
|
|
480
480
|
header_buttons_signup: string;
|
|
481
|
-
|
|
481
|
+
header_language_unavailable_en: string;
|
|
482
|
+
header_language_unavailable_es: string;
|
|
483
|
+
header_language_unavailable_fr: string;
|
|
484
|
+
header_language_unavailable_pt: string;
|
|
482
485
|
pageLayout_browserTooSmall: string;
|
|
483
486
|
pageLayout_error: string;
|
|
484
487
|
loadingBlock_loading: string;
|