@peasant-labs/fairtrade 0.0.1 → 0.0.2
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/base.css +48 -0
- package/dist/lib/components.css +2 -0
- package/dist/lib/fonts.css +28 -0
- package/dist/lib/icons.js +1 -0
- package/dist/lib/tokens.css +184 -0
- package/dist/lib/tokens.json +768 -0
- package/dist/lib/types/Accordion.d.ts +47 -0
- package/dist/lib/types/Avatar.d.ts +94 -0
- package/dist/lib/types/BrandMark.d.ts +25 -0
- package/dist/lib/types/Breadcrumb.d.ts +66 -0
- package/dist/lib/types/Button.d.ts +86 -0
- package/dist/lib/types/Card.d.ts +145 -0
- package/dist/lib/types/ChartBar.d.ts +51 -0
- package/dist/lib/types/ChartLine.d.ts +54 -0
- package/dist/lib/types/Checkbox.d.ts +132 -0
- package/dist/lib/types/Chip.d.ts +85 -0
- package/dist/lib/types/CliOnboard.d.ts +68 -0
- package/dist/lib/types/CommandPalette.d.ts +6 -0
- package/dist/lib/types/CommitGraph.d.ts +71 -0
- package/dist/lib/types/ConnectionState.d.ts +82 -0
- package/dist/lib/types/ConsentDialog.d.ts +97 -0
- package/dist/lib/types/DataTable.d.ts +116 -0
- package/dist/lib/types/DateRange.d.ts +242 -0
- package/dist/lib/types/Dialog.d.ts +9 -0
- package/dist/lib/types/DiffView.d.ts +39 -0
- package/dist/lib/types/EmptyState.d.ts +28 -0
- package/dist/lib/types/EvidenceCaption.d.ts +39 -0
- package/dist/lib/types/Explainer.d.ts +82 -0
- package/dist/lib/types/FacetRail.d.ts +13 -0
- package/dist/lib/types/Feedback.d.ts +222 -0
- package/dist/lib/types/GroupedMultiSelect.d.ts +67 -0
- package/dist/lib/types/Input.d.ts +158 -0
- package/dist/lib/types/Intensity.d.ts +55 -0
- package/dist/lib/types/MapCanvas.d.ts +89 -0
- package/dist/lib/types/Menu.d.ts +62 -0
- package/dist/lib/types/ModerationQueue.d.ts +135 -0
- package/dist/lib/types/Pager.d.ts +47 -0
- package/dist/lib/types/Pagination.d.ts +50 -0
- package/dist/lib/types/PolicySelect.d.ts +80 -0
- package/dist/lib/types/ProviderIcon.d.ts +84 -0
- package/dist/lib/types/RailShell.d.ts +199 -0
- package/dist/lib/types/Redaction.d.ts +53 -0
- package/dist/lib/types/RoleRoster.d.ts +97 -0
- package/dist/lib/types/SignIn.d.ts +78 -0
- package/dist/lib/types/Sparkline.d.ts +19 -0
- package/dist/lib/types/StatTiles.d.ts +118 -0
- package/dist/lib/types/StepWizard.d.ts +92 -0
- package/dist/lib/types/StepsWaterfall.d.ts +67 -0
- package/dist/lib/types/Switch.d.ts +63 -0
- package/dist/lib/types/Tabs.d.ts +48 -0
- package/dist/lib/types/TimeStrip.d.ts +12 -0
- package/dist/lib/types/Timeline.d.ts +192 -0
- package/dist/lib/types/ToastHost.d.ts +70 -0
- package/dist/lib/types/ToolRenderers.d.ts +24 -0
- package/dist/lib/types/Tooltip.d.ts +80 -0
- package/dist/lib/types/Tour.d.ts +37 -0
- package/dist/lib/types/TranscriptMarkers.d.ts +50 -0
- package/dist/lib/types/Treemap.d.ts +77 -0
- package/dist/lib/types/VisibilityControl.d.ts +54 -0
- package/dist/lib/types/chart-shared.d.ts +63 -0
- package/dist/lib/types/icons.d.ts +1 -0
- package/dist/lib/types/index.d.ts +53 -0
- package/dist/lib/ui.js +8736 -0
- package/package.json +6 -5
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ToolCall — one collapsible tool-call row that dispatches on `tool.kind` to its body.
|
|
3
|
+
*
|
|
4
|
+
* Collapsed, the row is a real <button> (carries aria-expanded / aria-controls): a tool icon,
|
|
5
|
+
* the tool name, a one-line arg preview, the duration, and a status word (icon + "ok"/"error",
|
|
6
|
+
* never color alone). Activating it toggles real open/closed state and reveals the
|
|
7
|
+
* kind-specific body. An unknown kind keeps the generic wrench icon + the DefaultBody.
|
|
8
|
+
*
|
|
9
|
+
* @param {object} props
|
|
10
|
+
* @param {{kind:string, name:string, args?:object, duration?:number, status?:'ok'|'error'}} props.tool
|
|
11
|
+
* @param {boolean} [props.defaultOpen=false] initial open state.
|
|
12
|
+
* @param {string} [props.className]
|
|
13
|
+
*/
|
|
14
|
+
export default function ToolCall({ tool, defaultOpen, className, ...rest }: {
|
|
15
|
+
tool: {
|
|
16
|
+
kind: string;
|
|
17
|
+
name: string;
|
|
18
|
+
args?: object;
|
|
19
|
+
duration?: number;
|
|
20
|
+
status?: "ok" | "error";
|
|
21
|
+
};
|
|
22
|
+
defaultOpen?: boolean;
|
|
23
|
+
className?: string;
|
|
24
|
+
}): any;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} TooltipProps
|
|
3
|
+
* @property {React.ReactNode} content short, single-line helper text shown in the .tip-bubble (role=tooltip).
|
|
4
|
+
* @property {React.ReactElement} children the trigger: a single focusable, already-named element (e.g. a button or link). it receives aria-describedby pointing at the bubble.
|
|
5
|
+
* @property {string} [id] id for the bubble, linked from the trigger via aria-describedby. auto-generated if omitted.
|
|
6
|
+
*/
|
|
7
|
+
export default function Tooltip({ content, children, id }: {
|
|
8
|
+
content: any;
|
|
9
|
+
children: any;
|
|
10
|
+
id: any;
|
|
11
|
+
}): any;
|
|
12
|
+
/**
|
|
13
|
+
* @typedef {Object} PopoverProps
|
|
14
|
+
* @property {React.ReactNode} children the trigger button content (e.g. an icon + label).
|
|
15
|
+
* @property {string} label accessible name for the floating dialog (aria-label on .pop-card).
|
|
16
|
+
* @property {React.ReactNode} [title] .pop-title text shown in the .pop-head; defaults to `label`.
|
|
17
|
+
* @property {import('react').ComponentType} [icon] lucide icon component for the .pop-head; decorative, sized by css (.pop-head .lucide -> --ic-sm).
|
|
18
|
+
* @property {React.ReactNode} content the .pop-body content.
|
|
19
|
+
* @property {React.ReactNode} [footer] the .pop-foot content (e.g. cancel / confirm buttons).
|
|
20
|
+
* @property {string} [triggerClassName] classes for the trigger button. defaults to "btn btn-secondary btn-sm".
|
|
21
|
+
* @property {string} [id] id for the .pop-card, linked from the trigger via aria-controls. auto-generated if omitted.
|
|
22
|
+
*/
|
|
23
|
+
export function Popover({ children, label, title, icon: Icon, content, footer, triggerClassName, id, }: {
|
|
24
|
+
children: any;
|
|
25
|
+
label: any;
|
|
26
|
+
title: any;
|
|
27
|
+
icon: any;
|
|
28
|
+
content: any;
|
|
29
|
+
footer: any;
|
|
30
|
+
triggerClassName?: string;
|
|
31
|
+
id: any;
|
|
32
|
+
}): any;
|
|
33
|
+
export type TooltipProps = {
|
|
34
|
+
/**
|
|
35
|
+
* short, single-line helper text shown in the .tip-bubble (role=tooltip).
|
|
36
|
+
*/
|
|
37
|
+
content: React.ReactNode;
|
|
38
|
+
/**
|
|
39
|
+
* the trigger: a single focusable, already-named element (e.g. a button or link). it receives aria-describedby pointing at the bubble.
|
|
40
|
+
*/
|
|
41
|
+
children: React.ReactElement;
|
|
42
|
+
/**
|
|
43
|
+
* id for the bubble, linked from the trigger via aria-describedby. auto-generated if omitted.
|
|
44
|
+
*/
|
|
45
|
+
id?: string;
|
|
46
|
+
};
|
|
47
|
+
export type PopoverProps = {
|
|
48
|
+
/**
|
|
49
|
+
* the trigger button content (e.g. an icon + label).
|
|
50
|
+
*/
|
|
51
|
+
children: React.ReactNode;
|
|
52
|
+
/**
|
|
53
|
+
* accessible name for the floating dialog (aria-label on .pop-card).
|
|
54
|
+
*/
|
|
55
|
+
label: string;
|
|
56
|
+
/**
|
|
57
|
+
* .pop-title text shown in the .pop-head; defaults to `label`.
|
|
58
|
+
*/
|
|
59
|
+
title?: React.ReactNode;
|
|
60
|
+
/**
|
|
61
|
+
* lucide icon component for the .pop-head; decorative, sized by css (.pop-head .lucide -> --ic-sm).
|
|
62
|
+
*/
|
|
63
|
+
icon?: any;
|
|
64
|
+
/**
|
|
65
|
+
* the .pop-body content.
|
|
66
|
+
*/
|
|
67
|
+
content: React.ReactNode;
|
|
68
|
+
/**
|
|
69
|
+
* the .pop-foot content (e.g. cancel / confirm buttons).
|
|
70
|
+
*/
|
|
71
|
+
footer?: React.ReactNode;
|
|
72
|
+
/**
|
|
73
|
+
* classes for the trigger button. defaults to "btn btn-secondary btn-sm".
|
|
74
|
+
*/
|
|
75
|
+
triggerClassName?: string;
|
|
76
|
+
/**
|
|
77
|
+
* id for the .pop-card, linked from the trigger via aria-controls. auto-generated if omitted.
|
|
78
|
+
*/
|
|
79
|
+
id?: string;
|
|
80
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tour — a portal-rendered spotlight coachmark over real page anchors.
|
|
3
|
+
*
|
|
4
|
+
* controlled by `open`; `onClose` fires on esc / skip / scrim-intent, and
|
|
5
|
+
* `onFinish` fires when "done" is pressed on the last step. internal step index
|
|
6
|
+
* is owned here and re-armed to 0 each time the tour (re)opens.
|
|
7
|
+
*
|
|
8
|
+
* @param {Object} props
|
|
9
|
+
* @param {TourStep[]} props.steps ordered steps; each spotlights one anchor
|
|
10
|
+
* @param {boolean} props.open whether the tour is mounted / visible
|
|
11
|
+
* @param {() => void} [props.onClose] called on esc / skip / scrim (tour dismissed)
|
|
12
|
+
* @param {() => void} [props.onFinish] called when "done" is pressed on the last step
|
|
13
|
+
* @param {(index: number) => void} [props.onStepChange] notified when the active step changes
|
|
14
|
+
* @param {string} [props.labelId='tour-title'] id wiring aria-labelledby on the coachmark
|
|
15
|
+
*/
|
|
16
|
+
export default function Tour({ steps, open, onClose, onFinish, onStepChange, labelId, }: {
|
|
17
|
+
steps: TourStep[];
|
|
18
|
+
open: boolean;
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
onFinish?: () => void;
|
|
21
|
+
onStepChange?: (index: number) => void;
|
|
22
|
+
labelId?: string;
|
|
23
|
+
}): any;
|
|
24
|
+
export type TourStep = {
|
|
25
|
+
/**
|
|
26
|
+
* id (or data-tour value) of the element to spotlight
|
|
27
|
+
*/
|
|
28
|
+
anchorId: string;
|
|
29
|
+
/**
|
|
30
|
+
* the coachmark title (display type)
|
|
31
|
+
*/
|
|
32
|
+
title: React.ReactNode;
|
|
33
|
+
/**
|
|
34
|
+
* the coachmark prose body (reading type)
|
|
35
|
+
*/
|
|
36
|
+
body: React.ReactNode;
|
|
37
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export function PhaseDivider({ label, range, active, stickyTop, onClick, className, ...rest }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
label: any;
|
|
4
|
+
range: any;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
stickyTop?: string;
|
|
7
|
+
onClick: any;
|
|
8
|
+
className?: string;
|
|
9
|
+
}): any;
|
|
10
|
+
export function Phase({ label, range, active, stickyTop, onLabelClick, children, className, ...rest }: {
|
|
11
|
+
[x: string]: any;
|
|
12
|
+
label: any;
|
|
13
|
+
range: any;
|
|
14
|
+
active?: boolean;
|
|
15
|
+
stickyTop?: string;
|
|
16
|
+
onLabelClick: any;
|
|
17
|
+
children: any;
|
|
18
|
+
className?: string;
|
|
19
|
+
}): any;
|
|
20
|
+
export function TaskBoundary({ turn, duration, tools, files, ins, del, className, ...rest }: {
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
turn: any;
|
|
23
|
+
duration: any;
|
|
24
|
+
tools: any;
|
|
25
|
+
files: any;
|
|
26
|
+
ins?: number;
|
|
27
|
+
del?: number;
|
|
28
|
+
className?: string;
|
|
29
|
+
}): any;
|
|
30
|
+
export function CheckpointMarker({ hash, message, time, files, ins, del, className, ...rest }: {
|
|
31
|
+
[x: string]: any;
|
|
32
|
+
hash: any;
|
|
33
|
+
message: any;
|
|
34
|
+
time: any;
|
|
35
|
+
files: any;
|
|
36
|
+
ins?: number;
|
|
37
|
+
del?: number;
|
|
38
|
+
className?: string;
|
|
39
|
+
}): any;
|
|
40
|
+
export function TurnContextBar({ prompt, ordinal, onNext, nextLabel, stickyTop, onJump, className, ...rest }: {
|
|
41
|
+
[x: string]: any;
|
|
42
|
+
prompt: any;
|
|
43
|
+
ordinal: any;
|
|
44
|
+
onNext: any;
|
|
45
|
+
nextLabel?: string;
|
|
46
|
+
stickyTop?: string;
|
|
47
|
+
onJump: any;
|
|
48
|
+
className?: string;
|
|
49
|
+
}): any;
|
|
50
|
+
export default TaskBoundary;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lay `items` out as a squarified treemap filling [0,0,width,height]. Returns one
|
|
3
|
+
* tile per item (input length preserved). Zero/negative-value items get zero-size
|
|
4
|
+
* tiles (no area, so they never overlap). When every value is 0, values fall back
|
|
5
|
+
* to equal (so a no-churn set still tiles legibly). A non-positive width or height
|
|
6
|
+
* yields all-zero tiles (no NaN/Infinity).
|
|
7
|
+
*
|
|
8
|
+
* @param {Array<{id:string, value:number}>} items
|
|
9
|
+
* @param {number} width
|
|
10
|
+
* @param {number} height
|
|
11
|
+
* @returns {Array<{id:string, x:number, y:number, w:number, h:number}>}
|
|
12
|
+
*/
|
|
13
|
+
export function squarify(items: Array<{
|
|
14
|
+
id: string;
|
|
15
|
+
value: number;
|
|
16
|
+
}>, width: number, height: number): Array<{
|
|
17
|
+
id: string;
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
w: number;
|
|
21
|
+
h: number;
|
|
22
|
+
}>;
|
|
23
|
+
/**
|
|
24
|
+
* @typedef {Object} TreemapDatum
|
|
25
|
+
* @property {string} id stable key (also the default selection token)
|
|
26
|
+
* @property {string} label human label, e.g. "ingest/stream.go" (leaf shown)
|
|
27
|
+
* @property {number} value non-negative sizing weight; tile AREA ∝ value
|
|
28
|
+
* @property {number} [intensity=0] 0..4 monochrome ramp level (a SECOND metric)
|
|
29
|
+
* @property {string} [unit='lines'] noun for the aria-label, e.g. "lines", "calls"
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Treemap — a squarified, strict-monochrome treemap. One tile per datum, AREA
|
|
33
|
+
* proportional to `value`, an optional 0..4 grayscale `intensity` reinforcing a
|
|
34
|
+
* second metric. No hue, no verdict — facts for orientation. Each tile is a real
|
|
35
|
+
* <button> (label + aria-label "<label> — N <unit>"), focus-visible ring, and a
|
|
36
|
+
* title, so sliver tiles whose label is suppressed stay identifiable. Clicking a
|
|
37
|
+
* tile fires `onSelect(id, datum)`.
|
|
38
|
+
*
|
|
39
|
+
* Emits a `role="group"` container so the interactive tiles stay in the a11y tree
|
|
40
|
+
* (role="img" would make them presentational). Renders nothing for an empty set.
|
|
41
|
+
*
|
|
42
|
+
* @param {Object} props
|
|
43
|
+
* @param {TreemapDatum[]} [props.data=[]] the tiles (area ∝ value)
|
|
44
|
+
* @param {(id:string, datum:TreemapDatum)=>void} [props.onSelect] fired on tile click
|
|
45
|
+
* @param {number} [props.height=320] container height in px
|
|
46
|
+
* @param {string} [props.ariaLabel] label for the group landmark
|
|
47
|
+
* @param {string} [props.className] extra class on the container
|
|
48
|
+
*/
|
|
49
|
+
export default function Treemap({ data, onSelect, height, ariaLabel, className, }: {
|
|
50
|
+
data?: TreemapDatum[];
|
|
51
|
+
onSelect?: (id: string, datum: TreemapDatum) => void;
|
|
52
|
+
height?: number;
|
|
53
|
+
ariaLabel?: string;
|
|
54
|
+
className?: string;
|
|
55
|
+
}): any;
|
|
56
|
+
export type TreemapDatum = {
|
|
57
|
+
/**
|
|
58
|
+
* stable key (also the default selection token)
|
|
59
|
+
*/
|
|
60
|
+
id: string;
|
|
61
|
+
/**
|
|
62
|
+
* human label, e.g. "ingest/stream.go" (leaf shown)
|
|
63
|
+
*/
|
|
64
|
+
label: string;
|
|
65
|
+
/**
|
|
66
|
+
* non-negative sizing weight; tile AREA ∝ value
|
|
67
|
+
*/
|
|
68
|
+
value: number;
|
|
69
|
+
/**
|
|
70
|
+
* 0..4 monochrome ramp level (a SECOND metric)
|
|
71
|
+
*/
|
|
72
|
+
intensity?: number;
|
|
73
|
+
/**
|
|
74
|
+
* noun for the aria-label, e.g. "lines", "calls"
|
|
75
|
+
*/
|
|
76
|
+
unit?: string;
|
|
77
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VisibilityEye — a compact glyph that signals a transcript's visibility, with a tooltip naming the
|
|
3
|
+
* exact mode on hover / focus. Eye = public, EyeOff = private, Users = shared. The glyph is paired
|
|
4
|
+
* with a visually-hidden word so the state never reads on shape or color alone.
|
|
5
|
+
*
|
|
6
|
+
* @param {{ visibility?: 'public'|'private'|'shared', sharedWith?: string, size?: 'sm'|'md'|'lg' }} props
|
|
7
|
+
*/
|
|
8
|
+
export function VisibilityEye({ visibility, sharedWith, size }: {
|
|
9
|
+
visibility?: "public" | "private" | "shared";
|
|
10
|
+
sharedWith?: string;
|
|
11
|
+
size?: "sm" | "md" | "lg";
|
|
12
|
+
}): any;
|
|
13
|
+
/**
|
|
14
|
+
* VisibilitySegmented — a private | public segmented control with a one-line description under each
|
|
15
|
+
* option, and an optional "shared" override note when the server owns the state. The pressed option
|
|
16
|
+
* carries aria-pressed + a leading icon + the amber selected fill, so the choice is never color-only.
|
|
17
|
+
*
|
|
18
|
+
* @param {{ value?: 'public'|'private'|'shared', onChange?: (v:'public'|'private')=>void,
|
|
19
|
+
* sharedNote?: string, label?: string }} props
|
|
20
|
+
*/
|
|
21
|
+
export function VisibilitySegmented({ value, onChange, sharedNote, label, }: {
|
|
22
|
+
value?: "public" | "private" | "shared";
|
|
23
|
+
onChange?: (v: "public" | "private") => void;
|
|
24
|
+
sharedNote?: string;
|
|
25
|
+
label?: string;
|
|
26
|
+
}): any;
|
|
27
|
+
/**
|
|
28
|
+
* ScopeChip — a small toggle group scoping a view to task / file / change (a chip set). One chip is
|
|
29
|
+
* pressed at a time; the pressed chip carries aria-pressed + the selected fill, so the active scope
|
|
30
|
+
* never reads on color alone.
|
|
31
|
+
*
|
|
32
|
+
* @param {{ scope?: string, onChange?: (v:string)=>void,
|
|
33
|
+
* options?: {value:string,label:string}[], label?: string }} props
|
|
34
|
+
*/
|
|
35
|
+
export function ScopeChip({ scope, onChange, options, label }: {
|
|
36
|
+
scope?: string;
|
|
37
|
+
onChange?: (v: string) => void;
|
|
38
|
+
options?: {
|
|
39
|
+
value: string;
|
|
40
|
+
label: string;
|
|
41
|
+
}[];
|
|
42
|
+
label?: string;
|
|
43
|
+
}): any;
|
|
44
|
+
/**
|
|
45
|
+
* FocusedModeToggle — a single toggle button for "focused" mode (your prompts & the assistant's
|
|
46
|
+
* replies only). Carries aria-pressed + an icon + the word, so the on / off state is never color-only.
|
|
47
|
+
*
|
|
48
|
+
* @param {{ on?: boolean, onToggle?: (next:boolean)=>void }} props
|
|
49
|
+
*/
|
|
50
|
+
export function FocusedModeToggle({ on, onToggle }: {
|
|
51
|
+
on?: boolean;
|
|
52
|
+
onToggle?: (next: boolean) => void;
|
|
53
|
+
}): any;
|
|
54
|
+
export default VisibilitySegmented;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ChartFrame - the hairline card chrome shared by ChartBar + ChartLine: an optional head
|
|
3
|
+
* (lucide icon + lowercase title + tabular aside), an optional sub line, the plot, and an
|
|
4
|
+
* optional swatch+label legend.
|
|
5
|
+
*/
|
|
6
|
+
export function ChartFrame({ icon: Icon, title, aside, sub, legend, className, children }: {
|
|
7
|
+
icon: any;
|
|
8
|
+
title: any;
|
|
9
|
+
aside: any;
|
|
10
|
+
sub: any;
|
|
11
|
+
legend: any;
|
|
12
|
+
className?: string;
|
|
13
|
+
children: any;
|
|
14
|
+
}): any;
|
|
15
|
+
/**
|
|
16
|
+
* ChartTooltip - the custom Recharts tooltip content: a square bordered chip, lowercase mono
|
|
17
|
+
* key, tabular values, each row prefixed by its series swatch (colour + label, never colour alone).
|
|
18
|
+
*/
|
|
19
|
+
export function ChartTooltip({ active, payload, label, labelFormatter, valueFormatter }: {
|
|
20
|
+
active: any;
|
|
21
|
+
payload: any;
|
|
22
|
+
label: any;
|
|
23
|
+
labelFormatter: any;
|
|
24
|
+
valueFormatter: any;
|
|
25
|
+
}): any;
|
|
26
|
+
export function resolveSeries(series: any): any;
|
|
27
|
+
export const SERIES_CLASS: {
|
|
28
|
+
teal: string;
|
|
29
|
+
olive: string;
|
|
30
|
+
clay: string;
|
|
31
|
+
mauve: string;
|
|
32
|
+
amber: string;
|
|
33
|
+
1: string;
|
|
34
|
+
2: string;
|
|
35
|
+
3: string;
|
|
36
|
+
4: string;
|
|
37
|
+
};
|
|
38
|
+
export const SERIES_VAR: {
|
|
39
|
+
teal: string;
|
|
40
|
+
olive: string;
|
|
41
|
+
clay: string;
|
|
42
|
+
mauve: string;
|
|
43
|
+
amber: string;
|
|
44
|
+
1: string;
|
|
45
|
+
2: string;
|
|
46
|
+
3: string;
|
|
47
|
+
4: string;
|
|
48
|
+
};
|
|
49
|
+
export const RAMP: string[];
|
|
50
|
+
export function seriesClass(color: any): any;
|
|
51
|
+
export function seriesVar(color: any): any;
|
|
52
|
+
export function cartesianProps(): {
|
|
53
|
+
accessibilityLayer: boolean;
|
|
54
|
+
margin: {
|
|
55
|
+
top: number;
|
|
56
|
+
right: number;
|
|
57
|
+
bottom: number;
|
|
58
|
+
left: number;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export namespace noAnim {
|
|
62
|
+
let isAnimationActive: boolean;
|
|
63
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'lucide-react'
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export { default as Switch } from "./Switch.jsx";
|
|
2
|
+
export { default as Tabs } from "./Tabs.jsx";
|
|
3
|
+
export { default as Pager } from "./Pager.jsx";
|
|
4
|
+
export { default as Pagination } from "./Pagination.jsx";
|
|
5
|
+
export { default as Menu } from "./Menu.jsx";
|
|
6
|
+
export { default as EmptyState } from "./EmptyState.jsx";
|
|
7
|
+
export { default as DataTable } from "./DataTable.jsx";
|
|
8
|
+
export { default as ChartBar } from "./ChartBar.jsx";
|
|
9
|
+
export { default as ChartLine } from "./ChartLine.jsx";
|
|
10
|
+
export { default as Sparkline } from "./Sparkline.jsx";
|
|
11
|
+
export { default as Accordion } from "./Accordion.jsx";
|
|
12
|
+
export { default as Dialog } from "./Dialog.jsx";
|
|
13
|
+
export { default as CommandPalette } from "./CommandPalette.jsx";
|
|
14
|
+
export { default as CommitGraph } from "./CommitGraph.jsx";
|
|
15
|
+
export { default as DiffView } from "./DiffView.jsx";
|
|
16
|
+
export { default as TimeStrip } from "./TimeStrip.jsx";
|
|
17
|
+
export { default as PolicySelect } from "./PolicySelect.jsx";
|
|
18
|
+
export { default as MapCanvas } from "./MapCanvas.jsx";
|
|
19
|
+
export { default as StepsWaterfall } from "./StepsWaterfall.jsx";
|
|
20
|
+
export { default as GroupedMultiSelect } from "./GroupedMultiSelect.jsx";
|
|
21
|
+
export { default as ToolCallRenderer } from "./ToolRenderers.jsx";
|
|
22
|
+
export { default as Tour } from "./Tour.jsx";
|
|
23
|
+
export { default as FacetRail } from "./FacetRail.jsx";
|
|
24
|
+
export { default as Button, ButtonGroup, Segmented } from "./Button.jsx";
|
|
25
|
+
export { default as Input, Textarea, Select, Field } from "./Input.jsx";
|
|
26
|
+
export { default as Checkbox, Radio, RadioGroup } from "./Checkbox.jsx";
|
|
27
|
+
export { default as Chip, FilterChip, StatusDot, CountBadge } from "./Chip.jsx";
|
|
28
|
+
export { default as Card, CardImg, Row, MetaItem } from "./Card.jsx";
|
|
29
|
+
export { default as Breadcrumb, Steps } from "./Breadcrumb.jsx";
|
|
30
|
+
export { default as Tooltip, Popover } from "./Tooltip.jsx";
|
|
31
|
+
export { Avatar, AvatarGroup, Kbd, KbdChord, Tag } from "./Avatar.jsx";
|
|
32
|
+
export { default as BrandMark, resolveBrand } from "./BrandMark.jsx";
|
|
33
|
+
export { Skeleton, Progress, Spinner, Toast, FeedbackPanel } from "./Feedback.jsx";
|
|
34
|
+
export { default as Timeline, TimelineItem, ToolCall, ThinkingBlock } from "./Timeline.jsx";
|
|
35
|
+
export { default as ToastProvider, useToast } from "./ToastHost.jsx";
|
|
36
|
+
export { default as DateRange, DateRangeCalendar, formatRange, DATE_PRESETS } from "./DateRange.jsx";
|
|
37
|
+
export { default as MapNode, IntensitySwatch, RampLegend, Heatmap, IntensityScope, coverageLevel, effortLevel, locSize } from "./Intensity.jsx";
|
|
38
|
+
export { default as Treemap, squarify } from "./Treemap.jsx";
|
|
39
|
+
export { default as StepWizard, StepIndicator } from "./StepWizard.jsx";
|
|
40
|
+
export { default as Explainer, Term } from "./Explainer.jsx";
|
|
41
|
+
export { default as RedactionReview, WhereDoesThisGo } from "./Redaction.jsx";
|
|
42
|
+
export { default as ConsentDialog, ConsentSummary } from "./ConsentDialog.jsx";
|
|
43
|
+
export { default as ModerationQueue, ApprovalBar } from "./ModerationQueue.jsx";
|
|
44
|
+
export { default as RoleRoster, ConfirmInline, DangerZone } from "./RoleRoster.jsx";
|
|
45
|
+
export { default as RailShell, RailSection, SplitRail } from "./RailShell.jsx";
|
|
46
|
+
export { default as ProviderIcon, ProviderTag, ProviderName, AccentLegend, PROVIDER_ACCENT } from "./ProviderIcon.jsx";
|
|
47
|
+
export { default as EvidenceCaption, EvidenceTarget } from "./EvidenceCaption.jsx";
|
|
48
|
+
export { PhaseDivider, Phase, TaskBoundary, CheckpointMarker, TurnContextBar } from "./TranscriptMarkers.jsx";
|
|
49
|
+
export { default as ConnectionPill, DataState, TeachingEmptyState } from "./ConnectionState.jsx";
|
|
50
|
+
export { default as SignInProviders, HandleClaim, OnboardingCard } from "./SignIn.jsx";
|
|
51
|
+
export { default as CliSteps, CommandBlock, GettingStarted } from "./CliOnboard.jsx";
|
|
52
|
+
export { StatTile, StatGrid, GovTile, ProviderBars } from "./StatTiles.jsx";
|
|
53
|
+
export { default as VisibilitySegmented, VisibilityEye, ScopeChip, FocusedModeToggle } from "./VisibilityControl.jsx";
|