@payos-inc/payos-react 1.0.31 → 1.0.32-staging.64
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/payos/PaymentSheet.d.ts +7 -1
- package/dist/components/payos/PaymentSheet.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/payos-react.css +1 -1
- package/dist/payos-react.esm.js +12 -8
- package/dist/payos-react.min.js +1 -1
- package/dist/types/components/payos/PaymentSheet.d.ts +7 -1
- package/dist/types/components/payos/PaymentSheet.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ export interface PaymentSheetProps {
|
|
|
22
22
|
* - "inline": Renders content directly in the parent container, no overlay
|
|
23
23
|
* - "modal": Centered modal overlay with backdrop
|
|
24
24
|
*/
|
|
25
|
-
layout?: 'drawer' | 'inline' | 'modal';
|
|
25
|
+
layout?: 'drawer' | 'inline' | 'modal' | 'embedded';
|
|
26
26
|
/** Environment mode - determines API URL (sandbox.api.payos.ai or api.payos.ai) */
|
|
27
27
|
environment?: 'sandbox' | 'production';
|
|
28
28
|
/** Override API URL for local development - used for direct SDK calls like passkey, credential gen (e.g., 'http://localhost:3000') */
|
|
@@ -52,6 +52,12 @@ export interface PaymentSheetProps {
|
|
|
52
52
|
* Best used with cardId to skip directly to authentication.
|
|
53
53
|
*/
|
|
54
54
|
skipToAuth?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Hide the embedded layout header (merchant title + amount).
|
|
57
|
+
* Only applies to `layout="embedded"` — meant for in-app browser contexts
|
|
58
|
+
* where the native app already displays merchant/amount chrome.
|
|
59
|
+
*/
|
|
60
|
+
hideHeader?: boolean;
|
|
55
61
|
}
|
|
56
62
|
export declare const PaymentSheet: React.FC<PaymentSheetProps>;
|
|
57
63
|
export default PaymentSheet;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentSheet.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/PaymentSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"PaymentSheet.d.ts","sourceRoot":"","sources":["../../../../src/components/payos/PaymentSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6E,MAAM,OAAO,CAAC;AAqBlG,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,uBAAuB,CAAC;AAK/B,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAChD,OAAO,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC;IAGpD,mFAAmF;IACnF,WAAW,CAAC,EAAE,SAAS,GAAG,YAAY,CAAC;IACvC,sIAAsI;IACtI,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sHAAsH;IACtH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mFAAmF;IACnF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,mGAAmG;IACnG,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,uGAAuG;IACvG,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,mHAAmH;IACnH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAKD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA22CpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED