@fractalpay/fractalpay-next-dev 0.0.259 → 0.0.260
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/index.d.ts +2 -1
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -92,8 +92,9 @@ type Props$2 = {
|
|
|
92
92
|
inputClass: string;
|
|
93
93
|
isDual?: boolean;
|
|
94
94
|
customCSS?: string;
|
|
95
|
+
height?: string;
|
|
95
96
|
};
|
|
96
|
-
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual, customCSS }: Props$2): React.JSX.Element;
|
|
97
|
+
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual, customCSS, height }: Props$2): React.JSX.Element;
|
|
97
98
|
|
|
98
99
|
type Props$1 = {
|
|
99
100
|
merchantPublicKey: string;
|
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var require_package = __commonJS({
|
|
|
39
39
|
"package.json"(exports, module) {
|
|
40
40
|
module.exports = {
|
|
41
41
|
name: "@fractalpay/fractalpay-next-dev",
|
|
42
|
-
version: "0.0.
|
|
42
|
+
version: "0.0.260",
|
|
43
43
|
private: false,
|
|
44
44
|
type: "module",
|
|
45
45
|
scripts: {
|
|
@@ -3360,7 +3360,8 @@ var DataCapFields = ({
|
|
|
3360
3360
|
tokenKey,
|
|
3361
3361
|
setLoader,
|
|
3362
3362
|
isAddCard,
|
|
3363
|
-
customCSS: extraCss
|
|
3363
|
+
customCSS: extraCss,
|
|
3364
|
+
height
|
|
3364
3365
|
}) => {
|
|
3365
3366
|
const iframeId = "datacap-iframe";
|
|
3366
3367
|
const resolverRef = useRef2(null);
|
|
@@ -3439,7 +3440,7 @@ var DataCapFields = ({
|
|
|
3439
3440
|
},
|
|
3440
3441
|
style: {
|
|
3441
3442
|
width: "100%",
|
|
3442
|
-
height: "250px"
|
|
3443
|
+
height: `${height || "250px"}`,
|
|
3443
3444
|
border: "none",
|
|
3444
3445
|
opacity: iframeReady ? 1 : 0,
|
|
3445
3446
|
transition: "opacity 0.3s ease"
|
|
@@ -6707,7 +6708,7 @@ var FractalFieldsAddCardSky_default = FractalFieldsAddCardSky;
|
|
|
6707
6708
|
|
|
6708
6709
|
// src/app/components/AddCard/AddCardSky.tsx
|
|
6709
6710
|
import { Fragment as Fragment16, jsx as jsx27, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
6710
|
-
function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual, customCSS: customCSS2 }) {
|
|
6711
|
+
function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual, customCSS: customCSS2, height }) {
|
|
6711
6712
|
var _a, _b;
|
|
6712
6713
|
const [loading, setLoading] = useState7(false);
|
|
6713
6714
|
const [errorIframe, setErrorIframe] = useState7("");
|
|
@@ -7221,7 +7222,8 @@ function CardOnFile({ session_token, callback, isloading, onCancel, showChecks,
|
|
|
7221
7222
|
isOpen: true,
|
|
7222
7223
|
tokenKey: dcToken,
|
|
7223
7224
|
setLoader: setLoadingIframe,
|
|
7224
|
-
customCSS: customCSS2
|
|
7225
|
+
customCSS: customCSS2,
|
|
7226
|
+
height
|
|
7225
7227
|
}
|
|
7226
7228
|
) }),
|
|
7227
7229
|
/* @__PURE__ */ jsxs16("div", { className: "form-group", children: [
|