@cfx-dev/ui-components 5.0.15 → 5.0.17

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.
@@ -20,18 +20,18 @@ var On = a.forwardRef((e, t) => {
20
20
  orientation: o,
21
21
  loop: r = !1,
22
22
  dir: c,
23
- currentTabStopId: i,
23
+ currentTabStopId: d,
24
24
  defaultCurrentTabStopId: l,
25
- onCurrentTabStopIdChange: v,
26
- onEntryFocus: p,
27
- preventScrollOnEntryFocus: d = !1,
28
- ...u
25
+ onCurrentTabStopIdChange: m,
26
+ onEntryFocus: v,
27
+ preventScrollOnEntryFocus: u = !1,
28
+ ...i
29
29
  } = e, f = a.useRef(null), _ = U(t, f), w = Te(c), [b, M] = ye({
30
- prop: i,
30
+ prop: d,
31
31
  defaultProp: l ?? null,
32
- onChange: v,
32
+ onChange: m,
33
33
  caller: Z
34
- }), [R, T] = a.useState(!1), h = ve(p), D = Ne(n), B = a.useRef(!1), [Q, O] = a.useState(0);
34
+ }), [R, T] = a.useState(!1), h = ve(v), D = Ne(n), B = a.useRef(!1), [Q, O] = a.useState(0);
35
35
  return a.useEffect(() => {
36
36
  const C = f.current;
37
37
  if (C)
@@ -62,7 +62,7 @@ var On = a.forwardRef((e, t) => {
62
62
  {
63
63
  tabIndex: R || Q === 0 ? -1 : 0,
64
64
  "data-orientation": o,
65
- ...u,
65
+ ...i,
66
66
  ref: _,
67
67
  style: { outline: "none", ...e.style },
68
68
  onMouseDown: g(e.onMouseDown, () => {
@@ -76,7 +76,7 @@ var On = a.forwardRef((e, t) => {
76
76
  const V = D().filter((P) => P.focusable), W = V.find((P) => P.active), ee = V.find((P) => P.id === b), se = [W, ee, ...V].filter(
77
77
  Boolean
78
78
  ).map((P) => P.ref.current);
79
- Le(se, d);
79
+ Le(se, u);
80
80
  }
81
81
  }
82
82
  B.current = !1;
@@ -93,9 +93,9 @@ var On = a.forwardRef((e, t) => {
93
93
  focusable: o = !0,
94
94
  active: r = !1,
95
95
  tabStopId: c,
96
- children: i,
96
+ children: d,
97
97
  ...l
98
- } = e, v = le(), p = c || v, d = Nn(ke, n), u = d.currentTabStopId === p, f = Ne(n), { onFocusableItemAdd: _, onFocusableItemRemove: w, currentTabStopId: b } = d;
98
+ } = e, m = le(), v = c || m, u = Nn(ke, n), i = u.currentTabStopId === v, f = Ne(n), { onFocusableItemAdd: _, onFocusableItemRemove: w, currentTabStopId: b } = u;
99
99
  return a.useEffect(() => {
100
100
  if (o)
101
101
  return _(), () => w();
@@ -103,27 +103,27 @@ var On = a.forwardRef((e, t) => {
103
103
  fe.ItemSlot,
104
104
  {
105
105
  scope: n,
106
- id: p,
106
+ id: v,
107
107
  focusable: o,
108
108
  active: r,
109
109
  children: /* @__PURE__ */ s(
110
110
  N.span,
111
111
  {
112
- tabIndex: u ? 0 : -1,
113
- "data-orientation": d.orientation,
112
+ tabIndex: i ? 0 : -1,
113
+ "data-orientation": u.orientation,
114
114
  ...l,
115
115
  ref: t,
116
116
  onMouseDown: g(e.onMouseDown, (M) => {
117
- o ? d.onItemFocus(p) : M.preventDefault();
117
+ o ? u.onItemFocus(v) : M.preventDefault();
118
118
  }),
119
- onFocus: g(e.onFocus, () => d.onItemFocus(p)),
119
+ onFocus: g(e.onFocus, () => u.onItemFocus(v)),
120
120
  onKeyDown: g(e.onKeyDown, (M) => {
121
121
  if (M.key === "Tab" && M.shiftKey) {
122
- d.onItemShiftTab();
122
+ u.onItemShiftTab();
123
123
  return;
124
124
  }
125
125
  if (M.target !== M.currentTarget) return;
126
- const R = Gn(M, d.orientation, d.dir);
126
+ const R = Gn(M, u.orientation, u.dir);
127
127
  if (R !== void 0) {
128
128
  if (M.metaKey || M.ctrlKey || M.altKey || M.shiftKey) return;
129
129
  M.preventDefault();
@@ -132,12 +132,12 @@ var On = a.forwardRef((e, t) => {
132
132
  else if (R === "prev" || R === "next") {
133
133
  R === "prev" && h.reverse();
134
134
  const D = h.indexOf(M.currentTarget);
135
- h = d.loop ? Ln(h, D + 1) : h.slice(D + 1);
135
+ h = u.loop ? Ln(h, D + 1) : h.slice(D + 1);
136
136
  }
137
137
  setTimeout(() => Le(h));
138
138
  }
139
139
  }),
140
- children: typeof i == "function" ? i({ isCurrentTabStop: u, hasTabStop: b != null }) : i
140
+ children: typeof d == "function" ? d({ isCurrentTabStop: i, hasTabStop: b != null }) : d
141
141
  }
142
142
  )
143
143
  }
@@ -182,11 +182,11 @@ var Kn = Fe, Un = Ge, pe = ["Enter", " "], $n = ["ArrowDown", "PageUp", "Home"],
182
182
  Ae,
183
183
  Oe
184
184
  ]), re = Ae(), $e = Oe(), [Hn, $] = k(q), [jn, J] = k(q), Be = (e) => {
185
- const { __scopeMenu: t, open: n = !1, children: o, dir: r, onOpenChange: c, modal: i = !0 } = e, l = re(t), [v, p] = a.useState(null), d = a.useRef(!1), u = ve(c), f = Te(r);
185
+ const { __scopeMenu: t, open: n = !1, children: o, dir: r, onOpenChange: c, modal: d = !0 } = e, l = re(t), [m, v] = a.useState(null), u = a.useRef(!1), i = ve(c), f = Te(r);
186
186
  return a.useEffect(() => {
187
187
  const _ = () => {
188
- d.current = !0, document.addEventListener("pointerdown", w, { capture: !0, once: !0 }), document.addEventListener("pointermove", w, { capture: !0, once: !0 });
189
- }, w = () => d.current = !1;
188
+ u.current = !0, document.addEventListener("pointerdown", w, { capture: !0, once: !0 }), document.addEventListener("pointermove", w, { capture: !0, once: !0 });
189
+ }, w = () => u.current = !1;
190
190
  return document.addEventListener("keydown", _, { capture: !0 }), () => {
191
191
  document.removeEventListener("keydown", _, { capture: !0 }), document.removeEventListener("pointerdown", w, { capture: !0 }), document.removeEventListener("pointermove", w, { capture: !0 });
192
192
  };
@@ -195,17 +195,17 @@ var Kn = Fe, Un = Ge, pe = ["Enter", " "], $n = ["ArrowDown", "PageUp", "Home"],
195
195
  {
196
196
  scope: t,
197
197
  open: n,
198
- onOpenChange: u,
199
- content: v,
200
- onContentChange: p,
198
+ onOpenChange: i,
199
+ content: m,
200
+ onContentChange: v,
201
201
  children: /* @__PURE__ */ s(
202
202
  jn,
203
203
  {
204
204
  scope: t,
205
- onClose: a.useCallback(() => u(!1), [u]),
206
- isUsingKeyboardRef: d,
205
+ onClose: a.useCallback(() => i(!1), [i]),
206
+ isUsingKeyboardRef: u,
207
207
  dir: f,
208
- modal: i,
208
+ modal: d,
209
209
  children: o
210
210
  }
211
211
  )
@@ -224,8 +224,8 @@ var Zn = "MenuPortal", [vo, Ve] = k(Zn, {
224
224
  forceMount: void 0
225
225
  }), S = "MenuContent", [qn, _e] = k(S), We = a.forwardRef(
226
226
  (e, t) => {
227
- const n = Ve(S, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, c = $(S, e.__scopeMenu), i = J(S, e.__scopeMenu);
228
- return /* @__PURE__ */ s(j.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(ge, { present: o || c.open, children: /* @__PURE__ */ s(j.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ s(Jn, { ...r, ref: t }) : /* @__PURE__ */ s(Qn, { ...r, ref: t }) }) }) });
227
+ const n = Ve(S, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, c = $(S, e.__scopeMenu), d = J(S, e.__scopeMenu);
228
+ return /* @__PURE__ */ s(j.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(ge, { present: o || c.open, children: /* @__PURE__ */ s(j.Slot, { scope: e.__scopeMenu, children: d.modal ? /* @__PURE__ */ s(Jn, { ...r, ref: t }) : /* @__PURE__ */ s(Qn, { ...r, ref: t }) }) }) });
229
229
  }
230
230
  ), Jn = a.forwardRef(
231
231
  (e, t) => {
@@ -270,27 +270,27 @@ var Zn = "MenuPortal", [vo, Ve] = k(Zn, {
270
270
  loop: o = !1,
271
271
  trapFocus: r,
272
272
  onOpenAutoFocus: c,
273
- onCloseAutoFocus: i,
273
+ onCloseAutoFocus: d,
274
274
  disableOutsidePointerEvents: l,
275
- onEntryFocus: v,
276
- onEscapeKeyDown: p,
277
- onPointerDownOutside: d,
278
- onFocusOutside: u,
275
+ onEntryFocus: m,
276
+ onEscapeKeyDown: v,
277
+ onPointerDownOutside: u,
278
+ onFocusOutside: i,
279
279
  onInteractOutside: f,
280
280
  onDismiss: _,
281
281
  disableOutsideScroll: w,
282
282
  ...b
283
- } = e, M = $(S, n), R = J(S, n), T = re(n), h = $e(n), D = Yn(n), [B, Q] = a.useState(null), O = a.useRef(null), C = U(t, O, M.onContentChange), G = a.useRef(0), F = a.useRef(""), V = a.useRef(0), W = a.useRef(null), ee = a.useRef("right"), ne = a.useRef(0), se = w ? Cn : a.Fragment, P = w ? { as: et, allowPinchZoom: !0 } : void 0, vn = (m) => {
283
+ } = e, M = $(S, n), R = J(S, n), T = re(n), h = $e(n), D = Yn(n), [B, Q] = a.useState(null), O = a.useRef(null), C = U(t, O, M.onContentChange), G = a.useRef(0), F = a.useRef(""), V = a.useRef(0), W = a.useRef(null), ee = a.useRef("right"), ne = a.useRef(0), se = w ? Cn : a.Fragment, P = w ? { as: et, allowPinchZoom: !0 } : void 0, vn = (p) => {
284
284
  var K, be;
285
- const E = F.current + m, y = D().filter((x) => !x.disabled), A = document.activeElement, ue = (K = y.find((x) => x.ref.current === A)) == null ? void 0 : K.textValue, ie = y.map((x) => x.textValue), Ie = ft(ie, E, ue), Y = (be = y.find((x) => x.textValue === Ie)) == null ? void 0 : be.ref.current;
285
+ const E = F.current + p, y = D().filter((x) => !x.disabled), A = document.activeElement, ue = (K = y.find((x) => x.ref.current === A)) == null ? void 0 : K.textValue, ie = y.map((x) => x.textValue), Ie = ft(ie, E, ue), Y = (be = y.find((x) => x.textValue === Ie)) == null ? void 0 : be.ref.current;
286
286
  (function x(Ee) {
287
287
  F.current = Ee, window.clearTimeout(G.current), Ee !== "" && (G.current = window.setTimeout(() => x(""), 1e3));
288
288
  })(E), Y && setTimeout(() => Y.focus());
289
289
  };
290
290
  a.useEffect(() => () => window.clearTimeout(G.current), []), hn();
291
- const L = a.useCallback((m) => {
291
+ const L = a.useCallback((p) => {
292
292
  var y, A;
293
- return ee.current === ((y = W.current) == null ? void 0 : y.side) && mt(m, (A = W.current) == null ? void 0 : A.area);
293
+ return ee.current === ((y = W.current) == null ? void 0 : y.side) && mt(p, (A = W.current) == null ? void 0 : A.area);
294
294
  }, []);
295
295
  return /* @__PURE__ */ s(
296
296
  qn,
@@ -298,46 +298,46 @@ var Zn = "MenuPortal", [vo, Ve] = k(Zn, {
298
298
  scope: n,
299
299
  searchRef: F,
300
300
  onItemEnter: a.useCallback(
301
- (m) => {
302
- L(m) && m.preventDefault();
301
+ (p) => {
302
+ L(p) && p.preventDefault();
303
303
  },
304
304
  [L]
305
305
  ),
306
306
  onItemLeave: a.useCallback(
307
- (m) => {
307
+ (p) => {
308
308
  var E;
309
- L(m) || ((E = O.current) == null || E.focus(), Q(null));
309
+ L(p) || ((E = O.current) == null || E.focus(), Q(null));
310
310
  },
311
311
  [L]
312
312
  ),
313
313
  onTriggerLeave: a.useCallback(
314
- (m) => {
315
- L(m) && m.preventDefault();
314
+ (p) => {
315
+ L(p) && p.preventDefault();
316
316
  },
317
317
  [L]
318
318
  ),
319
319
  pointerGraceTimerRef: V,
320
- onPointerGraceIntentChange: a.useCallback((m) => {
321
- W.current = m;
320
+ onPointerGraceIntentChange: a.useCallback((p) => {
321
+ W.current = p;
322
322
  }, []),
323
323
  children: /* @__PURE__ */ s(se, { ...P, children: /* @__PURE__ */ s(
324
324
  Rn,
325
325
  {
326
326
  asChild: !0,
327
327
  trapped: r,
328
- onMountAutoFocus: g(c, (m) => {
328
+ onMountAutoFocus: g(c, (p) => {
329
329
  var E;
330
- m.preventDefault(), (E = O.current) == null || E.focus({ preventScroll: !0 });
330
+ p.preventDefault(), (E = O.current) == null || E.focus({ preventScroll: !0 });
331
331
  }),
332
- onUnmountAutoFocus: i,
332
+ onUnmountAutoFocus: d,
333
333
  children: /* @__PURE__ */ s(
334
334
  In,
335
335
  {
336
336
  asChild: !0,
337
337
  disableOutsidePointerEvents: l,
338
- onEscapeKeyDown: p,
339
- onPointerDownOutside: d,
340
- onFocusOutside: u,
338
+ onEscapeKeyDown: v,
339
+ onPointerDownOutside: u,
340
+ onFocusOutside: i,
341
341
  onInteractOutside: f,
342
342
  onDismiss: _,
343
343
  children: /* @__PURE__ */ s(
@@ -350,8 +350,8 @@ var Zn = "MenuPortal", [vo, Ve] = k(Zn, {
350
350
  loop: o,
351
351
  currentTabStopId: B,
352
352
  onCurrentTabStopIdChange: Q,
353
- onEntryFocus: g(v, (m) => {
354
- R.isUsingKeyboardRef.current || m.preventDefault();
353
+ onEntryFocus: g(m, (p) => {
354
+ R.isUsingKeyboardRef.current || p.preventDefault();
355
355
  }),
356
356
  preventScrollOnEntryFocus: !0,
357
357
  children: /* @__PURE__ */ s(
@@ -366,25 +366,25 @@ var Zn = "MenuPortal", [vo, Ve] = k(Zn, {
366
366
  ...b,
367
367
  ref: C,
368
368
  style: { outline: "none", ...b.style },
369
- onKeyDown: g(b.onKeyDown, (m) => {
370
- const y = m.target.closest("[data-radix-menu-content]") === m.currentTarget, A = m.ctrlKey || m.altKey || m.metaKey, ue = m.key.length === 1;
371
- y && (m.key === "Tab" && m.preventDefault(), !A && ue && vn(m.key));
369
+ onKeyDown: g(b.onKeyDown, (p) => {
370
+ const y = p.target.closest("[data-radix-menu-content]") === p.currentTarget, A = p.ctrlKey || p.altKey || p.metaKey, ue = p.key.length === 1;
371
+ y && (p.key === "Tab" && p.preventDefault(), !A && ue && vn(p.key));
372
372
  const ie = O.current;
373
- if (m.target !== ie || !Bn.includes(m.key)) return;
374
- m.preventDefault();
373
+ if (p.target !== ie || !Bn.includes(p.key)) return;
374
+ p.preventDefault();
375
375
  const Y = D().filter((K) => !K.disabled).map((K) => K.ref.current);
376
- Ke.includes(m.key) && Y.reverse(), dt(Y);
376
+ Ke.includes(p.key) && Y.reverse(), dt(Y);
377
377
  }),
378
- onBlur: g(e.onBlur, (m) => {
379
- m.currentTarget.contains(m.target) || (window.clearTimeout(G.current), F.current = "");
378
+ onBlur: g(e.onBlur, (p) => {
379
+ p.currentTarget.contains(p.target) || (window.clearTimeout(G.current), F.current = "");
380
380
  }),
381
381
  onPointerMove: g(
382
382
  e.onPointerMove,
383
- z((m) => {
384
- const E = m.target, y = ne.current !== m.clientX;
385
- if (m.currentTarget.contains(E) && y) {
386
- const A = m.clientX > ne.current ? "right" : "left";
387
- ee.current = A, ne.current = m.clientX;
383
+ z((p) => {
384
+ const E = p.target, y = ne.current !== p.clientX;
385
+ if (p.currentTarget.contains(E) && y) {
386
+ const A = p.clientX > ne.current ? "right" : "left";
387
+ ee.current = A, ne.current = p.clientX;
388
388
  }
389
389
  })
390
390
  )
@@ -417,31 +417,31 @@ var tt = "MenuLabel", Ye = a.forwardRef(
417
417
  Ye.displayName = tt;
418
418
  var te = "MenuItem", De = "menu.itemSelect", ae = a.forwardRef(
419
419
  (e, t) => {
420
- const { disabled: n = !1, onSelect: o, ...r } = e, c = a.useRef(null), i = J(te, e.__scopeMenu), l = _e(te, e.__scopeMenu), v = U(t, c), p = a.useRef(!1), d = () => {
421
- const u = c.current;
422
- if (!n && u) {
420
+ const { disabled: n = !1, onSelect: o, ...r } = e, c = a.useRef(null), d = J(te, e.__scopeMenu), l = _e(te, e.__scopeMenu), m = U(t, c), v = a.useRef(!1), u = () => {
421
+ const i = c.current;
422
+ if (!n && i) {
423
423
  const f = new CustomEvent(De, { bubbles: !0, cancelable: !0 });
424
- u.addEventListener(De, (_) => o == null ? void 0 : o(_), { once: !0 }), wn(u, f), f.defaultPrevented ? p.current = !1 : i.onClose();
424
+ i.addEventListener(De, (_) => o == null ? void 0 : o(_), { once: !0 }), wn(i, f), f.defaultPrevented ? v.current = !1 : d.onClose();
425
425
  }
426
426
  };
427
427
  return /* @__PURE__ */ s(
428
428
  Xe,
429
429
  {
430
430
  ...r,
431
- ref: v,
431
+ ref: m,
432
432
  disabled: n,
433
- onClick: g(e.onClick, d),
434
- onPointerDown: (u) => {
433
+ onClick: g(e.onClick, u),
434
+ onPointerDown: (i) => {
435
435
  var f;
436
- (f = e.onPointerDown) == null || f.call(e, u), p.current = !0;
436
+ (f = e.onPointerDown) == null || f.call(e, i), v.current = !0;
437
437
  },
438
- onPointerUp: g(e.onPointerUp, (u) => {
438
+ onPointerUp: g(e.onPointerUp, (i) => {
439
439
  var f;
440
- p.current || (f = u.currentTarget) == null || f.click();
440
+ v.current || (f = i.currentTarget) == null || f.click();
441
441
  }),
442
- onKeyDown: g(e.onKeyDown, (u) => {
442
+ onKeyDown: g(e.onKeyDown, (i) => {
443
443
  const f = l.searchRef.current !== "";
444
- n || f && u.key === " " || pe.includes(u.key) && (u.currentTarget.click(), u.preventDefault());
444
+ n || f && i.key === " " || pe.includes(i.key) && (i.currentTarget.click(), i.preventDefault());
445
445
  })
446
446
  }
447
447
  );
@@ -450,9 +450,9 @@ var te = "MenuItem", De = "menu.itemSelect", ae = a.forwardRef(
450
450
  ae.displayName = te;
451
451
  var Xe = a.forwardRef(
452
452
  (e, t) => {
453
- const { __scopeMenu: n, disabled: o = !1, textValue: r, ...c } = e, i = _e(te, n), l = $e(n), v = a.useRef(null), p = U(t, v), [d, u] = a.useState(!1), [f, _] = a.useState("");
453
+ const { __scopeMenu: n, disabled: o = !1, textValue: r, ...c } = e, d = _e(te, n), l = $e(n), m = a.useRef(null), v = U(t, m), [u, i] = a.useState(!1), [f, _] = a.useState("");
454
454
  return a.useEffect(() => {
455
- const w = v.current;
455
+ const w = m.current;
456
456
  w && _((w.textContent ?? "").trim());
457
457
  }, [c.children]), /* @__PURE__ */ s(
458
458
  j.ItemSlot,
@@ -464,23 +464,23 @@ var Xe = a.forwardRef(
464
464
  N.div,
465
465
  {
466
466
  role: "menuitem",
467
- "data-highlighted": d ? "" : void 0,
467
+ "data-highlighted": u ? "" : void 0,
468
468
  "aria-disabled": o || void 0,
469
469
  "data-disabled": o ? "" : void 0,
470
470
  ...c,
471
- ref: p,
471
+ ref: v,
472
472
  onPointerMove: g(
473
473
  e.onPointerMove,
474
474
  z((w) => {
475
- o ? i.onItemLeave(w) : (i.onItemEnter(w), w.defaultPrevented || w.currentTarget.focus({ preventScroll: !0 }));
475
+ o ? d.onItemLeave(w) : (d.onItemEnter(w), w.defaultPrevented || w.currentTarget.focus({ preventScroll: !0 }));
476
476
  })
477
477
  ),
478
478
  onPointerLeave: g(
479
479
  e.onPointerLeave,
480
- z((w) => i.onItemLeave(w))
480
+ z((w) => d.onItemLeave(w))
481
481
  ),
482
- onFocus: g(e.onFocus, () => u(!0)),
483
- onBlur: g(e.onBlur, () => u(!1))
482
+ onFocus: g(e.onFocus, () => i(!0)),
483
+ onBlur: g(e.onBlur, () => i(!1))
484
484
  }
485
485
  ) })
486
486
  }
@@ -532,8 +532,8 @@ var Ze = "MenuRadioItem", qe = a.forwardRef(
532
532
  onSelect: g(
533
533
  o.onSelect,
534
534
  () => {
535
- var i;
536
- return (i = r.onValueChange) == null ? void 0 : i.call(r, n);
535
+ var d;
536
+ return (d = r.onValueChange) == null ? void 0 : d.call(r, n);
537
537
  },
538
538
  { checkForDefaultPrevented: !1 }
539
539
  )
@@ -589,15 +589,15 @@ var ut = "MenuArrow", nn = a.forwardRef(
589
589
  nn.displayName = ut;
590
590
  var it = "MenuSub", [go, tn] = k(it), H = "MenuSubTrigger", on = a.forwardRef(
591
591
  (e, t) => {
592
- const n = $(H, e.__scopeMenu), o = J(H, e.__scopeMenu), r = tn(H, e.__scopeMenu), c = _e(H, e.__scopeMenu), i = a.useRef(null), { pointerGraceTimerRef: l, onPointerGraceIntentChange: v } = c, p = { __scopeMenu: e.__scopeMenu }, d = a.useCallback(() => {
593
- i.current && window.clearTimeout(i.current), i.current = null;
592
+ const n = $(H, e.__scopeMenu), o = J(H, e.__scopeMenu), r = tn(H, e.__scopeMenu), c = _e(H, e.__scopeMenu), d = a.useRef(null), { pointerGraceTimerRef: l, onPointerGraceIntentChange: m } = c, v = { __scopeMenu: e.__scopeMenu }, u = a.useCallback(() => {
593
+ d.current && window.clearTimeout(d.current), d.current = null;
594
594
  }, []);
595
- return a.useEffect(() => d, [d]), a.useEffect(() => {
596
- const u = l.current;
595
+ return a.useEffect(() => u, [u]), a.useEffect(() => {
596
+ const i = l.current;
597
597
  return () => {
598
- window.clearTimeout(u), v(null);
598
+ window.clearTimeout(i), m(null);
599
599
  };
600
- }, [l, v]), /* @__PURE__ */ s(we, { asChild: !0, ...p, children: /* @__PURE__ */ s(
600
+ }, [l, m]), /* @__PURE__ */ s(we, { asChild: !0, ...v, children: /* @__PURE__ */ s(
601
601
  Xe,
602
602
  {
603
603
  id: r.triggerId,
@@ -607,23 +607,23 @@ var it = "MenuSub", [go, tn] = k(it), H = "MenuSubTrigger", on = a.forwardRef(
607
607
  "data-state": cn(n.open),
608
608
  ...e,
609
609
  ref: Pe(t, r.onTriggerChange),
610
- onClick: (u) => {
610
+ onClick: (i) => {
611
611
  var f;
612
- (f = e.onClick) == null || f.call(e, u), !(e.disabled || u.defaultPrevented) && (u.currentTarget.focus(), n.open || n.onOpenChange(!0));
612
+ (f = e.onClick) == null || f.call(e, i), !(e.disabled || i.defaultPrevented) && (i.currentTarget.focus(), n.open || n.onOpenChange(!0));
613
613
  },
614
614
  onPointerMove: g(
615
615
  e.onPointerMove,
616
- z((u) => {
617
- c.onItemEnter(u), !u.defaultPrevented && !e.disabled && !n.open && !i.current && (c.onPointerGraceIntentChange(null), i.current = window.setTimeout(() => {
618
- n.onOpenChange(!0), d();
616
+ z((i) => {
617
+ c.onItemEnter(i), !i.defaultPrevented && !e.disabled && !n.open && !d.current && (c.onPointerGraceIntentChange(null), d.current = window.setTimeout(() => {
618
+ n.onOpenChange(!0), u();
619
619
  }, 100));
620
620
  })
621
621
  ),
622
622
  onPointerLeave: g(
623
623
  e.onPointerLeave,
624
- z((u) => {
624
+ z((i) => {
625
625
  var _, w;
626
- d();
626
+ u();
627
627
  const f = (_ = n.content) == null ? void 0 : _.getBoundingClientRect();
628
628
  if (f) {
629
629
  const b = (w = n.content) == null ? void 0 : w.dataset.side, M = b === "right", R = M ? -5 : 5, T = f[M ? "left" : "right"], h = f[M ? "right" : "left"];
@@ -631,7 +631,7 @@ var it = "MenuSub", [go, tn] = k(it), H = "MenuSubTrigger", on = a.forwardRef(
631
631
  area: [
632
632
  // Apply a bleed on clientX to ensure that our exit point is
633
633
  // consistently within polygon bounds
634
- { x: u.clientX + R, y: u.clientY },
634
+ { x: i.clientX + R, y: i.clientY },
635
635
  { x: T, y: f.top },
636
636
  { x: h, y: f.top },
637
637
  { x: h, y: f.bottom },
@@ -643,15 +643,15 @@ var it = "MenuSub", [go, tn] = k(it), H = "MenuSubTrigger", on = a.forwardRef(
643
643
  300
644
644
  );
645
645
  } else {
646
- if (c.onTriggerLeave(u), u.defaultPrevented) return;
646
+ if (c.onTriggerLeave(i), i.defaultPrevented) return;
647
647
  c.onPointerGraceIntentChange(null);
648
648
  }
649
649
  })
650
650
  ),
651
- onKeyDown: g(e.onKeyDown, (u) => {
651
+ onKeyDown: g(e.onKeyDown, (i) => {
652
652
  var _;
653
653
  const f = c.searchRef.current !== "";
654
- e.disabled || f && u.key === " " || Vn[o.dir].includes(u.key) && (n.onOpenChange(!0), (_ = n.content) == null || _.focus(), u.preventDefault());
654
+ e.disabled || f && i.key === " " || Vn[o.dir].includes(i.key) && (n.onOpenChange(!0), (_ = n.content) == null || _.focus(), i.preventDefault());
655
655
  })
656
656
  }
657
657
  ) });
@@ -660,34 +660,34 @@ var it = "MenuSub", [go, tn] = k(it), H = "MenuSubTrigger", on = a.forwardRef(
660
660
  on.displayName = H;
661
661
  var rn = "MenuSubContent", an = a.forwardRef(
662
662
  (e, t) => {
663
- const n = Ve(S, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, c = $(S, e.__scopeMenu), i = J(S, e.__scopeMenu), l = tn(rn, e.__scopeMenu), v = a.useRef(null), p = U(t, v);
663
+ const n = Ve(S, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, c = $(S, e.__scopeMenu), d = J(S, e.__scopeMenu), l = tn(rn, e.__scopeMenu), m = a.useRef(null), v = U(t, m);
664
664
  return /* @__PURE__ */ s(j.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(ge, { present: o || c.open, children: /* @__PURE__ */ s(j.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(
665
665
  Me,
666
666
  {
667
667
  id: l.contentId,
668
668
  "aria-labelledby": l.triggerId,
669
669
  ...r,
670
- ref: p,
670
+ ref: v,
671
671
  align: "start",
672
- side: i.dir === "rtl" ? "left" : "right",
672
+ side: d.dir === "rtl" ? "left" : "right",
673
673
  disableOutsidePointerEvents: !1,
674
674
  disableOutsideScroll: !1,
675
675
  trapFocus: !1,
676
- onOpenAutoFocus: (d) => {
677
- var u;
678
- i.isUsingKeyboardRef.current && ((u = v.current) == null || u.focus()), d.preventDefault();
676
+ onOpenAutoFocus: (u) => {
677
+ var i;
678
+ d.isUsingKeyboardRef.current && ((i = m.current) == null || i.focus()), u.preventDefault();
679
679
  },
680
- onCloseAutoFocus: (d) => d.preventDefault(),
681
- onFocusOutside: g(e.onFocusOutside, (d) => {
682
- d.target !== l.trigger && c.onOpenChange(!1);
680
+ onCloseAutoFocus: (u) => u.preventDefault(),
681
+ onFocusOutside: g(e.onFocusOutside, (u) => {
682
+ u.target !== l.trigger && c.onOpenChange(!1);
683
683
  }),
684
- onEscapeKeyDown: g(e.onEscapeKeyDown, (d) => {
685
- i.onClose(), d.preventDefault();
684
+ onEscapeKeyDown: g(e.onEscapeKeyDown, (u) => {
685
+ d.onClose(), u.preventDefault();
686
686
  }),
687
- onKeyDown: g(e.onKeyDown, (d) => {
687
+ onKeyDown: g(e.onKeyDown, (u) => {
688
688
  var _;
689
- const u = d.currentTarget.contains(d.target), f = Wn[i.dir].includes(d.key);
690
- u && f && (c.onOpenChange(!1), (_ = l.trigger) == null || _.focus(), d.preventDefault());
689
+ const i = u.currentTarget.contains(u.target), f = Wn[d.dir].includes(u.key);
690
+ i && f && (c.onOpenChange(!1), (_ = l.trigger) == null || _.focus(), u.preventDefault());
691
691
  })
692
692
  }
693
693
  ) }) }) });
@@ -712,20 +712,20 @@ function lt(e, t) {
712
712
  return e.map((n, o) => e[(t + o) % e.length]);
713
713
  }
714
714
  function ft(e, t, n) {
715
- const r = t.length > 1 && Array.from(t).every((p) => p === t[0]) ? t[0] : t, c = n ? e.indexOf(n) : -1;
716
- let i = lt(e, Math.max(c, 0));
717
- r.length === 1 && (i = i.filter((p) => p !== n));
718
- const v = i.find(
719
- (p) => p.toLowerCase().startsWith(r.toLowerCase())
715
+ const r = t.length > 1 && Array.from(t).every((v) => v === t[0]) ? t[0] : t, c = n ? e.indexOf(n) : -1;
716
+ let d = lt(e, Math.max(c, 0));
717
+ r.length === 1 && (d = d.filter((v) => v !== n));
718
+ const m = d.find(
719
+ (v) => v.toLowerCase().startsWith(r.toLowerCase())
720
720
  );
721
- return v !== n ? v : void 0;
721
+ return m !== n ? m : void 0;
722
722
  }
723
723
  function pt(e, t) {
724
724
  const { x: n, y: o } = e;
725
725
  let r = !1;
726
- for (let c = 0, i = t.length - 1; c < t.length; i = c++) {
727
- const l = t[c], v = t[i], p = l.x, d = l.y, u = v.x, f = v.y;
728
- d > o != f > o && n < (u - p) * (o - d) / (f - d) + p && (r = !r);
726
+ for (let c = 0, d = t.length - 1; c < t.length; d = c++) {
727
+ const l = t[c], m = t[d], v = l.x, u = l.y, i = m.x, f = m.y;
728
+ u > o != f > o && n < (i - v) * (o - u) / (f - u) + v && (r = !r);
729
729
  }
730
730
  return r;
731
731
  }
@@ -747,12 +747,12 @@ var vt = Be, gt = we, wt = We, _t = he, Mt = Ye, ht = ae, Ct = He, Rt = ze, It =
747
747
  dir: o,
748
748
  open: r,
749
749
  defaultOpen: c,
750
- onOpenChange: i,
750
+ onOpenChange: d,
751
751
  modal: l = !0
752
- } = e, v = I(t), p = a.useRef(null), [d, u] = ye({
752
+ } = e, m = I(t), v = a.useRef(null), [u, i] = ye({
753
753
  prop: r,
754
754
  defaultProp: c ?? !1,
755
- onChange: i,
755
+ onChange: d,
756
756
  caller: ce
757
757
  });
758
758
  return /* @__PURE__ */ s(
@@ -760,21 +760,21 @@ var vt = Be, gt = we, wt = We, _t = he, Mt = Ye, ht = ae, Ct = He, Rt = ze, It =
760
760
  {
761
761
  scope: t,
762
762
  triggerId: le(),
763
- triggerRef: p,
763
+ triggerRef: v,
764
764
  contentId: le(),
765
- open: d,
766
- onOpenChange: u,
767
- onOpenToggle: a.useCallback(() => u((f) => !f), [u]),
765
+ open: u,
766
+ onOpenChange: i,
767
+ onOpenToggle: a.useCallback(() => i((f) => !f), [i]),
768
768
  modal: l,
769
- children: /* @__PURE__ */ s(vt, { ...v, open: d, onOpenChange: u, dir: o, modal: l, children: n })
769
+ children: /* @__PURE__ */ s(vt, { ...m, open: u, onOpenChange: i, dir: o, modal: l, children: n })
770
770
  }
771
771
  );
772
772
  };
773
773
  un.displayName = ce;
774
774
  var dn = "DropdownMenuTrigger", ln = a.forwardRef(
775
775
  (e, t) => {
776
- const { __scopeDropdownMenu: n, disabled: o = !1, ...r } = e, c = sn(dn, n), i = I(n);
777
- return /* @__PURE__ */ s(gt, { asChild: !0, ...i, children: /* @__PURE__ */ s(
776
+ const { __scopeDropdownMenu: n, disabled: o = !1, ...r } = e, c = sn(dn, n), d = I(n);
777
+ return /* @__PURE__ */ s(gt, { asChild: !0, ...d, children: /* @__PURE__ */ s(
778
778
  N.button,
779
779
  {
780
780
  type: "button",
@@ -800,7 +800,7 @@ var dn = "DropdownMenuTrigger", ln = a.forwardRef(
800
800
  ln.displayName = dn;
801
801
  var fn = "DropdownMenuContent", pn = a.forwardRef(
802
802
  (e, t) => {
803
- const { __scopeDropdownMenu: n, ...o } = e, r = sn(fn, n), c = I(n), i = a.useRef(!1);
803
+ const { __scopeDropdownMenu: n, ...o } = e, r = sn(fn, n), c = I(n), d = a.useRef(!1);
804
804
  return /* @__PURE__ */ s(
805
805
  wt,
806
806
  {
@@ -810,12 +810,12 @@ var fn = "DropdownMenuContent", pn = a.forwardRef(
810
810
  ...o,
811
811
  ref: t,
812
812
  onCloseAutoFocus: g(e.onCloseAutoFocus, (l) => {
813
- var v;
814
- i.current || (v = r.triggerRef.current) == null || v.focus(), i.current = !1, l.preventDefault();
813
+ var m;
814
+ d.current || (m = r.triggerRef.current) == null || m.focus(), d.current = !1, l.preventDefault();
815
815
  }),
816
816
  onInteractOutside: g(e.onInteractOutside, (l) => {
817
- const v = l.detail.originalEvent, p = v.button === 0 && v.ctrlKey === !0, d = v.button === 2 || p;
818
- (!r.modal || d) && (i.current = !0);
817
+ const m = l.detail.originalEvent, v = m.button === 0 && m.ctrlKey === !0, u = m.button === 2 || v;
818
+ (!r.modal || u) && (d.current = !0);
819
819
  }),
820
820
  style: {
821
821
  ...e.style,
@@ -921,15 +921,16 @@ function ao(e) {
921
921
  triggerWidth: t,
922
922
  options: n,
923
923
  selectedValue: o,
924
- fullWidth: r = !1,
925
- className: c,
926
- itemClassName: i,
927
- onSelect: l
924
+ selectedClassName: r,
925
+ fullWidth: c = !1,
926
+ className: d,
927
+ itemClassName: l,
928
+ onSelect: m
928
929
  } = e, v = Se(
929
- c,
930
+ d,
930
931
  X.content,
931
932
  {
932
- [X.fullWidth]: r
933
+ [X.fullWidth]: c
933
934
  }
934
935
  );
935
936
  return /* @__PURE__ */ s(
@@ -942,19 +943,20 @@ function ao(e) {
942
943
  width: t,
943
944
  zIndex: yn.zindex("max")
944
945
  },
945
- children: n.map((p) => /* @__PURE__ */ s(
946
+ children: n.map((u) => /* @__PURE__ */ s(
946
947
  Qt,
947
948
  {
948
- disabled: p.disabled,
949
- className: Se(X.item, i, {
950
- [X.disabled]: p.disabled,
951
- [X.selected]: p.value === o
949
+ disabled: u.disabled,
950
+ className: Se(X.item, l, {
951
+ [X.disabled]: u.disabled,
952
+ [X.selected]: u.value === o,
953
+ [r || ""]: u.value === o && r
952
954
  }),
953
- onSelect: () => l(p.value),
955
+ onSelect: () => m(u.value),
954
956
  style: { width: t },
955
- children: p.label
957
+ children: u.label
956
958
  },
957
- p.value
959
+ u.value
958
960
  ))
959
961
  }
960
962
  );
@@ -1 +1 @@
1
- @keyframes cfxui__Flyout__holder-appearance-rtl__3ccf2{0%{opacity:0;transform:translate(calc(var(--quant) * 2.5))}to{opacity:1;transform:translate(0)}}@keyframes cfxui__Flyout__holder-appearance-btu__84100{0%{opacity:0;transform:translateY(calc(var(--quant) * 2.5))}to{opacity:1;transform:translateY(0)}}@keyframes cfxui__Flyout__backdrop-appearance-rtl__9f651{0%{opacity:0}to{opacity:1}}.cfxui__Flyout__root__eba04{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;pointer-events:none}.cfxui__Flyout__root__eba04 .cfxui__Flyout__backdrop__57f9e{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--color-overlay-backdrop-background);opacity:0;pointer-events:none}.cfxui__Flyout__root__eba04 .cfxui__Flyout__holder__d80b5{position:fixed;top:0;right:0;bottom:0;left:0;border-radius:0;background:rgba(var(--color-bg),1);opacity:0;transform:translate(calc(var(--quant) * 2.5));pointer-events:none}.cfxui__Flyout__root__eba04 .cfxui__Flyout__holder__d80b5 .cfxui__Flyout__content__04e42{width:100%;height:100%;overflow:hidden}@media (min-width: 640px){.cfxui__Flyout__root__eba04 .cfxui__Flyout__holder__d80b5{inset:0 0 0 calc(100vw - 420px);border-radius:var(--border-radius-medium) 0 0 var(--border-radius-medium)}}.cfxui__Flyout__root__eba04 .cfxui__Flyout__header__40009{display:flex;align-items:center;justify-content:space-between;gap:calc(var(--quant) * 2)}.cfxui__Flyout__root__eba04 .cfxui__Flyout__header__40009 .cfxui__Flyout__title__b235a{flex-grow:1;width:1px;display:flex;align-items:center;gap:calc(var(--quant) * 2);font-size:var(--font-size-xxlarge)}.cfxui__Flyout__root__eba04.cfxui__Flyout__active__14a29 .cfxui__Flyout__backdrop__57f9e{opacity:1;pointer-events:all;animation:cfxui__Flyout__backdrop-appearance__d9564 .2s ease}.cfxui__Flyout__root__eba04.cfxui__Flyout__active__14a29 .cfxui__Flyout__mask__72713{opacity:1}.cfxui__Flyout__root__eba04.cfxui__Flyout__active__14a29 .cfxui__Flyout__holder__d80b5{opacity:1;transform:translate(0);pointer-events:all;animation:cfxui__Flyout__holder-appearance-btu__84100 .2s ease}@media (min-width: 640px){.cfxui__Flyout__root__eba04.cfxui__Flyout__active__14a29 .cfxui__Flyout__holder__d80b5{animation:cfxui__Flyout__holder-appearance-rtl__3ccf2 .2s ease}}.cfxui__Flyout__root__eba04.cfxui__Flyout__theme-legacy__a3452{--offset-flyout: calc((100vh - (var(--height) - var(--offset-safezone) * 2) * 1) * .5 - var(--quant) * 4);top:var(--offset-flyout, initial);bottom:var(--offset-flyout, initial);padding:calc((100vh - (var(--height) - var(--offset-safezone) * 2) * 1) * .5 - var(--offset-flyout, initial)) calc((100vw - (var(--width) - var(--offset-safezone) * 2) * 1) * .5) calc((100vh - (var(--height) - var(--offset-safezone) * 2) * 1) * .5 - var(--offset-flyout, initial)) calc(var(--quant) * 6);border-radius:var(--border-radius-large) 0 0 var(--border-radius-large);box-shadow:0 0 0 calc(var(--quant) * .25) var(--color-flyout-holder-border) inset,var(--shadow-large, initial)}.cfxui__Flyout__root__eba04.cfxui__Flyout__theme-legacy__a3452 .cfxui__Flyout__mask__72713{--mask-right: var(--viewport-right, initial);--mask-right-offset: calc(var(--mask-right, initial) - var(--quant) * 4);position:fixed;top:0;right:0;bottom:0;left:0;mask:linear-gradient(90deg,#000 0%,#000 var(--mask-right-offset, initial),transparent var(--mask-right, initial),transparent 100%);opacity:0;pointer-events:none}.cfxui__Flyout__root__eba04.cfxui__Flyout__theme-legacy__a3452.cfxui__Flyout__size-medium__1fc09 .cfxui__Flyout__holder__d80b5{left:32vw}.cfxui__Flyout__root__eba04.cfxui__Flyout__theme-legacy__a3452.cfxui__Flyout__size-small__038a5 .cfxui__Flyout__holder__d80b5{left:48vw}.cfxui__Flyout__root__eba04.cfxui__Flyout__theme-legacy__a3452.cfxui__Flyout__size-xsmall__839e8 .cfxui__Flyout__holder__d80b5{left:64vw}.cfxui__Flyout__root__eba04.cfxui__Flyout__theme-legacy__a3452.cfxui__Flyout__size-xxsmall__33712 .cfxui__Flyout__holder__d80b5{left:80vw;padding:calc(var(--quant) * 5) calc(var(--quant) * 3.75)}
1
+ @keyframes cfxui__Flyout__backdrop-appearance__d9564{0%{opacity:0}to{opacity:1}}@keyframes cfxui__Flyout__backdrop-disappearance__bf898{0%{opacity:1}to{opacity:0}}@keyframes cfxui__Flyout__holder-appearance-rtl__3ccf2{0%{opacity:0;transform:translate(calc(var(--quant) * 2.5))}to{opacity:1;transform:translate(0)}}@keyframes cfxui__Flyout__holder-appearance-btu__84100{0%{opacity:0;transform:translateY(calc(var(--quant) * 2.5))}to{opacity:1;transform:translateY(0)}}@keyframes cfxui__Flyout__holder-appearance-ltr__83bd2{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(calc(var(--quant) * 2.5))}}@keyframes cfxui__Flyout__holder-appearance-utb__846eb{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(calc(var(--quant) * 2.5))}}.cfxui__Flyout__root__eba04{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;pointer-events:none}.cfxui__Flyout__root__eba04 .cfxui__Flyout__backdrop__57f9e{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--color-overlay-backdrop-background);opacity:0;pointer-events:none;animation:cfxui__Flyout__backdrop-disappearance__bf898 .2s ease}.cfxui__Flyout__root__eba04 .cfxui__Flyout__holder__d80b5{position:fixed;top:0;right:0;bottom:0;left:0;border-radius:0;background:rgba(var(--color-bg),1);opacity:0;transform:translate(calc(var(--quant) * 2.5));pointer-events:none;animation:cfxui__Flyout__holder-appearance-utb__846eb .2s ease}.cfxui__Flyout__root__eba04 .cfxui__Flyout__holder__d80b5 .cfxui__Flyout__content__04e42{width:100%;height:100%;overflow:hidden}@media (min-width: 640px){.cfxui__Flyout__root__eba04 .cfxui__Flyout__holder__d80b5{inset:0 0 0 calc(100vw - 420px);border-radius:var(--border-radius-medium) 0 0 var(--border-radius-medium);animation:cfxui__Flyout__holder-appearance-ltr__83bd2 .2s ease}}.cfxui__Flyout__root__eba04 .cfxui__Flyout__header__40009{display:flex;align-items:center;justify-content:space-between;gap:calc(var(--quant) * 2)}.cfxui__Flyout__root__eba04 .cfxui__Flyout__header__40009 .cfxui__Flyout__title__b235a{flex-grow:1;width:1px;display:flex;align-items:center;gap:calc(var(--quant) * 2);font-size:var(--font-size-xxlarge)}.cfxui__Flyout__root__eba04.cfxui__Flyout__active__14a29 .cfxui__Flyout__backdrop__57f9e{opacity:1;pointer-events:all;animation:cfxui__Flyout__backdrop-appearance__d9564 .2s ease}.cfxui__Flyout__root__eba04.cfxui__Flyout__active__14a29 .cfxui__Flyout__mask__72713{opacity:1}.cfxui__Flyout__root__eba04.cfxui__Flyout__active__14a29 .cfxui__Flyout__holder__d80b5{opacity:1;transform:translate(0);pointer-events:all;animation:cfxui__Flyout__holder-appearance-btu__84100 .2s ease}@media (min-width: 640px){.cfxui__Flyout__root__eba04.cfxui__Flyout__active__14a29 .cfxui__Flyout__holder__d80b5{animation:cfxui__Flyout__holder-appearance-rtl__3ccf2 .2s ease}}.cfxui__Flyout__root__eba04.cfxui__Flyout__theme-legacy__a3452{--offset-flyout: calc((100vh - (var(--height) - var(--offset-safezone) * 2) * 1) * .5 - var(--quant) * 4);top:var(--offset-flyout, initial);bottom:var(--offset-flyout, initial);padding:calc((100vh - (var(--height) - var(--offset-safezone) * 2) * 1) * .5 - var(--offset-flyout, initial)) calc((100vw - (var(--width) - var(--offset-safezone) * 2) * 1) * .5) calc((100vh - (var(--height) - var(--offset-safezone) * 2) * 1) * .5 - var(--offset-flyout, initial)) calc(var(--quant) * 6);border-radius:var(--border-radius-large) 0 0 var(--border-radius-large);box-shadow:0 0 0 calc(var(--quant) * .25) var(--color-flyout-holder-border) inset,var(--shadow-large, initial)}.cfxui__Flyout__root__eba04.cfxui__Flyout__theme-legacy__a3452 .cfxui__Flyout__mask__72713{--mask-right: var(--viewport-right, initial);--mask-right-offset: calc(var(--mask-right, initial) - var(--quant) * 4);position:fixed;top:0;right:0;bottom:0;left:0;mask:linear-gradient(90deg,#000 0%,#000 var(--mask-right-offset, initial),transparent var(--mask-right, initial),transparent 100%);opacity:0;pointer-events:none}.cfxui__Flyout__root__eba04.cfxui__Flyout__theme-legacy__a3452.cfxui__Flyout__size-medium__1fc09 .cfxui__Flyout__holder__d80b5{left:32vw}.cfxui__Flyout__root__eba04.cfxui__Flyout__theme-legacy__a3452.cfxui__Flyout__size-small__038a5 .cfxui__Flyout__holder__d80b5{left:48vw}.cfxui__Flyout__root__eba04.cfxui__Flyout__theme-legacy__a3452.cfxui__Flyout__size-xsmall__839e8 .cfxui__Flyout__holder__d80b5{left:64vw}.cfxui__Flyout__root__eba04.cfxui__Flyout__theme-legacy__a3452.cfxui__Flyout__size-xxsmall__33712 .cfxui__Flyout__holder__d80b5{left:80vw;padding:calc(var(--quant) * 5) calc(var(--quant) * 3.75)}
@@ -1 +1 @@
1
- .cfxui__Link__unsetAll__58fea{all:unset}.cfxui__Link__root__a29b3{display:inline-flex;border-radius:var(--border-radius-xsmall);color:var(--anchor-color)}.cfxui__Link__root__a29b3{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Link__root__a29b3:not([aria-disabled=true]){cursor:pointer;text-decoration:underline;text-decoration-color:currentcolor}.cfxui__Link__root__a29b3:not([aria-disabled=true]):hover{text-decoration-color:var(--anchor-decoration-color-hover)}.cfxui__Link__root__a29b3:not([aria-disabled=true]):focus-visible:not(:active,:hover){box-shadow:0 0 0 var(--anchor-outline-size, initial) var(--color-anchor-focus-outline)}.cfxui__Link__root__a29b3[aria-disabled=true]{cursor:not-allowed;opacity:.5}.cfxui__Link__root__a29b3[aria-disabled=true]:active{pointer-events:none}.cfxui__Link__root__a29b3.cfxui__Link__unstyled__f020c{text-decoration:none}
1
+ .cfxui__Link__unsetAll__58fea{all:unset}.cfxui__Link__root__a29b3{display:inline-flex;border-radius:var(--border-radius-xsmall);color:var(--anchor-color)}.cfxui__Link__root__a29b3{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Link__root__a29b3:not([aria-disabled=true]){cursor:pointer;text-decoration:underline;text-decoration-color:currentcolor}.cfxui__Link__root__a29b3:not([aria-disabled=true]):hover{text-decoration-color:var(--anchor-color-hover);color:var(--anchor-color-hover)}.cfxui__Link__root__a29b3:not([aria-disabled=true]):focus-visible:not(:active,:hover){box-shadow:0 0 0 var(--anchor-outline-size, initial) var(--color-anchor-focus-outline)}.cfxui__Link__root__a29b3[aria-disabled=true]{cursor:not-allowed;opacity:.4}.cfxui__Link__root__a29b3[aria-disabled=true]:active{pointer-events:none}.cfxui__Link__root__a29b3.cfxui__Link__unstyled__f020c{text-decoration:none;color:inherit}.cfxui__Link__root__a29b3.cfxui__Link__unstyled__f020c:hover{color:inherit}
@@ -1 +1 @@
1
- .cfxui__Text__root__2fe11{--trim-line-height: calc(var(--font-size-current) * var(--line-height-current));--trim-extra-height: calc(var(--trim-line-height) - 1cap);--trim-size: calc((var(--trim-extra-height) / 2) * -1)}.cfxui__Text__root__2fe11{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Text__root__2fe11:before{content:"";margin-bottom:calc(var(--trim-size) - .015cap);display:table}.cfxui__Text__root__2fe11:after{content:"";margin-top:calc(var(--trim-size) + .025cap);display:table}.cfxui__Text__root__2fe11.cfxui__Text__verticalTrimDisabled__34631:before,.cfxui__Text__root__2fe11.cfxui__Text__verticalTrimDisabled__34631:after{display:none;margin:0}.cfxui__Text__root__2fe11.cfxui__Text__centered__4d7bd{text-align:center}.cfxui__Text__root__2fe11.cfxui__Text__underlined__5860e{text-decoration:underline}.cfxui__Text__root__2fe11.cfxui__Text__strikethrough__e3ee3{text-decoration:line-through}.cfxui__Text__root__2fe11.cfxui__Text__truncated__417f4{width:100%;white-space:nowrap;overflow-x:clip;display:inline-block;mask:linear-gradient(90deg,rgba(var(--color-red),1),rgba(var(--color-red),1) calc(100% - 2ch),transparent)}.cfxui__Text__root__2fe11.cfxui__Text__typographic__d8155{overflow-wrap:break-word}.cfxui__Text__root__2fe11.cfxui__Text__typographic__d8155 li{margin-left:calc(var(--quant) * 4)}.cfxui__Text__root__2fe11:not(.cfxui__Text__typographic__d8155) a{color:inherit;text-decoration:none}.cfxui__Text__root__2fe11.cfxui__Text__block__cb1b6{max-width:100%}
1
+ .cfxui__Text__root__2fe11{--trim-line-height: calc(var(--font-size-current) * var(--line-height-current));--trim-extra-height: calc(var(--trim-line-height) - 1cap);--trim-size: calc((var(--trim-extra-height) / 2) * -1)}.cfxui__Text__root__2fe11{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Text__root__2fe11:before{content:"";margin-bottom:calc(var(--trim-size) - .015cap);display:table}.cfxui__Text__root__2fe11:after{content:"";margin-top:calc(var(--trim-size) + .025cap);display:table}.cfxui__Text__root__2fe11.cfxui__Text__verticalTrimDisabled__34631:before,.cfxui__Text__root__2fe11.cfxui__Text__verticalTrimDisabled__34631:after{display:none;margin:0}.cfxui__Text__root__2fe11.cfxui__Text__centered__4d7bd{text-align:center}.cfxui__Text__root__2fe11.cfxui__Text__underlined__5860e{text-decoration:underline}.cfxui__Text__root__2fe11.cfxui__Text__strikethrough__e3ee3{text-decoration:line-through}.cfxui__Text__root__2fe11.cfxui__Text__truncated__417f4{width:100%;white-space:nowrap;overflow-x:clip;display:inline-block;mask:linear-gradient(90deg,rgba(var(--color-red),1),rgba(var(--color-red),1) calc(100% - 2ch),transparent)}.cfxui__Text__root__2fe11.cfxui__Text__typographic__d8155{overflow-wrap:break-word}.cfxui__Text__root__2fe11.cfxui__Text__typographic__d8155 li{margin-left:calc(var(--quant) * 4)}.cfxui__Text__root__2fe11:not(.cfxui__Text__typographic__d8155) a{color:inherit;text-decoration:none}.cfxui__Text__root__2fe11:not(.cfxui__Text__typographic__d8155) a:hover{color:inherit}.cfxui__Text__root__2fe11.cfxui__Text__block__cb1b6{max-width:100%}
@@ -13,6 +13,7 @@ export interface DropdownContentProps {
13
13
  selectedValue?: DropdownOptionValueType;
14
14
  className?: string;
15
15
  itemClassName?: string;
16
+ selectedClassName?: string;
16
17
  triggerWidth?: React.CSSProperties['width'];
17
18
  fullWidth?: boolean;
18
19
  onSelect: (value: string) => void;
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { D as a } from "../../DropdownContent-BqQZ17mb.js";
2
+ import { D as a } from "../../DropdownContent-BTzahw95.js";
3
3
  import "react";
4
4
  import "../../utils/clsx.js";
5
5
  import "../../utils/ui/ui.js";
@@ -1,4 +1,4 @@
1
- import { D as r } from "../../DropdownContent-BqQZ17mb.js";
1
+ import { D as r } from "../../DropdownContent-BTzahw95.js";
2
2
  export {
3
3
  r as DropdownContent
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
- import { R as m, T as c, D as p } from "../../DropdownContent-BqQZ17mb.js";
2
+ import { R as m, T as c, D as p } from "../../DropdownContent-BTzahw95.js";
3
3
  import f from "react";
4
4
  function u(t) {
5
5
  const {
@@ -1,5 +1,5 @@
1
1
  import { jsxs as f, jsx as r } from "react/jsx-runtime";
2
- import { R as D, T as W, D as C } from "../../DropdownContent-BqQZ17mb.js";
2
+ import { R as D, T as W, D as C } from "../../DropdownContent-BTzahw95.js";
3
3
  import a, { useRef as R, useState as v, useEffect as b } from "react";
4
4
  import N from "../Flex/Flex.js";
5
5
  import { clsx as T } from "../../utils/clsx.js";
@@ -1,19 +1,22 @@
1
- import { jsx as o, jsxs as m } from "react/jsx-runtime";
1
+ import { jsx as _, jsxs as u } from "react/jsx-runtime";
2
2
  import y from "react";
3
3
  import { F as x } from "../../Combination-N-vN9BB-.js";
4
4
  import F from "../Button/Button.js";
5
5
  import { clsx as c } from "../../utils/clsx.js";
6
6
  import "../../utils/links.js";
7
- import { Interactive as k } from "../Interactive/Interactive.js";
8
- import { noop as b } from "../../utils/functional.js";
7
+ import { Interactive as b } from "../Interactive/Interactive.js";
8
+ import { noop as k } from "../../utils/functional.js";
9
9
  import "../../utils/hooks/useGlobalKeyboardEvent.js";
10
10
  import { useKeyboardClose as N } from "../../utils/hooks/useKeyboardClose.js";
11
11
  import { useOutlet as C } from "../../utils/hooks/useOutlet.js";
12
12
  const v = "cfxui__Flyout__root__eba04", z = "cfxui__Flyout__backdrop__57f9e", O = "cfxui__Flyout__holder__d80b5", L = "cfxui__Flyout__content__04e42", T = "cfxui__Flyout__header__40009", I = "cfxui__Flyout__title__b235a", E = "cfxui__Flyout__active__14a29", U = "cfxui__Flyout__mask__72713", e = {
13
13
  root: v,
14
14
  backdrop: z,
15
+ "backdrop-disappearance": "cfxui__Flyout__backdrop-disappearance__bf898",
15
16
  holder: O,
17
+ "holder-appearance-utb": "cfxui__Flyout__holder-appearance-utb__846eb",
16
18
  content: L,
19
+ "holder-appearance-ltr": "cfxui__Flyout__holder-appearance-ltr__83bd2",
17
20
  header: T,
18
21
  title: I,
19
22
  active: E,
@@ -25,50 +28,49 @@ const v = "cfxui__Flyout__root__eba04", z = "cfxui__Flyout__backdrop__57f9e", O
25
28
  "size-medium": "cfxui__Flyout__size-medium__1fc09",
26
29
  "size-small": "cfxui__Flyout__size-small__038a5",
27
30
  "size-xsmall": "cfxui__Flyout__size-xsmall__839e8",
28
- "size-xxsmall": "cfxui__Flyout__size-xxsmall__33712",
29
- "backdrop-appearance-rtl": "cfxui__Flyout__backdrop-appearance-rtl__9f651"
31
+ "size-xxsmall": "cfxui__Flyout__size-xxsmall__33712"
30
32
  }, g = "flyout-outlet", H = "cfxui-root", n = "shrink";
31
33
  function S(i) {
32
34
  const {
33
- disabled: t = !1,
35
+ disabled: o = !1,
34
36
  size: a = "medium",
35
- theme: s = "default",
36
- onClose: l = b,
37
- children: r,
38
- holderClassName: u,
37
+ theme: r = "default",
38
+ onClose: l = k,
39
+ children: s,
40
+ holderClassName: m,
39
41
  rootClassName: d,
40
- maskClassName: f
41
- } = i, p = C(g);
42
+ maskClassName: p
43
+ } = i, f = C(g);
42
44
  y.useEffect(() => {
43
- if (t)
45
+ if (o)
44
46
  return;
45
- const _ = document.getElementById(H);
46
- return _ == null || _.classList.add(n), () => _ == null ? void 0 : _.classList.remove(n);
47
- }, [t]), N(l);
47
+ const t = document.getElementById(H);
48
+ return t == null || t.classList.add(n), () => t == null ? void 0 : t.classList.remove(n);
49
+ }, [o]), N(l);
48
50
  const h = c(
49
51
  e.root,
50
52
  e[`size-${a}`],
51
- e[`theme-${s}`],
53
+ e[`theme-${r}`],
52
54
  {
53
- [e.active]: !t
55
+ [e.active]: !o
54
56
  },
55
57
  d
56
58
  );
57
- return /* @__PURE__ */ o(p, { children: /* @__PURE__ */ m("div", { className: h, children: [
58
- /* @__PURE__ */ o(k, { showPointer: !1, className: e.backdrop, onClick: l }),
59
- /* @__PURE__ */ o("div", { className: c(e.mask, f), children: /* @__PURE__ */ o("div", { className: c(e.holder, u), children: /* @__PURE__ */ o(x, { disabled: t, className: e.content, children: r }) }) })
59
+ return /* @__PURE__ */ _(f, { children: /* @__PURE__ */ u("div", { className: h, children: [
60
+ /* @__PURE__ */ _(b, { showPointer: !1, className: e.backdrop, onClick: l }),
61
+ /* @__PURE__ */ _("div", { className: c(e.mask, p), children: /* @__PURE__ */ _("div", { className: c(e.holder, m), children: /* @__PURE__ */ _(x, { disabled: o, className: e.content, children: s }) }) })
60
62
  ] }) });
61
63
  }
62
- S.Header = function(t) {
64
+ S.Header = function(o) {
63
65
  const {
64
66
  onClose: a,
65
- children: s,
67
+ children: r,
66
68
  ref: l,
67
- className: r
68
- } = t;
69
- return /* @__PURE__ */ m("div", { ref: l, className: c(e.header, r), children: [
70
- /* @__PURE__ */ o("div", { className: e.title, children: s }),
71
- !!a && /* @__PURE__ */ o(F, { icon: "Close", onClick: a })
69
+ className: s
70
+ } = o;
71
+ return /* @__PURE__ */ u("div", { ref: l, className: c(e.header, s), children: [
72
+ /* @__PURE__ */ _("div", { className: e.title, children: r }),
73
+ !!a && /* @__PURE__ */ _(F, { icon: "Close", onClick: a })
72
74
  ] });
73
75
  };
74
76
  export {
@@ -9,6 +9,7 @@ export interface IconButtonProps extends TextColorProps {
9
9
  areaSize?: IconButtonAreaSize;
10
10
  onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
11
11
  className?: string;
12
+ iconClassName?: string;
12
13
  disabled?: boolean;
13
14
  ariaLabel?: string;
14
15
  }
@@ -1,53 +1,55 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import p from "react";
3
- import { Icon as x } from "../Icon/Icon.js";
4
- import { clsx as I } from "../../utils/clsx.js";
5
- const B = "cfxui__IconButton__unset__de209", b = "cfxui__IconButton__root__5af4a", y = "cfxui__IconButton__medium__52958", g = "cfxui__IconButton__large__6d5d8", o = {
6
- unset: B,
7
- root: b,
8
- medium: y,
2
+ import x from "react";
3
+ import { Icon as I } from "../Icon/Icon.js";
4
+ import { clsx as B } from "../../utils/clsx.js";
5
+ const b = "cfxui__IconButton__unset__de209", y = "cfxui__IconButton__root__5af4a", N = "cfxui__IconButton__medium__52958", g = "cfxui__IconButton__large__6d5d8", o = {
6
+ unset: b,
7
+ root: y,
8
+ medium: N,
9
9
  large: g
10
10
  };
11
11
  function k(n) {
12
12
  const {
13
- name: e,
14
- onClick: a,
15
- className: c,
13
+ name: a,
14
+ onClick: e,
15
+ className: s,
16
+ iconClassName: c,
16
17
  disabled: r,
17
- ariaLabel: s,
18
- areaSize: _ = "small",
19
- size: u = "small",
20
- color: m = "primary",
18
+ ariaLabel: _,
19
+ areaSize: m = "small",
20
+ size: l = "small",
21
+ color: u = "primary",
21
22
  colorToken: i,
22
- opacity: l,
23
- luminance: f,
24
- ...d
23
+ opacity: f,
24
+ luminance: d,
25
+ ...p
25
26
  } = n;
26
27
  return /* @__PURE__ */ t(
27
28
  "button",
28
29
  {
29
30
  type: "button",
30
- className: I(o.unset, o.root, c, o[_]),
31
- onClick: a,
31
+ className: B(o.unset, o.root, s, o[m]),
32
+ onClick: e,
32
33
  disabled: r,
33
- "aria-label": s,
34
- ...d,
34
+ "aria-label": _,
35
+ ...p,
35
36
  children: /* @__PURE__ */ t(
36
- x,
37
+ I,
37
38
  {
38
39
  as: "span",
39
- name: e,
40
- color: m,
41
- size: u,
40
+ name: a,
41
+ color: u,
42
+ size: l,
42
43
  colorToken: i,
43
- opacity: l,
44
- luminance: f
44
+ opacity: f,
45
+ luminance: d,
46
+ className: c
45
47
  }
46
48
  )
47
49
  }
48
50
  );
49
51
  }
50
- const C = p.memo(k);
52
+ const L = x.memo(k);
51
53
  export {
52
- C as default
54
+ L as default
53
55
  };
@@ -3,6 +3,7 @@ import { ColorType } from '../../utils/ui';
3
3
 
4
4
  export interface LinkBaseProps {
5
5
  color?: ColorType;
6
+ theme?: 'default' | 'secondary';
6
7
  className?: string;
7
8
  disabled?: boolean;
8
9
  unstyled?: boolean;
@@ -1,43 +1,44 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
- import _ from "react";
3
- import { clsx as d } from "../../utils/clsx.js";
4
- import { getColor as a } from "../../utils/color.js";
5
- const f = "cfxui__Link__unsetAll__58fea", m = "cfxui__Link__root__a29b3", y = "cfxui__Link__unstyled__f020c", e = {
6
- unsetAll: f,
2
+ import f from "react";
3
+ import { clsx as _ } from "../../utils/clsx.js";
4
+ import { getColor as r } from "../../utils/color.js";
5
+ const d = "cfxui__Link__unsetAll__58fea", m = "cfxui__Link__root__a29b3", y = "cfxui__Link__unstyled__f020c", n = {
6
+ unsetAll: d,
7
7
  root: m,
8
8
  unstyled: y
9
9
  };
10
10
  function k(t) {
11
11
  const {
12
- className: o,
13
- disabled: n = !1,
14
- unstyled: s = !1
12
+ className: e,
13
+ disabled: s = !1,
14
+ unstyled: o = !1
15
15
  } = t;
16
- return d(e.unsetAll, e.root, {
17
- [e.disabled]: n,
18
- [e.unstyled]: s
19
- }, o);
16
+ return _(n.unsetAll, n.root, {
17
+ [n.disabled]: s,
18
+ [n.unstyled]: o
19
+ }, e);
20
20
  }
21
21
  function x(t) {
22
22
  const {
23
- color: o = "tertiary"
24
- } = t;
23
+ color: e,
24
+ theme: s = "default"
25
+ } = t, o = () => e || (s === "default" ? "tertiary" : "primary");
25
26
  return {
26
- "--anchor-color": a({ color: o }),
27
- "--anchor-decoration-color-hover": a({
28
- color: o,
29
- opacity: 0.5
27
+ "--anchor-color": r({ color: o() }),
28
+ "--anchor-color-hover": r({
29
+ color: o(),
30
+ opacity: 0.6
30
31
  })
31
32
  };
32
33
  }
33
34
  function L(t) {
34
35
  const {
35
- className: o,
36
- children: n,
37
- disabled: s = !1,
36
+ className: e,
37
+ children: s,
38
+ disabled: o = !1,
38
39
  ...l
39
40
  } = t, {
40
- style: r
41
+ style: a
41
42
  } = l, c = k(t), i = x(t);
42
43
  return /* @__PURE__ */ u(
43
44
  "a",
@@ -45,18 +46,18 @@ function L(t) {
45
46
  ...l,
46
47
  style: {
47
48
  ...i,
48
- ...r
49
+ ...a
49
50
  },
50
- tabIndex: s ? -1 : 0,
51
- "aria-disabled": s,
51
+ tabIndex: o ? -1 : 0,
52
+ "aria-disabled": o,
52
53
  className: c,
53
- children: n
54
+ children: s
54
55
  }
55
56
  );
56
57
  }
57
- const g = _.memo(L);
58
+ const A = f.memo(L);
58
59
  export {
59
- g as default,
60
+ A as default,
60
61
  k as getLinkClassName,
61
62
  x as getLinkStyles
62
63
  };
@@ -1,32 +1,32 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import n from "react";
2
+ import t from "react";
3
3
  import d from "../Flex/Flex.js";
4
4
  import { Text as r } from "../Text/Text.js";
5
5
  import "../../utils/ui/ui.js";
6
- import t from "./ButtonLink.js";
6
+ import n from "./ButtonLink.js";
7
7
  import l from "./Link.js";
8
8
  function c() {
9
9
  return /* @__PURE__ */ i(d, { gap: "large", vertical: !0, children: [
10
10
  /* @__PURE__ */ i(d, { gap: "medium", vertical: !0, children: [
11
- /* @__PURE__ */ e(r, { children: "Color Default" }),
11
+ /* @__PURE__ */ e(r, { children: "Default Theme" }),
12
12
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { href: "/", children: "Link active" }) }),
13
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { href: "/", disabled: !0, children: "Link disable" }) }),
14
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { href: "/", unstyled: !0, children: "Link unstyled" }) })
13
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { href: "/", disabled: !0, children: "Link disable" }) })
15
14
  ] }),
16
15
  /* @__PURE__ */ i(d, { gap: "medium", vertical: !0, children: [
17
- /* @__PURE__ */ e(r, { children: "Color secondary" }),
16
+ /* @__PURE__ */ e(r, { children: "Secondary Theme" }),
18
17
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { href: "/", color: "secondary", children: "Link active" }) }),
19
18
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { href: "/", color: "secondary", disabled: !0, children: "Link disable" }) })
20
19
  ] }),
21
20
  /* @__PURE__ */ i(d, { gap: "medium", vertical: !0, children: [
22
21
  /* @__PURE__ */ e(r, { children: "Color red" }),
23
22
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { href: "/", color: "red", children: "Link active" }) }),
24
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { href: "/", color: "red", disabled: !0, children: "Link disable" }) })
23
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { href: "/", color: "red", disabled: !0, children: "Link disable" }) }),
24
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(l, { href: "/", unstyled: !0, children: "This is an unstyled link" }) })
25
25
  ] }),
26
26
  /* @__PURE__ */ i(d, { gap: "medium", vertical: !0, children: [
27
27
  /* @__PURE__ */ e(r, { children: "ButtonLink - look like link but its button" }),
28
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { children: "Link active" }) }),
29
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(t, { disabled: !0, children: "Link disable" }) })
28
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(n, { children: "Link active" }) }),
29
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(n, { disabled: !0, children: "Link disable" }) })
30
30
  ] }),
31
31
  /* @__PURE__ */ i(d, { gap: "medium", vertical: !0, children: [
32
32
  /* @__PURE__ */ e(r, { children: "Inside text" }),
@@ -66,7 +66,7 @@ function c() {
66
66
  ] })
67
67
  ] });
68
68
  }
69
- const f = n.memo(c);
69
+ const f = t.memo(c);
70
70
  export {
71
71
  f as default
72
72
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cfx-dev/ui-components",
3
3
  "private": false,
4
- "version": "5.0.15",
4
+ "version": "5.0.17",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "main": "dist/main.js",