@dust-tt/sparkle 0.1.42 → 0.1.44

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 (58) hide show
  1. package/dist/cjs/_index.d.ts +6 -0
  2. package/dist/cjs/components/Avatar.d.ts +10 -0
  3. package/dist/cjs/index.js +257 -14
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/cjs/logo/dust/LogoHorizontalColor.d.ts +4 -0
  6. package/dist/cjs/logo/dust/LogoHorizontalDark.d.ts +4 -0
  7. package/dist/cjs/logo/dust/LogoHorizontalWhite.d.ts +4 -0
  8. package/dist/cjs/logo/dust/LogoSquareColor.d.ts +4 -0
  9. package/dist/cjs/logo/dust/LogoSquareDark.d.ts +4 -0
  10. package/dist/cjs/logo/dust/LogoSquareWhite.d.ts +4 -0
  11. package/dist/cjs/logo/dust/index.d.ts +6 -0
  12. package/dist/cjs/logo/platforms/Ai21.d.ts +4 -0
  13. package/dist/cjs/logo/platforms/Claude.d.ts +4 -0
  14. package/dist/cjs/logo/platforms/Cohere.d.ts +4 -0
  15. package/dist/cjs/logo/platforms/Drive.d.ts +4 -0
  16. package/dist/cjs/logo/platforms/Github.d.ts +4 -0
  17. package/dist/cjs/logo/platforms/Gpt3.d.ts +4 -0
  18. package/dist/cjs/logo/platforms/Gpt4.d.ts +4 -0
  19. package/dist/cjs/logo/platforms/HuggingFace.d.ts +4 -0
  20. package/dist/cjs/logo/platforms/Microsoft.d.ts +4 -0
  21. package/dist/cjs/logo/platforms/Notion.d.ts +4 -0
  22. package/dist/cjs/logo/platforms/Replicate.d.ts +4 -0
  23. package/dist/cjs/logo/platforms/Slack.d.ts +4 -0
  24. package/dist/cjs/logo/platforms/index.d.ts +12 -0
  25. package/dist/cjs/stories/Avatar.stories.d.ts +15 -0
  26. package/dist/cjs/stories/Button.stories.d.ts +3 -1
  27. package/dist/cjs/stories/Logo.stories.d.ts +4 -10
  28. package/dist/cjs/stories/PlatformIconSet.stories.d.ts +6 -0
  29. package/dist/esm/_index.d.ts +6 -0
  30. package/dist/esm/components/Avatar.d.ts +10 -0
  31. package/dist/esm/index.js +239 -15
  32. package/dist/esm/index.js.map +1 -1
  33. package/dist/esm/logo/dust/LogoHorizontalColor.d.ts +4 -0
  34. package/dist/esm/logo/dust/LogoHorizontalDark.d.ts +4 -0
  35. package/dist/esm/logo/dust/LogoHorizontalWhite.d.ts +4 -0
  36. package/dist/esm/logo/dust/LogoSquareColor.d.ts +4 -0
  37. package/dist/esm/logo/dust/LogoSquareDark.d.ts +4 -0
  38. package/dist/esm/logo/dust/LogoSquareWhite.d.ts +4 -0
  39. package/dist/esm/logo/dust/index.d.ts +6 -0
  40. package/dist/esm/logo/platforms/Ai21.d.ts +4 -0
  41. package/dist/esm/logo/platforms/Claude.d.ts +4 -0
  42. package/dist/esm/logo/platforms/Cohere.d.ts +4 -0
  43. package/dist/esm/logo/platforms/Drive.d.ts +4 -0
  44. package/dist/esm/logo/platforms/Github.d.ts +4 -0
  45. package/dist/esm/logo/platforms/Gpt3.d.ts +4 -0
  46. package/dist/esm/logo/platforms/Gpt4.d.ts +4 -0
  47. package/dist/esm/logo/platforms/HuggingFace.d.ts +4 -0
  48. package/dist/esm/logo/platforms/Microsoft.d.ts +4 -0
  49. package/dist/esm/logo/platforms/Notion.d.ts +4 -0
  50. package/dist/esm/logo/platforms/Replicate.d.ts +4 -0
  51. package/dist/esm/logo/platforms/Slack.d.ts +4 -0
  52. package/dist/esm/logo/platforms/index.d.ts +12 -0
  53. package/dist/esm/stories/Avatar.stories.d.ts +15 -0
  54. package/dist/esm/stories/Button.stories.d.ts +3 -1
  55. package/dist/esm/stories/Logo.stories.d.ts +4 -10
  56. package/dist/esm/stories/PlatformIconSet.stories.d.ts +6 -0
  57. package/dist/tsconfig.tsbuildinfo +1 -1
  58. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgLogoHorizontalColor: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgLogoHorizontalColor;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgLogoHorizontalDark: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgLogoHorizontalDark;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgLogoHorizontalWhite: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgLogoHorizontalWhite;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgLogoSquareColor: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgLogoSquareColor;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgLogoSquareDark: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgLogoSquareDark;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgLogoSquareWhite: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgLogoSquareWhite;
@@ -0,0 +1,6 @@
1
+ export { default as LogoHorizontalColor } from "./LogoHorizontalColor";
2
+ export { default as LogoHorizontalDark } from "./LogoHorizontalDark";
3
+ export { default as LogoHorizontalWhite } from "./LogoHorizontalWhite";
4
+ export { default as LogoSquareColor } from "./LogoSquareColor";
5
+ export { default as LogoSquareDark } from "./LogoSquareDark";
6
+ export { default as LogoSquareWhite } from "./LogoSquareWhite";
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgAi21: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgAi21;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgClaude: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgClaude;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgCohere: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgCohere;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgDrive: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgDrive;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgGithub: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgGithub;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgGpt3: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgGpt3;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgGpt4: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgGpt4;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgHuggingFace: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgHuggingFace;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgMicrosoft: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgMicrosoft;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgNotion: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgNotion;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgReplicate: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgReplicate;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ declare const SvgSlack: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default SvgSlack;
@@ -0,0 +1,12 @@
1
+ export { default as Ai21 } from "./Ai21";
2
+ export { default as Claude } from "./Claude";
3
+ export { default as Cohere } from "./Cohere";
4
+ export { default as Drive } from "./Drive";
5
+ export { default as Github } from "./Github";
6
+ export { default as Gpt3 } from "./Gpt3";
7
+ export { default as Gpt4 } from "./Gpt4";
8
+ export { default as HuggingFace } from "./HuggingFace";
9
+ export { default as Microsoft } from "./Microsoft";
10
+ export { default as Notion } from "./Notion";
11
+ export { default as Replicate } from "./Replicate";
12
+ export { default as Slack } from "./Slack";
@@ -0,0 +1,15 @@
1
+ import type { StoryObj } from "@storybook/react";
2
+ import React from "react";
3
+ import { Avatar } from "../index_with_tw_base";
4
+ declare const meta: {
5
+ title: string;
6
+ component: typeof Avatar;
7
+ };
8
+ export default meta;
9
+ type Story = StoryObj<typeof meta>;
10
+ export declare const AvatarExample: () => React.JSX.Element;
11
+ export declare const AvatarBusyExample: () => React.JSX.Element;
12
+ export declare const AvatarClickableExample: () => React.JSX.Element;
13
+ export declare const AvatarWithImage: Story;
14
+ export declare const AvatarWithName: Story;
15
+ export declare const AvatarEmpty: Story;
@@ -1,4 +1,5 @@
1
1
  import type { StoryObj } from "@storybook/react";
2
+ import React from "react";
2
3
  import { Button } from "../index_with_tw_base";
3
4
  declare const meta: {
4
5
  title: string;
@@ -6,9 +7,10 @@ declare const meta: {
6
7
  };
7
8
  export default meta;
8
9
  type Story = StoryObj<typeof meta>;
10
+ export declare const ButtonExamples: () => React.JSX.Element;
9
11
  export declare const Primary: Story;
10
- export declare const IconOnlyPlusTooltip: Story;
11
12
  export declare const PrimaryWarning: Story;
12
13
  export declare const Secondary: Story;
13
14
  export declare const SecondaryWarning: Story;
14
15
  export declare const Tertiary: Story;
16
+ export declare const IconOnlyPlusTooltip: Story;
@@ -1,12 +1,6 @@
1
- import type { StoryObj } from "@storybook/react";
2
- import { Logo } from "../index_with_tw_base";
3
- declare const meta: {
1
+ import React from "react";
2
+ declare const _default: {
4
3
  title: string;
5
- component: typeof Logo;
6
4
  };
7
- export default meta;
8
- type Story = StoryObj<typeof meta>;
9
- export declare const LogoFullColor: Story;
10
- export declare const LogoColoredGrey: Story;
11
- export declare const LogoSquareFullColor: Story;
12
- export declare const LogoSquareColoredGrey: Story;
5
+ export default _default;
6
+ export declare const DustLogoSet: () => React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const PlatformLogoSet: () => React.JSX.Element;