@agentiffai/design 1.3.23 → 1.3.25

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/index.d.cts CHANGED
@@ -27,6 +27,24 @@ declare namespace AssistantThinking {
27
27
  var displayName: string;
28
28
  }
29
29
 
30
+ type BillingPeriod = 'monthly' | 'yearly';
31
+ interface BillingToggleProps {
32
+ value: BillingPeriod;
33
+ onChange?: (value: BillingPeriod) => void;
34
+ discountText?: string;
35
+ }
36
+ declare function BillingToggle({ value, onChange, discountText, }: BillingToggleProps): react_jsx_runtime.JSX.Element;
37
+
38
+ interface TrialPlanCardProps {
39
+ badge?: string;
40
+ price?: number | null;
41
+ billingInterval?: 'monthly' | 'annual';
42
+ description?: string;
43
+ executions?: string;
44
+ credits?: string;
45
+ }
46
+ declare function TrialPlanCard({ badge, price, billingInterval, description, executions, credits, }: TrialPlanCardProps): react_jsx_runtime.JSX.Element;
47
+
30
48
  interface Suggestion {
31
49
  /** The text content of the suggestion */
32
50
  text: string;
@@ -690,7 +708,8 @@ declare const RedditEngagementControls: React__default.FC<RedditEngagementContro
690
708
  /**
691
709
  * TokenUsageCard Component
692
710
  *
693
- * Displays token usage with a progress bar and transaction history.
711
+ * Displays credit usage with a progress bar and transaction history.
712
+ * "tokens" in the interface = app credits (not raw LLM tokens).
694
713
  */
695
714
 
696
715
  interface TokenTransaction {
@@ -700,6 +719,13 @@ interface TokenTransaction {
700
719
  tokens: number;
701
720
  description: string;
702
721
  source?: string;
722
+ bundleId?: string;
723
+ category?: string;
724
+ model?: string;
725
+ provider?: string;
726
+ inputTokens?: number;
727
+ outputTokens?: number;
728
+ executionId?: string;
703
729
  }
704
730
  interface TokenUsageCardProps {
705
731
  currentUsage: number;
@@ -713,4 +739,4 @@ interface TokenUsageCardProps {
713
739
  }
714
740
  declare function TokenUsageCard({ currentUsage, maxLimit, transactions, periodLabel, onViewAll, className, loading, }: TokenUsageCardProps): React__default.ReactElement;
715
741
 
716
- export { type ApprovalStatus, AssistantThinking, type AssistantThinkingProps, CATEGORY_CONFIGS, type CategoryConfig, ChatInput, type ChatInputProps, ConnectionStatusBadge, type ConnectionStatusBadgeProps, DarkNotificationCard, type EngagementOpportunity, type EngagementStatus, IntegrationCard, type IntegrationCardProps, NotificationCard, type NotificationCardProps, type NotificationItem, type NotificationSection, PLATFORM_CONFIGS, type Platform, PlatformCarousel, type PlatformCarouselProps, type PlatformConfig, PlatformGrid, type PlatformGridProps, PostApprovalControls, type PostApprovalControlsProps, PostPreviewCard, type PostPreviewCardProps, type PostViewMode, type ProgressCategory, type ProposedPost, RedditEngagementControls, type RedditEngagementControlsProps, RedditOpportunityCard, type RedditOpportunityCardProps, type ReplyTone, SecretInput, type SecretInputProps, SocialMediaCanvas, type SocialMediaCanvasProps, type TokenTransaction, TokenUsageCard, type TokenUsageCardProps, UserMessage, type UserMessageProps, categorizeProgress, getCategoryColor, getCategoryIcon, getCharacterCount, getCharacterLimitColor, getCharacterLimitPercentage, isWithinCharLimit, normalizePlatform };
742
+ export { type ApprovalStatus, AssistantThinking, type AssistantThinkingProps, type BillingPeriod, BillingToggle, type BillingToggleProps, CATEGORY_CONFIGS, type CategoryConfig, ChatInput, type ChatInputProps, ConnectionStatusBadge, type ConnectionStatusBadgeProps, DarkNotificationCard, type EngagementOpportunity, type EngagementStatus, IntegrationCard, type IntegrationCardProps, NotificationCard, type NotificationCardProps, type NotificationItem, type NotificationSection, PLATFORM_CONFIGS, type Platform, PlatformCarousel, type PlatformCarouselProps, type PlatformConfig, PlatformGrid, type PlatformGridProps, PostApprovalControls, type PostApprovalControlsProps, PostPreviewCard, type PostPreviewCardProps, type PostViewMode, type ProgressCategory, type ProposedPost, RedditEngagementControls, type RedditEngagementControlsProps, RedditOpportunityCard, type RedditOpportunityCardProps, type ReplyTone, SecretInput, type SecretInputProps, SocialMediaCanvas, type SocialMediaCanvasProps, type TokenTransaction, TokenUsageCard, type TokenUsageCardProps, TrialPlanCard, type TrialPlanCardProps, UserMessage, type UserMessageProps, categorizeProgress, getCategoryColor, getCategoryIcon, getCharacterCount, getCharacterLimitColor, getCharacterLimitPercentage, isWithinCharLimit, normalizePlatform };
package/dist/index.d.ts CHANGED
@@ -27,6 +27,24 @@ declare namespace AssistantThinking {
27
27
  var displayName: string;
28
28
  }
29
29
 
30
+ type BillingPeriod = 'monthly' | 'yearly';
31
+ interface BillingToggleProps {
32
+ value: BillingPeriod;
33
+ onChange?: (value: BillingPeriod) => void;
34
+ discountText?: string;
35
+ }
36
+ declare function BillingToggle({ value, onChange, discountText, }: BillingToggleProps): react_jsx_runtime.JSX.Element;
37
+
38
+ interface TrialPlanCardProps {
39
+ badge?: string;
40
+ price?: number | null;
41
+ billingInterval?: 'monthly' | 'annual';
42
+ description?: string;
43
+ executions?: string;
44
+ credits?: string;
45
+ }
46
+ declare function TrialPlanCard({ badge, price, billingInterval, description, executions, credits, }: TrialPlanCardProps): react_jsx_runtime.JSX.Element;
47
+
30
48
  interface Suggestion {
31
49
  /** The text content of the suggestion */
32
50
  text: string;
@@ -690,7 +708,8 @@ declare const RedditEngagementControls: React__default.FC<RedditEngagementContro
690
708
  /**
691
709
  * TokenUsageCard Component
692
710
  *
693
- * Displays token usage with a progress bar and transaction history.
711
+ * Displays credit usage with a progress bar and transaction history.
712
+ * "tokens" in the interface = app credits (not raw LLM tokens).
694
713
  */
695
714
 
696
715
  interface TokenTransaction {
@@ -700,6 +719,13 @@ interface TokenTransaction {
700
719
  tokens: number;
701
720
  description: string;
702
721
  source?: string;
722
+ bundleId?: string;
723
+ category?: string;
724
+ model?: string;
725
+ provider?: string;
726
+ inputTokens?: number;
727
+ outputTokens?: number;
728
+ executionId?: string;
703
729
  }
704
730
  interface TokenUsageCardProps {
705
731
  currentUsage: number;
@@ -713,4 +739,4 @@ interface TokenUsageCardProps {
713
739
  }
714
740
  declare function TokenUsageCard({ currentUsage, maxLimit, transactions, periodLabel, onViewAll, className, loading, }: TokenUsageCardProps): React__default.ReactElement;
715
741
 
716
- export { type ApprovalStatus, AssistantThinking, type AssistantThinkingProps, CATEGORY_CONFIGS, type CategoryConfig, ChatInput, type ChatInputProps, ConnectionStatusBadge, type ConnectionStatusBadgeProps, DarkNotificationCard, type EngagementOpportunity, type EngagementStatus, IntegrationCard, type IntegrationCardProps, NotificationCard, type NotificationCardProps, type NotificationItem, type NotificationSection, PLATFORM_CONFIGS, type Platform, PlatformCarousel, type PlatformCarouselProps, type PlatformConfig, PlatformGrid, type PlatformGridProps, PostApprovalControls, type PostApprovalControlsProps, PostPreviewCard, type PostPreviewCardProps, type PostViewMode, type ProgressCategory, type ProposedPost, RedditEngagementControls, type RedditEngagementControlsProps, RedditOpportunityCard, type RedditOpportunityCardProps, type ReplyTone, SecretInput, type SecretInputProps, SocialMediaCanvas, type SocialMediaCanvasProps, type TokenTransaction, TokenUsageCard, type TokenUsageCardProps, UserMessage, type UserMessageProps, categorizeProgress, getCategoryColor, getCategoryIcon, getCharacterCount, getCharacterLimitColor, getCharacterLimitPercentage, isWithinCharLimit, normalizePlatform };
742
+ export { type ApprovalStatus, AssistantThinking, type AssistantThinkingProps, type BillingPeriod, BillingToggle, type BillingToggleProps, CATEGORY_CONFIGS, type CategoryConfig, ChatInput, type ChatInputProps, ConnectionStatusBadge, type ConnectionStatusBadgeProps, DarkNotificationCard, type EngagementOpportunity, type EngagementStatus, IntegrationCard, type IntegrationCardProps, NotificationCard, type NotificationCardProps, type NotificationItem, type NotificationSection, PLATFORM_CONFIGS, type Platform, PlatformCarousel, type PlatformCarouselProps, type PlatformConfig, PlatformGrid, type PlatformGridProps, PostApprovalControls, type PostApprovalControlsProps, PostPreviewCard, type PostPreviewCardProps, type PostViewMode, type ProgressCategory, type ProposedPost, RedditEngagementControls, type RedditEngagementControlsProps, RedditOpportunityCard, type RedditOpportunityCardProps, type ReplyTone, SecretInput, type SecretInputProps, SocialMediaCanvas, type SocialMediaCanvasProps, type TokenTransaction, TokenUsageCard, type TokenUsageCardProps, TrialPlanCard, type TrialPlanCardProps, UserMessage, type UserMessageProps, categorizeProgress, getCategoryColor, getCategoryIcon, getCharacterCount, getCharacterLimitColor, getCharacterLimitPercentage, isWithinCharLimit, normalizePlatform };