@agg-market/ui 1.0.0 → 3.0.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.
- package/dist/badge.d.mts +5 -3
- package/dist/badge.d.ts +5 -3
- package/dist/badge.js +52 -12
- package/dist/badge.mjs +1 -1
- package/dist/button.d.mts +2 -2
- package/dist/button.d.ts +2 -2
- package/dist/button.js +19 -34
- package/dist/button.mjs +2 -2
- package/dist/card.d.mts +4 -2
- package/dist/card.d.ts +4 -2
- package/dist/card.js +8 -4
- package/dist/card.mjs +1 -1
- package/dist/chart.js +14 -7
- package/dist/chart.mjs +2 -2
- package/dist/{chunk-ZYREURXK.mjs → chunk-2MJY6RVY.mjs} +35 -35
- package/dist/{chunk-P23GR7NX.mjs → chunk-422MCIXV.mjs} +1 -1
- package/dist/chunk-4KMFDCAH.mjs +371 -0
- package/dist/{chunk-HM3CGN32.mjs → chunk-5GDNWQZS.mjs} +46 -46
- package/dist/{chunk-VIP7HSOU.mjs → chunk-5K7VXAYM.mjs} +4 -0
- package/dist/{chunk-BJNHDIDW.mjs → chunk-6425RRBI.mjs} +4 -4
- package/dist/{chunk-O2XH4A3G.mjs → chunk-7NISYVSJ.mjs} +22 -22
- package/dist/{chunk-MXBPDNMC.mjs → chunk-BEDUFOIG.mjs} +95 -22
- package/dist/{chunk-VC7LTPQD.mjs → chunk-BN5VVHNV.mjs} +2 -2
- package/dist/{chunk-JRS2M5GY.mjs → chunk-CTVMT3VL.mjs} +13 -6
- package/dist/{chunk-USLTNDJA.mjs → chunk-D5FTFSKL.mjs} +8 -8
- package/dist/{chunk-BLSHXIAH.mjs → chunk-D7JTOGYP.mjs} +6 -11
- package/dist/{chunk-W2DMBW4E.mjs → chunk-DL7STJQ5.mjs} +61 -33
- package/dist/chunk-ERGNR6UQ.mjs +67 -0
- package/dist/chunk-FO263M3V.mjs +10 -0
- package/dist/{chunk-3O4U3E5I.mjs → chunk-FO2QCB4Z.mjs} +8 -4
- package/dist/{chunk-OGI343OV.mjs → chunk-IGPNIM2B.mjs} +3 -2
- package/dist/chunk-K6IJ4WBM.mjs +67 -0
- package/dist/{chunk-PGSPYQOW.mjs → chunk-KAGYJ4XT.mjs} +17 -27
- package/dist/{chunk-RGZQHSNJ.mjs → chunk-KCPDVBIZ.mjs} +26 -17
- package/dist/{chunk-ZHKMDK5M.mjs → chunk-KFOATMAE.mjs} +87 -87
- package/dist/{chunk-H4UIBDL2.mjs → chunk-LK5D3ZTK.mjs} +15 -15
- package/dist/{chunk-VUDJ3PYM.mjs → chunk-O46OFVH6.mjs} +40 -16
- package/dist/{chunk-RXACBTON.mjs → chunk-OA2IZ3VW.mjs} +16 -22
- package/dist/{chunk-F236MLT6.mjs → chunk-PZTHM6WG.mjs} +13 -10
- package/dist/{chunk-XELWY7SO.mjs → chunk-QYZKC7KG.mjs} +137 -104
- package/dist/{chunk-LWTQD345.mjs → chunk-S3H63TQ5.mjs} +57 -312
- package/dist/{chunk-MNSHWA6M.mjs → chunk-TA7LKYKP.mjs} +9 -8
- package/dist/{chunk-JH5VMNDL.mjs → chunk-V52WSZHQ.mjs} +8 -7
- package/dist/chunk-YJA5VQW6.mjs +167 -0
- package/dist/{chunk-EXF4SESB.mjs → chunk-ZFMCCBP6.mjs} +1 -1
- package/dist/connect-button.js +51 -73
- package/dist/connect-button.mjs +6 -6
- package/dist/deposit-modal.js +171 -177
- package/dist/deposit-modal.mjs +7 -7
- package/dist/event-list-item-details.js +222 -198
- package/dist/event-list-item-details.mjs +11 -11
- package/dist/event-list-item.js +172 -114
- package/dist/event-list-item.mjs +8 -8
- package/dist/event-list.js +391 -507
- package/dist/event-list.mjs +11 -11
- package/dist/event-market-page.js +826 -764
- package/dist/event-market-page.mjs +19 -19
- package/dist/hello-world.js +28 -16
- package/dist/hello-world.mjs +2 -2
- package/dist/home-page.js +395 -511
- package/dist/home-page.mjs +12 -12
- package/dist/icon.d.mts +1 -1
- package/dist/icon.d.ts +1 -1
- package/dist/icon.js +15 -17
- package/dist/icon.mjs +2 -2
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1135 -944
- package/dist/index.mjs +34 -32
- package/dist/loading-icon.d.mts +1 -1
- package/dist/loading-icon.d.ts +1 -1
- package/dist/loading-icon.js +5 -9
- package/dist/loading-icon.mjs +2 -2
- package/dist/market-details.d.mts +2 -2
- package/dist/market-details.d.ts +2 -2
- package/dist/market-details.js +357 -551
- package/dist/market-details.mjs +13 -13
- package/dist/modal.js +4 -0
- package/dist/modal.mjs +1 -1
- package/dist/onboarding-modal.js +63 -67
- package/dist/onboarding-modal.mjs +6 -6
- package/dist/place-order.js +231 -466
- package/dist/place-order.mjs +9 -9
- package/dist/profile-modal.js +52 -65
- package/dist/profile-modal.mjs +6 -6
- package/dist/search.d.mts +2 -2
- package/dist/search.d.ts +2 -2
- package/dist/search.js +28 -34
- package/dist/search.mjs +4 -4
- package/dist/select.js +104 -99
- package/dist/select.mjs +3 -3
- package/dist/settlement.js +279 -59
- package/dist/settlement.mjs +6 -6
- package/dist/skeleton.js +15 -10
- package/dist/skeleton.mjs +2 -2
- package/dist/styles.css +1 -1
- package/dist/switch-button.js +13 -6
- package/dist/switch-button.mjs +1 -1
- package/dist/tabs.d.mts +8 -4
- package/dist/tabs.d.ts +8 -4
- package/dist/tabs.js +163 -420
- package/dist/tabs.mjs +4 -4
- package/dist/tailwind.css +1 -1
- package/dist/types-BVj9ky9P.d.mts +3 -0
- package/dist/types-BVj9ky9P.d.ts +3 -0
- package/dist/typography.d.mts +4 -2
- package/dist/typography.d.ts +4 -2
- package/dist/typography.js +49 -18
- package/dist/typography.mjs +5 -3
- package/dist/user-profile-page.d.mts +2 -2
- package/dist/user-profile-page.d.ts +2 -2
- package/dist/user-profile-page.js +200 -474
- package/dist/user-profile-page.mjs +7 -7
- package/dist/venue-logo.d.mts +2 -2
- package/dist/venue-logo.d.ts +2 -2
- package/dist/venue-logo.js +6 -11
- package/dist/venue-logo.mjs +1 -1
- package/dist/{venue-logo.types-BSAuY84j.d.ts → venue-logo.types-D8Cu2rAm.d.ts} +1 -1
- package/dist/{venue-logo.types-DACqcTvY.d.mts → venue-logo.types-HRf1yBLD.d.mts} +1 -1
- package/dist/withdraw-modal.js +72 -85
- package/dist/withdraw-modal.mjs +6 -6
- package/package.json +2 -2
- package/dist/chunk-AEMAY3MR.mjs +0 -44
- package/dist/chunk-DYEWXEEY.mjs +0 -37
- package/dist/chunk-QFQHD2V6.mjs +0 -146
- package/dist/chunk-ZDF7QP4G.mjs +0 -160
- package/dist/chunk-ZVBVGWSP.mjs +0 -15
- package/dist/types-Bed6Q0EK.d.mts +0 -3
- package/dist/types-Bed6Q0EK.d.ts +0 -3
package/dist/badge.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { A as AvailableSizes } from './types-
|
|
2
|
+
import { A as AvailableSizes } from './types-BVj9ky9P.mjs';
|
|
3
3
|
|
|
4
|
-
type BadgeSize =
|
|
4
|
+
type BadgeSize = AvailableSizes;
|
|
5
5
|
type BadgeClassNames = {
|
|
6
6
|
root?: string;
|
|
7
7
|
prefix?: string;
|
|
@@ -14,11 +14,13 @@ interface BadgeProps {
|
|
|
14
14
|
suffix?: ReactNode;
|
|
15
15
|
size?: BadgeSize;
|
|
16
16
|
classNames?: BadgeClassNames;
|
|
17
|
+
isActive?: boolean;
|
|
18
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
declare const badgeSizes: BadgeSize[];
|
|
20
22
|
|
|
21
|
-
declare function Badge({ text, prefix, suffix, size, classNames }: BadgeProps): JSX.Element;
|
|
23
|
+
declare function Badge({ text, prefix, suffix, size, classNames, onClick, isActive, }: BadgeProps): JSX.Element;
|
|
22
24
|
declare namespace Badge {
|
|
23
25
|
var displayName: string;
|
|
24
26
|
}
|
package/dist/badge.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { A as AvailableSizes } from './types-
|
|
2
|
+
import { A as AvailableSizes } from './types-BVj9ky9P.js';
|
|
3
3
|
|
|
4
|
-
type BadgeSize =
|
|
4
|
+
type BadgeSize = AvailableSizes;
|
|
5
5
|
type BadgeClassNames = {
|
|
6
6
|
root?: string;
|
|
7
7
|
prefix?: string;
|
|
@@ -14,11 +14,13 @@ interface BadgeProps {
|
|
|
14
14
|
suffix?: ReactNode;
|
|
15
15
|
size?: BadgeSize;
|
|
16
16
|
classNames?: BadgeClassNames;
|
|
17
|
+
isActive?: boolean;
|
|
18
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
declare const badgeSizes: BadgeSize[];
|
|
20
22
|
|
|
21
|
-
declare function Badge({ text, prefix, suffix, size, classNames }: BadgeProps): JSX.Element;
|
|
23
|
+
declare function Badge({ text, prefix, suffix, size, classNames, onClick, isActive, }: BadgeProps): JSX.Element;
|
|
22
24
|
declare namespace Badge {
|
|
23
25
|
var displayName: string;
|
|
24
26
|
}
|
package/dist/badge.js
CHANGED
|
@@ -1,8 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __spreadValues = (a, b) => {
|
|
12
|
+
for (var prop in b || (b = {}))
|
|
13
|
+
if (__hasOwnProp.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
if (__getOwnPropSymbols)
|
|
16
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
+
if (__propIsEnum.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
}
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
6
23
|
var __export = (target, all) => {
|
|
7
24
|
for (var name in all)
|
|
8
25
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -24,20 +41,22 @@ __export(badge_exports, {
|
|
|
24
41
|
badgeSizes: () => badgeSizes
|
|
25
42
|
});
|
|
26
43
|
module.exports = __toCommonJS(badge_exports);
|
|
44
|
+
var import_hooks = require("@agg-market/hooks");
|
|
27
45
|
|
|
28
46
|
// src/shared/utils.ts
|
|
29
47
|
var cn = (...values) => values.filter(Boolean).join(" ");
|
|
48
|
+
var getMotionClassName = (enabled, ...values) => {
|
|
49
|
+
if (!enabled)
|
|
50
|
+
return void 0;
|
|
51
|
+
return cn(...values);
|
|
52
|
+
};
|
|
30
53
|
|
|
31
54
|
// src/primitives/badge/badge.constants.ts
|
|
32
|
-
var badgeSizes = ["
|
|
55
|
+
var badgeSizes = ["small", "medium", "large"];
|
|
33
56
|
var badgeSizeClasses = {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
m: cn("h-7 px-3 gap-1.5", "text-agg-sm leading-agg-5"),
|
|
38
|
-
l: cn("h-8 px-3.5 gap-1.5", "text-agg-base leading-agg-6"),
|
|
39
|
-
xl: cn("h-9 px-4 gap-2", "text-agg-lg leading-agg-7"),
|
|
40
|
-
xxl: cn("h-10 px-5 gap-2", "text-agg-xl leading-agg-7")
|
|
57
|
+
small: cn("py-1.5 px-4 gap-1.5", "agg-type-label"),
|
|
58
|
+
medium: cn("py-1.5 px-4 gap-2", "agg-type-body"),
|
|
59
|
+
large: cn("py-2.5 px-6 gap-2", "agg-type-body")
|
|
41
60
|
};
|
|
42
61
|
var baseBadgeClasses = cn(
|
|
43
62
|
"inline-flex items-center justify-center rounded-agg-full font-agg-sans",
|
|
@@ -46,20 +65,41 @@ var baseBadgeClasses = cn(
|
|
|
46
65
|
|
|
47
66
|
// src/primitives/badge/index.tsx
|
|
48
67
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
49
|
-
function Badge({
|
|
68
|
+
function Badge({
|
|
69
|
+
text,
|
|
70
|
+
prefix,
|
|
71
|
+
suffix,
|
|
72
|
+
size = "medium",
|
|
73
|
+
classNames,
|
|
74
|
+
onClick,
|
|
75
|
+
isActive = false
|
|
76
|
+
}) {
|
|
77
|
+
const { enableAnimations } = (0, import_hooks.useSdkUiConfig)();
|
|
50
78
|
const resolvedText = `${text}`;
|
|
51
79
|
const resolvedAriaLabel = resolvedText.length > 0 ? resolvedText : void 0;
|
|
52
80
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
53
81
|
"span",
|
|
54
|
-
{
|
|
82
|
+
__spreadProps(__spreadValues({
|
|
55
83
|
"aria-label": resolvedAriaLabel,
|
|
56
|
-
className: cn(
|
|
84
|
+
className: cn(
|
|
85
|
+
"group/agg-badge",
|
|
86
|
+
baseBadgeClasses,
|
|
87
|
+
badgeSizeClasses[size],
|
|
88
|
+
onClick ? "cursor-pointer hover:bg-agg-tertiary disabled:cursor-not-allowed" : "",
|
|
89
|
+
getMotionClassName(
|
|
90
|
+
enableAnimations,
|
|
91
|
+
"transition-[border-color,background-color] duration-200 ease-in-out"
|
|
92
|
+
),
|
|
93
|
+
isActive ? "border-agg-primary bg-agg-secondary! font-agg-bold!" : "border-transparent font-agg-normal",
|
|
94
|
+
classNames == null ? void 0 : classNames.root
|
|
95
|
+
)
|
|
96
|
+
}, onClick && { onClick }), {
|
|
57
97
|
children: [
|
|
58
98
|
prefix ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: classNames == null ? void 0 : classNames.prefix, children: prefix }) : null,
|
|
59
99
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: cn("truncate", classNames == null ? void 0 : classNames.text), children: text }),
|
|
60
100
|
suffix ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: classNames == null ? void 0 : classNames.suffix, children: suffix }) : null
|
|
61
101
|
]
|
|
62
|
-
}
|
|
102
|
+
})
|
|
63
103
|
);
|
|
64
104
|
}
|
|
65
105
|
Badge.displayName = "Badge";
|
package/dist/badge.mjs
CHANGED
package/dist/button.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes, ReactNode, FC } from 'react';
|
|
2
|
-
import { A as AvailableSizes } from './types-
|
|
2
|
+
import { A as AvailableSizes } from './types-BVj9ky9P.mjs';
|
|
3
3
|
|
|
4
4
|
type ButtonVariant = "primary" | "secondary" | "tertiary";
|
|
5
|
-
type ButtonSize =
|
|
5
|
+
type ButtonSize = AvailableSizes;
|
|
6
6
|
type ButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
variant?: ButtonVariant;
|
package/dist/button.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes, ReactNode, FC } from 'react';
|
|
2
|
-
import { A as AvailableSizes } from './types-
|
|
2
|
+
import { A as AvailableSizes } from './types-BVj9ky9P.js';
|
|
3
3
|
|
|
4
4
|
type ButtonVariant = "primary" | "secondary" | "tertiary";
|
|
5
|
-
type ButtonSize =
|
|
5
|
+
type ButtonSize = AvailableSizes;
|
|
6
6
|
type ButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
variant?: ButtonVariant;
|
package/dist/button.js
CHANGED
|
@@ -64,43 +64,26 @@ var getMotionClassName = (enabled, ...values) => {
|
|
|
64
64
|
|
|
65
65
|
// src/primitives/icon/icon.constants.ts
|
|
66
66
|
var iconSizeClasses = {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
ms: "h-5 w-5",
|
|
71
|
-
m: "h-6 w-6",
|
|
72
|
-
l: "h-8 w-8",
|
|
73
|
-
xl: "h-10 w-10",
|
|
74
|
-
xxl: "h-12 w-12"
|
|
67
|
+
small: "h-4 w-4",
|
|
68
|
+
medium: "h-6 w-6",
|
|
69
|
+
large: "h-8 w-8"
|
|
75
70
|
};
|
|
76
71
|
|
|
77
72
|
// src/primitives/button/button.constants.ts
|
|
78
73
|
var sizeClasses = {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
m: cn("h-9 px-5 gap-1.5", "text-agg-sm leading-agg-5"),
|
|
83
|
-
l: cn("h-10 px-6 gap-2", "text-agg-base leading-agg-6"),
|
|
84
|
-
xl: cn("h-11 px-7 gap-2", "text-agg-base leading-agg-6"),
|
|
85
|
-
xxl: cn("h-12 px-8 gap-2", "text-agg-base leading-agg-6")
|
|
74
|
+
small: cn("h-8 px-4 gap-1.5", "text-agg-sm leading-agg-5"),
|
|
75
|
+
medium: cn("h-9 px-5 gap-1.5", "text-agg-sm leading-agg-5"),
|
|
76
|
+
large: cn("h-10 px-6 gap-2", "text-agg-base leading-agg-6")
|
|
86
77
|
};
|
|
87
78
|
var iconSizeClasses2 = {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
m: iconSizeClasses.s,
|
|
92
|
-
l: iconSizeClasses.s,
|
|
93
|
-
xl: iconSizeClasses.s,
|
|
94
|
-
xxl: iconSizeClasses.s
|
|
79
|
+
small: iconSizeClasses.small,
|
|
80
|
+
medium: iconSizeClasses.small,
|
|
81
|
+
large: iconSizeClasses.small
|
|
95
82
|
};
|
|
96
83
|
var iconSlotClasses = {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
m: "[&_svg]:h-4 [&_svg]:w-4",
|
|
101
|
-
l: "[&_svg]:h-4 [&_svg]:w-4",
|
|
102
|
-
xl: "[&_svg]:h-4 [&_svg]:w-4",
|
|
103
|
-
xxl: "[&_svg]:h-4 [&_svg]:w-4"
|
|
84
|
+
small: "[&_svg]:h-4 [&_svg]:w-4",
|
|
85
|
+
medium: "[&_svg]:h-4 [&_svg]:w-4",
|
|
86
|
+
large: "[&_svg]:h-4 [&_svg]:w-4"
|
|
104
87
|
};
|
|
105
88
|
var variantClasses = {
|
|
106
89
|
primary: cn(
|
|
@@ -116,10 +99,11 @@ var variantClasses = {
|
|
|
116
99
|
"focus-visible:ring-agg-separator"
|
|
117
100
|
),
|
|
118
101
|
tertiary: cn(
|
|
119
|
-
"bg-transparent text-agg-
|
|
120
|
-
"hover:
|
|
102
|
+
"bg-transparent text-agg-primary",
|
|
103
|
+
"hover:text-agg-primary-hover",
|
|
121
104
|
"disabled:bg-transparent disabled:text-agg-muted-foreground",
|
|
122
|
-
"focus-visible:ring-agg-separator"
|
|
105
|
+
"focus-visible:ring-agg-separator",
|
|
106
|
+
"px-0! py-0! h-fit!"
|
|
123
107
|
)
|
|
124
108
|
};
|
|
125
109
|
var baseButtonClasses = cn(
|
|
@@ -135,7 +119,7 @@ var Button = (_a) => {
|
|
|
135
119
|
var _b = _a, {
|
|
136
120
|
children,
|
|
137
121
|
variant = "primary",
|
|
138
|
-
size = "
|
|
122
|
+
size = "medium",
|
|
139
123
|
isLoading = false,
|
|
140
124
|
disabled,
|
|
141
125
|
prefix,
|
|
@@ -162,8 +146,9 @@ var Button = (_a) => {
|
|
|
162
146
|
__spreadProps(__spreadValues({
|
|
163
147
|
type,
|
|
164
148
|
className: cn(
|
|
149
|
+
"group/agg-button",
|
|
165
150
|
baseButtonClasses,
|
|
166
|
-
getMotionClassName(enableAnimations, "transition-colors"),
|
|
151
|
+
getMotionClassName(enableAnimations, "transition-colors duration-200 ease-in-out"),
|
|
167
152
|
sizeClasses[size],
|
|
168
153
|
iconSlotClasses[size],
|
|
169
154
|
variantClasses[variant],
|
package/dist/button.mjs
CHANGED
package/dist/card.d.mts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
type CardProps = React.HTMLAttributes<HTMLDivElement
|
|
1
|
+
type CardProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
2
|
+
onClick?: (e?: React.MouseEvent) => void;
|
|
3
|
+
};
|
|
2
4
|
|
|
3
5
|
declare const Card: {
|
|
4
|
-
({ className, ...props }: CardProps): JSX.Element;
|
|
6
|
+
({ className, onClick, ...props }: CardProps): JSX.Element;
|
|
5
7
|
displayName: string;
|
|
6
8
|
};
|
|
7
9
|
|
package/dist/card.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
type CardProps = React.HTMLAttributes<HTMLDivElement
|
|
1
|
+
type CardProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
2
|
+
onClick?: (e?: React.MouseEvent) => void;
|
|
3
|
+
};
|
|
2
4
|
|
|
3
5
|
declare const Card: {
|
|
4
|
-
({ className, ...props }: CardProps): JSX.Element;
|
|
6
|
+
({ className, onClick, ...props }: CardProps): JSX.Element;
|
|
5
7
|
displayName: string;
|
|
6
8
|
};
|
|
7
9
|
|
package/dist/card.js
CHANGED
|
@@ -62,19 +62,23 @@ var getMotionClassName = (enabled, ...values) => {
|
|
|
62
62
|
// src/primitives/card/index.tsx
|
|
63
63
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
64
64
|
var Card = (_a) => {
|
|
65
|
-
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
65
|
+
var _b = _a, { className, onClick } = _b, props = __objRest(_b, ["className", "onClick"]);
|
|
66
66
|
const { enableAnimations } = (0, import_hooks.useSdkUiConfig)();
|
|
67
67
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
68
68
|
"div",
|
|
69
|
-
__spreadValues({
|
|
69
|
+
__spreadValues(__spreadValues({
|
|
70
70
|
className: cn(
|
|
71
|
+
"group/agg-card",
|
|
71
72
|
"flex w-full flex-col font-agg-sans",
|
|
72
73
|
"rounded-agg-xl border border-agg-separator",
|
|
73
74
|
"bg-agg-secondary text-agg-foreground shadow-agg-card",
|
|
74
|
-
getMotionClassName(
|
|
75
|
+
getMotionClassName(
|
|
76
|
+
enableAnimations,
|
|
77
|
+
"transition-shadow hover:shadow-agg-card-hover duration-300 ease-in-out"
|
|
78
|
+
),
|
|
75
79
|
className
|
|
76
80
|
)
|
|
77
|
-
}, props)
|
|
81
|
+
}, onClick ? { onClick } : {}), props)
|
|
78
82
|
);
|
|
79
83
|
};
|
|
80
84
|
Card.displayName = "Card";
|
package/dist/card.mjs
CHANGED
package/dist/chart.js
CHANGED
|
@@ -141,7 +141,10 @@ var SwitchButton = ({
|
|
|
141
141
|
"div",
|
|
142
142
|
{
|
|
143
143
|
className: cn(
|
|
144
|
+
"group/agg-switch",
|
|
144
145
|
"inline-flex min-w-0 rounded-agg-full bg-agg-secondary-hover font-agg-sans",
|
|
146
|
+
getMotionClassName(enableAnimations, "transition-background duration-200 ease-in-out"),
|
|
147
|
+
"cursor-pointer hover:bg-agg-tertiary",
|
|
145
148
|
className
|
|
146
149
|
),
|
|
147
150
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
@@ -161,7 +164,7 @@ var SwitchButton = ({
|
|
|
161
164
|
"pointer-events-none absolute inset-y-0 left-0 rounded-agg-full border-2 border-agg-primary bg-agg-secondary",
|
|
162
165
|
getMotionClassName(
|
|
163
166
|
enableAnimations,
|
|
164
|
-
"transition-transform duration-
|
|
167
|
+
"transition-transform duration-500 ease-[cubic-bezier(0.77,0,0.175,1)]"
|
|
165
168
|
)
|
|
166
169
|
),
|
|
167
170
|
style: {
|
|
@@ -185,15 +188,19 @@ var SwitchButton = ({
|
|
|
185
188
|
disabled: option.disabled,
|
|
186
189
|
className: cn(
|
|
187
190
|
"relative z-10 min-w-0 rounded-agg-full px-5 py-1.5 font-agg-sans text-agg-base leading-agg-6 text-agg-foreground",
|
|
188
|
-
getMotionClassName(
|
|
191
|
+
getMotionClassName(
|
|
192
|
+
enableAnimations,
|
|
193
|
+
"transition-[colors] duration-200 ease-in-out"
|
|
194
|
+
),
|
|
189
195
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agg-primary focus-visible:ring-offset-2 focus-visible:ring-offset-agg-secondary-hover",
|
|
190
|
-
"disabled:cursor-not-allowed disabled:text-agg-muted-foreground",
|
|
196
|
+
"cursor-pointer disabled:cursor-not-allowed disabled:text-agg-muted-foreground",
|
|
191
197
|
isActive ? "font-agg-bold" : "font-agg-normal"
|
|
192
198
|
),
|
|
193
|
-
onClick: () => {
|
|
194
|
-
|
|
199
|
+
onClick: (e) => {
|
|
200
|
+
e.preventDefault();
|
|
201
|
+
e.stopPropagation();
|
|
202
|
+
if (option.disabled || isActive)
|
|
195
203
|
return;
|
|
196
|
-
}
|
|
197
204
|
onValueChange(option.value);
|
|
198
205
|
},
|
|
199
206
|
onKeyDown: (event) => {
|
|
@@ -371,7 +378,7 @@ var LineChart = ({
|
|
|
371
378
|
seriesSwitchAriaLabel: labels.common.lineChartSeriesSwitchAria,
|
|
372
379
|
formatSeriesOptionAriaLabel: labels.common.lineChartSeriesOptionAria
|
|
373
380
|
}) : null : null;
|
|
374
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: cn("w-full", classNames == null ? void 0 : classNames.root), style: { width }, children: [
|
|
381
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: cn("group/agg-chart", "w-full", classNames == null ? void 0 : classNames.root), style: { width }, children: [
|
|
375
382
|
!isLoading && seriesControls ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: cn("mb-3", classNames == null ? void 0 : classNames.controls), children: seriesControls }) : null,
|
|
376
383
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
377
384
|
"div",
|
package/dist/chart.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Modal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5K7VXAYM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
VenueLogo,
|
|
6
6
|
venueLogoLabels
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D7JTOGYP.mjs";
|
|
8
8
|
import {
|
|
9
9
|
BankIcon,
|
|
10
10
|
ChevronLeftIcon,
|
|
11
11
|
ChevronRightIcon,
|
|
12
12
|
ExternalLinkIcon,
|
|
13
13
|
WalletIcon
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PZTHM6WG.mjs";
|
|
15
15
|
import {
|
|
16
16
|
Button
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KAGYJ4XT.mjs";
|
|
18
18
|
import {
|
|
19
19
|
cn,
|
|
20
20
|
formatAmountDisplay,
|
|
@@ -58,19 +58,19 @@ var VenueRow = ({ venue, onSelect }) => {
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
children: [
|
|
61
|
-
/* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(VenueLogo, { venue: venue.venue, size: "
|
|
61
|
+
/* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(VenueLogo, { venue: venue.venue, size: "large", className: "rounded-lg" }) }),
|
|
62
62
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
63
|
-
/* @__PURE__ */ jsx("p", { className: "
|
|
64
|
-
/* @__PURE__ */ jsxs("p", { className: "
|
|
63
|
+
/* @__PURE__ */ jsx("p", { className: "agg-type-body-strong text-agg-foreground", children: displayName }),
|
|
64
|
+
/* @__PURE__ */ jsxs("p", { className: "agg-type-label text-agg-muted-foreground", children: [
|
|
65
65
|
"Balance ",
|
|
66
66
|
formatCompactUsd(venue.balance)
|
|
67
67
|
] })
|
|
68
68
|
] }),
|
|
69
|
-
isDisabled ? /* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx("span", { className: "
|
|
69
|
+
isDisabled ? /* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx("span", { className: "agg-type-label text-agg-muted-foreground", children: (_b = venue.disabledReason) != null ? _b : "Unavailable" }) }) : /* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(
|
|
70
70
|
Button,
|
|
71
71
|
{
|
|
72
72
|
variant: "secondary",
|
|
73
|
-
size: "
|
|
73
|
+
size: "small",
|
|
74
74
|
suffix: /* @__PURE__ */ jsx(ChevronRightIcon, {}),
|
|
75
75
|
onClick: (e) => {
|
|
76
76
|
e.stopPropagation();
|
|
@@ -89,7 +89,7 @@ var VenueSelectionStep = ({
|
|
|
89
89
|
}) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
90
90
|
/* @__PURE__ */ jsx(Modal.Header, { title: "Withdraw", hideBorder: true }),
|
|
91
91
|
/* @__PURE__ */ jsx(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
92
|
-
/* @__PURE__ */ jsx("p", { className: "
|
|
92
|
+
/* @__PURE__ */ jsx("p", { className: "agg-type-body text-agg-foreground", children: "Choose where to withdraw funds from:" }),
|
|
93
93
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3", children: venues.map((venue) => /* @__PURE__ */ jsx(VenueRow, { venue, onSelect: onSelectVenue }, venue.venue)) })
|
|
94
94
|
] }) })
|
|
95
95
|
] });
|
|
@@ -122,14 +122,14 @@ var WithdrawMethodCard = ({
|
|
|
122
122
|
children: [
|
|
123
123
|
/* @__PURE__ */ jsx2("div", { className: "shrink-0 flex items-center justify-center h-10 w-10 rounded-lg bg-secondary-hover", children: icon }),
|
|
124
124
|
/* @__PURE__ */ jsxs2("div", { className: "flex-1 min-w-0", children: [
|
|
125
|
-
/* @__PURE__ */ jsx2("p", { className: "
|
|
126
|
-
/* @__PURE__ */ jsx2("p", { className: "
|
|
125
|
+
/* @__PURE__ */ jsx2("p", { className: "agg-type-body-strong text-agg-foreground", children: title }),
|
|
126
|
+
/* @__PURE__ */ jsx2("p", { className: "agg-type-label text-agg-muted-foreground", children: description })
|
|
127
127
|
] }),
|
|
128
128
|
/* @__PURE__ */ jsx2("div", { className: "shrink-0", children: /* @__PURE__ */ jsx2(
|
|
129
129
|
Button,
|
|
130
130
|
{
|
|
131
131
|
variant: "secondary",
|
|
132
|
-
size: "
|
|
132
|
+
size: "small",
|
|
133
133
|
suffix: /* @__PURE__ */ jsx2(ChevronRightIcon, {}),
|
|
134
134
|
onClick: (e) => {
|
|
135
135
|
e.stopPropagation();
|
|
@@ -158,7 +158,7 @@ var WithdrawMethodStep = ({
|
|
|
158
158
|
"button",
|
|
159
159
|
{
|
|
160
160
|
type: "button",
|
|
161
|
-
className: "flex items-center justify-center text-
|
|
161
|
+
className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
|
|
162
162
|
onClick: onBack,
|
|
163
163
|
"aria-label": "Go back",
|
|
164
164
|
children: /* @__PURE__ */ jsx2(ChevronLeftIcon, { className: "h-6 w-6" })
|
|
@@ -168,8 +168,8 @@ var WithdrawMethodStep = ({
|
|
|
168
168
|
),
|
|
169
169
|
/* @__PURE__ */ jsx2(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ jsxs2("div", { className: "flex flex-col gap-4", children: [
|
|
170
170
|
/* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-2", children: [
|
|
171
|
-
/* @__PURE__ */ jsx2(VenueLogo, { venue: venue.venue, size: "
|
|
172
|
-
/* @__PURE__ */ jsxs2("p", { className: "
|
|
171
|
+
/* @__PURE__ */ jsx2(VenueLogo, { venue: venue.venue, size: "small", className: "rounded-sm" }),
|
|
172
|
+
/* @__PURE__ */ jsxs2("p", { className: "agg-type-label text-agg-muted-foreground", children: [
|
|
173
173
|
displayName,
|
|
174
174
|
" balance: ",
|
|
175
175
|
formatCompactUsd(venue.balance)
|
|
@@ -179,7 +179,7 @@ var WithdrawMethodStep = ({
|
|
|
179
179
|
/* @__PURE__ */ jsx2(
|
|
180
180
|
WithdrawMethodCard,
|
|
181
181
|
{
|
|
182
|
-
icon: /* @__PURE__ */ jsx2(WalletIcon, { className: "h-6 w-6 text-foreground" }),
|
|
182
|
+
icon: /* @__PURE__ */ jsx2(WalletIcon, { className: "h-6 w-6 text-agg-foreground" }),
|
|
183
183
|
title: "Withdraw to Wallet",
|
|
184
184
|
description: "Send funds to your crypto wallet as USDC.",
|
|
185
185
|
onContinue: () => onSelectMethod("wallet")
|
|
@@ -188,7 +188,7 @@ var WithdrawMethodStep = ({
|
|
|
188
188
|
/* @__PURE__ */ jsx2(
|
|
189
189
|
WithdrawMethodCard,
|
|
190
190
|
{
|
|
191
|
-
icon: /* @__PURE__ */ jsx2(BankIcon, { className: "h-6 w-6 text-foreground" }),
|
|
191
|
+
icon: /* @__PURE__ */ jsx2(BankIcon, { className: "h-6 w-6 text-agg-foreground" }),
|
|
192
192
|
title: "Withdraw to Bank",
|
|
193
193
|
description: "Transfer funds to your linked bank account.",
|
|
194
194
|
onContinue: () => onSelectMethod("bank")
|
|
@@ -234,7 +234,7 @@ var WithdrawAmountStep = ({
|
|
|
234
234
|
"button",
|
|
235
235
|
{
|
|
236
236
|
type: "button",
|
|
237
|
-
className: "flex items-center justify-center text-
|
|
237
|
+
className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
|
|
238
238
|
onClick: onBack,
|
|
239
239
|
"aria-label": "Go back",
|
|
240
240
|
children: /* @__PURE__ */ jsx3(ChevronLeftIcon, { className: "h-6 w-6" })
|
|
@@ -245,8 +245,8 @@ var WithdrawAmountStep = ({
|
|
|
245
245
|
/* @__PURE__ */ jsx3(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-6", children: [
|
|
246
246
|
/* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-between", children: [
|
|
247
247
|
/* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-2", children: [
|
|
248
|
-
/* @__PURE__ */ jsx3(VenueLogo, { venue: venue.venue, size: "
|
|
249
|
-
/* @__PURE__ */ jsxs3("p", { className: "
|
|
248
|
+
/* @__PURE__ */ jsx3(VenueLogo, { venue: venue.venue, size: "small", className: "rounded-sm" }),
|
|
249
|
+
/* @__PURE__ */ jsxs3("p", { className: "agg-type-label text-agg-muted-foreground", children: [
|
|
250
250
|
displayName,
|
|
251
251
|
" balance: ",
|
|
252
252
|
formatCompactUsd(venue.balance)
|
|
@@ -256,7 +256,7 @@ var WithdrawAmountStep = ({
|
|
|
256
256
|
"button",
|
|
257
257
|
{
|
|
258
258
|
type: "button",
|
|
259
|
-
className: "
|
|
259
|
+
className: "agg-type-label-strong text-agg-primary transition-colors hover:text-agg-primary/80",
|
|
260
260
|
onClick: handleMax,
|
|
261
261
|
children: "Max"
|
|
262
262
|
}
|
|
@@ -264,7 +264,7 @@ var WithdrawAmountStep = ({
|
|
|
264
264
|
] }),
|
|
265
265
|
/* @__PURE__ */ jsxs3("div", { className: "flex-1 min-w-0", children: [
|
|
266
266
|
/* @__PURE__ */ jsxs3("div", { className: "flex items-baseline", children: [
|
|
267
|
-
/* @__PURE__ */ jsx3("span", { className: "
|
|
267
|
+
/* @__PURE__ */ jsx3("span", { className: "agg-type-display text-agg-foreground", children: "$" }),
|
|
268
268
|
/* @__PURE__ */ jsx3(
|
|
269
269
|
"input",
|
|
270
270
|
{
|
|
@@ -272,8 +272,8 @@ var WithdrawAmountStep = ({
|
|
|
272
272
|
inputMode: "decimal",
|
|
273
273
|
"aria-label": "Amount",
|
|
274
274
|
className: cn(
|
|
275
|
-
"w-full bg-transparent
|
|
276
|
-
exceedsBalance ? "text-error" : numericAmount > 0 ? "text-foreground" : "text-muted-foreground"
|
|
275
|
+
"agg-type-display w-full bg-transparent outline-none",
|
|
276
|
+
exceedsBalance ? "text-agg-error" : numericAmount > 0 ? "text-agg-foreground" : "text-agg-muted-foreground"
|
|
277
277
|
),
|
|
278
278
|
placeholder: "0",
|
|
279
279
|
value: rawAmount ? formatAmountDisplay(rawAmount) : "",
|
|
@@ -281,13 +281,13 @@ var WithdrawAmountStep = ({
|
|
|
281
281
|
}
|
|
282
282
|
)
|
|
283
283
|
] }),
|
|
284
|
-
exceedsBalance ? /* @__PURE__ */ jsx3("p", { className: "mt-2 text-
|
|
284
|
+
exceedsBalance ? /* @__PURE__ */ jsx3("p", { className: "agg-type-label mt-2 text-agg-error", children: "Amount exceeds available balance" }) : null
|
|
285
285
|
] }),
|
|
286
286
|
/* @__PURE__ */ jsx3(
|
|
287
287
|
Button,
|
|
288
288
|
{
|
|
289
289
|
variant: "primary",
|
|
290
|
-
size: "
|
|
290
|
+
size: "large",
|
|
291
291
|
className: "w-full",
|
|
292
292
|
disabled: !isValid,
|
|
293
293
|
onClick: () => onContinue(numericAmount),
|
|
@@ -306,13 +306,13 @@ var KalshiStepCard = ({
|
|
|
306
306
|
description,
|
|
307
307
|
children
|
|
308
308
|
}) => /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-2 rounded-xl bg-secondary-hover p-4", children: [
|
|
309
|
-
/* @__PURE__ */ jsxs4("p", { className: "
|
|
309
|
+
/* @__PURE__ */ jsxs4("p", { className: "agg-type-caption-caps text-agg-muted-foreground", children: [
|
|
310
310
|
"Step ",
|
|
311
311
|
step
|
|
312
312
|
] }),
|
|
313
313
|
/* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-1", children: [
|
|
314
|
-
/* @__PURE__ */ jsx4("p", { className: "
|
|
315
|
-
/* @__PURE__ */ jsx4("p", { className: "
|
|
314
|
+
/* @__PURE__ */ jsx4("p", { className: "agg-type-label-strong text-agg-foreground", children: title }),
|
|
315
|
+
/* @__PURE__ */ jsx4("p", { className: "agg-type-label text-agg-foreground", children: description })
|
|
316
316
|
] }),
|
|
317
317
|
children
|
|
318
318
|
] });
|
|
@@ -326,13 +326,13 @@ var KalshiWithdrawStep = ({
|
|
|
326
326
|
VenueLogo,
|
|
327
327
|
{
|
|
328
328
|
venue: "kalshi",
|
|
329
|
-
size: "
|
|
329
|
+
size: "large",
|
|
330
330
|
className: "h-[60px] w-[60px] rounded-lg"
|
|
331
331
|
}
|
|
332
332
|
),
|
|
333
333
|
/* @__PURE__ */ jsxs4("div", { className: "flex flex-col items-center gap-4 text-center", children: [
|
|
334
|
-
/* @__PURE__ */ jsx4("h2", { className: "
|
|
335
|
-
/* @__PURE__ */ jsx4("p", { className: "
|
|
334
|
+
/* @__PURE__ */ jsx4("h2", { className: "agg-type-heading text-agg-foreground", children: "Withdraw from Kalshi" }),
|
|
335
|
+
/* @__PURE__ */ jsx4("p", { className: "agg-type-body text-agg-foreground", children: "To withdraw from Kalshi you'll need to initiate the withdrawal from your Kalshi account directly on Kalshi's site." })
|
|
336
336
|
] }),
|
|
337
337
|
/* @__PURE__ */ jsxs4("div", { className: "flex w-full flex-col gap-4", children: [
|
|
338
338
|
/* @__PURE__ */ jsx4(
|
|
@@ -345,7 +345,7 @@ var KalshiWithdrawStep = ({
|
|
|
345
345
|
Button,
|
|
346
346
|
{
|
|
347
347
|
variant: "secondary",
|
|
348
|
-
size: "
|
|
348
|
+
size: "small",
|
|
349
349
|
suffix: /* @__PURE__ */ jsx4(ExternalLinkIcon, { className: "h-3.5 w-3.5" }),
|
|
350
350
|
onClick: () => {
|
|
351
351
|
window.open(withdrawUrl, "_blank", "noopener,noreferrer");
|
|
@@ -372,7 +372,7 @@ var KalshiWithdrawStep = ({
|
|
|
372
372
|
}
|
|
373
373
|
)
|
|
374
374
|
] }),
|
|
375
|
-
/* @__PURE__ */ jsx4(Button, { variant: "secondary", size: "
|
|
375
|
+
/* @__PURE__ */ jsx4(Button, { variant: "secondary", size: "large", onClick: onDone, children: "Done" })
|
|
376
376
|
] }) })
|
|
377
377
|
] });
|
|
378
378
|
|