@local-civics/mgmt-ui 0.1.235 → 0.1.236
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 +0 -2
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -146,13 +146,11 @@ type BadgeProps = {
|
|
|
146
146
|
trial?: boolean;
|
|
147
147
|
lessonsCompleted?: number;
|
|
148
148
|
pathwayId?: string;
|
|
149
|
-
pathwayTitle?: string;
|
|
150
149
|
breadcrumb?: PageHeaderBreadcrumbSegment[];
|
|
151
150
|
onBackClick: () => void;
|
|
152
151
|
onClassChange: (classId: string) => void;
|
|
153
152
|
onCopyLinkClick: () => void;
|
|
154
153
|
onExportDataClick: () => void;
|
|
155
|
-
onPathwayClick?: () => void;
|
|
156
154
|
};
|
|
157
155
|
/**
|
|
158
156
|
* Badge
|
package/dist/index.js
CHANGED
|
@@ -623,8 +623,6 @@ const Badge = (props) => {
|
|
|
623
623
|
iconAccent: "mint",
|
|
624
624
|
imageURL: props.imageURL,
|
|
625
625
|
onBackClick: props.onBackClick,
|
|
626
|
-
onSecondaryClick: props.onPathwayClick,
|
|
627
|
-
secondaryLabel: props.pathwayTitle ? "Go to Pathway" : void 0,
|
|
628
626
|
breadcrumb: props.breadcrumb,
|
|
629
627
|
title: props.displayName || "Badge",
|
|
630
628
|
description: props.description,
|