@canaia/ui-kit 0.0.11-alpha.36 → 0.0.11-alpha.38

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.
@@ -0,0 +1,4 @@
1
+ export interface AssistantMessageProps {
2
+ content: string;
3
+ }
4
+ export declare const AssistantMessage: React.FC<AssistantMessageProps>;
@@ -0,0 +1,4 @@
1
+ export interface ChatButtonProps {
2
+ onClick: () => void;
3
+ }
4
+ export declare const ChatButton: React.FC<ChatButtonProps>;
@@ -0,0 +1,7 @@
1
+ export interface ChatProps {
2
+ apiDomain: string;
3
+ welcomeMessage?: string;
4
+ thinkingMessage?: string;
5
+ errorMessage?: string;
6
+ }
7
+ export declare const Chat: React.FC<ChatProps>;
@@ -0,0 +1,2 @@
1
+ export { default } from './index.tsx';
2
+ export type { ChatProps } from './chat';
@@ -0,0 +1,3 @@
1
+ import { ChatProps } from './chat';
2
+ declare const ChaHelpCanaia: React.FC<ChatProps>;
3
+ export default ChaHelpCanaia;
@@ -0,0 +1,4 @@
1
+ export interface UserMessageProps {
2
+ content: string;
3
+ }
4
+ export declare const UserMessage: React.FC<UserMessageProps>;
@@ -0,0 +1,2 @@
1
+ export declare function decodeBase64(base64: string): string;
2
+ export declare function getAllUrlParams(url?: string): Record<string, string | string[]>;
@@ -0,0 +1,6 @@
1
+ interface AssistRobotIconWhiteProps {
2
+ width?: number;
3
+ height?: number;
4
+ }
5
+ declare const RobotWhite: React.FC<AssistRobotIconWhiteProps>;
6
+ export default RobotWhite;
@@ -46,3 +46,4 @@ export { default as SideBarCustom } from './components/SideBarCustom';
46
46
  export { default as ModalInactivity } from './components/ModalInactivity';
47
47
  export { default as ModalPermission } from './components/ModalPermission';
48
48
  export { default as SpinnerLittle } from './components/SpinnerLittle';
49
+ export { default as ChaHelpCanaia } from './components/ChatHelpCanaia';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canaia/ui-kit",
3
- "version": "0.0.11-alpha.36",
3
+ "version": "0.0.11-alpha.38",
4
4
  "main": "dist/canaia-ui-kit.umd.js",
5
5
  "module": "dist/canaia-ui-kit.es.js",
6
6
  "type": "module",
@@ -26,8 +26,13 @@
26
26
  "@chakra-ui/react": "^2.0.0",
27
27
  "@emotion/react": "^11.0.0",
28
28
  "@emotion/styled": "^11.0.0",
29
+ "@fortawesome/free-solid-svg-icons": "^6.7.2",
30
+ "@fortawesome/react-fontawesome": "^0.2.2",
31
+ "@microsoft/fetch-event-source": "^2.0.1",
32
+ "chart.js": "^4.4.9",
29
33
  "framer-motion": "^11.18.2",
30
34
  "lodash.mergewith": "^4.6.2",
35
+ "markdown-it": "^14.1.0",
31
36
  "path": "^0.12.7",
32
37
  "react-dropzone": "^14.3.5",
33
38
  "react-icons": "^5.3.0",
@@ -71,4 +76,4 @@
71
76
  "plugin:storybook/recommended"
72
77
  ]
73
78
  }
74
- }
79
+ }