@peasant-labs/fairtrade 0.0.36 → 0.0.37

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.
@@ -1,5 +1,5 @@
1
1
  import { At as e, Ot as t, Tt as n, ht as r, lt as i, pt as a, ut as o } from "./GraphLegend-7PmEpBZQ.js";
2
- import { At as s, Et as c, Nt as l, Ot as u, _t as d, cn as f, dn as p, fn as m, ft as h, gt as g, jt as _, kt as v, lr as y, nr as b, or as x, pt as S, qn as C, sr as w, un as T, ut as E, wr as D } from "./ui-CfdUlwCE.js";
2
+ import { At as s, Et as c, Nt as l, Ot as u, _t as d, cn as f, dn as p, fn as m, ft as h, gt as g, jt as _, kt as v, lr as y, nr as b, or as x, pt as S, qn as C, sr as w, un as T, ut as E, wr as D } from "./ui-DoMWMsXK.js";
3
3
  import { useEffect as O, useId as k, useMemo as A, useRef as j, useState as M } from "react";
4
4
  import { Fragment as N, jsx as P, jsxs as F } from "react/jsx-runtime";
5
5
  import { ArrowRight as I, Check as L, ChevronDown as R, ChevronRight as z, ClipboardCheck as B, Compass as V, Copy as H, ExternalLink as U, Eye as W, EyeOff as G, FileText as ee, FolderGit2 as K, GitBranch as q, GitPullRequest as J, Hash as te, KeyRound as Y, LayoutGrid as ne, List as re, Lock as ie, LogOut as ae, MoreHorizontal as X, Plus as oe, Search as se, SearchX as ce, Settings as Z, ShieldAlert as Q, SlidersHorizontal as le, TriangleAlert as ue, Upload as de, User as fe, UserPlus as pe, Users as $, X as me } from "lucide-react";
@@ -741,7 +741,7 @@ function Pe({ data: e, className: n = "", onFiltersChange: i, onOpenTranscript:
741
741
  type: "text",
742
742
  value: m,
743
743
  onChange: (e) => h(e.target.value),
744
- placeholder: "search transcripts, collectives, projects, models...",
744
+ placeholder: "search transcripts",
745
745
  "aria-label": "search transcripts, collectives, projects, models"
746
746
  }), m && /* @__PURE__ */ P("button", {
747
747
  type: "button",
@@ -2189,7 +2189,7 @@ function ot({ data: e = {}, actions: t = {} } = {}) {
2189
2189
  "github orgs",
2190
2190
  "pull requests",
2191
2191
  ...v ? ["danger zone"] : []
2192
- ], C = (e) => `cmg-settings-${e.replace(/ /g, "-")}`, w = (e) => e.filter((e) => e.help).map((e) => `${e.label}: ${e.help}`).join(" "), T = c?.("account");
2192
+ ], C = (e) => `cmg-settings-${e.replace(/ /g, "-")}`;
2193
2193
  return /* @__PURE__ */ F(N, { children: [/* @__PURE__ */ F("div", {
2194
2194
  className: "iu-page cmg-settings",
2195
2195
  children: [
@@ -2249,7 +2249,7 @@ function ot({ data: e = {}, actions: t = {} } = {}) {
2249
2249
  id: C("access"),
2250
2250
  children: [/* @__PURE__ */ P(d, {
2251
2251
  label: "who can publish",
2252
- help: w(a),
2252
+ help: ((e) => e.filter((e) => e.help).map((e) => `${e.label}: ${e.help}`).join(" "))(a),
2253
2253
  control: "select",
2254
2254
  value: rt(l.mode, a),
2255
2255
  options: nt(l.mode, a),
@@ -2385,29 +2385,18 @@ function ot({ data: e = {}, actions: t = {} } = {}) {
2385
2385
  })]
2386
2386
  })
2387
2387
  }),
2388
- /* @__PURE__ */ F(g, {
2388
+ /* @__PURE__ */ P(g, {
2389
2389
  label: "pull requests",
2390
2390
  defaultOpen: !0,
2391
2391
  count: 1,
2392
2392
  id: C("pull requests"),
2393
- children: [/* @__PURE__ */ P(d, {
2393
+ children: /* @__PURE__ */ P(d, {
2394
2394
  label: "show transcripts on pull requests",
2395
2395
  help: "adds a peasant / prompts comment and check on pull requests in this collective's repos, listing which commits have transcripts. it never blocks merging.",
2396
2396
  control: "switch",
2397
2397
  value: i,
2398
2398
  onCommit: u("showOnPullRequests")
2399
- }), /* @__PURE__ */ F("p", {
2400
- className: "srow-note",
2401
- children: [
2402
- "automatic linking is now a personal setting, in ",
2403
- T ? /* @__PURE__ */ P("a", {
2404
- className: "link",
2405
- href: T,
2406
- children: "your settings"
2407
- }) : "your settings",
2408
- "."
2409
- ]
2410
- })]
2399
+ })
2411
2400
  }),
2412
2401
  v && /* @__PURE__ */ F(g, {
2413
2402
  label: "danger zone",