@local-civics/mgmt-ui 0.1.243 → 0.1.244

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
@@ -88,7 +88,7 @@ type PageHeaderBreadcrumbSegment = {
88
88
  /**
89
89
  * Item
90
90
  */
91
- interface Item$n {
91
+ interface Item$i {
92
92
  lessonName: string;
93
93
  completion: number;
94
94
  isStarted?: boolean;
@@ -98,19 +98,19 @@ interface Item$n {
98
98
  /**
99
99
  * Item
100
100
  */
101
- interface Item$m {
101
+ interface Item$h {
102
102
  userId: string;
103
103
  avatar: string;
104
104
  name: string;
105
105
  email: string;
106
106
  isComplete?: boolean;
107
- lessons: Item$n[];
107
+ lessons: Item$i[];
108
108
  }
109
109
 
110
110
  /**
111
111
  * Item
112
112
  */
113
- interface Item$l {
113
+ interface Item$g {
114
114
  lessonId: string;
115
115
  lessonName: string;
116
116
  percentageCompletion: number;
@@ -120,7 +120,7 @@ interface Item$l {
120
120
  /**
121
121
  * BadgeUserItem
122
122
  */
123
- type BadgeUserItem = Item$m;
123
+ type BadgeUserItem = Item$h;
124
124
  /**
125
125
  * BadgeClass
126
126
  */
@@ -139,7 +139,7 @@ type BadgeProps = {
139
139
  imageURL?: string;
140
140
  weight?: number;
141
141
  classes: BadgeClass[];
142
- lessons: Item$l[];
142
+ lessons: Item$g[];
143
143
  classId: string;
144
144
  students: BadgeUserItem[];
145
145
  href: string;
@@ -164,7 +164,7 @@ declare const Badge: (props: BadgeProps) => JSX.Element;
164
164
  /**
165
165
  * Item
166
166
  */
167
- interface Item$k {
167
+ interface Item$f {
168
168
  badgeId: string;
169
169
  name: string;
170
170
  description?: string;
@@ -178,7 +178,7 @@ interface Item$k {
178
178
  /**
179
179
  * BadgeItem
180
180
  */
181
- type BadgeItem = Item$k;
181
+ type BadgeItem = Item$f;
182
182
  /**
183
183
  * BadgesProps
184
184
  */
@@ -200,87 +200,6 @@ type BadgesProps = {
200
200
  */
201
201
  declare const Badges: (props: BadgesProps) => JSX.Element;
202
202
 
203
- /**
204
- * Item
205
- */
206
- interface Item$j {
207
- studentId: string;
208
- studentName: string;
209
- className: string;
210
- }
211
-
212
- /**
213
- * Item
214
- */
215
- interface Item$i {
216
- lessonName: string;
217
- studentName: string;
218
- reflection: string;
219
- updatedAt: string;
220
- }
221
-
222
- /**
223
- * Item
224
- */
225
- interface Item$h {
226
- studentName: string;
227
- impactStatement: string;
228
- }
229
-
230
- /**
231
- * Item
232
- */
233
- interface Item$g {
234
- badgeId: string;
235
- name: string;
236
- description: string;
237
- percentageCompletion: number;
238
- }
239
-
240
- /**
241
- * Item
242
- */
243
- interface Item$f {
244
- lessonId: string;
245
- name: string;
246
- description: string;
247
- percentageCompletion: number;
248
- }
249
-
250
- /**
251
- * DashboardClass
252
- */
253
- type DashboardClass = {
254
- classId: string;
255
- name: string;
256
- };
257
- /**
258
- * DashboardProps
259
- */
260
- type DashboardProps = {
261
- loading: boolean;
262
- students: Item$j[];
263
- impacts: Item$h[];
264
- reflections: Item$i[];
265
- classes: DashboardClass[];
266
- badges: Item$g[];
267
- lessons: Item$f[];
268
- classId: string;
269
- percentageOfAccountsCreated: number;
270
- numberOfBadgesEarned: number;
271
- numberOfLessonsCompleted: number;
272
- onClassChange: (classId: string) => void;
273
- onViewStudentProfile: (student: Item$j) => void;
274
- onBadgeClick: (badge: Item$g) => void;
275
- onLessonClick: (lesson: Item$f) => void;
276
- };
277
- /**
278
- * Dashboard
279
- * @param props
280
- * @constructor
281
- */
282
- declare const Dashboard: (props: DashboardProps) => JSX.Element;
283
-
284
203
  /**
285
204
  * Item
286
205
  */
@@ -442,12 +361,13 @@ type HomeProps = {
442
361
  website: string;
443
362
  accessCode: string;
444
363
  };
445
- onDashboardClick: () => void;
446
364
  onClassesClick: () => void;
447
365
  onPathwaysClick: () => void;
448
366
  onBadgesClick: () => void;
449
367
  onLessonsClick: () => void;
450
368
  onFileLockerClick: () => void;
369
+ onCommentsClick: () => void;
370
+ onValidationClick: () => void;
451
371
  };
452
372
  /**
453
373
  * Home
@@ -1100,4 +1020,4 @@ type ValidationCenterProps = {
1100
1020
  */
1101
1021
  declare const ValidationCenter: (props: ValidationCenterProps) => JSX.Element;
1102
1022
 
1103
- export { AccountItem, AdminProvider, AdminProviderProps, App, AppProps, Badge, BadgeClass, BadgeItem, BadgeProps, BadgeUserItem, Badges, BadgesProps, Class, ClassItem, ClassProps, Classes, ClassesProps, CommentCenter, CommentCenterClass, CommentCenterItem, CommentCenterProps, 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, ValidationCenter, ValidationCenterBadge, ValidationCenterClass, ValidationCenterProps, ValidationCenterStudent };
1023
+ export { AccountItem, AdminProvider, AdminProviderProps, App, AppProps, Badge, BadgeClass, BadgeItem, BadgeProps, BadgeUserItem, Badges, BadgesProps, Class, ClassItem, ClassProps, Classes, ClassesProps, CommentCenter, CommentCenterClass, CommentCenterItem, CommentCenterProps, 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, ValidationCenter, ValidationCenterBadge, ValidationCenterClass, ValidationCenterProps, ValidationCenterStudent };