@local-civics/mgmt-ui 0.1.197 → 0.1.198
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/index.d.ts +26 -2
- package/dist/index.js +368 -253
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +369 -255
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -793,7 +793,7 @@ type PathwayProps = {
|
|
|
793
793
|
* @param props
|
|
794
794
|
* @constructor
|
|
795
795
|
*/
|
|
796
|
-
declare const Pathway: (props: PathwayProps) => JSX.Element;
|
|
796
|
+
declare const Pathway$1: (props: PathwayProps) => JSX.Element;
|
|
797
797
|
|
|
798
798
|
/**
|
|
799
799
|
* Item
|
|
@@ -808,6 +808,7 @@ interface Item$1 {
|
|
|
808
808
|
interface SubmissionItem {
|
|
809
809
|
link: string;
|
|
810
810
|
badgeName: string;
|
|
811
|
+
badgeId: string;
|
|
811
812
|
lessonName: string;
|
|
812
813
|
question: string;
|
|
813
814
|
}
|
|
@@ -822,6 +823,19 @@ interface Item {
|
|
|
822
823
|
href: string;
|
|
823
824
|
}
|
|
824
825
|
|
|
826
|
+
type Pathway = {
|
|
827
|
+
pathwayId: string;
|
|
828
|
+
title: string;
|
|
829
|
+
description: string;
|
|
830
|
+
};
|
|
831
|
+
type PathwayTableProps = {
|
|
832
|
+
pathways: Pathway[];
|
|
833
|
+
badges: any[];
|
|
834
|
+
students: FileLockerUserItem[];
|
|
835
|
+
};
|
|
836
|
+
declare const PathwayTable: React.FC<PathwayTableProps & {
|
|
837
|
+
loading: boolean;
|
|
838
|
+
}>;
|
|
825
839
|
/**
|
|
826
840
|
* FileLockerUserItem
|
|
827
841
|
*/
|
|
@@ -848,6 +862,16 @@ type FileLockerProps = {
|
|
|
848
862
|
href: string;
|
|
849
863
|
trial?: boolean;
|
|
850
864
|
lessonsCompleted?: number;
|
|
865
|
+
pathways?: {
|
|
866
|
+
pathwayId: string;
|
|
867
|
+
title: string;
|
|
868
|
+
description: string;
|
|
869
|
+
}[];
|
|
870
|
+
badges?: {
|
|
871
|
+
badgeId: string;
|
|
872
|
+
displayName: string;
|
|
873
|
+
categories?: string[];
|
|
874
|
+
}[];
|
|
851
875
|
onBackClick: () => void;
|
|
852
876
|
onClassChange: (classId: string) => void;
|
|
853
877
|
onCopyLinkClick: () => void;
|
|
@@ -860,4 +884,4 @@ type FileLockerProps = {
|
|
|
860
884
|
*/
|
|
861
885
|
declare const FileLocker: (props: FileLockerProps) => JSX.Element;
|
|
862
886
|
|
|
863
|
-
export { AccountItem, AdminProvider, AdminProviderProps, App, AppProps, Badge, BadgeClass, BadgeItem, BadgeProps, BadgeUserItem, Badges, BadgesProps, Class, ClassItem, ClassProps, Classes, ClassesProps, Dashboard, DashboardClass, DashboardProps, FileLocker, FileLockerClass, FileLockerProps, FileLockerUserItem, GettingStarted, GettingStartedProps, Home, HomeProps, Lesson, LessonClass, LessonItem, LessonProps, LessonUserItem, Lessons, LessonsProps, MemberItem, Navbar, NavbarProps, NewTrialRegistration, Organization, OrganizationProps, Pathway, PathwayClass, PathwayProps, PathwayUserItem, Pathways, PathwaysItem, PathwaysProps, People, PeopleProps, StartAnonymousLesson, StartAnonymousLessonProps, Student, StudentProps, SwitchAccount, SwitchAccountProps, TrialHome, TrialHomeProps, TrialRegistration, TrialRegistrationProps, UserItem };
|
|
887
|
+
export { AccountItem, AdminProvider, AdminProviderProps, App, AppProps, Badge, BadgeClass, BadgeItem, BadgeProps, BadgeUserItem, Badges, BadgesProps, Class, ClassItem, ClassProps, Classes, ClassesProps, Dashboard, DashboardClass, DashboardProps, FileLocker, FileLockerClass, FileLockerProps, FileLockerUserItem, GettingStarted, GettingStartedProps, Home, HomeProps, Lesson, LessonClass, LessonItem, LessonProps, LessonUserItem, Lessons, LessonsProps, MemberItem, Navbar, NavbarProps, NewTrialRegistration, Organization, OrganizationProps, Pathway$1 as Pathway, PathwayClass, PathwayProps, PathwayTable, PathwayUserItem, Pathways, PathwaysItem, PathwaysProps, People, PeopleProps, StartAnonymousLesson, StartAnonymousLessonProps, Student, StudentProps, SwitchAccount, SwitchAccountProps, TrialHome, TrialHomeProps, TrialRegistration, TrialRegistrationProps, UserItem };
|