@archieai/ui 0.1.2 → 0.1.4
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/atoms/Typography/Typography.d.ts +4 -3
- package/dist/components/atoms/Typography/Typography.d.ts.map +1 -1
- package/dist/components/molecules/Button/Button.d.ts +1 -1
- package/dist/components/molecules/Button/Button.d.ts.map +1 -1
- package/dist/components/molecules/Button/Button.styles.d.ts +1 -1
- package/dist/components/molecules/Button/Button.styles.d.ts.map +1 -1
- package/dist/components/molecules/RangeInput/RangeInput.d.ts +7 -0
- package/dist/components/molecules/RangeInput/RangeInput.d.ts.map +1 -0
- package/dist/components/molecules/RangeInput/RangeInput.styles.d.ts +5 -0
- package/dist/components/molecules/RangeInput/RangeInput.styles.d.ts.map +1 -0
- package/dist/components/molecules/TextArea/TextArea.d.ts +8 -0
- package/dist/components/molecules/TextArea/TextArea.d.ts.map +1 -0
- package/dist/components/molecules/TextArea/TextArea.styles.d.ts +9 -0
- package/dist/components/molecules/TextArea/TextArea.styles.d.ts.map +1 -0
- package/dist/components/molecules/Toggle/Toggle.d.ts +9 -0
- package/dist/components/molecules/Toggle/Toggle.d.ts.map +1 -0
- package/dist/components/molecules/Toggle/Toggle.styles.d.ts +10 -0
- package/dist/components/molecules/Toggle/Toggle.styles.d.ts.map +1 -0
- package/dist/components/organisms/ChatInput/ChatInput.d.ts +34 -5
- package/dist/components/organisms/ChatInput/ChatInput.d.ts.map +1 -1
- package/dist/components/organisms/ChatInput/ChatInput.styles.d.ts +16 -0
- package/dist/components/organisms/ChatInput/ChatInput.styles.d.ts.map +1 -1
- package/dist/components/organisms/Modal/Modal.d.ts +1 -1
- package/dist/components/organisms/Modal/Modal.d.ts.map +1 -1
- package/dist/components/organisms/Modal/Modal.styles.d.ts +0 -3
- package/dist/components/organisms/Modal/Modal.styles.d.ts.map +1 -1
- package/dist/components/organisms/Modal/Modal.types.d.ts +0 -2
- package/dist/components/organisms/Modal/Modal.types.d.ts.map +1 -1
- package/dist/index.cjs +27 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4414 -4089
- package/dist/index.js.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +19 -20
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { ReactNode, ElementType } from 'react';
|
|
2
2
|
export type TypographyVariant = 'display' | 'h1' | 'h2' | 'h3' | 'h4' | 'small' | 'tiny' | 'x-small' | 'column-header' | 'tag';
|
|
3
3
|
export type TypographyWeight = 'thin' | 'extralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'black';
|
|
4
|
-
|
|
4
|
+
export type TypographyFontFamily = 'serif' | 'sans';
|
|
5
|
+
export interface TypographyProps {
|
|
5
6
|
variant: TypographyVariant;
|
|
6
7
|
as?: ElementType;
|
|
7
8
|
children: ReactNode;
|
|
8
9
|
className?: string;
|
|
9
10
|
color?: 'primary' | 'secondary' | 'inherit';
|
|
10
11
|
weight?: TypographyWeight;
|
|
12
|
+
fontFamily?: TypographyFontFamily;
|
|
11
13
|
}
|
|
12
|
-
export declare const Typography: ({ variant, as, children, className, color, weight, }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
14
|
+
export declare const Typography: ({ variant, as, children, className, color, weight, fontFamily, }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
//# sourceMappingURL=Typography.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Typography/Typography.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAK/C,MAAM,MAAM,iBAAiB,GACzB,SAAS,GACT,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,OAAO,GACP,MAAM,GACN,SAAS,GACT,eAAe,GACf,KAAK,CAAC;AAEV,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,YAAY,GACZ,OAAO,GACP,SAAS,GACT,QAAQ,GACR,UAAU,GACV,MAAM,GACN,OAAO,CAAC;AAEZ,
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Typography/Typography.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAK/C,MAAM,MAAM,iBAAiB,GACzB,SAAS,GACT,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,OAAO,GACP,MAAM,GACN,SAAS,GACT,eAAe,GACf,KAAK,CAAC;AAEV,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,YAAY,GACZ,OAAO,GACP,SAAS,GACT,QAAQ,GACR,UAAU,GACV,MAAM,GACN,OAAO,CAAC;AAEZ,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IAC5C,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,UAAU,CAAC,EAAE,oBAAoB,CAAC;CACnC;AAkDD,eAAO,MAAM,UAAU,qEAQpB,eAAe,4CAoBjB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
-
variant?: 'primary' | 'secondary' | 'tertiary';
|
|
3
|
+
variant?: 'primary' | 'secondary' | 'tertiary' | 'cta';
|
|
4
4
|
tone?: 'brand' | 'neutral';
|
|
5
5
|
size?: 'small' | 'medium' | 'large';
|
|
6
6
|
startIcon?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAIpE,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAIpE,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,KAAK,CAAC;IACvD,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,MAAM,2GA4ClB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const buttonStyles: (props?: ({
|
|
2
|
-
variant?: "primary" | "secondary" | "tertiary" | null | undefined;
|
|
2
|
+
variant?: "primary" | "secondary" | "tertiary" | "cta" | null | undefined;
|
|
3
3
|
tone?: "neutral" | "brand" | null | undefined;
|
|
4
4
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Button/Button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;
|
|
1
|
+
{"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Button/Button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;8EAqDxB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
export interface RangeInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
variant?: 'cyan' | 'orange' | 'gradient';
|
|
4
|
+
animated?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const RangeInput: import("react").ForwardRefExoticComponent<RangeInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
|
+
//# sourceMappingURL=RangeInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RangeInput.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/RangeInput/RangeInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAc,MAAM,OAAO,CAAC;AAMxD,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC;IAC5E,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,8GAmDtB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const rangeInputStyles: (props?: ({
|
|
2
|
+
variant?: "cyan" | "orange" | "gradient" | null | undefined;
|
|
3
|
+
animated?: boolean | null | undefined;
|
|
4
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
|
+
//# sourceMappingURL=RangeInput.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RangeInput.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/RangeInput/RangeInput.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;8EAyD5B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TextareaHTMLAttributes } from 'react';
|
|
2
|
+
export interface TextAreaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'> {
|
|
3
|
+
status?: 'default' | 'error' | 'success';
|
|
4
|
+
size?: 'medium' | 'small' | 'tiny';
|
|
5
|
+
resize?: 'none' | 'vertical' | 'horizontal' | 'both';
|
|
6
|
+
}
|
|
7
|
+
export declare const TextArea: import("react").ForwardRefExoticComponent<TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
8
|
+
//# sourceMappingURL=TextArea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAc,MAAM,OAAO,CAAC;AAO3D,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC9F,MAAM,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACzC,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;CACtD;AAED,eAAO,MAAM,QAAQ,+GA0BpB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const textAreaStyles: (props?: ({
|
|
2
|
+
status?: "default" | "success" | "error" | null | undefined;
|
|
3
|
+
size?: "small" | "medium" | "tiny" | null | undefined;
|
|
4
|
+
resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export declare const textAreaContainerStyles: (props?: ({
|
|
7
|
+
size?: "small" | "medium" | "tiny" | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
//# sourceMappingURL=TextArea.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextArea.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/TextArea/TextArea.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;8EA8B1B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;8EAWlC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
export interface ToggleProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
onChange: (enabled: boolean) => void;
|
|
5
|
+
label?: string;
|
|
6
|
+
variant?: 'cyan' | 'orange';
|
|
7
|
+
}
|
|
8
|
+
export declare const Toggle: import("react").ForwardRefExoticComponent<ToggleProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
//# sourceMappingURL=Toggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Toggle/Toggle.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAczD,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC;IACjE,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC7B;AAED,eAAO,MAAM,MAAM,2GAmClB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const toggleRowStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
2
|
+
export declare const toggleLabelStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
3
|
+
export declare const toggleButtonStyles: (props?: ({
|
|
4
|
+
enabled?: boolean | null | undefined;
|
|
5
|
+
variant?: "cyan" | "orange" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export declare const toggleKnobStyles: (props?: ({
|
|
8
|
+
enabled?: boolean | null | undefined;
|
|
9
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
|
+
//# sourceMappingURL=Toggle.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toggle.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Toggle/Toggle.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,oFAAiC,CAAC;AAE9D,eAAO,MAAM,iBAAiB,oFAA+D,CAAC;AAE9F,eAAO,MAAM,kBAAkB;;;8EA8B9B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;8EAa5B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { FileStatus } from '../../molecules/ChatFile/ChatFile';
|
|
3
3
|
export interface ChatInputFile {
|
|
4
4
|
id: string;
|
|
@@ -6,6 +6,26 @@ export interface ChatInputFile {
|
|
|
6
6
|
status?: FileStatus;
|
|
7
7
|
progress?: number;
|
|
8
8
|
}
|
|
9
|
+
/** Generic action for the ChatInput toolbar */
|
|
10
|
+
export interface ChatInputAction {
|
|
11
|
+
/** Unique identifier for the action */
|
|
12
|
+
id: string;
|
|
13
|
+
/** Icon to display in the button */
|
|
14
|
+
icon: ReactNode;
|
|
15
|
+
/** Accessible label for the button */
|
|
16
|
+
label: string;
|
|
17
|
+
/** Click handler for the action */
|
|
18
|
+
onClick?: () => void;
|
|
19
|
+
/** Whether the action is disabled */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/** Model option for the model selector dropdown */
|
|
23
|
+
export interface ChatInputModelOption {
|
|
24
|
+
/** Unique identifier for the model */
|
|
25
|
+
id: string;
|
|
26
|
+
/** Display name for the model */
|
|
27
|
+
name: string;
|
|
28
|
+
}
|
|
9
29
|
export interface ChatInputProps {
|
|
10
30
|
placeholder?: string;
|
|
11
31
|
value?: string;
|
|
@@ -16,13 +36,22 @@ export interface ChatInputProps {
|
|
|
16
36
|
className?: string;
|
|
17
37
|
/** Container variant - 'transparent' removes background, border, and shadow */
|
|
18
38
|
variant?: 'default' | 'transparent';
|
|
39
|
+
/** Generic toolbar actions to display between file button and send button */
|
|
40
|
+
actions?: ChatInputAction[];
|
|
41
|
+
/** Available AI models for the model selector dropdown */
|
|
42
|
+
models?: ChatInputModelOption[];
|
|
43
|
+
/** Currently selected model ID */
|
|
44
|
+
selectedModel?: string;
|
|
45
|
+
/** Shows a loading spinner in the send button and disables input */
|
|
46
|
+
isLoading?: boolean;
|
|
19
47
|
onChange?: (value: string) => void;
|
|
20
48
|
onSend?: (message: string, files: ChatInputFile[]) => void;
|
|
21
49
|
onFileAdd?: (files: File[]) => void;
|
|
22
50
|
onFileRemove?: (fileId: string) => void;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
51
|
+
/** Callback when model selection changes */
|
|
52
|
+
onModelChange?: (modelId: string) => void;
|
|
53
|
+
/** Whether the magic AI border effect is active */
|
|
54
|
+
isUsingMagic?: boolean;
|
|
26
55
|
}
|
|
27
|
-
export declare const ChatInput:
|
|
56
|
+
export declare const ChatInput: import("react").ForwardRefExoticComponent<ChatInputProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
28
57
|
//# sourceMappingURL=ChatInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatInput.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/ChatInput/ChatInput.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"ChatInput.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/ChatInput/ChatInput.tsx"],"names":[],"mappings":"AACA,OAAO,EASL,SAAS,EACV,MAAM,OAAO,CAAC;AAIf,OAAO,EAAY,UAAU,EAAE,MAAM,mCAAmC,CAAC;AA4CzE,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,+CAA+C;AAC/C,MAAM,WAAW,eAAe;IAC9B,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,oCAAoC;IACpC,IAAI,EAAE,SAAS,CAAC;IAChB,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,mDAAmD;AACnD,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACpC,6EAA6E;IAC7E,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,0DAA0D;IAC1D,MAAM,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAChC,kCAAkC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oEAAoE;IACpE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,IAAI,CAAC;IAC3D,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACpC,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,4CAA4C;IAC5C,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,mDAAmD;IACnD,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,SAAS,2GAwYrB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const chatInputRootStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
1
2
|
export declare const chatInputContainerStyles: (props?: ({
|
|
2
3
|
state?: "default" | "active" | "withFiles" | "dragOver" | null | undefined;
|
|
3
4
|
variant?: "transparent" | "default" | null | undefined;
|
|
@@ -7,6 +8,7 @@ export declare const chatInputWrapperStyles: (props?: ({
|
|
|
7
8
|
variant?: "transparent" | "default" | null | undefined;
|
|
8
9
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
10
|
export declare const chatInputContentStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
11
|
+
export declare const chatInputInnerListStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
10
12
|
export declare const filesContainerStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
11
13
|
export declare const textareaWrapperStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
12
14
|
export declare const textareaStyles: (props?: ({
|
|
@@ -14,12 +16,26 @@ export declare const textareaStyles: (props?: ({
|
|
|
14
16
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
17
|
export declare const toolbarStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
16
18
|
export declare const toolbarLeftStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
19
|
+
export declare const toolbarRightStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
17
20
|
export declare const toolbarIconButtonStyles: (props?: ({
|
|
18
21
|
variant?: "add" | "default" | null | undefined;
|
|
19
22
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
20
23
|
export declare const sendButtonStyles: (props?: ({
|
|
21
24
|
disabled?: boolean | null | undefined;
|
|
22
25
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
26
|
+
export declare const loaderStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
23
27
|
export declare const dragOverlayStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
24
28
|
export declare const dragOverlayIconWrapperStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
29
|
+
export declare const modelSelectorTriggerStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
30
|
+
export declare const modelDropdownContentStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
31
|
+
export declare const modelDropdownItemStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
32
|
+
export declare const magicBorderWrapperStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
33
|
+
export declare const magicBorderGradientStyles: (props?: ({
|
|
34
|
+
layer?: "base" | "blur" | null | undefined;
|
|
35
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
36
|
+
export declare const magicToggleButtonStyles: (props?: ({
|
|
37
|
+
active?: boolean | null | undefined;
|
|
38
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
39
|
+
export declare const chatInputOuterWrapperStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
40
|
+
export declare const magicToggleWrapperStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
25
41
|
//# sourceMappingURL=ChatInput.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatInput.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/ChatInput/ChatInput.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB;;;8EAqBpC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;8EAoBlC,CAAC;AAEF,eAAO,MAAM,sBAAsB,oFAElC,CAAC;AAEF,eAAO,MAAM,oBAAoB,oFAEhC,CAAC;AAEF,eAAO,MAAM,qBAAqB,oFAEjC,CAAC;AAEF,eAAO,MAAM,cAAc;;8EAe1B,CAAC;AAEF,eAAO,MAAM,aAAa,oFAAkD,CAAC;AAE7E,eAAO,MAAM,iBAAiB,oFAAqC,CAAC;AAEpE,eAAO,MAAM,uBAAuB;;8EAcnC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;8EAc5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,oFAE7B,CAAC;AAEF,eAAO,MAAM,4BAA4B,oFAExC,CAAC"}
|
|
1
|
+
{"version":3,"file":"ChatInput.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/ChatInput/ChatInput.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,oFAAuC,CAAC;AAExE,eAAO,MAAM,wBAAwB;;;8EAqBpC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;8EAoBlC,CAAC;AAEF,eAAO,MAAM,sBAAsB,oFAElC,CAAC;AAEF,eAAO,MAAM,wBAAwB,oFAAoC,CAAC;AAE1E,eAAO,MAAM,oBAAoB,oFAEhC,CAAC;AAEF,eAAO,MAAM,qBAAqB,oFAEjC,CAAC;AAEF,eAAO,MAAM,cAAc;;8EAe1B,CAAC;AAEF,eAAO,MAAM,aAAa,oFAAkD,CAAC;AAE7E,eAAO,MAAM,iBAAiB,oFAAqC,CAAC;AAEpE,eAAO,MAAM,kBAAkB,oFAAiC,CAAC;AAEjE,eAAO,MAAM,uBAAuB;;8EAcnC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;8EAc5B,CAAC;AAEF,eAAO,MAAM,YAAY,oFAAsB,CAAC;AAEhD,eAAO,MAAM,iBAAiB,oFAE7B,CAAC;AAEF,eAAO,MAAM,4BAA4B,oFAExC,CAAC;AAEF,eAAO,MAAM,0BAA0B,oFAEtC,CAAC;AAEF,eAAO,MAAM,0BAA0B,oFAAuB,CAAC;AAE/D,eAAO,MAAM,uBAAuB,oFAAqB,CAAC;AAE1D,eAAO,MAAM,wBAAwB,oFAEpC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;8EAarC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;8EAcnC,CAAC;AAEF,eAAO,MAAM,2BAA2B,oFAA8B,CAAC;AAEvE,eAAO,MAAM,wBAAwB,oFAA+B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ModalProps } from './Modal.types';
|
|
2
2
|
export declare const Modal: {
|
|
3
|
-
({ open, onOpenChange, title, description,
|
|
3
|
+
({ open, onOpenChange, title, description, showCloseButton, closeIcon, children, primaryAction, secondaryAction, closeOnClickOutside, closeOnEsc, onClose, className, overlayClassName, contentClassName, headerClassName, footerClassName, size, }: ModalProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Modal/Modal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Modal/Modal.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,KAAK;yPAmBf,UAAU;;CAsJZ,CAAC"}
|
|
@@ -4,9 +4,6 @@ export declare const modalContainerStyles: (props?: ({
|
|
|
4
4
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
5
|
export declare const modalHeaderStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
6
6
|
export declare const modalHeaderTopRowStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
7
|
-
export declare const modalIconStyles: (props?: ({
|
|
8
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
9
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
7
|
export declare const modalCloseButtonStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
11
8
|
export declare const modalTitleStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
12
9
|
export declare const modalDescriptionStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Modal/Modal.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,oFAE9B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;8EAgBhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,oFAE7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,oFAEnC,CAAC;AAEF,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"Modal.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Modal/Modal.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,oFAE9B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;8EAgBhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,oFAE7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,oFAEnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,oFAElC,CAAC;AAEF,eAAO,MAAM,gBAAgB,oFAE5B,CAAC;AAEF,eAAO,MAAM,sBAAsB,oFAElC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;8EAa7B,CAAC;AAEH,eAAO,MAAM,iBAAiB,oFAAuC,CAAC"}
|
|
@@ -22,8 +22,6 @@ export interface ModalProps {
|
|
|
22
22
|
title?: string;
|
|
23
23
|
/** Description text below the title */
|
|
24
24
|
description?: string;
|
|
25
|
-
/** Icon to show in header (your custom icon component) */
|
|
26
|
-
icon?: ReactNode;
|
|
27
25
|
/** Show/hide close button (default: true) */
|
|
28
26
|
showCloseButton?: boolean;
|
|
29
27
|
/** Custom close icon (defaults to X icon) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.types.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Modal/Modal.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,WAAW,WAAW;IAC1B,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,OAAO,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpC,2BAA2B;IAC3B,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C,6CAA6C;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,gCAAgC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,0CAA0C;IAC1C,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAGtC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"Modal.types.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Modal/Modal.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,WAAW,WAAW;IAC1B,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,OAAO,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpC,2BAA2B;IAC3B,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C,6CAA6C;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,gCAAgC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,0CAA0C;IAC1C,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAGtC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6CAA6C;IAC7C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,SAAS,CAAC;IAGtB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,SAAS,CAAC;IAGrB,0CAA0C;IAC1C,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B,4CAA4C;IAC5C,eAAe,CAAC,EAAE,WAAW,CAAC;IAG9B,kDAAkD;IAClD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAGrB,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6CAA6C;IAC7C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kDAAkD;IAClD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,4CAA4C;IAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4CAA4C;IAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,uBAAuB;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;CAC3C"}
|