@agentiffai/design 0.1.10 → 0.1.12
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/{Window-CF5y1_Og.d.cts → Window-BcTRumpc.d.cts} +3 -26
- package/dist/{Window-CF5y1_Og.d.ts → Window-BcTRumpc.d.ts} +3 -26
- package/dist/copilotkit/index.cjs +147 -125
- package/dist/copilotkit/index.cjs.map +1 -1
- package/dist/copilotkit/index.d.cts +4 -27
- package/dist/copilotkit/index.d.ts +4 -27
- package/dist/copilotkit/index.js +149 -127
- package/dist/copilotkit/index.js.map +1 -1
- package/dist/icons/index.cjs +164 -1
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.d.cts +19 -1
- package/dist/icons/index.d.ts +19 -1
- package/dist/icons/index.js +164 -2
- package/dist/icons/index.js.map +1 -1
- package/dist/index.cjs +382 -163
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -10
- package/dist/index.d.ts +18 -10
- package/dist/index.js +382 -164
- package/dist/index.js.map +1 -1
- package/dist/layout/index.cjs +28 -25
- package/dist/layout/index.cjs.map +1 -1
- package/dist/layout/index.d.cts +2 -1
- package/dist/layout/index.d.ts +2 -1
- package/dist/layout/index.js +28 -25
- package/dist/layout/index.js.map +1 -1
- package/dist/workflow/index.cjs +5 -3
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.js +5 -3
- package/dist/workflow/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { AriaTextFieldProps } from '@react-aria/textfield';
|
|
3
|
-
import
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import React__default, { ReactNode } from 'react';
|
|
4
5
|
export { ActionButtons, ActionButtonsProps, BrandType, CategoryItem, CategoryNav, CategoryNavProps, CategorySubItem, Icon, IconName, IconNames, IconProps, Layout, LayoutProps, NavHorizontal, NavHorizontalProps, NavVertical, NavVerticalProps, OAuthConnectionData, PaneMenus, PaneMenusProps, PaneSectionHeader, PaneSectionHeaderProps, ServiceBrand, ServiceIcon, ServiceIconProps, WorkflowStatusCard, WorkflowStatusCardProps } from './layout/index.cjs';
|
|
5
6
|
import { AriaButtonProps } from '@react-aria/button';
|
|
6
7
|
export { GlobalStyle, darkTheme, lightTheme, tokens } from './theme/index.cjs';
|
|
7
|
-
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, w as CopilotUserMessage, U as CopilotUserMessageProps, 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 StreamErrorMessage, S as StreamErrorMessageProps, E as StreamStatusIndicator, D as StreamStatusIndicatorProps, C as StreamingText, z as StreamingTextProps, J as Suggestions, G as SuggestionsProps, K as Window, W as WindowProps } from './Window-
|
|
8
|
-
export { FacebookIcon, FacebookIconProps, FacebookIconVariant, GmailIcon, GmailIconProps, GmailIconVariant, InstagramIcon, InstagramIconProps, InstagramVariant, LinkedInIcon, LinkedInIconProps, LinkedInIconVariant, RedditIcon, RedditIconProps, RedditIconVariant, SlackIcon, SlackIconProps, SlackIconVariant, TelegramIcon, TelegramIconProps, TelegramIconVariant, WhatsAppIcon, WhatsAppIconProps, WhatsAppIconVariant, XIcon, XIconProps, XIconVariant, YouTubeIcon, YouTubeIconProps, YouTubeIconVariant } from './icons/index.cjs';
|
|
8
|
+
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, w as CopilotUserMessage, U as CopilotUserMessageProps, 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 StreamErrorMessage, S as StreamErrorMessageProps, E as StreamStatusIndicator, D as StreamStatusIndicatorProps, C as StreamingText, z as StreamingTextProps, J as Suggestions, G as SuggestionsProps, K as Window, W as WindowProps } from './Window-BcTRumpc.cjs';
|
|
9
|
+
export { FacebookIcon, FacebookIconProps, FacebookIconVariant, GmailIcon, GmailIconProps, GmailIconVariant, InstagramIcon, InstagramIconProps, InstagramVariant, LinkedInIcon, LinkedInIconProps, LinkedInIconVariant, PostizIcon, PostizIconProps, PostizIconVariant, RedditIcon, RedditIconProps, RedditIconVariant, SlackIcon, SlackIconProps, SlackIconVariant, TelegramIcon, TelegramIconProps, TelegramIconVariant, WhatsAppIcon, WhatsAppIconProps, WhatsAppIconVariant, XIcon, XIconProps, XIconVariant, YouTubeIcon, YouTubeIconProps, YouTubeIconVariant } from './icons/index.cjs';
|
|
9
10
|
export { WorkflowCard, WorkflowCardProps, WorkflowErrorAlert, WorkflowErrorAlertProps, WorkflowIntegration, WorkflowProgressBar, WorkflowProgressBarProps, WorkflowResultPanel, WorkflowResultPanelProps, WorkflowStatusBadge, WorkflowStatusBadgeProps } from './workflow/index.cjs';
|
|
10
11
|
import '@react-types/button';
|
|
11
12
|
import 'styled-components';
|
|
@@ -58,7 +59,8 @@ interface ChatInputProps extends Omit<AriaTextFieldProps, 'onChange'> {
|
|
|
58
59
|
*
|
|
59
60
|
* Features:
|
|
60
61
|
* - Horizontal pill-shaped suggestion buttons with minimal design
|
|
61
|
-
* -
|
|
62
|
+
* - Auto-expanding multiline input (up to ~6 lines, then scrolls)
|
|
63
|
+
* - Enter to submit, Shift+Enter for new line
|
|
62
64
|
* - React ARIA for accessibility
|
|
63
65
|
* - Keyboard navigation support
|
|
64
66
|
* - Clean, modern design matching vendor image
|
|
@@ -163,7 +165,7 @@ interface UserMessageProps extends AriaButtonProps {
|
|
|
163
165
|
/**
|
|
164
166
|
* The message text to display
|
|
165
167
|
*/
|
|
166
|
-
children:
|
|
168
|
+
children: ReactNode;
|
|
167
169
|
/**
|
|
168
170
|
* Additional CSS class name
|
|
169
171
|
*/
|
|
@@ -184,6 +186,8 @@ interface UserMessageProps extends AriaButtonProps {
|
|
|
184
186
|
* pill-shaped design with fully rounded ends, and white text. It uses React ARIA
|
|
185
187
|
* for accessibility and supports keyboard navigation.
|
|
186
188
|
*
|
|
189
|
+
* Memoized to prevent unnecessary re-renders during parent updates.
|
|
190
|
+
*
|
|
187
191
|
* @example
|
|
188
192
|
* ```tsx
|
|
189
193
|
* <UserMessage onPress={() => console.log('clicked')}>
|
|
@@ -191,10 +195,8 @@ interface UserMessageProps extends AriaButtonProps {
|
|
|
191
195
|
* </UserMessage>
|
|
192
196
|
* ```
|
|
193
197
|
*/
|
|
194
|
-
declare function
|
|
195
|
-
declare
|
|
196
|
-
var displayName: string;
|
|
197
|
-
}
|
|
198
|
+
declare function UserMessageBase({ children, className, isPressed, onPress, ...ariaProps }: UserMessageProps): react_jsx_runtime.JSX.Element;
|
|
199
|
+
declare const UserMessage: React.MemoExoticComponent<typeof UserMessageBase>;
|
|
198
200
|
|
|
199
201
|
/**
|
|
200
202
|
* ConnectionStatusBadge Component
|
|
@@ -475,6 +477,10 @@ interface PlatformGridProps {
|
|
|
475
477
|
onEditContentChange?: (content: string) => void;
|
|
476
478
|
/** Whether content is being loaded/generated */
|
|
477
479
|
isLoading?: boolean;
|
|
480
|
+
/** Currently active/selected post index */
|
|
481
|
+
activeIndex?: number;
|
|
482
|
+
/** Callback when a post is clicked/selected */
|
|
483
|
+
onActiveChange?: (index: number) => void;
|
|
478
484
|
}
|
|
479
485
|
/**
|
|
480
486
|
* PlatformGrid displays all proposed posts in a responsive grid layout.
|
|
@@ -504,7 +510,7 @@ interface SocialMediaCanvasProps {
|
|
|
504
510
|
emptyTitle?: string;
|
|
505
511
|
/** Empty state description */
|
|
506
512
|
emptyDescription?: string;
|
|
507
|
-
/** Callback when active post changes
|
|
513
|
+
/** Callback when active post changes */
|
|
508
514
|
onActiveChange?: (index: number) => void;
|
|
509
515
|
/** Whether to show the view mode toggle */
|
|
510
516
|
showViewToggle?: boolean;
|
|
@@ -516,6 +522,8 @@ interface SocialMediaCanvasProps {
|
|
|
516
522
|
onEditContentChange?: (content: string) => void;
|
|
517
523
|
/** Whether content is being loaded/generated */
|
|
518
524
|
isLoading?: boolean;
|
|
525
|
+
/** Currently active post index (for grid mode) */
|
|
526
|
+
activeIndex?: number;
|
|
519
527
|
}
|
|
520
528
|
/**
|
|
521
529
|
* SocialMediaCanvas displays social media post previews in carousel or grid mode.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { AriaTextFieldProps } from '@react-aria/textfield';
|
|
3
|
-
import
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import React__default, { ReactNode } from 'react';
|
|
4
5
|
export { ActionButtons, ActionButtonsProps, BrandType, CategoryItem, CategoryNav, CategoryNavProps, CategorySubItem, Icon, IconName, IconNames, IconProps, Layout, LayoutProps, NavHorizontal, NavHorizontalProps, NavVertical, NavVerticalProps, OAuthConnectionData, PaneMenus, PaneMenusProps, PaneSectionHeader, PaneSectionHeaderProps, ServiceBrand, ServiceIcon, ServiceIconProps, WorkflowStatusCard, WorkflowStatusCardProps } from './layout/index.js';
|
|
5
6
|
import { AriaButtonProps } from '@react-aria/button';
|
|
6
7
|
export { GlobalStyle, darkTheme, lightTheme, tokens } from './theme/index.js';
|
|
7
|
-
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, w as CopilotUserMessage, U as CopilotUserMessageProps, 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 StreamErrorMessage, S as StreamErrorMessageProps, E as StreamStatusIndicator, D as StreamStatusIndicatorProps, C as StreamingText, z as StreamingTextProps, J as Suggestions, G as SuggestionsProps, K as Window, W as WindowProps } from './Window-
|
|
8
|
-
export { FacebookIcon, FacebookIconProps, FacebookIconVariant, GmailIcon, GmailIconProps, GmailIconVariant, InstagramIcon, InstagramIconProps, InstagramVariant, LinkedInIcon, LinkedInIconProps, LinkedInIconVariant, RedditIcon, RedditIconProps, RedditIconVariant, SlackIcon, SlackIconProps, SlackIconVariant, TelegramIcon, TelegramIconProps, TelegramIconVariant, WhatsAppIcon, WhatsAppIconProps, WhatsAppIconVariant, XIcon, XIconProps, XIconVariant, YouTubeIcon, YouTubeIconProps, YouTubeIconVariant } from './icons/index.js';
|
|
8
|
+
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, w as CopilotUserMessage, U as CopilotUserMessageProps, 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 StreamErrorMessage, S as StreamErrorMessageProps, E as StreamStatusIndicator, D as StreamStatusIndicatorProps, C as StreamingText, z as StreamingTextProps, J as Suggestions, G as SuggestionsProps, K as Window, W as WindowProps } from './Window-BcTRumpc.js';
|
|
9
|
+
export { FacebookIcon, FacebookIconProps, FacebookIconVariant, GmailIcon, GmailIconProps, GmailIconVariant, InstagramIcon, InstagramIconProps, InstagramVariant, LinkedInIcon, LinkedInIconProps, LinkedInIconVariant, PostizIcon, PostizIconProps, PostizIconVariant, RedditIcon, RedditIconProps, RedditIconVariant, SlackIcon, SlackIconProps, SlackIconVariant, TelegramIcon, TelegramIconProps, TelegramIconVariant, WhatsAppIcon, WhatsAppIconProps, WhatsAppIconVariant, XIcon, XIconProps, XIconVariant, YouTubeIcon, YouTubeIconProps, YouTubeIconVariant } from './icons/index.js';
|
|
9
10
|
export { WorkflowCard, WorkflowCardProps, WorkflowErrorAlert, WorkflowErrorAlertProps, WorkflowIntegration, WorkflowProgressBar, WorkflowProgressBarProps, WorkflowResultPanel, WorkflowResultPanelProps, WorkflowStatusBadge, WorkflowStatusBadgeProps } from './workflow/index.js';
|
|
10
11
|
import '@react-types/button';
|
|
11
12
|
import 'styled-components';
|
|
@@ -58,7 +59,8 @@ interface ChatInputProps extends Omit<AriaTextFieldProps, 'onChange'> {
|
|
|
58
59
|
*
|
|
59
60
|
* Features:
|
|
60
61
|
* - Horizontal pill-shaped suggestion buttons with minimal design
|
|
61
|
-
* -
|
|
62
|
+
* - Auto-expanding multiline input (up to ~6 lines, then scrolls)
|
|
63
|
+
* - Enter to submit, Shift+Enter for new line
|
|
62
64
|
* - React ARIA for accessibility
|
|
63
65
|
* - Keyboard navigation support
|
|
64
66
|
* - Clean, modern design matching vendor image
|
|
@@ -163,7 +165,7 @@ interface UserMessageProps extends AriaButtonProps {
|
|
|
163
165
|
/**
|
|
164
166
|
* The message text to display
|
|
165
167
|
*/
|
|
166
|
-
children:
|
|
168
|
+
children: ReactNode;
|
|
167
169
|
/**
|
|
168
170
|
* Additional CSS class name
|
|
169
171
|
*/
|
|
@@ -184,6 +186,8 @@ interface UserMessageProps extends AriaButtonProps {
|
|
|
184
186
|
* pill-shaped design with fully rounded ends, and white text. It uses React ARIA
|
|
185
187
|
* for accessibility and supports keyboard navigation.
|
|
186
188
|
*
|
|
189
|
+
* Memoized to prevent unnecessary re-renders during parent updates.
|
|
190
|
+
*
|
|
187
191
|
* @example
|
|
188
192
|
* ```tsx
|
|
189
193
|
* <UserMessage onPress={() => console.log('clicked')}>
|
|
@@ -191,10 +195,8 @@ interface UserMessageProps extends AriaButtonProps {
|
|
|
191
195
|
* </UserMessage>
|
|
192
196
|
* ```
|
|
193
197
|
*/
|
|
194
|
-
declare function
|
|
195
|
-
declare
|
|
196
|
-
var displayName: string;
|
|
197
|
-
}
|
|
198
|
+
declare function UserMessageBase({ children, className, isPressed, onPress, ...ariaProps }: UserMessageProps): react_jsx_runtime.JSX.Element;
|
|
199
|
+
declare const UserMessage: React.MemoExoticComponent<typeof UserMessageBase>;
|
|
198
200
|
|
|
199
201
|
/**
|
|
200
202
|
* ConnectionStatusBadge Component
|
|
@@ -475,6 +477,10 @@ interface PlatformGridProps {
|
|
|
475
477
|
onEditContentChange?: (content: string) => void;
|
|
476
478
|
/** Whether content is being loaded/generated */
|
|
477
479
|
isLoading?: boolean;
|
|
480
|
+
/** Currently active/selected post index */
|
|
481
|
+
activeIndex?: number;
|
|
482
|
+
/** Callback when a post is clicked/selected */
|
|
483
|
+
onActiveChange?: (index: number) => void;
|
|
478
484
|
}
|
|
479
485
|
/**
|
|
480
486
|
* PlatformGrid displays all proposed posts in a responsive grid layout.
|
|
@@ -504,7 +510,7 @@ interface SocialMediaCanvasProps {
|
|
|
504
510
|
emptyTitle?: string;
|
|
505
511
|
/** Empty state description */
|
|
506
512
|
emptyDescription?: string;
|
|
507
|
-
/** Callback when active post changes
|
|
513
|
+
/** Callback when active post changes */
|
|
508
514
|
onActiveChange?: (index: number) => void;
|
|
509
515
|
/** Whether to show the view mode toggle */
|
|
510
516
|
showViewToggle?: boolean;
|
|
@@ -516,6 +522,8 @@ interface SocialMediaCanvasProps {
|
|
|
516
522
|
onEditContentChange?: (content: string) => void;
|
|
517
523
|
/** Whether content is being loaded/generated */
|
|
518
524
|
isLoading?: boolean;
|
|
525
|
+
/** Currently active post index (for grid mode) */
|
|
526
|
+
activeIndex?: number;
|
|
519
527
|
}
|
|
520
528
|
/**
|
|
521
529
|
* SocialMediaCanvas displays social media post previews in carousel or grid mode.
|