@cfx-dev/ui-components 4.5.10 → 4.5.12

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, o) => {
20
20
  orientation: t,
21
21
  loop: r = !1,
22
22
  dir: c,
23
- currentTabStopId: u,
23
+ currentTabStopId: d,
24
24
  defaultCurrentTabStopId: l,
25
- onCurrentTabStopIdChange: _,
26
- onEntryFocus: m,
27
- preventScrollOnEntryFocus: d = !1,
25
+ onCurrentTabStopIdChange: m,
26
+ onEntryFocus: _,
27
+ preventScrollOnEntryFocus: u = !1,
28
28
  ...i
29
29
  } = e, f = a.useRef(null), v = z(o, f), g = Te(c), [b, M] = xe({
30
- prop: u,
30
+ prop: d,
31
31
  defaultProp: l ?? null,
32
- onChange: _,
32
+ onChange: m,
33
33
  caller: Z
34
- }), [R, T] = a.useState(!1), h = we(m), S = Oe(n), $ = a.useRef(!1), [Q, O] = a.useState(0);
34
+ }), [R, T] = a.useState(!1), h = we(_), S = Oe(n), $ = a.useRef(!1), [Q, O] = a.useState(0);
35
35
  return a.useEffect(() => {
36
36
  const C = f.current;
37
37
  if (C)
@@ -76,7 +76,7 @@ var On = a.forwardRef((e, o) => {
76
76
  const B = S().filter((y) => y.focusable), V = B.find((y) => y.active), ee = B.find((y) => y.id === b), se = [V, ee, ...B].filter(
77
77
  Boolean
78
78
  ).map((y) => y.ref.current);
79
- Ke(se, d);
79
+ Ke(se, u);
80
80
  }
81
81
  }
82
82
  $.current = !1;
@@ -93,9 +93,9 @@ var On = a.forwardRef((e, o) => {
93
93
  focusable: t = !0,
94
94
  active: r = !1,
95
95
  tabStopId: c,
96
- children: u,
96
+ children: d,
97
97
  ...l
98
- } = e, _ = le(), m = c || _, d = Nn(Ge, n), i = d.currentTabStopId === m, f = Oe(n), { onFocusableItemAdd: v, onFocusableItemRemove: g, currentTabStopId: b } = d;
98
+ } = e, m = le(), _ = c || m, u = Nn(Ge, n), i = u.currentTabStopId === _, f = Oe(n), { onFocusableItemAdd: v, onFocusableItemRemove: g, currentTabStopId: b } = u;
99
99
  return a.useEffect(() => {
100
100
  if (t)
101
101
  return v(), () => g();
@@ -103,27 +103,27 @@ var On = a.forwardRef((e, o) => {
103
103
  pe.ItemSlot,
104
104
  {
105
105
  scope: n,
106
- id: m,
106
+ id: _,
107
107
  focusable: t,
108
108
  active: r,
109
109
  children: /* @__PURE__ */ s(
110
110
  N.span,
111
111
  {
112
112
  tabIndex: i ? 0 : -1,
113
- "data-orientation": d.orientation,
113
+ "data-orientation": u.orientation,
114
114
  ...l,
115
115
  ref: o,
116
116
  onMouseDown: w(e.onMouseDown, (M) => {
117
- t ? d.onItemFocus(m) : M.preventDefault();
117
+ t ? u.onItemFocus(_) : M.preventDefault();
118
118
  }),
119
- onFocus: w(e.onFocus, () => d.onItemFocus(m)),
119
+ onFocus: w(e.onFocus, () => u.onItemFocus(_)),
120
120
  onKeyDown: w(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, o) => {
132
132
  else if (R === "prev" || R === "next") {
133
133
  R === "prev" && h.reverse();
134
134
  const S = h.indexOf(M.currentTarget);
135
- h = d.loop ? Ln(h, S + 1) : h.slice(S + 1);
135
+ h = u.loop ? Ln(h, S + 1) : h.slice(S + 1);
136
136
  }
137
137
  setTimeout(() => Ke(h));
138
138
  }
139
139
  }),
140
- children: typeof u == "function" ? u({ isCurrentTabStop: i, hasTabStop: b != null }) : u
140
+ children: typeof d == "function" ? d({ isCurrentTabStop: i, hasTabStop: b != null }) : d
141
141
  }
142
142
  )
143
143
  }
@@ -182,11 +182,11 @@ var Kn = ke, zn = Le, me = ["Enter", " "], Un = ["ArrowDown", "PageUp", "Home"],
182
182
  Ae,
183
183
  Fe
184
184
  ]), re = Ae(), $e = Fe(), [Xn, U] = k(q), [Hn, J] = k(q), Be = (e) => {
185
- const { __scopeMenu: o, open: n = !1, children: t, dir: r, onOpenChange: c, modal: u = !0 } = e, l = re(o), [_, m] = a.useState(null), d = a.useRef(!1), i = we(c), f = Te(r);
185
+ const { __scopeMenu: o, open: n = !1, children: t, dir: r, onOpenChange: c, modal: d = !0 } = e, l = re(o), [m, _] = a.useState(null), u = a.useRef(!1), i = we(c), f = Te(r);
186
186
  return a.useEffect(() => {
187
187
  const v = () => {
188
- d.current = !0, document.addEventListener("pointerdown", g, { capture: !0, once: !0 }), document.addEventListener("pointermove", g, { capture: !0, once: !0 });
189
- }, g = () => d.current = !1;
188
+ u.current = !0, document.addEventListener("pointerdown", g, { capture: !0, once: !0 }), document.addEventListener("pointermove", g, { capture: !0, once: !0 });
189
+ }, g = () => u.current = !1;
190
190
  return document.addEventListener("keydown", v, { capture: !0 }), () => {
191
191
  document.removeEventListener("keydown", v, { capture: !0 }), document.removeEventListener("pointerdown", g, { capture: !0 }), document.removeEventListener("pointermove", g, { capture: !0 });
192
192
  };
@@ -196,16 +196,16 @@ var Kn = ke, zn = Le, me = ["Enter", " "], Un = ["ArrowDown", "PageUp", "Home"],
196
196
  scope: o,
197
197
  open: n,
198
198
  onOpenChange: i,
199
- content: _,
200
- onContentChange: m,
199
+ content: m,
200
+ onContentChange: _,
201
201
  children: /* @__PURE__ */ s(
202
202
  Hn,
203
203
  {
204
204
  scope: o,
205
205
  onClose: a.useCallback(() => i(!1), [i]),
206
- isUsingKeyboardRef: d,
206
+ isUsingKeyboardRef: u,
207
207
  dir: f,
208
- modal: u,
208
+ modal: d,
209
209
  children: t
210
210
  }
211
211
  )
@@ -224,8 +224,8 @@ var Zn = "MenuPortal", [vt, Ve] = k(Zn, {
224
224
  forceMount: void 0
225
225
  }), E = "MenuContent", [qn, Me] = k(E), We = a.forwardRef(
226
226
  (e, o) => {
227
- const n = Ve(E, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = U(E, e.__scopeMenu), u = J(E, e.__scopeMenu);
228
- return /* @__PURE__ */ s(H.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(ge, { present: t || c.open, children: /* @__PURE__ */ s(H.Slot, { scope: e.__scopeMenu, children: u.modal ? /* @__PURE__ */ s(Jn, { ...r, ref: o }) : /* @__PURE__ */ s(Qn, { ...r, ref: o }) }) }) });
227
+ const n = Ve(E, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = U(E, e.__scopeMenu), d = J(E, e.__scopeMenu);
228
+ return /* @__PURE__ */ s(H.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(ge, { present: t || c.open, children: /* @__PURE__ */ s(H.Slot, { scope: e.__scopeMenu, children: d.modal ? /* @__PURE__ */ s(Jn, { ...r, ref: o }) : /* @__PURE__ */ s(Qn, { ...r, ref: o }) }) }) });
229
229
  }
230
230
  ), Jn = a.forwardRef(
231
231
  (e, o) => {
@@ -270,11 +270,11 @@ var Zn = "MenuPortal", [vt, Ve] = k(Zn, {
270
270
  loop: t = !1,
271
271
  trapFocus: r,
272
272
  onOpenAutoFocus: c,
273
- onCloseAutoFocus: u,
273
+ onCloseAutoFocus: d,
274
274
  disableOutsidePointerEvents: l,
275
- onEntryFocus: _,
276
- onEscapeKeyDown: m,
277
- onPointerDownOutside: d,
275
+ onEntryFocus: m,
276
+ onEscapeKeyDown: _,
277
+ onPointerDownOutside: u,
278
278
  onFocusOutside: i,
279
279
  onInteractOutside: f,
280
280
  onDismiss: v,
@@ -329,14 +329,14 @@ var Zn = "MenuPortal", [vt, Ve] = k(Zn, {
329
329
  var D;
330
330
  p.preventDefault(), (D = O.current) == null || D.focus({ preventScroll: !0 });
331
331
  }),
332
- onUnmountAutoFocus: u,
332
+ onUnmountAutoFocus: d,
333
333
  children: /* @__PURE__ */ s(
334
334
  bn,
335
335
  {
336
336
  asChild: !0,
337
337
  disableOutsidePointerEvents: l,
338
- onEscapeKeyDown: m,
339
- onPointerDownOutside: d,
338
+ onEscapeKeyDown: _,
339
+ onPointerDownOutside: u,
340
340
  onFocusOutside: i,
341
341
  onInteractOutside: f,
342
342
  onDismiss: v,
@@ -350,7 +350,7 @@ var Zn = "MenuPortal", [vt, Ve] = k(Zn, {
350
350
  loop: t,
351
351
  currentTabStopId: $,
352
352
  onCurrentTabStopIdChange: Q,
353
- onEntryFocus: w(_, (p) => {
353
+ onEntryFocus: w(m, (p) => {
354
354
  R.isUsingKeyboardRef.current || p.preventDefault();
355
355
  }),
356
356
  preventScrollOnEntryFocus: !0,
@@ -417,27 +417,27 @@ var oo = "MenuLabel", Ye = a.forwardRef(
417
417
  Ye.displayName = oo;
418
418
  var oe = "MenuItem", Se = "menu.itemSelect", ae = a.forwardRef(
419
419
  (e, o) => {
420
- const { disabled: n = !1, onSelect: t, ...r } = e, c = a.useRef(null), u = J(oe, e.__scopeMenu), l = Me(oe, e.__scopeMenu), _ = z(o, c), m = a.useRef(!1), d = () => {
420
+ const { disabled: n = !1, onSelect: t, ...r } = e, c = a.useRef(null), d = J(oe, e.__scopeMenu), l = Me(oe, e.__scopeMenu), m = z(o, c), _ = a.useRef(!1), u = () => {
421
421
  const i = c.current;
422
422
  if (!n && i) {
423
423
  const f = new CustomEvent(Se, { bubbles: !0, cancelable: !0 });
424
- i.addEventListener(Se, (v) => t == null ? void 0 : t(v), { once: !0 }), vn(i, f), f.defaultPrevented ? m.current = !1 : u.onClose();
424
+ i.addEventListener(Se, (v) => t == null ? void 0 : t(v), { once: !0 }), vn(i, f), f.defaultPrevented ? _.current = !1 : d.onClose();
425
425
  }
426
426
  };
427
427
  return /* @__PURE__ */ s(
428
428
  Xe,
429
429
  {
430
430
  ...r,
431
- ref: _,
431
+ ref: m,
432
432
  disabled: n,
433
- onClick: w(e.onClick, d),
433
+ onClick: w(e.onClick, u),
434
434
  onPointerDown: (i) => {
435
435
  var f;
436
- (f = e.onPointerDown) == null || f.call(e, i), m.current = !0;
436
+ (f = e.onPointerDown) == null || f.call(e, i), _.current = !0;
437
437
  },
438
438
  onPointerUp: w(e.onPointerUp, (i) => {
439
439
  var f;
440
- m.current || (f = i.currentTarget) == null || f.click();
440
+ _.current || (f = i.currentTarget) == null || f.click();
441
441
  }),
442
442
  onKeyDown: w(e.onKeyDown, (i) => {
443
443
  const f = l.searchRef.current !== "";
@@ -450,9 +450,9 @@ var oe = "MenuItem", Se = "menu.itemSelect", ae = a.forwardRef(
450
450
  ae.displayName = oe;
451
451
  var Xe = a.forwardRef(
452
452
  (e, o) => {
453
- const { __scopeMenu: n, disabled: t = !1, textValue: r, ...c } = e, u = Me(oe, n), l = $e(n), _ = a.useRef(null), m = z(o, _), [d, i] = a.useState(!1), [f, v] = a.useState("");
453
+ const { __scopeMenu: n, disabled: t = !1, textValue: r, ...c } = e, d = Me(oe, n), l = $e(n), m = a.useRef(null), _ = z(o, m), [u, i] = a.useState(!1), [f, v] = a.useState("");
454
454
  return a.useEffect(() => {
455
- const g = _.current;
455
+ const g = m.current;
456
456
  g && v((g.textContent ?? "").trim());
457
457
  }, [c.children]), /* @__PURE__ */ s(
458
458
  H.ItemSlot,
@@ -464,20 +464,20 @@ 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": t || void 0,
469
469
  "data-disabled": t ? "" : void 0,
470
470
  ...c,
471
- ref: m,
471
+ ref: _,
472
472
  onPointerMove: w(
473
473
  e.onPointerMove,
474
474
  j((g) => {
475
- t ? u.onItemLeave(g) : (u.onItemEnter(g), g.defaultPrevented || g.currentTarget.focus({ preventScroll: !0 }));
475
+ t ? d.onItemLeave(g) : (d.onItemEnter(g), g.defaultPrevented || g.currentTarget.focus({ preventScroll: !0 }));
476
476
  })
477
477
  ),
478
478
  onPointerLeave: w(
479
479
  e.onPointerLeave,
480
- j((g) => u.onItemLeave(g))
480
+ j((g) => d.onItemLeave(g))
481
481
  ),
482
482
  onFocus: w(e.onFocus, () => i(!0)),
483
483
  onBlur: w(e.onBlur, () => i(!1))
@@ -532,8 +532,8 @@ var qe = "MenuRadioItem", Je = a.forwardRef(
532
532
  onSelect: w(
533
533
  t.onSelect,
534
534
  () => {
535
- var u;
536
- return (u = r.onValueChange) == null ? void 0 : u.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 io = "MenuArrow", on = a.forwardRef(
589
589
  on.displayName = io;
590
590
  var uo = "MenuSub", [Mt, tn] = k(uo), Y = "MenuSubTrigger", rn = a.forwardRef(
591
591
  (e, o) => {
592
- const n = U(Y, e.__scopeMenu), t = J(Y, e.__scopeMenu), r = tn(Y, e.__scopeMenu), c = Me(Y, e.__scopeMenu), u = a.useRef(null), { pointerGraceTimerRef: l, onPointerGraceIntentChange: _ } = c, m = { __scopeMenu: e.__scopeMenu }, d = a.useCallback(() => {
593
- u.current && window.clearTimeout(u.current), u.current = null;
592
+ const n = U(Y, e.__scopeMenu), t = J(Y, e.__scopeMenu), r = tn(Y, e.__scopeMenu), c = Me(Y, e.__scopeMenu), d = a.useRef(null), { pointerGraceTimerRef: l, onPointerGraceIntentChange: m } = c, _ = { __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(() => {
595
+ return a.useEffect(() => u, [u]), a.useEffect(() => {
596
596
  const i = l.current;
597
597
  return () => {
598
- window.clearTimeout(i), _(null);
598
+ window.clearTimeout(i), m(null);
599
599
  };
600
- }, [l, _]), /* @__PURE__ */ s(ve, { asChild: !0, ...m, children: /* @__PURE__ */ s(
600
+ }, [l, m]), /* @__PURE__ */ s(ve, { asChild: !0, ..._, children: /* @__PURE__ */ s(
601
601
  Xe,
602
602
  {
603
603
  id: r.triggerId,
@@ -614,8 +614,8 @@ var uo = "MenuSub", [Mt, tn] = k(uo), Y = "MenuSubTrigger", rn = a.forwardRef(
614
614
  onPointerMove: w(
615
615
  e.onPointerMove,
616
616
  j((i) => {
617
- c.onItemEnter(i), !i.defaultPrevented && !e.disabled && !n.open && !u.current && (c.onPointerGraceIntentChange(null), u.current = window.setTimeout(() => {
618
- n.onOpenChange(!0), d();
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
  ),
@@ -623,7 +623,7 @@ var uo = "MenuSub", [Mt, tn] = k(uo), Y = "MenuSubTrigger", rn = a.forwardRef(
623
623
  e.onPointerLeave,
624
624
  j((i) => {
625
625
  var v, g;
626
- d();
626
+ u();
627
627
  const f = (v = n.content) == null ? void 0 : v.getBoundingClientRect();
628
628
  if (f) {
629
629
  const b = (g = n.content) == null ? void 0 : g.dataset.side, M = b === "right", R = M ? -5 : 5, T = f[M ? "left" : "right"], h = f[M ? "right" : "left"];
@@ -660,34 +660,34 @@ var uo = "MenuSub", [Mt, tn] = k(uo), Y = "MenuSubTrigger", rn = a.forwardRef(
660
660
  rn.displayName = Y;
661
661
  var an = "MenuSubContent", cn = a.forwardRef(
662
662
  (e, o) => {
663
- const n = Ve(E, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = U(E, e.__scopeMenu), u = J(E, e.__scopeMenu), l = tn(an, e.__scopeMenu), _ = a.useRef(null), m = z(o, _);
663
+ const n = Ve(E, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = U(E, e.__scopeMenu), d = J(E, e.__scopeMenu), l = tn(an, e.__scopeMenu), m = a.useRef(null), _ = z(o, m);
664
664
  return /* @__PURE__ */ s(H.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(ge, { present: t || c.open, children: /* @__PURE__ */ s(H.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(
665
665
  he,
666
666
  {
667
667
  id: l.contentId,
668
668
  "aria-labelledby": l.triggerId,
669
669
  ...r,
670
- ref: m,
670
+ ref: _,
671
671
  align: "start",
672
- side: u.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) => {
676
+ onOpenAutoFocus: (u) => {
677
677
  var i;
678
- u.isUsingKeyboardRef.current && ((i = _.current) == null || i.focus()), d.preventDefault();
678
+ d.isUsingKeyboardRef.current && ((i = m.current) == null || i.focus()), u.preventDefault();
679
679
  },
680
- onCloseAutoFocus: (d) => d.preventDefault(),
681
- onFocusOutside: w(e.onFocusOutside, (d) => {
682
- d.target !== l.trigger && c.onOpenChange(!1);
680
+ onCloseAutoFocus: (u) => u.preventDefault(),
681
+ onFocusOutside: w(e.onFocusOutside, (u) => {
682
+ u.target !== l.trigger && c.onOpenChange(!1);
683
683
  }),
684
- onEscapeKeyDown: w(e.onEscapeKeyDown, (d) => {
685
- u.onClose(), d.preventDefault();
684
+ onEscapeKeyDown: w(e.onEscapeKeyDown, (u) => {
685
+ d.onClose(), u.preventDefault();
686
686
  }),
687
- onKeyDown: w(e.onKeyDown, (d) => {
687
+ onKeyDown: w(e.onKeyDown, (u) => {
688
688
  var v;
689
- const i = d.currentTarget.contains(d.target), f = Vn[u.dir].includes(d.key);
690
- i && f && (c.onOpenChange(!1), (v = l.trigger) == null || v.focus(), d.preventDefault());
689
+ const i = u.currentTarget.contains(u.target), f = Vn[d.dir].includes(u.key);
690
+ i && f && (c.onOpenChange(!1), (v = l.trigger) == null || v.focus(), u.preventDefault());
691
691
  })
692
692
  }
693
693
  ) }) }) });
@@ -712,20 +712,20 @@ function fo(e, o) {
712
712
  return e.map((n, t) => e[(o + t) % e.length]);
713
713
  }
714
714
  function po(e, o, n) {
715
- const r = o.length > 1 && Array.from(o).every((m) => m === o[0]) ? o[0] : o, c = n ? e.indexOf(n) : -1;
716
- let u = fo(e, Math.max(c, 0));
717
- r.length === 1 && (u = u.filter((m) => m !== n));
718
- const _ = u.find(
719
- (m) => m.toLowerCase().startsWith(r.toLowerCase())
715
+ const r = o.length > 1 && Array.from(o).every((_) => _ === o[0]) ? o[0] : o, c = n ? e.indexOf(n) : -1;
716
+ let d = fo(e, Math.max(c, 0));
717
+ r.length === 1 && (d = d.filter((_) => _ !== n));
718
+ const m = d.find(
719
+ (_) => _.toLowerCase().startsWith(r.toLowerCase())
720
720
  );
721
- return _ !== n ? _ : void 0;
721
+ return m !== n ? m : void 0;
722
722
  }
723
723
  function mo(e, o) {
724
724
  const { x: n, y: t } = e;
725
725
  let r = !1;
726
- for (let c = 0, u = o.length - 1; c < o.length; u = c++) {
727
- const l = o[c], _ = o[u], m = l.x, d = l.y, i = _.x, f = _.y;
728
- d > t != f > t && n < (i - m) * (t - d) / (f - d) + m && (r = !r);
726
+ for (let c = 0, d = o.length - 1; c < o.length; d = c++) {
727
+ const l = o[c], m = o[d], _ = l.x, u = l.y, i = m.x, f = m.y;
728
+ u > t != f > t && n < (i - _) * (t - u) / (f - u) + _ && (r = !r);
729
729
  }
730
730
  return r;
731
731
  }
@@ -747,12 +747,12 @@ var wo = Be, go = ve, vo = We, Mo = Ce, ho = Ye, Co = ae, Ro = He, Io = Ze, bo =
747
747
  dir: t,
748
748
  open: r,
749
749
  defaultOpen: c,
750
- onOpenChange: u,
750
+ onOpenChange: d,
751
751
  modal: l = !0
752
- } = e, _ = I(o), m = a.useRef(null), [d, i] = xe({
752
+ } = e, m = I(o), _ = a.useRef(null), [u, i] = xe({
753
753
  prop: r,
754
754
  defaultProp: c ?? !1,
755
- onChange: u,
755
+ onChange: d,
756
756
  caller: ce
757
757
  });
758
758
  return /* @__PURE__ */ s(
@@ -760,21 +760,21 @@ var wo = Be, go = ve, vo = We, Mo = Ce, ho = Ye, Co = ae, Ro = He, Io = Ze, bo =
760
760
  {
761
761
  scope: o,
762
762
  triggerId: le(),
763
- triggerRef: m,
763
+ triggerRef: _,
764
764
  contentId: le(),
765
- open: d,
765
+ open: u,
766
766
  onOpenChange: i,
767
767
  onOpenToggle: a.useCallback(() => i((f) => !f), [i]),
768
768
  modal: l,
769
- children: /* @__PURE__ */ s(wo, { ..._, open: d, onOpenChange: i, dir: t, modal: l, children: n })
769
+ children: /* @__PURE__ */ s(wo, { ...m, open: u, onOpenChange: i, dir: t, modal: l, children: n })
770
770
  }
771
771
  );
772
772
  };
773
773
  dn.displayName = ce;
774
774
  var ln = "DropdownMenuTrigger", fn = a.forwardRef(
775
775
  (e, o) => {
776
- const { __scopeDropdownMenu: n, disabled: t = !1, ...r } = e, c = un(ln, n), u = I(n);
777
- return /* @__PURE__ */ s(go, { asChild: !0, ...u, children: /* @__PURE__ */ s(
776
+ const { __scopeDropdownMenu: n, disabled: t = !1, ...r } = e, c = un(ln, n), d = I(n);
777
+ return /* @__PURE__ */ s(go, { asChild: !0, ...d, children: /* @__PURE__ */ s(
778
778
  N.button,
779
779
  {
780
780
  type: "button",
@@ -800,7 +800,7 @@ var ln = "DropdownMenuTrigger", fn = a.forwardRef(
800
800
  fn.displayName = ln;
801
801
  var pn = "DropdownMenuContent", mn = a.forwardRef(
802
802
  (e, o) => {
803
- const { __scopeDropdownMenu: n, ...t } = e, r = un(pn, n), c = I(n), u = a.useRef(!1);
803
+ const { __scopeDropdownMenu: n, ...t } = e, r = un(pn, n), c = I(n), d = a.useRef(!1);
804
804
  return /* @__PURE__ */ s(
805
805
  vo,
806
806
  {
@@ -810,12 +810,12 @@ var pn = "DropdownMenuContent", mn = a.forwardRef(
810
810
  ...t,
811
811
  ref: o,
812
812
  onCloseAutoFocus: w(e.onCloseAutoFocus, (l) => {
813
- var _;
814
- u.current || (_ = r.triggerRef.current) == null || _.focus(), u.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: w(e.onInteractOutside, (l) => {
817
- const _ = l.detail.originalEvent, m = _.button === 0 && _.ctrlKey === !0, d = _.button === 2 || m;
818
- (!r.modal || d) && (u.current = !0);
817
+ const m = l.detail.originalEvent, _ = m.button === 0 && m.ctrlKey === !0, u = m.button === 2 || _;
818
+ (!r.modal || u) && (d.current = !0);
819
819
  }),
820
820
  style: {
821
821
  ...e.style,
@@ -945,10 +945,11 @@ function ut(e) {
945
945
  size: t,
946
946
  fullWidth: r = !1,
947
947
  className: c,
948
- onSelect: u
949
- } = e, l = it(t), _ = fe(
948
+ itemClassName: d,
949
+ onSelect: l
950
+ } = e, m = it(t), _ = fe(
950
951
  c,
951
- l,
952
+ m,
952
953
  {
953
954
  [X.fullWidth]: r
954
955
  }
@@ -963,18 +964,18 @@ function ut(e) {
963
964
  width: o,
964
965
  zIndex: Ne.zindex("max")
965
966
  },
966
- children: n.map((m) => /* @__PURE__ */ s(
967
+ children: n.map((u) => /* @__PURE__ */ s(
967
968
  et,
968
969
  {
969
- disabled: m.disabled,
970
- className: fe(X.item, {
971
- [X.disabled]: m.disabled
970
+ disabled: u.disabled,
971
+ className: fe(X.item, d, {
972
+ [X.disabled]: u.disabled
972
973
  }),
973
- onSelect: () => u(m.value),
974
+ onSelect: () => l(u.value),
974
975
  style: { width: o },
975
- children: m.label
976
+ children: u.label
976
977
  },
977
- m.value
978
+ u.value
978
979
  ))
979
980
  }
980
981
  );
@@ -12,6 +12,7 @@ export type DropdownContentOption = DropdownOption<string>;
12
12
  export interface DropdownContentProps {
13
13
  options: DropdownContentOption[];
14
14
  className?: string;
15
+ itemClassName?: string;
15
16
  triggerWidth?: React.CSSProperties['width'];
16
17
  size?: ResponsiveValueType<InputSize>;
17
18
  fullWidth?: boolean;
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { D as a, g as i } from "../../DropdownContent-BertjH0y.js";
2
+ import { D as a, g as i } from "../../DropdownContent-CLtPVRZg.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 n, g as t } from "../../DropdownContent-BertjH0y.js";
1
+ import { D as n, g as t } from "../../DropdownContent-CLtPVRZg.js";
2
2
  export {
3
3
  n as DropdownContent,
4
4
  t as getDropdownContentSizeClassNames
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
- import { R as m, T as p, D as f } from "../../DropdownContent-BertjH0y.js";
2
+ import { R as m, T as p, D as f } from "../../DropdownContent-CLtPVRZg.js";
3
3
  import u from "react";
4
4
  function h(t) {
5
5
  const {
@@ -1,5 +1,5 @@
1
1
  import { jsxs as f, jsx as l } from "react/jsx-runtime";
2
- import { g as W, R as N, T as R, D as v } from "../../DropdownContent-BertjH0y.js";
2
+ import { g as W, R as N, T as R, D as v } from "../../DropdownContent-CLtPVRZg.js";
3
3
  import _, { useRef as b, useState as z, useEffect as I } from "react";
4
4
  import T from "../Flex/Flex.js";
5
5
  import { clsx as j } from "../../utils/clsx.js";
@@ -1,5 +1,4 @@
1
1
  import * as Cfx from './cfx';
2
- import * as CfxBazaar from './cfxbazaar';
3
2
  import * as Discord from './discord';
4
3
  import * as ESX from './esx';
5
4
  import * as FiveM from './fivem';
@@ -23,4 +22,3 @@ export type ESXLogoName = keyof typeof ESX;
23
22
  export type VorpCoreLogoName = keyof typeof VorpCore;
24
23
  export type RedemRPLogoName = keyof typeof RedemRP;
25
24
  export type DiscordLogoName = keyof typeof Discord;
26
- export type CfxBazaarLogoName = keyof typeof CfxBazaar;
@@ -1,5 +1,4 @@
1
1
  import * as Cfx from './cfx';
2
- import * as CfxBazaar from './cfxbazaar';
3
2
  import * as Discord from './discord';
4
3
  import * as ESX from './esx';
5
4
  import * as FiveM from './fivem';
@@ -26,7 +25,6 @@ export declare const Logos: {
26
25
  VorpCore: typeof VorpCore;
27
26
  RedemRP: typeof RedemRP;
28
27
  Discord: typeof Discord;
29
- CfxBazaar: typeof CfxBazaar;
30
28
  Github: typeof Github;
31
29
  X: typeof X;
32
30
  };
@@ -1,37 +1,35 @@
1
1
  import { C as o } from "../../index-BgyFvlVL.js";
2
- import { C as r } from "../../index-BCMIaGt2.js";
3
- import { D as m } from "../../index-DwfZyjnS.js";
4
- import { E as a } from "../../index-CndZSWbO.js";
2
+ import { D as r } from "../../index-DwfZyjnS.js";
3
+ import { E as m } from "../../index-CndZSWbO.js";
5
4
  import { F as t } from "../../index-B_NGoq0d.js";
6
5
  import { G as s } from "../../index-SuteELrX.js";
7
- import { G as f } from "../../index-zDYfHjPd.js";
6
+ import { G as a } from "../../index-zDYfHjPd.js";
8
7
  import { P as i } from "../../index-kbBuAY0m.js";
9
8
  import { Q as p } from "../../index-Cy4ZbWBL.js";
10
- import { R as e } from "../../index-BFDtbr-9.js";
11
- import { R } from "../../index-Cn_D8a9-.js";
12
- import { R as x } from "../../index-DmiGJpGO.js";
13
- import { T as C } from "../../index-Bj7QGXdt.js";
14
- import { V as c } from "../../index-DXAZagKA.js";
9
+ import { R as f } from "../../index-BFDtbr-9.js";
10
+ import { R as e } from "../../index-Cn_D8a9-.js";
11
+ import { R } from "../../index-DmiGJpGO.js";
12
+ import { T as c } from "../../index-Bj7QGXdt.js";
13
+ import { V as x } from "../../index-DXAZagKA.js";
15
14
  import { X as G } from "../../index-Bc4HE9pX.js";
16
- import { L as u } from "../../Logos.types-Bdec3F0Q.js";
17
- const h = {
15
+ import { L as l } from "../../Logos.types-Bdec3F0Q.js";
16
+ const X = {
18
17
  Cfx: o,
19
18
  FiveM: t,
20
- RedM: R,
21
- Rockstar: x,
22
- Google: f,
19
+ RedM: e,
20
+ Rockstar: R,
21
+ Google: a,
23
22
  Patreon: i,
24
- Tebex: C,
23
+ Tebex: c,
25
24
  QBcore: p,
26
- ESX: a,
27
- VorpCore: c,
28
- RedemRP: e,
29
- Discord: m,
30
- CfxBazaar: r,
25
+ ESX: m,
26
+ VorpCore: x,
27
+ RedemRP: f,
28
+ Discord: r,
31
29
  Github: s,
32
30
  X: G
33
31
  };
34
32
  export {
35
- u as LogoNames,
36
- h as Logos
33
+ l as LogoNames,
34
+ X as Logos
37
35
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cfx-dev/ui-components",
3
3
  "private": false,
4
- "version": "4.5.10",
4
+ "version": "4.5.12",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "main": "dist/main.js",
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- declare function CompositeLogo(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
4
- declare const _default: React.MemoExoticComponent<typeof CompositeLogo>;
5
- export default _default;
@@ -1,103 +0,0 @@
1
- import { jsxs as L, jsx as C } from "react/jsx-runtime";
2
- import t from "react";
3
- function i(H) {
4
- return /* @__PURE__ */ L(
5
- "svg",
6
- {
7
- viewBox: "0 0 542 82",
8
- fill: "none",
9
- xmlns: "http://www.w3.org/2000/svg",
10
- ...H,
11
- children: [
12
- /* @__PURE__ */ C(
13
- "path",
14
- {
15
- fill: "white",
16
- d: "M189.77 69.03C182.49 69.03 176.54 66.5 171.92 61.42C167.31 56.35 165 49.55 165 41.01C165 32.47 167.31 25.68 171.93 20.61C176.55 15.54 182.5 13 189.77 13C195.39 13 200.27 14.53 204.42 17.59C208.56 20.65 211.28 25.27 212.59 31.45H206.19C205.03 27.03 203 23.82 200.09 21.81C197.18 19.8 193.74 18.8 189.77 18.8C184.3 18.8 179.91 20.77 176.59 24.71C173.28 28.65 171.62 34.09 171.62 41.01C171.62 47.93 173.28 53.37 176.59 57.31C179.9 61.25 184.3 63.22 189.77 63.22C193.89 63.22 197.55 61.95 200.76 59.42C203.97 56.89 205.91 53.18 206.56 48.31H212.89C212.24 54.94 209.7 60.05 205.28 63.63C200.86 67.22 195.69 69.01 189.77 69.01V69.03Z"
17
- }
18
- ),
19
- /* @__PURE__ */ C(
20
- "path",
21
- {
22
- fill: "white",
23
- d: "M235.41 19.33C231.95 19.33 230.21 21.16 230.21 24.83V28.97H238.49V34.24H230.21V67.82H224.19V34.24H217.79V28.97H224.19V24.98C224.19 17.7 227.8 14.06 235.03 14.06C236.39 14.06 237.67 14.11 238.87 14.21V19.33H235.41Z"
24
- }
25
- ),
26
- /* @__PURE__ */ C(
27
- "path",
28
- {
29
- fill: "white",
30
- d: "M277.73 28.96L263.65 47.94L278.48 67.82H271.4L269.29 64.88C266.08 60.31 263.04 56.09 260.18 52.23C255.96 57.9 252.88 62.15 250.92 64.96L248.89 67.82H241.89L256.72 47.94L242.64 28.96H249.72L252.73 33.1C255.69 37.12 258.2 40.63 260.26 43.64C262.82 40.02 265.33 36.51 267.79 33.1L270.73 28.96H277.73Z"
31
- }
32
- ),
33
- /* @__PURE__ */ C(
34
- "path",
35
- {
36
- fill: "white",
37
- d: "M336.91 39.58C339.97 40.68 342.29 42.4 343.88 44.74C345.46 47.07 346.25 49.65 346.25 52.46C346.25 57.23 344.67 60.98 341.51 63.72C338.35 66.46 333.7 67.82 327.58 67.82H302.5V14.2H326.75C332.57 14.2 336.92 15.52 339.78 18.15C342.64 20.79 344.07 24.09 344.07 28.05C344.07 33.32 341.68 37.16 336.92 39.57L336.91 39.58ZM325.99 22.56H312.66V36.57H325.99C328.6 36.57 330.58 35.93 331.94 34.65C333.3 33.37 333.97 31.6 333.97 29.34C333.97 27.28 333.28 25.64 331.9 24.41C330.52 23.18 328.55 22.57 325.99 22.57V22.56ZM312.66 59.38H327.04C329.9 59.38 332.09 58.74 333.59 57.46C335.09 56.18 335.85 54.36 335.85 52C335.85 47.03 332.91 44.54 327.04 44.54H312.66V59.38Z"
38
- }
39
- ),
40
- /* @__PURE__ */ C(
41
- "path",
42
- {
43
- fill: "white",
44
- d: "M388.57 67.82H379.08C378.58 66.92 378.23 65.33 378.03 63.08C375.37 66.85 371.2 68.73 365.53 68.73C361.31 68.73 357.92 67.71 355.36 65.68C352.8 63.65 351.52 60.77 351.52 57.06C351.52 49.93 356.49 45.89 366.43 44.94L372.3 44.41C374.21 44.16 375.6 43.71 376.48 43.05C377.36 42.4 377.8 41.37 377.8 39.96C377.8 38.35 377.27 37.15 376.22 36.35C375.17 35.55 373.33 35.14 370.72 35.14C367.96 35.14 365.98 35.59 364.77 36.5C363.56 37.4 362.86 39.01 362.66 41.32H353.32C353.87 32.49 359.7 28.07 370.79 28.07C381.88 28.07 386.98 31.96 386.98 39.74V60.45C386.98 63.87 387.51 66.32 388.56 67.83L388.57 67.82ZM367.79 61.95C370.6 61.95 372.97 61.16 374.91 59.58C376.84 58 377.81 55.63 377.81 52.46V48.92C376.91 49.72 375.43 50.25 373.37 50.5L368.25 51.1C365.69 51.4 363.88 52 362.83 52.91C361.78 53.82 361.25 55.07 361.25 56.68C361.25 58.29 361.8 59.63 362.91 60.56C364.01 61.49 365.65 61.95 367.81 61.95H367.79Z"
45
- }
46
- ),
47
- /* @__PURE__ */ C(
48
- "path",
49
- {
50
- fill: "white",
51
- d: "M414.02 60.44H427.2V67.82H394.22V61.57L409.58 42.22C411.54 39.81 413.17 37.83 414.47 36.27C412.66 36.32 410 36.35 406.49 36.35H394.59V28.97H426.29V35.22L410.93 54.57C408.97 56.98 407.34 58.96 406.04 60.52C407.85 60.47 410.51 60.44 414.02 60.44Z"
52
- }
53
- ),
54
- /* @__PURE__ */ C(
55
- "path",
56
- {
57
- fill: "white",
58
- d: "M468.54 67.82H459.05C458.55 66.92 458.2 65.33 458 63.08C455.34 66.85 451.17 68.73 445.5 68.73C441.28 68.73 437.89 67.71 435.33 65.68C432.77 63.65 431.49 60.77 431.49 57.06C431.49 49.93 436.46 45.89 446.4 44.94L452.27 44.41C454.18 44.16 455.57 43.71 456.45 43.05C457.33 42.4 457.77 41.37 457.77 39.96C457.77 38.35 457.24 37.15 456.19 36.35C455.14 35.55 453.3 35.14 450.69 35.14C447.93 35.14 445.95 35.59 444.74 36.5C443.53 37.4 442.83 39.01 442.63 41.32H433.29C433.84 32.49 439.67 28.07 450.76 28.07C461.85 28.07 466.95 31.96 466.95 39.74V60.45C466.95 63.87 467.48 66.32 468.53 67.83L468.54 67.82ZM447.76 61.95C450.57 61.95 452.94 61.16 454.88 59.58C456.81 58 457.78 55.63 457.78 52.46V48.92C456.88 49.72 455.4 50.25 453.34 50.5L448.22 51.1C445.66 51.4 443.85 52 442.8 52.91C441.75 53.82 441.22 55.07 441.22 56.68C441.22 58.29 441.77 59.63 442.88 60.56C443.98 61.49 445.62 61.95 447.78 61.95H447.76Z"
59
- }
60
- ),
61
- /* @__PURE__ */ C(
62
- "path",
63
- {
64
- fill: "white",
65
- d: "M510.86 67.82H501.37C500.87 66.92 500.52 65.33 500.32 63.08C497.66 66.85 493.49 68.73 487.82 68.73C483.6 68.73 480.21 67.71 477.65 65.68C475.09 63.65 473.81 60.77 473.81 57.06C473.81 49.93 478.78 45.89 488.72 44.94L494.59 44.41C496.5 44.16 497.89 43.71 498.77 43.05C499.65 42.4 500.09 41.37 500.09 39.96C500.09 38.35 499.56 37.15 498.51 36.35C497.46 35.55 495.62 35.14 493.01 35.14C490.25 35.14 488.27 35.59 487.06 36.5C485.85 37.4 485.15 39.01 484.95 41.32H475.61C476.16 32.49 481.99 28.07 493.08 28.07C504.17 28.07 509.27 31.96 509.27 39.74V60.45C509.27 63.87 509.8 66.32 510.85 67.83L510.86 67.82ZM490.08 61.95C492.89 61.95 495.26 61.16 497.2 59.58C499.13 58 500.1 55.63 500.1 52.46V48.92C499.2 49.72 497.72 50.25 495.66 50.5L490.54 51.1C487.98 51.4 486.17 52 485.12 52.91C484.07 53.82 483.54 55.07 483.54 56.68C483.54 58.29 484.09 59.63 485.2 60.56C486.3 61.49 487.94 61.95 490.1 61.95H490.08Z"
66
- }
67
- ),
68
- /* @__PURE__ */ C(
69
- "path",
70
- {
71
- fill: "white",
72
- d: "M538.8 28.36C539.8 28.36 540.58 28.41 541.13 28.51V37.25H538.72C535.16 37.25 532.39 38.15 530.44 39.96C528.48 41.77 527.5 44.48 527.5 48.09V67.82H518.01V28.96H527.2V35.89C529.36 30.87 533.22 28.36 538.8 28.36Z"
73
- }
74
- ),
75
- /* @__PURE__ */ C(
76
- "path",
77
- {
78
- fill: "white",
79
- d: "M113 0H117V81H113V0Z"
80
- }
81
- ),
82
- /* @__PURE__ */ C(
83
- "path",
84
- {
85
- fill: "white",
86
- d: "M9.30157 12L31.082 12.0516C35.6343 12.0172 39.0333 12.7374 41.2775 14.2109C44.0202 16.0172 45.3893 19.1234 45.3893 23.5308C45.3893 30.7877 41.9904 34.8996 35.1924 35.8651V35.967C38.19 36.7059 39.7055 39.1636 39.7389 43.34C39.7389 45.4792 39.6577 48.2195 39.4969 51.5595C39.4969 53.8006 39.975 55.7389 40.9342 57.3745H28.9986C28.4408 56.7762 28.1626 55.5581 28.1626 53.7174C28.3915 50.6413 28.5045 48.1191 28.5045 46.1492C28.5045 42.1707 26.5732 40.1808 22.7121 40.1808H14.9897L11.6212 56.274H0L9.30157 12ZM19.1551 21.2267L16.9239 31.9096H26.1849C31.3616 31.9096 33.9652 29.8867 34 25.8407C34 22.7647 31.905 21.2267 27.7149 21.2267H19.1551Z"
87
- }
88
- ),
89
- /* @__PURE__ */ C(
90
- "path",
91
- {
92
- fill: "white",
93
- d: "M53.4565 57.4247L51.134 42.5337L42.5163 57.3228L28.9015 57.2812L37.3178 66.2539L30.0968 82L45.5342 72.7217L57.0178 81.6442L54.8937 66.8551L68.1579 57.4247H53.4565ZM54.1505 76.6829L45.6835 70.1133L34.9432 76.5294L39.891 65.8465L33.9073 59.4806H43.7536L49.9387 48.8063L51.6266 59.5825H61.3715L52.5626 65.7963L54.1505 76.6829Z"
94
- }
95
- )
96
- ]
97
- }
98
- );
99
- }
100
- const h = t.memo(i);
101
- export {
102
- h as default
103
- };
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- declare function Wordmark(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
4
- declare const _default: React.MemoExoticComponent<typeof Wordmark>;
5
- export default _default;
@@ -1,82 +0,0 @@
1
- import { jsxs as t, jsx as C } from "react/jsx-runtime";
2
- import V from "react";
3
- function i(H) {
4
- return /* @__PURE__ */ t(
5
- "svg",
6
- {
7
- viewBox: "0 0 377 60",
8
- fill: "none",
9
- xmlns: "http://www.w3.org/2000/svg",
10
- ...H,
11
- children: [
12
- /* @__PURE__ */ C(
13
- "path",
14
- {
15
- fill: "white",
16
- d: "M24.77 58.03C17.49 58.03 11.54 55.5 6.92 50.42C2.31 45.35 0 38.55 0 30.01C0 21.47 2.31 14.68 6.93 9.61C11.55 4.54 17.5 2 24.77 2C30.39 2 35.27 3.53 39.42 6.59C43.56 9.65 46.28 14.27 47.59 20.45H41.19C40.03 16.03 38 12.82 35.09 10.81C32.18 8.8 28.74 7.8 24.77 7.8C19.3 7.8 14.91 9.77 11.59 13.71C8.28 17.65 6.62 23.09 6.62 30.01C6.62 36.93 8.28 42.37 11.59 46.31C14.9 50.25 19.3 52.22 24.77 52.22C28.89 52.22 32.55 50.95 35.76 48.42C38.97 45.89 40.91 42.18 41.56 37.31H47.89C47.24 43.94 44.7 49.05 40.28 52.63C35.86 56.22 30.69 58.01 24.77 58.01V58.03Z"
17
- }
18
- ),
19
- /* @__PURE__ */ C(
20
- "path",
21
- {
22
- fill: "white",
23
- d: "M70.41 8.33C66.95 8.33 65.21 10.16 65.21 13.83V17.97H73.49V23.24H65.21V56.82H59.19V23.24H52.79V17.97H59.19V13.98C59.19 6.7 62.8 3.06 70.03 3.06C71.39 3.06 72.67 3.11 73.87 3.21V8.33H70.41Z"
24
- }
25
- ),
26
- /* @__PURE__ */ C(
27
- "path",
28
- {
29
- fill: "white",
30
- d: "M112.73 17.96L98.65 36.94L113.48 56.82H106.4L104.29 53.88C101.08 49.31 98.04 45.09 95.18 41.23C90.96 46.9 87.88 51.15 85.92 53.96L83.89 56.82H76.89L91.72 36.94L77.64 17.96H84.72L87.73 22.1C90.69 26.12 93.2 29.63 95.26 32.64C97.82 29.02 100.33 25.51 102.79 22.1L105.73 17.96H112.73Z"
31
- }
32
- ),
33
- /* @__PURE__ */ C(
34
- "path",
35
- {
36
- fill: "white",
37
- d: "M171.91 28.58C174.97 29.68 177.29 31.4 178.88 33.74C180.46 36.07 181.25 38.65 181.25 41.46C181.25 46.23 179.67 49.98 176.51 52.72C173.35 55.46 168.7 56.82 162.58 56.82H137.5V3.2H161.75C167.57 3.2 171.92 4.52 174.78 7.15C177.64 9.79 179.07 13.09 179.07 17.05C179.07 22.32 176.68 26.16 171.92 28.57L171.91 28.58ZM160.99 11.56H147.66V25.57H160.99C163.6 25.57 165.58 24.93 166.94 23.65C168.3 22.37 168.97 20.6 168.97 18.34C168.97 16.28 168.28 14.64 166.9 13.41C165.52 12.18 163.55 11.57 160.99 11.57V11.56ZM147.66 48.38H162.04C164.9 48.38 167.09 47.74 168.59 46.46C170.09 45.18 170.85 43.36 170.85 41C170.85 36.03 167.91 33.54 162.04 33.54H147.66V48.38Z"
38
- }
39
- ),
40
- /* @__PURE__ */ C(
41
- "path",
42
- {
43
- fill: "white",
44
- d: "M223.57 56.82H214.08C213.58 55.92 213.23 54.33 213.03 52.08C210.37 55.85 206.2 57.73 200.53 57.73C196.31 57.73 192.92 56.71 190.36 54.68C187.8 52.65 186.52 49.77 186.52 46.06C186.52 38.93 191.49 34.89 201.43 33.94L207.3 33.41C209.21 33.16 210.6 32.71 211.48 32.05C212.36 31.4 212.8 30.37 212.8 28.96C212.8 27.35 212.27 26.15 211.22 25.35C210.17 24.55 208.33 24.14 205.72 24.14C202.96 24.14 200.98 24.59 199.77 25.5C198.56 26.4 197.86 28.01 197.66 30.32H188.32C188.87 21.49 194.7 17.07 205.79 17.07C216.88 17.07 221.98 20.96 221.98 28.74V49.45C221.98 52.87 222.51 55.32 223.56 56.83L223.57 56.82ZM202.79 50.95C205.6 50.95 207.97 50.16 209.91 48.58C211.84 47 212.81 44.63 212.81 41.46V37.92C211.91 38.72 210.43 39.25 208.37 39.5L203.25 40.1C200.69 40.4 198.88 41 197.83 41.91C196.78 42.82 196.25 44.07 196.25 45.68C196.25 47.29 196.8 48.63 197.91 49.56C199.01 50.49 200.65 50.95 202.81 50.95H202.79Z"
45
- }
46
- ),
47
- /* @__PURE__ */ C(
48
- "path",
49
- {
50
- fill: "white",
51
- d: "M249.02 49.44H262.2V56.82H229.22V50.57L244.58 31.22C246.54 28.81 248.17 26.83 249.47 25.27C247.66 25.32 245 25.35 241.49 25.35H229.59V17.97H261.29V24.22L245.93 43.57C243.97 45.98 242.34 47.96 241.04 49.52C242.85 49.47 245.51 49.44 249.02 49.44Z"
52
- }
53
- ),
54
- /* @__PURE__ */ C(
55
- "path",
56
- {
57
- fill: "white",
58
- d: "M303.54 56.82H294.05C293.55 55.92 293.2 54.33 293 52.08C290.34 55.85 286.17 57.73 280.5 57.73C276.28 57.73 272.89 56.71 270.33 54.68C267.77 52.65 266.49 49.77 266.49 46.06C266.49 38.93 271.46 34.89 281.4 33.94L287.27 33.41C289.18 33.16 290.57 32.71 291.45 32.05C292.33 31.4 292.77 30.37 292.77 28.96C292.77 27.35 292.24 26.15 291.19 25.35C290.14 24.55 288.3 24.14 285.69 24.14C282.93 24.14 280.95 24.59 279.74 25.5C278.53 26.4 277.83 28.01 277.63 30.32H268.29C268.84 21.49 274.67 17.07 285.76 17.07C296.85 17.07 301.95 20.96 301.95 28.74V49.45C301.95 52.87 302.48 55.32 303.53 56.83L303.54 56.82ZM282.76 50.95C285.57 50.95 287.94 50.16 289.88 48.58C291.81 47 292.78 44.63 292.78 41.46V37.92C291.88 38.72 290.4 39.25 288.34 39.5L283.22 40.1C280.66 40.4 278.85 41 277.8 41.91C276.75 42.82 276.22 44.07 276.22 45.68C276.22 47.29 276.77 48.63 277.88 49.56C278.98 50.49 280.62 50.95 282.78 50.95H282.76Z"
59
- }
60
- ),
61
- /* @__PURE__ */ C(
62
- "path",
63
- {
64
- fill: "white",
65
- d: "M345.86 56.82H336.37C335.87 55.92 335.52 54.33 335.32 52.08C332.66 55.85 328.49 57.73 322.82 57.73C318.6 57.73 315.21 56.71 312.65 54.68C310.09 52.65 308.81 49.77 308.81 46.06C308.81 38.93 313.78 34.89 323.72 33.94L329.59 33.41C331.5 33.16 332.89 32.71 333.77 32.05C334.65 31.4 335.09 30.37 335.09 28.96C335.09 27.35 334.56 26.15 333.51 25.35C332.46 24.55 330.62 24.14 328.01 24.14C325.25 24.14 323.27 24.59 322.06 25.5C320.85 26.4 320.15 28.01 319.95 30.32H310.61C311.16 21.49 316.99 17.07 328.08 17.07C339.17 17.07 344.27 20.96 344.27 28.74V49.45C344.27 52.87 344.8 55.32 345.85 56.83L345.86 56.82ZM325.08 50.95C327.89 50.95 330.26 50.16 332.2 48.58C334.13 47 335.1 44.63 335.1 41.46V37.92C334.2 38.72 332.72 39.25 330.66 39.5L325.54 40.1C322.98 40.4 321.17 41 320.12 41.91C319.07 42.82 318.54 44.07 318.54 45.68C318.54 47.29 319.09 48.63 320.2 49.56C321.3 50.49 322.94 50.95 325.1 50.95H325.08Z"
66
- }
67
- ),
68
- /* @__PURE__ */ C(
69
- "path",
70
- {
71
- fill: "white",
72
- d: "M373.8 17.36C374.8 17.36 375.58 17.41 376.13 17.51V26.25H373.72C370.16 26.25 367.39 27.15 365.44 28.96C363.48 30.77 362.5 33.48 362.5 37.09V56.82H353.01V17.96H362.2V24.89C364.36 19.87 368.22 17.36 373.8 17.36Z"
73
- }
74
- )
75
- ]
76
- }
77
- );
78
- }
79
- const L = V.memo(i);
80
- export {
81
- L as default
82
- };
@@ -1,2 +0,0 @@
1
- export { default as CompositeLogo } from './CompositeLogo';
2
- export { default as Wordmark } from './Wordmark';
@@ -1,6 +0,0 @@
1
- import { default as a } from "./CompositeLogo.js";
2
- import { default as t } from "./Wordmark.js";
3
- export {
4
- a as CompositeLogo,
5
- t as Wordmark
6
- };
@@ -1,10 +0,0 @@
1
- import o from "./components/Logos/cfxbazaar/CompositeLogo.js";
2
- import r from "./components/Logos/cfxbazaar/Wordmark.js";
3
- const a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
- __proto__: null,
5
- CompositeLogo: o,
6
- Wordmark: r
7
- }, Symbol.toStringTag, { value: "Module" }));
8
- export {
9
- a as C
10
- };