@peasant-labs/fairtrade 0.0.5 → 0.0.7
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/LICENSE +202 -21
- package/dist/lib/{ChartLine-Dlp6-CLL.js → ChartLine-Cycmpjep.js} +45 -39
- package/dist/lib/InUseShell-VRWaysXY.js +2488 -0
- package/dist/lib/analytics.js +1 -1
- package/dist/lib/commons.js +801 -836
- package/dist/lib/components.css +1 -1
- package/dist/lib/graph.css +1 -1
- package/dist/lib/graph.js +684 -285
- package/dist/lib/types/ChartBar.d.ts +3 -1
- package/dist/lib/types/ChartLine.d.ts +3 -1
- package/dist/lib/types/CommitGraph.d.ts +12 -3
- package/dist/lib/types/MapCanvas.d.ts +45 -2
- package/dist/lib/types/ProviderIcon.d.ts +23 -20
- package/dist/lib/types/chart-shared.d.ts +1 -0
- package/dist/lib/types/commons/providers.d.ts +7 -8
- package/dist/lib/types/commons/types.d.ts +3 -6
- package/dist/lib/types/graph/Changes.d.ts +8 -4
- package/dist/lib/types/graph/CodeMap.d.ts +17 -1
- package/dist/lib/types/graph/CodeMapComposition.d.ts +25 -1
- package/dist/lib/types/graph/CodeMapNavigator.d.ts +35 -0
- package/dist/lib/types/graph/changeGraph.d.ts +12 -0
- package/dist/lib/types/graph/codeMapState.d.ts +136 -0
- package/dist/lib/types/graph/index.d.ts +15 -1
- package/dist/lib/types/graph/timelineNavigation.d.ts +33 -0
- package/dist/lib/types/graph/types.d.ts +67 -440
- package/dist/lib/types/index.d.ts +2 -0
- package/dist/lib/types/provider-policy.d.ts +27 -0
- package/dist/lib/types/transcript/TranscriptViewer.d.ts +1 -1
- package/dist/lib/types/transcript/TurnCard.d.ts +3 -1
- package/dist/lib/types/transcript/adapter.d.ts +5 -40
- package/dist/lib/types/transcript/graph/GraphLegend.d.ts +3 -3
- package/dist/lib/types/transcript/graph/GraphTurnNode.d.ts +2 -2
- package/dist/lib/types/transcript/index.d.ts +4 -1
- package/dist/lib/types/transcript/initial-position.d.ts +80 -0
- package/dist/lib/types/transcript/state-capabilities.d.ts +53 -1
- package/dist/lib/types/transcript/useTranscriptInitialPosition.d.ts +26 -0
- package/dist/lib/types/transcript/view-model.d.ts +16 -16
- package/dist/lib/types/transcript/wire-types.d.ts +46 -308
- package/dist/lib/{ui-oBFnHPFe.js → ui-CKqVB4x2.js} +3592 -3584
- package/dist/lib/ui.js +4 -4
- package/package.json +51 -26
- package/dist/lib/InUseShell-DZvmRdj-.js +0 -1532
package/dist/lib/ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, $t as t, A as n, An as r, At as i, B as a, Bn as o, Bt as s, C as c, Cn as l, Ct as u, D as d, Dn as f, Dt as p, E as m, En as h, Et as g, F as _, Fn as v, Ft as y, G as b, Gn as x, Gt as S, H as C, Hn as w, Ht as T, I as E, In as D, It as O, J as k, Jn as A, Jt as j, K as M, Kn as N, Kt as P, L as F, Ln as I, Lt as L, M as R, Mn as z, Mt as B, N as V, Nn as H, Nt as U, O as W, On as G, Ot as K, P as q, Pn as J, Pt as Y, Q as X, Qt as Z, R as Q, Rn as $, Rt as ee, S as te, Sn as ne, St as re, T as ie, Tn as ae, Tt as oe, U as se, Un as ce, Ut as le, V as ue, Vn as de, Vt as fe, W as pe, Wn as me, Wt as he, X as ge, Xt as _e, Y as ve, Yt as ye, Z as be, Zt as xe, _ as Se, _n as Ce, _t as we, a as Te, an as Ee, at as De, b as Oe, bn as ke, bt as Ae, c as je, cn as Me, ct as Ne, d as Pe, dn as Fe, dt as Ie, en as Le, et as Re, f as ze, fn as Be, ft as Ve, g as He, gn as Ue, gt as We, h as Ge, hn as Ke, ht as qe, i as Je, in as Ye, it as Xe, j as Ze, jn as Qe, jt as $e, k as et, kn as tt, kt as nt, l as rt, ln as it, lt as at, m as ot, mn as st, mt as ct, n as lt, nn as ut, nt as dt, o as ft, on as pt, ot as mt, p as ht, pn as gt, pt as _t, q as vt, qn as yt, qt as bt, r as xt, rn as St, rt as Ct, s as wt, sn as Tt, st as Et, t as Dt, tn as Ot, tt as kt, u as At, un as jt, ut as Mt, v as Nt, vn as Pt, vt as Ft, w as It, wn as Lt, wt as Rt, x as zt, xn as Bt, xt as Vt, y as Ht, yn as Ut, yt as Wt, z as Gt, zn as Kt, zt as qt } from "./ui-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
1
|
+
import { $ as e, $t as t, A as n, An as r, At as i, B as a, Bn as o, Bt as s, C as c, Cn as l, Ct as u, D as d, Dn as f, Dt as p, E as m, En as h, Et as g, F as _, Fn as v, Ft as y, G as b, Gn as x, Gt as S, H as C, Hn as w, Ht as T, I as E, In as D, It as O, J as k, Jn as A, Jt as j, K as M, Kn as N, Kt as P, L as F, Ln as I, Lt as L, M as R, Mn as z, Mt as B, N as V, Nn as H, Nt as U, O as W, On as G, Ot as K, P as q, Pn as J, Pt as Y, Q as X, Qt as Z, R as Q, Rn as $, Rt as ee, S as te, Sn as ne, St as re, T as ie, Tn as ae, Tt as oe, U as se, Un as ce, Ut as le, V as ue, Vn as de, Vt as fe, W as pe, Wn as me, Wt as he, X as ge, Xt as _e, Y as ve, Yt as ye, Z as be, Zt as xe, _ as Se, _n as Ce, _t as we, a as Te, an as Ee, at as De, b as Oe, bn as ke, bt as Ae, c as je, cn as Me, ct as Ne, d as Pe, dn as Fe, dt as Ie, en as Le, et as Re, f as ze, fn as Be, ft as Ve, g as He, gn as Ue, gt as We, h as Ge, hn as Ke, ht as qe, i as Je, in as Ye, it as Xe, j as Ze, jn as Qe, jt as $e, k as et, kn as tt, kt as nt, l as rt, ln as it, lt as at, m as ot, mn as st, mt as ct, n as lt, nn as ut, nt as dt, o as ft, on as pt, ot as mt, p as ht, pn as gt, pt as _t, q as vt, qn as yt, qt as bt, r as xt, rn as St, rt as Ct, s as wt, sn as Tt, st as Et, t as Dt, tn as Ot, tt as kt, u as At, un as jt, ut as Mt, v as Nt, vn as Pt, vt as Ft, w as It, wn as Lt, wt as Rt, x as zt, xn as Bt, xt as Vt, y as Ht, yn as Ut, yt as Wt, z as Gt, zn as Kt, zt as qt } from "./ui-CKqVB4x2.js";
|
|
2
|
+
import { A as Jt, D as Yt, E as Xt, F as Zt, M as Qt, N as $t, O as en, P as tn, T as nn, a as rn, c as an, i as on, j as sn, k as cn, l as ln, n as un, o as dn, r as fn, s as pn, t as mn } from "./InUseShell-VRWaysXY.js";
|
|
3
|
+
import { n as hn, t as gn } from "./ChartLine-Cycmpjep.js";
|
|
4
|
+
export { Yt as AccentLegend, Me as Accordion, K as ApprovalBar, Ce as Avatar, Pt as AvatarGroup, tn as BrandMark, f as Breadcrumb, N as Button, yt as ButtonGroup, r as Card, Qe as CardImg, hn as ChartBar, gn as ChartLine, Kt as Checkbox, We as CheckpointMarker, J as Chip, De as CliSteps, mt as CommandBlock, _e as CommandPalette, Xt as CommitGraph, oe as ConfirmInline, Ie as ConnectionPill, $e as ConsentDialog, B as ConsentSummary, v as CountBadge, Z as DATE_PRESETS, g as DangerZone, Ve as DataState, jt as DataTable, t as DateRange, Le as DateRangeCalendar, xe as Dialog, nn as DiffView, pe as ENTRY_TYPES, Ue as EmptyState, Vt as EvidenceCaption, re as EvidenceTarget, y as Explainer, Xe as FacetRail, Fe as FeedbackPanel, w as Field, D as FilterChip, ge as FocusedModeToggle, mn as GRAPH_APP_SECTIONS, Dt as GRAPH_LEGEND_ITEMS, Et as GettingStarted, Re as GovTile, un as GraphAppShell, lt as GraphLegend, fn as GraphSectionNav, xt as GraphSubagentBranch, Je as GraphToolNode, Te as GraphTurnNode, u as GroupedMultiSelect, b as HARNESSES, Ne as HandleClaim, T as Heatmap, on as IN_USE_APPS, rn as InUseShell, ce as Input, le as IntensityScope, he as IntensitySwatch, Ut as Kbd, ke as KbdChord, ln as MapCanvas, S as MapNode, Lt as Menu, z as MetaItem, nt as ModerationQueue, at as OnboardingCard, en as PROVIDER_ACCENT, h as Pager, ae as Pagination, we as Phase, Ft as PhaseDivider, i as PolicySelect, ne as Popover, Be as Progress, kt as ProviderBars, cn as ProviderIcon, Jt as ProviderName, sn as ProviderTag, M as ROLES, o as Radio, de as RadioGroup, dn as RailSection, pn as RailShell, P as RampLegend, U as RedactionReview, p as RoleRoster, H as Row, vt as SESSION_OUTCOMES, k as STOP_REASONS, be as ScopeChip, A as Segmented, me as Select, Mt as SignInProviders, gt as Skeleton, it as Sparkline, st as Spinner, an as SplitRail, dt as StatGrid, Ct as StatTile, I as StatusDot, ee as StepIndicator, qt as StepWizard, G as Steps, Rt as StepsWaterfall, $ as Switch, ve as TOOL_CALL_KINDS, se as TOOL_GROUPS, tt as Tabs, Bt as Tag, Wt as TaskBoundary, _t as TeachingEmptyState, O as Term, x as Textarea, Ye as ThinkingBlock, L as TimeStrip, Ee as Timeline, pt as TimelineItem, Ke as Toast, ut as ToastProvider, Tt as ToolCall, qe as ToolCallRenderer, l as Tooltip, ct as Tour, Ht as TranscriptCheckRow, m as TranscriptDiffEntryCard, d as TranscriptDiffHunks, Oe as TranscriptFilterSection, Se as TranscriptFiltersRail, ot as TranscriptLabelPopover, et as TranscriptMarkdown, zt as TranscriptOutlineRail, Ge as TranscriptScorecard, He as TranscriptScrubber, ie as TranscriptTaskBody, W as TranscriptThinking, It as TranscriptToolBody, c as TranscriptToolCall, te as TranscriptTurnCard, Nt as TranscriptViewSwitch, ft as TranscriptViewer, s as Treemap, Ae as TurnContextBar, X as VisibilityEye, e as VisibilitySegmented, Y as WhereDoesThisGo, n as adaptTranscript, je as advanceTranscriptInitialPositionConsumption, V as annotateTranscript, q as assessScorecard, _ as buildTaskWaterfall, E as computeAnalytics, F as computePersonalMedians, Q as computeTaskGroups, Gt as computeTasks, a as computeTurnLabels, bt as coverageLevel, ue as detectPhases, Ze as diffLines, j as effortLevel, Ot as formatRange, ye as locSize, rt as normalizeTranscriptInitialPosition, C as phaseLabel, R as prefilterTurns, Qt as providerAccent, $t as providerDisplayName, Zt as resolveBrand, At as resolveTranscriptInitialPosition, Pe as shouldApplyTranscriptInitialPosition, fe as squarify, ze as transcriptInitialPositionReadiness, ht as transcriptInitialPositionToken, St as useToast, wt as useTranscriptInitialPosition };
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peasant-labs/fairtrade",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.7",
|
|
5
5
|
"description": "Private fairtrade design-system library: canonical tokens, base styles, component CSS, and React UI exports.",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"license": "
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"registry": "https://registry.npmjs.org/",
|
|
10
10
|
"access": "public"
|
|
@@ -57,28 +57,7 @@
|
|
|
57
57
|
"sideEffects": [
|
|
58
58
|
"*.css"
|
|
59
59
|
],
|
|
60
|
-
"
|
|
61
|
-
"@tanstack/react-table": "^8.21.3",
|
|
62
|
-
"lucide": "^1.20.0",
|
|
63
|
-
"lucide-react": "^1.18.0",
|
|
64
|
-
"react": "^19.2.7",
|
|
65
|
-
"react-dom": "^19.2.7",
|
|
66
|
-
"recharts": "^3.8.1"
|
|
67
|
-
},
|
|
68
|
-
"devDependencies": {
|
|
69
|
-
"@storybook/addon-a11y": "^10.4.6",
|
|
70
|
-
"@storybook/addon-themes": "^10.4.6",
|
|
71
|
-
"@storybook/react-vite": "^10.4.6",
|
|
72
|
-
"@tailwindcss/vite": "^4.3.1",
|
|
73
|
-
"@vitejs/plugin-react": "^6.0.2",
|
|
74
|
-
"http-server": "^14.1.1",
|
|
75
|
-
"puppeteer-core": "^25.1.0",
|
|
76
|
-
"storybook": "^10.4.6",
|
|
77
|
-
"tailwindcss": "^4.3.1",
|
|
78
|
-
"typescript": "^6.0.3",
|
|
79
|
-
"vite": "^8.0.16",
|
|
80
|
-
"yaml": "2.9.0"
|
|
81
|
-
},
|
|
60
|
+
"packageManager": "pnpm@10.33.2",
|
|
82
61
|
"scripts": {
|
|
83
62
|
"dev": "vite",
|
|
84
63
|
"contrast": "node scripts/contrast.mjs",
|
|
@@ -86,23 +65,69 @@
|
|
|
86
65
|
"gen:check": "node scripts/gen-llm-artifacts.mjs && git diff --exit-code public/tokens.json public/components.json packages/tokens/tokens.css packages/tokens/tokens.json packages/tokens/base.css packages/tokens/fonts.css",
|
|
87
66
|
"build:app": "node scripts/gen-llm-artifacts.mjs && node scripts/contrast.mjs && vite build",
|
|
88
67
|
"test:contract": "tsc -p tsconfig.contract.json",
|
|
68
|
+
"test:code-map-state": "node scripts/code-map-state.test.mjs",
|
|
69
|
+
"test:code-map-interactions": "node scripts/code-map-interactions.test.mjs",
|
|
70
|
+
"test:code-map-drag-smoothness": "node scripts/code-map-drag-smoothness.test.mjs",
|
|
71
|
+
"test:code-map-wheel-zoom": "node scripts/code-map-wheel-zoom.test.mjs",
|
|
72
|
+
"test:code-map-descent-feedback": "node scripts/code-map-descent-feedback.test.mjs",
|
|
73
|
+
"test:timeline-navigation": "node scripts/timeline-navigation.test.mjs",
|
|
74
|
+
"test:transcript-initial-position": "node scripts/transcript-initial-position.test.mjs",
|
|
75
|
+
"test:transcript-initial-position:render": "node scripts/transcript-initial-position.render.test.mjs",
|
|
76
|
+
"test:transcript-initial-position:mutations": "node scripts/transcript-initial-position.mutations.mjs",
|
|
77
|
+
"test:transcript-schema-adapter": "node scripts/transcript-schema-adapter.test.mjs",
|
|
78
|
+
"test:transcript-schema-adapter:mutations": "node scripts/transcript-schema-adapter.mutations.mjs",
|
|
79
|
+
"test:provider-harnesses": "node scripts/provider-harnesses.test.mjs",
|
|
80
|
+
"test:provider-harnesses:mutations": "node scripts/provider-harnesses.mutations.mjs",
|
|
81
|
+
"test:graph-contract-enums": "node scripts/graph-contract-enums.test.mjs",
|
|
89
82
|
"test:gates": "node scripts/gates.test.mjs",
|
|
90
83
|
"test:analytics": "node src/ui/analytics/metrics.test.mjs",
|
|
84
|
+
"test:mobile-layout": "node scripts/mobile-layout.test.mjs",
|
|
85
|
+
"test:transcript-composite-width": "node scripts/transcript-composite-width.test.mjs",
|
|
91
86
|
"lint:css": "node scripts/css-token-lint.mjs",
|
|
92
87
|
"smoke:transcript": "node scripts/smoke-transcript.mjs",
|
|
93
88
|
"smoke:transcript-ui": "node scripts/smoke-transcript-ui.mjs",
|
|
94
89
|
"smoke:map": "node scripts/smoke-map.mjs",
|
|
90
|
+
"smoke:changes": "node scripts/smoke-changes.mjs",
|
|
95
91
|
"shoot:manage": "node scripts/shootmanage.mjs",
|
|
96
|
-
"build:lib": "pnpm test:contract && node scripts/gates.test.mjs && node src/ui/analytics/metrics.test.mjs && node scripts/css-token-lint.mjs && node scripts/gen-llm-artifacts.mjs && node scripts/contrast.mjs && vite build --config vite.lib.config.js && vite build --config vite.lib-css.config.js && node scripts/finalize-lib-build.mjs && tsc -p tsconfig.lib.json && node scripts/smoke-lib.mjs && node scripts/smoke-transcript.mjs && node scripts/smoke-transcript-ui.mjs && node scripts/smoke-map.mjs && node scripts/contrast.mjs --css dist/lib/tokens.css && node scripts/assert-pack-contents.mjs",
|
|
92
|
+
"build:lib": "pnpm test:contract && pnpm test:code-map-state && pnpm test:code-map-interactions && pnpm test:code-map-drag-smoothness && pnpm test:code-map-wheel-zoom && pnpm test:code-map-descent-feedback && pnpm test:timeline-navigation && pnpm test:transcript-initial-position && pnpm test:transcript-initial-position:render && pnpm test:transcript-initial-position:mutations && node scripts/gates.test.mjs && node src/ui/analytics/metrics.test.mjs && node scripts/mobile-layout.test.mjs && node scripts/transcript-composite-width.test.mjs && node scripts/css-token-lint.mjs && node scripts/gen-llm-artifacts.mjs && node scripts/contrast.mjs && vite build --config vite.lib.config.js && vite build --config vite.lib-css.config.js && node scripts/finalize-lib-build.mjs && tsc -p tsconfig.lib.json && node scripts/smoke-lib.mjs && node scripts/smoke-transcript.mjs && node scripts/smoke-transcript-ui.mjs && pnpm test:graph-contract-enums && pnpm test:transcript-schema-adapter && pnpm test:transcript-schema-adapter:mutations && pnpm test:provider-harnesses && pnpm test:provider-harnesses:mutations && node scripts/smoke-map.mjs && node scripts/smoke-changes.mjs && node scripts/contrast.mjs --css dist/lib/tokens.css && node scripts/assert-pack-contents.mjs",
|
|
97
93
|
"pack:check": "node scripts/assert-pack-contents.mjs",
|
|
98
94
|
"smoke:tarball": "node scripts/smoke-tarball.mjs",
|
|
99
95
|
"oracle:graph": "node scripts/graph-oracle.mjs",
|
|
100
96
|
"oracle:graph:check": "node scripts/check-graph-oracle.mjs",
|
|
97
|
+
"prepack": "pnpm build:lib",
|
|
101
98
|
"build": "pnpm build:app",
|
|
102
99
|
"preview": "vite preview",
|
|
103
100
|
"storybook": "storybook dev -p 6006",
|
|
104
101
|
"build-storybook": "storybook build",
|
|
105
102
|
"build:all": "pnpm build && pnpm build-storybook && rm -rf dist/storybook && cp -r storybook-static dist/storybook",
|
|
106
103
|
"start": "http-server dist -p ${PORT:-3000} -a 0.0.0.0 --silent"
|
|
104
|
+
},
|
|
105
|
+
"dependencies": {
|
|
106
|
+
"@peasant-labs/schema": "0.1.0-rc6",
|
|
107
|
+
"@tanstack/react-table": "^8.21.3",
|
|
108
|
+
"lucide": "^1.20.0",
|
|
109
|
+
"lucide-react": "^1.18.0",
|
|
110
|
+
"recharts": "^3.8.1"
|
|
111
|
+
},
|
|
112
|
+
"peerDependencies": {
|
|
113
|
+
"react": ">=19.0.0 <20",
|
|
114
|
+
"react-dom": ">=19.0.0 <20"
|
|
115
|
+
},
|
|
116
|
+
"devDependencies": {
|
|
117
|
+
"@storybook/addon-a11y": "^10.4.6",
|
|
118
|
+
"@storybook/addon-themes": "^10.4.6",
|
|
119
|
+
"@storybook/react-vite": "^10.4.6",
|
|
120
|
+
"@tailwindcss/vite": "^4.3.1",
|
|
121
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
122
|
+
"http-server": "^14.1.1",
|
|
123
|
+
"jsdom": "^29.1.1",
|
|
124
|
+
"puppeteer-core": "^25.1.0",
|
|
125
|
+
"react": "19.2.7",
|
|
126
|
+
"react-dom": "19.2.7",
|
|
127
|
+
"storybook": "^10.4.6",
|
|
128
|
+
"tailwindcss": "^4.3.1",
|
|
129
|
+
"typescript": "^6.0.3",
|
|
130
|
+
"vite": "^8.0.16",
|
|
131
|
+
"yaml": "2.9.0"
|
|
107
132
|
}
|
|
108
|
-
}
|
|
133
|
+
}
|