@local-civics/hub-ui 0.1.204 → 0.1.205
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 +5 -11
- package/dist/index.js +399 -306
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +399 -306
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1010,9 +1010,6 @@ type WidgetProps = {
|
|
|
1010
1010
|
*/
|
|
1011
1011
|
declare const Widget: (props: WidgetProps) => JSX.Element;
|
|
1012
1012
|
|
|
1013
|
-
/**
|
|
1014
|
-
* BadgeItem
|
|
1015
|
-
*/
|
|
1016
1013
|
type BadgeItem = {
|
|
1017
1014
|
badgeId: string;
|
|
1018
1015
|
displayName: string;
|
|
@@ -1023,9 +1020,6 @@ type BadgeItem = {
|
|
|
1023
1020
|
onClick?: () => void;
|
|
1024
1021
|
};
|
|
1025
1022
|
type PathwayCriteria = Record<string, number>;
|
|
1026
|
-
/**
|
|
1027
|
-
* PathwayCardProps
|
|
1028
|
-
*/
|
|
1029
1023
|
type PathwayCardProps = {
|
|
1030
1024
|
imageURL?: string;
|
|
1031
1025
|
title?: string;
|
|
@@ -1037,9 +1031,14 @@ type PathwayCardProps = {
|
|
|
1037
1031
|
criteria?: PathwayCriteria;
|
|
1038
1032
|
rawCriteria?: PathwayCriteria;
|
|
1039
1033
|
categoryNames?: Record<string, string>;
|
|
1034
|
+
categoryParents?: Record<string, string | null>;
|
|
1040
1035
|
points?: Record<string, number>;
|
|
1041
1036
|
onClose?: () => void;
|
|
1042
1037
|
onSubmit?: () => void;
|
|
1038
|
+
studentName?: string;
|
|
1039
|
+
studentEmail?: string;
|
|
1040
|
+
schoolName?: string;
|
|
1041
|
+
gradeLevel?: string;
|
|
1043
1042
|
};
|
|
1044
1043
|
|
|
1045
1044
|
/**
|
|
@@ -1047,11 +1046,6 @@ type PathwayCardProps = {
|
|
|
1047
1046
|
*/
|
|
1048
1047
|
type PathwayProps = PathwayCardProps & {
|
|
1049
1048
|
pathwayId?: string;
|
|
1050
|
-
title?: string;
|
|
1051
|
-
description?: string;
|
|
1052
|
-
imageURL?: string;
|
|
1053
|
-
displayTags?: string[];
|
|
1054
|
-
onClose?: () => void;
|
|
1055
1049
|
};
|
|
1056
1050
|
/**
|
|
1057
1051
|
* Pathway
|