@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.js CHANGED
@@ -40,6 +40,7 @@ __export(index_exports, {
40
40
  CompassIcon: () => CompassIcon,
41
41
  CompassKey: () => CompassKey,
42
42
  ExpandCompassNudge: () => ExpandCompassNudge,
43
+ FeedbackButton: () => FeedbackButton,
43
44
  FilterSidebar: () => FilterSidebar,
44
45
  GovernmentBodySection: () => GovernmentBodySection,
45
46
  Header: () => Header,
@@ -1377,6 +1378,10 @@ var defaultNavItems = [
1377
1378
  { label: "Treasury Tracker", href: "https://treasurytracker.empowered.vote" },
1378
1379
  { label: "Empowered Badges", href: "https://badges.empowered.vote" }
1379
1380
  ]
1381
+ },
1382
+ {
1383
+ label: "Feedback",
1384
+ href: "https://ev-landing.empowered.vote/feedback.html"
1380
1385
  }
1381
1386
  ];
1382
1387
  var defaultCtaButton = {
@@ -6333,6 +6338,23 @@ function StanceAccordion({
6333
6338
  )
6334
6339
  );
6335
6340
  }
6341
+
6342
+ // src/FeedbackButton.jsx
6343
+ var import_react34 = __toESM(require("react"));
6344
+ var FEEDBACK_BASE = "https://ev-landing.empowered.vote/feedback.html";
6345
+ function FeedbackButton({ feature, className = "", label = "Feedback" }) {
6346
+ const href = feature ? `${FEEDBACK_BASE}?feature=${encodeURIComponent(feature)}` : FEEDBACK_BASE;
6347
+ return /* @__PURE__ */ import_react34.default.createElement(
6348
+ "a",
6349
+ {
6350
+ href,
6351
+ target: "_blank",
6352
+ rel: "noopener noreferrer",
6353
+ className
6354
+ },
6355
+ label
6356
+ );
6357
+ }
6336
6358
  // Annotate the CommonJS export names for ESM import in node:
6337
6359
  0 && (module.exports = {
6338
6360
  AuthForm,
@@ -6346,6 +6368,7 @@ function StanceAccordion({
6346
6368
  CompassIcon,
6347
6369
  CompassKey,
6348
6370
  ExpandCompassNudge,
6371
+ FeedbackButton,
6349
6372
  FilterSidebar,
6350
6373
  GovernmentBodySection,
6351
6374
  Header,