@breadcoop/ui 1.0.25 → 2.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/chunk-FWCSY2DS.mjs +37 -0
- package/dist/components/LiftedButton/LiftedButton.d.mts +29 -0
- package/dist/components/LiftedButton/LiftedButton.mjs +149 -0
- package/dist/components/LiftedButton/LiftedButtonPresets.d.mts +55 -0
- package/dist/components/LiftedButton/LiftedButtonPresets.mjs +85 -0
- package/dist/components/LiftedButton/index.d.mts +2 -0
- package/dist/components/LiftedButton/index.mjs +0 -0
- package/dist/components/Logo/Logo.d.mts +29 -0
- package/dist/components/Logo/Logo.mjs +273 -0
- package/dist/components/Logo/index.d.mts +3 -0
- package/dist/components/Logo/index.mjs +5 -0
- package/dist/components/auth/button-shell.d.mts +5 -0
- package/dist/components/auth/button-shell.mjs +8 -0
- package/dist/components/auth/index.d.mts +5 -0
- package/dist/components/auth/index.mjs +5 -0
- package/dist/components/auth/login-button-general.d.mts +13 -0
- package/dist/components/auth/login-button-general.mjs +80 -0
- package/dist/components/auth/login-button-privy.d.mts +13 -0
- package/dist/components/auth/login-button-privy.mjs +64 -0
- package/dist/components/auth/login-button.d.mts +8 -0
- package/dist/components/auth/login-button.mjs +32 -0
- package/dist/components/buttons/button.d.mts +20 -0
- package/dist/components/buttons/button.mjs +93 -0
- package/dist/components/buttons/copy-icon.d.mts +10 -0
- package/dist/components/buttons/copy-icon.mjs +44 -0
- package/dist/components/buttons/index.d.mts +6 -0
- package/dist/components/buttons/index.mjs +7 -0
- package/dist/components/chip/chip.d.mts +12 -0
- package/dist/components/chip/chip.mjs +34 -0
- package/dist/components/connected-user/context.d.mts +14 -0
- package/dist/components/connected-user/context.mjs +22 -0
- package/dist/components/connected-user/index.d.mts +6 -0
- package/dist/components/connected-user/index.mjs +7 -0
- package/dist/components/connected-user/interface.d.mts +16 -0
- package/dist/components/connected-user/interface.mjs +0 -0
- package/dist/components/connected-user/privy-provider.d.mts +10 -0
- package/dist/components/connected-user/privy-provider.mjs +55 -0
- package/dist/components/connected-user/provider-general.d.mts +10 -0
- package/dist/components/connected-user/provider-general.mjs +38 -0
- package/dist/components/connected-user/provider.d.mts +9 -0
- package/dist/components/connected-user/provider.mjs +15 -0
- package/dist/components/footer/footer.d.mts +11 -0
- package/dist/components/footer/footer.mjs +222 -0
- package/dist/components/loading-icon.d.mts +9 -0
- package/dist/components/loading-icon.mjs +49 -0
- package/dist/components/navbar/account-menu.d.mts +15 -0
- package/dist/components/navbar/account-menu.mjs +48 -0
- package/dist/components/navbar/account-section.d.mts +14 -0
- package/dist/components/navbar/account-section.mjs +68 -0
- package/dist/components/navbar/account-widget-item.d.mts +12 -0
- package/dist/components/navbar/account-widget-item.mjs +21 -0
- package/dist/components/navbar/account-widget.d.mts +22 -0
- package/dist/components/navbar/account-widget.mjs +118 -0
- package/dist/components/navbar/index.d.mts +11 -0
- package/dist/components/navbar/index.mjs +10 -0
- package/dist/components/navbar/log-out.d.mts +7 -0
- package/dist/components/navbar/log-out.mjs +34 -0
- package/dist/components/navbar/navbar-menu.d.mts +12 -0
- package/dist/components/navbar/navbar-menu.mjs +57 -0
- package/dist/components/navbar/navbar.d.mts +25 -0
- package/dist/components/navbar/navbar.mjs +63 -0
- package/dist/components/navbar/solidarity-apps.d.mts +17 -0
- package/dist/components/navbar/solidarity-apps.mjs +167 -0
- package/dist/components/typography/Typography.d.mts +42 -0
- package/dist/components/typography/Typography.mjs +52 -0
- package/dist/components/typography/formatted-dec-num.d.mts +15 -0
- package/dist/components/typography/formatted-dec-num.mjs +40 -0
- package/dist/constansts/links.d.mts +26 -0
- package/dist/constansts/links.mjs +27 -0
- package/dist/constansts/tools.d.mts +23 -0
- package/dist/constansts/tools.mjs +52 -0
- package/dist/context/index.d.mts +5 -0
- package/dist/context/index.mjs +5 -0
- package/dist/context/lib.d.mts +31 -0
- package/dist/context/lib.mjs +33 -0
- package/dist/hooks/index.d.mts +4 -0
- package/dist/hooks/index.mjs +7 -0
- package/dist/hooks/use-auto-connect.d.mts +8 -0
- package/dist/hooks/use-auto-connect.mjs +39 -0
- package/dist/hooks/use-bread-balance.d.mts +13 -0
- package/dist/hooks/use-bread-balance.mjs +32 -0
- package/dist/hooks/use-copy-to-clipboard.d.mts +9 -0
- package/dist/hooks/use-copy-to-clipboard.mjs +26 -0
- package/dist/index.d.mts +33 -306
- package/dist/index.mjs +41 -1
- package/dist/interface/app.d.mts +3 -0
- package/dist/interface/app.mjs +0 -0
- package/dist/tailwind-preset.js +1 -0
- package/dist/theme.css +1 -0
- package/dist/utils/app.d.mts +19 -0
- package/dist/utils/app.mjs +21 -0
- package/dist/utils/cn.d.mts +5 -0
- package/dist/utils/cn.mjs +9 -0
- package/dist/utils/copy-to-clipboard.d.mts +3 -0
- package/dist/utils/copy-to-clipboard.mjs +10 -0
- package/dist/utils/cssValidation.d.mts +7 -0
- package/dist/utils/cssValidation.mjs +44 -0
- package/dist/utils/formatter.d.mts +3 -0
- package/dist/utils/formatter.mjs +13 -0
- package/dist/utils/index.d.mts +3 -0
- package/dist/utils/index.mjs +7 -0
- package/dist/utils/truncate-address.d.mts +3 -0
- package/dist/utils/truncate-address.mjs +5 -0
- package/package.json +10 -11
- package/tailwind-preset.js +1 -0
- package/theme.css +1 -0
- package/dist/index.d.ts +0 -306
- package/dist/index.js +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../chunk-FWCSY2DS.mjs";
|
|
3
|
+
import { useEffect, useState } from "react";
|
|
4
|
+
import { copyToClipboard } from "../utils/copy-to-clipboard.mjs";
|
|
5
|
+
const useCopyToClipboard = ({
|
|
6
|
+
textToCopy
|
|
7
|
+
}) => {
|
|
8
|
+
const [copied, setCopied] = useState(false);
|
|
9
|
+
const timer = void 0;
|
|
10
|
+
const copy = async () => {
|
|
11
|
+
await copyToClipboard(textToCopy);
|
|
12
|
+
setCopied(true);
|
|
13
|
+
setTimeout(() => {
|
|
14
|
+
setCopied(false);
|
|
15
|
+
}, 500);
|
|
16
|
+
};
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
return () => {
|
|
19
|
+
if (timer) clearTimeout(timer);
|
|
20
|
+
};
|
|
21
|
+
}, []);
|
|
22
|
+
return { copied, copy };
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
useCopyToClipboard
|
|
26
|
+
};
|
package/dist/index.d.mts
CHANGED
|
@@ -1,306 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
Link: ComponentType<LinkProps>;
|
|
35
|
-
children: ReactNode;
|
|
36
|
-
}>;
|
|
37
|
-
|
|
38
|
-
declare const useBreadBalance: ({ address }: {
|
|
39
|
-
address: Address;
|
|
40
|
-
}) => {
|
|
41
|
-
BREAD: string;
|
|
42
|
-
refetchBalance: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<bigint, viem.ReadContractErrorType>>;
|
|
43
|
-
isLoading: boolean;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
interface UseCopyToClipboardPayload {
|
|
47
|
-
textToCopy: string;
|
|
48
|
-
}
|
|
49
|
-
declare const useCopyToClipboard: ({ textToCopy, }: UseCopyToClipboardPayload) => {
|
|
50
|
-
copied: boolean;
|
|
51
|
-
copy: () => Promise<void>;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
interface LoginButtonPrivyProps {
|
|
55
|
-
app: App;
|
|
56
|
-
status: "CONNECTED" | "LOADING" | "UNSUPPORTED_CHAIN" | "NOT_CONNECTED";
|
|
57
|
-
label?: string;
|
|
58
|
-
rightIcon?: ReactNode;
|
|
59
|
-
isProd?: boolean;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
declare const LoginButton: ({ label, isProd, ...props }: LoginButtonPrivyProps) => react_jsx_runtime.JSX.Element;
|
|
63
|
-
|
|
64
|
-
interface CopyButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, UseCopyToClipboardPayload {
|
|
65
|
-
checkedIconSize?: number;
|
|
66
|
-
}
|
|
67
|
-
declare const CopyButtonIcon: ({ children, textToCopy, checkedIconSize, ...buttonProps }: CopyButtonProps) => react_jsx_runtime.JSX.Element;
|
|
68
|
-
|
|
69
|
-
interface ChipProps {
|
|
70
|
-
size?: "small" | "regular";
|
|
71
|
-
children: ReactNode;
|
|
72
|
-
icon?: boolean;
|
|
73
|
-
className?: string;
|
|
74
|
-
}
|
|
75
|
-
declare const Chip: ({ size, icon, className, children, }: ChipProps) => react_jsx_runtime.JSX.Element;
|
|
76
|
-
|
|
77
|
-
type TUserLoading = {
|
|
78
|
-
status: "LOADING";
|
|
79
|
-
};
|
|
80
|
-
type TUserNotConnected = {
|
|
81
|
-
status: "NOT_CONNECTED";
|
|
82
|
-
};
|
|
83
|
-
type TUserConnected = {
|
|
84
|
-
status: "CONNECTED" | "UNSUPPORTED_CHAIN";
|
|
85
|
-
address: Hex;
|
|
86
|
-
chain: Chain;
|
|
87
|
-
};
|
|
88
|
-
type TConnectedUserState = TUserLoading | TUserNotConnected | TUserConnected;
|
|
89
|
-
|
|
90
|
-
declare const useConnectedUser: () => {
|
|
91
|
-
user: TConnectedUserState;
|
|
92
|
-
isSafe: boolean;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
interface IConnectedUserProviderProps {
|
|
96
|
-
children: ReactNode;
|
|
97
|
-
isProd: boolean;
|
|
98
|
-
}
|
|
99
|
-
declare function ConnectedUserProvider({ isProd, children, }: IConnectedUserProviderProps): react_jsx_runtime.JSX.Element;
|
|
100
|
-
|
|
101
|
-
interface FooterProps {
|
|
102
|
-
className?: string;
|
|
103
|
-
topClassName?: string;
|
|
104
|
-
infoClassName?: string;
|
|
105
|
-
mode?: "colored" | "transparent";
|
|
106
|
-
}
|
|
107
|
-
declare function Footer({ className, topClassName, infoClassName, mode, }: FooterProps): react_jsx_runtime.JSX.Element;
|
|
108
|
-
|
|
109
|
-
type LiftedButtonColors = {
|
|
110
|
-
bg: string;
|
|
111
|
-
text: string;
|
|
112
|
-
hoverBg: string;
|
|
113
|
-
hoverText: string;
|
|
114
|
-
shadowBg: string;
|
|
115
|
-
};
|
|
116
|
-
type LiftedButtonPreset = keyof typeof LIFTED_BUTTON_PRESETS;
|
|
117
|
-
declare const LIFTED_BUTTON_PRESETS: {
|
|
118
|
-
primary: {
|
|
119
|
-
bg: string;
|
|
120
|
-
text: string;
|
|
121
|
-
hoverBg: string;
|
|
122
|
-
hoverText: string;
|
|
123
|
-
shadowBg: string;
|
|
124
|
-
};
|
|
125
|
-
secondary: {
|
|
126
|
-
bg: string;
|
|
127
|
-
text: string;
|
|
128
|
-
hoverBg: string;
|
|
129
|
-
hoverText: string;
|
|
130
|
-
shadowBg: string;
|
|
131
|
-
};
|
|
132
|
-
destructive: {
|
|
133
|
-
bg: string;
|
|
134
|
-
text: string;
|
|
135
|
-
hoverBg: string;
|
|
136
|
-
hoverText: string;
|
|
137
|
-
shadowBg: string;
|
|
138
|
-
};
|
|
139
|
-
positive: {
|
|
140
|
-
bg: string;
|
|
141
|
-
text: string;
|
|
142
|
-
hoverBg: string;
|
|
143
|
-
hoverText: string;
|
|
144
|
-
shadowBg: string;
|
|
145
|
-
};
|
|
146
|
-
stroke: {
|
|
147
|
-
bg: string;
|
|
148
|
-
text: string;
|
|
149
|
-
hoverBg: string;
|
|
150
|
-
hoverText: string;
|
|
151
|
-
shadowBg: string;
|
|
152
|
-
};
|
|
153
|
-
burn: {
|
|
154
|
-
bg: string;
|
|
155
|
-
text: string;
|
|
156
|
-
hoverBg: string;
|
|
157
|
-
hoverText: string;
|
|
158
|
-
shadowBg: string;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
type LiftedButtonProps = {
|
|
163
|
-
children: React$1.ReactNode;
|
|
164
|
-
leftIcon?: React$1.ReactNode;
|
|
165
|
-
rightIcon?: React$1.ReactNode;
|
|
166
|
-
disabled?: boolean;
|
|
167
|
-
preset?: LiftedButtonPreset;
|
|
168
|
-
colorOverrides?: Partial<LiftedButtonColors>;
|
|
169
|
-
offsetPx?: number;
|
|
170
|
-
durationMs?: number;
|
|
171
|
-
className?: string;
|
|
172
|
-
width?: "full" | "auto" | "mobile-full";
|
|
173
|
-
scrollTo?: string;
|
|
174
|
-
} & React$1.ComponentPropsWithoutRef<"button">;
|
|
175
|
-
/**
|
|
176
|
-
* LiftedButton — a square-edged button that floats up-left of a dark base layer.
|
|
177
|
-
* - Preset: Choose "primary" (default), "secondary", "destructive", or "positive"
|
|
178
|
-
* - ColorOverrides: Pass in a dict specifying manual colours
|
|
179
|
-
* - Hover: fades to alternate colors.
|
|
180
|
-
* - Active: depresses button and colors return to normal.
|
|
181
|
-
* - Transition duration defaults to 500ms.
|
|
182
|
-
* - Icons can be rendered on the right or left.
|
|
183
|
-
*/
|
|
184
|
-
declare function LiftedButton({ children, leftIcon, rightIcon, disabled, preset, colorOverrides, offsetPx, durationMs, className, type, width, scrollTo, ...rest }: LiftedButtonProps): react_jsx_runtime.JSX.Element;
|
|
185
|
-
|
|
186
|
-
declare const fontVariables: {
|
|
187
|
-
readonly breadDisplay: "--font-breadDisplay";
|
|
188
|
-
readonly breadBody: "--font-breadBody";
|
|
189
|
-
};
|
|
190
|
-
declare const Typography: React$1.FC<{
|
|
191
|
-
variant: "h1" | "h2" | "h3" | "h4" | "h5" | "body" | "caption";
|
|
192
|
-
children: React$1.ReactNode;
|
|
193
|
-
className?: string;
|
|
194
|
-
}>;
|
|
195
|
-
declare const Heading1: React$1.FC<{
|
|
196
|
-
children: React$1.ReactNode;
|
|
197
|
-
className?: string;
|
|
198
|
-
}>;
|
|
199
|
-
declare const Heading2: React$1.FC<{
|
|
200
|
-
children: React$1.ReactNode;
|
|
201
|
-
className?: string;
|
|
202
|
-
}>;
|
|
203
|
-
declare const Heading3: React$1.FC<{
|
|
204
|
-
children: React$1.ReactNode;
|
|
205
|
-
className?: string;
|
|
206
|
-
}>;
|
|
207
|
-
declare const Heading4: React$1.FC<{
|
|
208
|
-
children: React$1.ReactNode;
|
|
209
|
-
className?: string;
|
|
210
|
-
}>;
|
|
211
|
-
declare const Heading5: React$1.FC<{
|
|
212
|
-
children: React$1.ReactNode;
|
|
213
|
-
className?: string;
|
|
214
|
-
}>;
|
|
215
|
-
declare const Body: React$1.FC<{
|
|
216
|
-
children: React$1.ReactNode;
|
|
217
|
-
className?: string;
|
|
218
|
-
bold?: boolean;
|
|
219
|
-
}>;
|
|
220
|
-
declare const Caption: React$1.FC<{
|
|
221
|
-
children: React$1.ReactNode;
|
|
222
|
-
className?: string;
|
|
223
|
-
}>;
|
|
224
|
-
|
|
225
|
-
interface FormattedDecimalNumberProps {
|
|
226
|
-
value: number | string;
|
|
227
|
-
className?: string;
|
|
228
|
-
integralPartClassName?: string;
|
|
229
|
-
decimalPartClassName?: string;
|
|
230
|
-
withBreadIcon?: boolean;
|
|
231
|
-
breadIconClassName?: string;
|
|
232
|
-
breadSize?: number;
|
|
233
|
-
unit?: string;
|
|
234
|
-
}
|
|
235
|
-
declare function FormattedDecimalNumber({ value, className, integralPartClassName, decimalPartClassName, withBreadIcon, breadIconClassName, breadSize, unit, }: FormattedDecimalNumberProps): react_jsx_runtime.JSX.Element;
|
|
236
|
-
|
|
237
|
-
type LogoColor = "orange" | "blue" | "jade" | "white";
|
|
238
|
-
type LogoVariant = "square" | "line";
|
|
239
|
-
type LogoProps = {
|
|
240
|
-
/** Size of the logo in pixels. Defaults to 32px */
|
|
241
|
-
size?: number;
|
|
242
|
-
/** Additional CSS classes to apply to the logo */
|
|
243
|
-
className?: string;
|
|
244
|
-
/** Color variant of the logo: "orange" (default), "blue", "jade", or "white" */
|
|
245
|
-
color?: LogoColor;
|
|
246
|
-
/** Variant of the logo: "square" or "line" */
|
|
247
|
-
variant?: LogoVariant;
|
|
248
|
-
/** Optional text to display next to the logo */
|
|
249
|
-
text?: string;
|
|
250
|
-
} & React$1.ComponentPropsWithoutRef<"svg">;
|
|
251
|
-
/**
|
|
252
|
-
* Logo component that renders the Bread UI Kit logo SVG.
|
|
253
|
-
*
|
|
254
|
-
* @param size - Size of the logo in pixels (default: 32)
|
|
255
|
-
* @param className - Additional CSS classes
|
|
256
|
-
* @param color - Color variant: "orange" (default), "blue", "jade", or "white"
|
|
257
|
-
* @param variant - Variant of the logo: "square" or "line"
|
|
258
|
-
* @param text - Optional text to display next to the logo
|
|
259
|
-
*/
|
|
260
|
-
declare function Logo({ size, className, color, variant, text, ...rest }: LogoProps): react_jsx_runtime.JSX.Element | undefined;
|
|
261
|
-
|
|
262
|
-
interface NavSolidarityAppsProps {
|
|
263
|
-
current?: App;
|
|
264
|
-
className?: string;
|
|
265
|
-
showTitle?: boolean;
|
|
266
|
-
showSelected?: boolean;
|
|
267
|
-
rearranged?: boolean;
|
|
268
|
-
}
|
|
269
|
-
declare const NavSolidarityApps: ({ current, className, showTitle, showSelected, rearranged, }: NavSolidarityAppsProps) => react_jsx_runtime.JSX.Element;
|
|
270
|
-
declare const NavSolidarityAppsDesktop: ({ label, app, }: {
|
|
271
|
-
app: App;
|
|
272
|
-
label: string;
|
|
273
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
274
|
-
|
|
275
|
-
interface NavAccountDetailsProps {
|
|
276
|
-
userAddress: Address;
|
|
277
|
-
ensNameResult: UseEnsNameReturnType<GetEnsNameReturnType> | {
|
|
278
|
-
data: string | undefined;
|
|
279
|
-
isLoading: boolean;
|
|
280
|
-
isError: boolean;
|
|
281
|
-
};
|
|
282
|
-
className?: string;
|
|
283
|
-
app: App;
|
|
284
|
-
widgetItems?: ReactNode;
|
|
285
|
-
actionItems?: ReactNode;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
interface NavbarProps extends Pick<NavAccountDetailsProps, "widgetItems" | "actionItems"> {
|
|
289
|
-
app: App;
|
|
290
|
-
children: ReactNode;
|
|
291
|
-
className?: string;
|
|
292
|
-
}
|
|
293
|
-
declare function Navbar({ app, children, className, widgetItems, actionItems }: NavbarProps): react_jsx_runtime.JSX.Element;
|
|
294
|
-
|
|
295
|
-
declare const NavAccountWidgetItem: ({ I, label, children, appIconColor, }: {
|
|
296
|
-
I: Icon;
|
|
297
|
-
appIconColor: string;
|
|
298
|
-
label: string;
|
|
299
|
-
children: ReactNode;
|
|
300
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
301
|
-
|
|
302
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
303
|
-
|
|
304
|
-
declare function formatBalance(value: number, decimals?: number): string;
|
|
305
|
-
|
|
306
|
-
export { Body, BreadUIKitProvider, Caption, Chip, ConnectedUserProvider, CopyButtonIcon, Footer, FormattedDecimalNumber, Heading1, Heading2, Heading3, Heading4, Heading5, LiftedButton, type LiftedButtonProps, type LinkProps, LinkProvider, LoginButton, Logo, type LogoColor, type LogoProps, type LogoVariant, NavAccountWidgetItem, NavSolidarityApps, NavSolidarityAppsDesktop, Navbar, type TConnectedUserState, type TUserConnected, type TUserLoading, type TUserNotConnected, Typography, cn, fontVariables, formatBalance, useBreadBalance, useConnectedUser, useCopyToClipboard, useLinkComponent };
|
|
1
|
+
export { default as Chip } from './components/chip/chip.mjs';
|
|
2
|
+
export { NavSolidarityApps, NavSolidarityAppsDesktop } from './components/navbar/solidarity-apps.mjs';
|
|
3
|
+
export { Navbar } from './components/navbar/navbar.mjs';
|
|
4
|
+
export { default as NavAccountWidgetItem } from './components/navbar/account-widget-item.mjs';
|
|
5
|
+
export { default as Footer } from './components/footer/footer.mjs';
|
|
6
|
+
export { Body, Caption, Heading1, Heading2, Heading3, Heading4, Heading5, Typography, fontVariables } from './components/typography/Typography.mjs';
|
|
7
|
+
export { FormattedDecimalNumber } from './components/typography/formatted-dec-num.mjs';
|
|
8
|
+
export { default as Logo, LogoColor, LogoProps, LogoVariant } from './components/Logo/Logo.mjs';
|
|
9
|
+
export { LoadingIcon } from './components/loading-icon.mjs';
|
|
10
|
+
export { cn } from './utils/cn.mjs';
|
|
11
|
+
export { formatBalance } from './utils/formatter.mjs';
|
|
12
|
+
export { LoginButton } from './components/auth/login-button.mjs';
|
|
13
|
+
export { default as CopyButtonIcon } from './components/buttons/copy-icon.mjs';
|
|
14
|
+
export { default as Button } from './components/buttons/button.mjs';
|
|
15
|
+
export { useConnectedUser } from './components/connected-user/context.mjs';
|
|
16
|
+
export { ConnectedUserProvider } from './components/connected-user/provider.mjs';
|
|
17
|
+
export { TConnectedUserState, TUserConnected, TUserLoading, TUserNotConnected } from './components/connected-user/interface.mjs';
|
|
18
|
+
export { default as LiftedButton, LiftedButtonProps } from './components/LiftedButton/LiftedButton.mjs';
|
|
19
|
+
export { BreadUIKitProvider } from './context/lib.mjs';
|
|
20
|
+
export { useBreadBalance } from './hooks/use-bread-balance.mjs';
|
|
21
|
+
export { useCopyToClipboard } from './hooks/use-copy-to-clipboard.mjs';
|
|
22
|
+
import 'react/jsx-runtime';
|
|
23
|
+
import 'react';
|
|
24
|
+
import './interface/app.mjs';
|
|
25
|
+
import './components/navbar/account-widget.mjs';
|
|
26
|
+
import 'wagmi';
|
|
27
|
+
import '@wagmi/core';
|
|
28
|
+
import 'viem';
|
|
29
|
+
import '@phosphor-icons/react';
|
|
30
|
+
import 'clsx';
|
|
31
|
+
import './components/auth/login-button-privy.mjs';
|
|
32
|
+
import './components/LiftedButton/LiftedButtonPresets.mjs';
|
|
33
|
+
import '@tanstack/query-core';
|