@arcadeai/design-system 3.33.2 → 3.35.0

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 (121) hide show
  1. package/README.md +30 -317
  2. package/dist/arcade-logo-BVV97-cr.js +33 -0
  3. package/dist/assets/icons/granola.js +14 -0
  4. package/dist/assets/images/arcade-grid.d.ts +1 -1
  5. package/dist/assets/images/arcade-grid.d.ts.map +1 -1
  6. package/dist/assets/images/arcade-logo.d.ts +1 -1
  7. package/dist/assets/images/arcade-logo.d.ts.map +1 -1
  8. package/dist/assets/images/arcade-logo.js +10 -31
  9. package/dist/components/index.js +597 -567
  10. package/dist/components/ui/atoms/accordion.d.ts +1 -1
  11. package/dist/components/ui/atoms/accordion.d.ts.map +1 -1
  12. package/dist/components/ui/atoms/alert-dialog.d.ts +1 -1
  13. package/dist/components/ui/atoms/alert-dialog.d.ts.map +1 -1
  14. package/dist/components/ui/atoms/alert.d.ts +1 -1
  15. package/dist/components/ui/atoms/alert.d.ts.map +1 -1
  16. package/dist/components/ui/atoms/avatar-notification-badge.d.ts +34 -0
  17. package/dist/components/ui/atoms/avatar-notification-badge.d.ts.map +1 -0
  18. package/dist/components/ui/atoms/avatar-notification-badge.js +78 -0
  19. package/dist/components/ui/atoms/avatar.d.ts +1 -1
  20. package/dist/components/ui/atoms/avatar.d.ts.map +1 -1
  21. package/dist/components/ui/atoms/breadcrumb.d.ts +1 -1
  22. package/dist/components/ui/atoms/breadcrumb.d.ts.map +1 -1
  23. package/dist/components/ui/atoms/card.d.ts +1 -1
  24. package/dist/components/ui/atoms/card.d.ts.map +1 -1
  25. package/dist/components/ui/atoms/chart.d.ts +1 -1
  26. package/dist/components/ui/atoms/chart.d.ts.map +1 -1
  27. package/dist/components/ui/atoms/chat-container.d.ts +1 -1
  28. package/dist/components/ui/atoms/chat-container.d.ts.map +1 -1
  29. package/dist/components/ui/atoms/code-block.d.ts +1 -1
  30. package/dist/components/ui/atoms/code-block.d.ts.map +1 -1
  31. package/dist/components/ui/atoms/collapsible.d.ts +1 -1
  32. package/dist/components/ui/atoms/command.d.ts +1 -1
  33. package/dist/components/ui/atoms/command.d.ts.map +1 -1
  34. package/dist/components/ui/atoms/command.js +364 -288
  35. package/dist/components/ui/atoms/copy-button.d.ts +1 -1
  36. package/dist/components/ui/atoms/copy-button.d.ts.map +1 -1
  37. package/dist/components/ui/atoms/dropdown-menu.d.ts +1 -1
  38. package/dist/components/ui/atoms/dropdown-menu.d.ts.map +1 -1
  39. package/dist/components/ui/atoms/form.d.ts +1 -1
  40. package/dist/components/ui/atoms/form.d.ts.map +1 -1
  41. package/dist/components/ui/atoms/hover-card.d.ts +1 -1
  42. package/dist/components/ui/atoms/icons/granola.d.ts +4 -0
  43. package/dist/components/ui/atoms/icons/granola.d.ts.map +1 -0
  44. package/dist/components/ui/atoms/icons/granola.js +20 -0
  45. package/dist/components/ui/atoms/icons/index.d.ts +1 -0
  46. package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
  47. package/dist/components/ui/atoms/icons/index.js +156 -154
  48. package/dist/components/ui/atoms/index.d.ts +3 -0
  49. package/dist/components/ui/atoms/index.d.ts.map +1 -1
  50. package/dist/components/ui/atoms/index.js +514 -504
  51. package/dist/components/ui/atoms/json-highlight.d.ts +60 -0
  52. package/dist/components/ui/atoms/json-highlight.d.ts.map +1 -0
  53. package/dist/components/ui/atoms/json-highlight.js +77 -0
  54. package/dist/components/ui/atoms/loader.d.ts +1 -1
  55. package/dist/components/ui/atoms/loader.d.ts.map +1 -1
  56. package/dist/components/ui/atoms/markdown.js +1 -1
  57. package/dist/components/ui/atoms/popover.d.ts +1 -1
  58. package/dist/components/ui/atoms/popover.d.ts.map +1 -1
  59. package/dist/components/ui/atoms/resizable.d.ts +1 -1
  60. package/dist/components/ui/atoms/resizable.d.ts.map +1 -1
  61. package/dist/components/ui/atoms/scroll-button.d.ts +1 -1
  62. package/dist/components/ui/atoms/scroll-button.d.ts.map +1 -1
  63. package/dist/components/ui/atoms/scroll-button.js +8 -8
  64. package/dist/components/ui/atoms/sheet.d.ts +1 -1
  65. package/dist/components/ui/atoms/sheet.d.ts.map +1 -1
  66. package/dist/components/ui/atoms/table.d.ts +1 -1
  67. package/dist/components/ui/atoms/table.d.ts.map +1 -1
  68. package/dist/components/ui/atoms/tabs.d.ts +1 -1
  69. package/dist/components/ui/atoms/tabs.d.ts.map +1 -1
  70. package/dist/components/ui/atoms/tooltip.d.ts +4 -2
  71. package/dist/components/ui/atoms/tooltip.d.ts.map +1 -1
  72. package/dist/components/ui/atoms/tooltip.js +3 -2
  73. package/dist/components/ui/atoms/view-tools-control.d.ts +1 -1
  74. package/dist/components/ui/atoms/view-tools-control.d.ts.map +1 -1
  75. package/dist/components/ui/atoms/view-tools-control.js +20 -19
  76. package/dist/components/ui/index.js +597 -567
  77. package/dist/components/ui/molecules/chat-message-list.d.ts +5 -2
  78. package/dist/components/ui/molecules/chat-message-list.d.ts.map +1 -1
  79. package/dist/components/ui/molecules/chat-message-list.js +2 -2
  80. package/dist/components/ui/molecules/index.d.ts +8 -0
  81. package/dist/components/ui/molecules/index.d.ts.map +1 -1
  82. package/dist/components/ui/molecules/index.js +48 -28
  83. package/dist/components/ui/molecules/message.d.ts +2 -2
  84. package/dist/components/ui/molecules/message.d.ts.map +1 -1
  85. package/dist/components/ui/molecules/message.js +1 -1
  86. package/dist/components/ui/molecules/prompt-input.d.ts +1 -1
  87. package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -1
  88. package/dist/components/ui/molecules/prompt-input.js +20 -20
  89. package/dist/components/ui/molecules/requirement-badges.js +9 -5
  90. package/dist/components/ui/molecules/switcher.d.ts +83 -0
  91. package/dist/components/ui/molecules/switcher.d.ts.map +1 -0
  92. package/dist/components/ui/molecules/switcher.js +164 -0
  93. package/dist/components/ui/molecules/tool-authorization.d.ts +56 -0
  94. package/dist/components/ui/molecules/tool-authorization.d.ts.map +1 -0
  95. package/dist/components/ui/molecules/tool-authorization.js +160 -0
  96. package/dist/components/ui/molecules/tool-call-accordion.d.ts +36 -0
  97. package/dist/components/ui/molecules/tool-call-accordion.d.ts.map +1 -0
  98. package/dist/components/ui/molecules/tool-call-accordion.js +301 -0
  99. package/dist/components/ui/molecules/toolkit-card.js +1 -1
  100. package/dist/components/ui/molecules/user-nav.d.ts +65 -0
  101. package/dist/components/ui/molecules/user-nav.d.ts.map +1 -0
  102. package/dist/components/ui/molecules/user-nav.js +154 -0
  103. package/dist/components/ui/pages/chat-page.d.ts +18 -10
  104. package/dist/components/ui/pages/chat-page.d.ts.map +1 -1
  105. package/dist/components/ui/pages/chat-page.js +328 -243
  106. package/dist/components/ui/pages/login-page.js +6 -6
  107. package/dist/components/ui/templates/chat-template.d.ts +1 -1
  108. package/dist/components/ui/templates/chat-template.d.ts.map +1 -1
  109. package/dist/components/ui/templates/chat-template.js +11 -11
  110. package/dist/{highlighted-body-TPN3WLV5-DyOGcftJ.js → highlighted-body-TPN3WLV5-D6UnKGod.js} +1 -1
  111. package/dist/lib/utils.js +1 -1
  112. package/dist/main.js +623 -593
  113. package/dist/{markdown-9KGBuupR.js → markdown-D0xxRbwP.js} +2597 -2592
  114. package/dist/mermaid-O7DHMXV3-gUrB-Xs1.js +4 -0
  115. package/dist/metadata/toolkit-icons.d.ts.map +1 -1
  116. package/dist/metadata/toolkit-icons.js +130 -128
  117. package/dist/metadata/toolkits.d.ts.map +1 -1
  118. package/dist/metadata/toolkits.js +13 -0
  119. package/dist/{toolkit-card-k8jio69G.js → toolkit-card-B97E7TBA.js} +15 -12
  120. package/package.json +6 -6
  121. package/dist/mermaid-O7DHMXV3-CUp9wvRi.js +0 -4
@@ -0,0 +1,60 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ComponentProps, NamedExoticComponent } from 'react';
3
+ import { ClassProp } from 'class-variance-authority/types';
4
+ declare const jsonHighlightVariants: (props?: ({
5
+ theme?: "default" | "branded" | "monochrome" | null | undefined;
6
+ } & ClassProp) | undefined) => string;
7
+ type JsonHighlightProps = {
8
+ code: string;
9
+ } & VariantProps<typeof jsonHighlightVariants> & ComponentProps<"div">;
10
+ /**
11
+ * Lightweight, synchronous JSON syntax highlighter.
12
+ *
13
+ * Uses a single-pass regex tokenizer — **O(n)** over the input string — to
14
+ * colour keys, strings, numbers, and keywords (true / false / null).
15
+ *
16
+ * ## Themes
17
+ *
18
+ * Use the `theme` prop to pick a colour preset:
19
+ *
20
+ * - `"default"` — amber keys, red strings, teal numbers, green true, red false, gray null.
21
+ * - `"branded"` — uses design system tokens (chart-2, chart-1, warning, success, destructive).
22
+ * - `"monochrome"` — foreground keys, muted values (for subdued contexts).
23
+ *
24
+ * ## Customising individual colours
25
+ *
26
+ * Token colours are CSS custom properties. Override any via `className`:
27
+ *
28
+ * | Variable | Token |
29
+ * | ------------ | ------------ |
30
+ * | `--jh-key` | Object keys |
31
+ * | `--jh-str` | Strings |
32
+ * | `--jh-num` | Numbers |
33
+ * | `--jh-true` | `true` |
34
+ * | `--jh-false` | `false` |
35
+ * | `--jh-null` | `null` |
36
+ *
37
+ * ```tsx
38
+ * <JsonHighlight
39
+ * code={json}
40
+ * className="[--jh-str:#2563eb] dark:[--jh-str:#93c5fd]"
41
+ * />
42
+ * ```
43
+ *
44
+ * ## When to use this over `CodeBlockCode`
45
+ *
46
+ * - The content is **always JSON** (no multi-language support needed).
47
+ * - The component appears in a **hot path** where Shiki's WASM bundle
48
+ * (~695 KB gzipped) and async initialisation would cause visible lag.
49
+ * - You need **synchronous first-paint** (no loading flash).
50
+ *
51
+ * ## When to prefer `CodeBlockCode` (Shiki)
52
+ *
53
+ * - The language is not JSON, or can vary at runtime.
54
+ * - You need advanced features like line numbers or line highlighting.
55
+ * - The code block renders once in a non-latency-critical context.
56
+ */
57
+ declare const JsonHighlight: NamedExoticComponent<JsonHighlightProps>;
58
+ export type { JsonHighlightProps };
59
+ export { JsonHighlight, jsonHighlightVariants };
60
+ //# sourceMappingURL=json-highlight.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json-highlight.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/json-highlight.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,KAAK,cAAc,EAAiB,MAAM,OAAO,CAAC;AAyD3D,QAAA,MAAM,qBAAqB;;8EAiC1B,CAAC;AAeF,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,YAAY,CAAC,OAAO,qBAAqB,CAAC,GAC5C,cAAc,CAAC,KAAK,CAAC,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,QAAA,MAAM,aAAa,0DA8BjB,CAAC;AAEH,YAAY,EAAE,kBAAkB,EAAE,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,CAAC"}
@@ -0,0 +1,77 @@
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { c } from "../../../index-UgeK3A8s.js";
3
+ import { memo as m, useMemo as j } from "react";
4
+ import { cn as p } from "../../../lib/utils.js";
5
+ const x = /("(?:[^"\\]|\\.)*")\s*(?=:)|("(?:[^"\\]|\\.)*")|\b(true)\b|\b(false)\b|\b(null)\b|(-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)/g;
6
+ function v(s) {
7
+ const e = [];
8
+ let a = 0;
9
+ for (const o of s.matchAll(x)) {
10
+ const t = o.index;
11
+ t > a && e.push(s.slice(a, t));
12
+ const [n, r, u, h, f, d, i] = o;
13
+ r ? e.push({ type: "key", text: r, offset: t }) : u ? e.push({ type: "str", text: u, offset: t }) : h ? e.push({ type: "true", text: h, offset: t }) : f ? e.push({ type: "false", text: f, offset: t }) : d ? e.push({ type: "null", text: d, offset: t }) : i && e.push({ type: "num", text: i, offset: t }), a = t + n.length;
14
+ }
15
+ return a < s.length && e.push(s.slice(a)), e;
16
+ }
17
+ const g = c(
18
+ "w-full overflow-x-auto text-[13px] text-foreground/90",
19
+ {
20
+ variants: {
21
+ theme: {
22
+ default: [
23
+ "[--jh-key:#8a6c14] dark:[--jh-key:#b8a965]",
24
+ "[--jh-str:#a8453a] dark:[--jh-str:#c98a7d]",
25
+ "[--jh-num:#0f766e] dark:[--jh-num:#4c9a91]",
26
+ "[--jh-true:#2f6e4e] dark:[--jh-true:#4d9375]",
27
+ "[--jh-false:#a8453a] dark:[--jh-false:#c98a7d]",
28
+ "[--jh-null:#71717a] dark:[--jh-null:#a1a1aa]"
29
+ ],
30
+ branded: [
31
+ "[--jh-key:var(--chart-2)]",
32
+ "[--jh-str:var(--chart-1)]",
33
+ "[--jh-num:var(--warning)]",
34
+ "[--jh-true:var(--success)]",
35
+ "[--jh-false:var(--destructive)]",
36
+ "[--jh-null:var(--color-muted-foreground)]"
37
+ ],
38
+ monochrome: [
39
+ "[--jh-key:var(--color-foreground)]",
40
+ "[--jh-str:var(--color-muted-foreground)]",
41
+ "[--jh-num:var(--color-muted-foreground)]",
42
+ "[--jh-true:var(--color-muted-foreground)]",
43
+ "[--jh-false:var(--color-muted-foreground)]",
44
+ "[--jh-null:var(--color-muted-foreground)]"
45
+ ]
46
+ }
47
+ },
48
+ defaultVariants: { theme: "default" }
49
+ }
50
+ ), k = {
51
+ key: "text-[var(--jh-key)]",
52
+ str: "text-[var(--jh-str)]",
53
+ num: "text-[var(--jh-num)]",
54
+ true: "text-[var(--jh-true)]",
55
+ false: "text-[var(--jh-false)]",
56
+ null: "text-[var(--jh-null)]"
57
+ }, E = m(function({
58
+ code: e,
59
+ theme: a,
60
+ className: o,
61
+ ...t
62
+ }) {
63
+ const n = j(() => v(e), [e]);
64
+ return /* @__PURE__ */ l(
65
+ "div",
66
+ {
67
+ className: p(g({ theme: a }), o),
68
+ "data-slot": "json-highlight",
69
+ ...t,
70
+ children: /* @__PURE__ */ l("pre", { className: "wrap-break-word max-w-full whitespace-pre-wrap p-3 font-mono leading-relaxed", children: /* @__PURE__ */ l("code", { children: n.map((r) => typeof r == "string" ? r : /* @__PURE__ */ l("span", { className: k[r.type], children: r.text }, r.offset)) }) })
71
+ }
72
+ );
73
+ });
74
+ export {
75
+ E as JsonHighlight,
76
+ g as jsonHighlightVariants
77
+ };
@@ -6,6 +6,6 @@ type LoaderProps = {
6
6
  variant?: "circular" | "classic" | "pulse" | "pulse-dot" | "dots" | "typing" | "wave" | "bars" | "terminal" | "text-blink" | "text-shimmer" | "loading-dots";
7
7
  };
8
8
  declare function Loader({ variant, size, text, className, }: LoaderProps): import("react/jsx-runtime").JSX.Element;
9
- export { Loader };
10
9
  export type { LoaderProps };
10
+ export { Loader };
11
11
  //# sourceMappingURL=loader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/loader.tsx"],"names":[],"mappings":"AAEA,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAErC,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EACJ,UAAU,GACV,SAAS,GACT,OAAO,GACP,WAAW,GACX,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,UAAU,GACV,YAAY,GACZ,cAAc,GACd,cAAc,CAAC;CACpB,CAAC;AA4XF,iBAAS,MAAM,CAAC,EACd,OAAoB,EACpB,IAAW,EACX,IAAI,EACJ,SAAS,GACV,EAAE,WAAW,2CA+Bb;AAED,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,YAAY,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/loader.tsx"],"names":[],"mappings":"AAEA,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAErC,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EACJ,UAAU,GACV,SAAS,GACT,OAAO,GACP,WAAW,GACX,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,UAAU,GACV,YAAY,GACZ,cAAc,GACd,cAAc,CAAC;CACpB,CAAC;AA4XF,iBAAS,MAAM,CAAC,EACd,OAAoB,EACpB,IAAW,EACX,IAAI,EACJ,SAAS,GACV,EAAE,WAAW,2CA+Bb;AAED,YAAY,EAAE,WAAW,EAAE,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { M as t } from "../../../markdown-9KGBuupR.js";
2
+ import { M as t } from "../../../markdown-D0xxRbwP.js";
3
3
  import "react";
4
4
  export {
5
5
  t as Markdown
@@ -4,5 +4,5 @@ declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimit
4
4
  declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
5
  declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
6
6
  declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
7
- export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
7
+ export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
8
8
  //# sourceMappingURL=popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,KA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,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,2CAEtD;AAED,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"}
@@ -5,5 +5,5 @@ declare function ResizablePanel({ ...props }: React.ComponentProps<typeof Resiza
5
5
  declare function ResizableHandle({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
6
6
  withHandle?: boolean;
7
7
  }): import("react/jsx-runtime").JSX.Element;
8
- export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
8
+ export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
9
9
  //# sourceMappingURL=resizable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/resizable.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAG7D,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,UAAU,CAAC,2CAW5D;AAED,iBAAS,cAAc,CAAC,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,KAAK,CAAC,2CAEvD;AAED,iBAAS,eAAe,CAAC,EACvB,UAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,iBAAiB,CAAC,GAAG;IACrE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,2CAiBA;AAED,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/resizable.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAG7D,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,UAAU,CAAC,2CAW5D;AAED,iBAAS,cAAc,CAAC,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,KAAK,CAAC,2CAEvD;AAED,iBAAS,eAAe,CAAC,EACvB,UAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,iBAAiB,CAAC,GAAG;IACrE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,2CAiBA;AAED,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC"}
@@ -5,6 +5,6 @@ type ScrollButtonProps = {
5
5
  size?: VariantProps<typeof buttonVariants>["size"];
6
6
  } & React.ComponentProps<"button">;
7
7
  declare function ScrollButton({ className, variant, size, ...props }: ScrollButtonProps): import("react/jsx-runtime").JSX.Element;
8
- export { ScrollButton };
9
8
  export type { ScrollButtonProps };
9
+ export { ScrollButton };
10
10
  //# sourceMappingURL=scroll-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scroll-button.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/scroll-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAU,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAQ3E,KAAK,iBAAiB,GAAG;IACvB,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC;IACzD,IAAI,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;CACpD,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;AAEnC,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,OAAmB,EACnB,IAAW,EACX,GAAG,KAAK,EACT,EAAE,iBAAiB,2CA6BnB;AAED,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"scroll-button.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/scroll-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAU,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAQ3E,KAAK,iBAAiB,GAAG;IACvB,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC;IACzD,IAAI,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;CACpD,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;AAEnC,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,OAAmB,EACnB,IAAW,EACX,GAAG,KAAK,EACT,EAAE,iBAAiB,2CA6BnB;AAED,YAAY,EAAE,iBAAiB,EAAE,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { jsxs as a, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
2
  import { ChevronDown as s } from "lucide-react";
3
3
  import { Button as c } from "./button.js";
4
4
  import { Tooltip as m, TooltipTrigger as p, TooltipContent as u } from "./tooltip.js";
@@ -10,28 +10,28 @@ function y({
10
10
  size: n = "sm",
11
11
  ...e
12
12
  }) {
13
- const { isAtBottom: t, scrollToBottom: i } = h();
13
+ const { isAtBottom: o, scrollToBottom: i } = h();
14
14
  return /* @__PURE__ */ a(m, { children: [
15
- /* @__PURE__ */ o(p, { asChild: !0, children: /* @__PURE__ */ o(
15
+ /* @__PURE__ */ t(p, { asChild: !0, children: /* @__PURE__ */ t(
16
16
  c,
17
17
  {
18
- "aria-hidden": t,
18
+ "aria-hidden": o,
19
19
  "aria-label": "Scroll to bottom",
20
20
  className: d(
21
21
  "h-10 w-10 rounded-full transition-all duration-150 ease-out",
22
- t ? "pointer-events-none translate-y-4 scale-95 opacity-0" : "translate-y-0 scale-100 opacity-100",
22
+ o ? "pointer-events-none translate-y-4 scale-95 opacity-0" : "translate-y-0 scale-100 opacity-100",
23
23
  r
24
24
  ),
25
25
  "data-slot": "scroll-button",
26
26
  onClick: () => i(),
27
27
  size: n,
28
- tabIndex: t ? -1 : 0,
28
+ tabIndex: o ? -1 : 0,
29
29
  variant: l,
30
30
  ...e,
31
- children: /* @__PURE__ */ o(s, { className: "h-5 w-5" })
31
+ children: /* @__PURE__ */ t(s, { className: "h-5 w-5" })
32
32
  }
33
33
  ) }),
34
- /* @__PURE__ */ o(u, { children: "Scroll to bottom" })
34
+ !o && /* @__PURE__ */ t(u, { children: "Scroll to bottom" })
35
35
  ] });
36
36
  }
37
37
  export {
@@ -11,5 +11,5 @@ declare function SheetHeader({ className, ...props }: React.ComponentProps<"div"
11
11
  declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
12
  declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
13
13
  declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
14
- export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
14
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, };
15
15
  //# sourceMappingURL=sheet.d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AK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQxE;AAED,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC,2CAQnD;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,WAAW,CAAC,2CAQzD;AAED,OAAO,EACL,KAAK,EACL,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,UAAU,EACV,YAAY,GACb,CAAC"}
@@ -9,5 +9,5 @@ declare function TableRow({ className, ...props }: React.ComponentProps<"tr">):
9
9
  declare function TableHead({ className, ...props }: React.ComponentProps<"th">): import("react/jsx-runtime").JSX.Element;
10
10
  declare function TableCell({ className, ...props }: React.ComponentProps<"td">): import("react/jsx-runtime").JSX.Element;
11
11
  declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): import("react/jsx-runtime").JSX.Element;
12
- export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
12
+ export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, };
13
13
  //# sourceMappingURL=table.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,GAAG,EACH,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,GAAG;IAC1C,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;CACnC,2CAWA;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,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KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAQ1E;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAQxE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAW1E;AAED,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWpE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWrE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWrE;AAED,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,2CAQjC;AAED,OAAO,EACL,KAAK,EACL,SAAS,EACT,YAAY,EACZ,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,GACT,CAAC"}
@@ -4,5 +4,5 @@ declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsP
4
4
  declare function TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>): import("react/jsx-runtime").JSX.Element;
5
5
  declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
6
  declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
- export { Tabs, TabsList, TabsTrigger, TabsContent };
7
+ export { Tabs, TabsContent, TabsList, TabsTrigger };
8
8
  //# sourceMappingURL=tabs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,iBAAS,IAAI,CAAC,EACZ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,2CAQjD;AAED,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,2CAWjD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,2CAWpD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,2CAQpD;AAED,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,iBAAS,IAAI,CAAC,EACZ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,2CAQjD;AAED,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,2CAWjD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,2CAWpD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,2CAQpD;AAED,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import { Tooltip as TooltipPrimitive } from 'radix-ui';
2
2
  import type * as React from "react";
3
3
  declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
4
- declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function Tooltip({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Root> & {
5
+ delayDuration?: number;
6
+ }): import("react/jsx-runtime").JSX.Element;
5
7
  declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
8
  declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
- export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
9
+ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
8
10
  //# sourceMappingURL=tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,iBAAS,eAAe,CAAC,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EACT,UAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAiBvD;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC"}
@@ -335,9 +335,10 @@ function De({
335
335
  );
336
336
  }
337
337
  function $e({
338
- ...e
338
+ delayDuration: e,
339
+ ...o
339
340
  }) {
340
- return /* @__PURE__ */ u(De, { children: /* @__PURE__ */ u(Pe, { "data-slot": "tooltip", ...e }) });
341
+ return /* @__PURE__ */ u(De, { delayDuration: e, children: /* @__PURE__ */ u(Pe, { "data-slot": "tooltip", ...o }) });
341
342
  }
342
343
  function Be({
343
344
  ...e
@@ -1,3 +1,4 @@
1
+ import * as React from "react";
1
2
  export type ViewToolsControlProps = {
2
3
  toolsCount: number;
3
4
  selectedCount?: number;
@@ -7,7 +8,6 @@ export type ViewToolsControlProps = {
7
8
  name: string;
8
9
  };
9
10
  declare function ViewToolsControlImpl({ toolsCount, selectedCount, indeterminate, onClick, className, name, }: ViewToolsControlProps): import("react/jsx-runtime").JSX.Element;
10
- import * as React from "react";
11
11
  export declare const ViewToolsControl: React.MemoExoticComponent<typeof ViewToolsControlImpl>;
12
12
  export {};
13
13
  //# sourceMappingURL=view-tools-control.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"view-tools-control.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/view-tools-control.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAaF,iBAAS,oBAAoB,CAAC,EAC5B,UAAU,EACV,aAAiB,EACjB,aAAa,EACb,OAAO,EACP,SAAS,EACT,IAAI,GACL,EAAE,qBAAqB,2CAmBvB;AAED,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,gBAAgB,wDAU5B,CAAC"}
1
+ {"version":3,"file":"view-tools-control.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/view-tools-control.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAaF,iBAAS,oBAAoB,CAAC,EAC5B,UAAU,EACV,aAAiB,EACjB,aAAa,EACb,OAAO,EACP,SAAS,EACT,IAAI,GACL,EAAE,qBAAqB,2CAoBvB;AAED,eAAO,MAAM,gBAAgB,wDAU5B,CAAC"}
@@ -1,29 +1,30 @@
1
- import { jsxs as e, jsx as l } from "react/jsx-runtime";
1
+ import { jsxs as e, jsx as m } from "react/jsx-runtime";
2
2
  import { ChevronRight as c } from "lucide-react";
3
- import { Button as p } from "./button.js";
4
- import { cn as f } from "../../../lib/utils.js";
5
- import * as u from "react";
6
- import { createPropsComparator as g } from "../utils/memo.js";
7
- function x(o, t = 0, r) {
3
+ import * as p from "react";
4
+ import { Button as f } from "./button.js";
5
+ import { createPropsComparator as u } from "../utils/memo.js";
6
+ import { cn as d } from "../../../lib/utils.js";
7
+ function g(o, t = 0, r) {
8
8
  return r && t > 0 ? `${t}/${o}` : String(o);
9
9
  }
10
- function b({
10
+ function x({
11
11
  toolsCount: o,
12
12
  selectedCount: t = 0,
13
13
  indeterminate: r,
14
14
  onClick: n,
15
- className: i,
16
- name: a
15
+ className: a,
16
+ name: i
17
17
  }) {
18
- const s = x(o, t, r);
18
+ const s = g(o, t, r);
19
19
  return /* @__PURE__ */ e(
20
- p,
20
+ f,
21
21
  {
22
- "aria-label": `View tools in ${a}`,
23
- className: f("gap-1", i),
22
+ "aria-label": `View tools in ${i}`,
23
+ className: d("gap-1", a),
24
+ "data-slot": "view-tools-control",
24
25
  "data-testid": "view-tools",
25
- onClick: (m) => {
26
- m.stopPropagation(), n();
26
+ onClick: (l) => {
27
+ l.stopPropagation(), n();
27
28
  },
28
29
  size: "sm",
29
30
  variant: "outline",
@@ -32,14 +33,14 @@ function b({
32
33
  s,
33
34
  " tools"
34
35
  ] }),
35
- /* @__PURE__ */ l(c, { className: "size-3.5 transition-transform group-hover:translate-x-0.5" })
36
+ /* @__PURE__ */ m(c, { className: "size-3.5 transition-transform group-hover:translate-x-0.5" })
36
37
  ]
37
38
  }
38
39
  );
39
40
  }
40
- const N = u.memo(
41
- b,
42
- g([
41
+ const N = p.memo(
42
+ x,
43
+ u([
43
44
  "toolsCount",
44
45
  "selectedCount",
45
46
  "indeterminate",