@b3dotfun/sdk 0.1.2-alpha.0 → 0.1.2-alpha.2

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 (126) hide show
  1. package/dist/cjs/anyspend/react/components/AnySpend.d.ts +3 -0
  2. package/dist/cjs/anyspend/react/components/AnySpend.js +12 -6
  3. package/dist/cjs/anyspend/react/components/AnySpendCustomExactIn.d.ts +3 -0
  4. package/dist/cjs/anyspend/react/components/AnySpendCustomExactIn.js +10 -4
  5. package/dist/cjs/anyspend/react/components/AnySpendDeposit.d.ts +4 -1
  6. package/dist/cjs/anyspend/react/components/AnySpendDeposit.js +19 -4
  7. package/dist/cjs/anyspend/react/components/QRDeposit.d.ts +4 -1
  8. package/dist/cjs/anyspend/react/components/QRDeposit.js +12 -4
  9. package/dist/cjs/anyspend/react/components/common/CryptoPaySection.d.ts +3 -1
  10. package/dist/cjs/anyspend/react/components/common/CryptoPaySection.js +7 -5
  11. package/dist/cjs/anyspend/react/components/common/CryptoPaymentMethod.d.ts +3 -1
  12. package/dist/cjs/anyspend/react/components/common/CryptoPaymentMethod.js +4 -3
  13. package/dist/cjs/anyspend/react/components/common/CryptoReceiveSection.d.ts +3 -1
  14. package/dist/cjs/anyspend/react/components/common/CryptoReceiveSection.js +7 -6
  15. package/dist/cjs/anyspend/react/components/common/FeeDetailPanel.d.ts +3 -1
  16. package/dist/cjs/anyspend/react/components/common/FeeDetailPanel.js +15 -6
  17. package/dist/cjs/anyspend/react/components/common/FiatPaymentMethod.d.ts +3 -1
  18. package/dist/cjs/anyspend/react/components/common/FiatPaymentMethod.js +10 -6
  19. package/dist/cjs/anyspend/react/components/common/OrderDetails.d.ts +3 -0
  20. package/dist/cjs/anyspend/react/components/common/OrderDetails.js +7 -4
  21. package/dist/cjs/anyspend/react/components/common/OrderDetailsCollapsible.d.ts +2 -0
  22. package/dist/cjs/anyspend/react/components/common/OrderDetailsCollapsible.js +3 -2
  23. package/dist/cjs/anyspend/react/components/common/OrderHistory.js +2 -1
  24. package/dist/cjs/anyspend/react/components/common/PanelOnramp.d.ts +3 -1
  25. package/dist/cjs/anyspend/react/components/common/PanelOnramp.js +2 -2
  26. package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.d.ts +2 -0
  27. package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.js +20 -7
  28. package/dist/cjs/anyspend/react/components/common/PointsDetailPanel.d.ts +3 -1
  29. package/dist/cjs/anyspend/react/components/common/PointsDetailPanel.js +3 -2
  30. package/dist/cjs/anyspend/react/components/common/RecipientSelection.d.ts +6 -1
  31. package/dist/cjs/anyspend/react/components/common/RecipientSelection.js +5 -2
  32. package/dist/cjs/anyspend/react/components/common/TabSection.d.ts +3 -1
  33. package/dist/cjs/anyspend/react/components/common/TabSection.js +16 -7
  34. package/dist/cjs/anyspend/react/components/common/TransferCryptoDetails.d.ts +2 -0
  35. package/dist/cjs/anyspend/react/components/common/TransferCryptoDetails.js +3 -2
  36. package/dist/cjs/anyspend/react/components/common/WarningText.d.ts +8 -7
  37. package/dist/cjs/anyspend/react/components/common/WarningText.js +5 -6
  38. package/dist/cjs/anyspend/react/components/index.d.ts +1 -0
  39. package/dist/cjs/anyspend/react/components/types/classes.d.ts +390 -0
  40. package/dist/cjs/anyspend/react/components/types/classes.js +6 -0
  41. package/dist/cjs/global-account/react/stores/useModalStore.d.ts +3 -0
  42. package/dist/esm/anyspend/react/components/AnySpend.d.ts +3 -0
  43. package/dist/esm/anyspend/react/components/AnySpend.js +12 -6
  44. package/dist/esm/anyspend/react/components/AnySpendCustomExactIn.d.ts +3 -0
  45. package/dist/esm/anyspend/react/components/AnySpendCustomExactIn.js +10 -4
  46. package/dist/esm/anyspend/react/components/AnySpendDeposit.d.ts +4 -1
  47. package/dist/esm/anyspend/react/components/AnySpendDeposit.js +19 -4
  48. package/dist/esm/anyspend/react/components/QRDeposit.d.ts +4 -1
  49. package/dist/esm/anyspend/react/components/QRDeposit.js +12 -4
  50. package/dist/esm/anyspend/react/components/common/CryptoPaySection.d.ts +3 -1
  51. package/dist/esm/anyspend/react/components/common/CryptoPaySection.js +7 -5
  52. package/dist/esm/anyspend/react/components/common/CryptoPaymentMethod.d.ts +3 -1
  53. package/dist/esm/anyspend/react/components/common/CryptoPaymentMethod.js +4 -3
  54. package/dist/esm/anyspend/react/components/common/CryptoReceiveSection.d.ts +3 -1
  55. package/dist/esm/anyspend/react/components/common/CryptoReceiveSection.js +7 -6
  56. package/dist/esm/anyspend/react/components/common/FeeDetailPanel.d.ts +3 -1
  57. package/dist/esm/anyspend/react/components/common/FeeDetailPanel.js +15 -6
  58. package/dist/esm/anyspend/react/components/common/FiatPaymentMethod.d.ts +3 -1
  59. package/dist/esm/anyspend/react/components/common/FiatPaymentMethod.js +10 -6
  60. package/dist/esm/anyspend/react/components/common/OrderDetails.d.ts +3 -0
  61. package/dist/esm/anyspend/react/components/common/OrderDetails.js +7 -4
  62. package/dist/esm/anyspend/react/components/common/OrderDetailsCollapsible.d.ts +2 -0
  63. package/dist/esm/anyspend/react/components/common/OrderDetailsCollapsible.js +3 -2
  64. package/dist/esm/anyspend/react/components/common/OrderHistory.js +2 -1
  65. package/dist/esm/anyspend/react/components/common/PanelOnramp.d.ts +3 -1
  66. package/dist/esm/anyspend/react/components/common/PanelOnramp.js +2 -2
  67. package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.d.ts +2 -0
  68. package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.js +20 -7
  69. package/dist/esm/anyspend/react/components/common/PointsDetailPanel.d.ts +3 -1
  70. package/dist/esm/anyspend/react/components/common/PointsDetailPanel.js +3 -2
  71. package/dist/esm/anyspend/react/components/common/RecipientSelection.d.ts +6 -1
  72. package/dist/esm/anyspend/react/components/common/RecipientSelection.js +5 -2
  73. package/dist/esm/anyspend/react/components/common/TabSection.d.ts +3 -1
  74. package/dist/esm/anyspend/react/components/common/TabSection.js +16 -7
  75. package/dist/esm/anyspend/react/components/common/TransferCryptoDetails.d.ts +2 -0
  76. package/dist/esm/anyspend/react/components/common/TransferCryptoDetails.js +3 -2
  77. package/dist/esm/anyspend/react/components/common/WarningText.d.ts +8 -7
  78. package/dist/esm/anyspend/react/components/common/WarningText.js +5 -6
  79. package/dist/esm/anyspend/react/components/index.d.ts +1 -0
  80. package/dist/esm/anyspend/react/components/types/classes.d.ts +390 -0
  81. package/dist/esm/anyspend/react/components/types/classes.js +5 -0
  82. package/dist/esm/global-account/react/stores/useModalStore.d.ts +3 -0
  83. package/dist/types/anyspend/react/components/AnySpend.d.ts +3 -0
  84. package/dist/types/anyspend/react/components/AnySpendCustomExactIn.d.ts +3 -0
  85. package/dist/types/anyspend/react/components/AnySpendDeposit.d.ts +4 -1
  86. package/dist/types/anyspend/react/components/QRDeposit.d.ts +4 -1
  87. package/dist/types/anyspend/react/components/common/CryptoPaySection.d.ts +3 -1
  88. package/dist/types/anyspend/react/components/common/CryptoPaymentMethod.d.ts +3 -1
  89. package/dist/types/anyspend/react/components/common/CryptoReceiveSection.d.ts +3 -1
  90. package/dist/types/anyspend/react/components/common/FeeDetailPanel.d.ts +3 -1
  91. package/dist/types/anyspend/react/components/common/FiatPaymentMethod.d.ts +3 -1
  92. package/dist/types/anyspend/react/components/common/OrderDetails.d.ts +3 -0
  93. package/dist/types/anyspend/react/components/common/OrderDetailsCollapsible.d.ts +2 -0
  94. package/dist/types/anyspend/react/components/common/PanelOnramp.d.ts +3 -1
  95. package/dist/types/anyspend/react/components/common/PanelOnrampPayment.d.ts +2 -0
  96. package/dist/types/anyspend/react/components/common/PointsDetailPanel.d.ts +3 -1
  97. package/dist/types/anyspend/react/components/common/RecipientSelection.d.ts +6 -1
  98. package/dist/types/anyspend/react/components/common/TabSection.d.ts +3 -1
  99. package/dist/types/anyspend/react/components/common/TransferCryptoDetails.d.ts +2 -0
  100. package/dist/types/anyspend/react/components/common/WarningText.d.ts +8 -7
  101. package/dist/types/anyspend/react/components/index.d.ts +1 -0
  102. package/dist/types/anyspend/react/components/types/classes.d.ts +390 -0
  103. package/dist/types/global-account/react/stores/useModalStore.d.ts +3 -0
  104. package/package.json +1 -1
  105. package/src/anyspend/react/components/AnySpend.tsx +41 -20
  106. package/src/anyspend/react/components/AnySpendCustomExactIn.tsx +31 -13
  107. package/src/anyspend/react/components/AnySpendDeposit.tsx +171 -52
  108. package/src/anyspend/react/components/QRDeposit.tsx +91 -35
  109. package/src/anyspend/react/components/common/CryptoPaySection.tsx +31 -19
  110. package/src/anyspend/react/components/common/CryptoPaymentMethod.tsx +14 -4
  111. package/src/anyspend/react/components/common/CryptoReceiveSection.tsx +43 -23
  112. package/src/anyspend/react/components/common/FeeDetailPanel.tsx +53 -32
  113. package/src/anyspend/react/components/common/FiatPaymentMethod.tsx +26 -13
  114. package/src/anyspend/react/components/common/OrderDetails.tsx +16 -3
  115. package/src/anyspend/react/components/common/OrderDetailsCollapsible.tsx +5 -1
  116. package/src/anyspend/react/components/common/OrderHistory.tsx +2 -1
  117. package/src/anyspend/react/components/common/PanelOnramp.tsx +4 -1
  118. package/src/anyspend/react/components/common/PanelOnrampPayment.tsx +118 -40
  119. package/src/anyspend/react/components/common/PointsDetailPanel.tsx +28 -14
  120. package/src/anyspend/react/components/common/RecipientSelection.tsx +20 -5
  121. package/src/anyspend/react/components/common/TabSection.tsx +21 -12
  122. package/src/anyspend/react/components/common/TransferCryptoDetails.tsx +12 -4
  123. package/src/anyspend/react/components/common/WarningText.tsx +10 -10
  124. package/src/anyspend/react/components/index.ts +16 -0
  125. package/src/anyspend/react/components/types/classes.ts +476 -0
  126. package/src/global-account/react/stores/useModalStore.ts +3 -0
@@ -0,0 +1,390 @@
1
+ /**
2
+ * Classes prop types for AnySpend components customization.
3
+ * Use these to override default styling of specific elements.
4
+ */
5
+ /** Classes for AnySpendDeposit component */
6
+ export interface AnySpendDepositClasses {
7
+ root?: string;
8
+ chainSelection?: string;
9
+ form?: string;
10
+ formContent?: string;
11
+ closeButton?: string;
12
+ balanceContainer?: string;
13
+ balanceLabel?: string;
14
+ balanceValue?: string;
15
+ optionsContainer?: string;
16
+ chainsSkeleton?: string;
17
+ skeletonItem?: string;
18
+ chainsContainer?: string;
19
+ chainButton?: string;
20
+ chainContent?: string;
21
+ chainInfo?: string;
22
+ chainName?: string;
23
+ chainIcon?: string;
24
+ chainBalance?: string;
25
+ chainChevron?: string;
26
+ generalOptions?: string;
27
+ optionButton?: string;
28
+ cryptoButton?: string;
29
+ qrButton?: string;
30
+ fiatButton?: string;
31
+ optionContent?: string;
32
+ optionInfo?: string;
33
+ optionTitle?: string;
34
+ optionDescription?: string;
35
+ optionIcon?: string;
36
+ optionChevron?: string;
37
+ divider?: string;
38
+ dividerLine?: string;
39
+ dividerText?: string;
40
+ backButton?: string;
41
+ backIcon?: string;
42
+ backText?: string;
43
+ header?: string;
44
+ title?: string;
45
+ }
46
+ /** Classes for AnySpend component */
47
+ export interface AnySpendClasses {
48
+ root?: string;
49
+ container?: string;
50
+ header?: string;
51
+ headerLogo?: string;
52
+ headerTitle?: string;
53
+ tabSection?: string;
54
+ tabList?: string;
55
+ tabTrigger?: string;
56
+ tabTriggerActive?: string;
57
+ mainContent?: string;
58
+ inputSection?: string;
59
+ swapDirectionButton?: string;
60
+ mainButton?: string;
61
+ mainButtonDisabled?: string;
62
+ mainButtonError?: string;
63
+ historyButton?: string;
64
+ bottomNavigation?: string;
65
+ gasIndicator?: string;
66
+ }
67
+ /** Classes for AnySpendCustomExactIn component */
68
+ export interface AnySpendCustomExactInClasses {
69
+ root?: string;
70
+ container?: string;
71
+ header?: string;
72
+ headerTitle?: string;
73
+ headerDescription?: string;
74
+ contentArea?: string;
75
+ inputSection?: string;
76
+ swapDirectionButton?: string;
77
+ mainButton?: string;
78
+ mainButtonDisabled?: string;
79
+ mainButtonError?: string;
80
+ footer?: string;
81
+ gasIndicator?: string;
82
+ }
83
+ /** Classes for CryptoPaySection component */
84
+ export interface CryptoPaySectionClasses {
85
+ root?: string;
86
+ container?: string;
87
+ label?: string;
88
+ inputContainer?: string;
89
+ input?: string;
90
+ tokenSelector?: string;
91
+ tokenIcon?: string;
92
+ tokenSymbol?: string;
93
+ chainBadge?: string;
94
+ balanceRow?: string;
95
+ balanceLabel?: string;
96
+ balanceValue?: string;
97
+ maxButton?: string;
98
+ paymentMethodButton?: string;
99
+ feeRow?: string;
100
+ }
101
+ /** Classes for CryptoReceiveSection component */
102
+ export interface CryptoReceiveSectionClasses {
103
+ root?: string;
104
+ container?: string;
105
+ label?: string;
106
+ inputContainer?: string;
107
+ input?: string;
108
+ tokenSelector?: string;
109
+ tokenIcon?: string;
110
+ tokenSymbol?: string;
111
+ chainBadge?: string;
112
+ recipientRow?: string;
113
+ recipientLabel?: string;
114
+ recipientValue?: string;
115
+ recipientButton?: string;
116
+ pointsRow?: string;
117
+ feeRow?: string;
118
+ }
119
+ /** Classes for PanelOnramp component */
120
+ export interface PanelOnrampClasses {
121
+ root?: string;
122
+ container?: string;
123
+ amountInput?: string;
124
+ presetButtons?: string;
125
+ presetButton?: string;
126
+ paymentMethodRow?: string;
127
+ recipientRow?: string;
128
+ destinationRow?: string;
129
+ feeRow?: string;
130
+ pointsRow?: string;
131
+ }
132
+ /** Classes for OrderDetails component */
133
+ export interface OrderDetailsClasses {
134
+ root?: string;
135
+ container?: string;
136
+ header?: string;
137
+ statusBadge?: string;
138
+ statusPending?: string;
139
+ statusSuccess?: string;
140
+ statusFailed?: string;
141
+ amountSection?: string;
142
+ detailsSection?: string;
143
+ detailRow?: string;
144
+ detailLabel?: string;
145
+ detailValue?: string;
146
+ transactionLink?: string;
147
+ actionButton?: string;
148
+ backButton?: string;
149
+ returnButton?: string;
150
+ }
151
+ /** Classes for RecipientSelection component */
152
+ export interface RecipientSelectionClasses {
153
+ root?: string;
154
+ container?: string;
155
+ header?: string;
156
+ searchInput?: string;
157
+ recipientList?: string;
158
+ recipientItem?: string;
159
+ recipientItemActive?: string;
160
+ recipientAvatar?: string;
161
+ recipientName?: string;
162
+ recipientAddress?: string;
163
+ confirmButton?: string;
164
+ backButton?: string;
165
+ }
166
+ /** Classes for CryptoPaymentMethod component */
167
+ export interface CryptoPaymentMethodClasses {
168
+ root?: string;
169
+ container?: string;
170
+ header?: string;
171
+ optionsList?: string;
172
+ optionItem?: string;
173
+ optionItemActive?: string;
174
+ optionIcon?: string;
175
+ optionLabel?: string;
176
+ optionDescription?: string;
177
+ backButton?: string;
178
+ }
179
+ /** Classes for FiatPaymentMethod component */
180
+ export interface FiatPaymentMethodClasses {
181
+ root?: string;
182
+ container?: string;
183
+ header?: string;
184
+ optionsList?: string;
185
+ optionItem?: string;
186
+ optionItemActive?: string;
187
+ optionIcon?: string;
188
+ optionLabel?: string;
189
+ optionDescription?: string;
190
+ backButton?: string;
191
+ }
192
+ /** Classes for WarningText component */
193
+ export interface WarningTextClasses {
194
+ root?: string;
195
+ }
196
+ /** Classes for ChainWarningText component */
197
+ export interface ChainWarningTextClasses {
198
+ root?: string;
199
+ }
200
+ /** Classes for TabSection component */
201
+ export interface TabSectionClasses {
202
+ root?: string;
203
+ container?: string;
204
+ tabIndicator?: string;
205
+ tabButton?: string;
206
+ tabButtonActive?: string;
207
+ }
208
+ /** Classes for FeeDetailPanel component */
209
+ export interface FeeDetailPanelClasses {
210
+ root?: string;
211
+ container?: string;
212
+ title?: string;
213
+ tierCard?: string;
214
+ tierCardTitle?: string;
215
+ tierRow?: string;
216
+ tierRowActive?: string;
217
+ tierLabel?: string;
218
+ tierValue?: string;
219
+ expandButton?: string;
220
+ summaryCard?: string;
221
+ summaryRow?: string;
222
+ summaryLabel?: string;
223
+ summaryValue?: string;
224
+ summaryDivider?: string;
225
+ totalRow?: string;
226
+ totalLabel?: string;
227
+ totalValue?: string;
228
+ backButton?: string;
229
+ }
230
+ /** Classes for PointsDetailPanel component */
231
+ export interface PointsDetailPanelClasses {
232
+ root?: string;
233
+ container?: string;
234
+ title?: string;
235
+ description?: string;
236
+ highlightText?: string;
237
+ link?: string;
238
+ infoCard?: string;
239
+ infoCardTitle?: string;
240
+ infoList?: string;
241
+ infoListItem?: string;
242
+ backButton?: string;
243
+ }
244
+ /** Classes for PanelOnrampPayment component */
245
+ export interface PanelOnrampPaymentClasses {
246
+ root?: string;
247
+ container?: string;
248
+ summaryTitle?: string;
249
+ summaryCard?: string;
250
+ summaryRow?: string;
251
+ summaryLabel?: string;
252
+ summaryValue?: string;
253
+ summaryDivider?: string;
254
+ amountRow?: string;
255
+ amountValue?: string;
256
+ feeText?: string;
257
+ loadingContainer?: string;
258
+ loadingSpinner?: string;
259
+ loadingText?: string;
260
+ paymentMethodTitle?: string;
261
+ paymentMethodIcons?: string;
262
+ paymentOption?: string;
263
+ paymentOptionIcon?: string;
264
+ paymentOptionContent?: string;
265
+ paymentOptionTitle?: string;
266
+ paymentOptionDescription?: string;
267
+ paymentOptionFee?: string;
268
+ paymentOptionChevron?: string;
269
+ backButton?: string;
270
+ }
271
+ /** Classes for OrderDetailsCollapsible component */
272
+ export interface OrderDetailsCollapsibleClasses {
273
+ root?: string;
274
+ container?: string;
275
+ expandedContent?: string;
276
+ recipientSection?: string;
277
+ recipientLabel?: string;
278
+ recipientInfo?: string;
279
+ recipientName?: string;
280
+ recipientAddress?: string;
281
+ recipientCopyIcon?: string;
282
+ divider?: string;
283
+ expectedSection?: string;
284
+ expectedLabel?: string;
285
+ expectedValue?: string;
286
+ expectedAmount?: string;
287
+ chainInfo?: string;
288
+ chainText?: string;
289
+ chainLogo?: string;
290
+ pointsSection?: string;
291
+ pointsLabel?: string;
292
+ pointsValue?: string;
293
+ idSection?: string;
294
+ idLabel?: string;
295
+ idValue?: string;
296
+ collapsedContainer?: string;
297
+ collapsedButton?: string;
298
+ collapsedChevron?: string;
299
+ }
300
+ /** Classes for TransferCryptoDetails component */
301
+ export interface TransferCryptoDetailsClasses {
302
+ root?: string;
303
+ container?: string;
304
+ header?: string;
305
+ backButton?: string;
306
+ title?: string;
307
+ timer?: string;
308
+ timerSvg?: string;
309
+ timerBackground?: string;
310
+ timerProgress?: string;
311
+ timerText?: string;
312
+ cardsContainer?: string;
313
+ amountCard?: string;
314
+ amountLabel?: string;
315
+ amountContainer?: string;
316
+ amountText?: string;
317
+ amountCopyIcon?: string;
318
+ chainCard?: string;
319
+ chainLabel?: string;
320
+ chainContainer?: string;
321
+ chainLogo?: string;
322
+ chainName?: string;
323
+ qrDepositCard?: string;
324
+ qrSection?: string;
325
+ qrWrapper?: string;
326
+ qrContainer?: string;
327
+ qrCode?: string;
328
+ walletHint?: string;
329
+ walletText?: string;
330
+ walletIcon?: string;
331
+ addressSection?: string;
332
+ addressLabel?: string;
333
+ addressCopyContainer?: string;
334
+ addressText?: string;
335
+ addressCopyIcon?: string;
336
+ actionsContainer?: string;
337
+ copyButton?: string;
338
+ }
339
+ /** Classes for QRDeposit component */
340
+ export interface QRDepositClasses {
341
+ root?: string;
342
+ container?: string;
343
+ content?: string;
344
+ header?: string;
345
+ backButton?: string;
346
+ title?: string;
347
+ closeButton?: string;
348
+ tokenSelectorContainer?: string;
349
+ tokenSelectorLabel?: string;
350
+ tokenSelectorTrigger?: string;
351
+ qrContent?: string;
352
+ qrCodeContainer?: string;
353
+ qrCode?: string;
354
+ qrScanHint?: string;
355
+ addressContainer?: string;
356
+ addressLabel?: string;
357
+ addressRow?: string;
358
+ address?: string;
359
+ addressCopyIcon?: string;
360
+ watchingIndicator?: string;
361
+ copyButton?: string;
362
+ loadingContainer?: string;
363
+ loadingContent?: string;
364
+ loadingSpinner?: string;
365
+ loadingText?: string;
366
+ orderDetailsContainer?: string;
367
+ orderDetailsContent?: string;
368
+ }
369
+ /** Combined classes for all AnySpend-related components */
370
+ export interface AnySpendAllClasses {
371
+ deposit?: AnySpendDepositClasses;
372
+ anySpend?: AnySpendClasses;
373
+ customExactIn?: AnySpendCustomExactInClasses;
374
+ cryptoPaySection?: CryptoPaySectionClasses;
375
+ cryptoReceiveSection?: CryptoReceiveSectionClasses;
376
+ panelOnramp?: PanelOnrampClasses;
377
+ orderDetails?: OrderDetailsClasses;
378
+ recipientSelection?: RecipientSelectionClasses;
379
+ cryptoPaymentMethod?: CryptoPaymentMethodClasses;
380
+ fiatPaymentMethod?: FiatPaymentMethodClasses;
381
+ qrDeposit?: QRDepositClasses;
382
+ warningText?: WarningTextClasses;
383
+ chainWarningText?: ChainWarningTextClasses;
384
+ tabSection?: TabSectionClasses;
385
+ feeDetailPanel?: FeeDetailPanelClasses;
386
+ pointsDetailPanel?: PointsDetailPanelClasses;
387
+ panelOnrampPayment?: PanelOnrampPaymentClasses;
388
+ orderDetailsCollapsible?: OrderDetailsCollapsibleClasses;
389
+ transferCryptoDetails?: TransferCryptoDetailsClasses;
390
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Classes prop types for AnySpend components customization.
3
+ * Use these to override default styling of specific elements.
4
+ */
5
+ export {};
@@ -1,3 +1,4 @@
1
+ import { AnySpendAllClasses } from "../../../anyspend/react";
1
2
  import { components } from "../../../anyspend/types/api";
2
3
  import { GenerateSigMintResponse } from "../../../anyspend/types/signatureMint";
3
4
  import { AllowedStrategy } from "../../../global-account/react";
@@ -541,6 +542,8 @@ export interface AnySpendDepositModalProps extends BaseModalProps {
541
542
  returnHomeLabel?: string;
542
543
  /** Whether the deposit requires a custom function (uses AnySpendCustomExactIn). Defaults to false. */
543
544
  isCustomDeposit?: boolean;
545
+ /** Custom class names for styling specific elements */
546
+ classes?: AnySpendAllClasses;
544
547
  }
545
548
  /**
546
549
  * Union type of all possible modal content types
@@ -1,4 +1,5 @@
1
1
  import { components } from "../../types/api";
2
+ import type { AnySpendClasses } from "./types/classes";
2
3
  export interface RecipientOption {
3
4
  address: string;
4
5
  icon?: string;
@@ -45,4 +46,6 @@ export declare function AnySpend(props: {
45
46
  customRecipientLabel?: string;
46
47
  /** Custom label for the return home button (overrides "Return to Home" / "Close") */
47
48
  returnHomeLabel?: string;
49
+ /** Custom class names for styling specific elements */
50
+ classes?: AnySpendClasses;
48
51
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { components } from "@b3dotfun/sdk/anyspend/types/api";
2
2
  import { GetQuoteResponse } from "@b3dotfun/sdk/anyspend/types/api_req_res";
3
+ import type { AnySpendCustomExactInClasses } from "./types/classes";
3
4
  type CustomExactInConfig = {
4
5
  functionAbi: string;
5
6
  functionName: string;
@@ -38,6 +39,8 @@ export interface AnySpendCustomExactInProps {
38
39
  customRecipientLabel?: string;
39
40
  /** Custom label for the return home button (overrides "Return to Home" / "Close") */
40
41
  returnHomeLabel?: string;
42
+ /** Custom class names for styling specific elements */
43
+ classes?: AnySpendCustomExactInClasses;
41
44
  }
42
45
  export declare function AnySpendCustomExactIn(props: AnySpendCustomExactInProps): import("react/jsx-runtime").JSX.Element;
43
46
  export {};
@@ -1,5 +1,6 @@
1
1
  import { components } from "@b3dotfun/sdk/anyspend/types/api";
2
2
  import { GetQuoteResponse } from "@b3dotfun/sdk/anyspend/types/api_req_res";
3
+ import type { AnySpendAllClasses } from "./types/classes";
3
4
  export interface DepositContractConfig {
4
5
  /** Custom function ABI JSON string */
5
6
  functionAbi: string;
@@ -94,6 +95,8 @@ export interface AnySpendDepositProps {
94
95
  * Defaults to false.
95
96
  */
96
97
  isCustomDeposit?: boolean;
98
+ /** Custom class names for styling specific elements */
99
+ classes?: AnySpendAllClasses;
97
100
  }
98
101
  /**
99
102
  * A flexible deposit component that wraps AnySpendCustomExactIn with optional chain selection.
@@ -130,4 +133,4 @@ export interface AnySpendDepositProps {
130
133
  * onSuccess={(amount) => console.log(`Deposited ${amount}`)}
131
134
  * />
132
135
  */
133
- export declare function AnySpendDeposit({ loadOrder, mode, recipientAddress, paymentType: initialPaymentType, sourceTokenAddress, sourceTokenChainId: initialSourceChainId, destinationTokenAddress, destinationTokenChainId, onSuccess, onOpenCustomModal, mainFooter, onTokenSelect, customUsdInputValues, preferEoa, minDestinationAmount, header, orderType, depositContractConfig, showChainSelection, supportedChains, minPoolSize, topChainsCount, onClose, returnToHomeUrl, customRecipientLabel, returnHomeLabel, isCustomDeposit, }: AnySpendDepositProps): import("react/jsx-runtime").JSX.Element | null;
136
+ export declare function AnySpendDeposit({ loadOrder, mode, recipientAddress, paymentType: initialPaymentType, sourceTokenAddress, sourceTokenChainId: initialSourceChainId, destinationTokenAddress, destinationTokenChainId, onSuccess, onOpenCustomModal, mainFooter, onTokenSelect, customUsdInputValues, preferEoa, minDestinationAmount, header, orderType, depositContractConfig, showChainSelection, supportedChains, minPoolSize, topChainsCount, onClose, returnToHomeUrl, customRecipientLabel, returnHomeLabel, isCustomDeposit, classes, }: AnySpendDepositProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,5 +1,6 @@
1
1
  import { components } from "@b3dotfun/sdk/anyspend/types/api";
2
2
  import { DepositContractConfig } from "./AnySpendDeposit";
3
+ import type { QRDepositClasses } from "./types/classes";
3
4
  export interface QRDepositProps {
4
5
  /** Display mode */
5
6
  mode?: "modal" | "page";
@@ -25,6 +26,8 @@ export interface QRDepositProps {
25
26
  onOrderCreated?: (orderId: string) => void;
26
27
  /** Callback when deposit is completed */
27
28
  onSuccess?: (txHash?: string) => void;
29
+ /** Custom classes for styling */
30
+ classes?: QRDepositClasses;
28
31
  }
29
32
  /**
30
33
  * A component for displaying QR code deposit functionality.
@@ -40,4 +43,4 @@ export interface QRDepositProps {
40
43
  * onSuccess={(txHash) => console.log("Deposit complete:", txHash)}
41
44
  * />
42
45
  */
43
- export declare function QRDeposit({ mode, recipientAddress, sourceToken: sourceTokenProp, sourceChainId: sourceChainIdProp, destinationToken, destinationChainId, creatorAddress, depositContractConfig, onBack, onClose, onOrderCreated, onSuccess, }: QRDepositProps): import("react/jsx-runtime").JSX.Element;
46
+ export declare function QRDeposit({ mode, recipientAddress, sourceToken: sourceTokenProp, sourceChainId: sourceChainIdProp, destinationToken, destinationChainId, creatorAddress, depositContractConfig, onBack, onClose, onOrderCreated, onSuccess, classes, }: QRDepositProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { components } from "../../../types/api";
2
+ import type { CryptoPaySectionClasses } from "../types/classes";
2
3
  import { CryptoPaymentMethodType } from "./CryptoPaymentMethod";
3
4
  interface CryptoPaySectionProps {
4
5
  selectedSrcChainId: number;
@@ -16,6 +17,7 @@ interface CryptoPaySectionProps {
16
17
  preventDefault: () => void;
17
18
  }) => void;
18
19
  onShowFeeDetail?: () => void;
20
+ classes?: CryptoPaySectionClasses;
19
21
  }
20
- export declare function CryptoPaySection({ selectedSrcChainId, setSelectedSrcChainId, selectedSrcToken, setSelectedSrcToken, srcAmount, setSrcAmount, isSrcInputDirty, setIsSrcInputDirty, selectedCryptoPaymentMethod, onSelectCryptoPaymentMethod, anyspendQuote, onTokenSelect, onShowFeeDetail, }: CryptoPaySectionProps): import("react/jsx-runtime").JSX.Element;
22
+ export declare function CryptoPaySection({ selectedSrcChainId, setSelectedSrcChainId, selectedSrcToken, setSelectedSrcToken, srcAmount, setSrcAmount, isSrcInputDirty, setIsSrcInputDirty, selectedCryptoPaymentMethod, onSelectCryptoPaymentMethod, anyspendQuote, onTokenSelect, onShowFeeDetail, classes, }: CryptoPaySectionProps): import("react/jsx-runtime").JSX.Element;
21
23
  export {};
@@ -1,3 +1,4 @@
1
+ import type { CryptoPaymentMethodClasses } from "../types/classes";
1
2
  export declare enum CryptoPaymentMethodType {
2
3
  NONE = "none",
3
4
  CONNECT_WALLET = "connect_wallet",
@@ -10,6 +11,7 @@ interface CryptoPaymentMethodProps {
10
11
  isCreatingOrder: boolean;
11
12
  onBack: () => void;
12
13
  onSelectPaymentMethod: (method: CryptoPaymentMethodType) => void;
14
+ classes?: CryptoPaymentMethodClasses;
13
15
  }
14
- export declare function CryptoPaymentMethod({ selectedPaymentMethod, setSelectedPaymentMethod, isCreatingOrder, onBack, onSelectPaymentMethod, }: CryptoPaymentMethodProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function CryptoPaymentMethod({ selectedPaymentMethod, setSelectedPaymentMethod, isCreatingOrder, onBack, onSelectPaymentMethod, classes, }: CryptoPaymentMethodProps): import("react/jsx-runtime").JSX.Element;
15
17
  export {};
@@ -1,4 +1,5 @@
1
1
  import { components } from "../../../types/api";
2
+ import type { CryptoReceiveSectionClasses } from "../types/classes";
2
3
  interface CryptoReceiveSectionProps {
3
4
  isDepositMode?: boolean;
4
5
  isBuyMode?: boolean;
@@ -19,6 +20,7 @@ interface CryptoReceiveSectionProps {
19
20
  dstTokenLogoURI?: string;
20
21
  onShowPointsDetail?: () => void;
21
22
  onShowFeeDetail?: () => void;
23
+ classes?: CryptoReceiveSectionClasses;
22
24
  }
23
- export declare function CryptoReceiveSection({ isDepositMode, isBuyMode, effectiveRecipientAddress, recipientName, customRecipientLabel, onSelectRecipient, dstAmount, dstToken, selectedDstChainId, setSelectedDstChainId, setSelectedDstToken, isSrcInputDirty, onChangeDstAmount, anyspendQuote, dstTokenSymbol, dstTokenLogoURI, onShowPointsDetail, onShowFeeDetail, }: CryptoReceiveSectionProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function CryptoReceiveSection({ isDepositMode, isBuyMode, effectiveRecipientAddress, recipientName, customRecipientLabel, onSelectRecipient, dstAmount, dstToken, selectedDstChainId, setSelectedDstChainId, setSelectedDstToken, isSrcInputDirty, onChangeDstAmount, anyspendQuote, dstTokenSymbol, dstTokenLogoURI, onShowPointsDetail, onShowFeeDetail, classes, }: CryptoReceiveSectionProps): import("react/jsx-runtime").JSX.Element;
24
26
  export {};
@@ -1,8 +1,10 @@
1
1
  import { components } from "../../../types/api";
2
+ import type { FeeDetailPanelClasses } from "../types/classes";
2
3
  interface FeeDetailPanelProps {
3
4
  fee: components["schemas"]["Fee"];
4
5
  transactionAmountUsd?: number;
5
6
  onBack: () => void;
7
+ classes?: FeeDetailPanelClasses;
6
8
  }
7
- export declare function FeeDetailPanel({ fee, transactionAmountUsd, onBack }: FeeDetailPanelProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function FeeDetailPanel({ fee, transactionAmountUsd, onBack, classes }: FeeDetailPanelProps): import("react/jsx-runtime").JSX.Element;
8
10
  export {};
@@ -1,3 +1,4 @@
1
+ import type { FiatPaymentMethodClasses } from "../types/classes";
1
2
  export declare enum FiatPaymentMethod {
2
3
  NONE = "none",
3
4
  COINBASE_PAY = "coinbase_pay",
@@ -14,6 +15,7 @@ interface FiatPaymentMethodProps {
14
15
  onBack: () => void;
15
16
  onSelectPaymentMethod: (method: FiatPaymentMethod) => void;
16
17
  srcAmountOnRamp: string;
18
+ classes?: FiatPaymentMethodClasses;
17
19
  }
18
- export declare function FiatPaymentMethodComponent({ selectedPaymentMethod, setSelectedPaymentMethod, onBack, onSelectPaymentMethod, srcAmountOnRamp, }: FiatPaymentMethodProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function FiatPaymentMethodComponent({ selectedPaymentMethod, setSelectedPaymentMethod, onBack, onSelectPaymentMethod, srcAmountOnRamp, classes, }: FiatPaymentMethodProps): import("react/jsx-runtime").JSX.Element;
19
21
  export {};
@@ -1,4 +1,5 @@
1
1
  import { components } from "@b3dotfun/sdk/anyspend/types/api";
2
+ import type { OrderDetailsClasses } from "../types/classes";
2
3
  import { CryptoPaymentMethodType } from "./CryptoPaymentMethod";
3
4
  interface OrderDetailsProps {
4
5
  mode?: "modal" | "page";
@@ -17,6 +18,8 @@ interface OrderDetailsProps {
17
18
  returnToHomeUrl?: string;
18
19
  /** Custom label for the return home button (overrides "Return to Home" / "Close") */
19
20
  returnHomeLabel?: string;
21
+ /** Custom class names for styling specific elements */
22
+ classes?: OrderDetailsClasses;
20
23
  }
21
24
  export declare const OrderDetails: import("react").NamedExoticComponent<OrderDetailsProps>;
22
25
  export declare const OrderDetailsLoadingView: import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { components } from "@b3dotfun/sdk/anyspend/types/api";
2
+ import type { OrderDetailsCollapsibleClasses } from "../types/classes";
2
3
  type Order = components["schemas"]["Order"];
3
4
  type Token = components["schemas"]["Token"];
4
5
  type Tournament = components["schemas"]["Tournament"];
@@ -16,6 +17,7 @@ interface OrderDetailsCollapsibleProps {
16
17
  points?: number;
17
18
  isOpen?: boolean;
18
19
  onOpenChange?: (isOpen: boolean) => void;
20
+ classes?: OrderDetailsCollapsibleClasses;
19
21
  }
20
22
  export declare const OrderDetailsCollapsible: import("react").NamedExoticComponent<OrderDetailsCollapsibleProps>;
21
23
  export {};
@@ -1,7 +1,8 @@
1
1
  import { components } from "@b3dotfun/sdk/anyspend/types/api";
2
2
  import { GetQuoteResponse } from "@b3dotfun/sdk/anyspend/types/api_req_res";
3
3
  import { FiatPaymentMethod } from "./FiatPaymentMethod";
4
- export declare function PanelOnramp({ srcAmountOnRamp, setSrcAmountOnRamp, selectedPaymentMethod, setActivePanel, _recipientAddress, destinationToken, destinationChainId, destinationAmount, onDestinationTokenChange, onDestinationChainChange, fiatPaymentMethodIndex, recipientSelectionPanelIndex, dstTokenSymbol, hideDstToken, anyspendQuote, onShowPointsDetail, onShowFeeDetail, customUsdInputValues, customRecipientLabel, }: {
4
+ import type { PanelOnrampClasses } from "../types/classes";
5
+ export declare function PanelOnramp({ srcAmountOnRamp, setSrcAmountOnRamp, selectedPaymentMethod, setActivePanel, _recipientAddress, destinationToken, destinationChainId, destinationAmount, onDestinationTokenChange, onDestinationChainChange, fiatPaymentMethodIndex, recipientSelectionPanelIndex, dstTokenSymbol, hideDstToken, anyspendQuote, onShowPointsDetail, onShowFeeDetail, customUsdInputValues, customRecipientLabel, classes, }: {
5
6
  srcAmountOnRamp: string;
6
7
  setSrcAmountOnRamp: (amount: string) => void;
7
8
  selectedPaymentMethod?: FiatPaymentMethod;
@@ -22,4 +23,5 @@ export declare function PanelOnramp({ srcAmountOnRamp, setSrcAmountOnRamp, selec
22
23
  customUsdInputValues?: string[];
23
24
  /** Custom label for recipient display (overrides recipientName) */
24
25
  customRecipientLabel?: string;
26
+ classes?: PanelOnrampClasses;
25
27
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { components } from "@b3dotfun/sdk/anyspend/types/api";
2
2
  import { GetQuoteResponse } from "@b3dotfun/sdk/anyspend/types/api_req_res";
3
+ import type { PanelOnrampPaymentClasses } from "../types/classes";
3
4
  interface PanelOnrampPaymentProps {
4
5
  srcAmountOnRamp: string;
5
6
  recipientName?: string;
@@ -24,6 +25,7 @@ interface PanelOnrampPaymentProps {
24
25
  payload?: any;
25
26
  recipientEnsName?: string;
26
27
  recipientImageUrl?: string;
28
+ classes?: PanelOnrampPaymentClasses;
27
29
  }
28
30
  export declare function PanelOnrampPayment(props: PanelOnrampPaymentProps): import("react/jsx-runtime").JSX.Element;
29
31
  export {};
@@ -1,6 +1,8 @@
1
+ import type { PointsDetailPanelClasses } from "../types/classes";
1
2
  interface PointsDetailPanelProps {
2
3
  pointsAmount?: number;
3
4
  onBack: () => void;
5
+ classes?: PointsDetailPanelClasses;
4
6
  }
5
- export declare function PointsDetailPanel({ pointsAmount, onBack }: PointsDetailPanelProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function PointsDetailPanel({ pointsAmount, onBack, classes }: PointsDetailPanelProps): import("react/jsx-runtime").JSX.Element;
6
8
  export {};
@@ -1,3 +1,4 @@
1
+ import type { RecipientSelectionClasses } from "../types/classes";
1
2
  export interface RecipientSelectionProps {
2
3
  /**
3
4
  * Initial recipient address value
@@ -38,5 +39,9 @@ export interface RecipientSelectionProps {
38
39
  * @returns true if valid, false otherwise
39
40
  */
40
41
  validateAddress?: (address: string) => boolean;
42
+ /**
43
+ * Custom classes for styling
44
+ */
45
+ classes?: RecipientSelectionClasses;
41
46
  }
42
- export declare function RecipientSelection({ initialValue, placeholder, title, description, confirmText, onBack, onConfirm, autoFocus, validateAddress, }: RecipientSelectionProps): import("react/jsx-runtime").JSX.Element;
47
+ export declare function RecipientSelection({ initialValue, placeholder, title, description, confirmText, onBack, onConfirm, autoFocus, validateAddress, classes, }: RecipientSelectionProps): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,12 @@
1
1
  import { CryptoPaymentMethodType } from "./CryptoPaymentMethod";
2
2
  import { FiatPaymentMethod } from "./FiatPaymentMethod";
3
+ import type { TabSectionClasses } from "../types/classes";
3
4
  interface TabSectionProps {
4
5
  activeTab: "crypto" | "fiat";
5
6
  setActiveTab: (tab: "crypto" | "fiat") => void;
6
7
  setSelectedCryptoPaymentMethod: (method: CryptoPaymentMethodType) => void;
7
8
  setSelectedFiatPaymentMethod: (method: FiatPaymentMethod) => void;
9
+ classes?: TabSectionClasses;
8
10
  }
9
- export declare function TabSection({ activeTab, setActiveTab, setSelectedCryptoPaymentMethod, setSelectedFiatPaymentMethod, }: TabSectionProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function TabSection({ activeTab, setActiveTab, setSelectedCryptoPaymentMethod, setSelectedFiatPaymentMethod, classes, }: TabSectionProps): import("react/jsx-runtime").JSX.Element;
10
12
  export {};