@dust-tt/sparkle 0.2.192 → 0.2.195
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 +2 -2
- package/dist/cjs/components/Citation.d.ts +1 -1
- package/dist/cjs/index.js +10 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/logo/platforms/Zendesk.d.ts +4 -0
- package/dist/cjs/logo/platforms/index.d.ts +1 -0
- package/dist/esm/_index.d.ts +2 -2
- package/dist/esm/components/Citation.d.ts +1 -1
- package/dist/esm/index.js +9 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logo/platforms/Zendesk.d.ts +4 -0
- package/dist/esm/logo/platforms/index.d.ts +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/_index.ts +2 -0
- package/src/components/Citation.tsx +3 -0
- package/src/components/ContextItem.tsx +1 -1
- package/src/components/Tooltip.tsx +1 -1
- package/src/logo/platforms/Zendesk.tsx +20 -0
- package/src/logo/platforms/index.ts +1 -0
- package/src/stories/ContextItem.stories.tsx +3 -1
package/package.json
CHANGED
package/src/_index.ts
CHANGED
|
@@ -208,6 +208,7 @@ import {
|
|
|
208
208
|
Salesforce as SalesforceLogo,
|
|
209
209
|
Slack as SlackLogo,
|
|
210
210
|
Zapier as ZapierLogo,
|
|
211
|
+
Zendesk as ZendeskLogo,
|
|
211
212
|
} from "./logo/platforms";
|
|
212
213
|
|
|
213
214
|
export {
|
|
@@ -244,6 +245,7 @@ export {
|
|
|
244
245
|
SalesforceLogo,
|
|
245
246
|
SlackLogo,
|
|
246
247
|
ZapierLogo,
|
|
248
|
+
ZendeskLogo,
|
|
247
249
|
};
|
|
248
250
|
|
|
249
251
|
import {
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
Microsoft,
|
|
11
11
|
Notion,
|
|
12
12
|
Slack,
|
|
13
|
+
Zendesk,
|
|
13
14
|
} from "@sparkle/logo/platforms";
|
|
14
15
|
|
|
15
16
|
import {
|
|
@@ -30,6 +31,7 @@ export type CitationType =
|
|
|
30
31
|
| "image"
|
|
31
32
|
| "intercom"
|
|
32
33
|
| "microsoft"
|
|
34
|
+
| "zendesk"
|
|
33
35
|
| "notion"
|
|
34
36
|
| "slack";
|
|
35
37
|
|
|
@@ -55,6 +57,7 @@ const typeIcons = {
|
|
|
55
57
|
google_drive: Drive,
|
|
56
58
|
intercom: Intercom,
|
|
57
59
|
microsoft: Microsoft,
|
|
60
|
+
zendesk: Zendesk,
|
|
58
61
|
notion: Notion,
|
|
59
62
|
slack: Slack,
|
|
60
63
|
image: Image,
|
|
@@ -48,7 +48,7 @@ export function ContextItem({
|
|
|
48
48
|
<div className="s-min-w-0 s-overflow-hidden s-text-ellipsis s-whitespace-nowrap s-text-base s-font-semibold">
|
|
49
49
|
{title}
|
|
50
50
|
</div>
|
|
51
|
-
<div className="s-flex s-flex-shrink-0 s-items-center s-gap-3 s-
|
|
51
|
+
<div className="s-flex s-flex-shrink-0 s-items-center s-gap-3 s-overflow-hidden s-pt-0.5 s-text-sm s-text-element-600">
|
|
52
52
|
{subElement}
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { SVGProps } from "react";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
const SvgZapier = (props: SVGProps<SVGSVGElement>) => (
|
|
4
|
+
<svg
|
|
5
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
6
|
+
width="1em"
|
|
7
|
+
height="1em"
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 -30.5 256 256"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<g>
|
|
13
|
+
<path
|
|
14
|
+
d="M118.249172,51.2326115 L118.249172,194.005605 L0,194.005605 L118.249172,51.2326115 Z M118.249172,2.84217094e-14 C118.249172,32.6440764 91.7686624,59.124586 59.124586,59.124586 C26.4805096,59.124586 0,32.6440764 0,2.84217094e-14 L118.249172,2.84217094e-14 Z M137.750828,194.005605 C137.750828,161.328917 164.198726,134.881019 196.875414,134.881019 C229.552102,134.881019 256,161.361529 256,194.005605 L137.750828,194.005605 Z M137.750828,142.740382 L137.750828,0 L256,0 L137.750828,142.740382 Z"
|
|
15
|
+
fill="#03363D"
|
|
16
|
+
></path>
|
|
17
|
+
</g>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
export default SvgZapier;
|
|
@@ -39,9 +39,11 @@ export const ListItemExample = () => (
|
|
|
39
39
|
</div>
|
|
40
40
|
</>
|
|
41
41
|
}
|
|
42
|
-
action={<Chip size="xs" label="Last Sync ~7 days ago" color="pink" />}
|
|
43
42
|
visual={<Icon visual={FolderIcon} size="md" />}
|
|
44
43
|
>
|
|
44
|
+
<div className="s-py-2">
|
|
45
|
+
<Chip size="xs" label="Last Sync ~7 days ago" color="pink" />
|
|
46
|
+
</div>
|
|
45
47
|
<ContextItem.Description description="Lats, pricing, history of contacts, contact message" />
|
|
46
48
|
</ContextItem>
|
|
47
49
|
<ContextItem.SectionHeader
|