dawn-ui-react 1.0.0-alpha → 1.0.0-alpha.2
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/{Input-Br91lfPH.js → Input-DXDwtOqf.js} +4 -4
- package/dist/{clamp-C6OCmUfq.js → clamp-CYKyjuJR.js} +45 -45
- package/dist/dawn-ui-react.js +249 -249
- package/dist/{field-errors-BDUanNiE.js → field-errors-DVQtEKG3.js} +1 -1
- package/dist/{field-input-0WxX-93A.js → field-input-Doplzz0V.js} +3 -3
- package/dist/{field-input-group-Dcwadst3.js → field-input-group-CzX_hAjq.js} +2 -2
- package/dist/{field-input-group-input-CLQz2SPo.js → field-input-group-input-micw-J2Y.js} +2 -2
- package/dist/{field-label-DwF_1o76.js → field-label-C2atREm0.js} +1 -1
- package/dist/{field-select-BmvhGVSz.js → field-select--mY7GbNz.js} +40 -40
- package/dist/{field-slider-oL8pDrCe.js → field-slider-D54-Z8Ds.js} +47 -47
- package/dist/{form-context-CzC_p5DL.js → form-context-DqrRdk0d.js} +29 -29
- package/dist/{input-group-D3zocoNy.js → input-group-DgFUfXr7.js} +1 -1
- package/dist/{input-group-input-CHby62R-.js → input-group-input-DNZQ6g-3.js} +1 -1
- package/dist/{input.types-Dl_61f0y.js → input.types-D8b-1Bcm.js} +1 -1
- package/dist/{useLabelableId-VWw8rfpn.js → useLabelableId-BaWKrZ8_.js} +12 -12
- package/package.json +2 -5
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
-
import { G as t, H as n, J as r, M as i, Q as a, V as o, W as s, X as c, Y as l, Z as u, i as d, j as f, k as p, q as m } from "./form-context-
|
|
3
|
-
import { B as h, D as g, M as _, P as v, V as y, W as b, b as x, c as S, d as C, f as w, i as T, l as E, m as D, n as O, o as k, p as A, r as j, s as M, t as N, u as P, w as F, x as ee, z as I } from "./useLabelableId-
|
|
4
|
-
import { C as te, D as L, F as R, Gt as z, H as B, J as ne, Jt as V, K as re, Kt as H, M as ie, Q as U, Rt as ae, T as W, Ut as oe, V as G, W as se, X as ce, Y as K, Yt as le, Z as q, a as ue, at as J, b as de, c as fe, d as pe, dt as me, et as he, f as ge, fn as _e, g as ve, gn as ye, h as be, hn as xe, i as Se, in as Ce, it as we, j as Te, l as Ee, ln as De, m as Oe, mn as ke, n as Ae, nt as je, o as Y, on as Me, ot as Ne, pn as Pe, q as Fe, r as Ie, rn as Le, rt as Re, s as ze, t as X, ut as Be, v as Ve, w as He, y as Ue } from "./clamp-
|
|
2
|
+
import { G as t, H as n, J as r, M as i, Q as a, V as o, W as s, X as c, Y as l, Z as u, i as d, j as f, k as p, q as m } from "./form-context-DqrRdk0d.js";
|
|
3
|
+
import { B as h, D as g, M as _, P as v, V as y, W as b, b as x, c as S, d as C, f as w, i as T, l as E, m as D, n as O, o as k, p as A, r as j, s as M, t as N, u as P, w as F, x as ee, z as I } from "./useLabelableId-BaWKrZ8_.js";
|
|
4
|
+
import { C as te, D as L, F as R, Gt as z, H as B, J as ne, Jt as V, K as re, Kt as H, M as ie, Q as U, Rt as ae, T as W, Ut as oe, V as G, W as se, X as ce, Y as K, Yt as le, Z as q, a as ue, at as J, b as de, c as fe, d as pe, dt as me, et as he, f as ge, fn as _e, g as ve, gn as ye, h as be, hn as xe, i as Se, in as Ce, it as we, j as Te, l as Ee, ln as De, m as Oe, mn as ke, n as Ae, nt as je, o as Y, on as Me, ot as Ne, pn as Pe, q as Fe, r as Ie, rn as Le, rt as Re, s as ze, t as X, ut as Be, v as Ve, w as He, y as Ue } from "./clamp-CYKyjuJR.js";
|
|
5
5
|
import { t as We } from "./cn-CXogf8HW.js";
|
|
6
6
|
import * as Z from "react";
|
|
7
7
|
import Ge from "react";
|
|
8
8
|
import { jsx as Q, jsxs as Ke } from "react/jsx-runtime";
|
|
9
9
|
import * as qe from "react-dom";
|
|
10
10
|
import { useSyncExternalStore as Je } from "use-sync-external-store/shim";
|
|
11
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
11
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/internals/composite/list/useCompositeListItem.js
|
|
12
12
|
var Ye = /* @__PURE__ */ function(e) {
|
|
13
13
|
return e[e.None = 0] = "None", e[e.GuessFromOrder = 1] = "GuessFromOrder", e;
|
|
14
14
|
}({});
|
|
@@ -57,7 +57,7 @@ function Xe(e = {}) {
|
|
|
57
57
|
}), [m, _]);
|
|
58
58
|
}
|
|
59
59
|
//#endregion
|
|
60
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
60
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useHoverShared.js
|
|
61
61
|
function Ze(e, t) {
|
|
62
62
|
return t != null && !ae(t) ? 0 : typeof e == "function" ? e() : e;
|
|
63
63
|
}
|
|
@@ -72,7 +72,7 @@ function et(e, t) {
|
|
|
72
72
|
return t || e === "click" || e === "mousedown";
|
|
73
73
|
}
|
|
74
74
|
//#endregion
|
|
75
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
75
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingDelayGroup.js
|
|
76
76
|
var tt = /* @__PURE__ */ Z.createContext({
|
|
77
77
|
hasProvider: !1,
|
|
78
78
|
timeoutMs: 0,
|
|
@@ -158,7 +158,7 @@ function rt(e, t = { open: !1 }) {
|
|
|
158
158
|
]);
|
|
159
159
|
}
|
|
160
160
|
//#endregion
|
|
161
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
161
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useClientPoint.js
|
|
162
162
|
function it(e, t) {
|
|
163
163
|
let n = null, r = null, i = !1;
|
|
164
164
|
return {
|
|
@@ -238,7 +238,7 @@ function ot(e, t = {}) {
|
|
|
238
238
|
} : {}, [s, x]);
|
|
239
239
|
}
|
|
240
240
|
//#endregion
|
|
241
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
241
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/utils/popups/popupStoreUtils.js
|
|
242
242
|
function st(e, t) {
|
|
243
243
|
let n = Z.useRef(null), r = Z.useRef(null);
|
|
244
244
|
return Z.useCallback((i) => {
|
|
@@ -324,7 +324,7 @@ function ut(e, t, n) {
|
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
326
|
//#endregion
|
|
327
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
327
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/utils/getEmptyRootContext.js
|
|
328
328
|
function dt() {
|
|
329
329
|
return new Ue({
|
|
330
330
|
open: !1,
|
|
@@ -339,7 +339,7 @@ function dt() {
|
|
|
339
339
|
});
|
|
340
340
|
}
|
|
341
341
|
//#endregion
|
|
342
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
342
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/utils/popups/store.js
|
|
343
343
|
function ft() {
|
|
344
344
|
return {
|
|
345
345
|
open: !1,
|
|
@@ -377,7 +377,7 @@ var pt = W((e) => e.triggerIdProp ?? e.activeTriggerId), mt = {
|
|
|
377
377
|
positionerElement: W((e) => e.positionerElement)
|
|
378
378
|
};
|
|
379
379
|
//#endregion
|
|
380
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
380
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useSyncedFloatingRootContext.js
|
|
381
381
|
function ht(e) {
|
|
382
382
|
let { popupStore: t, treatPopupAsFloatingElement: n = !1, onOpenChange: r } = e, i = w(), o = Te() != null, s = t.useState("open"), l = t.useState("activeTriggerElement"), u = t.useState(n ? "popupElement" : "positionerElement"), d = t.context.triggerElements, p = a(() => new Ue({
|
|
383
383
|
open: s,
|
|
@@ -407,7 +407,7 @@ function ht(e) {
|
|
|
407
407
|
]), p.context.onOpenChange = r, p.context.nested = o, p;
|
|
408
408
|
}
|
|
409
409
|
//#endregion
|
|
410
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
410
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useFocus.js
|
|
411
411
|
var gt = Le && Ce;
|
|
412
412
|
function _t(e, t = {}) {
|
|
413
413
|
let n = "rootStore" in e ? e.rootStore : e, { events: r, dataRef: a } = n.context, { enabled: o = !0, delay: s } = t, c = Z.useRef(!1), l = Z.useRef(null), u = K(), d = Z.useRef(!0);
|
|
@@ -487,7 +487,7 @@ function _t(e, t = {}) {
|
|
|
487
487
|
} : {}, [o, m]);
|
|
488
488
|
}
|
|
489
489
|
//#endregion
|
|
490
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
490
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useHoverInteractionSharedState.js
|
|
491
491
|
var vt = class e {
|
|
492
492
|
constructor() {
|
|
493
493
|
this.pointerType = void 0, this.interactedInside = !1, this.handler = void 0, this.blockMouseMove = !0, this.performedPointerEventsMutation = !1, this.pointerEventsScopeElement = null, this.pointerEventsReferenceElement = null, this.pointerEventsFloatingElement = null, this.restTimeoutPending = !1, this.openChangeTimeout = new ne(), this.restTimeout = new ne(), this.handleCloseOptions = void 0;
|
|
@@ -514,7 +514,7 @@ function St(e) {
|
|
|
514
514
|
return n.hoverInteractionState ||= t, Pe(n.hoverInteractionState.disposeEffect), n.hoverInteractionState;
|
|
515
515
|
}
|
|
516
516
|
//#endregion
|
|
517
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
517
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useHoverFloatingInteraction.js
|
|
518
518
|
function Ct(e, t = {}) {
|
|
519
519
|
let n = "rootStore" in e ? e.rootStore : e, r = n.useState("open"), i = n.useState("floatingElement"), a = n.useState("domReferenceElement"), { dataRef: o } = n.context, { enabled: s = !0, closeDelay: l = 0, nodeId: d } = t, p = St(n), m = ie(), h = Te(), g = u(() => et(o.current.openEvent?.type, p.interactedInside)), _ = u(() => {
|
|
520
520
|
let e = o.current.openEvent?.type;
|
|
@@ -615,7 +615,7 @@ function Ct(e, t = {}) {
|
|
|
615
615
|
]);
|
|
616
616
|
}
|
|
617
617
|
//#endregion
|
|
618
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
618
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useHoverReferenceInteraction.js
|
|
619
619
|
var wt = { current: null };
|
|
620
620
|
function Tt(e, t = {}) {
|
|
621
621
|
let n = "rootStore" in e ? e.rootStore : e, { dataRef: r, events: i } = n.context, { enabled: a = !0, delay: o = 0, handleClose: s = null, mouseOnly: c = !1, restMs: l = 0, move: d = !0, triggerElementRef: p = wt, externalTree: m, isActiveTrigger: h = !0, getHandleCloseContext: g, isClosing: _ } = t, v = ie(m), b = St(n), x = Z.useRef(!1), S = re(s), C = re(o), w = re(l), T = re(a), D = re(_);
|
|
@@ -765,7 +765,7 @@ function Tt(e, t = {}) {
|
|
|
765
765
|
]);
|
|
766
766
|
}
|
|
767
767
|
//#endregion
|
|
768
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
768
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/floating-ui-react/safePolygon.js
|
|
769
769
|
var Et = .1, Dt = Et * Et, $ = .5;
|
|
770
770
|
function Ot(e, t, n, r, i, a) {
|
|
771
771
|
return r >= t != a >= t && e <= (i - n) * (t - r) / (a - r) + n;
|
|
@@ -873,12 +873,12 @@ function Mt(e = {}) {
|
|
|
873
873
|
}, r;
|
|
874
874
|
}
|
|
875
875
|
//#endregion
|
|
876
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
876
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/internals/areArraysEqual.js
|
|
877
877
|
function Nt(e, t, n = (e, t) => e === t) {
|
|
878
878
|
return e.length === t.length && e.every((e, r) => n(e, t[r]));
|
|
879
879
|
}
|
|
880
880
|
//#endregion
|
|
881
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
881
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/utils/formatNumber.js
|
|
882
882
|
var Pt = /* @__PURE__ */ new Map();
|
|
883
883
|
function Ft(e, t) {
|
|
884
884
|
let n = JSON.stringify({
|
|
@@ -902,12 +902,12 @@ function Rt(e, t, n) {
|
|
|
902
902
|
return e == null ? "" : n ? It(e, t, n) : It(e / 100, t, { style: "percent" });
|
|
903
903
|
}
|
|
904
904
|
//#endregion
|
|
905
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
905
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/utils/valueToPercent.js
|
|
906
906
|
function zt(e, t, n) {
|
|
907
907
|
return (e - t) * 100 / (n - t);
|
|
908
908
|
}
|
|
909
909
|
//#endregion
|
|
910
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
910
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/utils/FloatingPortalLite.js
|
|
911
911
|
var Bt = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
912
912
|
let { children: n, container: r, className: i, render: a, style: o, ...s } = e, { portalNode: c, portalSubtree: l } = R({
|
|
913
913
|
container: r,
|
|
@@ -919,31 +919,31 @@ var Bt = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
919
919
|
});
|
|
920
920
|
process.env.NODE_ENV !== "production" && (Bt.displayName = "FloatingPortalLite");
|
|
921
921
|
//#endregion
|
|
922
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
922
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/utils/asc.js
|
|
923
923
|
function Vt(e, t) {
|
|
924
924
|
return e - t;
|
|
925
925
|
}
|
|
926
926
|
//#endregion
|
|
927
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
927
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/utils/replaceArrayItemAtIndex.js
|
|
928
928
|
function Ht(e, t, n) {
|
|
929
929
|
let r = e.slice();
|
|
930
930
|
return r[t] = n, r.sort(Vt);
|
|
931
931
|
}
|
|
932
932
|
//#endregion
|
|
933
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
933
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/utils/getSliderValue.js
|
|
934
934
|
function Ut(e, t, n, r, i, a) {
|
|
935
935
|
let o = e;
|
|
936
936
|
return o = X(o, n, r), i && (o = Ht(a, t, X(o, a[t - 1] || -Infinity, a[t + 1] || Infinity))), o;
|
|
937
937
|
}
|
|
938
938
|
//#endregion
|
|
939
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
939
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/utils/validateMinimumDistance.js
|
|
940
940
|
function Wt(e, t, n) {
|
|
941
941
|
if (!Array.isArray(e)) return !0;
|
|
942
942
|
let r = e.reduce((e, t, n, r) => (n === r.length - 1 || e.push(Math.abs(t - r[n + 1])), e), []);
|
|
943
943
|
return Math.min(...r) >= t * n;
|
|
944
944
|
}
|
|
945
945
|
//#endregion
|
|
946
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
946
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/root/stateAttributesMapping.js
|
|
947
947
|
var Gt = {
|
|
948
948
|
activeThumbIndex: () => null,
|
|
949
949
|
max: () => null,
|
|
@@ -960,7 +960,7 @@ function qt() {
|
|
|
960
960
|
return e;
|
|
961
961
|
}
|
|
962
962
|
//#endregion
|
|
963
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
963
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/root/SliderRoot.js
|
|
964
964
|
function Jt(e) {
|
|
965
965
|
return "key" in e ? _ : g;
|
|
966
966
|
}
|
|
@@ -1141,7 +1141,7 @@ var Xt = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
1141
1141
|
});
|
|
1142
1142
|
process.env.NODE_ENV !== "production" && (Xt.displayName = "SliderRoot");
|
|
1143
1143
|
//#endregion
|
|
1144
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1144
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/value/SliderValue.js
|
|
1145
1145
|
var Zt = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
1146
1146
|
let { "aria-live": n = "off", render: r, className: i, children: a, style: s, ...c } = e, { thumbMap: l, state: u, values: d, formatOptionsRef: f, locale: p } = qt(), m = Z.useMemo(() => {
|
|
1147
1147
|
let e = "";
|
|
@@ -1173,7 +1173,7 @@ var Zt = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
1173
1173
|
});
|
|
1174
1174
|
process.env.NODE_ENV !== "production" && (Zt.displayName = "SliderValue");
|
|
1175
1175
|
//#endregion
|
|
1176
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1176
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/utils/getMidpoint.js
|
|
1177
1177
|
function Qt(e) {
|
|
1178
1178
|
let t = e.getBoundingClientRect();
|
|
1179
1179
|
return {
|
|
@@ -1182,7 +1182,7 @@ function Qt(e) {
|
|
|
1182
1182
|
};
|
|
1183
1183
|
}
|
|
1184
1184
|
//#endregion
|
|
1185
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1185
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/utils/roundValueToStep.js
|
|
1186
1186
|
function $t(e) {
|
|
1187
1187
|
if (e === 0) return 0;
|
|
1188
1188
|
if (Math.abs(e) < 1) {
|
|
@@ -1197,7 +1197,7 @@ function en(e, t, n) {
|
|
|
1197
1197
|
return Number(r.toFixed(Math.max($t(t), $t(n))));
|
|
1198
1198
|
}
|
|
1199
1199
|
//#endregion
|
|
1200
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1200
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/utils/getPushedThumbValues.js
|
|
1201
1201
|
function tn({ values: e, index: t, nextValue: n, min: r, max: i, step: a, minStepsBetweenValues: o, initialValues: s }) {
|
|
1202
1202
|
if (e.length === 0) return [];
|
|
1203
1203
|
let c = e.slice(), l = a * o, u = c.length - 1, d = s ?? e;
|
|
@@ -1214,7 +1214,7 @@ function tn({ values: e, index: t, nextValue: n, min: r, max: i, step: a, minSte
|
|
|
1214
1214
|
return c;
|
|
1215
1215
|
}
|
|
1216
1216
|
//#endregion
|
|
1217
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1217
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/utils/resolveThumbCollision.js
|
|
1218
1218
|
function nn({ behavior: e, values: t, currentValues: n, initialValues: r, pressedIndex: i, nextValue: a, min: o, max: s, step: c, minStepsBetweenValues: l }) {
|
|
1219
1219
|
let u = n ?? t, d = r ?? t;
|
|
1220
1220
|
if (!(u.length > 1)) return {
|
|
@@ -1283,7 +1283,7 @@ function nn({ behavior: e, values: t, currentValues: n, initialValues: r, presse
|
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
1285
1285
|
//#endregion
|
|
1286
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1286
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/control/SliderControl.js
|
|
1287
1287
|
var rn = 2;
|
|
1288
1288
|
function an(e, t) {
|
|
1289
1289
|
if (!e) return {
|
|
@@ -1465,7 +1465,7 @@ var sn = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
1465
1465
|
});
|
|
1466
1466
|
process.env.NODE_ENV !== "production" && (sn.displayName = "SliderControl");
|
|
1467
1467
|
//#endregion
|
|
1468
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1468
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/track/SliderTrack.js
|
|
1469
1469
|
var cn = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
1470
1470
|
let { render: n, className: r, style: i, ...a } = e, { state: s } = qt();
|
|
1471
1471
|
return o("div", e, {
|
|
@@ -1477,7 +1477,7 @@ var cn = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
1477
1477
|
});
|
|
1478
1478
|
process.env.NODE_ENV !== "production" && (cn.displayName = "SliderTrack");
|
|
1479
1479
|
//#endregion
|
|
1480
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1480
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/utils/useIsHydrating.js
|
|
1481
1481
|
function ln() {
|
|
1482
1482
|
return t;
|
|
1483
1483
|
}
|
|
@@ -1491,7 +1491,7 @@ function fn() {
|
|
|
1491
1491
|
return Je(ln, un, dn);
|
|
1492
1492
|
}
|
|
1493
1493
|
//#endregion
|
|
1494
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1494
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/thumb/SliderThumbDataAttributes.js
|
|
1495
1495
|
var pn = /* @__PURE__ */ function(e) {
|
|
1496
1496
|
return e.index = "data-index", e.dragging = "data-dragging", e.orientation = "data-orientation", e.disabled = "data-disabled", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.focused = "data-focused", e;
|
|
1497
1497
|
}({}), mn = new Set([
|
|
@@ -1687,7 +1687,7 @@ var _n = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
1687
1687
|
});
|
|
1688
1688
|
process.env.NODE_ENV !== "production" && (_n.displayName = "SliderThumb");
|
|
1689
1689
|
//#endregion
|
|
1690
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1690
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/slider/indicator/SliderIndicator.js
|
|
1691
1691
|
function vn(e, t, n, r, i, a) {
|
|
1692
1692
|
let o = n === void 0 || t && r === void 0 ? "hidden" : void 0, s = e ? "bottom" : "insetInlineStart", c = e ? "height" : "width", l = {
|
|
1693
1693
|
visibility: i && a ? "hidden" : o,
|
|
@@ -1720,7 +1720,7 @@ var bn = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
1720
1720
|
});
|
|
1721
1721
|
process.env.NODE_ENV !== "production" && (bn.displayName = "SliderIndicator");
|
|
1722
1722
|
//#endregion
|
|
1723
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1723
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/tooltip/root/TooltipRootContext.js
|
|
1724
1724
|
var xn = /* @__PURE__ */ Z.createContext(void 0);
|
|
1725
1725
|
process.env.NODE_ENV !== "production" && (xn.displayName = "TooltipRootContext");
|
|
1726
1726
|
function Sn(e) {
|
|
@@ -1729,7 +1729,7 @@ function Sn(e) {
|
|
|
1729
1729
|
return t;
|
|
1730
1730
|
}
|
|
1731
1731
|
//#endregion
|
|
1732
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1732
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/tooltip/store/TooltipStore.js
|
|
1733
1733
|
var Cn = {
|
|
1734
1734
|
...mt,
|
|
1735
1735
|
disabled: W((e) => e.disabled),
|
|
@@ -1793,7 +1793,7 @@ function Tn() {
|
|
|
1793
1793
|
};
|
|
1794
1794
|
}
|
|
1795
1795
|
//#endregion
|
|
1796
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1796
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/tooltip/root/TooltipRoot.js
|
|
1797
1797
|
var En = te(function(e) {
|
|
1798
1798
|
let { disabled: t = !1, defaultOpen: n = !1, open: r, disableHoverablePopup: i = !1, trackCursorAxis: a = "none", actionsRef: o, onOpenChange: s, onOpenChangeComplete: l, handle: u, triggerId: d, defaultTriggerId: f = null, children: p } = e, m = wn.useStore(u?.store, {
|
|
1799
1799
|
open: n,
|
|
@@ -1859,14 +1859,14 @@ var En = te(function(e) {
|
|
|
1859
1859
|
});
|
|
1860
1860
|
process.env.NODE_ENV !== "production" && (En.displayName = "TooltipRoot");
|
|
1861
1861
|
//#endregion
|
|
1862
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1862
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/tooltip/provider/TooltipProviderContext.js
|
|
1863
1863
|
var Dn = /* @__PURE__ */ Z.createContext(void 0);
|
|
1864
1864
|
process.env.NODE_ENV !== "production" && (Dn.displayName = "TooltipProviderContext");
|
|
1865
1865
|
function On() {
|
|
1866
1866
|
return Z.useContext(Dn);
|
|
1867
1867
|
}
|
|
1868
1868
|
//#endregion
|
|
1869
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1869
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/tooltip/trigger/TooltipTriggerDataAttributes.js
|
|
1870
1870
|
var kn = function(e) {
|
|
1871
1871
|
return e[e.popupOpen = pe.popupOpen] = "popupOpen", e.triggerDisabled = "data-trigger-disabled", e;
|
|
1872
1872
|
}({}), An = He(function(e, t) {
|
|
@@ -1920,7 +1920,7 @@ var kn = function(e) {
|
|
|
1920
1920
|
});
|
|
1921
1921
|
process.env.NODE_ENV !== "production" && (An.displayName = "TooltipTrigger");
|
|
1922
1922
|
//#endregion
|
|
1923
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1923
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/tooltip/portal/TooltipPortalContext.js
|
|
1924
1924
|
var jn = /* @__PURE__ */ Z.createContext(void 0);
|
|
1925
1925
|
process.env.NODE_ENV !== "production" && (jn.displayName = "TooltipPortalContext");
|
|
1926
1926
|
function Mn() {
|
|
@@ -1929,7 +1929,7 @@ function Mn() {
|
|
|
1929
1929
|
return e;
|
|
1930
1930
|
}
|
|
1931
1931
|
//#endregion
|
|
1932
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1932
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/tooltip/portal/TooltipPortal.js
|
|
1933
1933
|
var Nn = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
1934
1934
|
let { keepMounted: n = !1, ...r } = e;
|
|
1935
1935
|
return Sn().useState("mounted") || n ? /* @__PURE__ */ Q(jn.Provider, {
|
|
@@ -1942,7 +1942,7 @@ var Nn = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
1942
1942
|
});
|
|
1943
1943
|
process.env.NODE_ENV !== "production" && (Nn.displayName = "TooltipPortal");
|
|
1944
1944
|
//#endregion
|
|
1945
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1945
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/tooltip/positioner/TooltipPositionerContext.js
|
|
1946
1946
|
var Pn = /* @__PURE__ */ Z.createContext(void 0);
|
|
1947
1947
|
process.env.NODE_ENV !== "production" && (Pn.displayName = "TooltipPositionerContext");
|
|
1948
1948
|
function Fn() {
|
|
@@ -1951,7 +1951,7 @@ function Fn() {
|
|
|
1951
1951
|
return e;
|
|
1952
1952
|
}
|
|
1953
1953
|
//#endregion
|
|
1954
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
1954
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/tooltip/positioner/TooltipPositioner.js
|
|
1955
1955
|
var In = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
1956
1956
|
let { render: n, className: r, anchor: i, positionMethod: a = "absolute", side: o = "top", align: s = "center", sideOffset: c = 0, alignOffset: l = 0, collisionBoundary: u = "clipping-ancestors", collisionPadding: d = 5, arrowPadding: f = 5, sticky: p = !1, disableAnchorTracking: m = !1, collisionAvoidance: h = G, style: g, ..._ } = e, v = Sn(), y = Mn(), b = v.useState("open"), x = v.useState("mounted"), S = v.useState("trackCursorAxis"), C = v.useState("disableHoverablePopup"), w = v.useState("floatingRootContext"), T = v.useState("instantType"), E = v.useState("transitionStatus"), D = ue({
|
|
1957
1957
|
anchor: i,
|
|
@@ -1998,7 +1998,7 @@ var In = /* @__PURE__ */ Z.forwardRef(function(e, t) {
|
|
|
1998
1998
|
});
|
|
1999
1999
|
process.env.NODE_ENV !== "production" && (In.displayName = "TooltipPositioner");
|
|
2000
2000
|
//#endregion
|
|
2001
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
2001
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/tooltip/popup/TooltipPopup.js
|
|
2002
2002
|
var Ln = {
|
|
2003
2003
|
...ge,
|
|
2004
2004
|
...De
|
|
@@ -2038,7 +2038,7 @@ var Ln = {
|
|
|
2038
2038
|
});
|
|
2039
2039
|
process.env.NODE_ENV !== "production" && (Rn.displayName = "TooltipPopup");
|
|
2040
2040
|
//#endregion
|
|
2041
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-
|
|
2041
|
+
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@date-fns+tz@1.4.1_@types+react@19.2.14_date-fns@4.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@base-ui/react/esm/tooltip/provider/TooltipProvider.js
|
|
2042
2042
|
var zn = function(e) {
|
|
2043
2043
|
let { delay: t, closeDelay: n, timeout: r = 400 } = e, i = Z.useMemo(() => ({
|
|
2044
2044
|
delay: t,
|