@local-civics/mgmt-ui 0.1.122 → 0.1.124

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 CHANGED
@@ -69,7 +69,7 @@ declare const SwitchAccount: (props: SwitchAccountProps) => JSX.Element;
69
69
  /**
70
70
  * Item
71
71
  */
72
- interface Item$j {
72
+ interface Item$k {
73
73
  lessonName: string;
74
74
  completion: number;
75
75
  isStarted?: boolean;
@@ -79,19 +79,19 @@ interface Item$j {
79
79
  /**
80
80
  * Item
81
81
  */
82
- interface Item$i {
82
+ interface Item$j {
83
83
  userId: string;
84
84
  avatar: string;
85
85
  name: string;
86
86
  email: string;
87
87
  isComplete?: boolean;
88
- lessons: Item$j[];
88
+ lessons: Item$k[];
89
89
  }
90
90
 
91
91
  /**
92
92
  * Item
93
93
  */
94
- interface Item$h {
94
+ interface Item$i {
95
95
  lessonId: string;
96
96
  lessonName: string;
97
97
  percentageCompletion: number;
@@ -101,7 +101,7 @@ interface Item$h {
101
101
  /**
102
102
  * BadgeUserItem
103
103
  */
104
- type BadgeUserItem = Item$i;
104
+ type BadgeUserItem = Item$j;
105
105
  /**
106
106
  * BadgeClass
107
107
  */
@@ -118,7 +118,7 @@ type BadgeProps = {
118
118
  displayName: string;
119
119
  description: string;
120
120
  classes: BadgeClass[];
121
- lessons: Item$h[];
121
+ lessons: Item$i[];
122
122
  classId: string;
123
123
  students: BadgeUserItem[];
124
124
  href: string;
@@ -139,7 +139,7 @@ declare const Badge: (props: BadgeProps) => JSX.Element;
139
139
  /**
140
140
  * Item
141
141
  */
142
- interface Item$g {
142
+ interface Item$h {
143
143
  badgeId: string;
144
144
  name: string;
145
145
  description: string;
@@ -149,7 +149,7 @@ interface Item$g {
149
149
  /**
150
150
  * BadgeItem
151
151
  */
152
- type BadgeItem = Item$g;
152
+ type BadgeItem = Item$h;
153
153
  /**
154
154
  * BadgesProps
155
155
  */
@@ -168,7 +168,7 @@ declare const Badges: (props: BadgesProps) => JSX.Element;
168
168
  /**
169
169
  * Item
170
170
  */
171
- interface Item$f {
171
+ interface Item$g {
172
172
  studentId: string;
173
173
  studentName: string;
174
174
  className: string;
@@ -177,7 +177,7 @@ interface Item$f {
177
177
  /**
178
178
  * Item
179
179
  */
180
- interface Item$e {
180
+ interface Item$f {
181
181
  lessonName: string;
182
182
  studentName: string;
183
183
  reflection: string;
@@ -187,7 +187,7 @@ interface Item$e {
187
187
  /**
188
188
  * Item
189
189
  */
190
- interface Item$d {
190
+ interface Item$e {
191
191
  studentName: string;
192
192
  impactStatement: string;
193
193
  }
@@ -195,7 +195,7 @@ interface Item$d {
195
195
  /**
196
196
  * Item
197
197
  */
198
- interface Item$c {
198
+ interface Item$d {
199
199
  badgeId: string;
200
200
  name: string;
201
201
  description: string;
@@ -205,7 +205,7 @@ interface Item$c {
205
205
  /**
206
206
  * Item
207
207
  */
208
- interface Item$b {
208
+ interface Item$c {
209
209
  lessonId: string;
210
210
  name: string;
211
211
  description: string;
@@ -224,20 +224,20 @@ type DashboardClass = {
224
224
  */
225
225
  type DashboardProps = {
226
226
  loading: boolean;
227
- students: Item$f[];
228
- impacts: Item$d[];
229
- reflections: Item$e[];
227
+ students: Item$g[];
228
+ impacts: Item$e[];
229
+ reflections: Item$f[];
230
230
  classes: DashboardClass[];
231
- badges: Item$c[];
232
- lessons: Item$b[];
231
+ badges: Item$d[];
232
+ lessons: Item$c[];
233
233
  classId: string;
234
234
  percentageOfAccountsCreated: number;
235
235
  numberOfBadgesEarned: number;
236
236
  numberOfLessonsCompleted: number;
237
237
  onClassChange: (classId: string) => void;
238
- onViewStudentProfile: (student: Item$f) => void;
239
- onBadgeClick: (badge: Item$c) => void;
240
- onLessonClick: (lesson: Item$b) => void;
238
+ onViewStudentProfile: (student: Item$g) => void;
239
+ onBadgeClick: (badge: Item$d) => void;
240
+ onLessonClick: (lesson: Item$c) => void;
241
241
  };
242
242
  /**
243
243
  * Dashboard
@@ -249,7 +249,7 @@ declare const Dashboard: (props: DashboardProps) => JSX.Element;
249
249
  /**
250
250
  * Item
251
251
  */
252
- type Item$a = {
252
+ type Item$b = {
253
253
  classId: string;
254
254
  userId: string;
255
255
  avatar: string;
@@ -268,7 +268,7 @@ type Item$a = {
268
268
  /**
269
269
  * MemberItem
270
270
  */
271
- type MemberItem = Item$a;
271
+ type MemberItem = Item$b;
272
272
  /**
273
273
  * ClassProps
274
274
  */
@@ -296,7 +296,7 @@ declare const Class: (props: ClassProps) => JSX.Element;
296
296
  /**
297
297
  * Item
298
298
  */
299
- type Item$9 = {
299
+ type Item$a = {
300
300
  href: string;
301
301
  classId: string;
302
302
  name: string;
@@ -307,7 +307,7 @@ type Item$9 = {
307
307
  /**
308
308
  * ClassItem
309
309
  */
310
- type ClassItem = Item$9;
310
+ type ClassItem = Item$a;
311
311
  /**
312
312
  * ClassesProps
313
313
  */
@@ -328,7 +328,7 @@ declare const Classes: (props: ClassesProps) => JSX.Element;
328
328
  /**
329
329
  * Item
330
330
  */
331
- interface Item$8 {
331
+ interface Item$9 {
332
332
  badgeId: string;
333
333
  badgeName: string;
334
334
  isComplete?: boolean;
@@ -337,7 +337,7 @@ interface Item$8 {
337
337
  /**
338
338
  * Item
339
339
  */
340
- interface Item$7 {
340
+ interface Item$8 {
341
341
  lessonId: string;
342
342
  lessonName: string;
343
343
  questionName: string;
@@ -348,7 +348,7 @@ interface Item$7 {
348
348
  /**
349
349
  * Item
350
350
  */
351
- interface Item$6 {
351
+ interface Item$7 {
352
352
  lessonId: string;
353
353
  lessonName: string;
354
354
  reflection: string;
@@ -365,9 +365,9 @@ type StudentProps = {
365
365
  impactStatement: string;
366
366
  numberOfProblemsSolved: number;
367
367
  percentageOfLessonsCompleted: number;
368
- badges: Item$8[];
369
- answers: Item$7[];
370
- reflections: Item$6[];
368
+ badges: Item$9[];
369
+ answers: Item$8[];
370
+ reflections: Item$7[];
371
371
  onBackClick: () => void;
372
372
  };
373
373
  declare const Student: (props: StudentProps) => JSX.Element;
@@ -401,7 +401,7 @@ declare const Home: (props: HomeProps) => JSX.Element;
401
401
  /**
402
402
  * Item
403
403
  */
404
- interface Item$5 {
404
+ interface Item$6 {
405
405
  studentName: string;
406
406
  reflection: string;
407
407
  rating: number;
@@ -410,7 +410,7 @@ interface Item$5 {
410
410
  /**
411
411
  * Item
412
412
  */
413
- interface Item$4 {
413
+ interface Item$5 {
414
414
  questionName: string;
415
415
  answer: string[];
416
416
  }
@@ -418,12 +418,12 @@ interface Item$4 {
418
418
  /**
419
419
  * Item
420
420
  */
421
- interface Item$3 {
421
+ interface Item$4 {
422
422
  userId: string;
423
423
  avatar: string;
424
424
  name: string;
425
425
  email: string;
426
- answers: Item$4[];
426
+ answers: Item$5[];
427
427
  isStarted?: boolean;
428
428
  isComplete?: boolean;
429
429
  href: string;
@@ -432,7 +432,7 @@ interface Item$3 {
432
432
  /**
433
433
  * Item
434
434
  */
435
- interface Item$2 {
435
+ interface Item$3 {
436
436
  question: string;
437
437
  answers: string[][];
438
438
  choices?: string[];
@@ -442,7 +442,7 @@ interface Item$2 {
442
442
  /**
443
443
  * LessonUserItem
444
444
  */
445
- type LessonUserItem = Item$3;
445
+ type LessonUserItem = Item$4;
446
446
  /**
447
447
  * LessonClass
448
448
  */
@@ -462,8 +462,8 @@ type LessonProps = {
462
462
  classId: string;
463
463
  classes: LessonClass[];
464
464
  students: LessonUserItem[];
465
- reflections: Item$5[];
466
- questions: Item$2[];
465
+ reflections: Item$6[];
466
+ questions: Item$3[];
467
467
  trial?: boolean;
468
468
  lessonsCompleted?: number;
469
469
  contributors?: {
@@ -484,7 +484,7 @@ declare const Lesson: (props: LessonProps) => JSX.Element;
484
484
  /**
485
485
  * Item
486
486
  */
487
- interface Item$1 {
487
+ interface Item$2 {
488
488
  lessonId: string;
489
489
  name: string;
490
490
  description: string;
@@ -494,7 +494,7 @@ interface Item$1 {
494
494
  /**
495
495
  * LessonItem
496
496
  */
497
- type LessonItem = Item$1;
497
+ type LessonItem = Item$2;
498
498
  /**
499
499
  * LessonsProps
500
500
  */
@@ -535,7 +535,7 @@ declare const Organization: (props: OrganizationProps) => JSX.Element;
535
535
  /**
536
536
  * Item
537
537
  */
538
- type Item = {
538
+ type Item$1 = {
539
539
  userId: string;
540
540
  avatar: string;
541
541
  email: string;
@@ -553,7 +553,7 @@ type Item = {
553
553
  /**
554
554
  * UserItem
555
555
  */
556
- type UserItem = Item;
556
+ type UserItem = Item$1;
557
557
  /**
558
558
  * PeopleProps
559
559
  */
@@ -683,4 +683,32 @@ type AppProps = {
683
683
  */
684
684
  declare const App: (props: AppProps) => JSX.Element;
685
685
 
686
- export { AccountItem, AdminProvider, AdminProviderProps, App, AppProps, Badge, BadgeClass, BadgeItem, BadgeProps, BadgeUserItem, Badges, BadgesProps, Class, ClassItem, ClassProps, Classes, ClassesProps, Dashboard, DashboardClass, DashboardProps, GettingStarted, GettingStartedProps, Home, HomeProps, Lesson, LessonClass, LessonItem, LessonProps, LessonUserItem, Lessons, LessonsProps, MemberItem, Navbar, NavbarProps, NewTrialRegistration, Organization, OrganizationProps, People, PeopleProps, StartAnonymousLesson, StartAnonymousLessonProps, Student, StudentProps, SwitchAccount, SwitchAccountProps, TrialHome, TrialHomeProps, TrialRegistration, TrialRegistrationProps, UserItem };
686
+ /**
687
+ * Item
688
+ */
689
+ interface Item {
690
+ badgeId: string;
691
+ name: string;
692
+ description: string;
693
+ href: string;
694
+ }
695
+
696
+ /**
697
+ * PathwaysItem
698
+ */
699
+ type PathwaysItem = Item;
700
+ /**
701
+ * PathwaysProps
702
+ */
703
+ type PathwaysProps = {
704
+ loading: boolean;
705
+ pathways: PathwaysItem[];
706
+ };
707
+ /**
708
+ * PathwaysPage
709
+ * @param props
710
+ * @constructor
711
+ */
712
+ declare const Pathways: (props: PathwaysProps) => JSX.Element;
713
+
714
+ export { AccountItem, AdminProvider, AdminProviderProps, App, AppProps, Badge, BadgeClass, BadgeItem, BadgeProps, BadgeUserItem, Badges, BadgesProps, Class, ClassItem, ClassProps, Classes, ClassesProps, Dashboard, DashboardClass, DashboardProps, GettingStarted, GettingStartedProps, Home, HomeProps, Lesson, LessonClass, LessonItem, LessonProps, LessonUserItem, Lessons, LessonsProps, MemberItem, Navbar, NavbarProps, NewTrialRegistration, Organization, OrganizationProps, Pathways, PathwaysItem, PathwaysProps, People, PeopleProps, StartAnonymousLesson, StartAnonymousLessonProps, Student, StudentProps, SwitchAccount, SwitchAccountProps, TrialHome, TrialHomeProps, TrialRegistration, TrialRegistrationProps, UserItem };