@spear-ai/spectral 1.4.13 → 1.4.15
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/Popover.js +28 -29
- 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-7IR9qVCR.js → index-BSCg4Mei.js} +34 -35
- package/dist/{index-CVSxKOPp.js → index-CDYW5LDR.js} +1 -1
- package/dist/{index-BhufZRa2.js → index-CfypDjr2.js} +6 -6
- package/dist/index-CpUJ8sN0.js +677 -0
- 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 +2 -1
- package/dist/Combination-BtmnusWq.js +0 -480
- package/dist/Dialog/DialogBase.d.ts +0 -86
- package/dist/Dialog/DialogBase.js +0 -216
- package/dist/index-Dc8KxzeM.js +0 -1266
- package/dist/index-MZS7zxk4.js +0 -200
|
@@ -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
|