@fractalpay/fractalpay-next-dev 0.0.224 → 0.0.226

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.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.224",
42
+ version: "0.0.226",
43
43
  private: false,
44
44
  type: "module",
45
45
  scripts: {
@@ -3286,7 +3286,7 @@ var customCSS = `
3286
3286
 
3287
3287
  input {
3288
3288
  display: block;
3289
- width: stretch;
3289
+ width: 100%;
3290
3290
  padding: .375rem .75rem;
3291
3291
  font-size: 1rem;
3292
3292
  font-weight: 400;
@@ -3301,6 +3301,7 @@ var customCSS = `
3301
3301
  border-radius: 0.375rem;
3302
3302
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
3303
3303
  margin-bottom: 10px;
3304
+ box-sizing: border-box;
3304
3305
  }
3305
3306
 
3306
3307
  input:focus {
@@ -3346,7 +3347,11 @@ var customCSS = `
3346
3347
  input.card-data.card-data-cvv{
3347
3348
  margin-bottom: 0px;
3348
3349
  }
3349
-
3350
+
3351
+ right-col{
3352
+ width : 10px !important;
3353
+ }
3354
+
3350
3355
  `;
3351
3356
  var DataCapFields = ({
3352
3357
  isOpen,
@@ -3375,6 +3380,7 @@ var DataCapFields = ({
3375
3380
  font-weight: 400 !important;
3376
3381
  font-size: 14px !important;
3377
3382
  }
3383
+
3378
3384
  `;
3379
3385
  }
3380
3386
  const initialize = async () => {
@@ -5536,7 +5542,7 @@ function AddCardStyle() {
5536
5542
  padding: 0 20px
5537
5543
  }
5538
5544
  .add-card .form-group {
5539
- margin-bottom: 5px;
5545
+ // margin-bottom: 5px;
5540
5546
  }
5541
5547
 
5542
5548
  .add-card .idle-green-btn {
@@ -6304,7 +6310,7 @@ function AddCardEasyPay(props) {
6304
6310
  }
6305
6311
  }, children: [
6306
6312
  /* @__PURE__ */ jsxs14("div", { style: { maxHeight: "450px", minHeight: "0" }, className: "card-scrl", children: [
6307
- /* @__PURE__ */ jsx24("div", { className: "form-group", style: { marginTop: "0", marginBottom: "10px" }, children: /* @__PURE__ */ jsx24(
6313
+ /* @__PURE__ */ jsx24("div", { className: "form-group", style: { marginTop: "0", marginBottom: "0" }, children: /* @__PURE__ */ jsx24(
6308
6314
  DataCapFields,
6309
6315
  {
6310
6316
  isOpen: true,
@@ -9519,6 +9525,7 @@ var ModelContentSky = ({ amount, bankAmount, submitBtnText = "Pay", session_toke
9519
9525
  const [remainingAmount, setRemainingAmount] = useState10("");
9520
9526
  const [paymentGateway, setPaymentGateway] = useState10();
9521
9527
  const [dcToken, setDCToken] = useState10();
9528
+ console.log(show, "show");
9522
9529
  let mastercard2 = S3Url + "widget/mc-img.svg";
9523
9530
  let visa2 = S3Url + "widget/visa-img.svg";
9524
9531
  let americanexp2 = S3Url + "widget/ae-img.svg";
@@ -10589,7 +10596,7 @@ var ModelContentSky = ({ amount, bankAmount, submitBtnText = "Pay", session_toke
10589
10596
  ] }),
10590
10597
  /* @__PURE__ */ jsxs19("div", { className: "form-group-frac", children: [
10591
10598
  /* @__PURE__ */ jsx32("label", { htmlFor: "cardNumber", children: "CARD NUMBER" }),
10592
- /* @__PURE__ */ jsx32("div", { className: "toggle-num-wrapper", children: show && paymentGateway === 32 && /* @__PURE__ */ jsx32(
10599
+ /* @__PURE__ */ jsx32("div", { className: "toggle-num-wrapper", children: (show || autoTrigger) && paymentGateway === 32 && /* @__PURE__ */ jsx32(
10593
10600
  FractalFields_default,
10594
10601
  {
10595
10602
  fractalStyles,
@@ -10666,7 +10673,7 @@ var ModelContentSky = ({ amount, bankAmount, submitBtnText = "Pay", session_toke
10666
10673
  /* @__PURE__ */ jsx32("div", { className: "form-group-frac", children: /* @__PURE__ */ jsx32(
10667
10674
  DataCapFields,
10668
10675
  {
10669
- isOpen: show,
10676
+ isOpen: show || autoTrigger,
10670
10677
  tokenKey: dcToken,
10671
10678
  setLoader: activeinCard === "form" ? setLoadingIframe : null
10672
10679
  }