@spear-ai/spectral 1.4.13 → 1.4.14

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/Accordion.js CHANGED
@@ -66,10 +66,10 @@ import "./Icons/ZoomYIcon.js";
66
66
  import { useAccordionAutoScroll as ue } from "./hooks/useAccordionAutoScroll.js";
67
67
  import * as f from "react";
68
68
  import u, { createContext as fe, forwardRef as w, Children as ve, isValidElement as Ce, cloneElement as ge, useContext as be, useRef as Ae, useCallback as he } from "react";
69
- import { c as z, u as V, P as I, b as B, a as U, d as xe } from "./index-BhufZRa2.js";
70
- import { c as ye, u as Ie } from "./index-UEFPWH8U.js";
71
- import { P as Re } from "./index-6Abv_Flm.js";
72
- import { u as q } from "./index-CVSxKOPp.js";
69
+ import { c as z, e as V, P as I, b as B, u as U, f as xe } from "./index-CfypDjr2.js";
70
+ import { c as ye, u as Ie } from "./index-DvqEQspb.js";
71
+ import { P as Re } from "./index-DdOwqCfb.js";
72
+ import { u as q } from "./index-CDYW5LDR.js";
73
73
  import { cn as _ } from "./utils/twUtils.js";
74
74
  var P = "Collapsible", [Ne, J] = z(P), [we, $] = Ne(P), Y = f.forwardRef(
75
75
  (e, i) => {
package/dist/Button.js CHANGED
@@ -56,7 +56,7 @@ const N = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], _ = w
56
56
  }, v = u(j({ variant: e, state: t, size: a }), t === "error" && i.error[e], t === "loading" && i.loading[e], l);
57
57
  return /* @__PURE__ */ s("div", { className: u("flex flex-col justify-items-center", a), children: [
58
58
  /* @__PURE__ */ s("button", { "aria-disabled": r, className: v, "data-state": t, "data-testid": g || `spectral-button-${e}`, disabled: r, ref: m, type: p, ...x, children: [
59
- d && /* @__PURE__ */ o("span", { className: "flex pr-2", "aria-hidden": !0, "data-testid": "spectral-button-start-icon", children: d }),
59
+ d && /* @__PURE__ */ o("span", { className: "flex pr-1", "aria-hidden": !0, "data-testid": "spectral-button-start-icon", children: d }),
60
60
  t === "loading" && /* @__PURE__ */ o(_, { className: "ml-2 animate-spin", size: 16 }),
61
61
  c,
62
62
  n && t !== "loading" && /* @__PURE__ */ o("span", { className: "flex pl-2", "aria-hidden": !0, "data-testid": "spectral-button-end-icon", children: n })
package/dist/Dialog.d.ts CHANGED
@@ -1,16 +1,21 @@
1
- import { DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DialogBaseProps } from './DialogBase';
2
1
  import { ComponentProps } from 'react';
3
- declare function Dialog({ ...props }: DialogBaseProps): import("react/jsx-runtime").JSX.Element;
4
- declare function DialogTrigger({ dataTestId, ...props }: ComponentProps<typeof DialogTriggerBase>): import("react/jsx-runtime").JSX.Element;
5
- declare function DialogPortal({ ...props }: ComponentProps<typeof DialogPortalBase>): import("react/jsx-runtime").JSX.Element;
6
- declare function DialogClose({ dataTestId, ...props }: ComponentProps<typeof DialogCloseBase>): import("react/jsx-runtime").JSX.Element;
7
- declare function DialogOverlay({ className, dataTestId, ...props }: ComponentProps<typeof DialogOverlayBase>): import("react/jsx-runtime").JSX.Element;
8
- declare function DialogContent({ className, children, dataTestId, onInteractOutside, onPointerDownOutside, onEscapeKeyDown, ...props }: ComponentProps<typeof DialogContentBase> & {
2
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
3
+ declare function Dialog({ isOpen, modal, ...props }: Omit<ComponentProps<typeof DialogPrimitive.Root>, 'open'> & {
4
+ isOpen?: boolean;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ declare function DialogTrigger({ ...props }: ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
7
+ declare function DialogPortal({ ...props }: ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
8
+ declare function DialogClose({ ...props }: ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
9
+ declare function DialogOverlay({ className, ...props }: ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
10
+ declare function DialogContent({ className, children, showCloseButton, onEscapeKeyDown, onInteractOutside, onPointerDownOutside, ...props }: ComponentProps<typeof DialogPrimitive.Content> & {
9
11
  showCloseButton?: boolean;
12
+ onEscapeKeyDown?: (event: KeyboardEvent) => void;
13
+ onInteractOutside?: (event: PointerEvent | FocusEvent) => void;
14
+ onPointerDownOutside?: (event: PointerEvent) => void;
10
15
  }): import("react/jsx-runtime").JSX.Element;
11
- declare function DialogHeader({ className, dataTestId, ...props }: ComponentProps<typeof DialogHeaderBase>): import("react/jsx-runtime").JSX.Element;
12
- declare function DialogFooter({ className, dataTestId, ...props }: ComponentProps<typeof DialogFooterBase>): import("react/jsx-runtime").JSX.Element;
13
- declare function DialogTitle({ className, dataTestId, ...props }: ComponentProps<typeof DialogTitleBase>): import("react/jsx-runtime").JSX.Element;
14
- declare function DialogDescription({ className, dataTestId, ...props }: ComponentProps<typeof DialogDescriptionBase>): import("react/jsx-runtime").JSX.Element;
16
+ declare function DialogHeader({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
17
+ declare function DialogFooter({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
18
+ declare function DialogTitle({ className, ...props }: ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
19
+ declare function DialogDescription({ className, ...props }: ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
15
20
  export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
16
21
  //# sourceMappingURL=Dialog.d.ts.map
package/dist/Dialog.js CHANGED
@@ -1,79 +1,97 @@
1
1
  import "./styles/main.css";
2
- import { jsx as e, jsxs as n, Fragment as c } from "react/jsx-runtime";
3
- import { DialogBase as f, DialogCloseBase as u, useDialogContext as m, DialogContentBase as p, DialogDescriptionBase as x, DialogFooterBase as D, DialogHeaderBase as T, DialogOverlayBase as b, DialogPortalBase as B, DialogTitleBase as y, DialogTriggerBase as I } from "./Dialog/DialogBase.js";
4
- import { cn as l } from "./utils/twUtils.js";
2
+ import { jsx as e, jsxs as s } from "react/jsx-runtime";
3
+ import { CloseIcon as g } from "./Icons/CloseIcon.js";
4
+ import { R as p, C as i, a as f, D as u, O as m, P as x, T as b, b as h } from "./index-BFu0M-5-.js";
5
+ import { cn as o } from "./utils/twUtils.js";
5
6
  import "react";
6
- function j({ ...a }) {
7
- return /* @__PURE__ */ e(f, { "data-slot": "dialog", "data-testid": "spectral-dialog", ...a });
7
+ function T({
8
+ isOpen: t,
9
+ modal: a = !1,
10
+ ...l
11
+ }) {
12
+ return /* @__PURE__ */ e(p, { open: t, modal: a, "data-slot": "dialog", "data-testid": "spectral-dialog", ...l });
8
13
  }
9
- function z({ dataTestId: a, ...t }) {
10
- return /* @__PURE__ */ e(I, { asChild: !0, "data-slot": "dialog-trigger", dataTestId: a || "dialog-trigger", ...t });
14
+ function z({ ...t }) {
15
+ return /* @__PURE__ */ e(h, { asChild: !0, "data-testid": "spectral-dialog-trigger", ...t });
11
16
  }
12
- function F({ ...a }) {
13
- return /* @__PURE__ */ e(B, { "data-slot": "dialog-portal", "data-testid": "dialog-portal", ...a });
17
+ function v({ ...t }) {
18
+ return /* @__PURE__ */ e(x, { "data-slot": "dialog-portal", "data-testid": "dialog-portal", ...t });
14
19
  }
15
- function H({ dataTestId: a, ...t }) {
16
- return /* @__PURE__ */ e(u, { "data-slot": "dialog-close", dataTestId: a || "dialog-close", ...t });
20
+ function j({ ...t }) {
21
+ return /* @__PURE__ */ e(i, { "aria-label": "close", "data-slot": "dialog-close", "data-testid": "spectral-dialog-close", ...t });
17
22
  }
18
- function h({ className: a, dataTestId: t, ...o }) {
23
+ function y({ className: t, ...a }) {
19
24
  return /* @__PURE__ */ e(
20
- b,
25
+ m,
21
26
  {
22
- className: l("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-bg-primary/50", a),
27
+ className: o("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50 backdrop-blur-sm", t),
23
28
  "data-slot": "dialog-overlay",
24
- dataTestId: t || "dialog-overlay",
25
- ...o
29
+ "data-testid": "spectral-dialog-overlay",
30
+ ...a
26
31
  }
27
32
  );
28
33
  }
29
34
  function O({
30
- className: a,
31
- children: t,
32
- dataTestId: o,
33
- onInteractOutside: i,
34
- onPointerDownOutside: d,
35
- onEscapeKeyDown: s,
36
- ...r
35
+ className: t,
36
+ children: a,
37
+ showCloseButton: l = !0,
38
+ onEscapeKeyDown: d,
39
+ onInteractOutside: r,
40
+ onPointerDownOutside: n,
41
+ ...c
37
42
  }) {
38
- const { modal: g } = m();
39
- return /* @__PURE__ */ n(c, { children: [
40
- g && /* @__PURE__ */ e(h, {}),
41
- /* @__PURE__ */ e(
42
- p,
43
+ return /* @__PURE__ */ s(v, { "data-slot": "dialog-portal", "data-testid": "spectral-dialog-portal", children: [
44
+ /* @__PURE__ */ e(y, {}),
45
+ /* @__PURE__ */ s(
46
+ f,
43
47
  {
44
- className: l("bg-dialog-bg fixed px-6 pt-6 pb-6 has-[[data-slot=dialog-footer]]:pb-0 top-[50%] left-[50%] z-50 flex flex-col w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg shadow-lg duration-200 max-w-lg", a),
48
+ className: o("bg-dialog-bg fixed px-6 pt-6 pb-6 has-[[data-slot=dialog-footer]]:pb-0 top-[50%] left-[50%] z-50 flex flex-col w-full max-w-xl translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg shadow-lg duration-200 max-h-[80vh] overflow-y-auto", t),
45
49
  "data-slot": "dialog-content",
46
- dataTestId: o || "dialog-content",
47
- onEscapeKeyDown: s,
48
- onInteractOutside: i,
49
- onPointerDownOutside: d,
50
- ...r,
51
- children: t
50
+ "data-testid": "spectral-dialog-content",
51
+ onEscapeKeyDown: d,
52
+ onInteractOutside: r,
53
+ onPointerDownOutside: n,
54
+ ...c,
55
+ children: [
56
+ a,
57
+ l && /* @__PURE__ */ s(
58
+ i,
59
+ {
60
+ className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",
61
+ "data-slot": "dialog-close",
62
+ "data-testid": "spectral-dialog-close",
63
+ children: [
64
+ /* @__PURE__ */ e(g, { size: 16 }),
65
+ /* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
66
+ ]
67
+ }
68
+ )
69
+ ]
52
70
  }
53
71
  )
54
72
  ] });
55
73
  }
56
- function P({ className: a, dataTestId: t, ...o }) {
57
- return /* @__PURE__ */ e(T, { className: l("flex flex-col gap-2 text-center sm:text-left", a), "data-slot": "dialog-header", dataTestId: t || "dialog-header", ...o });
74
+ function P({ className: t, ...a }) {
75
+ return /* @__PURE__ */ e("div", { className: o("flex flex-col gap-2 text-center sm:text-left", t), "data-slot": "dialog-header", "data-testid": "spectral-dialog-header", ...a });
58
76
  }
59
- function k({ className: a, dataTestId: t, ...o }) {
60
- return /* @__PURE__ */ e(D, { className: l("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end sticky bottom-0 z-10 bg-dialog-bg py-4 px-6 -mx-6", a), "data-slot": "dialog-footer", dataTestId: t || "dialog-footer", ...o });
77
+ function R({ className: t, ...a }) {
78
+ return /* @__PURE__ */ e("div", { className: o("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end sticky bottom-0 z-10 bg-dialog-bg py-4 px-6 -mx-6", t), "data-slot": "dialog-footer", "data-testid": "spectral-dialog-footer", ...a });
61
79
  }
62
- function q({ className: a, dataTestId: t, ...o }) {
63
- return /* @__PURE__ */ e(y, { className: l("text-2xl leading-none font-semibold", a), "data-slot": "dialog-title", dataTestId: t || "dialog-title", ...o });
80
+ function _({ className: t, ...a }) {
81
+ return /* @__PURE__ */ e(b, { className: o("text-2xl leading-none font-semibold", t), "data-slot": "dialog-title", "data-testid": "spectral-dialog-title", ...a });
64
82
  }
65
- function A({ className: a, dataTestId: t, ...o }) {
66
- return /* @__PURE__ */ e(x, { className: l("text-muted-foreground text-sm", a), "data-slot": "dialog-description", dataTestId: t || "dialog-description", ...o });
83
+ function F({ className: t, ...a }) {
84
+ return /* @__PURE__ */ e(u, { className: o("text-muted-foreground text-sm", t), "data-slot": "dialog-description", "data-testid": "spectral-dialog-description", ...a });
67
85
  }
68
86
  export {
69
- j as Dialog,
70
- H as DialogClose,
87
+ T as Dialog,
88
+ j as DialogClose,
71
89
  O as DialogContent,
72
- A as DialogDescription,
73
- k as DialogFooter,
90
+ F as DialogDescription,
91
+ R as DialogFooter,
74
92
  P as DialogHeader,
75
- h as DialogOverlay,
76
- F as DialogPortal,
77
- q as DialogTitle,
93
+ y as DialogOverlay,
94
+ v as DialogPortal,
95
+ _ as DialogTitle,
78
96
  z as DialogTrigger
79
97
  };
package/dist/Drawer.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./styles/main.css";
2
2
  import { jsx as t, jsxs as s } from "react/jsx-runtime";
3
3
  import { SpectralProvider as f } from "./SpectralProvider.js";
4
- import { D as e } from "./index-Dc8KxzeM.js";
4
+ import { D as e } from "./index-jgQ7sgLl.js";
5
5
  const u = ({ children: d, defaultOpen: o = !1, description: i, direction: l = "right", dismissible: c = !0, modal: p = !0, onOpenChange: n, open: m, size: r = "380px", title: x, trigger: h }) => {
6
6
  const a = "!font-sans fixed", w = {
7
7
  left: {
package/dist/HoverCard.js CHANGED
@@ -3,10 +3,10 @@ import "./styles/main.css";
3
3
  import { jsx as i } from "react/jsx-runtime";
4
4
  import * as s from "react";
5
5
  import { createContext as F, useContext as I } from "react";
6
- import { u as B, c as U, b as h, P as $, a as W } from "./index-BhufZRa2.js";
7
- import { c as O, R as z, A as G, C as K, a as j } from "./index-NzygPVvJ.js";
8
- import { P as V, D as q } from "./index-B2oBi8ng.js";
9
- import { P as T } from "./index-6Abv_Flm.js";
6
+ import { e as B, c as U, b as h, P as $, u as W } from "./index-CfypDjr2.js";
7
+ import { c as O, R as z, A as G, C as K, a as j } from "./index-DMDsy0y2.js";
8
+ import { P as V, D as q } from "./index-D-PVGGln.js";
9
+ import { P as T } from "./index-DdOwqCfb.js";
10
10
  import { cn as J } from "./utils/twUtils.js";
11
11
  var H, x = "HoverCard", [E] = U(x, [
12
12
  O
package/dist/Popover.js CHANGED
@@ -2,13 +2,12 @@
2
2
  import "./styles/main.css";
3
3
  import { jsx as s } from "react/jsx-runtime";
4
4
  import * as p from "react";
5
- import { u as L, c as z, a as x, P as O, b as P, e as G } from "./index-BhufZRa2.js";
6
- import { P as H, D as K } from "./index-B2oBi8ng.js";
7
- import { h as j, u as U, F as V } from "./index-MZS7zxk4.js";
8
- import { u as W } from "./index-CVSxKOPp.js";
9
- import { c as _, R as Z, A as b, C as q, a as B } from "./index-NzygPVvJ.js";
10
- import { P as w } from "./index-6Abv_Flm.js";
11
- import { R as J } from "./Combination-BtmnusWq.js";
5
+ import { e as L, c as z, u as x, P as O, b as P, a as G } from "./index-CfypDjr2.js";
6
+ import { P as H, D as K } from "./index-D-PVGGln.js";
7
+ import { h as j, R as U, u as V, F as W } from "./index-CpUJ8sN0.js";
8
+ import { u as Z } from "./index-CDYW5LDR.js";
9
+ import { c as _, R as q, A as b, C as B, a as J } from "./index-DMDsy0y2.js";
10
+ import { P as w } from "./index-DdOwqCfb.js";
12
11
  import { cn as Q } from "./utils/twUtils.js";
13
12
  var C = "Popover", [E] = z(C, [
14
13
  _
@@ -20,24 +19,24 @@ var C = "Popover", [E] = z(C, [
20
19
  defaultOpen: o,
21
20
  onOpenChange: t,
22
21
  modal: c = !1
23
- } = e, i = g(n), f = p.useRef(null), [v, m] = p.useState(!1), [h, u] = L({
22
+ } = e, i = g(n), f = p.useRef(null), [v, h] = p.useState(!1), [m, u] = L({
24
23
  prop: a,
25
24
  defaultProp: o ?? !1,
26
25
  onChange: t,
27
26
  caller: C
28
27
  });
29
- return /* @__PURE__ */ s(Z, { ...i, children: /* @__PURE__ */ s(
28
+ return /* @__PURE__ */ s(q, { ...i, children: /* @__PURE__ */ s(
30
29
  X,
31
30
  {
32
31
  scope: n,
33
- contentId: W(),
32
+ contentId: Z(),
34
33
  triggerRef: f,
35
- open: h,
34
+ open: m,
36
35
  onOpenChange: u,
37
36
  onOpenToggle: p.useCallback(() => u((R) => !R), [u]),
38
37
  hasCustomAnchor: v,
39
- onCustomAnchorAdd: p.useCallback(() => m(!0), []),
40
- onCustomAnchorRemove: p.useCallback(() => m(!1), []),
38
+ onCustomAnchorAdd: p.useCallback(() => h(!0), []),
39
+ onCustomAnchorRemove: p.useCallback(() => h(!1), []),
41
40
  modal: c,
42
41
  children: r
43
42
  }
@@ -90,7 +89,7 @@ var oe = G("PopoverContent.RemoveScroll"), te = p.forwardRef(
90
89
  return p.useEffect(() => {
91
90
  const c = a.current;
92
91
  if (c) return j(c);
93
- }, []), /* @__PURE__ */ s(J, { as: oe, allowPinchZoom: !0, children: /* @__PURE__ */ s(
92
+ }, []), /* @__PURE__ */ s(U, { as: oe, allowPinchZoom: !0, children: /* @__PURE__ */ s(
94
93
  k,
95
94
  {
96
95
  ...e,
@@ -148,11 +147,11 @@ var oe = G("PopoverContent.RemoveScroll"), te = p.forwardRef(
148
147
  onEscapeKeyDown: i,
149
148
  onPointerDownOutside: f,
150
149
  onFocusOutside: v,
151
- onInteractOutside: m,
152
- ...h
150
+ onInteractOutside: h,
151
+ ...m
153
152
  } = e, u = l(d, r), R = g(r);
154
- return U(), /* @__PURE__ */ s(
155
- V,
153
+ return V(), /* @__PURE__ */ s(
154
+ W,
156
155
  {
157
156
  asChild: !0,
158
157
  loop: !0,
@@ -164,22 +163,22 @@ var oe = G("PopoverContent.RemoveScroll"), te = p.forwardRef(
164
163
  {
165
164
  asChild: !0,
166
165
  disableOutsidePointerEvents: c,
167
- onInteractOutside: m,
166
+ onInteractOutside: h,
168
167
  onEscapeKeyDown: i,
169
168
  onPointerDownOutside: f,
170
169
  onFocusOutside: v,
171
170
  onDismiss: () => u.onOpenChange(!1),
172
171
  children: /* @__PURE__ */ s(
173
- q,
172
+ B,
174
173
  {
175
174
  "data-state": $(u.open),
176
175
  role: "dialog",
177
176
  id: u.contentId,
178
177
  ...R,
179
- ...h,
178
+ ...m,
180
179
  ref: n,
181
180
  style: {
182
- ...h.style,
181
+ ...m.style,
183
182
  "--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
184
183
  "--radix-popover-content-available-width": "var(--radix-popper-available-width)",
185
184
  "--radix-popover-content-available-height": "var(--radix-popper-available-height)",
@@ -211,7 +210,7 @@ ne.displayName = I;
211
210
  var ae = "PopoverArrow", se = p.forwardRef(
212
211
  (e, n) => {
213
212
  const { __scopePopover: r, ...a } = e, o = g(r);
214
- return /* @__PURE__ */ s(B, { ...o, ...a, ref: n });
213
+ return /* @__PURE__ */ s(J, { ...o, ...a, ref: n });
215
214
  }
216
215
  );
217
216
  se.displayName = ae;
@@ -219,7 +218,7 @@ function $(e) {
219
218
  return e ? "open" : "closed";
220
219
  }
221
220
  var ce = F, pe = y, ie = D, le = M, ue = T;
222
- const Ae = ({ ...e }) => /* @__PURE__ */ s(ce, { "data-slot": "popover", "data-testid": "spectral-popover", ...e }), xe = ({ ...e }) => /* @__PURE__ */ s(ie, { "data-slot": "popover-trigger", "data-testid": "spectral-popover-trigger", ...e }), Oe = ({ align: e = "center", className: n, side: r = "bottom", sideOffset: a = 4, width: o = "w-fit", ...t }) => /* @__PURE__ */ s(le, { children: /* @__PURE__ */ s(
221
+ const Re = ({ ...e }) => /* @__PURE__ */ s(ce, { "data-slot": "popover", "data-testid": "spectral-popover", ...e }), Ae = ({ ...e }) => /* @__PURE__ */ s(ie, { "data-slot": "popover-trigger", "data-testid": "spectral-popover-trigger", ...e }), xe = ({ align: e = "center", className: n, side: r = "bottom", sideOffset: a = 4, width: o = "w-fit", ...t }) => /* @__PURE__ */ s(le, { children: /* @__PURE__ */ s(
223
222
  ue,
224
223
  {
225
224
  align: e,
@@ -240,10 +239,10 @@ const Ae = ({ ...e }) => /* @__PURE__ */ s(ce, { "data-slot": "popover", "data-t
240
239
  },
241
240
  ...t
242
241
  }
243
- ) }), _e = ({ ...e }) => /* @__PURE__ */ s(pe, { "data-slot": "popover-anchor", ...e });
242
+ ) }), Oe = ({ ...e }) => /* @__PURE__ */ s(pe, { "data-slot": "popover-anchor", ...e });
244
243
  export {
245
- Ae as Popover,
246
- _e as PopoverAnchor,
247
- Oe as PopoverContent,
248
- xe as PopoverTrigger
244
+ Re as Popover,
245
+ Oe as PopoverAnchor,
246
+ xe as PopoverContent,
247
+ Ae as PopoverTrigger
249
248
  };
@@ -4,13 +4,13 @@ import { jsx as n, jsxs as N } from "react/jsx-runtime";
4
4
  import { Label as _ } from "./Label.js";
5
5
  import * as c from "react";
6
6
  import { createContext as Re, forwardRef as G, useMemo as ge, memo as he, useContext as Ie } from "react";
7
- import { c as K, P as S, b as w, a as P, u as Y } from "./index-BhufZRa2.js";
8
- import { c as we, u as j } from "./index-UEFPWH8U.js";
9
- import { u as ye } from "./index-CVSxKOPp.js";
7
+ import { c as K, P as S, b as w, u as P, e as Y } from "./index-CfypDjr2.js";
8
+ import { c as we, u as j } from "./index-DvqEQspb.js";
9
+ import { u as ye } from "./index-CDYW5LDR.js";
10
10
  import { u as Ce } from "./index-0ioNhtNM.js";
11
- import { u as Ee } from "./index-y6Br5T4h.js";
11
+ import { u as Ee } from "./index-BRDfoF8s.js";
12
12
  import { u as Fe } from "./index-BZPx6jYI.js";
13
- import { P as Se } from "./index-6Abv_Flm.js";
13
+ import { P as Se } from "./index-DdOwqCfb.js";
14
14
  import { cn as F } from "./utils/twUtils.js";
15
15
  var O = "rovingFocusGroup.onEntryFocus", xe = { bubbles: !1, cancelable: !0 }, x = "RovingFocusGroup", [M, z, Ne] = we(x), [_e, H] = K(
16
16
  x,
package/dist/Select.js CHANGED
@@ -64,7 +64,7 @@ import "./Icons/ZoomAllIcon.js";
64
64
  import "./Icons/ZoomXIcon.js";
65
65
  import "./Icons/ZoomYIcon.js";
66
66
  import { Label as C } from "./Label.js";
67
- import { R as X, T as Y, f as Z, e as _, C as $, c as tt, V as et, S as rt, d as I, G as at, I as it, b as st, a as ot } from "./index-7IR9qVCR.js";
67
+ import { R as X, T as Y, f as Z, e as _, C as $, c as tt, V as et, S as rt, d as I, G as at, I as it, b as st, a as ot } from "./index-BSCg4Mei.js";
68
68
  import { useFormFieldId as lt, useFormFieldState as dt, getAriaProps as mt, getErrorMessageId as ct, groupOptions as pt, getFormFieldCSSProperties as nt, getStateClasses as ut, getTriggerClasses as ht, ErrorMessage as gt, LoadingState as bt, EmptyState as ft, getOptionClasses as xt } from "./utils/formFieldUtils.js";
69
69
  import { cn as s } from "./utils/twUtils.js";
70
70
  import { forwardRef as yt, useState as Nt } from "react";
package/dist/Slider.js CHANGED
@@ -4,10 +4,10 @@ import { jsx as m, jsxs as j } from "react/jsx-runtime";
4
4
  import * as c from "react";
5
5
  import { useMemo as de } from "react";
6
6
  import { c as X } from "./index-rKs9bXHr.js";
7
- import { u as ue, c as fe, b as _, P as k, a as C } from "./index-BhufZRa2.js";
8
- import { c as me, u as he } from "./index-UEFPWH8U.js";
7
+ import { e as ue, c as fe, b as _, P as k, u as C } from "./index-CfypDjr2.js";
8
+ import { c as me, u as he } from "./index-DvqEQspb.js";
9
9
  import { u as pe } from "./index-BZPx6jYI.js";
10
- import { u as Se } from "./index-y6Br5T4h.js";
10
+ import { u as Se } from "./index-BRDfoF8s.js";
11
11
  import { cn as H } from "./utils/twUtils.js";
12
12
  var G = ["PageUp", "PageDown"], W = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], q = {
13
13
  "from-left": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
package/dist/Tooltip.js CHANGED
@@ -2,12 +2,12 @@
2
2
  import "./styles/main.css";
3
3
  import { jsx as d, jsxs as S } from "react/jsx-runtime";
4
4
  import * as a from "react";
5
- import { c as J, u as Q, a as G, P as Z, b as T, f as ee } from "./index-BhufZRa2.js";
6
- import { P as te, D as oe } from "./index-B2oBi8ng.js";
7
- import { u as re } from "./index-CVSxKOPp.js";
8
- import { c as j, R as ne, a as ae, A as se, C as ie } from "./index-NzygPVvJ.js";
9
- import { P as V } from "./index-6Abv_Flm.js";
10
- import { R as le } from "./index-CGALWSq_.js";
5
+ import { c as J, e as Q, u as G, P as Z, b as T, g as ee } from "./index-CfypDjr2.js";
6
+ import { P as te, D as oe } from "./index-D-PVGGln.js";
7
+ import { u as re } from "./index-CDYW5LDR.js";
8
+ import { c as j, R as ne, a as ae, A as se, C as ie } from "./index-DMDsy0y2.js";
9
+ import { P as V } from "./index-DdOwqCfb.js";
10
+ import { R as le } from "./index-bcth-MVh.js";
11
11
  import { cn as H } from "./utils/twUtils.js";
12
12
  import { c as F } from "./index-D29mdTf5.js";
13
13
  var [O] = J("Tooltip", [
package/dist/Tray.js CHANGED
@@ -68,7 +68,7 @@ import { cn as rt } from "./utils/twUtils.js";
68
68
  import { c as $r } from "./index-D29mdTf5.js";
69
69
  import * as re from "react";
70
70
  import { createContext as mt, useRef as z, useLayoutEffect as zr, useEffect as nt, useId as Ye, useContext as O, useInsertionEffect as Zi, useMemo as Y, useCallback as Ji, Children as Hr, isValidElement as _r, useState as Ae, Fragment as Qi, createElement as Gr, forwardRef as q, Component as Xr } from "react";
71
- import { D as Pt } from "./index-Dc8KxzeM.js";
71
+ import { D as Pt } from "./index-jgQ7sgLl.js";
72
72
  const qe = mt({});
73
73
  function Ze(t) {
74
74
  const e = z(null);