@local-civics/hub-ui 0.1.181 → 0.1.182
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 +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1035,6 +1035,7 @@ type PathwayCardProps = {
|
|
|
1035
1035
|
target?: number;
|
|
1036
1036
|
displayTags?: string[];
|
|
1037
1037
|
criteria?: PathwayCriteria;
|
|
1038
|
+
rawCriteria?: PathwayCriteria;
|
|
1038
1039
|
categoryNames?: Record<string, string>;
|
|
1039
1040
|
points?: Record<string, number>;
|
|
1040
1041
|
onClose?: () => void;
|
package/dist/index.js
CHANGED
|
@@ -5584,7 +5584,7 @@ const PathwayCard = (props) => {
|
|
|
5584
5584
|
const categoryIds = React__namespace.useMemo(
|
|
5585
5585
|
() => {
|
|
5586
5586
|
var _a2;
|
|
5587
|
-
return Object.keys((_a2 = props.
|
|
5587
|
+
return Object.keys((_a2 = props.rawCriteria) != null ? _a2 : {});
|
|
5588
5588
|
},
|
|
5589
5589
|
[props.criteria]
|
|
5590
5590
|
);
|