siesa-ui-kit 1.0.89 → 1.0.90

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "siesa-ui-kit",
3
3
  "private": false,
4
- "version": "1.0.89",
4
+ "version": "1.0.90",
5
5
  "description": "SIESA UI Kit - Biblioteca de componentes React con Tailwind CSS, Storybook y agentes Claude AI",
6
6
  "type": "module",
7
7
  "main": "dist/siesa-ui-kit.cjs",
@@ -1,12 +0,0 @@
1
- interface ChatInputLabels {
2
- placeholder: string;
3
- send: string;
4
- }
5
- interface ChatInputProps {
6
- onSend: (message: string) => void;
7
- isLoading?: boolean;
8
- labels?: ChatInputLabels;
9
- }
10
- export declare function ChatInput({ onSend, isLoading, labels: labelsProp }: ChatInputProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
12
- //# sourceMappingURL=ChatInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChatInput.d.ts","sourceRoot":"","sources":["../../../src/components/chat/ChatInput.tsx"],"names":[],"mappings":"AAIA,UAAU,eAAe;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,cAAc;IACtB,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B;AAOD,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,SAAiB,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,cAAc,2CAyD1F"}
@@ -1,8 +0,0 @@
1
- import type { ChatMessageData } from './types';
2
- interface ChatMessageProps {
3
- message: ChatMessageData;
4
- locale?: string;
5
- }
6
- export declare function ChatMessage({ message, locale }: ChatMessageProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=ChatMessage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../../src/components/chat/ChatMessage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,UAAU,gBAAgB;IACxB,OAAO,EAAE,eAAe,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,MAAa,EAAE,EAAE,gBAAgB,2CA2CvE"}
@@ -1,3 +0,0 @@
1
- import type { ChatWidgetProps } from './types';
2
- export declare function ChatWidget({ onSendMessage, messages, isLoading, suggestedActions, isOpen, onToggle, className, labels: labelsProp, locale, }: ChatWidgetProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=ChatWidget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChatWidget.d.ts","sourceRoot":"","sources":["../../../src/components/chat/ChatWidget.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG/C,wBAAgB,UAAU,CAAC,EACzB,aAAa,EACb,QAAQ,EACR,SAAiB,EACjB,gBAAqB,EACrB,MAAc,EACd,QAAQ,EACR,SAAc,EACd,MAAM,EAAE,UAAU,EAClB,MAAa,GACd,EAAE,eAAe,2CA0CjB"}
@@ -1,14 +0,0 @@
1
- import type { ChatMessageData, SuggestedAction, ChatLabels } from './types';
2
- interface ChatWindowProps {
3
- messages: ChatMessageData[];
4
- isLoading?: boolean;
5
- suggestedActions?: SuggestedAction[];
6
- onSendMessage: (message: string) => void;
7
- onClose: () => void;
8
- onMinimize: () => void;
9
- labels: Required<ChatLabels>;
10
- locale?: string;
11
- }
12
- export declare function ChatWindow({ messages, isLoading, suggestedActions, onSendMessage, onClose, onMinimize, labels, locale, }: ChatWindowProps): import("react/jsx-runtime").JSX.Element;
13
- export {};
14
- //# sourceMappingURL=ChatWindow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChatWindow.d.ts","sourceRoot":"","sources":["../../../src/components/chat/ChatWindow.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE5E,UAAU,eAAe;IACvB,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAC;IACrC,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,SAAiB,EACjB,gBAAqB,EACrB,aAAa,EACb,OAAO,EACP,UAAU,EACV,MAAM,EACN,MAAa,GACd,EAAE,eAAe,2CAoIjB"}
@@ -1,8 +0,0 @@
1
- import type { SuggestedAction } from './types';
2
- interface QuickActionsProps {
3
- actions: SuggestedAction[];
4
- onActionClick: (message: string) => void;
5
- }
6
- export declare function QuickActions({ actions, onActionClick }: QuickActionsProps): import("react/jsx-runtime").JSX.Element | null;
7
- export {};
8
- //# sourceMappingURL=QuickActions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QuickActions.d.ts","sourceRoot":"","sources":["../../../src/components/chat/QuickActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,UAAU,iBAAiB;IACzB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE,iBAAiB,kDAkBzE"}
@@ -1,8 +0,0 @@
1
- export { ChatWidget } from './ChatWidget';
2
- export { ChatWindow } from './ChatWindow';
3
- export { ChatMessage } from './ChatMessage';
4
- export { ChatInput } from './ChatInput';
5
- export { QuickActions } from './QuickActions';
6
- export { DEFAULT_CHAT_LABELS } from './types';
7
- export type { ChatMessageData, ChatWidgetProps, ChatLabels, SuggestedAction, MockConfig, } from './types';
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/chat/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC9C,YAAY,EACV,eAAe,EACf,eAAe,EACf,UAAU,EACV,eAAe,EACf,UAAU,GACX,MAAM,SAAS,CAAC"}
@@ -1,38 +0,0 @@
1
- export interface ChatMessageData {
2
- id: string;
3
- role: 'user' | 'assistant';
4
- content: string;
5
- timestamp: Date;
6
- isStreaming?: boolean;
7
- }
8
- export interface SuggestedAction {
9
- label: string;
10
- message: string;
11
- }
12
- export interface MockConfig {
13
- enabled: boolean;
14
- responseDelay?: number;
15
- }
16
- export interface ChatLabels {
17
- title?: string;
18
- placeholder?: string;
19
- send?: string;
20
- close?: string;
21
- welcome?: string;
22
- typing?: string;
23
- fabLabel?: string;
24
- }
25
- export declare const DEFAULT_CHAT_LABELS: Required<ChatLabels>;
26
- export interface ChatWidgetProps {
27
- onSendMessage: (message: string) => void;
28
- messages: ChatMessageData[];
29
- isLoading?: boolean;
30
- suggestedActions?: SuggestedAction[];
31
- isOpen?: boolean;
32
- onToggle?: () => void;
33
- className?: string;
34
- mockConfig?: MockConfig;
35
- labels?: ChatLabels;
36
- locale?: string;
37
- }
38
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/chat/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,UAAU,CAQpD,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAC;IACrC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}