@gearbox-protocol/permissionless-ui 1.12.4 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/cjs/components/buttons/button/button.cjs +1 -1
  2. package/dist/cjs/components/dialog/dialog-container.cjs +1 -1
  3. package/dist/cjs/components/index.cjs +1 -1
  4. package/dist/cjs/components/legal-agreement/index.cjs +1 -0
  5. package/dist/cjs/components/legal-agreement/legal-agreement-dialog.cjs +1 -0
  6. package/dist/cjs/components/skeleton/skeleton.cjs +1 -1
  7. package/dist/cjs/components/table/edit-button.cjs +1 -1
  8. package/dist/cjs/components/table/grid-table.cjs +1 -1
  9. package/dist/cjs/components/table/index.cjs +1 -1
  10. package/dist/cjs/index.cjs +1 -1
  11. package/dist/esm/components/buttons/button/button.js +30 -19
  12. package/dist/esm/components/dialog/dialog-container.js +65 -26
  13. package/dist/esm/components/index.js +239 -234
  14. package/dist/esm/components/legal-agreement/index.js +5 -0
  15. package/dist/esm/components/legal-agreement/legal-agreement-dialog.js +217 -0
  16. package/dist/esm/components/skeleton/skeleton.js +33 -16
  17. package/dist/esm/components/table/edit-button.js +27 -15
  18. package/dist/esm/components/table/grid-table.js +91 -77
  19. package/dist/esm/components/table/index.js +35 -33
  20. package/dist/esm/index.js +355 -350
  21. package/dist/globals.css +1 -1
  22. package/dist/types/components/buttons/button/button.d.ts +5 -0
  23. package/dist/types/components/dialog/dialog-container.d.ts +25 -0
  24. package/dist/types/components/index.d.ts +1 -0
  25. package/dist/types/components/legal-agreement/index.d.ts +1 -0
  26. package/dist/types/components/legal-agreement/legal-agreement-dialog.d.ts +61 -0
  27. package/dist/types/components/skeleton/skeleton.d.ts +41 -4
  28. package/dist/types/components/table/edit-button.d.ts +36 -6
  29. package/dist/types/components/table/grid-table.d.ts +44 -1
  30. package/dist/types/index.d.ts +1 -0
  31. package/package.json +1 -1
@@ -0,0 +1,5 @@
1
+ import { BlockedRegionDialog as g, LegalAgreementDialog as l } from "./legal-agreement-dialog.js";
2
+ export {
3
+ g as BlockedRegionDialog,
4
+ l as LegalAgreementDialog
5
+ };
@@ -0,0 +1,217 @@
1
+ import { jsx as e, jsxs as r, Fragment as m } from "react/jsx-runtime";
2
+ import { AlertTriangle as b, ExternalLink as S, Loader2 as w } from "lucide-react";
3
+ import * as T from "react";
4
+ import { useState as P } from "react";
5
+ import { AlertDialog as h, AlertDialogContent as p, AlertDialogHeader as x, AlertDialogTitle as u, AlertDialogDescription as c, AlertDialogFooter as k } from "../alert-dialog/alert-dialog.js";
6
+ import { BaseLink as s } from "../base-link/base-link.js";
7
+ import { Button as f } from "../buttons/button/button.js";
8
+ import { Checkbox as j } from "../checkbox/checkbox.js";
9
+ const R = (t) => [
10
+ {
11
+ id: "terms",
12
+ content: /* @__PURE__ */ r(m, { children: [
13
+ "I agree to the",
14
+ " ",
15
+ /* @__PURE__ */ e(
16
+ s,
17
+ {
18
+ href: t.termsOfService,
19
+ external: !0,
20
+ className: "text-primary underline hover:text-primary/80",
21
+ children: "Terms of Service"
22
+ }
23
+ ),
24
+ " ",
25
+ "and acknowledge the",
26
+ " ",
27
+ /* @__PURE__ */ e(
28
+ s,
29
+ {
30
+ href: t.privacyNotice,
31
+ external: !0,
32
+ className: "text-primary underline hover:text-primary/80",
33
+ children: "Privacy Notice"
34
+ }
35
+ ),
36
+ "."
37
+ ] })
38
+ },
39
+ {
40
+ id: "prohibited",
41
+ content: "I represent and confirm that I am not a Prohibited Person (as defined in the above Terms of Service) and am not acting on behalf of one."
42
+ },
43
+ {
44
+ id: "risks",
45
+ content: /* @__PURE__ */ r(m, { children: [
46
+ "I acknowledge that the Gearbox App, related software, and smart contracts are experimental and may contain errors or vulnerabilities. I understand that their use may result in the complete loss of my funds. I have read the",
47
+ " ",
48
+ /* @__PURE__ */ e(
49
+ s,
50
+ {
51
+ href: t.riskDisclosure,
52
+ external: !0,
53
+ className: "text-primary underline hover:text-primary/80",
54
+ children: "Risk Disclosure Statement"
55
+ }
56
+ ),
57
+ " ",
58
+ "and I voluntarily assume all risks described in it."
59
+ ] })
60
+ }
61
+ ];
62
+ function H({
63
+ open: t,
64
+ onClose: o,
65
+ onSign: n,
66
+ isSigning: d,
67
+ hasV2Signature: g = !1,
68
+ isAwaitingSignature: C = !1,
69
+ links: l
70
+ }) {
71
+ const [y, N] = P({}), v = R(l), A = v.every((a) => y[a.id]), D = (a) => {
72
+ N((i) => ({ ...i, [a]: !i[a] }));
73
+ }, I = async () => {
74
+ await n();
75
+ };
76
+ return T.useEffect(() => {
77
+ t || N({});
78
+ }, [t]), C ? /* @__PURE__ */ e(h, { open: t, children: /* @__PURE__ */ r(p, { className: "max-w-lg", children: [
79
+ /* @__PURE__ */ e(x, { children: /* @__PURE__ */ r(u, { className: "flex items-center justify-center gap-2", children: [
80
+ /* @__PURE__ */ e(w, { className: "h-5 w-5 animate-spin" }),
81
+ "Waiting for Signature"
82
+ ] }) }),
83
+ /* @__PURE__ */ e(c, { className: "text-center", children: "Please sign the message in your wallet to agree to the Terms of Service." })
84
+ ] }) }) : /* @__PURE__ */ e(h, { open: t, children: /* @__PURE__ */ r(p, { className: "max-w-2xl max-h-[90vh] overflow-y-auto", children: [
85
+ /* @__PURE__ */ e(x, { children: /* @__PURE__ */ e(u, { className: "text-center text-xl", children: g ? "Terms of Service Updated" : "Legal Agreement" }) }),
86
+ /* @__PURE__ */ r("div", { className: "space-y-4", children: [
87
+ /* @__PURE__ */ r("p", { className: "text-center leading-relaxed", children: [
88
+ "By accessing or using Gearbox App, I agree to the",
89
+ " ",
90
+ /* @__PURE__ */ e(
91
+ s,
92
+ {
93
+ href: l.termsOfService,
94
+ external: !0,
95
+ className: "text-primary underline hover:text-primary/80",
96
+ children: "Terms of Service"
97
+ }
98
+ ),
99
+ " ",
100
+ "and confirm that I have read and understood the",
101
+ " ",
102
+ /* @__PURE__ */ e(
103
+ s,
104
+ {
105
+ href: l.privacyNotice,
106
+ external: !0,
107
+ className: "text-primary underline hover:text-primary/80",
108
+ children: "Privacy Notice"
109
+ }
110
+ ),
111
+ " ",
112
+ "and",
113
+ " ",
114
+ /* @__PURE__ */ e(
115
+ s,
116
+ {
117
+ href: l.riskDisclosure,
118
+ external: !0,
119
+ className: "text-primary underline hover:text-primary/80",
120
+ children: "Risk Disclosure Statement"
121
+ }
122
+ ),
123
+ "."
124
+ ] }),
125
+ g && /* @__PURE__ */ r("div", { className: "flex items-start gap-2 rounded-lg border border-yellow-500/50 bg-yellow-500/10 p-3", children: [
126
+ /* @__PURE__ */ e(b, { className: "h-5 w-5 text-yellow-500 shrink-0 mt-0.5" }),
127
+ /* @__PURE__ */ e("p", { className: "text-sm text-yellow-500", children: "Our Terms of Service have been updated. Please review and sign the new agreement to continue using the app." })
128
+ ] }),
129
+ /* @__PURE__ */ e("div", { className: "space-y-1", children: /* @__PURE__ */ e("p", { className: "font-medium text-center text-sm", children: "I hereby further represent and warrant that:" }) }),
130
+ /* @__PURE__ */ e("div", { className: "space-y-4", children: v.map((a) => {
131
+ const i = `legal-checkbox-${a.id}`;
132
+ return /* @__PURE__ */ r(
133
+ "label",
134
+ {
135
+ htmlFor: i,
136
+ className: "flex items-start gap-3 cursor-pointer group",
137
+ children: [
138
+ /* @__PURE__ */ e(
139
+ j,
140
+ {
141
+ id: i,
142
+ checked: y[a.id] || !1,
143
+ onCheckedChange: () => D(a.id),
144
+ className: "mt-1"
145
+ }
146
+ ),
147
+ /* @__PURE__ */ e("span", { className: "text-sm leading-relaxed transition-colors", children: a.content })
148
+ ]
149
+ },
150
+ a.id
151
+ );
152
+ }) })
153
+ ] }),
154
+ /* @__PURE__ */ r(k, { className: "flex-row gap-3 sm:justify-center mt-6", children: [
155
+ /* @__PURE__ */ e(
156
+ f,
157
+ {
158
+ variant: "outline",
159
+ onClick: o,
160
+ disabled: d,
161
+ className: "flex-1 sm:flex-none sm:min-w-[140px]",
162
+ children: "Cancel"
163
+ }
164
+ ),
165
+ /* @__PURE__ */ e(
166
+ f,
167
+ {
168
+ onClick: I,
169
+ disabled: !A || d,
170
+ className: "flex-1 sm:flex-none sm:min-w-[140px]",
171
+ children: d ? /* @__PURE__ */ r(m, { children: [
172
+ /* @__PURE__ */ e(w, { className: "mr-2 h-4 w-4 animate-spin" }),
173
+ "Signing..."
174
+ ] }) : "Agree & Connect"
175
+ }
176
+ )
177
+ ] })
178
+ ] }) });
179
+ }
180
+ function U({
181
+ open: t,
182
+ onClose: o,
183
+ termsOfServiceLink: n
184
+ }) {
185
+ return /* @__PURE__ */ e(h, { open: t, children: /* @__PURE__ */ r(p, { className: "max-w-lg", children: [
186
+ /* @__PURE__ */ e(x, { children: /* @__PURE__ */ r(u, { className: "flex items-center justify-center gap-2 text-destructive", children: [
187
+ /* @__PURE__ */ e(b, { className: "h-5 w-5" }),
188
+ "Access Restricted"
189
+ ] }) }),
190
+ /* @__PURE__ */ r("div", { className: "space-y-4", children: [
191
+ /* @__PURE__ */ e(c, { className: "text-center", children: "Your access to our web application has been restricted as part of our compliance screening process. Our automated system has identified potential risks associated with your wallet, which led to this action." }),
192
+ /* @__PURE__ */ e(c, { className: "text-center", children: "Please be aware that this screening outcome is final. We do not offer an appeal process or individual case reviews. Additionally, we do not perform manual assessments and are unable to override this restriction." }),
193
+ n && /* @__PURE__ */ r(c, { className: "text-center", children: [
194
+ "This restriction applies to your use of the web application. For more details, please review the",
195
+ " ",
196
+ /* @__PURE__ */ r(
197
+ s,
198
+ {
199
+ href: n,
200
+ external: !0,
201
+ className: "text-primary underline hover:text-primary/80 inline-flex items-center gap-1",
202
+ children: [
203
+ "Terms of Service",
204
+ /* @__PURE__ */ e(S, { className: "h-3 w-3" })
205
+ ]
206
+ }
207
+ ),
208
+ "."
209
+ ] })
210
+ ] }),
211
+ /* @__PURE__ */ e(k, { className: "sm:justify-center mt-4", children: /* @__PURE__ */ e(f, { variant: "outline", onClick: o, children: "Close" }) })
212
+ ] }) });
213
+ }
214
+ export {
215
+ U as BlockedRegionDialog,
216
+ H as LegalAgreementDialog
217
+ };
@@ -1,10 +1,10 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { cva as d } from "class-variance-authority";
1
+ import { jsx as a, Fragment as f } from "react/jsx-runtime";
2
+ import { cva as p } from "class-variance-authority";
3
3
  import "react";
4
- import { cn as m } from "../../utils/cn.js";
4
+ import { cn as w } from "../../utils/cn.js";
5
5
  import "sonner";
6
6
  import "@gearbox-protocol/sdk";
7
- const n = d("animate-pulse rounded-md bg-muted", {
7
+ const c = p("animate-pulse rounded-md bg-muted", {
8
8
  variants: {
9
9
  variant: {
10
10
  default: "",
@@ -48,25 +48,42 @@ const n = d("animate-pulse rounded-md bg-muted", {
48
48
  height: "md"
49
49
  }
50
50
  });
51
- function x({
52
- className: t,
53
- variant: a,
54
- speed: i,
55
- width: l,
51
+ function S({
52
+ className: s,
53
+ variant: l,
54
+ speed: n,
55
+ width: t,
56
56
  height: e,
57
- ...r
57
+ loading: d = !0,
58
+ children: i,
59
+ style: m,
60
+ ...h
58
61
  }) {
59
- return /* @__PURE__ */ o(
62
+ if (!d && i !== void 0)
63
+ return /* @__PURE__ */ a(f, { children: i });
64
+ const r = typeof t == "number", o = typeof e == "number", u = {
65
+ ...m,
66
+ ...r && { width: `${t}px` },
67
+ ...o && { height: `${e}px` }
68
+ };
69
+ return /* @__PURE__ */ a(
60
70
  "div",
61
71
  {
62
- className: m(
63
- n({ variant: a, speed: i, width: l, height: e, className: t })
72
+ className: w(
73
+ c({
74
+ variant: l,
75
+ speed: n,
76
+ width: r ? void 0 : t ?? "full",
77
+ height: o ? void 0 : e ?? "md",
78
+ className: s
79
+ })
64
80
  ),
65
- ...r
81
+ style: u,
82
+ ...h
66
83
  }
67
84
  );
68
85
  }
69
86
  export {
70
- x as Skeleton,
71
- n as skeletonVariants
87
+ S as Skeleton,
88
+ c as skeletonVariants
72
89
  };
@@ -1,33 +1,45 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { Edit as o } from "lucide-react";
2
+ import { Edit as d } from "lucide-react";
3
3
  import "../buttons/back-button/back-button.js";
4
- import { Button as m } from "../buttons/button/button.js";
4
+ import { Button as h } from "../buttons/button/button.js";
5
5
  import "../buttons/copy-button/copy-button.js";
6
6
  import "../buttons/external-button/external-button.js";
7
7
  import "../buttons/filter-button/filter-button.js";
8
8
  import "../buttons/navigation-button/navigation-button.js";
9
9
  import "react";
10
- import "clsx";
11
- import "tailwind-merge";
10
+ import { cn as r } from "../../utils/cn.js";
12
11
  import "sonner";
13
12
  import "@gearbox-protocol/sdk";
14
13
  import "../buttons/tab-button/tab-button.js";
15
- function b({
16
- onClick: t,
17
- customButton: r,
18
- disabled: p
14
+ function q({
15
+ onClick: m,
16
+ customButton: p,
17
+ children: n,
18
+ disabled: e,
19
+ width: c,
20
+ $width: s,
21
+ className: a,
22
+ style: f,
23
+ ...l
19
24
  }) {
20
- return /* @__PURE__ */ i("div", { className: r ? "px-4 py-2" : "px-2", children: /* @__PURE__ */ i(
21
- m,
25
+ const t = n || p, o = c === "wide" || s === "wide";
26
+ return /* @__PURE__ */ i("div", { className: r(t ? "px-4 py-2" : "px-2", o && "w-full"), children: /* @__PURE__ */ i(
27
+ h,
22
28
  {
23
- className: r ? "p-0 h-fit hover:bg-accent/0" : "p-2 h-fit",
29
+ className: r(
30
+ t ? "p-0 h-fit hover:bg-accent/0" : "p-2 h-fit",
31
+ o && "w-full",
32
+ a
33
+ ),
24
34
  variant: "ghost",
25
- onClick: t,
26
- disabled: p,
27
- children: r ?? /* @__PURE__ */ i(o, { className: "h-4 w-4" })
35
+ onClick: m,
36
+ disabled: e,
37
+ style: f,
38
+ ...l,
39
+ children: t ?? /* @__PURE__ */ i(d, { className: "h-4 w-4" })
28
40
  }
29
41
  ) });
30
42
  }
31
43
  export {
32
- b as EditButton
44
+ q as EditButton
33
45
  };
@@ -1,10 +1,10 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { cva as m } from "class-variance-authority";
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { cva as n } from "class-variance-authority";
3
3
  import * as d from "react";
4
- import { Col as n } from "../layout/col/col.js";
5
- import { Grid as f } from "../layout/grid/grid.js";
6
- import { cn as s } from "../../utils/cn.js";
7
- const b = m("w-full", {
4
+ import { Col as f } from "../layout/col/col.js";
5
+ import { Grid as c } from "../layout/grid/grid.js";
6
+ import { cn as i } from "../../utils/cn.js";
7
+ const T = n("w-full", {
8
8
  variants: {
9
9
  size: {
10
10
  sm: "text-xs",
@@ -15,66 +15,72 @@ const b = m("w-full", {
15
15
  defaultVariants: {
16
16
  size: "default"
17
17
  }
18
- }), c = d.forwardRef(
19
- ({ className: e, size: a, cols: t = 12, gap: i = 0, ...l }, o) => /* @__PURE__ */ r("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ r(
20
- f,
18
+ }), g = d.forwardRef(
19
+ ({ className: e, size: t, cols: a = 12, gap: l = 0, ...r }, o) => /* @__PURE__ */ s("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ s(
20
+ c,
21
21
  {
22
22
  ref: o,
23
- cols: t,
24
- gap: i,
25
- className: s(b({ size: a, className: e })),
26
- ...l
23
+ cols: a,
24
+ gap: l,
25
+ className: i(T({ size: t, className: e })),
26
+ ...r
27
27
  }
28
28
  ) })
29
29
  );
30
- c.displayName = "GridTable";
31
- const p = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ r(
30
+ g.displayName = "GridTable";
31
+ const G = d.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s(
32
32
  "div",
33
33
  {
34
- ref: t,
35
- className: s("contents [&>*]:border-b [&>*]:border-border", e),
36
- ...a
34
+ ref: a,
35
+ className: i("contents [&>*]:border-b [&>*]:border-border", e),
36
+ ...t
37
37
  }
38
38
  ));
39
- p.displayName = "GridTableHeader";
40
- const u = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ r(
39
+ G.displayName = "GridTableHeader";
40
+ const N = d.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s(
41
41
  "div",
42
42
  {
43
- ref: t,
44
- className: s("contents [&>*:last-child>*]:border-0", e),
45
- ...a
43
+ ref: a,
44
+ className: i("contents [&>*:last-child>*]:border-0", e),
45
+ ...t
46
46
  }
47
47
  ));
48
- u.displayName = "GridTableBody";
49
- const y = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ r(
48
+ N.displayName = "GridTableBody";
49
+ const w = d.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s(
50
50
  "div",
51
51
  {
52
- ref: t,
53
- className: s(
52
+ ref: a,
53
+ className: i(
54
54
  "contents [&>*]:border-t [&>*]:bg-muted/50 [&>*]:font-medium",
55
55
  e
56
56
  ),
57
- ...a
57
+ ...t
58
58
  }
59
59
  ));
60
- y.displayName = "GridTableFooter";
61
- const T = d.forwardRef(
62
- ({ className: e, cols: a, gap: t = 0, ...i }, l) => /* @__PURE__ */ r(
63
- f,
64
- {
65
- ref: l,
66
- cols: a,
67
- gap: t,
68
- className: s(
69
- "contents md:[&>*]:border-b [&>*]:border-border [&>*]:transition-colors hover:[&>*]:bg-muted/50 data-[state=selected]:[&>*]:bg-muted",
70
- e
71
- ),
72
- ...i
73
- }
74
- )
60
+ w.displayName = "GridTableFooter";
61
+ const v = d.forwardRef(
62
+ ({ className: e, cols: t, gap: a = 0, last: l, height: r, hideValue: o, style: u, ...y }, x) => {
63
+ const m = typeof r == "number" ? `${r}px` : r;
64
+ return /* @__PURE__ */ s(
65
+ c,
66
+ {
67
+ ref: x,
68
+ cols: t,
69
+ gap: a,
70
+ className: i(
71
+ "contents md:[&>*]:border-b [&>*]:border-border [&>*]:transition-colors hover:[&>*]:bg-muted/50 data-[state=selected]:[&>*]:bg-muted",
72
+ l && "[&>*]:border-b-0",
73
+ o && "[&>*]:opacity-0",
74
+ e
75
+ ),
76
+ style: { ...u, ...m ? { height: m } : {} },
77
+ ...y
78
+ }
79
+ );
80
+ }
75
81
  );
76
- T.displayName = "GridTableRow";
77
- const G = m(
82
+ v.displayName = "GridTableRow";
83
+ const R = n(
78
84
  "flex items-center justify-startborder-b text-left align-middle font-medium text-muted-foreground !bg-transparent",
79
85
  {
80
86
  variants: {
@@ -94,63 +100,71 @@ const G = m(
94
100
  justify: "start"
95
101
  }
96
102
  }
97
- ), N = d.forwardRef(
98
- ({ className: e, size: a, span: t = 1, justify: i = "start", ...l }, o) => /* @__PURE__ */ r(
99
- n,
103
+ ), b = d.forwardRef(
104
+ ({ className: e, size: t, span: a = 1, justify: l = "start", ...r }, o) => /* @__PURE__ */ s(
105
+ f,
100
106
  {
101
107
  ref: o,
102
- span: t,
103
- className: s(G({ size: a, justify: i, className: e })),
104
- ...l
108
+ span: a,
109
+ className: i(R({ size: t, justify: l, className: e })),
110
+ ...r
105
111
  }
106
112
  )
107
113
  );
108
- N.displayName = "GridTableHead";
109
- const x = m("align-middle", {
114
+ b.displayName = "GridTableHead";
115
+ const h = n("align-middle", {
110
116
  variants: {
111
117
  size: {
112
118
  sm: "p-2",
113
119
  default: "p-4",
114
120
  lg: "p-6"
121
+ },
122
+ textAlign: {
123
+ left: "text-left",
124
+ center: "text-center",
125
+ right: "text-right"
115
126
  }
116
127
  },
117
128
  defaultVariants: {
118
129
  size: "default"
119
130
  }
120
- }), g = d.forwardRef(
121
- ({ className: e, size: a, span: t = 1, ...i }, l) => /* @__PURE__ */ r(
122
- n,
131
+ }), p = d.forwardRef(
132
+ ({ className: e, size: t, span: a = 1, textAlign: l, ...r }, o) => /* @__PURE__ */ s(
133
+ f,
123
134
  {
124
- ref: l,
125
- span: t,
126
- className: s(x({ size: a, className: e })),
127
- ...i
135
+ ref: o,
136
+ span: a,
137
+ className: i(h({ size: t, textAlign: l, className: e })),
138
+ ...r
128
139
  }
129
140
  )
130
141
  );
131
- g.displayName = "GridTableCell";
132
- const w = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ r(
142
+ p.displayName = "GridTableCell";
143
+ const j = d.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ s(
133
144
  "div",
134
145
  {
135
- ref: t,
136
- className: s(
146
+ ref: a,
147
+ className: i(
137
148
  "col-span-full mt-4 text-sm text-muted-foreground",
138
149
  e
139
150
  ),
140
- ...a
151
+ ...t
141
152
  }
142
153
  ));
143
- w.displayName = "GridTableCaption";
154
+ j.displayName = "GridTableCaption";
155
+ const F = p, A = b;
144
156
  export {
145
- c as GridTable,
146
- u as GridTableBody,
147
- w as GridTableCaption,
148
- g as GridTableCell,
149
- y as GridTableFooter,
150
- N as GridTableHead,
151
- p as GridTableHeader,
152
- T as GridTableRow,
153
- x as gridTableCellVariants,
154
- G as gridTableHeadVariants,
155
- b as gridTableVariants
157
+ g as GridTable,
158
+ N as GridTableBody,
159
+ j as GridTableCaption,
160
+ p as GridTableCell,
161
+ w as GridTableFooter,
162
+ b as GridTableHead,
163
+ G as GridTableHeader,
164
+ v as GridTableRow,
165
+ F as Td,
166
+ A as Th,
167
+ h as gridTableCellVariants,
168
+ R as gridTableHeadVariants,
169
+ T as gridTableVariants
156
170
  };