@peasant-labs/fairtrade 0.0.60 → 0.0.62
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/closed-value.js +23 -0
- package/dist/lib/commons.js +158 -158
- package/dist/lib/components.css +1 -1
- package/dist/lib/types/TranscriptLibraryTable.d.ts +208 -0
- package/dist/lib/types/closed-value.d.ts +47 -0
- package/dist/lib/types/groupPageRows.d.ts +56 -0
- package/dist/lib/types/index.d.ts +7 -0
- package/dist/lib/types/table/align-class.d.ts +6 -0
- package/dist/lib/types/table/column-align.d.ts +44 -0
- package/dist/lib/types/table/library-pickers.d.ts +50 -0
- package/dist/lib/types/transcript/action-groups.d.ts +5 -1
- package/dist/lib/{ui-DoP5-XrV.js → ui-B112SqIJ.js} +4664 -4124
- package/dist/lib/ui.js +6 -6
- package/package.json +11 -4
package/dist/lib/ui.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { At as e, Ct as t, Dt as n, Et as r, Ot as i, St as a, Tt as o, _t as s, a as c, bt as l, c as u, d, dt as f, f as p, ft as m, g as h, gt as g, h as _, ht as v, i as y, kt as b, l as x, m as S, mt as C, n as w, o as T, p as E, pt as D, r as O, rt as k, s as A, t as j, tt as M, u as N, ut as P, vt as F, wt as I, xt as L, yt as R } from "./GraphLegend-e9x79JtU.js";
|
|
2
|
-
import { $ as z, $n as B, $t as V, A as H, An as U, At as W, B as G, Bn as K, Bt as q, C as J, Cn as Y,
|
|
3
|
-
import { a as
|
|
4
|
-
import { a as
|
|
5
|
-
import { n as
|
|
6
|
-
import { _ as
|
|
7
|
-
export {
|
|
2
|
+
import { $ as z, $n as B, $t as V, A as H, An as U, At as W, B as G, Bn as K, Bt as q, C as J, Cn as Y, Cr as X, Ct as Z, D as Q, Dn as $, Dt as ee, E as te, En as ne, Et as re, F as ie, Fn as ae, Ft as oe, G as se, Gn as ce, Gt as le, H as ue, Hn as de, Ht as fe, I as pe, In as me, It as he, J as ge, Jn as _e, Jt as ve, K as ye, Kn as be, Kt as xe, L as Se, Ln as Ce, Lt as we, M as Te, Mn as Ee, Mt as De, N as Oe, Nn as ke, Nt as Ae, On as je, Ot as Me, P as Ne, Pn as Pe, Pt as Fe, Q as Ie, Qn as Le, Qt as Re, R as ze, Rn as Be, Rt as Ve, S as He, Sn as Ue, Sr as We, St as Ge, T as Ke, Tn as qe, Tr as Je, Tt as Ye, U as Xe, Un as Ze, Ut as Qe, V as $e, Vn as et, Vt as tt, W as nt, Wn as rt, Wt as it, X as at, Xn as ot, Xt as st, Y as ct, Yn as lt, Yt as ut, Z as dt, Zn as ft, Zt as pt, _ as mt, _n as ht, _r as gt, _t, a as vt, an as yt, ar as bt, at as xt, b as St, bn as Ct, br as wt, bt as Tt, c as Et, cn as Dt, cr as Ot, ct as kt, d as At, dn as jt, dr as Mt, dt as Nt, en as Pt, er as Ft, et as It, f as Lt, fn as Rt, fr as zt, ft as Bt, g as Vt, gn as Ht, gr as Ut, gt as Wt, h as Gt, hn as Kt, hr as qt, ht as Jt, i as Yt, in as Xt, ir as Zt, it as Qt, j as $t, jn as en, jt as tn, kn as nn, kt as rn, l as an, ln as on, lr as sn, lt as cn, m as ln, mn as un, mr as dn, mt as fn, n as pn, nn as mn, nr as hn, nt as gn, o as _n, on as vn, or as yn, ot as bn, p as xn, pn as Sn, pr as Cn, pt as wn, q as Tn, qn as En, qt as Dn, r as On, rn as kn, rr as An, rt as jn, s as Mn, sn as Nn, sr as Pn, st as Fn, t as In, tn as Ln, tr as Rn, tt as zn, u as Bn, un as Vn, ur as Hn, ut as Un, v as Wn, vn as Gn, vr as Kn, vt as qn, w as Jn, wn as Yn, wr as Xn, wt as Zn, x as Qn, xn as $n, xr as er, xt as tr, y as nr, yn as rr, yr as ir, yt as ar, z as or, zn as sr, zt as cr } from "./ui-B112SqIJ.js";
|
|
3
|
+
import { a as lr, d as ur, i as dr, n as fr, o as pr, p as mr, r as hr, t as gr, v as _r } from "./time-CpVBzcqQ.js";
|
|
4
|
+
import { a as vr, n as yr, o as br, r as xr, t as Sr } from "./format-B3uT2wzU.js";
|
|
5
|
+
import { n as Cr, t as wr } from "./ChartLine-MZVbpUu1.js";
|
|
6
|
+
import { _ as Tr, a as Er, b as Dr, c as Or, d as kr, f as Ar, g as jr, h as Mr, i as Nr, m as Pr, n as Fr, o as Ir, p as Lr, r as Rr, t as zr, v as Br, x as Vr, y as Hr } from "./adapter-BSfSbqWE.js";
|
|
7
|
+
export { et as ALL_COLUMN_ALIGNS, ut as APP_SIDEBAR_APPS, P as AccentLegend, Bt as AccessList, Be as Accordion, In as AllRedactionCategories, pn as AllRedactionCategoryLabels, st as AppPage, pt as AppSidebar, Re as AppSidebarLayout, mn as ApprovalBar, Rn as Avatar, hn as AvatarGroup, n as BrandMark, Ot as Breadcrumb, i as Button, b as ButtonGroup, Hn as Card, Mt as CardImg, Cr as ChartBar, wr as ChartLine, ir as Checkbox, cr as CheckpointMarker, dn as Chip, ee as CliSteps, wn as CollectivePicker, de as ColumnAlign, Me as CommandBlock, Ht as CommandPalette, k as CommitGraph, V as ConfirmInline, Ae as ConnectionPill, yt as ConsentDialog, vn as ConsentSummary, Tt as CopyIconButton, qt as CountBadge, Gn as DATE_PRESETS, Pt as DangerZone, Fe as DataState, be as DataTable, En as DataTablePaginationControls, _e as DataTableToolbar, rr as DateRange, Ct as DateRangeCalendar, ht as Dialog, M as DiffView, ct as ENTRY_TYPES, Ft as EmptyState, le as EvidenceCaption, xe as EvidenceTarget, on as Explainer, re as FacetRail, lt as FeedbackPanel, We as Field, Ut as FilterChip, zn as FocusedModeToggle, A as GRAPH_APP_SECTIONS, j as GRAPH_LEGEND_ITEMS, rn as GettingStarted, Ge as GovTile, u as GraphAppShell, w as GraphLegend, x as GraphSectionNav, O as GraphSubagentBranch, y as GraphToolNode, c as GraphTurnNode, Dn as GroupedMultiSelect, at as HARNESSES, je as HELPER_OWNER_STATE, W as HandleClaim, v as Heatmap, nn as HelperGroup, U as HelperGroupListItem, en as HelperThreadRow, N as IN_USE_APPS, d as InUseShell, X as Input, g as IntensityScope, s as IntensitySwatch, An as Kbd, Zt as KbdChord, p as LOCAL_APP_SECTIONS, oe as LocalOfflineBanner, Sr as MISSING_NUMBER, h as MapCanvas, F as MapNode, yn as Menu, zt as MetaItem, kn as ModerationQueue, tn as OnboardingCard, ar as OverflowList, f as PROVIDER_ACCENT, fn as PUBLISH_DIALOG_STATES, Jt as PUBLISH_STATES, Pn as Pager, o as Pagination, q as Phase, tt as PhaseDivider, Xt as PolicySelect, t as Popover, ot as Progress, it as PromptDigest, Z as ProviderBars, m as ProviderIcon, D as ProviderName, C as ProviderTag, Wt as PublishBar, _t as PublishDialog, qn as PublishStateLabel, Bn as READER_FULL, dt as ROLES, wt as Radio, er as RadioGroup, E as RailSection, S as RailShell, R as RampLegend, On as RedactionCategory, Yt as RedactionCategoryLabel, Nn as RedactionReview, xt as RepoPicker, Ln as RoleRoster, Cn as Row, Ie as SESSION_OUTCOMES, kt as SETTING_ROW_STATES, z as STOP_REASONS, gn as ScopeChip, e as Segmented, Xn as Select, Ce as SessionGroupDisclosure, cn as SettingGroup, Un as SettingRow, Nt as SettingStatus, bn as SettingsLayout, Fn as SettingsNav, De as SignInProviders, ft as Skeleton, sr as Sparkline, Le as Spinner, _ as SplitRail, Zn as StatGrid, Ye as StatTile, tr as StatsStrip, gt as StatusDot, Rt as StepIndicator, Sn as StepWizard, sn as Steps, ve as StepsWaterfall, Kn as Switch, It as TOOL_CALL_KINDS, ge as TOOL_GROUPS, r as Tabs, bt as Tag, fe as TaskBoundary, he as TeachingEmptyState, Vn as Term, Je as Textarea, Yn as ThinkingBlock, jt as TimeStrip, qe as Timeline, ne as TimelineItem, B as Toast, Ue as ToastProvider, $ as ToolCall, Ve as ToolCallRenderer, I as Tooltip, we as Tour, Ke as TranscriptCheckRow, ye as TranscriptControlRow, ze as TranscriptDiffEntryCard, or as TranscriptDiffHunks, te as TranscriptFilterSection, J as TranscriptFiltersRail, nr as TranscriptLabelPopover, K as TranscriptLibraryTable, Tn as TranscriptMarkdown, He as TranscriptMinimap, H as TranscriptOutcomeChip, Q as TranscriptOutlineRail, St as TranscriptScorecard, Qn as TranscriptScrubber, nt as TranscriptSystemGroup, Ne as TranscriptSystemRow, Se as TranscriptTaskBody, G as TranscriptThinking, pe as TranscriptToolBody, ie as TranscriptToolCall, Te as TranscriptTurnCard, Jn as TranscriptViewSwitch, At as TranscriptViewer, Oe as TranscriptWorkGroup, un as Treemap, Qe as TurnContextBar, $t as UnverifiedPullRequests, T as VillageObservations, jn as VisibilityEye, Qt as VisibilitySegmented, Dt as WhereDoesThisGo, zr as adaptTranscript, xn as advanceTranscriptInitialPositionConsumption, kr as annotateTranscript, Ar as assessScorecard, Lr as buildTaskWaterfall, Rr as cleanSessionTitle, Nr as composeSessionTitle, Pr as computeAnalytics, Mr as computePersonalMedians, jr as computeTaskGroups, Tr as computeTasks, Br as computeTurnLabels, l as coverageLevel, Hr as detectPhases, Vr as diffLines, L as effortLevel, yr as formatCost, xr as formatCount, gr as formatDateLong, vr as formatDecimal, fr as formatDurationMins, hr as formatDurationMs, dr as formatDurationSeconds, br as formatInteger, $n as formatRange, lr as formatRelative, rt as groupKeysFor, ce as groupPageRows, Ee as helperMemberToggle, ke as helperOwnerState, Pe as helperOwnerToggle, ae as helperSelectionIds, pr as isKnownTime, vt as isRedactionCategory, a as locSize, ue as nextNavTurn, ln as normalizeTranscriptInitialPosition, Ze as parseColumnAlign, _n as parseRedactionCategory, Mn as parseRedactionCategoryLabel, Dr as phaseLabel, Fr as prefilterTurns, Er as projectLabel, ur as providerAccent, mr as providerDisplayName, Et as redactionCategoryFromLabel, an as redactionCategoryLabel, _r as resolveBrand, Gt as resolveTranscriptInitialPosition, Vt as shouldApplyTranscriptInitialPosition, Kt as squarify, Ir as summarizePrompt, se as systemGroupSummary, Xe as systemGroups, mt as transcriptInitialPositionReadiness, Wn as transcriptInitialPositionToken, Or as unwrapUserQuery, me as useHelperSelection, Y as useToast, Lt as useTranscriptInitialPosition, $e as workSummary };
|
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.62",
|
|
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",
|
|
@@ -47,6 +47,12 @@
|
|
|
47
47
|
"require": "./dist/lib/icons.js",
|
|
48
48
|
"default": "./dist/lib/icons.js"
|
|
49
49
|
},
|
|
50
|
+
"./closed-value": {
|
|
51
|
+
"types": "./dist/lib/types/closed-value.d.ts",
|
|
52
|
+
"import": "./dist/lib/closed-value.js",
|
|
53
|
+
"require": "./dist/lib/closed-value.js",
|
|
54
|
+
"default": "./dist/lib/closed-value.js"
|
|
55
|
+
},
|
|
50
56
|
"./share": {
|
|
51
57
|
"types": "./dist/lib/types/share/index.d.ts",
|
|
52
58
|
"import": "./dist/lib/share.js",
|
|
@@ -81,7 +87,7 @@
|
|
|
81
87
|
"test:release-guard": "node --test scripts/release-guard.test.mjs",
|
|
82
88
|
"test:release-notes": "node scripts/release-notes.test.mjs",
|
|
83
89
|
"test:release-notes:mutations": "node scripts/release-notes.mutations.mjs",
|
|
84
|
-
"test:datatable": "node scripts/datatable-host-boundary.test.mjs && node scripts/datatable.render.test.mjs",
|
|
90
|
+
"test:datatable": "node scripts/datatable-host-boundary.test.mjs && node scripts/datatable.render.test.mjs && node scripts/transcript-library-table.render.test.mjs && node scripts/parts-mutations.mjs scripts/transcript-library-table.render.test.mjs scripts/testdata/transcript-library-table.manifest.yaml",
|
|
85
91
|
"test:design-decisions": "node scripts/design-decisions.test.mjs",
|
|
86
92
|
"audit:design-decisions": "node scripts/design-decisions.mjs",
|
|
87
93
|
"test:port-record": "node scripts/port-record.test.mjs",
|
|
@@ -91,6 +97,7 @@
|
|
|
91
97
|
"icons:check": "node scripts/gen-app-icons.mjs --check",
|
|
92
98
|
"build:app": "node scripts/gen-app-icons.mjs --check && node scripts/gen-llm-artifacts.mjs && node scripts/contrast.mjs && vite build",
|
|
93
99
|
"test:contract": "tsc -p tsconfig.contract.json",
|
|
100
|
+
"test:closed-value": "node --test src/ui/closed-value.test.js",
|
|
94
101
|
"test:share-types": "tsc -p tsconfig.share-types.json",
|
|
95
102
|
"test:runtime-floor": "node scripts/runtime-floor.test.mjs",
|
|
96
103
|
"test:code-map-state": "node scripts/code-map-state.test.mjs",
|
|
@@ -192,7 +199,7 @@
|
|
|
192
199
|
"test:accessibility-semantics:mutations": "node scripts/parts-mutations.mjs scripts/accessibility-semantics.test.mjs scripts/testdata/accessibility-semantics.manifest.yaml",
|
|
193
200
|
"test:parts": "pnpm test:transcript-integrity && pnpm test:transcript-integrity-viewer && pnpm test:transcript-ledger-chrome && pnpm test:transcript-ledger-turns && pnpm test:transcript-reading-layout && pnpm test:accessibility-semantics && pnpm test:code-map-disclosure && pnpm test:page-headings && pnpm test:code-map-line-counts && 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-system-groups && 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",
|
|
194
201
|
"test:parts:mutations": "pnpm test:transcript-integrity:mutations && pnpm test:transcript-integrity-viewer:mutations && pnpm test:transcript-ledger-chrome:mutations && pnpm test:transcript-ledger-turns:mutations && pnpm test:transcript-reading-layout:mutations && pnpm test:accessibility-semantics:mutations && pnpm test:code-map-disclosure:mutations && pnpm test:page-headings:mutations && pnpm test:code-map-line-counts: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-system-groups: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",
|
|
195
|
-
"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 && pnpm test:share-card",
|
|
202
|
+
"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 && pnpm test:share-card && pnpm test:closed-value",
|
|
196
203
|
"test:analytics": "node src/ui/analytics/metrics.test.mjs",
|
|
197
204
|
"test:mobile-layout": "node scripts/mobile-layout.test.mjs",
|
|
198
205
|
"test:transcript-composite-width": "node scripts/transcript-composite-width.test.mjs",
|
|
@@ -249,7 +256,7 @@
|
|
|
249
256
|
"test:transcript-system-groups:mutations": "node scripts/parts-mutations.mjs scripts/transcript-system-groups.test.mjs scripts/testdata/transcript-system-groups.manifest.yaml"
|
|
250
257
|
},
|
|
251
258
|
"dependencies": {
|
|
252
|
-
"@peasant-labs/schema": "0.
|
|
259
|
+
"@peasant-labs/schema": "0.42.0",
|
|
253
260
|
"@tanstack/react-table": "^8.21.3",
|
|
254
261
|
"lucide-react": "^1.18.0",
|
|
255
262
|
"mermaid": "12.2.0",
|