mimir-ui-kit 1.38.40 → 1.38.42

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.
@@ -9,7 +9,7 @@ import { CheckboxMimir as Te } from "../CheckboxMimir/CheckboxMimir.js";
9
9
  import { Chip as Oe } from "../Chip/Chip.js";
10
10
  import { I as ne } from "../../Input-DAmc_HxO.js";
11
11
  import { EInputVariant as ze } from "../Input/constants.js";
12
- import { H as Ae, U as ie, G as se, K as Ve, W as qe } from "../../combobox-CVtJDVoZ.js";
12
+ import { H as Ae, U as ie, G as se, K as Ve, W as qe } from "../../combobox-BD-GHvMy.js";
13
13
  import '../../assets/MultiSelectSearch.css';const xe = "_disabled_io0c8_5", De = "_container_io0c8_9", Pe = "_full_io0c8_27", Re = "_button_io0c8_39", Be = "_options_io0c8_53", Fe = "_visible_io0c8_66", Je = "_top_io0c8_69", je = "_bottom_io0c8_74", Ge = "_m_io0c8_2", He = "_l_io0c8_116", Ue = "_focused_io0c8_134", We = "_option_io0c8_53", Ke = "_chip_io0c8_163", $e = "_clear_io0c8_188", e = {
14
14
  "multi-select-search": "_multi-select-search_io0c8_2",
15
15
  disabled: xe,
@@ -1,10 +1,10 @@
1
1
  import { jsxs as ee, jsx as L, Fragment as _e } from "react/jsx-runtime";
2
- import { K as V, w as ye, a as oe, z as te, U as ie, b as ke, T as Oe, j as we, u as Pe, I as Ee, G as Te, p as De } from "../../label-y3ANLTNC.js";
3
- import { W, y as z, o as U, H as K, s as se, n as ne, $ as le, b as de, D as ue, a as Ce, u as Ge, c as N } from "../../keyboard-B0lm_zyn.js";
2
+ import { K as V, w as ye, a as oe, z as te, U as ie, b as ke, T as Oe, j as we, u as Pe, I as Ee, G as Te, p as De } from "../../label-DOlEWXBl.js";
3
+ import { W, y as z, o as U, H as K, s as se, n as ne, $ as le, b as de, D as ue, a as Ce, u as Ge, c as N } from "../../keyboard-CUMsrFX1.js";
4
4
  import E, { createContext as ce, useId as q, useReducer as xe, useRef as B, useMemo as T, useCallback as Fe, useContext as pe, forwardRef as Ne } from "react";
5
5
  import { u as Ae } from "../../use-by-comparator-CVuf9KBq.js";
6
6
  import { r as fe } from "../../bugs-diTMAGNw.js";
7
- import { P as re, F as H, T as ae, _ as Ie } from "../../focus-management-DE4t_lW3.js";
7
+ import { P as re, F as H, T as ae, _ as Ie } from "../../focus-management-Dp2_vbQ3.js";
8
8
  import { c as M } from "../../index-DIxK0V-G.js";
9
9
  import '../../assets/RadioGroup.css';var Se = ((e) => (e[e.RegisterOption = 0] = "RegisterOption", e[e.UnregisterOption = 1] = "UnregisterOption", e))(Se || {});
10
10
  let Le = { 0(e, r) {
@@ -7,7 +7,7 @@ import { Icon as O } from "../../icons/Icon.js";
7
7
  import { Button as Q } from "../Button/Button.js";
8
8
  import { I as B } from "../../Input-DAmc_HxO.js";
9
9
  import { EInputVariant as X } from "../Input/constants.js";
10
- import { H as Y, U as M, G as j, K as Z, W as ee } from "../../combobox-CVtJDVoZ.js";
10
+ import { H as Y, U as M, G as j, K as Z, W as ee } from "../../combobox-BD-GHvMy.js";
11
11
  import '../../assets/SelectSearch.css';const te = "_disabled_1bph7_6", oe = "_container_1bph7_13", ne = "_full_1bph7_28", se = "_button_1bph7_40", ae = "_options_1bph7_54", ie = "_top_1bph7_65", le = "_bottom_1bph7_71", re = "_m_1bph7_98", ce = "_l_1bph7_113", de = "_option_1bph7_54", pe = "_clear_1bph7_167", e = {
12
12
  "select-search": "_select-search_1bph7_2",
13
13
  disabled: te,
@@ -1,9 +1,9 @@
1
1
  import { jsxs as L, jsx as N } from "react/jsx-runtime";
2
- import { H as te } from "../../field-FJ34aSs4.js";
3
- import { K as I, w as re, z as se, U as ae, u as ce, a as le, b as oe, T as ie, I as ne, G as ue, j as he, p as me } from "../../label-y3ANLTNC.js";
4
- import { W as de, H as j, y as pe, p as fe, o as $, $ as be, b as we, D as _e, c as H } from "../../keyboard-B0lm_zyn.js";
2
+ import { H as te } from "../../field-BP5-U1Nr.js";
3
+ import { K as I, w as re, z as se, U as ae, u as ce, a as le, b as oe, T as ie, I as ne, G as ue, j as he, p as me } from "../../label-DOlEWXBl.js";
4
+ import { W as de, H as j, y as pe, p as fe, o as $, $ as be, b as we, D as _e, c as H } from "../../keyboard-CUMsrFX1.js";
5
5
  import u, { createContext as $e, useState as x, useMemo as G, useId as ge, useContext as ve, useRef as ke, useCallback as xe, Fragment as ye, forwardRef as Pe } from "react";
6
- import { w as Ce } from "../../use-active-press-86hajhdd.js";
6
+ import { w as Ce } from "../../use-active-press-BVQqDQ3V.js";
7
7
  import { e as De } from "../../use-resolve-button-type-DhFdPxnv.js";
8
8
  import { r as Fe } from "../../bugs-diTMAGNw.js";
9
9
  import { c as g } from "../../index-DIxK0V-G.js";
@@ -1,25 +1,20 @@
1
1
  import { jsxs as X, jsx as D } from "react/jsx-runtime";
2
- import { c as J } from "../../index-DIxK0V-G.js";
2
+ import { c as H } from "../../index-DIxK0V-G.js";
3
3
  import * as C from "react";
4
- import M, { useRef as z, useState as Q, createContext as ie, useReducer as ke, useMemo as R, useId as ue, useContext as ce, forwardRef as ye, useEffect as Z } from "react";
4
+ import M, { useState as K, createContext as ie, useReducer as ke, useMemo as R, useId as ue, useRef as Y, useContext as ce, forwardRef as ye, useEffect as Z } from "react";
5
5
  import { ETabTrailSize as Se } from "./constants.js";
6
6
  import { TabButtons as Ae } from "./TabButtons/TabButtons.js";
7
7
  import { ETabTrailButtonVariant as Fe } from "./TabButtons/constants.js";
8
8
  import { NotificationBadge as De } from "../NotificationBadge/NotificationBadge.js";
9
- import { n as U, M as oe, W as V, s as K, y as q, o as N, H, $ as de, b as Ne, D as fe, a as G, u as Re, c as I, t as Le } from "../../keyboard-B0lm_zyn.js";
10
- import { w as Oe } from "../../use-active-press-86hajhdd.js";
9
+ import { M as oe, W as z, s as j, y as U, o as N, n as Q, H as V, $ as de, b as Ne, D as fe, a as G, u as Re, c as I, t as Le } from "../../keyboard-CUMsrFX1.js";
10
+ import { w as Oe } from "../../use-active-press-BVQqDQ3V.js";
11
11
  import { e as Me } from "../../use-resolve-button-type-DhFdPxnv.js";
12
- import { T as pe, s as Ce } from "../../hidden-DbgtYPOH.js";
13
- import { _ as W, T as Y, P as O, F as P } from "../../focus-management-DE4t_lW3.js";
14
- import '../../assets/TabTrail.css';function Be() {
15
- let e = z(!1);
16
- return U(() => (e.current = !0, () => {
17
- e.current = !1;
18
- }), []), e;
19
- }
20
- function We({ onFocus: e }) {
21
- let [t, n] = Q(!0), r = Be();
22
- return t ? M.createElement(pe, { as: "button", type: "button", features: Ce.Focusable, onFocus: (s) => {
12
+ import { f as Ce } from "../../use-is-mounted-D7cq4xsa.js";
13
+ import { T as pe, s as Be } from "../../hidden-Dn4lM6EL.js";
14
+ import { _ as W, T as J, P as O, F as P } from "../../focus-management-Dp2_vbQ3.js";
15
+ import '../../assets/TabTrail.css';function We({ onFocus: e }) {
16
+ let [t, n] = K(!0), r = Ce();
17
+ return t ? M.createElement(pe, { as: "button", type: "button", features: Be.Focusable, onFocus: (s) => {
23
18
  s.preventDefault();
24
19
  let l, o = 50;
25
20
  function b() {
@@ -117,13 +112,13 @@ let Je = "div";
117
112
  function Ke(e, t) {
118
113
  let { defaultIndex: n = 0, vertical: r = !1, manual: s = !1, onChange: l, selectedIndex: o = null, ...b } = e;
119
114
  const T = r ? "vertical" : "horizontal", v = s ? "manual" : "auto";
120
- let d = o !== null, x = K({ isControlled: d }), _ = q(t), [i, c] = ke(je, { info: x, selectedIndex: o ?? n, tabs: [], panels: [] }), S = R(() => ({ selectedIndex: i.selectedIndex }), [i.selectedIndex]), A = K(l || (() => {
121
- })), h = K(i.tabs), f = R(() => ({ orientation: T, activation: v, ...i }), [T, v, i]), E = N((p) => (c({ type: 1, tab: p }), () => c({ type: 2, tab: p }))), F = N((p) => (c({ type: 3, panel: p }), () => c({ type: 4, panel: p }))), g = N((p) => {
115
+ let d = o !== null, x = j({ isControlled: d }), _ = U(t), [i, c] = ke(je, { info: x, selectedIndex: o ?? n, tabs: [], panels: [] }), S = R(() => ({ selectedIndex: i.selectedIndex }), [i.selectedIndex]), A = j(l || (() => {
116
+ })), h = j(i.tabs), f = R(() => ({ orientation: T, activation: v, ...i }), [T, v, i]), E = N((p) => (c({ type: 1, tab: p }), () => c({ type: 2, tab: p }))), F = N((p) => (c({ type: 3, panel: p }), () => c({ type: 4, panel: p }))), g = N((p) => {
122
117
  a.current !== p && A.current(p), d || c({ type: 0, index: p });
123
- }), a = K(d ? e.selectedIndex : i.selectedIndex), m = R(() => ({ registerTab: E, registerPanel: F, change: g }), []);
124
- U(() => {
118
+ }), a = j(d ? e.selectedIndex : i.selectedIndex), m = R(() => ({ registerTab: E, registerPanel: F, change: g }), []);
119
+ Q(() => {
125
120
  c({ type: 0, index: o ?? n });
126
- }, [o]), U(() => {
121
+ }, [o]), Q(() => {
127
122
  if (a.current === void 0 || i.tabs.length <= 0) return;
128
123
  let p = W(i.tabs, (y) => y.current);
129
124
  p.some((y, L) => i.tabs[L] !== y) && g(p.indexOf(i.tabs[a.current]));
@@ -133,30 +128,30 @@ function Ke(e, t) {
133
128
  var p, y;
134
129
  for (let L of h.current) if (((p = L.current) == null ? void 0 : p.tabIndex) === 0) return (y = L.current) == null || y.focus(), !0;
135
130
  return !1;
136
- } }), H({ ourProps: k, theirProps: b, slot: S, defaultTag: Je, name: "Tabs" }))));
131
+ } }), V({ ourProps: k, theirProps: b, slot: S, defaultTag: Je, name: "Tabs" }))));
137
132
  }
138
133
  let Ye = "div";
139
134
  function Qe(e, t) {
140
- let { orientation: n, selectedIndex: r } = B("Tab.List"), s = q(t), l = R(() => ({ selectedIndex: r }), [r]);
141
- return H({ ourProps: { ref: s, role: "tablist", "aria-orientation": n }, theirProps: e, slot: l, defaultTag: Ye, name: "Tabs.List" });
135
+ let { orientation: n, selectedIndex: r } = B("Tab.List"), s = U(t), l = R(() => ({ selectedIndex: r }), [r]);
136
+ return V({ ourProps: { ref: s, role: "tablist", "aria-orientation": n }, theirProps: e, slot: l, defaultTag: Ye, name: "Tabs.List" });
142
137
  }
143
138
  let Xe = "button";
144
139
  function Ze(e, t) {
145
140
  var n, r;
146
- let s = ue(), { id: l = `headlessui-tabs-tab-${s}`, disabled: o = !1, autoFocus: b = !1, ...T } = e, { orientation: v, activation: d, selectedIndex: x, tabs: _, panels: i } = B("Tab"), c = re("Tab"), S = B("Tab"), [A, h] = Q(null), f = z(null), E = q(f, t, h);
147
- U(() => c.registerTab(f), [c, f]);
141
+ let s = ue(), { id: l = `headlessui-tabs-tab-${s}`, disabled: o = !1, autoFocus: b = !1, ...T } = e, { orientation: v, activation: d, selectedIndex: x, tabs: _, panels: i } = B("Tab"), c = re("Tab"), S = B("Tab"), [A, h] = K(null), f = Y(null), E = U(f, t, h);
142
+ Q(() => c.registerTab(f), [c, f]);
148
143
  let F = me("tabs"), g = _.indexOf(f);
149
144
  g === -1 && (g = F);
150
145
  let a = g === x, m = N((u) => {
151
146
  var $;
152
- let j = u();
153
- if (j === Y.Success && d === "auto") {
147
+ let q = u();
148
+ if (q === J.Success && d === "auto") {
154
149
  let _e = ($ = Re(f)) == null ? void 0 : $.activeElement, le = S.tabs.findIndex((Ee) => Ee.current === _e);
155
150
  le !== -1 && c.change(le);
156
151
  }
157
- return j;
152
+ return q;
158
153
  }), k = N((u) => {
159
- let $ = _.map((j) => j.current).filter(Boolean);
154
+ let $ = _.map((q) => q.current).filter(Boolean);
160
155
  if (u.key === I.Space || u.key === I.Enter) {
161
156
  u.preventDefault(), u.stopPropagation(), c.change(g);
162
157
  return;
@@ -170,11 +165,11 @@ function Ze(e, t) {
170
165
  return u.preventDefault(), u.stopPropagation(), m(() => O($, P.Last));
171
166
  }
172
167
  if (m(() => G(v, { vertical() {
173
- return u.key === I.ArrowUp ? O($, P.Previous | P.WrapAround) : u.key === I.ArrowDown ? O($, P.Next | P.WrapAround) : Y.Error;
168
+ return u.key === I.ArrowUp ? O($, P.Previous | P.WrapAround) : u.key === I.ArrowDown ? O($, P.Next | P.WrapAround) : J.Error;
174
169
  }, horizontal() {
175
- return u.key === I.ArrowLeft ? O($, P.Previous | P.WrapAround) : u.key === I.ArrowRight ? O($, P.Next | P.WrapAround) : Y.Error;
176
- } })) === Y.Success) return u.preventDefault();
177
- }), p = z(!1), y = N(() => {
170
+ return u.key === I.ArrowLeft ? O($, P.Previous | P.WrapAround) : u.key === I.ArrowRight ? O($, P.Next | P.WrapAround) : J.Error;
171
+ } })) === J.Success) return u.preventDefault();
172
+ }), p = Y(!1), y = N(() => {
178
173
  var u;
179
174
  p.current || (p.current = !0, (u = f.current) == null || u.focus({ preventScroll: !0 }), c.change(g), Le(() => {
180
175
  p.current = !1;
@@ -182,24 +177,24 @@ function Ze(e, t) {
182
177
  }), L = N((u) => {
183
178
  u.preventDefault();
184
179
  }), { isFocusVisible: ne, focusProps: Te } = de({ autoFocus: b }), { isHovered: ae, hoverProps: Ie } = Ne({ isDisabled: o }), { pressed: se, pressProps: Pe } = Oe({ disabled: o }), we = R(() => ({ selected: a, hover: ae, active: se, focus: ne, autofocus: b, disabled: o }), [a, ae, ne, se, b, o]), $e = fe({ ref: E, onKeyDown: k, onMouseDown: L, onClick: y, id: l, role: "tab", type: Me(e, A), "aria-controls": (r = (n = i[g]) == null ? void 0 : n.current) == null ? void 0 : r.id, "aria-selected": a, tabIndex: a ? 0 : -1, disabled: o || void 0, autoFocus: b }, Te, Ie, Pe);
185
- return H({ ourProps: $e, theirProps: T, slot: we, defaultTag: Xe, name: "Tabs.Tab" });
180
+ return V({ ourProps: $e, theirProps: T, slot: we, defaultTag: Xe, name: "Tabs.Tab" });
186
181
  }
187
182
  let et = "div";
188
183
  function tt(e, t) {
189
- let { selectedIndex: n } = B("Tab.Panels"), r = q(t), s = R(() => ({ selectedIndex: n }), [n]);
190
- return H({ ourProps: { ref: r }, theirProps: e, slot: s, defaultTag: et, name: "Tabs.Panels" });
184
+ let { selectedIndex: n } = B("Tab.Panels"), r = U(t), s = R(() => ({ selectedIndex: n }), [n]);
185
+ return V({ ourProps: { ref: r }, theirProps: e, slot: s, defaultTag: et, name: "Tabs.Panels" });
191
186
  }
192
187
  let rt = "div", nt = oe.RenderStrategy | oe.Static;
193
188
  function at(e, t) {
194
189
  var n, r, s, l;
195
- let o = ue(), { id: b = `headlessui-tabs-panel-${o}`, tabIndex: T = 0, ...v } = e, { selectedIndex: d, tabs: x, panels: _ } = B("Tab.Panel"), i = re("Tab.Panel"), c = z(null), S = q(c, t);
196
- U(() => i.registerPanel(c), [i, c]);
190
+ let o = ue(), { id: b = `headlessui-tabs-panel-${o}`, tabIndex: T = 0, ...v } = e, { selectedIndex: d, tabs: x, panels: _ } = B("Tab.Panel"), i = re("Tab.Panel"), c = Y(null), S = U(c, t);
191
+ Q(() => i.registerPanel(c), [i, c]);
197
192
  let A = me("panels"), h = _.indexOf(c);
198
193
  h === -1 && (h = A);
199
194
  let f = h === d, { isFocusVisible: E, focusProps: F } = de(), g = R(() => ({ selected: f, focus: E }), [f, E]), a = fe({ ref: S, id: b, role: "tabpanel", "aria-labelledby": (r = (n = x[h]) == null ? void 0 : n.current) == null ? void 0 : r.id, tabIndex: f ? T : -1 }, F);
200
- return !f && ((s = v.unmount) == null || s) && !((l = v.static) != null && l) ? M.createElement(pe, { "aria-hidden": "true", ...a }) : H({ ourProps: a, theirProps: v, slot: g, defaultTag: rt, features: nt, visible: f, name: "Tabs.Panel" });
195
+ return !f && ((s = v.unmount) == null || s) && !((l = v.static) != null && l) ? M.createElement(pe, { "aria-hidden": "true", ...a }) : V({ ourProps: a, theirProps: v, slot: g, defaultTag: rt, features: nt, visible: f, name: "Tabs.Panel" });
201
196
  }
202
- let st = V(Ze), ve = V(Ke), xe = V(Qe), he = V(tt), ge = V(at), lt = Object.assign(st, { Group: ve, List: xe, Panels: he, Panel: ge });
197
+ let st = z(Ze), ve = z(Ke), xe = z(Qe), he = z(tt), ge = z(at), lt = Object.assign(st, { Group: ve, List: xe, Panels: he, Panel: ge });
203
198
  const ot = "_container_rlke5_2", it = "_group_rlke5_6", ut = "_tab_rlke5_16", ct = "_list_rlke5_51", dt = "_tabs_rlke5_62", ft = "_buttons_rlke5_68", pt = "_m_rlke5_75", bt = "_s_rlke5_83", w = {
204
199
  container: ot,
205
200
  group: it,
@@ -210,7 +205,7 @@ const ot = "_container_rlke5_2", it = "_group_rlke5_6", ut = "_tab_rlke5_16", ct
210
205
  buttons: ft,
211
206
  m: pt,
212
207
  s: bt
213
- }, kt = ye(
208
+ }, yt = ye(
214
209
  ({
215
210
  categories: e,
216
211
  size: t = Se.M,
@@ -225,7 +220,7 @@ const ot = "_container_rlke5_2", it = "_group_rlke5_6", ut = "_tab_rlke5_16", ct
225
220
  panelClassName: d,
226
221
  buttonsClassName: x
227
222
  }, _) => {
228
- const [i, c] = Q(s || 0), [S, A] = Q(!1), h = z(null);
223
+ const [i, c] = K(s || 0), [S, A] = K(!1), h = Y(null);
229
224
  Z(() => {
230
225
  s !== void 0 && s !== i && c(s);
231
226
  }, [i, s]);
@@ -262,7 +257,7 @@ const ot = "_container_rlke5_2", it = "_group_rlke5_6", ut = "_tab_rlke5_16", ct
262
257
  ve,
263
258
  {
264
259
  ref: _,
265
- className: J(w.group, w[t], r),
260
+ className: H(w.group, w[t], r),
266
261
  selectedIndex: i,
267
262
  onChange: f,
268
263
  children: [
@@ -271,7 +266,7 @@ const ot = "_container_rlke5_2", it = "_group_rlke5_6", ut = "_tab_rlke5_16", ct
271
266
  xe,
272
267
  {
273
268
  ref: h,
274
- className: J(w.list, v),
269
+ className: H(w.list, v),
275
270
  children: /* @__PURE__ */ D("div", { className: w.tabs, children: e.map(({ name: a, notificationCount: m }, k) => /* @__PURE__ */ X(
276
271
  lt,
277
272
  {
@@ -286,7 +281,7 @@ const ot = "_container_rlke5_2", it = "_group_rlke5_6", ut = "_tab_rlke5_16", ct
286
281
  )) })
287
282
  }
288
283
  ),
289
- g && /* @__PURE__ */ D("div", { className: J(w.buttons, x), children: /* @__PURE__ */ D(
284
+ g && /* @__PURE__ */ D("div", { className: H(w.buttons, x), children: /* @__PURE__ */ D(
290
285
  Ae,
291
286
  {
292
287
  handlePrevTab: F,
@@ -298,7 +293,7 @@ const ot = "_container_rlke5_2", it = "_group_rlke5_6", ut = "_tab_rlke5_16", ct
298
293
  /* @__PURE__ */ D(he, { className: w.panels, children: e.map(({ name: a, content: m }) => /* @__PURE__ */ D(
299
294
  ge,
300
295
  {
301
- className: J(w.panel, d),
296
+ className: H(w.panel, d),
302
297
  children: m
303
298
  },
304
299
  a
@@ -309,5 +304,5 @@ const ot = "_container_rlke5_2", it = "_group_rlke5_6", ut = "_tab_rlke5_16", ct
309
304
  }
310
305
  );
311
306
  export {
312
- kt as TabTrail
307
+ yt as TabTrail
313
308
  };
@@ -1,6 +1,6 @@
1
1
  import l, { useId as u, useMemo as f } from "react";
2
- import { z as p, U as h, a as v, l as E, f as b, W as $ } from "./label-y3ANLTNC.js";
3
- import { W as H, H as W } from "./keyboard-B0lm_zyn.js";
2
+ import { z as p, U as h, a as v, l as E, f as b, W as $ } from "./label-DOlEWXBl.js";
3
+ import { W as H, H as W } from "./keyboard-CUMsrFX1.js";
4
4
  let P = "div";
5
5
  function _(a, i) {
6
6
  let d = `headlessui-control-${u()}`, [o, n] = p(), [m, s] = h(), c = v(), { disabled: e = c || !1, ...t } = a, r = f(() => ({ disabled: e }), [e]);
@@ -1,4 +1,4 @@
1
- import { u as N, a as v } from "./keyboard-B0lm_zyn.js";
1
+ import { u as N, a as v } from "./keyboard-CUMsrFX1.js";
2
2
  let m = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), F = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
3
3
  var h = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(h || {}), x = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(x || {}), A = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(A || {});
4
4
  function y(e = document.body) {
@@ -1,4 +1,4 @@
1
- import { W as t, H as a } from "./keyboard-B0lm_zyn.js";
1
+ import { W as t, H as a } from "./keyboard-CUMsrFX1.js";
2
2
  let l = "span";
3
3
  var p = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(p || {});
4
4
  function s(e, n) {
@@ -555,13 +555,15 @@ export {
555
555
  Ve as H,
556
556
  Ke as I,
557
557
  De as M,
558
+ Oe as O,
558
559
  _e as T,
559
560
  Re as W,
560
561
  X as a,
561
562
  Ce as b,
562
563
  je as c,
563
564
  Q as d,
564
- J as e,
565
+ K as e,
566
+ J as f,
565
567
  E as m,
566
568
  Se as n,
567
569
  ke as o,
@@ -1,7 +1,7 @@
1
1
  import c, { createContext as v, useContext as p, useState as h, useRef as C, useEffect as N, useMemo as m, useId as O } from "react";
2
- import { o as y, p as z, m as K, W as w, y as j, n as H, H as L } from "./keyboard-B0lm_zyn.js";
2
+ import { o as y, p as z, m as K, W as w, y as j, n as H, H as L } from "./keyboard-CUMsrFX1.js";
3
3
  import { createPortal as J } from "react-dom";
4
- import { T as P, s as S } from "./hidden-DbgtYPOH.js";
4
+ import { T as P, s as S } from "./hidden-Dn4lM6EL.js";
5
5
  let A = v(void 0);
6
6
  function D() {
7
7
  return p(A);
@@ -1,5 +1,5 @@
1
1
  import h, { useState as F, useCallback as c, useRef as m, createContext as A, useContext as E } from "react";
2
- import { p as x, n as O, d as y } from "./keyboard-B0lm_zyn.js";
2
+ import { p as x, n as O, d as y } from "./keyboard-CUMsrFX1.js";
3
3
  function k(e = 0) {
4
4
  let [t, n] = F(e), l = c((o) => n(o), [t]), s = c((o) => n((u) => u | o), [t]), r = c((o) => (t & o) === o, [t]), a = c((o) => n((u) => u & ~o), [n]), i = c((o) => n((u) => u ^ o), [n]);
5
5
  return { flags: t, setFlag: l, addFlag: s, hasFlag: r, removeFlag: a, toggleFlag: i };
@@ -24,13 +24,13 @@ function R(e, t, n, l) {
24
24
  n && i(3);
25
25
  return;
26
26
  }
27
- return (f = void 0) == null || f.call(l, n), $(t, { inFlight: u, prepare() {
27
+ return (f = l == null ? void 0 : l.start) == null || f.call(l, n), $(t, { inFlight: u, prepare() {
28
28
  d.current ? d.current = !1 : d.current = u.current, u.current = !0, !d.current && (n ? (i(3), o(4)) : (i(4), o(2)));
29
29
  }, run() {
30
30
  d.current ? n ? (o(3), i(4)) : (o(4), i(3)) : n ? o(1) : i(1);
31
31
  }, done() {
32
32
  var g;
33
- d.current && typeof t.getAnimations == "function" && t.getAnimations().length > 0 || (u.current = !1, o(7), n || r(!1), (g = void 0) == null || g.call(l, n));
33
+ d.current && typeof t.getAnimations == "function" && t.getAnimations().length > 0 || (u.current = !1, o(7), n || r(!1), (g = l == null ? void 0 : l.end) == null || g.call(l, n));
34
34
  } });
35
35
  }
36
36
  }, [e, n, t, C]), e ? [s, { closed: a(1), enter: a(2), leave: a(4), transition: a(2) || a(4) }] : [n, { closed: void 0, enter: void 0, leave: void 0, transition: void 0 }];