@spear-ai/spectral 1.3.53 → 1.3.55

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.
@@ -14,7 +14,7 @@ export type DialogContextValue = {
14
14
  descriptionId: string;
15
15
  };
16
16
  export type TriggerableElement = ReactElement<{
17
- onClick?: () => void;
17
+ onClick?: (...args: unknown[]) => void;
18
18
  }>;
19
19
  export declare function useDialogContext(): DialogContextValue;
20
20
  export declare function DialogBase({ isOpen: controlledOpen, defaultOpen, onOpenChange, children }: DialogBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -1,36 +1,36 @@
1
1
  "use client";
2
2
  import "../styles/main.css";
3
- import { jsx as a, jsxs as w } from "react/jsx-runtime";
3
+ import { jsx as s, jsxs as v } from "react/jsx-runtime";
4
4
  import { c as d } from "../twUtils-CRiPKpXj.js";
5
- import { c as N } from "../index-CRBC94ik.js";
6
- import { createContext as O, useContext as z, useState as y, useMemo as C, useCallback as b, cloneElement as D, useEffect as x, useRef as P, isValidElement as h } from "react";
5
+ import { c as B } from "../index-CRBC94ik.js";
6
+ import { createContext as N, useContext as z, useState as y, useMemo as k, useCallback as b, cloneElement as D, useEffect as x, useRef as P, isValidElement as w } from "react";
7
7
  import { createPortal as T } from "react-dom";
8
8
  import { X as V } from "../x-BBpi7a_7.js";
9
- const k = O(null);
9
+ const h = N(null);
10
10
  function f() {
11
- const e = z(k);
11
+ const e = z(h);
12
12
  if (!e)
13
13
  throw new Error("Dialog components must be used within <Dialog>");
14
14
  return e;
15
15
  }
16
16
  function I(e) {
17
- return h(e) && typeof e.type != "string" ? !0 : h(e);
17
+ return w(e) && typeof e.type != "string" ? !0 : w(e);
18
18
  }
19
- let v = 0;
19
+ let C = 0;
20
20
  function S({ isOpen: e, defaultOpen: t = !1, onOpenChange: n, children: o }) {
21
- const [c, r] = y(t), l = e !== void 0, m = l ? e : c, p = C(
21
+ const [r, a] = y(t), c = e !== void 0, m = c ? e : r, p = k(
22
22
  () => ({
23
- contentId: `dialog-content-${++v}`,
24
- titleId: `dialog-title-${v}`,
25
- descriptionId: `dialog-description-${v}`
23
+ contentId: `dialog-content-${++C}`,
24
+ titleId: `dialog-title-${C}`,
25
+ descriptionId: `dialog-description-${C}`
26
26
  }),
27
27
  []
28
28
  ), g = b(
29
- (i) => {
30
- l || r(i), n?.(i);
29
+ (l) => {
30
+ c || a(l), n?.(l);
31
31
  },
32
- [l, n]
33
- ), u = C(
32
+ [c, n]
33
+ ), u = k(
34
34
  () => ({
35
35
  isOpen: m,
36
36
  setIsOpen: g,
@@ -38,18 +38,21 @@ function S({ isOpen: e, defaultOpen: t = !1, onOpenChange: n, children: o }) {
38
38
  }),
39
39
  [m, g, p]
40
40
  );
41
- return /* @__PURE__ */ a(k.Provider, { value: u, children: o });
41
+ return /* @__PURE__ */ s(h.Provider, { value: u, children: o });
42
42
  }
43
43
  function U({ children: e, asChild: t = !0 }) {
44
44
  const { setIsOpen: n } = f(), o = b(() => {
45
45
  n(!0);
46
46
  }, [n]);
47
47
  if (!t)
48
- return /* @__PURE__ */ a("button", { onClick: o, children: e });
48
+ return /* @__PURE__ */ s("button", { onClick: o, children: e });
49
49
  if (!I(e))
50
50
  throw new Error("DialogTrigger expects a single React element as child");
51
+ const r = e.props.onClick;
51
52
  return D(e, {
52
- onClick: o
53
+ onClick: (...a) => {
54
+ r?.(...a), o();
55
+ }
53
56
  });
54
57
  }
55
58
  function L({ children: e, asChild: t = !0 }) {
@@ -57,7 +60,7 @@ function L({ children: e, asChild: t = !0 }) {
57
60
  n(!1);
58
61
  }, [n]);
59
62
  if (!t)
60
- return /* @__PURE__ */ a(
63
+ return /* @__PURE__ */ s(
61
64
  "button",
62
65
  {
63
66
  onClick: o,
@@ -68,8 +71,11 @@ function L({ children: e, asChild: t = !0 }) {
68
71
  );
69
72
  if (!I(e))
70
73
  throw new Error("DialogClose expects a single React element as child");
74
+ const r = e.props.onClick;
71
75
  return D(e, {
72
- onClick: o
76
+ onClick: (...a) => {
77
+ r?.(...a), o();
78
+ }
73
79
  });
74
80
  }
75
81
  function E({ children: e, container: t }) {
@@ -78,12 +84,12 @@ function E({ children: e, container: t }) {
78
84
  }
79
85
  function X({ className: e }) {
80
86
  const { isOpen: t, setIsOpen: n } = f(), o = b(
81
- (c) => {
82
- c.target === c.currentTarget && n(!1);
87
+ (r) => {
88
+ r.target === r.currentTarget && n(!1);
83
89
  },
84
90
  [n]
85
91
  );
86
- return t ? /* @__PURE__ */ a(E, { children: /* @__PURE__ */ a(
92
+ return t ? /* @__PURE__ */ s(E, { children: /* @__PURE__ */ s(
87
93
  "div",
88
94
  {
89
95
  className: d(
@@ -97,7 +103,7 @@ function X({ className: e }) {
97
103
  }
98
104
  ) }) : null;
99
105
  }
100
- const R = N(
106
+ const R = B(
101
107
  [
102
108
  "fixed left-1/2 top-1/2 z-50 w-full -translate-x-1/2 -translate-y-1/2 rounded-lg p-6 shadow-lg outline-none data-[state=open]:animate-in data-[state=open]:fade-in-0",
103
109
  "data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95"
@@ -122,31 +128,31 @@ function q({
122
128
  className: t,
123
129
  size: n,
124
130
  onPointerDownOutside: o,
125
- onEscapeKeyDown: c
131
+ onEscapeKeyDown: r
126
132
  }) {
127
- const { isOpen: r, setIsOpen: l, contentId: m, titleId: p, descriptionId: g } = f(), u = P(null);
133
+ const { isOpen: a, setIsOpen: c, contentId: m, titleId: p, descriptionId: g } = f(), u = P(null);
128
134
  return x(() => {
129
- if (!r || !u.current) return;
130
- const i = u.current, s = document.activeElement;
131
- return i.focus(), () => {
132
- s && typeof s.focus == "function" && s.focus();
135
+ if (!a || !u.current) return;
136
+ const l = u.current, i = document.activeElement;
137
+ return l.focus(), () => {
138
+ i && typeof i.focus == "function" && i.focus();
133
139
  };
134
- }, [r]), x(() => {
135
- if (!r) return;
136
- const i = (s) => {
137
- s.key === "Escape" && (c?.(s), s.defaultPrevented || (s.preventDefault(), l(!1)));
140
+ }, [a]), x(() => {
141
+ if (!a) return;
142
+ const l = (i) => {
143
+ i.key === "Escape" && (r?.(i), i.defaultPrevented || (i.preventDefault(), c(!1)));
138
144
  };
139
- return document.addEventListener("keydown", i, { capture: !0 }), () => {
140
- document.removeEventListener("keydown", i, { capture: !0 });
145
+ return document.addEventListener("keydown", l, { capture: !0 }), () => {
146
+ document.removeEventListener("keydown", l, { capture: !0 });
141
147
  };
142
- }, [r, c, l]), x(() => {
143
- if (!r) return;
144
- const i = (s) => {
145
- const B = s.target;
146
- u.current && !u.current.contains(B) && (o?.(s), s.defaultPrevented || l(!1));
148
+ }, [a, r, c]), x(() => {
149
+ if (!a) return;
150
+ const l = (i) => {
151
+ const O = i.target;
152
+ u.current && !u.current.contains(O) && (o?.(i), i.defaultPrevented || c(!1));
147
153
  };
148
- return document.addEventListener("pointerdown", i, { capture: !0 }), () => document.removeEventListener("pointerdown", i, { capture: !0 });
149
- }, [r, o, l]), r ? /* @__PURE__ */ a(E, { children: /* @__PURE__ */ w(
154
+ return document.addEventListener("pointerdown", l, { capture: !0 }), () => document.removeEventListener("pointerdown", l, { capture: !0 });
155
+ }, [a, o, c]), a ? /* @__PURE__ */ s(E, { children: /* @__PURE__ */ v(
150
156
  "div",
151
157
  {
152
158
  ref: u,
@@ -155,11 +161,11 @@ function q({
155
161
  "aria-modal": "true",
156
162
  "aria-labelledby": p,
157
163
  "aria-describedby": g,
158
- "data-state": r ? "open" : "closed",
164
+ "data-state": a ? "open" : "closed",
159
165
  tabIndex: -1,
160
166
  className: d(R({ size: n }), t),
161
167
  children: [
162
- /* @__PURE__ */ a(L, { asChild: !0, children: /* @__PURE__ */ w(
168
+ /* @__PURE__ */ s(L, { asChild: !0, children: /* @__PURE__ */ v(
163
169
  "button",
164
170
  {
165
171
  className: d(
@@ -168,8 +174,8 @@ function q({
168
174
  ),
169
175
  "aria-label": "Close dialog",
170
176
  children: [
171
- /* @__PURE__ */ a(V, { className: "h-4 w-4" }),
172
- /* @__PURE__ */ a("span", { className: "sr-only", children: "Close" })
177
+ /* @__PURE__ */ s(V, { className: "h-4 w-4" }),
178
+ /* @__PURE__ */ s("span", { className: "sr-only", children: "Close" })
173
179
  ]
174
180
  }
175
181
  ) }),
@@ -180,17 +186,17 @@ function q({
180
186
  }
181
187
  function G({ children: e, className: t }) {
182
188
  const { titleId: n } = f();
183
- return /* @__PURE__ */ a("h2", { id: n, className: d("text-lg leading-none font-semibold tracking-tight", t), children: e });
189
+ return /* @__PURE__ */ s("h2", { id: n, className: d("text-lg leading-none font-semibold tracking-tight", t), children: e });
184
190
  }
185
191
  function J({ children: e, className: t }) {
186
192
  const { descriptionId: n } = f();
187
- return /* @__PURE__ */ a("p", { id: n, className: d("text-text-secondary text-sm", t), children: e });
193
+ return /* @__PURE__ */ s("p", { id: n, className: d("text-text-secondary text-sm", t), children: e });
188
194
  }
189
195
  function K({ children: e, className: t }) {
190
- return /* @__PURE__ */ a("div", { className: d("flex flex-col space-y-1.5 text-center text-left", t), children: e });
196
+ return /* @__PURE__ */ s("div", { className: d("flex flex-col space-y-1.5 text-center text-left", t), children: e });
191
197
  }
192
198
  function Q({ children: e, className: t }) {
193
- return /* @__PURE__ */ a("div", { className: d("flex flex-col-reverse flex-row justify-end space-x-2", t), children: e });
199
+ return /* @__PURE__ */ s("div", { className: d("flex flex-col-reverse flex-row justify-end space-x-2", t), children: e });
194
200
  }
195
201
  export {
196
202
  S as DialogBase,
package/dist/Dialog.js CHANGED
@@ -1,23 +1,23 @@
1
1
  import "./styles/main.css";
2
2
  import { jsx as e, Fragment as i } from "react/jsx-runtime";
3
- import { DialogBase as n, DialogCloseBase as s, DialogContentBase as r, DialogDescriptionBase as d, DialogFooterBase as g, DialogHeaderBase as c, DialogOverlayBase as f, DialogPortalBase as u, DialogTitleBase as m, DialogTriggerBase as D } from "./Dialog/DialogBase.js";
3
+ import { DialogBase as n, DialogCloseBase as s, DialogContentBase as r, DialogDescriptionBase as d, DialogFooterBase as g, DialogHeaderBase as c, DialogOverlayBase as u, DialogPortalBase as f, DialogTitleBase as m, DialogTriggerBase as D } from "./Dialog/DialogBase.js";
4
4
  import { c as o } from "./twUtils-CRiPKpXj.js";
5
5
  import "react";
6
6
  function N({ ...a }) {
7
7
  return /* @__PURE__ */ e(n, { "data-slot": "dialog", ...a });
8
8
  }
9
9
  function b({ ...a }) {
10
- return /* @__PURE__ */ e(D, { "data-slot": "dialog-trigger", ...a });
10
+ return /* @__PURE__ */ e(D, { asChild: !0, "data-slot": "dialog-trigger", ...a });
11
11
  }
12
12
  function w({ ...a }) {
13
- return /* @__PURE__ */ e(u, { "data-slot": "dialog-portal", ...a });
13
+ return /* @__PURE__ */ e(f, { "data-slot": "dialog-portal", ...a });
14
14
  }
15
- function v({ ...a }) {
15
+ function C({ ...a }) {
16
16
  return /* @__PURE__ */ e(s, { "data-slot": "dialog-close", ...a });
17
17
  }
18
- function z({ className: a, ...t }) {
18
+ function h({ className: a, ...t }) {
19
19
  return /* @__PURE__ */ e(
20
- f,
20
+ u,
21
21
  {
22
22
  "data-slot": "dialog-overlay",
23
23
  className: o(
@@ -28,7 +28,7 @@ function z({ className: a, ...t }) {
28
28
  }
29
29
  );
30
30
  }
31
- function C({
31
+ function v({
32
32
  className: a,
33
33
  children: t,
34
34
  ...l
@@ -46,7 +46,7 @@ function C({
46
46
  }
47
47
  ) });
48
48
  }
49
- function T({ className: a, ...t }) {
49
+ function z({ className: a, ...t }) {
50
50
  return /* @__PURE__ */ e(
51
51
  c,
52
52
  {
@@ -56,7 +56,7 @@ function T({ className: a, ...t }) {
56
56
  }
57
57
  );
58
58
  }
59
- function h({ className: a, ...t }) {
59
+ function T({ className: a, ...t }) {
60
60
  return /* @__PURE__ */ e(
61
61
  g,
62
62
  {
@@ -88,12 +88,12 @@ function j({ className: a, ...t }) {
88
88
  }
89
89
  export {
90
90
  N as Dialog,
91
- v as DialogClose,
92
- C as DialogContent,
91
+ C as DialogClose,
92
+ v as DialogContent,
93
93
  j as DialogDescription,
94
- h as DialogFooter,
95
- T as DialogHeader,
96
- z as DialogOverlay,
94
+ T as DialogFooter,
95
+ z as DialogHeader,
96
+ h as DialogOverlay,
97
97
  w as DialogPortal,
98
98
  F as DialogTitle,
99
99
  b as DialogTrigger
package/dist/Drawer.js CHANGED
@@ -1298,7 +1298,7 @@ const tt = {
1298
1298
  style: f,
1299
1299
  children: /* @__PURE__ */ gt("div", { children: [
1300
1300
  /* @__PURE__ */ S(tt.Close, {}),
1301
- /* @__PURE__ */ S(tt.Title, { className: "text-text-primary px-3 text-lg font-medium", children: n }),
1301
+ /* @__PURE__ */ S(tt.Title, { className: "text-text-primary px-3 pt-4 text-lg font-medium", children: n }),
1302
1302
  /* @__PURE__ */ S(tt.Description, { className: "!text-text-secondary mb-2 px-3 !text-xs uppercase", children: e }),
1303
1303
  /* @__PURE__ */ S("div", { className: "w-auto min-w-0 overflow-hidden px-3 py-2 [&_*]:min-w-0 [&>*]:min-w-0", children: a })
1304
1304
  ] })
@@ -14,7 +14,7 @@ export type DialogContextValue = {
14
14
  descriptionId: string;
15
15
  };
16
16
  export type TriggerableElement = ReactElement<{
17
- onClick?: () => void;
17
+ onClick?: (...args: unknown[]) => void;
18
18
  }>;
19
19
  export declare function useDialogContext(): DialogContextValue;
20
20
  export declare function DialogBase({ isOpen: controlledOpen, defaultOpen, onOpenChange, children }: DialogBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"DialogBase.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/DialogBase.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAWL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAA;AAGd,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,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E;AAED,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,sBAAsB,2CAQpF;AAED,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAEpG;AAED,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAEpG"}
@@ -50,7 +50,7 @@ import "../Icons/ZoomYIcon.js";
50
50
  import { Toggle as d } from "../Toggle.js";
51
51
  import { ToggleGroup as s, ToggleGroupItem as l } from "../ToggleGroup.js";
52
52
  import { Tooltip as i, TooltipTrigger as o, TooltipContent as t } from "../Tooltip.js";
53
- const fe = () => /* @__PURE__ */ r("div", { className: "align-center flex gap-4", children: [
53
+ const fe = () => /* @__PURE__ */ r("div", { className: "flex items-center gap-4", children: [
54
54
  /* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
55
55
  /* @__PURE__ */ r(i, { children: [
56
56
  /* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(l, { value: "crosshairs", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spear-ai/spectral",
3
- "version": "1.3.53",
3
+ "version": "1.3.55",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "repository": {