@dust-tt/sparkle 0.2.61-alpha-4 → 0.2.61
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/cjs/_index.d.ts +0 -2
- package/dist/cjs/index.js +12 -88
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/_index.d.ts +0 -2
- package/dist/esm/index.js +13 -88
- package/dist/esm/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/cjs/components/AssistantPreview.d.ts +0 -25
- package/dist/cjs/stories/AssistantPreview.stories.d.ts +0 -6
- package/dist/esm/components/AssistantPreview.d.ts +0 -25
- package/dist/esm/stories/AssistantPreview.stories.d.ts +0 -6
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type AssistantPreviewVariant = "sm" | "md" | "lg" | "list";
|
|
3
|
-
interface AssistantPreviewProps {
|
|
4
|
-
allowAddAction?: boolean;
|
|
5
|
-
allowRemoveAction?: boolean;
|
|
6
|
-
description: string;
|
|
7
|
-
isAdded: boolean;
|
|
8
|
-
isUpdatingList: boolean;
|
|
9
|
-
isWorkspace: boolean;
|
|
10
|
-
name: string;
|
|
11
|
-
pictureUrl: string;
|
|
12
|
-
subtitle: string;
|
|
13
|
-
variant: AssistantPreviewVariant;
|
|
14
|
-
onShowDetailsClick?: () => void;
|
|
15
|
-
onTestClick?: () => void;
|
|
16
|
-
onUpdate: (action: "added" | "removed") => Promise<void> | void;
|
|
17
|
-
}
|
|
18
|
-
export declare function AssistantPreview(props: AssistantPreviewProps): React.JSX.Element;
|
|
19
|
-
export declare namespace AssistantPreview {
|
|
20
|
-
var defaultProps: {
|
|
21
|
-
allowAddAction: boolean;
|
|
22
|
-
allowRemoveAction: boolean;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Meta } from "@storybook/react";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { AssistantPreview } from "../index_with_tw_base";
|
|
4
|
-
declare const meta: Meta<typeof AssistantPreview>;
|
|
5
|
-
export default meta;
|
|
6
|
-
export declare const AssistantPreviewExample: () => React.JSX.Element;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type AssistantPreviewVariant = "sm" | "md" | "lg" | "list";
|
|
3
|
-
interface AssistantPreviewProps {
|
|
4
|
-
allowAddAction?: boolean;
|
|
5
|
-
allowRemoveAction?: boolean;
|
|
6
|
-
description: string;
|
|
7
|
-
isAdded: boolean;
|
|
8
|
-
isUpdatingList: boolean;
|
|
9
|
-
isWorkspace: boolean;
|
|
10
|
-
name: string;
|
|
11
|
-
pictureUrl: string;
|
|
12
|
-
subtitle: string;
|
|
13
|
-
variant: AssistantPreviewVariant;
|
|
14
|
-
onShowDetailsClick?: () => void;
|
|
15
|
-
onTestClick?: () => void;
|
|
16
|
-
onUpdate: (action: "added" | "removed") => Promise<void> | void;
|
|
17
|
-
}
|
|
18
|
-
export declare function AssistantPreview(props: AssistantPreviewProps): React.JSX.Element;
|
|
19
|
-
export declare namespace AssistantPreview {
|
|
20
|
-
var defaultProps: {
|
|
21
|
-
allowAddAction: boolean;
|
|
22
|
-
allowRemoveAction: boolean;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Meta } from "@storybook/react";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { AssistantPreview } from "../index_with_tw_base";
|
|
4
|
-
declare const meta: Meta<typeof AssistantPreview>;
|
|
5
|
-
export default meta;
|
|
6
|
-
export declare const AssistantPreviewExample: () => React.JSX.Element;
|