@solvapay/react 1.0.9-preview.1 → 1.0.9
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/CHANGELOG.md +209 -0
- package/CONTRIBUTING.md +117 -0
- package/README.md +426 -24
- package/dist/adapters/auth.d.cts +13 -0
- package/dist/adapters/auth.d.ts +13 -0
- package/dist/adapters/auth.js +1 -0
- package/dist/chunk-37R5NZGF.js +4824 -0
- package/dist/chunk-HWVJL5X6.js +429 -0
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/chunk-R2ZPZ7VM.js +597 -0
- package/dist/chunk-ZAV7CQ4G.js +361 -0
- package/dist/index-WBjulQHf.d.cts +3656 -0
- package/dist/index-onWNU7iT.d.ts +3656 -0
- package/dist/index.cjs +5556 -1143
- package/dist/index.d.cts +618 -708
- package/dist/index.d.ts +618 -708
- package/dist/index.js +597 -1664
- package/dist/mcp/index.cjs +8096 -0
- package/dist/mcp/index.d.cts +1013 -0
- package/dist/mcp/index.d.ts +1013 -0
- package/dist/mcp/index.js +2724 -0
- package/dist/mcp/styles.css +1020 -0
- package/dist/primitives/index.cjs +5316 -0
- package/dist/primitives/index.d.cts +721 -0
- package/dist/primitives/index.d.ts +721 -0
- package/dist/primitives/index.js +232 -0
- package/dist/styles.css +1115 -0
- package/dist/useUsage-BmOYXxgG.d.cts +413 -0
- package/dist/useUsage-nD7zwSbG.d.ts +413 -0
- package/dist/webapi-K5XBCEO6.js +3775 -0
- package/package.json +37 -6
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ActivationFlow,
|
|
3
|
+
ActivationFlowActivateButton,
|
|
4
|
+
ActivationFlowActivated,
|
|
5
|
+
ActivationFlowAmountPicker,
|
|
6
|
+
ActivationFlowContinueButton,
|
|
7
|
+
ActivationFlowError,
|
|
8
|
+
ActivationFlowLoading,
|
|
9
|
+
ActivationFlowRetrying,
|
|
10
|
+
ActivationFlowRoot,
|
|
11
|
+
ActivationFlowSummary,
|
|
12
|
+
CreditGate,
|
|
13
|
+
CreditGateError,
|
|
14
|
+
CreditGateHeading,
|
|
15
|
+
CreditGateLoading,
|
|
16
|
+
CreditGateRoot,
|
|
17
|
+
CreditGateSubheading,
|
|
18
|
+
CreditGateTopup,
|
|
19
|
+
PlanBadge,
|
|
20
|
+
ProductBadge,
|
|
21
|
+
PurchaseGate,
|
|
22
|
+
PurchaseGateAllowed,
|
|
23
|
+
PurchaseGateBlocked,
|
|
24
|
+
PurchaseGateError,
|
|
25
|
+
PurchaseGateLoading,
|
|
26
|
+
PurchaseGateRoot,
|
|
27
|
+
useActivationFlow,
|
|
28
|
+
useCreditGate,
|
|
29
|
+
usePurchaseGate
|
|
30
|
+
} from "../chunk-R2ZPZ7VM.js";
|
|
31
|
+
import {
|
|
32
|
+
Balance,
|
|
33
|
+
EmbeddedCheckout,
|
|
34
|
+
Heading,
|
|
35
|
+
HostedCheckoutLink,
|
|
36
|
+
Message,
|
|
37
|
+
PaywallNotice,
|
|
38
|
+
Plans,
|
|
39
|
+
ProductContext,
|
|
40
|
+
Retry,
|
|
41
|
+
Root as Root2,
|
|
42
|
+
usePaywallNotice
|
|
43
|
+
} from "../chunk-ZAV7CQ4G.js";
|
|
44
|
+
import {
|
|
45
|
+
AmountPicker,
|
|
46
|
+
AmountPickerConfirm,
|
|
47
|
+
AmountPickerCustom,
|
|
48
|
+
AmountPickerOption,
|
|
49
|
+
AmountPickerRoot,
|
|
50
|
+
BalanceBadge,
|
|
51
|
+
Bar,
|
|
52
|
+
CancelPlanButton,
|
|
53
|
+
CancelledPlanNotice,
|
|
54
|
+
CancelledPlanNoticeAccessUntil,
|
|
55
|
+
CancelledPlanNoticeCancelledOn,
|
|
56
|
+
CancelledPlanNoticeDaysRemaining,
|
|
57
|
+
CancelledPlanNoticeExpires,
|
|
58
|
+
CancelledPlanNoticeHeading,
|
|
59
|
+
CancelledPlanNoticeReactivateButton,
|
|
60
|
+
CancelledPlanNoticeReason,
|
|
61
|
+
CancelledPlanNoticeRoot,
|
|
62
|
+
CheckoutSummary,
|
|
63
|
+
CheckoutSummaryPlan,
|
|
64
|
+
CheckoutSummaryPrice,
|
|
65
|
+
CheckoutSummaryProduct,
|
|
66
|
+
CheckoutSummaryRoot,
|
|
67
|
+
CheckoutSummaryTaxNote,
|
|
68
|
+
CheckoutSummaryTrial,
|
|
69
|
+
Empty,
|
|
70
|
+
Label,
|
|
71
|
+
Loading,
|
|
72
|
+
MandateText,
|
|
73
|
+
PaymentForm,
|
|
74
|
+
PaymentFormCardElement,
|
|
75
|
+
PaymentFormCustomerFields,
|
|
76
|
+
PaymentFormError,
|
|
77
|
+
PaymentFormLoading,
|
|
78
|
+
PaymentFormMandateText,
|
|
79
|
+
PaymentFormPaymentElement,
|
|
80
|
+
PaymentFormRoot,
|
|
81
|
+
PaymentFormSubmitButton,
|
|
82
|
+
PaymentFormSummary,
|
|
83
|
+
PaymentFormTermsCheckbox,
|
|
84
|
+
Percentage,
|
|
85
|
+
PlanSelector,
|
|
86
|
+
PlanSelectorCard,
|
|
87
|
+
PlanSelectorCardBadge,
|
|
88
|
+
PlanSelectorCardInterval,
|
|
89
|
+
PlanSelectorCardName,
|
|
90
|
+
PlanSelectorCardPrice,
|
|
91
|
+
PlanSelectorError,
|
|
92
|
+
PlanSelectorGrid,
|
|
93
|
+
PlanSelectorHeading,
|
|
94
|
+
PlanSelectorLoading,
|
|
95
|
+
PlanSelectorRoot,
|
|
96
|
+
ResetsIn,
|
|
97
|
+
Root,
|
|
98
|
+
Slot,
|
|
99
|
+
Slottable,
|
|
100
|
+
TopupForm,
|
|
101
|
+
TopupFormError,
|
|
102
|
+
TopupFormLoading,
|
|
103
|
+
TopupFormPaymentElement,
|
|
104
|
+
TopupFormRoot,
|
|
105
|
+
TopupFormSubmitButton,
|
|
106
|
+
UsageMeter,
|
|
107
|
+
composeEventHandlers,
|
|
108
|
+
composeRefs,
|
|
109
|
+
setRef,
|
|
110
|
+
useAmountPicker,
|
|
111
|
+
useAmountPickerCopy,
|
|
112
|
+
useCancelledPlanNotice,
|
|
113
|
+
useCheckoutSummary,
|
|
114
|
+
usePlanSelector,
|
|
115
|
+
useTopupForm,
|
|
116
|
+
useUsageMeter
|
|
117
|
+
} from "../chunk-37R5NZGF.js";
|
|
118
|
+
import "../chunk-OUSEQRCT.js";
|
|
119
|
+
import "../chunk-MLKGABMK.js";
|
|
120
|
+
export {
|
|
121
|
+
ActivationFlow,
|
|
122
|
+
ActivationFlowActivateButton,
|
|
123
|
+
ActivationFlowActivated,
|
|
124
|
+
ActivationFlowAmountPicker,
|
|
125
|
+
ActivationFlowContinueButton,
|
|
126
|
+
ActivationFlowError,
|
|
127
|
+
ActivationFlowLoading,
|
|
128
|
+
ActivationFlowRetrying,
|
|
129
|
+
ActivationFlowRoot,
|
|
130
|
+
ActivationFlowSummary,
|
|
131
|
+
AmountPicker,
|
|
132
|
+
AmountPickerConfirm,
|
|
133
|
+
AmountPickerCustom,
|
|
134
|
+
AmountPickerOption,
|
|
135
|
+
AmountPickerRoot,
|
|
136
|
+
BalanceBadge,
|
|
137
|
+
CancelPlanButton,
|
|
138
|
+
CancelledPlanNotice,
|
|
139
|
+
CancelledPlanNoticeAccessUntil,
|
|
140
|
+
CancelledPlanNoticeCancelledOn,
|
|
141
|
+
CancelledPlanNoticeDaysRemaining,
|
|
142
|
+
CancelledPlanNoticeExpires,
|
|
143
|
+
CancelledPlanNoticeHeading,
|
|
144
|
+
CancelledPlanNoticeReactivateButton,
|
|
145
|
+
CancelledPlanNoticeReason,
|
|
146
|
+
CancelledPlanNoticeRoot,
|
|
147
|
+
CheckoutSummary,
|
|
148
|
+
CheckoutSummaryPlan,
|
|
149
|
+
CheckoutSummaryPrice,
|
|
150
|
+
CheckoutSummaryProduct,
|
|
151
|
+
CheckoutSummaryRoot,
|
|
152
|
+
CheckoutSummaryTaxNote,
|
|
153
|
+
CheckoutSummaryTrial,
|
|
154
|
+
CreditGate,
|
|
155
|
+
CreditGateError,
|
|
156
|
+
CreditGateHeading,
|
|
157
|
+
CreditGateLoading,
|
|
158
|
+
CreditGateRoot,
|
|
159
|
+
CreditGateSubheading,
|
|
160
|
+
CreditGateTopup,
|
|
161
|
+
MandateText,
|
|
162
|
+
PaymentForm,
|
|
163
|
+
PaymentFormCardElement,
|
|
164
|
+
PaymentFormCustomerFields,
|
|
165
|
+
PaymentFormError,
|
|
166
|
+
PaymentFormLoading,
|
|
167
|
+
PaymentFormMandateText,
|
|
168
|
+
PaymentFormPaymentElement,
|
|
169
|
+
PaymentFormRoot,
|
|
170
|
+
PaymentFormSubmitButton,
|
|
171
|
+
PaymentFormSummary,
|
|
172
|
+
PaymentFormTermsCheckbox,
|
|
173
|
+
PaywallNotice,
|
|
174
|
+
Balance as PaywallNoticeBalance,
|
|
175
|
+
EmbeddedCheckout as PaywallNoticeEmbeddedCheckout,
|
|
176
|
+
Heading as PaywallNoticeHeading,
|
|
177
|
+
HostedCheckoutLink as PaywallNoticeHostedCheckoutLink,
|
|
178
|
+
Message as PaywallNoticeMessage,
|
|
179
|
+
Plans as PaywallNoticePlans,
|
|
180
|
+
ProductContext as PaywallNoticeProductContext,
|
|
181
|
+
Retry as PaywallNoticeRetry,
|
|
182
|
+
Root2 as PaywallNoticeRoot,
|
|
183
|
+
PlanBadge,
|
|
184
|
+
PlanSelector,
|
|
185
|
+
PlanSelectorCard,
|
|
186
|
+
PlanSelectorCardBadge,
|
|
187
|
+
PlanSelectorCardInterval,
|
|
188
|
+
PlanSelectorCardName,
|
|
189
|
+
PlanSelectorCardPrice,
|
|
190
|
+
PlanSelectorError,
|
|
191
|
+
PlanSelectorGrid,
|
|
192
|
+
PlanSelectorHeading,
|
|
193
|
+
PlanSelectorLoading,
|
|
194
|
+
PlanSelectorRoot,
|
|
195
|
+
ProductBadge,
|
|
196
|
+
PurchaseGate,
|
|
197
|
+
PurchaseGateAllowed,
|
|
198
|
+
PurchaseGateBlocked,
|
|
199
|
+
PurchaseGateError,
|
|
200
|
+
PurchaseGateLoading,
|
|
201
|
+
PurchaseGateRoot,
|
|
202
|
+
Slot,
|
|
203
|
+
Slottable,
|
|
204
|
+
TopupForm,
|
|
205
|
+
TopupFormError,
|
|
206
|
+
TopupFormLoading,
|
|
207
|
+
TopupFormPaymentElement,
|
|
208
|
+
TopupFormRoot,
|
|
209
|
+
TopupFormSubmitButton,
|
|
210
|
+
UsageMeter,
|
|
211
|
+
Bar as UsageMeterBar,
|
|
212
|
+
Empty as UsageMeterEmpty,
|
|
213
|
+
Label as UsageMeterLabel,
|
|
214
|
+
Loading as UsageMeterLoading,
|
|
215
|
+
Percentage as UsageMeterPercentage,
|
|
216
|
+
ResetsIn as UsageMeterResetsIn,
|
|
217
|
+
Root as UsageMeterRoot,
|
|
218
|
+
composeEventHandlers,
|
|
219
|
+
composeRefs,
|
|
220
|
+
setRef,
|
|
221
|
+
useActivationFlow,
|
|
222
|
+
useAmountPicker,
|
|
223
|
+
useAmountPickerCopy,
|
|
224
|
+
useCancelledPlanNotice,
|
|
225
|
+
useCheckoutSummary,
|
|
226
|
+
useCreditGate,
|
|
227
|
+
usePaywallNotice,
|
|
228
|
+
usePlanSelector,
|
|
229
|
+
usePurchaseGate,
|
|
230
|
+
useTopupForm,
|
|
231
|
+
useUsageMeter
|
|
232
|
+
};
|