@gearbox-protocol/permissionless-ui 1.22.0-next.32 → 1.22.0-next.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/cjs/components/accordion/accordion.cjs +1 -1
  2. package/dist/cjs/components/alert-badge/alert-badge.cjs +1 -1
  3. package/dist/cjs/components/apy/apy.cjs +1 -1
  4. package/dist/cjs/components/assets-list-cell/assets-list-cell.cjs +1 -1
  5. package/dist/cjs/components/block-sync/block-sync.cjs +1 -1
  6. package/dist/cjs/components/breadcrumbs/breadcrumbs.cjs +1 -1
  7. package/dist/cjs/components/button-checkbox/button-checkbox.cjs +1 -1
  8. package/dist/cjs/components/buttons/back-button/back-button.cjs +1 -1
  9. package/dist/cjs/components/buttons/copy-button/copy-button.cjs +1 -1
  10. package/dist/cjs/components/buttons/external-button/external-button.cjs +1 -1
  11. package/dist/cjs/components/buttons/filter-button/filter-button.cjs +1 -1
  12. package/dist/cjs/components/cards/expandable-call/expandable-call.cjs +1 -1
  13. package/dist/cjs/components/cards/expandable-card/expandable-card.cjs +1 -1
  14. package/dist/cjs/components/carousel/carousel.cjs +3 -3
  15. package/dist/cjs/components/checkbox/checkbox-labeled.cjs +1 -1
  16. package/dist/cjs/components/checkbox/checkbox.cjs +1 -1
  17. package/dist/cjs/components/checkbox-item/checkbox-item.cjs +1 -1
  18. package/dist/cjs/components/client-adapters/styled-rounded-image/styled-rounded-image.cjs +1 -1
  19. package/dist/cjs/components/compound-apy/compound-apy.cjs +1 -1
  20. package/dist/cjs/components/confirm-menu/confirm-menu.cjs +1 -1
  21. package/dist/cjs/components/currency-button/currency-button.cjs +1 -1
  22. package/dist/cjs/components/detailed-apy/detailed-apy.cjs +1 -1
  23. package/dist/cjs/components/detailed-page-title/detailed-page-title.cjs +1 -1
  24. package/dist/cjs/components/dialog/dialog-content.cjs +1 -1
  25. package/dist/cjs/components/dropdown-label/dropdown-label.cjs +1 -1
  26. package/dist/cjs/components/dropdown-menu/dropdown-menu-checkbox-item.cjs +1 -1
  27. package/dist/cjs/components/dropdown-menu/dropdown-menu-content.cjs +1 -1
  28. package/dist/cjs/components/dropdown-menu/dropdown-menu-radio-item.cjs +1 -1
  29. package/dist/cjs/components/dropdown-menu/dropdown-menu-sub-content.cjs +1 -1
  30. package/dist/cjs/components/dropdown-menu/dropdown-menu-sub-trigger.cjs +1 -1
  31. package/dist/cjs/components/edit-input/edit-input.cjs +1 -1
  32. package/dist/cjs/components/explorer-links-dropdown/explorer-links-dropdown.cjs +1 -1
  33. package/dist/cjs/components/filter/filter-checkbox-item.cjs +1 -1
  34. package/dist/cjs/components/filter/filter-chip.cjs +1 -1
  35. package/dist/cjs/components/filter/filter-radio-item.cjs +1 -1
  36. package/dist/cjs/components/head-cell/head-cell.cjs +1 -1
  37. package/dist/cjs/components/help-tip/help-tip.cjs +1 -1
  38. package/dist/cjs/components/horizontal-indicator/horizontal-indicator.cjs +1 -1
  39. package/dist/cjs/components/icons/fa-icon.cjs +1 -0
  40. package/dist/cjs/components/icons/index.cjs +1 -0
  41. package/dist/cjs/components/index.cjs +1 -1
  42. package/dist/cjs/components/layout/header/header.cjs +1 -1
  43. package/dist/cjs/components/legal-agreement/legal-agreement-dialog.cjs +1 -1
  44. package/dist/cjs/components/network-icon/network-icon.cjs +1 -1
  45. package/dist/cjs/components/pool-apy-tooltip/pool-apy-tooltip.cjs +1 -1
  46. package/dist/cjs/components/radio-group/radio-group.cjs +1 -1
  47. package/dist/cjs/components/search-bar/search-bar.cjs +1 -1
  48. package/dist/cjs/components/search-line/search-line.cjs +1 -1
  49. package/dist/cjs/components/select/select.cjs +1 -1
  50. package/dist/cjs/components/short-string/short-string.cjs +1 -1
  51. package/dist/cjs/components/signatures/vertical-timeline.cjs +1 -1
  52. package/dist/cjs/components/smart-number-input/smart-number-input.cjs +1 -1
  53. package/dist/cjs/components/spinner/spinner.cjs +1 -1
  54. package/dist/cjs/components/stat-badge/stat-badge.cjs +1 -1
  55. package/dist/cjs/components/stepper/stepper.cjs +1 -1
  56. package/dist/cjs/components/table/edit-button.cjs +1 -1
  57. package/dist/cjs/components/table/editable-grid-table.cjs +1 -1
  58. package/dist/cjs/components/table/sortable-head-cell.cjs +1 -1
  59. package/dist/cjs/components/table/table.cjs +1 -1
  60. package/dist/cjs/components/token-symbol/token-symbol.cjs +1 -1
  61. package/dist/cjs/components/tokens-list-cell/tokens-list-cell.cjs +1 -1
  62. package/dist/cjs/components/tooltip/index.cjs +1 -1
  63. package/dist/cjs/components/tooltip/simple-tooltip.cjs +1 -0
  64. package/dist/cjs/components/trading-view/graph-dropdown.cjs +1 -1
  65. package/dist/cjs/components/vertical-indicator/vertical-indicator.cjs +1 -1
  66. package/dist/cjs/components/with-copy/with-copy.cjs +1 -1
  67. package/dist/cjs/index.cjs +1 -1
  68. package/dist/esm/components/accordion/accordion.js +24 -18
  69. package/dist/esm/components/alert-badge/alert-badge.js +74 -60
  70. package/dist/esm/components/apy/apy.js +3 -2
  71. package/dist/esm/components/assets-list-cell/assets-list-cell.js +31 -30
  72. package/dist/esm/components/block-sync/block-sync.js +6 -3
  73. package/dist/esm/components/breadcrumbs/breadcrumbs.js +18 -12
  74. package/dist/esm/components/button-checkbox/button-checkbox.js +28 -21
  75. package/dist/esm/components/buttons/back-button/back-button.js +10 -9
  76. package/dist/esm/components/buttons/copy-button/copy-button.js +28 -20
  77. package/dist/esm/components/buttons/external-button/external-button.js +22 -10
  78. package/dist/esm/components/buttons/filter-button/filter-button.js +12 -12
  79. package/dist/esm/components/cards/expandable-call/expandable-call.js +11 -9
  80. package/dist/esm/components/cards/expandable-card/expandable-card.js +20 -18
  81. package/dist/esm/components/carousel/carousel.js +30 -29
  82. package/dist/esm/components/checkbox/checkbox-labeled.js +4 -1
  83. package/dist/esm/components/checkbox/checkbox.js +20 -19
  84. package/dist/esm/components/checkbox-item/checkbox-item.js +7 -6
  85. package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +4 -1
  86. package/dist/esm/components/compound-apy/compound-apy.js +73 -106
  87. package/dist/esm/components/confirm-menu/confirm-menu.js +13 -12
  88. package/dist/esm/components/currency-button/currency-button.js +11 -11
  89. package/dist/esm/components/detailed-apy/detailed-apy.js +14 -13
  90. package/dist/esm/components/detailed-page-title/detailed-page-title.js +23 -21
  91. package/dist/esm/components/dialog/dialog-content.js +11 -10
  92. package/dist/esm/components/dropdown-label/dropdown-label.js +16 -14
  93. package/dist/esm/components/dropdown-menu/dropdown-menu-checkbox-item.js +14 -13
  94. package/dist/esm/components/dropdown-menu/dropdown-menu-content.js +4 -4
  95. package/dist/esm/components/dropdown-menu/dropdown-menu-radio-item.js +10 -9
  96. package/dist/esm/components/dropdown-menu/dropdown-menu-sub-content.js +1 -1
  97. package/dist/esm/components/dropdown-menu/dropdown-menu-sub-trigger.js +6 -6
  98. package/dist/esm/components/edit-input/edit-input.js +46 -37
  99. package/dist/esm/components/explorer-links-dropdown/explorer-links-dropdown.js +7 -7
  100. package/dist/esm/components/filter/filter-checkbox-item.js +9 -8
  101. package/dist/esm/components/filter/filter-chip.js +16 -15
  102. package/dist/esm/components/filter/filter-radio-item.js +9 -8
  103. package/dist/esm/components/head-cell/head-cell.js +33 -31
  104. package/dist/esm/components/help-tip/help-tip.js +2 -1
  105. package/dist/esm/components/horizontal-indicator/horizontal-indicator.js +10 -9
  106. package/dist/esm/components/icons/fa-icon.js +20 -0
  107. package/dist/esm/components/icons/index.js +42 -0
  108. package/dist/esm/components/index.js +31 -29
  109. package/dist/esm/components/layout/header/header.js +21 -20
  110. package/dist/esm/components/legal-agreement/legal-agreement-dialog.js +54 -46
  111. package/dist/esm/components/network-icon/network-icon.js +32 -53
  112. package/dist/esm/components/pool-apy-tooltip/pool-apy-tooltip.js +3 -2
  113. package/dist/esm/components/radio-group/radio-group.js +21 -14
  114. package/dist/esm/components/search-bar/search-bar.js +20 -19
  115. package/dist/esm/components/search-line/search-line.js +42 -34
  116. package/dist/esm/components/select/select.js +46 -39
  117. package/dist/esm/components/short-string/short-string.js +6 -5
  118. package/dist/esm/components/signatures/vertical-timeline.js +24 -23
  119. package/dist/esm/components/smart-number-input/smart-number-input.js +52 -51
  120. package/dist/esm/components/spinner/spinner.js +20 -19
  121. package/dist/esm/components/stat-badge/stat-badge.js +1 -0
  122. package/dist/esm/components/stepper/stepper.js +25 -24
  123. package/dist/esm/components/table/edit-button.js +8 -8
  124. package/dist/esm/components/table/editable-grid-table.js +4 -4
  125. package/dist/esm/components/table/sortable-head-cell.js +12 -11
  126. package/dist/esm/components/table/table.js +41 -38
  127. package/dist/esm/components/token-symbol/token-symbol.js +1 -0
  128. package/dist/esm/components/tokens-list-cell/tokens-list-cell.js +22 -21
  129. package/dist/esm/components/tooltip/index.js +6 -4
  130. package/dist/esm/components/tooltip/simple-tooltip.js +128 -0
  131. package/dist/esm/components/trading-view/graph-dropdown.js +45 -37
  132. package/dist/esm/components/vertical-indicator/vertical-indicator.js +32 -25
  133. package/dist/esm/components/with-copy/with-copy.js +30 -21
  134. package/dist/esm/index.js +198 -196
  135. package/dist/globals.css +1 -1
  136. package/dist/types/components/alert-badge/alert-badge.d.ts +7 -1
  137. package/dist/types/components/buttons/button/button.d.ts +1 -1
  138. package/dist/types/components/card-grid/card-grid.d.ts +1 -1
  139. package/dist/types/components/colored-text/colored-text.d.ts +1 -1
  140. package/dist/types/components/dialog/dialog-container.d.ts +3 -3
  141. package/dist/types/components/edit-input/edit-input.d.ts +1 -1
  142. package/dist/types/components/icons/fa-icon.d.ts +2 -0
  143. package/dist/types/components/icons/index.d.ts +2 -0
  144. package/dist/types/components/input/input.d.ts +1 -1
  145. package/dist/types/components/network-icon/network-icon.d.ts +3 -3
  146. package/dist/types/components/segmented-control/segmented-control.d.ts +1 -1
  147. package/dist/types/components/skeleton/skeleton.d.ts +3 -3
  148. package/dist/types/components/status-dot/status-dot.d.ts +1 -1
  149. package/dist/types/components/tooltip/index.d.ts +1 -0
  150. package/dist/types/components/tooltip/simple-tooltip.d.ts +84 -0
  151. package/package.json +5 -2
@@ -1,6 +1,6 @@
1
- import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
- import { ExternalLink as k } from "lucide-react";
3
- import * as c from "react";
1
+ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
+ import { IconExternal as k } from "@gearbox-protocol/static";
3
+ import * as s from "react";
4
4
  import { DropdownMenu as C, DropdownMenuTrigger as b } from "../dropdown-menu/dropdown-menu.js";
5
5
  import "../dropdown-menu/dropdown-menu-checkbox-item.js";
6
6
  import { DropdownMenuContent as D } from "../dropdown-menu/dropdown-menu-content.js";
@@ -44,16 +44,16 @@ function q({
44
44
  className: f,
45
45
  children: d
46
46
  }) {
47
- const [g, i] = c.useState(r ?? !1);
48
- c.useEffect(() => {
47
+ const [g, i] = s.useState(r ?? !1);
48
+ s.useEffect(() => {
49
49
  r !== void 0 && i(r);
50
50
  }, [r]);
51
51
  const x = (t) => {
52
52
  i(t), t || p?.();
53
53
  }, E = e ?? m[h] ?? m[1];
54
- return /* @__PURE__ */ s(C, { open: g, onOpenChange: x, children: [
54
+ return /* @__PURE__ */ c(C, { open: g, onOpenChange: x, children: [
55
55
  /* @__PURE__ */ o(b, { asChild: !0, children: /* @__PURE__ */ o("span", { className: M("cursor-pointer", f), children: d || a || "Explorer" }) }),
56
- /* @__PURE__ */ o(D, { align: n === "left" ? "start" : "end", children: E?.map((t) => /* @__PURE__ */ o(w, { asChild: !0, children: /* @__PURE__ */ s(
56
+ /* @__PURE__ */ o(D, { align: n === "left" ? "start" : "end", children: E?.map((t) => /* @__PURE__ */ o(w, { asChild: !0, children: /* @__PURE__ */ c(
57
57
  "a",
58
58
  {
59
59
  href: N(t.url, l, u),
@@ -1,27 +1,28 @@
1
1
  import { jsxs as c, jsx as e } from "react/jsx-runtime";
2
2
  import * as t from "@radix-ui/react-dropdown-menu";
3
- import { Check as n } from "lucide-react";
4
- import * as m from "react";
3
+ import * as n from "react";
4
+ import { faCheck as m } from "@fortawesome/free-solid-svg-icons";
5
+ import { FaIcon as l } from "../icons/fa-icon.js";
5
6
  import "@gearbox-protocol/sdk";
6
- import { cn as l } from "../../utils/cn.js";
7
+ import { cn as d } from "../../utils/cn.js";
7
8
  import "sonner";
8
- const d = m.forwardRef(({ className: o, children: r, checked: a, ...s }, i) => /* @__PURE__ */ c(
9
+ const p = n.forwardRef(({ className: o, children: r, checked: a, ...s }, i) => /* @__PURE__ */ c(
9
10
  t.CheckboxItem,
10
11
  {
11
12
  ref: i,
12
- className: l(
13
+ className: d(
13
14
  "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:cursor-not-allowed data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
14
15
  o
15
16
  ),
16
17
  checked: a,
17
18
  ...s,
18
19
  children: [
19
- /* @__PURE__ */ e("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(t.ItemIndicator, { children: /* @__PURE__ */ e(n, { className: "h-4 w-4" }) }) }),
20
+ /* @__PURE__ */ e("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(t.ItemIndicator, { children: /* @__PURE__ */ e(l, { icon: m, className: "size-4" }) }) }),
20
21
  r
21
22
  ]
22
23
  }
23
24
  ));
24
- d.displayName = t.CheckboxItem.displayName;
25
+ p.displayName = t.CheckboxItem.displayName;
25
26
  export {
26
- d as FilterCheckboxItem
27
+ p as FilterCheckboxItem
27
28
  };
@@ -1,23 +1,24 @@
1
1
  import { jsx as r, jsxs as s } from "react/jsx-runtime";
2
- import { X as p } from "lucide-react";
3
- import * as m from "react";
4
- import { Badge as f } from "../badge/badge.js";
2
+ import * as p from "react";
3
+ import { Badge as m } from "../badge/badge.js";
4
+ import { faXmark as f } from "@fortawesome/free-solid-svg-icons";
5
+ import { FaIcon as l } from "../icons/fa-icon.js";
5
6
  import "@gearbox-protocol/sdk";
6
- import { cn as l } from "../../utils/cn.js";
7
+ import { cn as u } from "../../utils/cn.js";
7
8
  import "sonner";
8
- const u = m.forwardRef(
9
- ({ className: e, label: t, value: d, onRemove: o, showRemove: i = !0, ...a }, n) => /* @__PURE__ */ r("div", { ref: n, ...a, children: /* @__PURE__ */ s(
10
- f,
9
+ const d = p.forwardRef(
10
+ ({ className: e, label: i, value: g, onRemove: o, showRemove: t = !0, ...a }, n) => /* @__PURE__ */ r("div", { ref: n, ...a, children: /* @__PURE__ */ s(
11
+ m,
11
12
  {
12
13
  variant: "secondary",
13
- className: l(
14
+ className: u(
14
15
  "gap-1.5 px-2 py-1 pr-1.5",
15
- i && o && "cursor-pointer",
16
+ t && o && "cursor-pointer",
16
17
  e
17
18
  ),
18
19
  children: [
19
- /* @__PURE__ */ r("span", { children: t }),
20
- i && o && /* @__PURE__ */ r(
20
+ /* @__PURE__ */ r("span", { children: i }),
21
+ t && o && /* @__PURE__ */ r(
21
22
  "button",
22
23
  {
23
24
  type: "button",
@@ -25,15 +26,15 @@ const u = m.forwardRef(
25
26
  c.stopPropagation(), o();
26
27
  },
27
28
  className: "ml-1 rounded-sm hover:bg-accent hover:text-accent-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
28
- "aria-label": `Remove filter: ${t}`,
29
- children: /* @__PURE__ */ r(p, { className: "h-3 w-3" })
29
+ "aria-label": `Remove filter: ${i}`,
30
+ children: /* @__PURE__ */ r(l, { icon: f, className: "size-3" })
30
31
  }
31
32
  )
32
33
  ]
33
34
  }
34
35
  ) })
35
36
  );
36
- u.displayName = "FilterChip";
37
+ d.displayName = "FilterChip";
37
38
  export {
38
- u as FilterChip
39
+ d as FilterChip
39
40
  };
@@ -1,26 +1,27 @@
1
1
  import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import * as t from "@radix-ui/react-dropdown-menu";
3
- import { Circle as n } from "lucide-react";
4
- import * as l from "react";
3
+ import * as n from "react";
4
+ import { faCircle as c } from "@fortawesome/free-solid-svg-icons";
5
+ import { FaIcon as m } from "../icons/fa-icon.js";
5
6
  import "@gearbox-protocol/sdk";
6
- import { cn as c } from "../../utils/cn.js";
7
+ import { cn as l } from "../../utils/cn.js";
7
8
  import "sonner";
8
- const m = l.forwardRef(({ className: o, children: r, ...a }, i) => /* @__PURE__ */ s(
9
+ const d = n.forwardRef(({ className: o, children: r, ...a }, i) => /* @__PURE__ */ s(
9
10
  t.RadioItem,
10
11
  {
11
12
  ref: i,
12
- className: c(
13
+ className: l(
13
14
  "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:cursor-not-allowed data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
14
15
  o
15
16
  ),
16
17
  ...a,
17
18
  children: [
18
- /* @__PURE__ */ e("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(t.ItemIndicator, { children: /* @__PURE__ */ e(n, { className: "h-2 w-2 fill-current" }) }) }),
19
+ /* @__PURE__ */ e("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ e(t.ItemIndicator, { children: /* @__PURE__ */ e(m, { icon: c, className: "size-2 fill-current" }) }) }),
19
20
  r
20
21
  ]
21
22
  }
22
23
  ));
23
- m.displayName = t.RadioItem.displayName;
24
+ d.displayName = t.RadioItem.displayName;
24
25
  export {
25
- m as FilterRadioItem
26
+ d as FilterRadioItem
26
27
  };
@@ -1,60 +1,62 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { ChevronUp as v, ChevronDown as C } from "lucide-react";
3
- import * as N from "react";
4
- import { HelpTip as m } from "../help-tip/help-tip.js";
5
- import { TooltipProvider as T, Tooltip as w, TooltipTrigger as y, TooltipContent as b } from "../tooltip/tooltip.js";
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import * as v from "react";
3
+ import { HelpTip as f } from "../help-tip/help-tip.js";
4
+ import { faCaretUp as N, faCaretDown as T } from "@fortawesome/free-solid-svg-icons";
5
+ import { FaIcon as d } from "../icons/fa-icon.js";
6
+ import "../tooltip/simple-tooltip.js";
7
+ import { TooltipProvider as y, Tooltip as b, TooltipTrigger as H, TooltipContent as w } from "../tooltip/tooltip.js";
6
8
  import "@gearbox-protocol/sdk";
7
- import { cn as o } from "../../utils/cn.js";
9
+ import { cn as n } from "../../utils/cn.js";
8
10
  import "sonner";
9
11
  function R({
10
12
  title: l,
11
13
  tip: r,
12
- arrowPosition: n = "left",
14
+ arrowPosition: i = "left",
13
15
  sortDirection: s,
14
- sortField: f = "this field",
15
- sortTip: p,
16
+ sortField: p = "this field",
17
+ sortTip: u,
16
18
  onSort: t,
17
- className: u
19
+ className: h
18
20
  }) {
19
- const [h, c] = N.useState(!1), x = !!s || h, d = () => /* @__PURE__ */ e(
21
+ const [x, a] = v.useState(!1), g = !!s || x, c = () => /* @__PURE__ */ e(
20
22
  "span",
21
23
  {
22
- className: o(
24
+ className: n(
23
25
  "inline-flex items-center transition-opacity",
24
- x ? "opacity-100" : "opacity-0"
26
+ g ? "opacity-100" : "opacity-0"
25
27
  ),
26
- children: s === "asc" ? /* @__PURE__ */ e(v, { className: "h-3 w-3 text-muted-foreground" }) : /* @__PURE__ */ e(C, { className: "h-3 w-3 text-muted-foreground" })
28
+ children: s === "asc" ? /* @__PURE__ */ e(d, { icon: N, className: "size-3 text-muted-foreground" }) : /* @__PURE__ */ e(d, { icon: T, className: "size-3 text-muted-foreground" })
27
29
  }
28
- ), a = () => /* @__PURE__ */ i(
30
+ ), m = () => /* @__PURE__ */ o(
29
31
  "button",
30
32
  {
31
33
  type: "button",
32
34
  onClick: t,
33
35
  disabled: !t,
34
- className: o(
36
+ className: n(
35
37
  "inline-flex items-center gap-1 text-sm font-medium text-muted-foreground",
36
38
  t && "cursor-pointer hover:text-foreground transition-colors",
37
39
  !t && "cursor-default"
38
40
  ),
39
41
  children: [
40
- t && n === "left" && d(),
42
+ t && i === "left" && c(),
41
43
  l,
42
- t && n === "right" && d()
44
+ t && i === "right" && c()
43
45
  ]
44
46
  }
45
- ), g = `Sort by ${f}`;
46
- return /* @__PURE__ */ i(
47
+ ), C = `Sort by ${p}`;
48
+ return /* @__PURE__ */ o(
47
49
  "div",
48
50
  {
49
- className: o("inline-flex items-center gap-1.5", u),
50
- onPointerEnter: () => c(!0),
51
- onPointerLeave: () => c(!1),
51
+ className: n("inline-flex items-center gap-1.5", h),
52
+ onPointerEnter: () => a(!0),
53
+ onPointerLeave: () => a(!1),
52
54
  children: [
53
- t ? /* @__PURE__ */ e(T, { children: /* @__PURE__ */ i(w, { children: [
54
- /* @__PURE__ */ e(y, { asChild: !0, children: a() }),
55
- /* @__PURE__ */ e(b, { children: p || g })
56
- ] }) }) : a(),
57
- r && /* @__PURE__ */ e(m, { children: r })
55
+ t ? /* @__PURE__ */ e(y, { children: /* @__PURE__ */ o(b, { children: [
56
+ /* @__PURE__ */ e(H, { asChild: !0, children: m() }),
57
+ /* @__PURE__ */ e(w, { children: u || C })
58
+ ] }) }) : m(),
59
+ r && /* @__PURE__ */ e(f, { children: r })
58
60
  ]
59
61
  }
60
62
  );
@@ -62,11 +64,11 @@ function R({
62
64
  function U({
63
65
  title: l,
64
66
  tip: r,
65
- className: n
67
+ className: i
66
68
  }) {
67
- return /* @__PURE__ */ i("div", { className: o("inline-flex items-center gap-1.5", n), children: [
69
+ return /* @__PURE__ */ o("div", { className: n("inline-flex items-center gap-1.5", i), children: [
68
70
  /* @__PURE__ */ e("span", { className: "text-sm font-medium text-muted-foreground", children: l }),
69
- r && /* @__PURE__ */ e(m, { children: r })
71
+ r && /* @__PURE__ */ e(f, { children: r })
70
72
  ] });
71
73
  }
72
74
  export {
@@ -1,9 +1,10 @@
1
1
  import { jsx as e, jsxs as x } from "react/jsx-runtime";
2
- import { HelpCircle as s } from "lucide-react";
2
+ import { IconQuestionCircle as s } from "@gearbox-protocol/static";
3
3
  import * as l from "react";
4
4
  import "@gearbox-protocol/sdk";
5
5
  import { cn as t } from "../../utils/cn.js";
6
6
  import "sonner";
7
+ import "../tooltip/simple-tooltip.js";
7
8
  import { TooltipProvider as T, Tooltip as h, TooltipTrigger as y, TooltipContent as g } from "../tooltip/tooltip.js";
8
9
  const N = l.forwardRef(
9
10
  ({
@@ -1,28 +1,29 @@
1
- import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { HelpCircle as a } from "lucide-react";
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import { IconQuestionCircle as a } from "@gearbox-protocol/static";
3
3
  import * as d from "react";
4
+ import "../tooltip/simple-tooltip.js";
4
5
  import { TooltipProvider as c, Tooltip as m, TooltipTrigger as f, TooltipContent as p } from "../tooltip/tooltip.js";
5
6
  import "@gearbox-protocol/sdk";
6
7
  import { cn as x } from "../../utils/cn.js";
7
8
  import "sonner";
8
- const h = d.forwardRef(({ label: i, value: l, tip: t, valueDescription: o, className: n }, s) => /* @__PURE__ */ r("div", { ref: s, className: x("flex flex-col gap-2 w-full", n), children: [
9
- /* @__PURE__ */ r("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
9
+ const h = d.forwardRef(({ label: i, value: l, tip: r, valueDescription: t, className: n }, s) => /* @__PURE__ */ o("div", { ref: s, className: x("flex flex-col gap-2 w-full", n), children: [
10
+ /* @__PURE__ */ o("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
10
11
  /* @__PURE__ */ e("span", { children: i }),
11
- t && /* @__PURE__ */ e(c, { delayDuration: 0, children: /* @__PURE__ */ r(m, { children: [
12
+ r && /* @__PURE__ */ e(c, { delayDuration: 0, children: /* @__PURE__ */ o(m, { children: [
12
13
  /* @__PURE__ */ e(f, { asChild: !0, children: /* @__PURE__ */ e(
13
14
  "button",
14
15
  {
15
16
  type: "button",
16
17
  className: "inline-flex items-center justify-center text-muted-foreground hover:text-foreground transition-colors cursor-help",
17
- children: /* @__PURE__ */ e(a, { className: "h-3.5 w-3.5" })
18
+ children: /* @__PURE__ */ e(a, { size: 14, className: "size-3.5" })
18
19
  }
19
20
  ) }),
20
- /* @__PURE__ */ e(p, { side: "top", className: "max-w-xs", children: /* @__PURE__ */ e("p", { children: t }) })
21
+ /* @__PURE__ */ e(p, { side: "top", className: "max-w-xs", children: /* @__PURE__ */ e("p", { children: r }) })
21
22
  ] }) })
22
23
  ] }),
23
- /* @__PURE__ */ r("div", { className: "flex flex-col gap-1", children: [
24
+ /* @__PURE__ */ o("div", { className: "flex flex-col gap-1", children: [
24
25
  /* @__PURE__ */ e("div", { className: "text-base font-semibold text-foreground", children: l }),
25
- o && /* @__PURE__ */ e("div", { className: "text-sm text-muted-foreground", children: o })
26
+ t && /* @__PURE__ */ e("div", { className: "text-sm text-muted-foreground", children: t })
26
27
  ] })
27
28
  ] }));
28
29
  h.displayName = "HorizontalIndicator";
@@ -0,0 +1,20 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { config as i } from "@fortawesome/fontawesome-svg-core";
3
+ import { FontAwesomeIcon as t } from "@fortawesome/react-fontawesome";
4
+ import "react";
5
+ import "@gearbox-protocol/sdk";
6
+ import { cn as n } from "../../utils/cn.js";
7
+ import "sonner";
8
+ i.autoAddCss = !1;
9
+ function u({ className: o, ...r }) {
10
+ return /* @__PURE__ */ m(
11
+ t,
12
+ {
13
+ className: n("inline-block shrink-0", o),
14
+ ...r
15
+ }
16
+ );
17
+ }
18
+ export {
19
+ u as FaIcon
20
+ };
@@ -0,0 +1,42 @@
1
+ import { faArrowDown as r, faArrowLeft as e, faArrowRight as o, faArrowUp as i, faArrowsUpDown as t, faBars as l, faBolt as s, faCaretDown as C, faCaretLeft as n, faCaretRight as c, faCaretUp as g, faCheck as h, faChevronLeft as w, faChevronRight as p, faCircle as m, faCircleCheck as U, faCircleExclamation as u, faCirclePlus as A, faCircleQuestion as R, faCloud as d, faCog as k, faCreditCard as x, faEllipsisVertical as E, faEnvelope as L, faKeyboard as v, faLifeRing as B, faMagnifyingGlass as D, faMessage as P, faPlus as y, faRightFromBracket as F, faTrash as M, faTriangleExclamation as T, faUser as b, faUserPlus as G, faUsers as I, faWallet as K, faXmark as Q } from "@fortawesome/free-solid-svg-icons";
2
+ import { FaIcon as W } from "./fa-icon.js";
3
+ export {
4
+ W as FaIcon,
5
+ r as faArrowDown,
6
+ e as faArrowLeft,
7
+ o as faArrowRight,
8
+ i as faArrowUp,
9
+ t as faArrowsUpDown,
10
+ l as faBars,
11
+ s as faBolt,
12
+ C as faCaretDown,
13
+ n as faCaretLeft,
14
+ c as faCaretRight,
15
+ g as faCaretUp,
16
+ h as faCheck,
17
+ w as faChevronLeft,
18
+ p as faChevronRight,
19
+ m as faCircle,
20
+ U as faCircleCheck,
21
+ u as faCircleExclamation,
22
+ A as faCirclePlus,
23
+ R as faCircleQuestion,
24
+ d as faCloud,
25
+ k as faCog,
26
+ x as faCreditCard,
27
+ E as faEllipsisVertical,
28
+ L as faEnvelope,
29
+ v as faKeyboard,
30
+ B as faLifeRing,
31
+ D as faMagnifyingGlass,
32
+ P as faMessage,
33
+ y as faPlus,
34
+ F as faRightFromBracket,
35
+ M as faTrash,
36
+ T as faTriangleExclamation,
37
+ b as faUser,
38
+ G as faUserPlus,
39
+ I as faUsers,
40
+ K as faWallet,
41
+ Q as faXmark
42
+ };
@@ -193,17 +193,18 @@ import { TokenIcon as Hl, preloadTokenIcons as vl } from "./token-icon/token-ico
193
193
  import { TokenSymbol as El } from "./token-symbol/token-symbol.js";
194
194
  import { TokenTemplate as Rl } from "./token-template/token-template.js";
195
195
  import { TokensListCell as Nl } from "./tokens-list-cell/tokens-list-cell.js";
196
- import { Tooltip as Ul, TooltipContent as Wl, TooltipProvider as ql, TooltipTrigger as Yl } from "./tooltip/tooltip.js";
197
- import { GraphDropdown as zl } from "./trading-view/graph-dropdown.js";
198
- import { TradingView as jl } from "./trading-view/trading-view.js";
199
- import { FormattedMessageTyped as Kl, useIntlTyped as Ql } from "./typed-intl/index.js";
200
- import { Typography as rm, typographyVariants as om } from "./typography/typography.js";
201
- import { VerticalIndicator as tm, verticalIndicatorVariants as am } from "./vertical-indicator/vertical-indicator.js";
202
- import { VerticalList as im, verticalListVariants as nm } from "./vertical-list/vertical-list.js";
203
- import { VSpace as mm } from "./vspace/vspace.js";
204
- import { WithCopy as fm } from "./with-copy/with-copy.js";
205
- import { WithFilterButton as sm } from "./with-filter-button/with-filter-button.js";
206
- import { WithTitle as Tm } from "./with-title/with-title.js";
196
+ import { SimpleTooltip as Ul } from "./tooltip/simple-tooltip.js";
197
+ import { Tooltip as ql, TooltipContent as Yl, TooltipProvider as Zl, TooltipTrigger as zl } from "./tooltip/tooltip.js";
198
+ import { GraphDropdown as jl } from "./trading-view/graph-dropdown.js";
199
+ import { TradingView as Kl } from "./trading-view/trading-view.js";
200
+ import { FormattedMessageTyped as $l, useIntlTyped as rm } from "./typed-intl/index.js";
201
+ import { Typography as em, typographyVariants as tm } from "./typography/typography.js";
202
+ import { VerticalIndicator as pm, verticalIndicatorVariants as im } from "./vertical-indicator/vertical-indicator.js";
203
+ import { VerticalList as lm, verticalListVariants as mm } from "./vertical-list/vertical-list.js";
204
+ import { VSpace as fm } from "./vspace/vspace.js";
205
+ import { WithCopy as sm } from "./with-copy/with-copy.js";
206
+ import { WithFilterButton as Tm } from "./with-filter-button/with-filter-button.js";
207
+ import { WithTitle as cm } from "./with-title/with-title.js";
207
208
  export {
208
209
  e as Accordion,
209
210
  t as AccordionContent,
@@ -326,7 +327,7 @@ export {
326
327
  La as FooterLink,
327
328
  Va as FooterLinkSection,
328
329
  Qe as FormField,
329
- Kl as FormattedMessageTyped,
330
+ $l as FormattedMessageTyped,
330
331
  rt as FormattedNumberString,
331
332
  Rt as GOOD_HF,
332
333
  Ia as GearboxFooter,
@@ -334,7 +335,7 @@ export {
334
335
  at as GeneralSelect,
335
336
  ct as Graph,
336
337
  Ct as GraphCurrentValue,
337
- zl as GraphDropdown,
338
+ jl as GraphDropdown,
338
339
  Dt as GraphTooltip,
339
340
  Vt as GraphView,
340
341
  It as GraphViewWithData,
@@ -427,6 +428,7 @@ export {
427
428
  Qt as ShowOn,
428
429
  R as SignInRequired,
429
430
  yt as SimpleHeadCell,
431
+ Ul as SimpleTooltip,
430
432
  Bi as Skeleton,
431
433
  ki as SkeletonStack,
432
434
  Hi as Slider,
@@ -481,22 +483,22 @@ export {
481
483
  El as TokenSymbol,
482
484
  Rl as TokenTemplate,
483
485
  Nl as TokensListCell,
484
- Ul as Tooltip,
485
- Wl as TooltipContent,
486
- ql as TooltipProvider,
487
- Yl as TooltipTrigger,
488
- jl as TradingView,
489
- rm as Typography,
486
+ ql as Tooltip,
487
+ Yl as TooltipContent,
488
+ Zl as TooltipProvider,
489
+ zl as TooltipTrigger,
490
+ Kl as TradingView,
491
+ em as Typography,
490
492
  sl as UpdatedValue,
491
- mm as VSpace,
493
+ fm as VSpace,
492
494
  Bt as VertLine,
493
- tm as VerticalIndicator,
494
- im as VerticalList,
495
+ pm as VerticalIndicator,
496
+ lm as VerticalList,
495
497
  Gi as VerticalTimeline,
496
- fm as WithCopy,
497
- sm as WithFilterButton,
498
+ sm as WithCopy,
499
+ Tm as WithFilterButton,
498
500
  $p as WithSearchLine,
499
- Tm as WithTitle,
501
+ cm as WithTitle,
500
502
  x as alertBadgeVariants,
501
503
  ar as backButtonVariants,
502
504
  z as badgeVariants,
@@ -541,15 +543,15 @@ export {
541
543
  al as tableVariants,
542
544
  Vl as textareaVariants,
543
545
  kl as tipCardVariants,
544
- om as typographyVariants,
546
+ tm as typographyVariants,
545
547
  Gt as useGraphAside,
546
548
  fn as useHashTabs,
547
- Ql as useIntlTyped,
549
+ rm as useIntlTyped,
548
550
  Fa as useMobileMenu,
549
551
  np as useNavbarIndicator,
550
552
  dn as useSectionTab,
551
553
  sn as useTabControl,
552
554
  Gl as useTheme,
553
- am as verticalIndicatorVariants,
554
- nm as verticalListVariants
555
+ im as verticalIndicatorVariants,
556
+ mm as verticalListVariants
555
557
  };
@@ -1,12 +1,13 @@
1
1
  import { jsxs as d, jsx as r } from "react/jsx-runtime";
2
- import { X as b, Menu as N } from "lucide-react";
3
2
  import * as c from "react";
3
+ import { faXmark as N, faBars as v } from "@fortawesome/free-solid-svg-icons";
4
+ import { FaIcon as m } from "../../icons/fa-icon.js";
4
5
  import { cn as o } from "../../../utils/cn.js";
5
- const m = c.createContext(
6
+ const f = c.createContext(
6
7
  null
7
8
  );
8
9
  function j() {
9
- const e = c.useContext(m);
10
+ const e = c.useContext(f);
10
11
  if (!e)
11
12
  throw new Error("useMobileMenu must be used within Header component");
12
13
  return e;
@@ -16,34 +17,34 @@ const w = c.forwardRef(
16
17
  navigation: e,
17
18
  logo: a,
18
19
  actions: l,
19
- fixed: n = !1,
20
- sticky: f = !1,
21
- containerClassName: u,
20
+ fixed: i = !1,
21
+ sticky: u = !1,
22
+ containerClassName: p,
22
23
  className: h,
23
- children: v,
24
+ children: g,
24
25
  mobileMenuContent: s,
25
- ...p
26
- }, x) => {
27
- const [t, i] = c.useState(!1);
26
+ ...x
27
+ }, b) => {
28
+ const [t, n] = c.useState(!1);
28
29
  return /* @__PURE__ */ d(
29
30
  "header",
30
31
  {
31
- ref: x,
32
+ ref: b,
32
33
  className: o(
33
34
  "relative w-full bg-background h-18 flex flex-nowrap items-center",
34
- n && "fixed top-0 left-0 right-0 z-50",
35
- f && "sticky top-0 z-50",
35
+ i && "fixed top-0 left-0 right-0 z-50",
36
+ u && "sticky top-0 z-50",
36
37
  h
37
38
  ),
38
- "data-fixed": n ? "true" : void 0,
39
- ...p,
39
+ "data-fixed": i ? "true" : void 0,
40
+ ...x,
40
41
  children: [
41
42
  /* @__PURE__ */ d(
42
43
  "div",
43
44
  {
44
45
  className: o(
45
46
  "w-full h-full flex items-stretch justify-between mx-auto px-4 sm:px-6 lg:px-8",
46
- u
47
+ p
47
48
  ),
48
49
  children: [
49
50
  a && /* @__PURE__ */ r("div", { className: "flex items-center", children: a }),
@@ -55,9 +56,9 @@ const w = c.forwardRef(
55
56
  {
56
57
  type: "button",
57
58
  className: "md:hidden flex items-center justify-center p-2 rounded-md hover:bg-secondary hover:text-accent-foreground focus:outline-none cursor-pointer",
58
- onClick: () => i(!t),
59
+ onClick: () => n(!t),
59
60
  "aria-label": t ? "Close menu" : "Open menu",
60
- children: t ? /* @__PURE__ */ r(b, { className: "h-6 w-6" }) : /* @__PURE__ */ r(N, { className: "h-6 w-6" })
61
+ children: t ? /* @__PURE__ */ r(m, { icon: N, className: "size-6" }) : /* @__PURE__ */ r(m, { icon: v, className: "size-6" })
61
62
  }
62
63
  )
63
64
  ] })
@@ -65,9 +66,9 @@ const w = c.forwardRef(
65
66
  }
66
67
  ),
67
68
  t && (e || s || l) && /* @__PURE__ */ r(
68
- m.Provider,
69
+ f.Provider,
69
70
  {
70
- value: { closeMobileMenu: () => i(!1) },
71
+ value: { closeMobileMenu: () => n(!1) },
71
72
  children: /* @__PURE__ */ r("div", { className: "absolute top-full left-0 right-0 bg-background border-b border-border md:hidden z-40 shadow-lg", children: /* @__PURE__ */ d("div", { className: "flex flex-col px-4 sm:px-6 py-4 space-y-2", children: [
72
73
  s || e,
73
74
  l && /* @__PURE__ */ r(