@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.
- package/dist/Accordion.js +4 -4
- package/dist/Button.js +1 -1
- package/dist/Dialog.d.ts +16 -11
- package/dist/Dialog.js +68 -50
- package/dist/Drawer.js +1 -1
- package/dist/HoverCard.js +4 -4
- package/dist/Icons/IconBase.d.ts +1 -2
- package/dist/Icons/IconBase.js +8 -8
- package/dist/Popover.js +6 -6
- package/dist/RadioGroup.js +5 -5
- package/dist/Select.js +1 -1
- package/dist/Slider.js +3 -3
- package/dist/Tooltip.js +6 -6
- package/dist/Tray.js +1 -1
- package/dist/index-BFu0M-5-.js +240 -0
- package/dist/{index-y6Br5T4h.js → index-BRDfoF8s.js} +1 -1
- package/dist/{index-CevVJ05e.js → index-BSCg4Mei.js} +7 -7
- package/dist/{index-CVSxKOPp.js → index-CDYW5LDR.js} +1 -1
- package/dist/{index-BhufZRa2.js → index-CfypDjr2.js} +6 -6
- package/dist/{index-B-GQStVW.js → index-CpUJ8sN0.js} +171 -168
- package/dist/{index-B2oBi8ng.js → index-D-PVGGln.js} +1 -1
- package/dist/{index-NzygPVvJ.js → index-DMDsy0y2.js} +2 -2
- package/dist/{index-6Abv_Flm.js → index-DdOwqCfb.js} +1 -1
- package/dist/{index-UEFPWH8U.js → index-DvqEQspb.js} +7 -7
- package/dist/{index-CGALWSq_.js → index-bcth-MVh.js} +1 -1
- package/dist/index-jgQ7sgLl.js +1037 -0
- package/dist/primitives/select.js +1 -1
- package/dist/styles/main.css +1 -1
- package/package.json +3 -1
- package/dist/Dialog/DialogBase.d.ts +0 -86
- package/dist/Dialog/DialogBase.js +0 -215
- package/dist/index-CAKA12cC.js +0 -1265
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./styles/main.css";
|
|
2
2
|
import * as r from "react";
|
|
3
|
-
import {
|
|
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,
|
|
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-
|
|
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,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,
|
|
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
|
|
15
|
+
const u = l + "CollectionSlot", E = M(u), C = r.forwardRef(
|
|
16
16
|
(c, e) => {
|
|
17
|
-
const { scope: s, children: t } = c, o = f(
|
|
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 =
|
|
22
|
-
const
|
|
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(
|
|
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 =
|
|
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-
|
|
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
|