@local-civics/mgmt-ui 0.1.215 → 0.1.216

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
@@ -127,6 +127,7 @@ type BadgeProps = {
127
127
  loading: boolean;
128
128
  displayName: string;
129
129
  description: string;
130
+ imageURL?: string;
130
131
  classes: BadgeClass[];
131
132
  lessons: Item$m[];
132
133
  classId: string;
@@ -153,6 +154,9 @@ interface Item$l {
153
154
  badgeId: string;
154
155
  name: string;
155
156
  description: string;
157
+ imageURL?: string;
158
+ pathway?: string;
159
+ numberOfLessons?: number;
156
160
  href: string;
157
161
  }
158
162
 
@@ -166,7 +170,13 @@ type BadgeItem = Item$l;
166
170
  type BadgesProps = {
167
171
  loading: boolean;
168
172
  badges: BadgeItem[];
173
+ pathways: {
174
+ pathwayId: string;
175
+ title: string;
176
+ }[];
177
+ selectedPathway: string;
169
178
  onAutocompleteChange: (value: string) => void;
179
+ onPathwayChange: (pathwayId: string) => void;
170
180
  };
171
181
  /**
172
182
  * Badges
@@ -510,6 +520,7 @@ interface Item$6 {
510
520
  lessonId: string;
511
521
  name: string;
512
522
  description: string;
523
+ badge?: string;
513
524
  pathway?: string;
514
525
  href: string;
515
526
  }
@@ -524,7 +535,13 @@ type LessonItem = Item$6;
524
535
  type LessonsProps = {
525
536
  loading: boolean;
526
537
  lessons: LessonItem[];
538
+ pathways: {
539
+ pathwayId: string;
540
+ title: string;
541
+ }[];
542
+ selectedPathway: string;
527
543
  onAutocompleteChange: (next: string) => void;
544
+ onPathwayChange: (pathwayId: string) => void;
528
545
  };
529
546
  /**
530
547
  * Lessons
@@ -594,7 +611,7 @@ type PeopleProps = {
594
611
  onAutocompleteChange: (next: string) => void;
595
612
  };
596
613
  /**
597
- * Class
614
+ * People
598
615
  * @param props
599
616
  * @constructor
600
617
  */
@@ -710,9 +727,12 @@ declare const App: (props: AppProps) => JSX.Element;
710
727
  * Item
711
728
  */
712
729
  interface Item$4 {
713
- badgeId: string;
730
+ pathwayId: string;
714
731
  name: string;
715
732
  description: string;
733
+ imageURL?: string;
734
+ displayTags?: string[];
735
+ numberOfBadges?: number;
716
736
  href: string;
717
737
  }
718
738
 
@@ -787,6 +807,9 @@ type PathwayProps = {
787
807
  loading: boolean;
788
808
  title: string;
789
809
  description: string;
810
+ imageURL?: string;
811
+ displayTags?: string[];
812
+ criteria?: Record<string, number>;
790
813
  classes: PathwayClass[];
791
814
  badges: Item$1[];
792
815
  classId: string;
@@ -794,6 +817,7 @@ type PathwayProps = {
794
817
  categories: {
795
818
  categoryId: string;
796
819
  name: string;
820
+ maxPoints?: number;
797
821
  }[];
798
822
  href: string;
799
823
  trial?: boolean;