@dust-tt/sparkle 0.2.212 → 0.2.214-pr

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.
@@ -98,6 +98,8 @@ import { Markdown } from "./components/Markdown";
98
98
  export { Markdown };
99
99
  import { DataTable } from "./components/DataTable";
100
100
  export { DataTable };
101
+ import { Breadcrumbs } from "@sparkle/components/Breadcrumbs";
102
+ export { Breadcrumbs };
101
103
  import { LogoHorizontalColor as LogoHorizontalColorLogo, LogoHorizontalColorLayer1 as LogoHorizontalColorLogoLayer1, LogoHorizontalColorLayer2 as LogoHorizontalColorLogoLayer2, LogoHorizontalDark as LogoHorizontalDarkLogo, LogoHorizontalWhite as LogoHorizontalWhiteLogo, LogoSquareColor as LogoSquareColorLogo, LogoSquareColorLayer1 as LogoSquareColorLogoLayer1, LogoSquareColorLayer2 as LogoSquareColorLogoLayer2, LogoSquareDark as LogoSquareDarkLogo, LogoSquareWhite as LogoSquareWhiteLogo } from "./logo/dust";
102
104
  export { LogoHorizontalColorLogo, LogoHorizontalColorLogoLayer1, LogoHorizontalColorLogoLayer2, LogoHorizontalDarkLogo, LogoHorizontalWhiteLogo, LogoSquareColorLogo, LogoSquareColorLogoLayer1, LogoSquareColorLogoLayer2, LogoSquareDarkLogo, LogoSquareWhiteLogo, };
103
105
  import { Ai21 as Ai21Logo, Anthropic as AnthropicLogo, AnthropicWhite as AnthropicWhiteLogo, Claude as ClaudeLogo, Cohere as CohereLogo, Confluence as ConfluenceLogo, Drive as DriveLogo, Gemini as GeminiLogo, Github as GithubLogo, GithubWhite as GithubWhiteLogo, Gong as GongLogo, Google as GoogleLogo, GoogleDoc as GoogleDocLogo, GooglePdf as GooglePdfLogo, GoogleSlide as GoogleSlideLogo, GoogleSpreadsheet as GoogleSpreadsheetLogo, Gpt3 as Gpt3Logo, Gpt4 as Gpt4Logo, HuggingFace as HuggingFaceLogo, Intercom as IntercomLogo, Microsoft as MicrosoftLogo, MicrosoftExcel as MicrosoftExcelLogo, MicrosoftPowerpoint as MicrosoftPowerpointLogo, MicrosoftWord as MicrosoftWordLogo, Mistral as MistralLogo, Notion as NotionLogo, Office as OfficeLogo, Openai as OpenaiLogo, OpenaiWhite as OpenaiWhiteLogo, Replicate as ReplicateLogo, Salesforce as SalesforceLogo, Slack as SlackLogo, Zapier as ZapierLogo, Zendesk as ZendeskLogo } from "./logo/platforms";
@@ -0,0 +1,13 @@
1
+ import type { ComponentType } from "react";
2
+ import React from "react";
3
+ type BreadcrumbProps = {
4
+ items: {
5
+ label: string;
6
+ icon?: ComponentType<{
7
+ className?: string;
8
+ }>;
9
+ href?: string;
10
+ }[];
11
+ };
12
+ export declare function Breadcrumbs({ items }: BreadcrumbProps): React.JSX.Element;
13
+ export {};
@@ -1,9 +1,10 @@
1
- import React from "react";
1
+ import React, { ComponentType } from "react";
2
2
  export interface ContentMessageProps {
3
3
  title: string;
4
4
  children: React.ReactNode;
5
5
  className?: string;
6
6
  size?: "sm" | "md";
7
7
  variant?: "emerald" | "amber" | "slate" | "purple" | "warning" | "sky" | "pink" | "action" | "red";
8
+ icon?: ComponentType;
8
9
  }
9
- export declare function ContentMessage({ title, variant, children, size, className, }: ContentMessageProps): React.JSX.Element;
10
+ export declare function ContentMessage({ title, variant, children, size, className, icon, }: ContentMessageProps): React.JSX.Element;