@agimon-ai/doompi-web-components 0.0.1-alpha.38 → 0.0.1-alpha.39
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/index.cjs +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +1 -1
- package/dist/src/components/Drawer.cjs +2 -0
- package/dist/src/components/Drawer.cjs.map +1 -0
- package/dist/src/components/Drawer.d.mts +17 -0
- package/dist/src/components/Drawer.d.mts.map +1 -0
- package/dist/src/components/Drawer.mjs +2 -0
- package/dist/src/components/Drawer.mjs.map +1 -0
- package/package.json +3 -3
- package/dist/components/Accordion.d.cts +0 -11
- package/dist/components/Accordion.d.cts.map +0 -1
- package/dist/components/AnsiText.d.cts +0 -16
- package/dist/components/AnsiText.d.cts.map +0 -1
- package/dist/components/Avatar.d.cts +0 -10
- package/dist/components/Avatar.d.cts.map +0 -1
- package/dist/components/Badge.d.cts +0 -17
- package/dist/components/Badge.d.cts.map +0 -1
- package/dist/components/Breadcrumb.d.cts +0 -36
- package/dist/components/Breadcrumb.d.cts.map +0 -1
- package/dist/components/Button.d.cts +0 -24
- package/dist/components/Button.d.cts.map +0 -1
- package/dist/components/Checkbox.d.cts +0 -8
- package/dist/components/Checkbox.d.cts.map +0 -1
- package/dist/components/CodeEditor.d.cts +0 -5
- package/dist/components/CodeEditor.d.cts.map +0 -1
- package/dist/components/Collapsible.d.cts +0 -10
- package/dist/components/Collapsible.d.cts.map +0 -1
- package/dist/components/Command.d.cts +0 -41
- package/dist/components/Command.d.cts.map +0 -1
- package/dist/components/Dialog.d.cts +0 -39
- package/dist/components/Dialog.d.cts.map +0 -1
- package/dist/components/Dot.d.cts +0 -15
- package/dist/components/Dot.d.cts.map +0 -1
- package/dist/components/DropdownMenu.d.cts +0 -34
- package/dist/components/DropdownMenu.d.cts.map +0 -1
- package/dist/components/EmptyState.d.cts +0 -17
- package/dist/components/EmptyState.d.cts.map +0 -1
- package/dist/components/HashlineLines.d.cts +0 -23
- package/dist/components/HashlineLines.d.cts.map +0 -1
- package/dist/components/Input.d.cts +0 -19
- package/dist/components/Input.d.cts.map +0 -1
- package/dist/components/Kbd.d.cts +0 -6
- package/dist/components/Kbd.d.cts.map +0 -1
- package/dist/components/Label.d.cts +0 -8
- package/dist/components/Label.d.cts.map +0 -1
- package/dist/components/Markdown.d.cts +0 -17
- package/dist/components/Markdown.d.cts.map +0 -1
- package/dist/components/MediaPreview.d.cts +0 -61
- package/dist/components/MediaPreview.d.cts.map +0 -1
- package/dist/components/MessageItem.d.cts +0 -102
- package/dist/components/MessageItem.d.cts.map +0 -1
- package/dist/components/MessageLines.d.cts +0 -23
- package/dist/components/MessageLines.d.cts.map +0 -1
- package/dist/components/OptionList.d.cts +0 -49
- package/dist/components/OptionList.d.cts.map +0 -1
- package/dist/components/Panel.d.cts +0 -14
- package/dist/components/Panel.d.cts.map +0 -1
- package/dist/components/PdfPreview.d.cts +0 -52
- package/dist/components/PdfPreview.d.cts.map +0 -1
- package/dist/components/Popover.d.cts +0 -19
- package/dist/components/Popover.d.cts.map +0 -1
- package/dist/components/Progress.d.cts +0 -8
- package/dist/components/Progress.d.cts.map +0 -1
- package/dist/components/RadioGroup.d.cts +0 -15
- package/dist/components/RadioGroup.d.cts.map +0 -1
- package/dist/components/ScrollArea.d.cts +0 -13
- package/dist/components/ScrollArea.d.cts.map +0 -1
- package/dist/components/SectionLabel.d.cts +0 -6
- package/dist/components/SectionLabel.d.cts.map +0 -1
- package/dist/components/Select.d.cts +0 -19
- package/dist/components/Select.d.cts.map +0 -1
- package/dist/components/Separator.d.cts +0 -13
- package/dist/components/Separator.d.cts.map +0 -1
- package/dist/components/Sheet.d.cts +0 -35
- package/dist/components/Sheet.d.cts.map +0 -1
- package/dist/components/Skeleton.d.cts +0 -10
- package/dist/components/Skeleton.d.cts.map +0 -1
- package/dist/components/Spinner.d.cts +0 -14
- package/dist/components/Spinner.d.cts.map +0 -1
- package/dist/components/StatusBadge.d.cts +0 -23
- package/dist/components/StatusBadge.d.cts.map +0 -1
- package/dist/components/StreamCursor.d.cts +0 -6
- package/dist/components/StreamCursor.d.cts.map +0 -1
- package/dist/components/Switch.d.cts +0 -8
- package/dist/components/Switch.d.cts.map +0 -1
- package/dist/components/SyntaxText.d.cts +0 -50
- package/dist/components/SyntaxText.d.cts.map +0 -1
- package/dist/components/Tabs.d.cts +0 -36
- package/dist/components/Tabs.d.cts.map +0 -1
- package/dist/components/TerminalView.d.cts +0 -31
- package/dist/components/TerminalView.d.cts.map +0 -1
- package/dist/components/Textarea.d.cts +0 -9
- package/dist/components/Textarea.d.cts.map +0 -1
- package/dist/components/Toast.d.cts +0 -24
- package/dist/components/Toast.d.cts.map +0 -1
- package/dist/components/ToolPathLink.d.cts +0 -22
- package/dist/components/ToolPathLink.d.cts.map +0 -1
- package/dist/components/Tooltip.d.cts +0 -11
- package/dist/components/Tooltip.d.cts.map +0 -1
- package/dist/icons/icons.d.cts +0 -2
- package/dist/index.d.cts +0 -59
- package/dist/lib/ansiSpans.d.cts +0 -42
- package/dist/lib/ansiSpans.d.cts.map +0 -1
- package/dist/lib/cn.d.cts +0 -6
- package/dist/lib/cn.d.cts.map +0 -1
- package/dist/lib/collapse.d.cts +0 -14
- package/dist/lib/collapse.d.cts.map +0 -1
- package/dist/lib/editorLanguage.d.cts +0 -21
- package/dist/lib/editorLanguage.d.cts.map +0 -1
- package/dist/lib/editorTheme.d.cts +0 -76
- package/dist/lib/editorTheme.d.cts.map +0 -1
- package/dist/lib/hashlineHighlight.d.cts +0 -30
- package/dist/lib/hashlineHighlight.d.cts.map +0 -1
- package/dist/lib/hashlineView.d.cts +0 -60
- package/dist/lib/hashlineView.d.cts.map +0 -1
- package/dist/lib/media.d.cts +0 -11
- package/dist/lib/media.d.cts.map +0 -1
- package/dist/lib/optionList.d.cts +0 -21
- package/dist/lib/optionList.d.cts.map +0 -1
- package/dist/lib/syntaxHighlight.d.cts +0 -54
- package/dist/lib/syntaxHighlight.d.cts.map +0 -1
- package/dist/lib/tone.d.cts +0 -25
- package/dist/lib/tone.d.cts.map +0 -1
- package/dist/theme/apply.d.cts +0 -25
- package/dist/theme/apply.d.cts.map +0 -1
- package/dist/theme/builtinThemes.d.cts +0 -11
- package/dist/theme/builtinThemes.d.cts.map +0 -1
- package/dist/theme/derive.d.cts +0 -14
- package/dist/theme/derive.d.cts.map +0 -1
- package/dist/theme/parse.d.cts +0 -10
- package/dist/theme/parse.d.cts.map +0 -1
- package/dist/theme/piTheme.d.cts +0 -19
- package/dist/theme/piTheme.d.cts.map +0 -1
- package/dist/theme/preference.d.cts +0 -15
- package/dist/theme/preference.d.cts.map +0 -1
- package/dist/theme.d.cts +0 -8
- package/dist/types/editor.d.cts +0 -78
- package/dist/types/editor.d.cts.map +0 -1
- package/dist/types/theme.d.cts +0 -38
- package/dist/types/theme.d.cts.map +0 -1
- package/dist/types/tone.d.cts +0 -28
- package/dist/types/tone.d.cts.map +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, ReactNode } from "react";
|
|
2
|
-
//#region src/components/EmptyState.d.ts
|
|
3
|
-
export interface EmptyStateProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
4
|
-
title: ReactNode;
|
|
5
|
-
description?: ReactNode;
|
|
6
|
-
/** Optional calls to action under the copy. */
|
|
7
|
-
children?: ReactNode;
|
|
8
|
-
/**
|
|
9
|
-
* Render the child element instead of a <div>, so an empty row inside a
|
|
10
|
-
* list stays an <li> and the list keeps its semantics.
|
|
11
|
-
*/
|
|
12
|
-
asChild?: boolean;
|
|
13
|
-
}
|
|
14
|
-
/** The centred "nothing here yet" card every empty panel shares. */
|
|
15
|
-
export declare function EmptyState({ title, description, children, className, asChild, ...props }: EmptyStateProps): import("react").JSX.Element;
|
|
16
|
-
//#endregion
|
|
17
|
-
//# sourceMappingURL=EmptyState.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.d.cts","names":[],"sources":["../../src/components/EmptyState.tsx"],"mappings":";;iBAKiB,wBAAwB,KAAK;EAC5C,OAAO;EACP,cAAc;;EAEd,WAAW;;;;;EAKX;;;wBAIc,aAAa,OAAO,aAAa,UAAU,WAAW,YAAoB,SAAS,kCAAe,IAAA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { PresentedLine } from "../lib/hashlineView.cjs";
|
|
2
|
-
import { ComponentProps } from "react";
|
|
3
|
-
//#region src/components/HashlineLines.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* The anchored body shared by hashline results: a file heading per group, a
|
|
6
|
-
* right-aligned line-number gutter, and a `>>` marker on grep matches. The
|
|
7
|
-
* gutter width is a style, not a class, because it follows the widest number.
|
|
8
|
-
*
|
|
9
|
-
* The anchored lines are coloured with the editor's grammars when the body
|
|
10
|
-
* names a file, or when `path` names one for a result that does not. Colour
|
|
11
|
-
* arrives a frame or two late and never blocks the text: an unhighlighted body
|
|
12
|
-
* is the same body without the colours.
|
|
13
|
-
*/
|
|
14
|
-
export interface HashlineLinesProps extends ComponentProps<'div'> {
|
|
15
|
-
lines: readonly PresentedLine[];
|
|
16
|
-
/** Width of the line-number column, in characters, from `hashlineBody`. */
|
|
17
|
-
gutter: number;
|
|
18
|
-
/** The file a body of bare anchored lines came from, for highlighting. */
|
|
19
|
-
path?: string | undefined;
|
|
20
|
-
}
|
|
21
|
-
export declare function HashlineLines({ className, lines, gutter, path, ...props }: HashlineLinesProps): import("react").JSX.Element;
|
|
22
|
-
//#endregion
|
|
23
|
-
//# sourceMappingURL=HashlineLines.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HashlineLines.d.cts","names":[],"sources":["../../src/components/HashlineLines.tsx"],"mappings":";;;;;;;;;;;;;iBAkBiB,2BAA2B;EAC1C,gBAAgB;;EAEhB;;EAEA;;wBA4Cc,gBAAgB,WAAW,OAAO,QAAQ,SAAS,SAAS,qCAAkB,IAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from "react";
|
|
2
|
-
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
//#region src/components/Input.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* The shape both fields wear, so a single-line and a multi-line field in the
|
|
6
|
-
* same form agree on their well, their type ramp, and their invalid state.
|
|
7
|
-
* Textarea builds on it rather than restating it.
|
|
8
|
-
*/
|
|
9
|
-
export declare const fieldVariants: (props?: ({
|
|
10
|
-
variant?: "bare" | "default" | null | undefined;
|
|
11
|
-
size?: "lg" | "md" | "sm" | "xs" | null | undefined;
|
|
12
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
|
-
export type FieldVariant = NonNullable<VariantProps<typeof fieldVariants>['variant']>;
|
|
14
|
-
export type FieldSize = NonNullable<VariantProps<typeof fieldVariants>['size']>;
|
|
15
|
-
export interface InputProps extends Omit<ComponentProps<'input'>, 'size'>, VariantProps<typeof fieldVariants> {}
|
|
16
|
-
/** The one text field: deep well, quiet border, accent border on focus, red edge when invalid. */
|
|
17
|
-
export declare function Input({ className, type, variant, size, ...props }: InputProps): import("react").JSX.Element;
|
|
18
|
-
//#endregion
|
|
19
|
-
//# sourceMappingURL=Input.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.cts","names":[],"sources":["../../src/components/Input.tsx"],"mappings":";;;;;;;;qBAUa,gBAAa;;;6CAwBzB;YAEW,eAAe,YAAY,oBAAoB;YAC/C,YAAY,YAAY,oBAAoB;iBAEvC,mBAAmB,KAAK,kCAAkC,oBAAoB;;wBAG/E,QAAQ,WAAW,MAAM,SAAS,SAAS,SAAS,6BAAU,IAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from "react";
|
|
2
|
-
//#region src/components/Kbd.d.ts
|
|
3
|
-
/** A key or key path, drawn as the leader hints draw them. */
|
|
4
|
-
export declare function Kbd({ className, ...props }: ComponentProps<'kbd'>): import("react").JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
|
-
//# sourceMappingURL=Kbd.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Kbd.d.cts","names":[],"sources":["../../src/components/Kbd.tsx"],"mappings":";;;wBAKgB,MAAM,cAAc,SAAS,wCAAqB,IAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Label } from "radix-ui";
|
|
2
|
-
import { ComponentProps } from "react";
|
|
3
|
-
//#region src/components/Label.d.ts
|
|
4
|
-
/** A field's name: clicking it focuses the control, which a bare span never does. */
|
|
5
|
-
declare function Label$1({ className, ...props }: ComponentProps<typeof Label.Root>): import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { Label$1 as Label };
|
|
8
|
-
//# sourceMappingURL=Label.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.cts","names":[],"sources":["../../src/components/Label.tsx"],"mappings":";;;;iBAMgB,UAAQ,cAAc,SAAS,sBAAsB,MAAe,wBAAK,IAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//#region src/components/Markdown.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* What a piece of inline code opens, when the host knows.
|
|
4
|
-
*
|
|
5
|
-
* Returning undefined leaves the span as plain code, which is the answer for
|
|
6
|
-
* everything a message quotes that is not a file: a class name, a flag, a
|
|
7
|
-
* command. The caller decides what counts, because only it knows which files
|
|
8
|
-
* the session has.
|
|
9
|
-
*/
|
|
10
|
-
export type FileLinkHandler = (text: string, explicit?: boolean) => (() => void) | undefined;
|
|
11
|
-
/** GitHub-flavored Markdown using the cockpit's safe, shared presentation. */
|
|
12
|
-
export declare function Markdown({ text, onFileLink }: {
|
|
13
|
-
text: string;
|
|
14
|
-
onFileLink?: FileLinkHandler;
|
|
15
|
-
}): import("react").JSX.Element;
|
|
16
|
-
//#endregion
|
|
17
|
-
//# sourceMappingURL=Markdown.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Markdown.d.cts","names":[],"sources":["../../src/components/Markdown.tsx"],"mappings":";;;;;;;;;YAkBY,mBAAmB,cAAc;;wBAiI7B,WAAW,MAAM;EAAgB;EAAc,aAAa;oBAAiB,IAAA"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { MediaKind } from "../types/editor.cjs";
|
|
2
|
-
import { PdfPreviewController } from "./PdfPreview.cjs";
|
|
3
|
-
//#region src/components/MediaPreview.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* A file the browser can show but not edit.
|
|
6
|
-
*
|
|
7
|
-
* It renders bytes a server is already serving, so the caller supplies the
|
|
8
|
-
* URL and this decides only which element reads it. Everything the browser
|
|
9
|
-
* cannot render is a download rather than a converted approximation: a `.docx`
|
|
10
|
-
* turned into HTML is a different document, and offering to edit that one
|
|
11
|
-
* would be offering to overwrite the real one with it.
|
|
12
|
-
*/
|
|
13
|
-
export interface MediaPlaybackState {
|
|
14
|
-
playing: boolean;
|
|
15
|
-
currentTime: number;
|
|
16
|
-
duration: number;
|
|
17
|
-
}
|
|
18
|
-
export interface MediaIntrinsicSize {
|
|
19
|
-
width: number;
|
|
20
|
-
height: number;
|
|
21
|
-
}
|
|
22
|
-
export interface MediaFrameMetadata {
|
|
23
|
-
mediaTime: number;
|
|
24
|
-
presentedFrames?: number;
|
|
25
|
-
}
|
|
26
|
-
export interface MediaFrameCapture {
|
|
27
|
-
blob: Blob;
|
|
28
|
-
width: number;
|
|
29
|
-
height: number;
|
|
30
|
-
timeSeconds: number;
|
|
31
|
-
metadata?: MediaFrameMetadata;
|
|
32
|
-
}
|
|
33
|
-
export interface MediaPreviewController {
|
|
34
|
-
play: () => Promise<void>;
|
|
35
|
-
pause: () => void;
|
|
36
|
-
seek: (seconds: number) => void;
|
|
37
|
-
getState: () => MediaPlaybackState;
|
|
38
|
-
isFrameReady: () => boolean;
|
|
39
|
-
getIntrinsicSize: () => MediaIntrinsicSize | null;
|
|
40
|
-
captureFrame: (type?: 'image/png' | 'image/jpeg', quality?: number) => Promise<MediaFrameCapture | null>;
|
|
41
|
-
}
|
|
42
|
-
export interface MediaPreviewProps {
|
|
43
|
-
/** Where the bytes are served from. */
|
|
44
|
-
src: string;
|
|
45
|
-
/** The file's path, used for the accessible name and the download name. */
|
|
46
|
-
path: string;
|
|
47
|
-
/** Overrides the kind inferred from the path, for a server that knows better. */
|
|
48
|
-
kind?: MediaKind;
|
|
49
|
-
className?: string;
|
|
50
|
-
videoControls?: boolean;
|
|
51
|
-
'data-testid'?: string;
|
|
52
|
-
/** Video-only controller. It is assigned while the video element is mounted. */
|
|
53
|
-
controllerRef?: import('react').Ref<MediaPreviewController>;
|
|
54
|
-
/** PDF-only page and geometry controller. */
|
|
55
|
-
pdfControllerRef?: import('react').Ref<PdfPreviewController>;
|
|
56
|
-
/** Reports browser playback state changes for video previews. */
|
|
57
|
-
onPlaybackStateChange?: (state: MediaPlaybackState) => void;
|
|
58
|
-
}
|
|
59
|
-
export declare function MediaPreview({ src, path, kind, className, controllerRef, pdfControllerRef, onPlaybackStateChange, videoControls, 'data-testid': testId }: MediaPreviewProps): import("react").JSX.Element;
|
|
60
|
-
//#endregion
|
|
61
|
-
//# sourceMappingURL=MediaPreview.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MediaPreview.d.cts","names":[],"sources":["../../src/components/MediaPreview.tsx"],"mappings":";;;;;;;;;;;;iBAmBiB;EACf;EACA;EACA;;iBAGe;EACf;EACA;;iBAGe;EACf;EACA;;iBAGe;EACf,MAAM;EACN;EACA;EACA;EACA,WAAW;;iBAGI;EACf,YAAY;EACZ;EACA,OAAO;EACP,gBAAgB;EAChB;EACA,wBAAwB;EACxB,eAAe,mCAAmC,qBAAqB,QAAQ;;iBAGhE;;EAEf;;EAEA;;EAEA,OAAO;EACP;EACA;EACA;;EAEA,gCAAgC,IAAI;;EAEpC,mCAAmC,IAAI;;EAEvC,yBAAyB,OAAO;;wBA6IlB,eACd,KACA,MACA,MACA,WACA,eACA,kBACA,uBACA,8BACe,UACd,oCAAiB,IAAA"}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { StatusTone } from "./StatusBadge.cjs";
|
|
2
|
-
import { ComponentProps, ReactNode } from "react";
|
|
3
|
-
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
//#region src/components/MessageItem.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* The message item: the timeline card a tool call, a run, or a notice sits
|
|
7
|
-
* in. The item owns its outcome tone and its expand state; the header, body,
|
|
8
|
-
* and status parts read both from it, so a card composes the parts and never
|
|
9
|
-
* threads `expanded` by hand. A tool message in a web plugin is built from
|
|
10
|
-
* this, and so is the cockpit's own fallback item, which is what keeps them
|
|
11
|
-
* looking alike.
|
|
12
|
-
*/
|
|
13
|
-
export interface MessageItemState {
|
|
14
|
-
tone: StatusTone;
|
|
15
|
-
/** Whether the header offers the toggle; an item that hides nothing offers none. */
|
|
16
|
-
expandable: boolean;
|
|
17
|
-
expanded: boolean;
|
|
18
|
-
toggle: () => void;
|
|
19
|
-
}
|
|
20
|
-
/** The enclosing item's state, for a part that lives deeper than the item's render prop. */
|
|
21
|
-
export declare function useMessageItem(): MessageItemState;
|
|
22
|
-
/** The frame, wearing the edge STATUS_EDGE names for the tone, so the two never drift apart. */
|
|
23
|
-
export declare const messageItemVariants: (props?: ({
|
|
24
|
-
tone?: "accent" | "error" | "info" | "neutral" | "ok" | "running" | null | undefined;
|
|
25
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
26
|
-
/** The same tone as a row: no card, one coloured edge, and the group's separators between rows. */
|
|
27
|
-
export declare const messageItemRowVariants: (props?: ({
|
|
28
|
-
tone?: "accent" | "error" | "info" | "neutral" | "ok" | "running" | null | undefined;
|
|
29
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
30
|
-
export interface MessageItemProps extends Omit<ComponentProps<'div'>, 'children'>, VariantProps<typeof messageItemVariants> {
|
|
31
|
-
/** Whether the header offers the expand toggle. A toggle that reveals nothing reads as broken, so the card decides. */
|
|
32
|
-
expandable?: boolean;
|
|
33
|
-
defaultExpanded?: boolean;
|
|
34
|
-
/** Controlled mode; pair with onExpandedChange. Omit it and the item keeps its own state. */
|
|
35
|
-
expanded?: boolean;
|
|
36
|
-
onExpandedChange?: (expanded: boolean) => void;
|
|
37
|
-
/** Plain content, or a function of the item's state for a card that picks its lines by `expanded`. */
|
|
38
|
-
children?: ReactNode | ((state: MessageItemState) => ReactNode);
|
|
39
|
-
}
|
|
40
|
-
export declare function MessageItem({ className, tone, expandable, defaultExpanded, expanded, onExpandedChange, children, ...props }: MessageItemProps): import("react").JSX.Element;
|
|
41
|
-
export interface MessageItemGroupProps extends Omit<ComponentProps<'div'>, 'title'>, VariantProps<typeof messageItemVariants> {
|
|
42
|
-
/** The bold label at the left of the group header: the tool the run belongs to. */
|
|
43
|
-
title: ReactNode;
|
|
44
|
-
/** The line beside it, such as how many calls the group holds. */
|
|
45
|
-
summary?: ReactNode;
|
|
46
|
-
/** The badge text; defaults to the tone's label, null hides the badge. */
|
|
47
|
-
badge?: ReactNode | null;
|
|
48
|
-
children?: ReactNode;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* One frame around a run of items that belong together.
|
|
52
|
-
*
|
|
53
|
-
* A transcript that calls the same tool five times in a row is five identical
|
|
54
|
-
* frames, five gutter labels and five gaps, and the repetition reads louder
|
|
55
|
-
* than the commands do. The group draws the frame once and each item inside it
|
|
56
|
-
* becomes a row: same header, same expand, no card of its own. The tone still
|
|
57
|
-
* belongs to the row, as an edge, so a failure in the middle of a run is not
|
|
58
|
-
* flattened into the group's own outcome.
|
|
59
|
-
*/
|
|
60
|
-
export declare function MessageItemGroup({ className, tone, title, summary, badge, children, ...props }: MessageItemGroupProps): import("react").JSX.Element;
|
|
61
|
-
/** The tone a tool call's item wears: running while the tool runs, then its outcome. */
|
|
62
|
-
export declare function toolTone(state: {
|
|
63
|
-
running: boolean;
|
|
64
|
-
isError: boolean;
|
|
65
|
-
}): StatusTone;
|
|
66
|
-
/** The badge text a tone reads as when the header is not told otherwise; empty hides the badge. */
|
|
67
|
-
export declare const STATUS_LABEL: Readonly<Record<StatusTone, string>>;
|
|
68
|
-
export interface MessageItemHeaderProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
69
|
-
/** The bold label at the left: the tool name. */
|
|
70
|
-
title: ReactNode;
|
|
71
|
-
/** The badge text; defaults to the tone's label, null hides the badge. */
|
|
72
|
-
badge?: ReactNode | null;
|
|
73
|
-
/** The summary beside the title; it gets the remaining width. */
|
|
74
|
-
children?: ReactNode;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* The title row: label, summary, the tone's badge, and the expand toggle when
|
|
78
|
-
* the item is expandable.
|
|
79
|
-
*
|
|
80
|
-
* A row inside a group says less. The group's header has already named the
|
|
81
|
-
* tool and stated the run's outcome, so the row drops its title and speaks up
|
|
82
|
-
* only when something went wrong or is still going: five OK badges down a run
|
|
83
|
-
* of five are noise, and the one ERROR among them is the point.
|
|
84
|
-
*/
|
|
85
|
-
export declare function MessageItemHeader({ className, title, badge, children, ...props }: MessageItemHeaderProps): import("react").JSX.Element;
|
|
86
|
-
/** The recessed body under the header. */
|
|
87
|
-
export declare function MessageItemBody({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
88
|
-
/** The glyph a tone reads as in a status line. */
|
|
89
|
-
export declare const STATUS_GLYPH: Readonly<Record<StatusTone, string>>;
|
|
90
|
-
export declare const messageItemStatusVariants: (props?: ({
|
|
91
|
-
tone?: "accent" | "error" | "info" | "neutral" | "ok" | "running" | null | undefined;
|
|
92
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
93
|
-
export interface MessageItemStatusProps extends ComponentProps<'span'>, VariantProps<typeof messageItemStatusVariants> {
|
|
94
|
-
/** Replaces the tone's glyph. */
|
|
95
|
-
glyph?: string;
|
|
96
|
-
/** Renders as a button that expands the item: the "N more line(s)" hint. Only className carries over. */
|
|
97
|
-
expands?: boolean;
|
|
98
|
-
}
|
|
99
|
-
/** The one-line status under a body: `◐ running`, `✗ failed`, `✓ done`, or the hint that more is hidden. */
|
|
100
|
-
export declare function MessageItemStatus({ className, tone, glyph, expands, children, ...props }: MessageItemStatusProps): import("react").JSX.Element;
|
|
101
|
-
//#endregion
|
|
102
|
-
//# sourceMappingURL=MessageItem.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MessageItem.d.cts","names":[],"sources":["../../src/components/MessageItem.tsx"],"mappings":";;;;;;;;;;;;iBAiBiB;EACf,MAAM;;EAEN;EACA;EACA;;;wBAWc,kBAAkB;;qBAarB,sBAAmB;;6CAG9B;;qBAGW,yBAAsB;;6CAGjC;iBAEe,yBACP,KAAK,oCAAoC,oBAAoB;;EAErE;EACA;;EAEA;EACA,oBAAoB;;EAEpB,WAAW,cAAc,OAAO,qBAAqB;;wBAGvC,cACd,WACA,MACA,YACA,iBACA,UACA,kBACA,aACG,SACF,mCAAgB,IAAA;iBA8BF,8BACP,KAAK,iCAAiC,oBAAoB;;EAElE,OAAO;;EAEP,UAAU;;EAEV,QAAQ;EACR,WAAW;;;;;;;;;;;;wBAaG,mBACd,WACA,MACA,OACA,SACA,OACA,aACG,SACF,wCAAqB,IAAA;;wBAiBR,SAAS;EAAS;EAAkB;IAAqB;;qBAK5D,cAAc,SAAS,OAAO;iBAS1B,+BAA+B,KAAK;;EAEnD,OAAO;;EAEP,QAAQ;;EAER,WAAW;;;;;;;;;;;wBAeG,oBAAoB,WAAW,OAAO,OAAO,aAAa,SAAS,yCAAsB,IAAA;;wBAsCzF,kBAAkB,cAAc,SAAS,wCAAqB,IAAA;;qBAWjE,cAAc,SAAS,OAAO;qBAS9B,4BAAyB;;6CAYpC;iBAEe,+BAA+B,wBAAwB,oBAAoB;;EAE1F;;EAEA;;;wBAIc,oBACd,WACA,MACA,OACA,SACA,aACG,SACF,yCAAsB,IAAA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { MessageLineTone as MessageLineTone$1 } from "../types/tone.cjs";
|
|
2
|
-
import { ComponentProps } from "react";
|
|
3
|
-
//#region src/components/MessageLines.d.ts
|
|
4
|
-
/** One line of a message body, with the tone the card's pure view logic chose for it. */
|
|
5
|
-
export type MessageLineTone = MessageLineTone$1;
|
|
6
|
-
export interface MessageLine {
|
|
7
|
-
text: string;
|
|
8
|
-
tone: MessageLineTone;
|
|
9
|
-
bold?: boolean;
|
|
10
|
-
indent?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const messageLineVariants: (props?: ({
|
|
13
|
-
tone?: "accent" | "dim" | "error" | "hi" | "muted" | "success" | "text" | "warning" | null | undefined;
|
|
14
|
-
bold?: boolean | null | undefined;
|
|
15
|
-
indent?: boolean | null | undefined;
|
|
16
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
17
|
-
export interface MessageLinesProps extends ComponentProps<'div'> {
|
|
18
|
-
lines: readonly MessageLine[];
|
|
19
|
-
}
|
|
20
|
-
/** A body of toned lines: what a card's view helper computed, drawn one line per row. */
|
|
21
|
-
export declare function MessageLines({ className, lines, ...props }: MessageLinesProps): import("react").JSX.Element;
|
|
22
|
-
//#endregion
|
|
23
|
-
//# sourceMappingURL=MessageLines.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MessageLines.d.cts","names":[],"sources":["../../src/components/MessageLines.tsx"],"mappings":";;;;YAOY,kBAAkB;iBAEb;EACf;EACA,MAAM;EACN;EACA;;qBAGW,sBAAmB;;;;6CAgB9B;iBAEe,0BAA0B;EACzC,gBAAgB;;;wBAIF,eAAe,WAAW,UAAU,SAAS,oCAAiB,IAAA"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, ReactNode } from "react";
|
|
2
|
-
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
//#region src/components/OptionList.d.ts
|
|
4
|
-
export declare const optionListVariants: (props?: ({
|
|
5
|
-
density?: "comfortable" | "compact" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
-
export declare const optionRowVariants: (props?: ({
|
|
8
|
-
density?: "comfortable" | "compact" | null | undefined;
|
|
9
|
-
active?: boolean | null | undefined;
|
|
10
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
-
export declare const optionMarkerVariants: (props?: ({
|
|
12
|
-
density?: "comfortable" | "compact" | null | undefined;
|
|
13
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
|
-
export interface OptionRowProps extends ComponentProps<'button'>, VariantProps<typeof optionRowVariants> {
|
|
15
|
-
/** The digit or bullet in the row's leading circle; omit it for a row with no shortcut. */
|
|
16
|
-
marker?: ReactNode;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* One row of an option list, exported on its own so a surface with richer
|
|
20
|
-
* rows than a plain string still wears the list's shape instead of restating
|
|
21
|
-
* it. Children render straight into the row, so a row is free to hold a name
|
|
22
|
-
* and a description side by side; OptionLabel is the single-string case.
|
|
23
|
-
* `role="option"` means a row belongs inside a `listbox`.
|
|
24
|
-
*/
|
|
25
|
-
export declare function OptionRow({ className, density, active, marker, children, ...props }: OptionRowProps): import("react").JSX.Element;
|
|
26
|
-
/** A row's single-string label: it takes the remaining width and clips or wraps by density. */
|
|
27
|
-
export declare function OptionLabel({ className, density, ...props }: ComponentProps<'span'> & VariantProps<typeof optionListVariants>): import("react").JSX.Element;
|
|
28
|
-
export interface OptionListProps extends Omit<ComponentProps<'div'>, 'onSelect'>, VariantProps<typeof optionListVariants> {
|
|
29
|
-
options: readonly string[];
|
|
30
|
-
/** The highlighted row, owned by the surface so its own focused element can drive it. */
|
|
31
|
-
cursor: number;
|
|
32
|
-
onCursorChange: (cursor: number) => void;
|
|
33
|
-
onSelect: (option: string) => void;
|
|
34
|
-
/** Rows are `${testIdPrefix}-${index}`; the list itself is the plural, so a prefix query for a row never catches it. */
|
|
35
|
-
testIdPrefix: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* The answers a select surface offers, wherever it is framed.
|
|
39
|
-
*
|
|
40
|
-
* The agent decides how many options there are, and a real one runs past
|
|
41
|
-
* twenty, so the list cannot rely on the digit shortcuts alone. The cursor is
|
|
42
|
-
* controlled rather than owned here because the surface around it is what the
|
|
43
|
-
* overlay library focuses: keys arrive there, and taking focus away from it to
|
|
44
|
-
* a list would fight the library for it and break the escape and outside-click
|
|
45
|
-
* behaviour that focus carries. Pair it with handleOptionListKey.
|
|
46
|
-
*/
|
|
47
|
-
export declare function OptionList({ className, options, cursor, onCursorChange, onSelect, testIdPrefix, density, ...props }: OptionListProps): import("react").JSX.Element;
|
|
48
|
-
//#endregion
|
|
49
|
-
//# sourceMappingURL=OptionList.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OptionList.d.cts","names":[],"sources":["../../src/components/OptionList.tsx"],"mappings":";;;qBAMa,qBAAkB;;6CAM7B;qBAEW,oBAAiB;;;6CAc5B;qBAEW,uBAAoB;;6CAQ/B;iBAEe,uBAAuB,0BAA0B,oBAAoB;;EAEpF,SAAS;;;;;;;;;wBAUK,YAAY,WAAW,SAAS,QAAQ,QAAQ,aAAa,SAAS,iCAAc,IAAA;;wBAkBpF,cACd,WACA,YACG,SACF,yBAAyB,oBAAoB,sCAAmB,IAAA;iBAclD,wBACP,KAAK,oCAAoC,oBAAoB;EACrE;;EAEA;EACA,iBAAiB;EACjB,WAAW;;EAEX;;;;;;;;;;;;wBAac,aACd,WACA,SACA,QACA,gBACA,UACA,cACA,YACG,SACF,kCAAe,IAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from "react";
|
|
2
|
-
//#region src/components/Panel.d.ts
|
|
3
|
-
export interface PanelProps extends ComponentProps<'div'> {
|
|
4
|
-
/** Render the child element instead of a <div>, so a list row can be a panel. */
|
|
5
|
-
asChild?: boolean;
|
|
6
|
-
}
|
|
7
|
-
/** The bordered card surface: a tool card, a run card, a provider row. */
|
|
8
|
-
export declare function Panel({ className, asChild, ...props }: PanelProps): import("react").JSX.Element;
|
|
9
|
-
/** A panel's title row. */
|
|
10
|
-
export declare function PanelHeader({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
11
|
-
/** A panel's recessed body: the deep well the header sits above. */
|
|
12
|
-
export declare function PanelBody({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
13
|
-
//#endregion
|
|
14
|
-
//# sourceMappingURL=Panel.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.d.cts","names":[],"sources":["../../src/components/Panel.tsx"],"mappings":";;iBAKiB,mBAAmB;;EAElC;;;wBAIc,QAAQ,WAAW,YAAoB,SAAS,6BAAU,IAAA;;wBAY1D,cAAc,cAAc,SAAS,wCAAqB,IAAA;;wBAO1D,YAAY,cAAc,SAAS,wCAAqB,IAAA"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
//#region src/components/PdfPreview.d.ts
|
|
2
|
-
export interface PdfNormalizedRectangle {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
}
|
|
8
|
-
export interface PdfPageState {
|
|
9
|
-
page: number;
|
|
10
|
-
pageCount: number;
|
|
11
|
-
sourceWidth: number;
|
|
12
|
-
sourceHeight: number;
|
|
13
|
-
}
|
|
14
|
-
export interface PdfPageRegion {
|
|
15
|
-
page: number;
|
|
16
|
-
rect: PdfNormalizedRectangle;
|
|
17
|
-
}
|
|
18
|
-
export interface PdfPreviewController {
|
|
19
|
-
getState: () => PdfPageState;
|
|
20
|
-
setPage: (page: number) => void;
|
|
21
|
-
resolveViewportRegion: (rectangle: {
|
|
22
|
-
left: number;
|
|
23
|
-
top: number;
|
|
24
|
-
right: number;
|
|
25
|
-
bottom: number;
|
|
26
|
-
}) => PdfPageRegion | null;
|
|
27
|
-
capturePage: (type?: 'image/png' | 'image/jpeg', quality?: number) => Promise<Blob | null>;
|
|
28
|
-
}
|
|
29
|
-
export interface PdfPreviewProps {
|
|
30
|
-
src: string;
|
|
31
|
-
path: string;
|
|
32
|
-
className?: string;
|
|
33
|
-
'data-testid'?: string;
|
|
34
|
-
controllerRef?: import('react').Ref<PdfPreviewController>;
|
|
35
|
-
}
|
|
36
|
-
export declare function resolvePdfViewportRegion(page: number, bounds: {
|
|
37
|
-
left: number;
|
|
38
|
-
top: number;
|
|
39
|
-
right: number;
|
|
40
|
-
bottom: number;
|
|
41
|
-
width: number;
|
|
42
|
-
height: number;
|
|
43
|
-
}, rectangle: {
|
|
44
|
-
left: number;
|
|
45
|
-
top: number;
|
|
46
|
-
right: number;
|
|
47
|
-
bottom: number;
|
|
48
|
-
}): PdfPageRegion | null;
|
|
49
|
-
/** A page-aware PDF canvas. Coordinates resolve against PDF page geometry rather than an opaque browser iframe. */
|
|
50
|
-
export declare function PdfPreview({ src, path, className, controllerRef, 'data-testid': testId }: PdfPreviewProps): import("react").JSX.Element;
|
|
51
|
-
//#endregion
|
|
52
|
-
//# sourceMappingURL=PdfPreview.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PdfPreview.d.cts","names":[],"sources":["../../src/components/PdfPreview.tsx"],"mappings":";iBAQiB;EACf;EACA;EACA;EACA;;iBAGe;EACf;EACA;EACA;EACA;;iBAGe;EACf;EACA,MAAM;;iBAGS;EACf,gBAAgB;EAChB,UAAU;EACV,wBAAwB;IACtB;IACA;IACA;IACA;QACI;EACN,cAAc,mCAAmC,qBAAqB,QAAQ;;iBAG/D;EACf;EACA;EACA;EACA;EACA,gCAAgC,IAAI;;wBAUtB,yBACd,cACA;EAAU;EAAc;EAAa;EAAe;EAAgB;EAAe;GACnF;EAAa;EAAc;EAAa;EAAe;IACtD;;wBA0Ba,aAAa,KAAK,MAAM,WAAW,8BAA8B,UAAU,kCAAe,IAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Popover } from "radix-ui";
|
|
2
|
-
import { ComponentProps } from "react";
|
|
3
|
-
//#region src/components/Popover.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* shadcn's Popover on Radix: anchored to its trigger, closes on outside
|
|
6
|
-
* click and Escape, and the trigger toggles it rather than reopening it.
|
|
7
|
-
*/
|
|
8
|
-
declare function Popover$1(props: ComponentProps<typeof Popover.Root>): import("react").JSX.Element;
|
|
9
|
-
export declare function PopoverTrigger(props: ComponentProps<typeof Popover.Trigger>): import("react").JSX.Element;
|
|
10
|
-
export declare function PopoverAnchor(props: ComponentProps<typeof Popover.Anchor>): import("react").JSX.Element;
|
|
11
|
-
/** Dismisses the popover from inside it: the row that acts and closes in one click. */
|
|
12
|
-
export declare function PopoverClose(props: ComponentProps<typeof Popover.Close>): import("react").JSX.Element;
|
|
13
|
-
export declare function PopoverContent({ className, align, sideOffset, ...props }: ComponentProps<typeof Popover.Content>): import("react").JSX.Element;
|
|
14
|
-
/** The strip a popover's title sits in; tone colours the title. */
|
|
15
|
-
export declare function PopoverHeader({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
16
|
-
export declare function PopoverFooter({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { Popover$1 as Popover };
|
|
19
|
-
//# sourceMappingURL=Popover.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.cts","names":[],"sources":["../../src/components/Popover.tsx"],"mappings":";;;;;;;iBASgB,UAAQ,OAAO,sBAAsB,QAAiB,wBAAK,IAAA;wBAI3D,eAAe,OAAO,sBAAsB,QAAiB,2BAAQ,IAAA;wBAIrE,cAAc,OAAO,sBAAsB,QAAiB,0BAAO,IAAA;;wBAKnE,aAAa,OAAO,sBAAsB,QAAiB,yBAAM,IAAA;wBAIjE,iBACd,WACA,OACA,eACG,SACF,sBAAsB,QAAiB,2BAAQ,IAAA;;wBAkBlC,gBAAgB,cAAc,SAAS,wCAAqB,IAAA;wBAa5D,gBAAgB,cAAc,SAAS,wCAAqB,IAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Progress } from "radix-ui";
|
|
2
|
-
import { ComponentProps } from "react";
|
|
3
|
-
//#region src/components/Progress.d.ts
|
|
4
|
-
/** A determinate bar; leave `value` undefined and Radix reports it as indeterminate. */
|
|
5
|
-
declare function Progress$1({ className, value, ...props }: ComponentProps<typeof Progress.Root>): import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { Progress$1 as Progress };
|
|
8
|
-
//# sourceMappingURL=Progress.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Progress.d.cts","names":[],"sources":["../../src/components/Progress.tsx"],"mappings":";;;;iBAMgB,aAAW,WAAW,UAAU,SAAS,sBAAsB,SAAkB,wBAAK,IAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { RadioGroup } from "radix-ui";
|
|
2
|
-
import { ComponentProps } from "react";
|
|
3
|
-
//#region src/components/RadioGroup.d.ts
|
|
4
|
-
/** One choice out of several; Radix owns the arrow-key roving focus a native group has. */
|
|
5
|
-
declare function RadioGroup$1({ className, ...props }: ComponentProps<typeof RadioGroup.Root>): import("react").JSX.Element;
|
|
6
|
-
export declare function RadioGroupItem({ className, ...props }: ComponentProps<typeof RadioGroup.Item>): import("react").JSX.Element;
|
|
7
|
-
/**
|
|
8
|
-
* A whole card that is one radio choice: the theme picker, where the target is
|
|
9
|
-
* the preview rather than a dot. Radix keeps the roving focus and the checked
|
|
10
|
-
* state; the card supplies the frame.
|
|
11
|
-
*/
|
|
12
|
-
export declare function RadioGroupCard({ className, ...props }: ComponentProps<typeof RadioGroup.Item>): import("react").JSX.Element;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { RadioGroup$1 as RadioGroup };
|
|
15
|
-
//# sourceMappingURL=RadioGroup.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.cts","names":[],"sources":["../../src/components/RadioGroup.tsx"],"mappings":";;;;iBAMgB,eAAa,cAAc,SAAS,sBAAsB,WAAoB,wBAAK,IAAA;wBAMnF,iBAAiB,cAAc,SAAS,sBAAsB,WAAoB,wBAAK,IAAA;;;;;;wBAuBvF,iBAAiB,cAAc,SAAS,sBAAsB,WAAoB,wBAAK,IAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ScrollArea } from "radix-ui";
|
|
2
|
-
import { ComponentProps } from "react";
|
|
3
|
-
//#region src/components/ScrollArea.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* A scroll container with a styled bar. The base stylesheet already themes
|
|
6
|
-
* the native scrollbar, so reach for this only where the bar must overlay the
|
|
7
|
-
* content or sit inside a rounded surface that clips it.
|
|
8
|
-
*/
|
|
9
|
-
declare function ScrollArea$1({ className, children, ...props }: ComponentProps<typeof ScrollArea.Root>): import("react").JSX.Element;
|
|
10
|
-
export declare function ScrollBar({ className, orientation, ...props }: ComponentProps<typeof ScrollArea.ScrollAreaScrollbar>): import("react").JSX.Element;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { ScrollArea$1 as ScrollArea };
|
|
13
|
-
//# sourceMappingURL=ScrollArea.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollArea.d.cts","names":[],"sources":["../../src/components/ScrollArea.tsx"],"mappings":";;;;;;;;iBAUgB,eAAa,WAAW,aAAa,SAAS,sBAAsB,WAAoB,wBAAK,IAAA;wBAY7F,YACd,WACA,gBACG,SACF,sBAAsB,WAAoB,uCAAoB,IAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from "react";
|
|
2
|
-
//#region src/components/SectionLabel.d.ts
|
|
3
|
-
/** The tiny tracked-out caps that head every cockpit section (SESSIONS, ACTIVITY, MINOR MODES). */
|
|
4
|
-
export declare function SectionLabel({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
|
-
//# sourceMappingURL=SectionLabel.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SectionLabel.d.cts","names":[],"sources":["../../src/components/SectionLabel.tsx"],"mappings":";;;wBAKgB,eAAe,cAAc,SAAS,yCAAsB,IAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Select } from "radix-ui";
|
|
2
|
-
import { ComponentProps } from "react";
|
|
3
|
-
//#region src/components/Select.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* A single choice from a list, on Radix rather than a native <select>: a
|
|
6
|
-
* native one cannot be styled to the palette on every platform, and the
|
|
7
|
-
* cockpit's model and mode pickers need the same surface a popover has.
|
|
8
|
-
*/
|
|
9
|
-
declare function Select$1(props: ComponentProps<typeof Select.Root>): import("react").JSX.Element;
|
|
10
|
-
export declare function SelectGroup(props: ComponentProps<typeof Select.Group>): import("react").JSX.Element;
|
|
11
|
-
export declare function SelectValue(props: ComponentProps<typeof Select.Value>): import("react").JSX.Element;
|
|
12
|
-
export declare function SelectTrigger({ className, children, ...props }: ComponentProps<typeof Select.Trigger>): import("react").JSX.Element;
|
|
13
|
-
export declare function SelectContent({ className, position, sideOffset, children, ...props }: ComponentProps<typeof Select.Content>): import("react").JSX.Element;
|
|
14
|
-
export declare function SelectLabel({ className, ...props }: ComponentProps<typeof Select.Label>): import("react").JSX.Element;
|
|
15
|
-
export declare function SelectItem({ className, children, ...props }: ComponentProps<typeof Select.Item>): import("react").JSX.Element;
|
|
16
|
-
export declare function SelectSeparator({ className, ...props }: ComponentProps<typeof Select.Separator>): import("react").JSX.Element;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { Select$1 as Select };
|
|
19
|
-
//# sourceMappingURL=Select.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.cts","names":[],"sources":["../../src/components/Select.tsx"],"mappings":";;;;;;;;iBAWgB,SAAO,OAAO,sBAAsB,OAAgB,wBAAK,IAAA;wBAIzD,YAAY,OAAO,sBAAsB,OAAgB,yBAAM,IAAA;wBAI/D,YAAY,OAAO,sBAAsB,OAAgB,yBAAM,IAAA;wBAI/D,gBAAgB,WAAW,aAAa,SAAS,sBAAsB,OAAgB,2BAAQ,IAAA;wBAkB/F,gBACd,WACA,UACA,YACA,aACG,SACF,sBAAsB,OAAgB,2BAAQ,IAAA;wBAmBjC,cAAc,cAAc,SAAS,sBAAsB,OAAgB,yBAAM,IAAA;wBAUjF,aAAa,WAAW,aAAa,SAAS,sBAAsB,OAAgB,wBAAK,IAAA;wBAoBzF,kBAAkB,cAAc,SAAS,sBAAsB,OAAgB,6BAAU,IAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Separator } from "radix-ui";
|
|
2
|
-
import { ComponentProps } from "react";
|
|
3
|
-
//#region src/components/Separator.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* A hairline in the soft border colour. Radix decides the semantics: a
|
|
6
|
-
* decorative rule is hidden from assistive tech, a meaningful one keeps its
|
|
7
|
-
* separator role, and either way the element carries `data-orientation` so a
|
|
8
|
-
* consumer can style around it the way it does every other primitive.
|
|
9
|
-
*/
|
|
10
|
-
declare function Separator$1({ className, orientation, decorative, ...props }: ComponentProps<typeof Separator.Root>): import("react").JSX.Element;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { Separator$1 as Separator };
|
|
13
|
-
//# sourceMappingURL=Separator.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.d.cts","names":[],"sources":["../../src/components/Separator.tsx"],"mappings":";;;;;;;;;iBAWgB,cACd,WACA,aACA,eACG,SACF,sBAAsB,UAAmB,wBAAK,IAAA"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Dialog } from "radix-ui";
|
|
2
|
-
import { ComponentProps } from "react";
|
|
3
|
-
//#region src/components/Sheet.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* A side panel on Radix's Dialog: an overlay that slides in from an edge,
|
|
6
|
-
* with the focus trap, Escape, outside click and scroll lock a dialog has.
|
|
7
|
-
*
|
|
8
|
-
* It is the Dialog for content that reads as a column rather than a form: a
|
|
9
|
-
* detail view beside what the reader was looking at. An inline aside cannot
|
|
10
|
-
* do this, because it takes width from the surface underneath it.
|
|
11
|
-
*/
|
|
12
|
-
export declare function Sheet(props: ComponentProps<typeof Dialog.Root>): import("react").JSX.Element;
|
|
13
|
-
export declare function SheetTrigger(props: ComponentProps<typeof Dialog.Trigger>): import("react").JSX.Element;
|
|
14
|
-
export declare function SheetClose(props: ComponentProps<typeof Dialog.Close>): import("react").JSX.Element;
|
|
15
|
-
export declare function SheetOverlay({ className, ...props }: ComponentProps<typeof Dialog.Overlay>): import("react").JSX.Element;
|
|
16
|
-
export interface SheetContentProps extends ComponentProps<typeof Dialog.Content> {
|
|
17
|
-
/** Which edge it comes from. */
|
|
18
|
-
side?: 'right' | 'left';
|
|
19
|
-
/** Width preset; `className` may still override. */
|
|
20
|
-
width?: 'sm' | 'md' | 'lg';
|
|
21
|
-
}
|
|
22
|
-
export declare function SheetContent({ className, children, side, width, ...props }: SheetContentProps): import("react").JSX.Element;
|
|
23
|
-
export interface SheetHeaderProps extends ComponentProps<'div'> {
|
|
24
|
-
/** Show the close control at the right of the strip. On by default: a sheet is dismissed, not answered. */
|
|
25
|
-
dismissible?: boolean;
|
|
26
|
-
/** What the close control announces. */
|
|
27
|
-
closeLabel?: string;
|
|
28
|
-
}
|
|
29
|
-
export declare function SheetHeader({ className, dismissible, closeLabel, children, ...props }: SheetHeaderProps): import("react").JSX.Element;
|
|
30
|
-
export declare function SheetTitle({ className, ...props }: ComponentProps<typeof Dialog.Title>): import("react").JSX.Element;
|
|
31
|
-
export declare function SheetDescription({ className, ...props }: ComponentProps<typeof Dialog.Description>): import("react").JSX.Element;
|
|
32
|
-
export declare function SheetBody({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
33
|
-
export declare function SheetFooter({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
34
|
-
//#endregion
|
|
35
|
-
//# sourceMappingURL=Sheet.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sheet.d.cts","names":[],"sources":["../../src/components/Sheet.tsx"],"mappings":";;;;;;;;;;;wBAegB,MAAM,OAAO,sBAAsB,OAAe,wBAAK,IAAA;wBAIvD,aAAa,OAAO,sBAAsB,OAAe,2BAAQ,IAAA;wBAIjE,WAAW,OAAO,sBAAsB,OAAe,yBAAM,IAAA;wBAI7D,eAAe,cAAc,SAAS,sBAAsB,OAAe,2BAAQ,IAAA;iBAelF,0BAA0B,sBAAsB,OAAe;;EAE9E;;EAEA;;wBAKc,eAAe,WAAW,UAAU,MAAgB,UAAiB,SAAS,oCAAiB,IAAA;iBAqB9F,yBAAyB;;EAExC;;EAEA;;wBAGc,cACd,WACA,aACA,YACA,aACG,SACF,mCAAgB,IAAA;wBAmBH,aAAa,cAAc,SAAS,sBAAsB,OAAe,yBAAM,IAAA;wBAU/E,mBAAmB,cAAc,SAAS,sBAAsB,OAAe,+BAAY,IAAA;wBAU3F,YAAY,cAAc,SAAS,wCAAqB,IAAA;wBAUxD,cAAc,cAAc,SAAS,wCAAqB,IAAA"}
|