@betterstore/react 0.6.6 → 0.6.8
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/components/checkout-embed/appearance.d.ts +0 -4
- package/dist/components/checkout-embed/appearance.d.ts.map +1 -1
- package/dist/components/checkout-embed/checkout-schema.d.ts +18 -18
- package/dist/components/checkout-embed/index.d.ts.map +1 -1
- package/dist/components/compounds/form/address-input/index.d.ts.map +1 -1
- package/dist/index.cjs.js +15298 -15340
- package/dist/index.mjs +15298 -15340
- package/package.json +5 -6
|
@@ -26,9 +26,5 @@ export type AppearanceConfig = {
|
|
|
26
26
|
popoverForeground?: string;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
export default function Appearance({ appearance, fonts, }: {
|
|
30
|
-
appearance?: AppearanceConfig;
|
|
31
|
-
fonts?: Fonts;
|
|
32
|
-
}): null;
|
|
33
29
|
export declare const convertCheckoutAppearanceToStripeAppearance: (appearance?: AppearanceConfig, fonts?: Fonts) => StripeAppearance;
|
|
34
30
|
//# sourceMappingURL=appearance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appearance.d.ts","sourceRoot":"","sources":["../../../src/components/checkout-embed/appearance.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,IAAI,gBAAgB,EAC9B,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"appearance.d.ts","sourceRoot":"","sources":["../../../src/components/checkout-embed/appearance.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,IAAI,gBAAgB,EAC9B,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAG3B,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AACtC,MAAM,MAAM,KAAK,GAAG,qBAAqB,CAAC,OAAO,CAAC,CAAC;AACnD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE;QACP,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;KAC5B,CAAC;CACH,CAAC;AA0GF,eAAO,MAAM,2CAA2C,GACtD,aAAa,gBAAgB,EAC7B,QAAQ,KAAK,KACZ,gBAqEF,CAAC"}
|
|
@@ -37,6 +37,9 @@ export declare const customerSchema: z.ZodObject<{
|
|
|
37
37
|
phone: z.ZodString;
|
|
38
38
|
isEmailSubscribed: z.ZodOptional<z.ZodBoolean>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
email: string;
|
|
41
|
+
firstName: string;
|
|
42
|
+
lastName: string;
|
|
40
43
|
address: {
|
|
41
44
|
line1: string;
|
|
42
45
|
line2: string | null;
|
|
@@ -48,12 +51,12 @@ export declare const customerSchema: z.ZodObject<{
|
|
|
48
51
|
countryCode: string;
|
|
49
52
|
company: string | null;
|
|
50
53
|
};
|
|
51
|
-
email: string;
|
|
52
|
-
firstName: string;
|
|
53
|
-
lastName: string;
|
|
54
54
|
phone: string;
|
|
55
55
|
isEmailSubscribed?: boolean | undefined;
|
|
56
56
|
}, {
|
|
57
|
+
email: string;
|
|
58
|
+
firstName: string;
|
|
59
|
+
lastName: string;
|
|
57
60
|
address: {
|
|
58
61
|
line1: string;
|
|
59
62
|
line2: string | null;
|
|
@@ -65,9 +68,6 @@ export declare const customerSchema: z.ZodObject<{
|
|
|
65
68
|
countryCode: string;
|
|
66
69
|
company: string | null;
|
|
67
70
|
};
|
|
68
|
-
email: string;
|
|
69
|
-
firstName: string;
|
|
70
|
-
lastName: string;
|
|
71
71
|
phone: string;
|
|
72
72
|
isEmailSubscribed?: boolean | undefined;
|
|
73
73
|
}>;
|
|
@@ -146,6 +146,9 @@ export declare const checkoutSchema: z.ZodObject<{
|
|
|
146
146
|
phone: z.ZodString;
|
|
147
147
|
isEmailSubscribed: z.ZodOptional<z.ZodBoolean>;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
|
+
email: string;
|
|
150
|
+
firstName: string;
|
|
151
|
+
lastName: string;
|
|
149
152
|
address: {
|
|
150
153
|
line1: string;
|
|
151
154
|
line2: string | null;
|
|
@@ -157,12 +160,12 @@ export declare const checkoutSchema: z.ZodObject<{
|
|
|
157
160
|
countryCode: string;
|
|
158
161
|
company: string | null;
|
|
159
162
|
};
|
|
160
|
-
email: string;
|
|
161
|
-
firstName: string;
|
|
162
|
-
lastName: string;
|
|
163
163
|
phone: string;
|
|
164
164
|
isEmailSubscribed?: boolean | undefined;
|
|
165
165
|
}, {
|
|
166
|
+
email: string;
|
|
167
|
+
firstName: string;
|
|
168
|
+
lastName: string;
|
|
166
169
|
address: {
|
|
167
170
|
line1: string;
|
|
168
171
|
line2: string | null;
|
|
@@ -174,9 +177,6 @@ export declare const checkoutSchema: z.ZodObject<{
|
|
|
174
177
|
countryCode: string;
|
|
175
178
|
company: string | null;
|
|
176
179
|
};
|
|
177
|
-
email: string;
|
|
178
|
-
firstName: string;
|
|
179
|
-
lastName: string;
|
|
180
180
|
phone: string;
|
|
181
181
|
isEmailSubscribed?: boolean | undefined;
|
|
182
182
|
}>;
|
|
@@ -219,6 +219,9 @@ export declare const checkoutSchema: z.ZodObject<{
|
|
|
219
219
|
customerId: z.ZodOptional<z.ZodString>;
|
|
220
220
|
}, "strip", z.ZodTypeAny, {
|
|
221
221
|
customer: {
|
|
222
|
+
email: string;
|
|
223
|
+
firstName: string;
|
|
224
|
+
lastName: string;
|
|
222
225
|
address: {
|
|
223
226
|
line1: string;
|
|
224
227
|
line2: string | null;
|
|
@@ -230,9 +233,6 @@ export declare const checkoutSchema: z.ZodObject<{
|
|
|
230
233
|
countryCode: string;
|
|
231
234
|
company: string | null;
|
|
232
235
|
};
|
|
233
|
-
email: string;
|
|
234
|
-
firstName: string;
|
|
235
|
-
lastName: string;
|
|
236
236
|
phone: string;
|
|
237
237
|
isEmailSubscribed?: boolean | undefined;
|
|
238
238
|
};
|
|
@@ -247,6 +247,9 @@ export declare const checkoutSchema: z.ZodObject<{
|
|
|
247
247
|
customerId?: string | undefined;
|
|
248
248
|
}, {
|
|
249
249
|
customer: {
|
|
250
|
+
email: string;
|
|
251
|
+
firstName: string;
|
|
252
|
+
lastName: string;
|
|
250
253
|
address: {
|
|
251
254
|
line1: string;
|
|
252
255
|
line2: string | null;
|
|
@@ -258,9 +261,6 @@ export declare const checkoutSchema: z.ZodObject<{
|
|
|
258
261
|
countryCode: string;
|
|
259
262
|
company: string | null;
|
|
260
263
|
};
|
|
261
|
-
email: string;
|
|
262
|
-
firstName: string;
|
|
263
|
-
lastName: string;
|
|
264
264
|
phone: string;
|
|
265
265
|
isEmailSubscribed?: boolean | undefined;
|
|
266
266
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/checkout-embed/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,MAAM,EAAE,MAAM,cAAc,CAAC;AAGrE,OAAO,KAA4C,MAAM,OAAO,CAAC;AAEjE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/checkout-embed/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,MAAM,EAAE,MAAM,cAAc,CAAC;AAGrE,OAAO,KAA4C,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAOvD,UAAU,kBAAkB;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE;QACN,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,CAAC,EAAE,gBAAgB,CAAC;QAC9B,KAAK,CAAC,EAAE,KAAK,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAcD,iBAAS,sBAAsB,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CA8VzE;AAED,QAAA,MAAM,aAAa,0DAA+B,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/compounds/form/address-input/index.tsx"],"names":[],"mappings":"AAgBA,UAAU,iBAAiB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,YAAY,CAAC,EAC3B,SAAc,EACd,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,wBAAwB,EACxB,MAAM,GACP,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/compounds/form/address-input/index.tsx"],"names":[],"mappings":"AAgBA,UAAU,iBAAiB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,YAAY,CAAC,EAC3B,SAAc,EACd,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,wBAAwB,EACxB,MAAM,GACP,EAAE,iBAAiB,2CAqTnB"}
|