@agentiffai/design 0.1.5 → 0.1.7

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.
Files changed (43) hide show
  1. package/dist/{Window-CukhSS8T.d.cts → StreamStatusIndicator-DM5n4MI1.d.cts} +141 -4
  2. package/dist/{Window-CukhSS8T.d.ts → StreamStatusIndicator-DM5n4MI1.d.ts} +141 -4
  3. package/dist/copilotkit/index.cjs +974 -222
  4. package/dist/copilotkit/index.cjs.map +1 -1
  5. package/dist/copilotkit/index.d.cts +10 -2
  6. package/dist/copilotkit/index.d.ts +10 -2
  7. package/dist/copilotkit/index.js +972 -223
  8. package/dist/copilotkit/index.js.map +1 -1
  9. package/dist/index.cjs +1829 -175
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +17 -3
  12. package/dist/index.d.ts +17 -3
  13. package/dist/index.js +1822 -176
  14. package/dist/index.js.map +1 -1
  15. package/dist/layout/index.cjs +85 -50
  16. package/dist/layout/index.cjs.map +1 -1
  17. package/dist/layout/index.d.cts +10 -3
  18. package/dist/layout/index.d.ts +10 -3
  19. package/dist/layout/index.js +85 -50
  20. package/dist/layout/index.js.map +1 -1
  21. package/dist/theme/index.cjs +6 -1
  22. package/dist/theme/index.cjs.map +1 -1
  23. package/dist/theme/index.d.cts +8 -0
  24. package/dist/theme/index.d.ts +8 -0
  25. package/dist/theme/index.js +6 -1
  26. package/dist/theme/index.js.map +1 -1
  27. package/dist/workflow/index.cjs +995 -0
  28. package/dist/workflow/index.cjs.map +1 -0
  29. package/dist/workflow/index.d.cts +168 -0
  30. package/dist/workflow/index.d.ts +168 -0
  31. package/dist/workflow/index.js +986 -0
  32. package/dist/workflow/index.js.map +1 -0
  33. package/package.json +15 -3
  34. package/public/assets/avatar-transparent-bg.png +0 -0
  35. package/public/assets/icon-set/Icon-arrow-left-fill.svg +1 -0
  36. package/public/assets/icon-set/Icon-check-fill.svg +3 -0
  37. package/public/assets/icon-set/Icon-close-fill.svg +3 -0
  38. package/public/assets/icon-set/Icon-hourglass-line.svg +3 -0
  39. package/public/assets/icon-set/Icon-loader-2-line.svg +3 -0
  40. package/public/assets/icon-set/Icon-radio-button-line.svg +3 -0
  41. package/public/assets/icon-set/Icon-shield-check-fill.svg +3 -0
  42. package/public/assets/icon-set/Icon-shield-cross-fill.svg +3 -0
  43. package/public/assets/icon-set/logout-box-fill.svg +1 -0
@@ -1,4 +1,4 @@
1
- export { A as Action, c as ActionVariant, d as Actions, a as ActionsLayout, b as ActionsProps, f as AgentState, e as AgentStateProps, q as AssistantMessage, m as AssistantMessageProps, i as Button, B as ButtonProps, g as ButtonSize, h as ButtonVariant, r as FileAttachment, n as FileAttachmentProps, j as Footer, F as FooterProps, k as Header, H as HeaderProps, l as Input, I as InputProps, M as Message, s as Messages, t as MessagesList, u as MessagesListContainer, v as MessagesListContent, o as MessagesListProps, p as MessagesProps, x as Response, R as ResponseProps, y as Suggestions, S as SuggestionsProps, w as UserMessage, U as UserMessageProps, z as Window, W as WindowProps } from '../Window-CukhSS8T.cjs';
1
+ export { A as Action, c as ActionVariant, d as Actions, a as ActionsLayout, b as ActionsProps, f as AgentState, e as AgentStateProps, q as AssistantMessage, m as AssistantMessageProps, i as Button, B as ButtonProps, g as ButtonSize, h as ButtonVariant, r as FileAttachment, n as FileAttachmentProps, j as Footer, F as FooterProps, k as Header, H as HeaderProps, l as Input, I as InputProps, M as Message, s as Messages, t as MessagesList, u as MessagesListContainer, v as MessagesListContent, o as MessagesListProps, p as MessagesProps, x as Response, R as ResponseProps, E as StreamErrorMessage, G as StreamErrorMessageProps, J as StreamStatusIndicator, K as StreamStatusIndicatorProps, C as StreamingText, D as StreamingTextProps, y as Suggestions, S as SuggestionsProps, w as UserMessage, U as UserMessageProps, z as Window, W as WindowProps } from '../StreamStatusIndicator-DM5n4MI1.cjs';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import React__default, { ReactNode } from 'react';
4
4
  import { AssistantMessageProps, UserMessageProps, InputProps } from '@copilotkit/react-ui';
@@ -14,6 +14,14 @@ interface CustomCopilotSidebarProps$1 {
14
14
  onSetOpen?: (open: boolean) => void;
15
15
  instructions?: string;
16
16
  className?: string;
17
+ /**
18
+ * When true, disables the chat button and prevents opening the sidebar.
19
+ */
20
+ disabled?: boolean;
21
+ /**
22
+ * Message to display as tooltip when disabled.
23
+ */
24
+ disabledReason?: string;
17
25
  }
18
26
  /**
19
27
  * CustomCopilotSidebar - A CopilotSidebar wrapper using our custom components
@@ -28,7 +36,7 @@ interface CustomCopilotSidebarProps$1 {
28
36
  * </CustomCopilotSidebar>
29
37
  * ```
30
38
  */
31
- declare function CustomCopilotSidebar$1({ children, defaultOpen, onSetOpen, instructions, className, }: CustomCopilotSidebarProps$1): react_jsx_runtime.JSX.Element;
39
+ declare function CustomCopilotSidebar$1({ children, defaultOpen, onSetOpen, instructions, className, disabled, disabledReason, }: CustomCopilotSidebarProps$1): react_jsx_runtime.JSX.Element;
32
40
  declare namespace CustomCopilotSidebar$1 {
33
41
  var displayName: string;
34
42
  }
@@ -1,4 +1,4 @@
1
- export { A as Action, c as ActionVariant, d as Actions, a as ActionsLayout, b as ActionsProps, f as AgentState, e as AgentStateProps, q as AssistantMessage, m as AssistantMessageProps, i as Button, B as ButtonProps, g as ButtonSize, h as ButtonVariant, r as FileAttachment, n as FileAttachmentProps, j as Footer, F as FooterProps, k as Header, H as HeaderProps, l as Input, I as InputProps, M as Message, s as Messages, t as MessagesList, u as MessagesListContainer, v as MessagesListContent, o as MessagesListProps, p as MessagesProps, x as Response, R as ResponseProps, y as Suggestions, S as SuggestionsProps, w as UserMessage, U as UserMessageProps, z as Window, W as WindowProps } from '../Window-CukhSS8T.js';
1
+ export { A as Action, c as ActionVariant, d as Actions, a as ActionsLayout, b as ActionsProps, f as AgentState, e as AgentStateProps, q as AssistantMessage, m as AssistantMessageProps, i as Button, B as ButtonProps, g as ButtonSize, h as ButtonVariant, r as FileAttachment, n as FileAttachmentProps, j as Footer, F as FooterProps, k as Header, H as HeaderProps, l as Input, I as InputProps, M as Message, s as Messages, t as MessagesList, u as MessagesListContainer, v as MessagesListContent, o as MessagesListProps, p as MessagesProps, x as Response, R as ResponseProps, E as StreamErrorMessage, G as StreamErrorMessageProps, J as StreamStatusIndicator, K as StreamStatusIndicatorProps, C as StreamingText, D as StreamingTextProps, y as Suggestions, S as SuggestionsProps, w as UserMessage, U as UserMessageProps, z as Window, W as WindowProps } from '../StreamStatusIndicator-DM5n4MI1.js';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import React__default, { ReactNode } from 'react';
4
4
  import { AssistantMessageProps, UserMessageProps, InputProps } from '@copilotkit/react-ui';
@@ -14,6 +14,14 @@ interface CustomCopilotSidebarProps$1 {
14
14
  onSetOpen?: (open: boolean) => void;
15
15
  instructions?: string;
16
16
  className?: string;
17
+ /**
18
+ * When true, disables the chat button and prevents opening the sidebar.
19
+ */
20
+ disabled?: boolean;
21
+ /**
22
+ * Message to display as tooltip when disabled.
23
+ */
24
+ disabledReason?: string;
17
25
  }
18
26
  /**
19
27
  * CustomCopilotSidebar - A CopilotSidebar wrapper using our custom components
@@ -28,7 +36,7 @@ interface CustomCopilotSidebarProps$1 {
28
36
  * </CustomCopilotSidebar>
29
37
  * ```
30
38
  */
31
- declare function CustomCopilotSidebar$1({ children, defaultOpen, onSetOpen, instructions, className, }: CustomCopilotSidebarProps$1): react_jsx_runtime.JSX.Element;
39
+ declare function CustomCopilotSidebar$1({ children, defaultOpen, onSetOpen, instructions, className, disabled, disabledReason, }: CustomCopilotSidebarProps$1): react_jsx_runtime.JSX.Element;
32
40
  declare namespace CustomCopilotSidebar$1 {
33
41
  var displayName: string;
34
42
  }