@datawire-ai/busyfile-design-library 1.31.1 → 1.33.0
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/index100.js +3 -3
- package/dist/index101.js +2 -2
- package/dist/index102.js +2 -2
- package/dist/index106.js +5 -5
- package/dist/index107.js +1 -1
- package/dist/index108.js +3 -14
- package/dist/index109.js +46 -10
- package/dist/index110.js +11 -4
- package/dist/index111.js +4 -13
- package/dist/index112.js +12 -3
- package/dist/index113.js +644 -40
- package/dist/index116.js +23 -649
- package/dist/index117.js +15 -18
- package/dist/index118.js +33 -16
- package/dist/index119.js +12 -33
- package/dist/index12.js +28 -30
- package/dist/index120.js +15 -18
- package/dist/index121.js +1 -1
- package/dist/index123.js +1 -1
- package/dist/index30.js +52 -51
- package/dist/index42.js +6 -6
- package/dist/index44.js +9 -9
- package/dist/index46.js +7 -7
- package/dist/index48.js +1 -1
- package/dist/index49.js +5 -5
- package/dist/index50.js +1 -1
- package/dist/index52.js +5 -5
- package/dist/index54.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index59.js +5 -5
- package/dist/index61.js +1 -1
- package/dist/index62.js +1 -1
- package/dist/index63.js +1 -1
- package/dist/index65.js +1 -1
- package/dist/index66.js +1 -1
- package/dist/index67.js +1 -1
- package/dist/index68.js +1 -1
- package/dist/index70.js +1 -1
- package/dist/index71.js +1 -1
- package/dist/index73.js +1 -1
- package/dist/index75.js +7 -7
- package/dist/index78.js +1 -1
- package/dist/index79.js +1 -1
- package/dist/index81.js +1 -1
- package/dist/index82.js +10 -10
- package/dist/index84.js +1 -1
- package/dist/index85.js +5 -5
- package/dist/index86.js +2 -2
- package/dist/index87.js +5 -5
- package/dist/index88.js +1 -1
- package/dist/index90.js +5 -66
- package/dist/index91.js +66 -5
- package/dist/index92.js +33 -51
- package/dist/index93.js +181 -5
- package/dist/index94.js +51 -24
- package/dist/index95.js +7 -69
- package/dist/index96.js +24 -33
- package/dist/index97.js +5 -181
- package/dist/index98.js +69 -7
- package/dist/index99.js +1 -1
- package/dist/types/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/index100.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as n from "react";
|
|
3
|
-
import { composeEventHandlers as m } from "./
|
|
4
|
-
import { Primitive as g, dispatchDiscreteCustomEvent as k } from "./
|
|
3
|
+
import { composeEventHandlers as m } from "./index90.js";
|
|
4
|
+
import { Primitive as g, dispatchDiscreteCustomEvent as k } from "./index92.js";
|
|
5
5
|
import { useComposedRefs as R } from "./index89.js";
|
|
6
|
-
import { useCallbackRef as w } from "./
|
|
6
|
+
import { useCallbackRef as w } from "./index110.js";
|
|
7
7
|
import { useEscapeKeydown as U } from "./index121.js";
|
|
8
8
|
import { jsx as T } from "react/jsx-runtime";
|
|
9
9
|
var z = "DismissableLayer", y = "dismissableLayer.update", H = "dismissableLayer.pointerDownOutside", M = "dismissableLayer.focusOutside", L, B = n.createContext({
|
package/dist/index101.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as d from "react";
|
|
3
3
|
import { useComposedRefs as R } from "./index89.js";
|
|
4
|
-
import { Primitive as M } from "./
|
|
5
|
-
import { useCallbackRef as y } from "./
|
|
4
|
+
import { Primitive as M } from "./index92.js";
|
|
5
|
+
import { useCallbackRef as y } from "./index110.js";
|
|
6
6
|
import { jsx as _ } from "react/jsx-runtime";
|
|
7
7
|
var F = "focusScope.autoFocusOnMount", T = "focusScope.autoFocusOnUnmount", N = { bubbles: !1, cancelable: !0 }, K = "FocusScope", k = d.forwardRef((e, n) => {
|
|
8
8
|
const {
|
package/dist/index102.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as r from "react";
|
|
3
3
|
import s from "react-dom";
|
|
4
|
-
import { Primitive as c } from "./
|
|
5
|
-
import { useLayoutEffect as u } from "./
|
|
4
|
+
import { Primitive as c } from "./index92.js";
|
|
5
|
+
import { useLayoutEffect as u } from "./index111.js";
|
|
6
6
|
import { jsx as l } from "react/jsx-runtime";
|
|
7
7
|
var p = "Portal", d = r.forwardRef((e, a) => {
|
|
8
8
|
var o;
|
package/dist/index106.js
CHANGED
|
@@ -3,11 +3,11 @@ import * as p from "react";
|
|
|
3
3
|
import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Se } from "./index122.js";
|
|
4
4
|
import { Root as Oe } from "./index123.js";
|
|
5
5
|
import { useComposedRefs as j } from "./index89.js";
|
|
6
|
-
import { createContextScope as Re } from "./
|
|
7
|
-
import { Primitive as z } from "./
|
|
8
|
-
import { useCallbackRef as Ee } from "./
|
|
9
|
-
import { useLayoutEffect as T } from "./
|
|
10
|
-
import { useSize as Ne } from "./
|
|
6
|
+
import { createContextScope as Re } from "./index91.js";
|
|
7
|
+
import { Primitive as z } from "./index92.js";
|
|
8
|
+
import { useCallbackRef as Ee } from "./index110.js";
|
|
9
|
+
import { useLayoutEffect as T } from "./index111.js";
|
|
10
|
+
import { useSize as Ne } from "./index96.js";
|
|
11
11
|
import { jsx as f } from "react/jsx-runtime";
|
|
12
12
|
import { autoUpdate as _e } from "./index124.js";
|
|
13
13
|
var N = "Popper", [L, Ue] = Re(N), [$e, Z] = L(N), U = (e) => {
|
package/dist/index107.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as a from "react";
|
|
2
|
-
import { Primitive as o } from "./
|
|
2
|
+
import { Primitive as o } from "./index92.js";
|
|
3
3
|
import { jsx as t } from "react/jsx-runtime";
|
|
4
4
|
var d = Object.freeze({
|
|
5
5
|
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
package/dist/index108.js
CHANGED
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (h === o.length) return n === t.length ? m : G;
|
|
4
|
-
var s = `${n},${h}`;
|
|
5
|
-
if (u[s] !== void 0) return u[s];
|
|
6
|
-
for (var d = i.charAt(h), a = e.indexOf(d, n), l = 0, r, g, c, p; a >= 0; ) r = $(t, o, e, i, a + 1, h + 1, u), r > l && (a === n ? r *= m : H.test(t.charAt(a - 1)) ? (r *= k, c = t.slice(n, a - 1).match(J), c && n > 0 && (r *= Math.pow(w, c.length))) : K.test(t.charAt(a - 1)) ? (r *= j, p = t.slice(n, a - 1).match(A), p && n > 0 && (r *= Math.pow(w, p.length))) : (r *= B, n > 0 && (r *= Math.pow(w, a - n))), t.charAt(a) !== o.charAt(h) && (r *= D)), (r < v && e.charAt(a - 1) === i.charAt(h + 1) || i.charAt(h + 1) === i.charAt(h) && e.charAt(a - 1) !== i.charAt(h)) && (g = $(t, o, e, i, a + 1, h + 2, u), g * v > r && (r = g * v)), r > l && (l = r), a = e.indexOf(d, a + 1);
|
|
7
|
-
return u[s] = l, l;
|
|
8
|
-
}
|
|
9
|
-
function x(t) {
|
|
10
|
-
return t.toLowerCase().replace(A, " ");
|
|
11
|
-
}
|
|
12
|
-
function M(t, o, e) {
|
|
13
|
-
return t = e && e.length > 0 ? `${t + " " + e.join(" ")}` : t, $(t, o, x(t), x(o), 0, 0, {});
|
|
1
|
+
function m(t, [a, n]) {
|
|
2
|
+
return Math.min(n, Math.max(a, t));
|
|
14
3
|
}
|
|
15
4
|
export {
|
|
16
|
-
|
|
5
|
+
m as clamp
|
|
17
6
|
};
|
package/dist/index109.js
CHANGED
|
@@ -1,13 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import r from "react";
|
|
3
|
+
import { createContextScope as y } from "./index91.js";
|
|
4
|
+
import { useComposedRefs as M } from "./index89.js";
|
|
5
|
+
import { createSlot as x } from "./index40.js";
|
|
6
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
7
|
+
function g(s) {
|
|
8
|
+
const m = s + "CollectionProvider", [A, N] = y(m), [_, f] = A(
|
|
9
|
+
m,
|
|
10
|
+
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
11
|
+
), p = (c) => {
|
|
12
|
+
const { scope: e, children: l } = c, o = r.useRef(null), t = r.useRef(/* @__PURE__ */ new Map()).current;
|
|
13
|
+
return /* @__PURE__ */ u(_, { scope: e, itemMap: t, collectionRef: o, children: l });
|
|
14
|
+
};
|
|
15
|
+
p.displayName = m;
|
|
16
|
+
const a = s + "CollectionSlot", E = x(a), C = r.forwardRef(
|
|
17
|
+
(c, e) => {
|
|
18
|
+
const { scope: l, children: o } = c, t = f(a, l), n = M(e, t.collectionRef);
|
|
19
|
+
return /* @__PURE__ */ u(E, { ref: n, children: o });
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
C.displayName = a;
|
|
23
|
+
const d = s + "CollectionItemSlot", R = "data-radix-collection-item", T = x(d), I = r.forwardRef(
|
|
24
|
+
(c, e) => {
|
|
25
|
+
const { scope: l, children: o, ...t } = c, n = r.useRef(null), S = M(e, n), i = f(d, l);
|
|
26
|
+
return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ u(T, { [R]: "", ref: S, children: o });
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
I.displayName = d;
|
|
30
|
+
function O(c) {
|
|
31
|
+
const e = f(s + "CollectionConsumer", c);
|
|
32
|
+
return r.useCallback(() => {
|
|
33
|
+
const o = e.collectionRef.current;
|
|
34
|
+
if (!o) return [];
|
|
35
|
+
const t = Array.from(o.querySelectorAll(`[${R}]`));
|
|
36
|
+
return Array.from(e.itemMap.values()).sort(
|
|
37
|
+
(i, v) => t.indexOf(i.ref.current) - t.indexOf(v.ref.current)
|
|
38
|
+
);
|
|
39
|
+
}, [e.collectionRef, e.itemMap]);
|
|
40
|
+
}
|
|
41
|
+
return [
|
|
42
|
+
{ Provider: p, Slot: C, ItemSlot: I },
|
|
43
|
+
O,
|
|
44
|
+
N
|
|
45
|
+
];
|
|
10
46
|
}
|
|
11
47
|
export {
|
|
12
|
-
|
|
48
|
+
g as createCollection
|
|
13
49
|
};
|
package/dist/index110.js
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
function o(t) {
|
|
3
|
+
const e = r.useRef(t);
|
|
4
|
+
return r.useEffect(() => {
|
|
5
|
+
e.current = t;
|
|
6
|
+
}), r.useMemo(() => (...n) => {
|
|
7
|
+
var u;
|
|
8
|
+
return (u = e.current) == null ? void 0 : u.call(e, ...n);
|
|
9
|
+
}, []);
|
|
10
|
+
}
|
|
4
11
|
export {
|
|
5
|
-
|
|
12
|
+
o as useCallbackRef
|
|
6
13
|
};
|
package/dist/index111.js
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
e,
|
|
5
|
-
() => !0,
|
|
6
|
-
() => !1
|
|
7
|
-
);
|
|
8
|
-
}
|
|
9
|
-
function e() {
|
|
10
|
-
return () => {
|
|
11
|
-
};
|
|
12
|
-
}
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
var e = globalThis != null && globalThis.document ? t.useLayoutEffect : () => {
|
|
3
|
+
};
|
|
13
4
|
export {
|
|
14
|
-
|
|
5
|
+
e as useLayoutEffect
|
|
15
6
|
};
|
package/dist/index112.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { s as r } from "./index125.js";
|
|
2
|
+
function s() {
|
|
3
|
+
return r.useSyncExternalStore(
|
|
4
|
+
e,
|
|
5
|
+
() => !0,
|
|
6
|
+
() => !1
|
|
7
|
+
);
|
|
8
|
+
}
|
|
9
|
+
function e() {
|
|
10
|
+
return () => {
|
|
11
|
+
};
|
|
3
12
|
}
|
|
4
13
|
export {
|
|
5
|
-
|
|
14
|
+
s as useIsHydrated
|
|
6
15
|
};
|