@empoweredvote/ev-ui 0.6.5 → 0.6.6

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.mjs CHANGED
@@ -1287,6 +1287,10 @@ var defaultNavItems = [
1287
1287
  { label: "Treasury Tracker", href: "https://treasurytracker.empowered.vote" },
1288
1288
  { label: "Empowered Badges", href: "https://badges.empowered.vote" }
1289
1289
  ]
1290
+ },
1291
+ {
1292
+ label: "Feedback",
1293
+ href: "https://ev-landing.empowered.vote/feedback.html"
1290
1294
  }
1291
1295
  ];
1292
1296
  var defaultCtaButton = {
@@ -6255,6 +6259,23 @@ function StanceAccordion({
6255
6259
  )
6256
6260
  );
6257
6261
  }
6262
+
6263
+ // src/FeedbackButton.jsx
6264
+ import React30 from "react";
6265
+ var FEEDBACK_BASE = "https://ev-landing.empowered.vote/feedback.html";
6266
+ function FeedbackButton({ feature, className = "", label = "Feedback" }) {
6267
+ const href = feature ? `${FEEDBACK_BASE}?feature=${encodeURIComponent(feature)}` : FEEDBACK_BASE;
6268
+ return /* @__PURE__ */ React30.createElement(
6269
+ "a",
6270
+ {
6271
+ href,
6272
+ target: "_blank",
6273
+ rel: "noopener noreferrer",
6274
+ className
6275
+ },
6276
+ label
6277
+ );
6278
+ }
6258
6279
  export {
6259
6280
  AuthForm,
6260
6281
  BallotIcon,
@@ -6267,6 +6288,7 @@ export {
6267
6288
  CompassIcon,
6268
6289
  CompassKey,
6269
6290
  ExpandCompassNudge,
6291
+ FeedbackButton,
6270
6292
  FilterSidebar,
6271
6293
  GovernmentBodySection,
6272
6294
  Header,