@local-civics/mgmt-ui 0.1.73 → 0.1.74
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 +69 -1
- package/dist/index.js +527 -155
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +527 -158
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -570,6 +570,74 @@ type PeopleProps = {
|
|
|
570
570
|
*/
|
|
571
571
|
declare const People: (props: PeopleProps) => JSX.Element;
|
|
572
572
|
|
|
573
|
+
/**
|
|
574
|
+
* StartAnonymousLessonProps
|
|
575
|
+
*/
|
|
576
|
+
type StartAnonymousLessonProps = {
|
|
577
|
+
title: string;
|
|
578
|
+
description: string;
|
|
579
|
+
educatorName: string;
|
|
580
|
+
studentName?: string;
|
|
581
|
+
onStart: () => void;
|
|
582
|
+
};
|
|
583
|
+
/**
|
|
584
|
+
* StartAnonymousLesson
|
|
585
|
+
* @param props
|
|
586
|
+
* @constructor
|
|
587
|
+
*/
|
|
588
|
+
declare const StartAnonymousLesson: (props: StartAnonymousLessonProps) => JSX.Element;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* BadgeGridProps
|
|
592
|
+
*/
|
|
593
|
+
type BadgeGridProps = {
|
|
594
|
+
badges: TaskCardProps[];
|
|
595
|
+
};
|
|
596
|
+
type TaskCardProps = {
|
|
597
|
+
title: string;
|
|
598
|
+
description: string;
|
|
599
|
+
lessonsCompleted: number;
|
|
600
|
+
lessonsTotal: number;
|
|
601
|
+
href: string;
|
|
602
|
+
users: {
|
|
603
|
+
name: string;
|
|
604
|
+
}[];
|
|
605
|
+
onCopy: () => void;
|
|
606
|
+
};
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* TrialHomeProps
|
|
610
|
+
*/
|
|
611
|
+
type TrialHomeProps = BadgeGridProps & {
|
|
612
|
+
loading: boolean;
|
|
613
|
+
name: string;
|
|
614
|
+
daysRemaining: number;
|
|
615
|
+
upgradeHref: string;
|
|
616
|
+
};
|
|
617
|
+
/**
|
|
618
|
+
* TrialHome
|
|
619
|
+
* @param props
|
|
620
|
+
* @constructor
|
|
621
|
+
*/
|
|
622
|
+
declare const TrialHome: (props: TrialHomeProps) => JSX.Element;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* TrialRegistrationProps
|
|
626
|
+
*/
|
|
627
|
+
type TrialRegistrationProps = {
|
|
628
|
+
onBegin: (data: {
|
|
629
|
+
firstName: string;
|
|
630
|
+
lastName: string;
|
|
631
|
+
interests: string[];
|
|
632
|
+
}) => void;
|
|
633
|
+
};
|
|
634
|
+
/**
|
|
635
|
+
* TrialRegistration
|
|
636
|
+
* @param props
|
|
637
|
+
* @constructor
|
|
638
|
+
*/
|
|
639
|
+
declare const TrialRegistration: (props: TrialRegistrationProps) => JSX.Element;
|
|
640
|
+
|
|
573
641
|
/**
|
|
574
642
|
* AdminProviderProps
|
|
575
643
|
*/
|
|
@@ -602,4 +670,4 @@ type AppProps = {
|
|
|
602
670
|
*/
|
|
603
671
|
declare const App: (props: AppProps) => JSX.Element;
|
|
604
672
|
|
|
605
|
-
export { AccountItem, AdminProvider, AdminProviderProps, App, AppProps, Badge, BadgeClass, BadgeItem, BadgeProps, BadgeUserItem, Badges, BadgesProps, Class, ClassItem, ClassProps, Classes, ClassesProps, Dashboard, DashboardClass, DashboardProps, Home, HomeProps, Lesson, LessonClass, LessonItem, LessonProps, LessonUserItem, Lessons, LessonsProps, MemberItem, Navbar, NavbarProps, NestedNavbar, NestedNavbarProps, Organization, OrganizationProps, People, PeopleProps, Student, StudentProps, SwitchAccount, SwitchAccountProps, UserItem };
|
|
673
|
+
export { AccountItem, AdminProvider, AdminProviderProps, App, AppProps, Badge, BadgeClass, BadgeItem, BadgeProps, BadgeUserItem, Badges, BadgesProps, Class, ClassItem, ClassProps, Classes, ClassesProps, Dashboard, DashboardClass, DashboardProps, Home, HomeProps, Lesson, LessonClass, LessonItem, LessonProps, LessonUserItem, Lessons, LessonsProps, MemberItem, Navbar, NavbarProps, NestedNavbar, NestedNavbarProps, Organization, OrganizationProps, People, PeopleProps, StartAnonymousLesson, StartAnonymousLessonProps, Student, StudentProps, SwitchAccount, SwitchAccountProps, TrialHome, TrialHomeProps, TrialRegistration, TrialRegistrationProps, UserItem };
|