@peasant-labs/fairtrade 0.0.38 → 0.0.40
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/lib/{GraphLegend-7PmEpBZQ.js → GraphLegend-nwqBLEcI.js} +1408 -1362
- package/dist/lib/analytics.css +1 -1
- package/dist/lib/analytics.js +295 -303
- package/dist/lib/commons.js +809 -808
- package/dist/lib/components.css +1 -1
- package/dist/lib/format-B3uT2wzU.js +41 -0
- package/dist/lib/graph.js +509 -508
- package/dist/lib/tokens.css +1 -0
- package/dist/lib/tokens.json +4 -0
- package/dist/lib/types/CliOnboard.d.ts +11 -0
- package/dist/lib/types/DiffView.d.ts +5 -3
- package/dist/lib/types/Publish.d.ts +29 -7
- package/dist/lib/types/Switch.d.ts +8 -1
- package/dist/lib/types/analytics/format.d.ts +2 -1
- package/dist/lib/types/format.d.ts +35 -4
- package/dist/lib/types/index.d.ts +1 -0
- package/dist/lib/types/transcript/adapter.d.ts +3 -10
- package/dist/lib/types/transcript/adapter.parse.d.ts +31 -3
- package/dist/lib/types/transcript/index.d.ts +1 -1
- package/dist/lib/types/transcript/title.d.ts +15 -0
- package/dist/lib/types/transcript/view-model.d.ts +11 -1
- package/dist/lib/{ui-DIoBcgLp.js → ui-DMUCYaeU.js} +4615 -4583
- package/dist/lib/ui.js +5 -4
- package/package.json +9 -3
package/dist/lib/ui.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { At as e, Ct as t, Dt as n, Et as r,
|
|
2
|
-
import { $ as
|
|
3
|
-
import { n as
|
|
4
|
-
|
|
1
|
+
import { At as e, Ct as t, Dt as n, Et as r, Ft as i, It as a, Lt as o, Mt as s, Nt as c, Ot as l, Pt as u, Rt as d, S as f, St as p, Tt as m, _ as h, _t as g, a as _, b as v, bt as y, c as b, d as x, f as S, g as C, gt as w, h as T, i as E, jt as D, kt as O, l as k, lt as A, m as j, n as M, o as N, p as P, r as F, s as I, st as L, t as R, u as z, v as B, vt as V, wt as H, x as U, xt as W, y as G, yt as K, zt as q } from "./GraphLegend-nwqBLEcI.js";
|
|
2
|
+
import { $ as J, $n as Y, $t as X, A as Z, An as Q, At as $, B as ee, Bn as te, Bt as ne, C as re, Cn as ie, Cr as ae, Ct as oe, D as se, Dn as ce, Dt as le, E as ue, En as de, Er as fe, Et as pe, F as me, Fn as he, Ft as ge, G as _e, Gn as ve, Gt as ye, H as be, Hn as xe, Ht as Se, I as Ce, In as we, It as Te, J as Ee, Jn as De, Jt as Oe, K as ke, Kn as Ae, Kt as je, L as Me, Ln as Ne, Lt as Pe, M as Fe, Mn as Ie, Mt as Le, N as Re, Nn as ze, Nt as Be, O as Ve, On as He, Ot as Ue, P as We, Pn as Ge, Pt as Ke, Q as qe, Qn as Je, Qt as Ye, R as Xe, Rn as Ze, Rt as Qe, S as $e, Sn as et, Sr as tt, St as nt, T as rt, Tn as it, Tr as at, Tt as ot, U as st, Un as ct, Ut as lt, V as ut, Vn as dt, Vt as ft, W as pt, Wn as mt, Wt as ht, X as gt, Xn as _t, Xt as vt, Y as yt, Yn as bt, Yt as xt, Z as St, Zn as Ct, Zt as wt, _ as Tt, _n as Et, _r as Dt, _t as Ot, a as kt, an as At, ar as jt, at as Mt, b as Nt, bn as Pt, br as Ft, bt as It, c as Lt, cn as Rt, cr as zt, ct as Bt, d as Vt, dn as Ht, dr as Ut, dt as Wt, en as Gt, er as Kt, et as qt, f as Jt, fn as Yt, fr as Xt, ft as Zt, g as Qt, gn as $t, gr as en, gt as tn, h as nn, hn as rn, hr as an, ht as on, i as sn, in as cn, ir as ln, it as un, j as dn, jn as fn, jt as pn, k as mn, kn as hn, kt as gn, l as _n, ln as vn, lr as yn, lt as bn, m as xn, mn as Sn, mr as Cn, mt as wn, n as Tn, nn as En, nr as Dn, nt as On, o as kn, on as An, or as jn, ot as Mn, p as Nn, pn as Pn, pr as Fn, pt as In, q as Ln, qn as Rn, qt as zn, r as Bn, rn as Vn, rr as Hn, rt as Un, s as Wn, sn as Gn, sr as Kn, st as qn, t as Jn, tn as Yn, tr as Xn, tt as Zn, u as Qn, un as $n, ur as er, ut as tr, v as nr, vn as rr, vr as ir, vt as ar, w as or, wn as sr, wr as cr, wt as lr, x as ur, xn as dr, xr as fr, xt as pr, y as mr, yn as hr, yr as gr, yt as _r, z as vr, zn as yr, zt as br } from "./ui-DMUCYaeU.js";
|
|
3
|
+
import { a as xr, n as Sr, o as Cr, r as wr, t as Tr } from "./format-B3uT2wzU.js";
|
|
4
|
+
import { n as Er, t as Dr } from "./ChartLine-MZVbpUu1.js";
|
|
5
|
+
export { En as APP_SIDEBAR_APPS, w as AccentLegend, _r as AccessList, ve as Accordion, Jn as AllRedactionCategories, Tn as AllRedactionCategoryLabels, Vn as AppPage, cn as AppSidebar, At as AppSidebarLayout, vn as ApprovalBar, Dn as Avatar, Hn as AvatarGroup, i as BrandMark, yn as Breadcrumb, o as Button, d as ButtonGroup, Ut as Card, Xt as CardImg, Er as ChartBar, Dr as ChartLine, Ft as Checkbox, je as CheckpointMarker, an as Chip, Ke as CliSteps, It as CollectivePicker, ge as CommandBlock, ie as CommandPalette, A as CommitGraph, An as ConfirmInline, ne as ConnectionPill, Yt as ConsentDialog, Pn as ConsentSummary, le as CopyIconButton, en as CountBadge, it as DATE_PRESETS, Gn as DangerZone, ft as DataState, Rn as DataTable, De as DataTablePaginationControls, bt as DataTableToolbar, de as DateRange, ce as DateRangeCalendar, sr as Dialog, L as DiffView, On as ENTRY_TYPES, Xn as EmptyState, Ye as EvidenceCaption, X as EvidenceTarget, $t as Explainer, Be as FacetRail, _t as FeedbackPanel, ae as Field, Dt as FilterChip, Bt as FocusedModeToggle, I as GRAPH_APP_SECTIONS, R as GRAPH_LEGEND_ITEMS, Te as GettingStarted, gn as GovTile, b as GraphAppShell, M as GraphLegend, k as GraphSectionNav, F as GraphSubagentBranch, E as GraphToolNode, _ as GraphTurnNode, Gt as GroupedMultiSelect, Un as HARNESSES, he as HELPER_OWNER_STATE, Pe as HandleClaim, W as Heatmap, we as HelperGroup, Ne as HelperGroupListItem, Ze as HelperThreadRow, z as IN_USE_APPS, x as InUseShell, cr as Input, p as IntensityScope, t as IntensitySwatch, ln as Kbd, jt as KbdChord, S as LOCAL_APP_SECTIONS, Se as LocalOfflineBanner, Tr as MISSING_NUMBER, f as MapCanvas, H as MapNode, Kn as Menu, Fn as MetaItem, $n as ModerationQueue, Qe as OnboardingCard, pe as OverflowList, g as PROVIDER_ACCENT, pr as PUBLISH_DIALOG_STATES, nt as PUBLISH_STATES, zt as Pager, c as Pagination, zn as Phase, Oe as PhaseDivider, Ht as PolicySelect, D as Popover, Ct as Progress, wt as PromptDigest, $ as ProviderBars, V as ProviderIcon, K as ProviderName, y as ProviderTag, oe as PublishBar, lr as PublishDialog, ot as PublishStateLabel, un as ROLES, fr as Radio, tt as RadioGroup, G as RailSection, v as RailShell, m as RampLegend, Bn as RedactionCategory, sn as RedactionCategoryLabel, Sn as RedactionReview, Zt as RepoPicker, Rt as RoleRoster, Cn as Row, Mt as SESSION_OUTCOMES, on as SETTING_ROW_STATES, Mn as STOP_REASONS, bn as ScopeChip, q as Segmented, at as Select, mt as SessionGroupDisclosure, tn as SettingGroup, Ot as SettingRow, ar as SettingStatus, In as SettingsLayout, wn as SettingsNav, br as SignInProviders, Je as Skeleton, Ae as Sparkline, Y as Spinner, U as SplitRail, pn as StatGrid, Le as StatTile, Ue as StatsStrip, ir as StatusDot, hr as StepIndicator, Pt as StepWizard, er as Steps, Yn as StepsWaterfall, gr as Switch, qn as TOOL_CALL_KINDS, Zn as TOOL_GROUPS, u as Tabs, jn as Tag, xt as TaskBoundary, lt as TeachingEmptyState, Et as Term, fe as Textarea, fn as ThinkingBlock, rr as TimeStrip, Ie as Timeline, ze as TimelineItem, Kt as Toast, hn as ToastProvider, Ge as ToolCall, ye as ToolCallRenderer, s as Tooltip, ht as Tour, re as TranscriptCheckRow, dn as TranscriptDiffEntryCard, Fe as TranscriptDiffHunks, or as TranscriptFilterSection, ur as TranscriptFiltersRail, nr as TranscriptLabelPopover, We as TranscriptMarkdown, ue as TranscriptOutcomeChip, rt as TranscriptOutlineRail, mr as TranscriptScorecard, Nt as TranscriptScrubber, Z as TranscriptTaskBody, Re as TranscriptThinking, mn as TranscriptToolBody, Ve as TranscriptToolCall, se as TranscriptTurnCard, $e as TranscriptViewSwitch, Qn as TranscriptViewer, dr as Treemap, vt as TurnContextBar, N as VillageObservations, tr as VisibilityEye, Wt as VisibilitySegmented, rn as WhereDoesThisGo, Ce as adaptTranscript, Jt as advanceTranscriptInitialPositionConsumption, pt as annotateTranscript, _e as assessScorecard, ke as buildTaskWaterfall, vr as cleanSessionTitle, ee as composeSessionTitle, Ln as computeAnalytics, Ee as computePersonalMedians, yt as computeTaskGroups, gt as computeTasks, St as computeTurnLabels, r as coverageLevel, qe as detectPhases, qt as diffLines, n as effortLevel, Sr as formatCost, wr as formatCount, P as formatDateLong, xr as formatDecimal, j as formatDurationMins, T as formatDurationMs, C as formatDurationSeconds, Cr as formatInteger, He as formatRange, h as formatRelative, yr as helperMemberToggle, te as helperOwnerState, dt as helperOwnerToggle, xe as helperSelectionIds, B as isKnownTime, kt as isRedactionCategory, Me as isSessionMetadataTurn, l as locSize, me as nextNavTurn, Nn as normalizeTranscriptInitialPosition, kn as parseRedactionCategory, Wn as parseRedactionCategoryLabel, J as phaseLabel, Xe as prefilterTurns, ut as projectLabel, O as providerAccent, e as providerDisplayName, Lt as redactionCategoryFromLabel, _n as redactionCategoryLabel, a as resolveBrand, xn as resolveTranscriptInitialPosition, nn as shouldApplyTranscriptInitialPosition, et as squarify, be as summarizePrompt, Qt as transcriptInitialPositionReadiness, Tt as transcriptInitialPositionToken, st as unwrapUserQuery, ct as useHelperSelection, Q as useToast, Vt as useTranscriptInitialPosition };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peasant-labs/fairtrade",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.40",
|
|
5
5
|
"description": "Fairtrade design-system library: canonical tokens, base styles, component CSS, and React UI exports.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -140,6 +140,8 @@
|
|
|
140
140
|
"test:settings-nav": "node scripts/settings-nav.test.mjs",
|
|
141
141
|
"test:transcript-session-records": "node scripts/transcript-session-records.test.mjs",
|
|
142
142
|
"test:transcript-session-records:mutations": "node scripts/parts-mutations.mjs scripts/transcript-session-records.test.mjs scripts/testdata/transcript-session-records.manifest.yaml",
|
|
143
|
+
"test:transcript-viewer-format": "node scripts/transcript-viewer-format.test.mjs",
|
|
144
|
+
"test:transcript-viewer-format:mutations": "node scripts/parts-mutations.mjs scripts/transcript-viewer-format.test.mjs scripts/testdata/transcript-viewer-format.manifest.yaml",
|
|
143
145
|
"test:settings-nav:mutations": "node scripts/parts-mutations.mjs scripts/settings-nav.test.mjs scripts/testdata/settings-nav.manifest.yaml",
|
|
144
146
|
"test:prompt-digest-split": "node scripts/prompt-digest-split.test.mjs",
|
|
145
147
|
"test:prompt-digest-split:mutations": "node scripts/parts-mutations.mjs scripts/prompt-digest-split.test.mjs scripts/testdata/prompt-digest-split.manifest.yaml",
|
|
@@ -147,6 +149,10 @@
|
|
|
147
149
|
"test:village-parts:mutations": "node scripts/parts-mutations.mjs scripts/village-parts.test.mjs scripts/testdata/village-parts.manifest.yaml",
|
|
148
150
|
"test:publish-states": "node scripts/publish-states.test.mjs && node scripts/publish-consent.test.mjs && node scripts/redaction-labels.test.mjs && node scripts/publish-focus.test.mjs",
|
|
149
151
|
"test:publish-states:mutations": "node scripts/parts-mutations.mjs scripts/publish-states.test.mjs scripts/testdata/publish-states.manifest.yaml && node scripts/parts-mutations.mjs scripts/publish-consent.test.mjs scripts/testdata/publish-consent.manifest.yaml && node scripts/parts-mutations.mjs scripts/redaction-labels.test.mjs scripts/testdata/redaction-labels.manifest.yaml && node scripts/parts-mutations.mjs scripts/publish-focus.test.mjs scripts/testdata/publish-focus.manifest.yaml",
|
|
152
|
+
"test:number-format": "node scripts/number-format.test.mjs",
|
|
153
|
+
"test:number-format:mutations": "node scripts/parts-mutations.mjs scripts/number-format.test.mjs scripts/testdata/number-format.manifest.yaml",
|
|
154
|
+
"test:command-block": "node scripts/command-block.test.mjs",
|
|
155
|
+
"test:command-block:mutations": "node scripts/parts-mutations.mjs scripts/command-block.test.mjs scripts/testdata/command-block.manifest.yaml",
|
|
150
156
|
"test:setting-row": "node scripts/setting-row.test.mjs",
|
|
151
157
|
"test:setting-row:mutations": "node scripts/parts-mutations.mjs scripts/setting-row.test.mjs scripts/testdata/setting-row.manifest.yaml",
|
|
152
158
|
"test:repo-picker": "node scripts/repo-picker.test.mjs",
|
|
@@ -157,8 +163,8 @@
|
|
|
157
163
|
"test:collectives-views:mutations": "node scripts/parts-mutations.mjs scripts/collectives-views.test.mjs scripts/testdata/collectives-views.manifest.yaml",
|
|
158
164
|
"test:accessibility-semantics": "node scripts/accessibility-semantics.test.mjs",
|
|
159
165
|
"test:accessibility-semantics:mutations": "node scripts/parts-mutations.mjs scripts/accessibility-semantics.test.mjs scripts/testdata/accessibility-semantics.manifest.yaml",
|
|
160
|
-
"test:parts": "pnpm test:accessibility-semantics && pnpm test:transcript-viewer-chrome && pnpm test:app-sections && pnpm test:local-offline-banner && pnpm test:app-sidebar && pnpm test:settings-nav && pnpm test:transcript-session-records && pnpm test:prompt-digest-split && pnpm test:village-parts && pnpm test:publish-states && pnpm test:setting-row && pnpm test:repo-picker && pnpm test:commons-demo-pages && pnpm test:collectives-views",
|
|
161
|
-
"test:parts:mutations": "pnpm test:accessibility-semantics:mutations && pnpm test:transcript-viewer-chrome:mutations && pnpm test:app-sections:mutations && pnpm test:local-offline-banner:mutations && pnpm test:app-sidebar:mutations && pnpm test:settings-nav:mutations && pnpm test:transcript-session-records:mutations && pnpm test:prompt-digest-split:mutations && pnpm test:village-parts:mutations && pnpm test:publish-states:mutations && pnpm test:setting-row:mutations && pnpm test:repo-picker:mutations && pnpm test:commons-demo-pages:mutations && pnpm test:collectives-views:mutations",
|
|
166
|
+
"test:parts": "pnpm test:accessibility-semantics && pnpm test:transcript-viewer-chrome && pnpm test:app-sections && pnpm test:local-offline-banner && pnpm test:app-sidebar && pnpm test:settings-nav && pnpm test:transcript-session-records && pnpm test:transcript-viewer-format && pnpm test:prompt-digest-split && pnpm test:village-parts && pnpm test:publish-states && pnpm test:setting-row && pnpm test:repo-picker && pnpm test:commons-demo-pages && pnpm test:collectives-views && pnpm test:number-format && pnpm test:command-block",
|
|
167
|
+
"test:parts:mutations": "pnpm test:accessibility-semantics:mutations && pnpm test:transcript-viewer-chrome:mutations && pnpm test:app-sections:mutations && pnpm test:local-offline-banner:mutations && pnpm test:app-sidebar:mutations && pnpm test:settings-nav:mutations && pnpm test:transcript-session-records:mutations && pnpm test:transcript-viewer-format:mutations && pnpm test:prompt-digest-split:mutations && pnpm test:village-parts:mutations && pnpm test:publish-states:mutations && pnpm test:setting-row:mutations && pnpm test:repo-picker:mutations && pnpm test:commons-demo-pages:mutations && pnpm test:collectives-views:mutations && pnpm test:number-format:mutations && pnpm test:command-block:mutations",
|
|
162
168
|
"test:gates": "pnpm test:design-decisions && pnpm audit:design-decisions && pnpm test:port-record && pnpm test:demo-truth && pnpm test:datatable && pnpm test:structured-shiki && pnpm test:transcript-provenance && pnpm test:pi-transcript && pnpm test:pi-transcript:mutations && node scripts/gates.test.mjs && node scripts/turns-to-flow-edges.test.mjs && pnpm test:transcript-helpers && pnpm test:helper-groups && pnpm test:transcript-outcome-chip && pnpm test:transcript-viewer-outcome && pnpm test:parts && pnpm test:release-notes",
|
|
163
169
|
"test:analytics": "node src/ui/analytics/metrics.test.mjs",
|
|
164
170
|
"test:mobile-layout": "node scripts/mobile-layout.test.mjs",
|