@floegence/floe-webapp-core 0.50.6 → 0.51.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.
Files changed (44) hide show
  1. package/dist/components/chat/input/ChatInput.js +8 -8
  2. package/dist/components/ui/Button.js +16 -13
  3. package/dist/components/ui/Card.js +125 -119
  4. package/dist/components/ui/Checkbox.js +178 -132
  5. package/dist/components/ui/CommandPalette.js +10 -10
  6. package/dist/components/ui/Dialog.js +1 -1
  7. package/dist/components/ui/DirectoryInput.js +5 -5
  8. package/dist/components/ui/Dropdown.d.ts +2 -0
  9. package/dist/components/ui/Dropdown.js +119 -114
  10. package/dist/components/ui/FloatingWindow.js +211 -199
  11. package/dist/components/ui/HighlightBlock.js +8 -8
  12. package/dist/components/ui/Input.js +40 -40
  13. package/dist/components/ui/Pagination.js +90 -88
  14. package/dist/components/ui/ProcessingIndicator.js +1 -1
  15. package/dist/components/ui/Progress.js +99 -88
  16. package/dist/components/ui/QuoteBlock.js +9 -9
  17. package/dist/components/ui/Radio.js +151 -127
  18. package/dist/components/ui/SegmentedControl.js +26 -25
  19. package/dist/components/ui/Stepper.js +114 -112
  20. package/dist/components/ui/Switch.js +34 -33
  21. package/dist/components/ui/Tabs.js +153 -150
  22. package/dist/components/ui/Tag.js +24 -21
  23. package/dist/components/ui/Tooltip.js +10 -10
  24. package/dist/components/ui/floatingPresence.js +40 -30
  25. package/dist/components/workbench/WorkbenchHud.js +9 -9
  26. package/dist/components/workbench/WorkbenchLockButton.js +4 -4
  27. package/dist/components/workbench/WorkbenchWidget.js +46 -43
  28. package/dist/context/FloeConfigContext.d.ts +5 -1
  29. package/dist/context/FloeConfigContext.js +10 -9
  30. package/dist/context/ThemeContext.d.ts +3 -1
  31. package/dist/context/ThemeContext.js +78 -71
  32. package/dist/floe.css +1 -0
  33. package/dist/full.js +839 -836
  34. package/dist/index.js +150 -147
  35. package/dist/input-focus.css +0 -1
  36. package/dist/styles/themes/index.d.ts +3 -0
  37. package/dist/styles/themes/index.js +40 -31
  38. package/dist/styles/tokens.d.ts +36 -0
  39. package/dist/styles/tokens.js +12 -5
  40. package/dist/styles.css +1 -1
  41. package/dist/surface.css +467 -0
  42. package/dist/themes.d.ts +1 -1
  43. package/dist/ui.css +9 -0
  44. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
- import { createComponent as e, mergeProps as l, spread as _, insert as c, effect as T, setAttribute as f, className as B, template as d, delegateEvents as E } from "solid-js/web";
1
+ import { createComponent as e, mergeProps as l, spread as _, insert as c, effect as T, setAttribute as v, className as B, template as d, delegateEvents as E } from "solid-js/web";
2
2
  import { splitProps as S, Show as p } from "solid-js";
3
3
  import { cn as h } from "../../utils/cn.js";
4
4
  import { Zap as N, Sparkles as A, XCircle as P, CheckCircle as W, AlertTriangle as j, Info as D } from "../icons/index.js";
5
- var F = /* @__PURE__ */ d('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="m9 18 6-6-6-6">'), H = /* @__PURE__ */ d("<div class=highlight-block-icon>"), X = /* @__PURE__ */ d("<div class=highlight-block-content>"), Z = /* @__PURE__ */ d("<div><div><span>");
5
+ var F = /* @__PURE__ */ d('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="m9 18 6-6-6-6">'), H = /* @__PURE__ */ d("<div class=highlight-block-icon>"), X = /* @__PURE__ */ d("<div class=highlight-block-content>"), Z = /* @__PURE__ */ d("<div data-floe-surface=raised data-floe-surface-part=message><div><span>");
6
6
  const q = {
7
7
  info: {
8
8
  icon: D,
@@ -49,8 +49,8 @@ const q = {
49
49
  tip: "Tip"
50
50
  };
51
51
  function a(i) {
52
- const [n, I] = S(i, ["variant", "title", "icon", "hideIcon", "collapsed", "onToggle", "class", "children"]), C = () => n.variant ?? "note", g = () => q[C()], r = () => n.collapsed !== void 0, v = () => n.collapsed ?? !1, k = () => {
53
- r() && n.onToggle && n.onToggle(!v());
52
+ const [n, I] = S(i, ["variant", "title", "icon", "hideIcon", "collapsed", "onToggle", "class", "children"]), C = () => n.variant ?? "note", g = () => q[C()], r = () => n.collapsed !== void 0, f = () => n.collapsed ?? !1, k = () => {
53
+ r() && n.onToggle && n.onToggle(!f());
54
54
  }, x = () => {
55
55
  if (n.icon) return n.icon;
56
56
  const s = g().icon;
@@ -74,7 +74,7 @@ function a(i) {
74
74
  },
75
75
  get children() {
76
76
  var t = F();
77
- return T(() => f(t, "class", h("w-3 h-3 opacity-50 transition-transform duration-200", !v() && "rotate-90"))), t;
77
+ return T(() => v(t, "class", h("w-3 h-3 opacity-50 transition-transform duration-200", !f() && "rotate-90"))), t;
78
78
  }
79
79
  }), u), c(o, e(p, {
80
80
  get when() {
@@ -86,15 +86,15 @@ function a(i) {
86
86
  }
87
87
  }), u), c(u, y), c(s, e(p, {
88
88
  get when() {
89
- return !v();
89
+ return !f();
90
90
  },
91
91
  get children() {
92
92
  var t = X();
93
93
  return c(t, () => n.children), t;
94
94
  }
95
95
  }), null), T((t) => {
96
- var w = h("highlight-block-header", r() && "cursor-pointer select-none"), m = r() ? "button" : void 0, b = r() ? 0 : void 0, $ = h("highlight-block-title", g().titleClass);
97
- return w !== t.e && B(o, t.e = w), m !== t.t && f(o, "role", t.t = m), b !== t.a && f(o, "tabindex", t.a = b), $ !== t.o && B(u, t.o = $), t;
96
+ var m = h("highlight-block-header", r() && "cursor-pointer select-none"), w = r() ? "button" : void 0, b = r() ? 0 : void 0, $ = h("highlight-block-title", g().titleClass);
97
+ return m !== t.e && B(o, t.e = m), w !== t.t && v(o, "role", t.t = w), b !== t.a && v(o, "tabindex", t.a = b), $ !== t.o && B(u, t.o = $), t;
98
98
  }, {
99
99
  e: void 0,
100
100
  t: void 0,
@@ -1,8 +1,8 @@
1
- import { insert as l, createComponent as f, effect as y, className as C, memo as _, spread as B, mergeProps as L, setAttribute as g, template as z, Portal as de, setStyleProperty as re, use as ne, delegateEvents as ae } from "solid-js/web";
1
+ import { insert as l, createComponent as f, effect as y, className as C, memo as _, spread as B, mergeProps as L, setAttribute as g, template as z, Portal as ae, setStyleProperty as re, use as ne, delegateEvents as de } from "solid-js/web";
2
2
  import { splitProps as N, createUniqueId as E, Show as w, createSignal as ie, createEffect as ue, onCleanup as se, For as ce } from "solid-js";
3
3
  import { cn as I } from "../../utils/cn.js";
4
4
  import { Minus as fe, Plus as he, ChevronDown as ge } from "../icons/index.js";
5
- var xe = /* @__PURE__ */ z('<div class="absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none">'), ve = /* @__PURE__ */ z('<div class="absolute right-2.5 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none">'), M = /* @__PURE__ */ z('<p class="mt-1 text-[11px] text-error"role=alert>'), R = /* @__PURE__ */ z('<p class="mt-1 text-[11px] text-muted-foreground">'), be = /* @__PURE__ */ z("<div class=relative><input>"), me = /* @__PURE__ */ z("<div><textarea>"), pe = /* @__PURE__ */ z('<div><div data-floe-input-surface><button type=button aria-label="Decrease value"></button><input type=number><button type=button aria-label="Increase value">'), we = /* @__PURE__ */ z("<div><div data-floe-input-surface><input>"), oe = /* @__PURE__ */ z("<span>"), ye = /* @__PURE__ */ z("<button type=button><span>"), Ie = /* @__PURE__ */ z("<div role=listbox>"), $e = /* @__PURE__ */ z("<button type=button role=option>");
5
+ var xe = /* @__PURE__ */ z('<div class="absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none">'), ve = /* @__PURE__ */ z('<div class="absolute right-2.5 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none">'), M = /* @__PURE__ */ z('<p class="mt-1 text-[11px] text-error"role=alert>'), R = /* @__PURE__ */ z('<p class="mt-1 text-[11px] text-muted-foreground">'), be = /* @__PURE__ */ z("<div class=relative><input data-floe-surface=inset>"), me = /* @__PURE__ */ z("<div><textarea data-floe-surface=inset>"), pe = /* @__PURE__ */ z('<div><div data-floe-input-surface data-floe-surface=inset><button type=button aria-label="Decrease value"></button><input type=number><button type=button aria-label="Increase value">'), we = /* @__PURE__ */ z("<div><div data-floe-input-surface data-floe-surface=inset><input>"), oe = /* @__PURE__ */ z("<span>"), ye = /* @__PURE__ */ z("<button type=button><span>"), Ie = /* @__PURE__ */ z("<div role=listbox>"), $e = /* @__PURE__ */ z("<button type=button role=option>");
6
6
  const Ce = {
7
7
  sm: "h-7 text-xs px-2",
8
8
  md: "h-8 text-xs px-2.5",
@@ -20,8 +20,8 @@ function Te(r) {
20
20
  return e.leftIcon;
21
21
  },
22
22
  get children() {
23
- var a = xe();
24
- return l(a, () => e.leftIcon), a;
23
+ var d = xe();
24
+ return l(d, () => e.leftIcon), d;
25
25
  }
26
26
  }), x), B(x, L({
27
27
  get id() {
@@ -53,24 +53,24 @@ function Te(r) {
53
53
  return e.rightIcon;
54
54
  },
55
55
  get children() {
56
- var a = ve();
57
- return l(a, () => e.rightIcon), a;
56
+ var d = ve();
57
+ return l(d, () => e.rightIcon), d;
58
58
  }
59
59
  }), null), l(o, f(w, {
60
60
  get when() {
61
61
  return e.error;
62
62
  },
63
63
  get children() {
64
- var a = M();
65
- return l(a, () => e.error), y(() => g(a, "id", h())), a;
64
+ var d = M();
65
+ return l(d, () => e.error), y(() => g(d, "id", h())), d;
66
66
  }
67
67
  }), null), l(o, f(w, {
68
68
  get when() {
69
69
  return _(() => !!e.helperText)() && !e.error;
70
70
  },
71
71
  get children() {
72
- var a = R();
73
- return l(a, () => e.helperText), y(() => g(a, "id", v())), a;
72
+ var d = R();
73
+ return l(d, () => e.helperText), y(() => g(d, "id", v())), d;
74
74
  }
75
75
  }), null), o;
76
76
  })();
@@ -100,22 +100,22 @@ function _e(r) {
100
100
  return e.error;
101
101
  },
102
102
  get children() {
103
- var a = M();
104
- return l(a, () => e.error), y(() => g(a, "id", h())), a;
103
+ var d = M();
104
+ return l(d, () => e.error), y(() => g(d, "id", h())), d;
105
105
  }
106
106
  }), null), l(o, f(w, {
107
107
  get when() {
108
108
  return _(() => !!e.helperText)() && !e.error;
109
109
  },
110
110
  get children() {
111
- var a = R();
112
- return l(a, () => e.helperText), y(() => g(a, "id", v())), a;
111
+ var d = R();
112
+ return l(d, () => e.helperText), y(() => g(d, "id", v())), d;
113
113
  }
114
114
  }), null), o;
115
115
  })();
116
116
  }
117
117
  function Pe(r) {
118
- const e = E(), b = `${e}-error`, S = `${e}-helper`, m = () => r.step ?? 1, h = () => r.min ?? -1 / 0, v = () => r.max ?? 1 / 0, $ = (t) => Math.min(v(), Math.max(h(), t)), o = () => !r.disabled && r.value > h(), x = () => !r.disabled && r.value < v(), a = () => {
118
+ const e = E(), b = `${e}-error`, S = `${e}-helper`, m = () => r.step ?? 1, h = () => r.min ?? -1 / 0, v = () => r.max ?? 1 / 0, $ = (t) => Math.min(v(), Math.max(h(), t)), o = () => !r.disabled && r.value > h(), x = () => !r.disabled && r.value < v(), d = () => {
119
119
  o() && r.onChange($(r.value - m()));
120
120
  }, T = () => {
121
121
  x() && r.onChange($(r.value + m()));
@@ -144,16 +144,16 @@ function Pe(r) {
144
144
  btnSize: "w-9",
145
145
  iconSize: "w-4 h-4"
146
146
  }
147
- }, d = () => c[r.size ?? "md"];
147
+ }, a = () => c[r.size ?? "md"];
148
148
  return (() => {
149
149
  var t = pe(), u = t.firstChild, k = u.firstChild, p = k.nextSibling, O = p.nextSibling;
150
- return k.$$click = a, l(k, f(fe, {
150
+ return k.$$click = d, l(k, f(fe, {
151
151
  get class() {
152
- return d().iconSize;
152
+ return a().iconSize;
153
153
  }
154
154
  })), p.addEventListener("blur", i), p.$$input = P, g(p, "id", e), O.$$click = T, l(O, f(he, {
155
155
  get class() {
156
- return d().iconSize;
156
+ return a().iconSize;
157
157
  }
158
158
  })), l(t, f(w, {
159
159
  get when() {
@@ -172,7 +172,7 @@ function Pe(r) {
172
172
  return g(n, "id", S), l(n, () => r.helperText), n;
173
173
  }
174
174
  }), null), y((n) => {
175
- var V = r.class, j = r.error ? !0 : void 0, A = r.disabled ? !0 : void 0, F = I("inline-flex items-center rounded border border-input bg-background shadow-sm", "transition-colors duration-100", r.disabled && "opacity-50 cursor-not-allowed", r.error && "border-error", d().height), W = !o(), q = I("flex items-center justify-center border-r border-input cursor-pointer", "text-muted-foreground transition-colors", "hover:bg-accent hover:text-foreground", "focus:outline-none", "disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:bg-transparent disabled:hover:text-muted-foreground", d().btnSize, d().height), H = r.min, G = r.max, U = r.step, X = r.disabled, J = r.inputDisabled, K = r.placeholder, Q = r.error ? !0 : void 0, Y = s(), Z = I("w-16 text-center text-xs bg-transparent border-none", "outline-none focus:outline-none focus:ring-0", "[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none", r.inputDisabled && "cursor-default"), ee = !x(), te = I("flex items-center justify-center border-l border-input cursor-pointer", "text-muted-foreground transition-colors", "hover:bg-accent hover:text-foreground", "focus:outline-none", "disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:bg-transparent disabled:hover:text-muted-foreground", d().btnSize, d().height);
175
+ var V = r.class, j = r.error ? !0 : void 0, A = r.disabled ? !0 : void 0, F = I("inline-flex items-center rounded border border-input bg-background shadow-sm", "transition-colors duration-100", r.disabled && "opacity-50 cursor-not-allowed", r.error && "border-error", a().height), W = !o(), q = I("flex items-center justify-center border-r border-input cursor-pointer", "text-muted-foreground transition-colors", "hover:bg-accent hover:text-foreground", "focus:outline-none", "disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:bg-transparent disabled:hover:text-muted-foreground", a().btnSize, a().height), H = r.min, G = r.max, U = r.step, X = r.disabled, J = r.inputDisabled, K = r.placeholder, Q = r.error ? !0 : void 0, Y = s(), Z = I("w-16 text-center text-xs bg-transparent border-none", "outline-none focus:outline-none focus:ring-0", "[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none", r.inputDisabled && "cursor-default"), ee = !x(), te = I("flex items-center justify-center border-l border-input cursor-pointer", "text-muted-foreground transition-colors", "hover:bg-accent hover:text-foreground", "focus:outline-none", "disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:bg-transparent disabled:hover:text-muted-foreground", a().btnSize, a().height);
176
176
  return V !== n.e && C(t, n.e = V), j !== n.t && g(u, "aria-invalid", n.t = j), A !== n.a && g(u, "aria-disabled", n.a = A), F !== n.o && C(u, n.o = F), W !== n.i && (k.disabled = n.i = W), q !== n.n && C(k, n.n = q), H !== n.s && g(p, "min", n.s = H), G !== n.h && g(p, "max", n.h = G), U !== n.r && g(p, "step", n.r = U), X !== n.d && (p.disabled = n.d = X), J !== n.l && (p.readOnly = n.l = J), K !== n.u && g(p, "placeholder", n.u = K), Q !== n.c && g(p, "aria-invalid", n.c = Q), Y !== n.w && g(p, "aria-describedby", n.w = Y), Z !== n.m && C(p, n.m = Z), ee !== n.f && (O.disabled = n.f = ee), te !== n.y && C(O, n.y = te), n;
177
177
  }, {
178
178
  e: void 0,
@@ -216,12 +216,12 @@ function De(r) {
216
216
  text: "text-sm",
217
217
  px: "px-3"
218
218
  }
219
- }, x = () => o[e.size ?? "md"], a = () => !!e.prefix || e.prefixOptions && e.prefixOptions.length > 0, T = () => !!e.suffix || e.suffixOptions && e.suffixOptions.length > 0, P = () => e.prefix ? e.prefix : e.prefixOptions?.find((s) => s.value === e.prefixValue)?.label ?? e.prefixOptions?.[0]?.label, i = () => e.suffix ? e.suffix : e.suffixOptions?.find((s) => s.value === e.suffixValue)?.label ?? e.suffixOptions?.[0]?.label;
219
+ }, x = () => o[e.size ?? "md"], d = () => !!e.prefix || e.prefixOptions && e.prefixOptions.length > 0, T = () => !!e.suffix || e.suffixOptions && e.suffixOptions.length > 0, P = () => e.prefix ? e.prefix : e.prefixOptions?.find((s) => s.value === e.prefixValue)?.label ?? e.prefixOptions?.[0]?.label, i = () => e.suffix ? e.suffix : e.suffixOptions?.find((s) => s.value === e.suffixValue)?.label ?? e.suffixOptions?.[0]?.label;
220
220
  return (() => {
221
- var s = we(), c = s.firstChild, d = c.firstChild;
221
+ var s = we(), c = s.firstChild, a = c.firstChild;
222
222
  return l(c, f(w, {
223
223
  get when() {
224
- return a();
224
+ return d();
225
225
  },
226
226
  get children() {
227
227
  return f(w, {
@@ -259,7 +259,7 @@ function De(r) {
259
259
  }
260
260
  });
261
261
  }
262
- }), d), B(d, L({
262
+ }), a), B(a, L({
263
263
  get id() {
264
264
  return m();
265
265
  },
@@ -363,13 +363,13 @@ function le(r) {
363
363
  }
364
364
  }, o = () => $[r.size ?? "md"], x = () => {
365
365
  if (!h || !v) return;
366
- const i = h.getBoundingClientRect(), s = v.getBoundingClientRect(), c = window.innerWidth, d = window.innerHeight;
366
+ const i = h.getBoundingClientRect(), s = v.getBoundingClientRect(), c = window.innerWidth, a = window.innerHeight;
367
367
  let t = i.left, u = i.bottom + 2;
368
- t + s.width > c - D && (t = i.right - s.width), t = Math.max(D, t), u + s.height > d - D && (u = i.top - s.height - 2), u = Math.max(D, u), m({
368
+ t + s.width > c - D && (t = i.right - s.width), t = Math.max(D, t), u + s.height > a - D && (u = i.top - s.height - 2), u = Math.max(D, u), m({
369
369
  x: t,
370
370
  y: u
371
371
  });
372
- }, a = (i) => {
372
+ }, d = (i) => {
373
373
  h && !h.contains(i.target) && v && !v.contains(i.target) && b(!1);
374
374
  }, T = (i) => {
375
375
  i.key === "Escape" && b(!1);
@@ -384,20 +384,20 @@ function le(r) {
384
384
  });
385
385
  return;
386
386
  }
387
- typeof document > "u" || (document.addEventListener("mousedown", a), document.addEventListener("keydown", T), requestAnimationFrame(x), se(() => {
388
- document.removeEventListener("mousedown", a), document.removeEventListener("keydown", T);
387
+ typeof document > "u" || (document.addEventListener("mousedown", d), document.addEventListener("keydown", T), requestAnimationFrame(x), se(() => {
388
+ document.removeEventListener("mousedown", d), document.removeEventListener("keydown", T);
389
389
  }));
390
390
  }), [(() => {
391
391
  var i = ye(), s = i.firstChild;
392
392
  i.$$click = () => {
393
- b((d) => !d);
393
+ b((a) => !a);
394
394
  };
395
395
  var c = h;
396
396
  return typeof c == "function" ? ne(c, i) : h = i, l(s, () => r.label), l(i, f(ge, {
397
397
  class: "w-3 h-3 opacity-60"
398
- }), null), y((d) => {
398
+ }), null), y((a) => {
399
399
  var t = r.disabled, u = I("flex items-center gap-1 bg-muted/50 text-muted-foreground cursor-pointer", "hover:bg-muted hover:text-foreground transition-colors", "focus:outline-none", "disabled:cursor-not-allowed disabled:hover:bg-muted/50 disabled:hover:text-muted-foreground", r.position === "prefix" ? "border-r border-input" : "border-l border-input", o().text, o().px, o().height);
400
- return t !== d.e && (i.disabled = d.e = t), u !== d.t && C(i, d.t = u), d;
400
+ return t !== a.e && (i.disabled = a.e = t), u !== a.t && C(i, a.t = u), a;
401
401
  }, {
402
402
  e: void 0,
403
403
  t: void 0
@@ -407,7 +407,7 @@ function le(r) {
407
407
  return e();
408
408
  },
409
409
  get children() {
410
- return f(de, {
410
+ return f(ae, {
411
411
  get children() {
412
412
  var i = Ie(), s = v;
413
413
  return typeof s == "function" ? ne(s, i) : v = i, l(i, f(ce, {
@@ -415,18 +415,18 @@ function le(r) {
415
415
  return r.options;
416
416
  },
417
417
  children: (c) => (() => {
418
- var d = $e();
419
- return d.$$click = () => P(c.value), l(d, () => c.label), y((t) => {
418
+ var a = $e();
419
+ return a.$$click = () => P(c.value), l(a, () => c.label), y((t) => {
420
420
  var u = I("w-full flex items-center px-2.5 py-1.5 text-xs cursor-pointer", "transition-colors duration-75", "hover:bg-accent", "focus:outline-none focus:bg-accent", r.value === c.value && "bg-accent/50 font-medium"), k = r.value === c.value;
421
- return u !== t.e && C(d, t.e = u), k !== t.t && g(d, "aria-selected", t.t = k), t;
421
+ return u !== t.e && C(a, t.e = u), k !== t.t && g(a, "aria-selected", t.t = k), t;
422
422
  }, {
423
423
  e: void 0,
424
424
  t: void 0
425
- }), d;
425
+ }), a;
426
426
  })()
427
427
  })), y((c) => {
428
- var d = I("fixed z-50 min-w-24 py-0.5", "bg-popover text-popover-foreground", "rounded border border-border shadow-md", "animate-in fade-in slide-in-from-top-1"), t = `${S().x}px`, u = `${S().y}px`;
429
- return d !== c.e && C(i, c.e = d), t !== c.t && re(i, "left", c.t = t), u !== c.a && re(i, "top", c.a = u), c;
428
+ var a = I("fixed z-50 min-w-24 py-0.5", "bg-popover text-popover-foreground", "rounded border border-border shadow-md", "animate-in fade-in slide-in-from-top-1"), t = `${S().x}px`, u = `${S().y}px`;
429
+ return a !== c.e && C(i, c.e = a), t !== c.t && re(i, "left", c.t = t), u !== c.a && re(i, "top", c.a = u), c;
430
430
  }, {
431
431
  e: void 0,
432
432
  t: void 0,
@@ -437,7 +437,7 @@ function le(r) {
437
437
  }
438
438
  })];
439
439
  }
440
- ae(["click", "input"]);
440
+ de(["click", "input"]);
441
441
  export {
442
442
  De as AffixInput,
443
443
  Te as Input,