@bfrs/agentic-components 0.5.7 → 0.5.9
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/components/ui/feedback/Alert/Alert.d.ts +8 -0
- package/dist/components/ui/forms/FileDropzone/FileDropzone.d.ts +2 -0
- package/dist/components/ui/forms/MultiSelect/MultiSelect.d.ts +2 -2
- package/dist/custom-elements.js +6791 -6686
- package/dist/custom-elements.js.map +1 -1
- package/dist/index.js +3685 -3580
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -4,10 +4,16 @@ declare const alertVariants: (props?: ({
|
|
|
4
4
|
tone?: "success" | "warning" | "danger" | "info" | null | undefined;
|
|
5
5
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export type AlertTextPart = {
|
|
8
|
+
text: string;
|
|
9
|
+
bold?: boolean;
|
|
10
|
+
};
|
|
7
11
|
export type AlertProps = Omit<HTMLAttributes<HTMLDivElement>, "title"> & VariantProps<typeof alertVariants> & {
|
|
8
12
|
title?: ReactNode;
|
|
9
13
|
message?: ReactNode;
|
|
10
14
|
description?: ReactNode;
|
|
15
|
+
/** Structured inline text with mixed bold/normal segments. Takes precedence over message/description/children. */
|
|
16
|
+
parts?: AlertTextPart[];
|
|
11
17
|
action?: ReactNode;
|
|
12
18
|
icon?: ReactNode;
|
|
13
19
|
};
|
|
@@ -18,6 +24,8 @@ export declare const Alert: import('react').ForwardRefExoticComponent<Omit<HTMLA
|
|
|
18
24
|
title?: ReactNode;
|
|
19
25
|
message?: ReactNode;
|
|
20
26
|
description?: ReactNode;
|
|
27
|
+
/** Structured inline text with mixed bold/normal segments. Takes precedence over message/description/children. */
|
|
28
|
+
parts?: AlertTextPart[];
|
|
21
29
|
action?: ReactNode;
|
|
22
30
|
icon?: ReactNode;
|
|
23
31
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -7,6 +7,7 @@ export type FileDropzoneProps = Omit<HTMLAttributes<HTMLDivElement>, "onDrop"> &
|
|
|
7
7
|
title?: string;
|
|
8
8
|
description?: string;
|
|
9
9
|
browseLabel?: string;
|
|
10
|
+
files?: File[];
|
|
10
11
|
onFilesChange?: (files: File[]) => void;
|
|
11
12
|
};
|
|
12
13
|
export declare const FileDropzone: import('react').ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "onDrop"> & {
|
|
@@ -17,5 +18,6 @@ export declare const FileDropzone: import('react').ForwardRefExoticComponent<Omi
|
|
|
17
18
|
title?: string;
|
|
18
19
|
description?: string;
|
|
19
20
|
browseLabel?: string;
|
|
21
|
+
files?: File[];
|
|
20
22
|
onFilesChange?: (files: File[]) => void;
|
|
21
23
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -35,9 +35,9 @@ export type MultiSelectProps = {
|
|
|
35
35
|
applyLabel?: string;
|
|
36
36
|
cancelLabel?: string;
|
|
37
37
|
clearLabel?: string;
|
|
38
|
-
/** Button variant for the default footer Apply action. Defaults to `"
|
|
38
|
+
/** Button variant for the default footer Apply action. Defaults to `"outline"`. */
|
|
39
39
|
applyVariant?: ButtonVariant;
|
|
40
|
-
/** Button variant for the default footer Cancel action. Defaults to `"
|
|
40
|
+
/** Button variant for the default footer Cancel action. Defaults to `"outline"`. */
|
|
41
41
|
cancelVariant?: ButtonVariant;
|
|
42
42
|
clearVariant?: ButtonVariant;
|
|
43
43
|
className?: string;
|