@yselimcan/ui 0.0.4 → 0.0.6
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 +32 -5
- package/dist/index101.js +19 -134
- package/dist/index102.js +4 -26
- package/dist/index103.js +4 -9
- package/dist/index104.js +5 -5
- package/dist/index105.js +7 -8
- package/dist/index106.js +16 -20
- package/dist/index107.js +13 -8
- package/dist/index108.js +291 -82
- package/dist/index109.js +4 -12
- package/dist/index110.js +37 -61
- package/dist/index111.js +126 -38
- package/dist/index112.js +5 -14
- package/dist/index113.js +21 -33
- package/dist/index114.js +77 -19
- package/dist/index115.js +63 -4
- package/dist/index116.js +46 -4
- package/dist/index117.js +67 -5
- package/dist/index118.js +8 -11
- package/dist/index119.js +13 -18
- package/dist/index120.js +4 -13
- package/dist/index121.js +3 -296
- package/dist/index122.js +5 -4
- package/dist/index123.js +131 -36
- package/dist/index124.js +24 -122
- package/dist/index125.js +8 -20
- package/dist/index126.js +5 -77
- package/dist/index127.js +11 -63
- package/dist/index128.js +22 -45
- package/dist/index132.js +2 -2
- package/dist/index133.js +1 -1
- package/dist/index134.js +2 -2
- package/dist/index135.js +1 -1
- package/dist/index136.js +4 -4
- package/dist/index137.js +1 -1
- package/dist/index139.js +1 -1
- package/dist/index140.js +3 -3
- package/dist/index141.js +1 -1
- package/dist/index143.js +2 -2
- package/dist/index144.js +1 -1
- package/dist/index145.js +3 -3
- package/dist/index146.js +5 -5
- package/dist/index147.js +6 -6
- package/dist/index148.js +4 -4
- package/dist/index149.js +3 -3
- package/dist/index152.js +1 -1
- package/dist/index155.js +1 -1
- package/dist/index157.js +3 -3
- package/dist/index158.js +3 -3
- package/dist/index159.js +2 -2
- package/dist/index160.js +1 -1
- package/dist/index164.js +1 -1
- package/dist/index167.js +2 -2
- package/dist/index168.js +1 -1
- package/dist/index169.js +1 -1
- package/dist/index17.js +4 -4
- package/dist/index170.js +3 -3
- package/dist/index171.js +1 -1
- package/dist/index172.js +1 -1
- package/dist/index173.js +3 -3
- package/dist/index174.js +1 -1
- package/dist/index175.js +2 -2
- package/dist/index176.js +1 -1
- package/dist/index177.js +1 -1
- package/dist/index178.js +6 -6
- package/dist/index179.js +1 -1
- package/dist/index18.js +5 -5
- package/dist/index180.js +1 -1
- package/dist/index181.js +2 -2
- package/dist/index182.js +1 -1
- package/dist/index183.js +1 -1
- package/dist/index184.js +1 -1
- package/dist/index187.js +2 -2
- package/dist/index189.js +3 -3
- package/dist/index19.js +10 -10
- package/dist/index190.js +1 -1
- package/dist/index191.js +1 -1
- package/dist/index192.js +3 -3
- package/dist/index193.js +1 -1
- package/dist/index194.js +1 -1
- package/dist/index195.js +1 -1
- package/dist/index196.js +5 -5
- package/dist/index197.js +1 -1
- package/dist/index198.js +3 -3
- package/dist/index20.js +3 -3
- package/dist/index200.js +2 -2
- package/dist/index201.js +3 -3
- package/dist/index202.js +1 -1
- package/dist/index203.js +2 -2
- package/dist/index204.js +26 -5
- package/dist/index205.js +5 -26
- package/dist/index206.js +9 -11
- package/dist/index207.js +11 -9
- package/dist/index21.js +4 -4
- package/dist/index217.js +2 -2
- package/dist/index218.js +1 -1
- package/dist/index219.js +4 -39
- package/dist/index22.js +5 -5
- package/dist/index220.js +4 -56
- package/dist/index221.js +14 -27
- package/dist/index222.js +32 -7
- package/dist/index223.js +37 -11
- package/dist/index224.js +57 -12
- package/dist/index225.js +27 -11
- package/dist/index226.js +6 -20
- package/dist/index227.js +11 -10
- package/dist/index228.js +11 -7
- package/dist/index229.js +11 -42
- package/dist/index23.js +3 -3
- package/dist/index230.js +17 -592
- package/dist/index231.js +6 -6
- package/dist/index232.js +7 -32
- package/dist/index233.js +43 -4
- package/dist/index234.js +597 -5
- package/dist/index235.js +11 -14
- package/dist/index239.js +1 -1
- package/dist/index24.js +10 -10
- package/dist/index242.js +2 -2
- package/dist/index244.js +1 -1
- package/dist/index246.js +2 -2
- package/dist/index247.js +14 -321
- package/dist/index248.js +322 -3
- package/dist/index249.js +3 -3
- package/dist/index250.js +3 -15
- package/dist/index26.js +1 -1
- package/dist/index27.js +1 -1
- package/dist/index28.js +2 -2
- package/dist/index32.js +1 -1
- package/dist/index33.js +11 -11
- package/dist/index34.js +4 -4
- package/dist/index35.js +11 -11
- package/dist/index36.js +8 -8
- package/dist/index37.js +6 -6
- package/dist/index38.js +7 -7
- package/dist/index39.js +4 -4
- package/dist/index40.js +3 -3
- package/dist/index41.js +4 -4
- package/dist/index42.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index44.js +1 -1
- package/dist/index45.js +4 -4
- package/dist/index46.js +8 -8
- package/dist/index47.js +8 -8
- package/dist/index48.js +10 -10
- package/dist/index49.js +2 -2
- package/dist/index50.js +9 -9
- package/dist/index52.js +8 -8
- package/dist/index53.js +1 -1
- package/dist/index54.js +15 -15
- package/dist/index55.js +7 -7
- package/dist/index56.js +8 -8
- package/dist/index57.js +1 -1
- package/dist/index58.js +3 -3
- package/dist/index59.js +2 -2
- package/dist/index60.js +5 -5
- package/dist/index61.js +2 -2
- package/dist/index62.js +2 -2
- package/dist/index63.js +5 -5
- package/dist/index64.js +2 -2
- package/dist/index66.js +7 -7
- package/dist/index67.js +1 -1
- package/dist/index69.js +10 -10
- package/dist/index70.js +1 -1
- package/dist/index71.js +9 -9
- package/dist/index72.js +11 -11
- package/dist/index73.js +2 -2
- package/dist/index74.js +1 -1
- package/dist/index75.js +5 -5
- package/dist/index76.js +1 -1
- package/dist/index77.js +3 -3
- package/dist/index78.js +3 -3
- package/dist/index81.js +7 -7
- package/dist/index82.js +2 -2
- package/dist/index83.js +1 -1
- package/dist/index86.js +11 -54
- package/dist/index87.js +54 -11
- package/dist/index88.js +87 -81
- package/dist/index89.js +81 -87
- package/dist/index94.js +7 -4
- package/dist/index95.js +86 -65
- package/dist/index96.js +12 -8
- package/dist/index97.js +61 -12
- package/dist/index98.js +38 -4
- package/dist/index99.js +14 -4
- package/dist/styles.css +1 -1
- package/package.json +4 -3
package/dist/index126.js
CHANGED
|
@@ -1,79 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { useOpenChangeComplete as f } from "./index119.js";
|
|
6
|
-
function m(e, n) {
|
|
7
|
-
const t = l.useRef(null);
|
|
8
|
-
return l.useCallback((i) => {
|
|
9
|
-
e !== void 0 && (t.current !== null && (n.context.triggerElements.delete(t.current), t.current = null), i !== null && (t.current = e, n.context.triggerElements.add(e, i)));
|
|
10
|
-
}, [n, e]);
|
|
11
|
-
}
|
|
12
|
-
function E(e, n, t, i) {
|
|
13
|
-
const r = t.useState("isMountedByTrigger", e), c = m(e, t), g = a((u) => {
|
|
14
|
-
c(u), u !== null && t.select("open") && t.select("activeTriggerId") == null && t.update({
|
|
15
|
-
activeTriggerId: e,
|
|
16
|
-
activeTriggerElement: u,
|
|
17
|
-
...i
|
|
18
|
-
});
|
|
19
|
-
});
|
|
20
|
-
return o(() => {
|
|
21
|
-
r && t.update({
|
|
22
|
-
activeTriggerElement: n.current,
|
|
23
|
-
...i
|
|
24
|
-
});
|
|
25
|
-
}, [r, t, n, ...Object.values(i)]), {
|
|
26
|
-
registerTrigger: g,
|
|
27
|
-
isMountedByThisTrigger: r
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
function C(e) {
|
|
31
|
-
const n = e.useState("open");
|
|
32
|
-
o(() => {
|
|
33
|
-
if (n && !e.select("activeTriggerId") && e.context.triggerElements.size === 1) {
|
|
34
|
-
const t = e.context.triggerElements.entries().next();
|
|
35
|
-
if (!t.done) {
|
|
36
|
-
const [i, r] = t.value;
|
|
37
|
-
e.update({
|
|
38
|
-
activeTriggerId: i,
|
|
39
|
-
activeTriggerElement: r
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}, [n, e]);
|
|
44
|
-
}
|
|
45
|
-
function x(e, n, t) {
|
|
46
|
-
const {
|
|
47
|
-
mounted: i,
|
|
48
|
-
setMounted: r,
|
|
49
|
-
transitionStatus: c
|
|
50
|
-
} = s(e);
|
|
51
|
-
n.useSyncedValues({
|
|
52
|
-
mounted: i,
|
|
53
|
-
transitionStatus: c
|
|
54
|
-
});
|
|
55
|
-
const g = a(() => {
|
|
56
|
-
r(!1), n.update({
|
|
57
|
-
activeTriggerId: null,
|
|
58
|
-
activeTriggerElement: null,
|
|
59
|
-
mounted: !1
|
|
60
|
-
}), t?.(), n.context.onOpenChangeComplete?.(!1);
|
|
61
|
-
}), u = n.useState("preventUnmountingOnClose");
|
|
62
|
-
return f({
|
|
63
|
-
enabled: !u,
|
|
64
|
-
open: e,
|
|
65
|
-
ref: n.context.popupRef,
|
|
66
|
-
onComplete() {
|
|
67
|
-
e || g();
|
|
68
|
-
}
|
|
69
|
-
}), {
|
|
70
|
-
forceUnmount: g,
|
|
71
|
-
transitionStatus: c
|
|
72
|
-
};
|
|
73
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
const o = () => {
|
|
4
|
+
}, t = typeof document < "u" ? e.useLayoutEffect : o;
|
|
74
5
|
export {
|
|
75
|
-
|
|
76
|
-
x as useOpenStateTransitions,
|
|
77
|
-
E as useTriggerDataForwarding,
|
|
78
|
-
m as useTriggerRegistration
|
|
6
|
+
t as useIsoLayoutEffect
|
|
79
7
|
};
|
package/dist/index127.js
CHANGED
|
@@ -1,67 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const e = "rootStore" in d ? d.rootStore : d, T = e.context.dataRef, {
|
|
12
|
-
enabled: h = !0,
|
|
13
|
-
event: p = "click",
|
|
14
|
-
toggle: g = !0,
|
|
15
|
-
ignoreMouse: E = !1,
|
|
16
|
-
stickIfOpen: O = !0,
|
|
17
|
-
touchOpenDelay: n = 0
|
|
18
|
-
} = M, s = v.useRef(void 0), C = P(), a = b(), R = v.useMemo(() => ({
|
|
19
|
-
onPointerDown(t) {
|
|
20
|
-
s.current = t.pointerType;
|
|
21
|
-
},
|
|
22
|
-
onMouseDown(t) {
|
|
23
|
-
const r = s.current, o = t.nativeEvent, c = e.select("open");
|
|
24
|
-
if (t.button !== 0 || p === "click" || w(r, !0) && E)
|
|
25
|
-
return;
|
|
26
|
-
const m = T.current.openEvent, i = m?.type, f = e.select("domReferenceElement") !== t.currentTarget, l = c && f || !(c && g && (!(m && O) || i === "click" || i === "mousedown"));
|
|
27
|
-
if (x(o.target)) {
|
|
28
|
-
const u = k(y, o, o.target);
|
|
29
|
-
l && r === "touch" && n > 0 ? a.start(n, () => {
|
|
30
|
-
e.setOpen(!0, u);
|
|
31
|
-
}) : e.setOpen(l, u);
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
const D = t.currentTarget;
|
|
35
|
-
C.request(() => {
|
|
36
|
-
const u = k(y, o, D);
|
|
37
|
-
l && r === "touch" && n > 0 ? a.start(n, () => {
|
|
38
|
-
e.setOpen(!0, u);
|
|
39
|
-
}) : e.setOpen(l, u);
|
|
40
|
-
});
|
|
41
|
-
},
|
|
42
|
-
onClick(t) {
|
|
43
|
-
if (p === "mousedown-only")
|
|
44
|
-
return;
|
|
45
|
-
const r = s.current;
|
|
46
|
-
if (p === "mousedown" && r) {
|
|
47
|
-
s.current = void 0;
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
if (w(r, !0) && E)
|
|
51
|
-
return;
|
|
52
|
-
const o = e.select("open"), c = T.current.openEvent, m = e.select("domReferenceElement") !== t.currentTarget, i = o && m || !(o && g && (!(c && O) || I(c))), f = k(y, t.nativeEvent, t.currentTarget);
|
|
53
|
-
i && r === "touch" && n > 0 ? a.start(n, () => {
|
|
54
|
-
e.setOpen(!0, f);
|
|
55
|
-
}) : e.setOpen(i, f);
|
|
56
|
-
},
|
|
57
|
-
onKeyDown() {
|
|
58
|
-
s.current = void 0;
|
|
59
|
-
}
|
|
60
|
-
}), [T, p, E, e, O, g, C, a, n]);
|
|
61
|
-
return v.useMemo(() => h ? {
|
|
62
|
-
reference: R
|
|
63
|
-
} : L, [h, R]);
|
|
2
|
+
import n from "./index112.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
const e = /* @__PURE__ */ t.createContext(void 0);
|
|
5
|
+
process.env.NODE_ENV !== "production" && (e.displayName = "CompositeRootContext");
|
|
6
|
+
function r(s = !1) {
|
|
7
|
+
const o = t.useContext(e);
|
|
8
|
+
if (o === void 0 && !s)
|
|
9
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>." : n(16));
|
|
10
|
+
return o;
|
|
64
11
|
}
|
|
65
12
|
export {
|
|
66
|
-
|
|
13
|
+
e as CompositeRootContext,
|
|
14
|
+
r as useCompositeRootContext
|
|
67
15
|
};
|
package/dist/index128.js
CHANGED
|
@@ -1,48 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
function
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
getReferenceProps: o,
|
|
23
|
-
getFloatingProps: c,
|
|
24
|
-
getItemProps: i,
|
|
25
|
-
getTriggerProps: r
|
|
26
|
-
}), [o, c, i, r]);
|
|
27
|
-
}
|
|
28
|
-
function u(e, a, g) {
|
|
29
|
-
const f = /* @__PURE__ */ new Map(), t = g === "item", o = {};
|
|
30
|
-
g === "floating" && (o.tabIndex = -1, o[C] = "");
|
|
31
|
-
for (const c in e)
|
|
32
|
-
t && e && (c === s || c === E) || (o[c] = e[c]);
|
|
33
|
-
for (let c = 0; c < a.length; c += 1) {
|
|
34
|
-
let i;
|
|
35
|
-
const r = a[c]?.[g];
|
|
36
|
-
typeof r == "function" ? i = e ? r(e) : null : i = r, i && m(o, i, t, f);
|
|
37
|
-
}
|
|
38
|
-
return m(o, e, t, f), o;
|
|
39
|
-
}
|
|
40
|
-
function m(e, a, g, f) {
|
|
41
|
-
for (const t in a) {
|
|
42
|
-
const o = a[t];
|
|
43
|
-
g && (t === s || t === E) || (t.startsWith("on") ? (f.has(t) || f.set(t, []), typeof o == "function" && (f.get(t)?.push(o), e[t] = (...c) => f.get(t)?.map((i) => i(...c)).find((i) => i !== void 0))) : e[t] = o);
|
|
44
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
import * as c from "react";
|
|
3
|
+
function f(d) {
|
|
4
|
+
const {
|
|
5
|
+
focusableWhenDisabled: e,
|
|
6
|
+
disabled: s,
|
|
7
|
+
composite: t = !1,
|
|
8
|
+
tabIndex: i = 0,
|
|
9
|
+
isNativeButton: o
|
|
10
|
+
} = d, n = t && e !== !1, l = t && e === !1;
|
|
11
|
+
return {
|
|
12
|
+
props: c.useMemo(() => {
|
|
13
|
+
const a = {
|
|
14
|
+
// allow Tabbing away from focusableWhenDisabled elements
|
|
15
|
+
onKeyDown(b) {
|
|
16
|
+
s && e && b.key !== "Tab" && b.preventDefault();
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
return t || (a.tabIndex = i, !o && s && (a.tabIndex = e ? i : -1)), (o && (e || n) || !o && s) && (a["aria-disabled"] = s), o && (!e || l) && (a.disabled = s), a;
|
|
20
|
+
}, [t, s, e, n, l, o, i])
|
|
21
|
+
};
|
|
45
22
|
}
|
|
46
23
|
export {
|
|
47
|
-
|
|
24
|
+
f as useFocusableWhenDisabled
|
|
48
25
|
};
|
package/dist/index132.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useIsoLayoutEffect as n } from "./
|
|
3
|
-
import { useRefWithInit as r } from "./
|
|
2
|
+
import { useIsoLayoutEffect as n } from "./index126.js";
|
|
3
|
+
import { useRefWithInit as r } from "./index94.js";
|
|
4
4
|
function s(e) {
|
|
5
5
|
const t = r(f, e).current;
|
|
6
6
|
return t.next = e, n(t.effect), t;
|
package/dist/index133.js
CHANGED
package/dist/index134.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import s from "./
|
|
2
|
+
import s from "./index112.js";
|
|
3
3
|
import * as a from "react";
|
|
4
4
|
import { DEFAULT_VALIDITY_STATE as n } from "./index153.js";
|
|
5
|
-
import { NOOP as e, EMPTY_OBJECT as o } from "./
|
|
5
|
+
import { NOOP as e, EMPTY_OBJECT as o } from "./index122.js";
|
|
6
6
|
const l = /* @__PURE__ */ a.createContext({
|
|
7
7
|
invalid: void 0,
|
|
8
8
|
name: void 0,
|
package/dist/index135.js
CHANGED
package/dist/index136.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useIsoLayoutEffect as s } from "./
|
|
3
|
-
import { isElement as u } from "./
|
|
4
|
-
import { useBaseUiId as m } from "./
|
|
2
|
+
import { useIsoLayoutEffect as s } from "./index126.js";
|
|
3
|
+
import { isElement as u } from "./index123.js";
|
|
4
|
+
import { useBaseUiId as m } from "./index102.js";
|
|
5
5
|
import { useLabelableContext as c } from "./index135.js";
|
|
6
|
-
import { NOOP as d } from "./
|
|
6
|
+
import { NOOP as d } from "./index122.js";
|
|
7
7
|
function x(f = {}) {
|
|
8
8
|
const {
|
|
9
9
|
id: e,
|
package/dist/index137.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as c from "react";
|
|
3
|
-
import { useIsoLayoutEffect as d } from "./
|
|
3
|
+
import { useIsoLayoutEffect as d } from "./index126.js";
|
|
4
4
|
import { AnimationFrame as u } from "./index164.js";
|
|
5
5
|
function g(t, s = !1, f = !1) {
|
|
6
6
|
const [n, r] = c.useState(t && s ? "idle" : void 0), [i, a] = c.useState(t);
|
package/dist/index139.js
CHANGED
package/dist/index140.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as p from "react-dom";
|
|
2
|
-
import { useIsoLayoutEffect as r } from "./
|
|
3
|
-
import { useStableCallback as D } from "./
|
|
4
|
-
import { getCombinedFieldValidityData as v } from "./
|
|
2
|
+
import { useIsoLayoutEffect as r } from "./index126.js";
|
|
3
|
+
import { useStableCallback as D } from "./index124.js";
|
|
4
|
+
import { getCombinedFieldValidityData as v } from "./index206.js";
|
|
5
5
|
import { useFormContext as R } from "./index139.js";
|
|
6
6
|
import { useFieldRootContext as b } from "./index134.js";
|
|
7
7
|
function S(u) {
|
package/dist/index141.js
CHANGED
package/dist/index143.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as c from "react";
|
|
2
|
-
import { useIsoLayoutEffect as o } from "./
|
|
3
|
-
import { useStableCallback as f } from "./
|
|
2
|
+
import { useIsoLayoutEffect as o } from "./index126.js";
|
|
3
|
+
import { useStableCallback as f } from "./index124.js";
|
|
4
4
|
function u(r, n) {
|
|
5
5
|
const t = c.useRef(r), e = f(n);
|
|
6
6
|
o(() => {
|
package/dist/index144.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as e from "react";
|
|
3
|
-
import { useStableCallback as a } from "./
|
|
3
|
+
import { useStableCallback as a } from "./index124.js";
|
|
4
4
|
import { useEnhancedClickHandler as u } from "./index208.js";
|
|
5
5
|
function f(s) {
|
|
6
6
|
const [n, t] = e.useState(null), c = a((p, i) => {
|
package/dist/index145.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { isElement as s } from "./
|
|
1
|
+
import { isElement as s } from "./index123.js";
|
|
2
2
|
import { useId as m } from "./index184.js";
|
|
3
|
-
import { useRefWithInit as c } from "./
|
|
4
|
-
import { useIsoLayoutEffect as a } from "./
|
|
3
|
+
import { useRefWithInit as c } from "./index94.js";
|
|
4
|
+
import { useIsoLayoutEffect as a } from "./index126.js";
|
|
5
5
|
import { useFloatingParentNodeId as u } from "./index181.js";
|
|
6
6
|
import { FloatingRootStore as g } from "./index242.js";
|
|
7
7
|
import { PopupTriggerMap as p } from "./index202.js";
|
package/dist/index146.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as p from "react";
|
|
2
|
-
import { isElement as P, isLastTraversableNode as U, getParentNode as Ce, isHTMLElement as Oe, getComputedStyle as Se, getOverflowAncestors as j, isWebKit as De } from "./
|
|
2
|
+
import { isElement as P, isLastTraversableNode as U, getParentNode as Ce, isHTMLElement as Oe, getComputedStyle as Se, getOverflowAncestors as j, isWebKit as De } from "./index123.js";
|
|
3
3
|
import { useTimeout as ce, Timeout as ke } from "./index152.js";
|
|
4
|
-
import { useStableCallback as s } from "./
|
|
4
|
+
import { useStableCallback as s } from "./index124.js";
|
|
5
5
|
import { useFloatingTree as Me } from "./index181.js";
|
|
6
|
-
import { createChangeEventDetails as S } from "./
|
|
6
|
+
import { createChangeEventDetails as S } from "./index100.js";
|
|
7
7
|
import { createAttribute as Ke } from "./index237.js";
|
|
8
|
-
import { isReactEvent as Ie } from "./
|
|
8
|
+
import { isReactEvent as Ie } from "./index225.js";
|
|
9
9
|
import { getTarget as w, getDocument as ie, contains as X, isRootElement as xe, isEventTargetWithin as f } from "./index155.js";
|
|
10
10
|
import { getNodeChildren as G } from "./index241.js";
|
|
11
|
-
import { triggerPress as le, escapeKey as Xe, outsidePress as Ye, none as We } from "./
|
|
11
|
+
import { triggerPress as le, escapeKey as Xe, outsidePress as Ye, none as We } from "./index101.js";
|
|
12
12
|
const _e = {
|
|
13
13
|
intentional: "onClick",
|
|
14
14
|
sloppy: "onPointerDown"
|
package/dist/index147.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import { isHTMLElement as be } from "./
|
|
2
|
+
import { isHTMLElement as be } from "./index123.js";
|
|
3
3
|
import { useValueAsRef as A } from "./index132.js";
|
|
4
|
-
import { useStableCallback as ae } from "./
|
|
5
|
-
import { useIsoLayoutEffect as L } from "./
|
|
4
|
+
import { useStableCallback as ae } from "./index124.js";
|
|
5
|
+
import { useIsoLayoutEffect as L } from "./index126.js";
|
|
6
6
|
import { useFloatingParentNodeId as ze, useFloatingTree as Ge } from "./index181.js";
|
|
7
|
-
import { createChangeEventDetails as X } from "./
|
|
7
|
+
import { createChangeEventDetails as X } from "./index100.js";
|
|
8
8
|
import { enqueueFocus as We } from "./index238.js";
|
|
9
9
|
import { ARROW_DOWN as ee, ARROW_LEFT as W, ARROW_RIGHT as _, ARROW_UP as Te } from "./index245.js";
|
|
10
10
|
import { isIndexOutOfListBounds as Me, getMinListIndex as fe, getMaxListIndex as Pe, createGridCellMap as _e, isListIndexDisabled as de, getGridNavigatedIndex as qe, getGridCellIndexOfCorner as He, getGridCellIndices as $e, findNonDisabledListIndex as Y } from "./index246.js";
|
|
11
11
|
import { getFloatingFocusElement as Be, isTypeableCombobox as Ue, activeElement as ve, getDocument as je, contains as Ce, getTarget as Je } from "./index155.js";
|
|
12
|
-
import { stopEvent as T, isVirtualClick as Qe, isVirtualPointerEvent as Xe } from "./
|
|
13
|
-
import { listNavigation as me, focusOut as Ye } from "./
|
|
12
|
+
import { stopEvent as T, isVirtualClick as Qe, isVirtualPointerEvent as Xe } from "./index225.js";
|
|
13
|
+
import { listNavigation as me, focusOut as Ye } from "./index101.js";
|
|
14
14
|
const Ze = "Escape";
|
|
15
15
|
function re(o, p, c) {
|
|
16
16
|
switch (o) {
|
package/dist/index148.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
|
-
import { useStableCallback as S } from "./
|
|
3
|
-
import { useIsoLayoutEffect as T } from "./
|
|
2
|
+
import { useStableCallback as S } from "./index124.js";
|
|
3
|
+
import { useIsoLayoutEffect as T } from "./index126.js";
|
|
4
4
|
import { useTimeout as D } from "./index152.js";
|
|
5
|
-
import { EMPTY_ARRAY as U } from "./
|
|
6
|
-
import { stopEvent as O } from "./
|
|
5
|
+
import { EMPTY_ARRAY as U } from "./index122.js";
|
|
6
|
+
import { stopEvent as O } from "./index225.js";
|
|
7
7
|
function H(l, b) {
|
|
8
8
|
const g = "rootStore" in l ? l.rootStore : l, c = g.useState("open"), u = g.context.dataRef, {
|
|
9
9
|
listRef: E,
|
package/dist/index149.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as c from "react";
|
|
2
|
-
import { s as i } from "./
|
|
3
|
-
import { w as S } from "./
|
|
4
|
-
import { isReactVersionAtLeast as a } from "./
|
|
2
|
+
import { s as i } from "./index249.js";
|
|
3
|
+
import { w as S } from "./index250.js";
|
|
4
|
+
import { isReactVersionAtLeast as a } from "./index205.js";
|
|
5
5
|
const u = a(19), m = u ? p : l;
|
|
6
6
|
function b(t, e, o, r, n) {
|
|
7
7
|
return m(t, e, o, r, n);
|
package/dist/index152.js
CHANGED
package/dist/index155.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isHTMLElement as u, isShadowRoot as i } from "./
|
|
1
|
+
import { isHTMLElement as u, isShadowRoot as i } from "./index123.js";
|
|
2
2
|
import { isJSDOM as c } from "./index162.js";
|
|
3
3
|
import { TYPEABLE_SELECTOR as s, FOCUSABLE_ATTRIBUTE as n } from "./index245.js";
|
|
4
4
|
function h(t) {
|
package/dist/index157.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { getWindow as u, isOverflowElement as Y } from "./
|
|
2
|
+
import { getWindow as u, isOverflowElement as Y } from "./index123.js";
|
|
3
3
|
import { isIOS as W, isWebKit as E } from "./index162.js";
|
|
4
4
|
import { ownerDocument as n } from "./index151.js";
|
|
5
|
-
import { useIsoLayoutEffect as T } from "./
|
|
5
|
+
import { useIsoLayoutEffect as T } from "./index126.js";
|
|
6
6
|
import { Timeout as k } from "./index152.js";
|
|
7
7
|
import { AnimationFrame as z } from "./index164.js";
|
|
8
|
-
import { NOOP as H } from "./
|
|
8
|
+
import { NOOP as H } from "./index122.js";
|
|
9
9
|
let L = {}, C = {}, O = "";
|
|
10
10
|
function F(r) {
|
|
11
11
|
if (typeof document > "u")
|
package/dist/index158.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as a from "react";
|
|
3
|
-
import { useRefWithInit as T } from "./
|
|
4
|
-
import { useStableCallback as m } from "./
|
|
5
|
-
import { useIsoLayoutEffect as f } from "./
|
|
3
|
+
import { useRefWithInit as T } from "./index94.js";
|
|
4
|
+
import { useStableCallback as m } from "./index124.js";
|
|
5
|
+
import { useIsoLayoutEffect as f } from "./index126.js";
|
|
6
6
|
import { CompositeListContext as D } from "./index211.js";
|
|
7
7
|
import { jsx as L } from "react/jsx-runtime";
|
|
8
8
|
function k(h) {
|
package/dist/index159.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import * as a from "react";
|
|
3
3
|
import { getSide as L, getSideAxis as Ee, getAlignment as Me } from "./index212.js";
|
|
4
4
|
import { ownerDocument as qe } from "./index151.js";
|
|
5
|
-
import { useIsoLayoutEffect as q } from "./
|
|
5
|
+
import { useIsoLayoutEffect as q } from "./index126.js";
|
|
6
6
|
import { useValueAsRef as G } from "./index132.js";
|
|
7
|
-
import { useStableCallback as Ge } from "./
|
|
7
|
+
import { useStableCallback as Ge } from "./index124.js";
|
|
8
8
|
import { useDirection as Je } from "./index186.js";
|
|
9
9
|
import { arrow as Ke } from "./index213.js";
|
|
10
10
|
import { hide as Ne } from "./index214.js";
|
package/dist/index160.js
CHANGED
package/dist/index164.js
CHANGED
package/dist/index167.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DISABLED_TRANSITIONS_STYLE as r } from "./
|
|
2
|
-
import { EMPTY_OBJECT as o } from "./
|
|
1
|
+
import { DISABLED_TRANSITIONS_STYLE as r } from "./index113.js";
|
|
2
|
+
import { EMPTY_OBJECT as o } from "./index122.js";
|
|
3
3
|
function T(t) {
|
|
4
4
|
return t === "starting" ? r : o;
|
|
5
5
|
}
|
package/dist/index168.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as u from "react";
|
|
3
|
-
import { useIsoLayoutEffect as g } from "./
|
|
3
|
+
import { useIsoLayoutEffect as g } from "./index126.js";
|
|
4
4
|
import { useCompositeListContext as F } from "./index211.js";
|
|
5
5
|
let I = /* @__PURE__ */ (function(t) {
|
|
6
6
|
return t[t.None = 0] = "None", t[t.GuessFromOrder = 1] = "GuessFromOrder", t;
|
package/dist/index169.js
CHANGED
package/dist/index17.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as f from "react";
|
|
3
|
-
import { useRefWithInit as C } from "./
|
|
4
|
-
import { useDialogRoot as x } from "./
|
|
5
|
-
import { useDialogRootContext as h, DialogRootContext as R } from "./
|
|
6
|
-
import { DialogStore as D } from "./
|
|
3
|
+
import { useRefWithInit as C } from "./index94.js";
|
|
4
|
+
import { useDialogRoot as x } from "./index95.js";
|
|
5
|
+
import { useDialogRootContext as h, DialogRootContext as R } from "./index96.js";
|
|
6
|
+
import { DialogStore as D } from "./index97.js";
|
|
7
7
|
import { jsx as I } from "react/jsx-runtime";
|
|
8
8
|
function b(s) {
|
|
9
9
|
const {
|
package/dist/index170.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as R from "react";
|
|
3
3
|
import { useTimeout as O } from "./index152.js";
|
|
4
|
-
import { useIsoLayoutEffect as X } from "./
|
|
4
|
+
import { useIsoLayoutEffect as X } from "./index126.js";
|
|
5
5
|
import { useSelectRootContext as Y } from "./index133.js";
|
|
6
6
|
import { useSelectPositionerContext as _ } from "./index160.js";
|
|
7
7
|
import { useTransitionStatus as j } from "./index137.js";
|
|
8
|
-
import { useOpenChangeComplete as q } from "./
|
|
9
|
-
import { useRenderElement as z } from "./
|
|
8
|
+
import { useOpenChangeComplete as q } from "./index106.js";
|
|
9
|
+
import { useRenderElement as z } from "./index87.js";
|
|
10
10
|
import { selectors as d } from "./index138.js";
|
|
11
11
|
import { useStore as H } from "./index149.js";
|
|
12
12
|
const F = /* @__PURE__ */ R.forwardRef(function(w, I) {
|
package/dist/index171.js
CHANGED
package/dist/index172.js
CHANGED
package/dist/index173.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as a from "react";
|
|
3
|
-
import { useMergedRefs as h } from "./
|
|
3
|
+
import { useMergedRefs as h } from "./index117.js";
|
|
4
4
|
import { useContextMenuRootContext as y } from "./index180.js";
|
|
5
|
-
import { useButton as P } from "./
|
|
5
|
+
import { useButton as P } from "./index89.js";
|
|
6
6
|
import { mergeProps as v } from "./index27.js";
|
|
7
|
-
import { itemPress as I } from "./
|
|
7
|
+
import { itemPress as I } from "./index101.js";
|
|
8
8
|
const A = {
|
|
9
9
|
type: "regular-item"
|
|
10
10
|
};
|
package/dist/index174.js
CHANGED
package/dist/index175.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { transitionStatusMapping as r } from "./
|
|
2
|
-
import { MenuCheckboxItemDataAttributes as t } from "./
|
|
1
|
+
import { transitionStatusMapping as r } from "./index99.js";
|
|
2
|
+
import { MenuCheckboxItemDataAttributes as t } from "./index219.js";
|
|
3
3
|
const c = {
|
|
4
4
|
checked(e) {
|
|
5
5
|
return e ? {
|
package/dist/index176.js
CHANGED
package/dist/index177.js
CHANGED