@spear-ai/spectral 1.4.12 → 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.
@@ -1,6 +1,6 @@
1
1
  import "./styles/main.css";
2
2
  import * as r from "react";
3
- import { a as T, P as m, b as h, h as k, d as M } from "./index-BhufZRa2.js";
3
+ import { u as T, P as m, b as h, h as k, f as M } from "./index-CfypDjr2.js";
4
4
  import { u as b } from "./index-0ioNhtNM.js";
5
5
  import { jsx as P } from "react/jsx-runtime";
6
6
  import U from "react-dom";
@@ -2,10 +2,10 @@ import "./styles/main.css";
2
2
  import * as R from "react";
3
3
  import { useLayoutEffect as Ae } from "react";
4
4
  import * as Re from "react-dom";
5
- import { P as At, c as Ce, a as Yt, d as $t } from "./index-BhufZRa2.js";
5
+ import { P as At, c as Ce, u as Yt, f as $t } from "./index-CfypDjr2.js";
6
6
  import { jsx as j } from "react/jsx-runtime";
7
7
  import { u as Pe } from "./index-0ioNhtNM.js";
8
- import { u as Oe } from "./index-y6Br5T4h.js";
8
+ import { u as Oe } from "./index-BRDfoF8s.js";
9
9
  const Se = ["top", "right", "bottom", "left"], Z = Math.min, W = Math.max, at = Math.round, ct = Math.floor, I = (t) => ({
10
10
  x: t,
11
11
  y: t
@@ -1,5 +1,5 @@
1
1
  import * as o from "react";
2
- import { a as y, d as A } from "./index-BhufZRa2.js";
2
+ import { u as y, f as A } from "./index-CfypDjr2.js";
3
3
  function T(n, e) {
4
4
  return o.useReducer((t, r) => e[t][r] ?? t, n);
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import "./styles/main.css";
2
2
  import * as A from "react";
3
3
  import r from "react";
4
- import { c as D, a as S, e as M } from "./index-BhufZRa2.js";
4
+ import { c as D, u as S, a as M } from "./index-CfypDjr2.js";
5
5
  import { jsx as d } from "react/jsx-runtime";
6
6
  function h(l) {
7
7
  const i = l + "CollectionProvider", [N, _] = D(i), [v, f] = N(
@@ -12,20 +12,20 @@ function h(l) {
12
12
  return /* @__PURE__ */ d(v, { scope: e, itemMap: o, collectionRef: t, children: s });
13
13
  };
14
14
  p.displayName = i;
15
- const m = l + "CollectionSlot", E = M(m), C = r.forwardRef(
15
+ const u = l + "CollectionSlot", E = M(u), C = r.forwardRef(
16
16
  (c, e) => {
17
- const { scope: s, children: t } = c, o = f(m, s), n = S(e, o.collectionRef);
17
+ const { scope: s, children: t } = c, o = f(u, s), n = S(e, o.collectionRef);
18
18
  return /* @__PURE__ */ d(E, { ref: n, children: t });
19
19
  }
20
20
  );
21
- C.displayName = m;
22
- const u = l + "CollectionItemSlot", R = "data-radix-collection-item", T = M(u), I = r.forwardRef(
21
+ C.displayName = u;
22
+ const m = l + "CollectionItemSlot", R = "data-radix-collection-item", T = M(m), I = r.forwardRef(
23
23
  (c, e) => {
24
- const { scope: s, children: t, ...o } = c, n = r.useRef(null), x = S(e, n), a = f(u, s);
24
+ const { scope: s, children: t, ...o } = c, n = r.useRef(null), x = S(e, n), a = f(m, s);
25
25
  return r.useEffect(() => (a.itemMap.set(n, { ref: n, ...o }), () => void a.itemMap.delete(n))), /* @__PURE__ */ d(T, { [R]: "", ref: x, children: t });
26
26
  }
27
27
  );
28
- I.displayName = u;
28
+ I.displayName = m;
29
29
  function O(c) {
30
30
  const e = f(l + "CollectionConsumer", c);
31
31
  return r.useCallback(() => {
@@ -1,6 +1,6 @@
1
1
  import "./styles/main.css";
2
2
  import * as i from "react";
3
- import { P as o } from "./index-BhufZRa2.js";
3
+ import { P as o } from "./index-CfypDjr2.js";
4
4
  import { jsx as t } from "react/jsx-runtime";
5
5
  var d = Object.freeze({
6
6
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss