@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dust-tt/sparkle",
3
- "version": "0.2.192",
3
+ "version": "0.2.195",
4
4
  "scripts": {
5
5
  "build": "rm -rf dist && rollup -c",
6
6
  "build:with-tw-base": "rollup -c --environment INCLUDE_TW_BASE:true",
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-whitespace-nowrap s-pt-0.5 s-text-sm s-text-element-600">
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>
@@ -22,7 +22,7 @@ export function Tooltip({
22
22
  const handleMouseOver = () => {
23
23
  const id = window.setTimeout(() => {
24
24
  setIsHovered(true);
25
- }, 800);
25
+ }, 600);
26
26
  setTimerId(id);
27
27
  };
28
28
 
@@ -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;
@@ -31,3 +31,4 @@ export { default as Replicate } from "./Replicate";
31
31
  export { default as Salesforce } from "./Salesforce";
32
32
  export { default as Slack } from "./Slack";
33
33
  export { default as Zapier } from "./Zapier";
34
+ export { default as Zendesk } from "./Zendesk";
@@ -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