@fractalpay/fractalpay-next 0.0.28 → 0.0.30

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",
42
- version: "0.0.28",
42
+ version: "0.0.30",
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 {
@@ -6303,8 +6309,8 @@ function AddCardEasyPay(props) {
6303
6309
  e.stopPropagation();
6304
6310
  }
6305
6311
  }, children: [
6306
- /* @__PURE__ */ jsxs14("div", { style: { maxHeight: "410px", minHeight: "0" }, className: "card-scrl", children: [
6307
- /* @__PURE__ */ jsx24("div", { className: "form-group", style: { marginTop: "0", marginBottom: "10px" }, children: /* @__PURE__ */ jsx24(
6312
+ /* @__PURE__ */ jsxs14("div", { style: { maxHeight: "450px", minHeight: "0" }, className: "card-scrl", children: [
6313
+ /* @__PURE__ */ jsx24("div", { className: "form-group", style: { marginTop: "0", marginBottom: "0" }, children: /* @__PURE__ */ jsx24(
6308
6314
  DataCapFields,
6309
6315
  {
6310
6316
  isOpen: true,
@@ -6343,7 +6349,7 @@ function AddCardEasyPay(props) {
6343
6349
  "input",
6344
6350
  {
6345
6351
  type: "text",
6346
- id: "zipcode",
6352
+ id: "",
6347
6353
  name: "zipcode",
6348
6354
  placeholder: "Zip",
6349
6355
  value: (_b = cardData == null ? void 0 : cardData.zipCode) != null ? _b : "",
@@ -8571,7 +8577,7 @@ function SkyChargewidgetstyles() {
8571
8577
  .frac-form .save-ach-div{
8572
8578
  display:flex !important;
8573
8579
  gap:5px !important;
8574
- align-items:center
8580
+ align-items:start;
8575
8581
  }
8576
8582
 
8577
8583
  .frac-form .card-cvv-in{
@@ -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
  }
@@ -10843,7 +10850,7 @@ var ModelContentSky = ({ amount, bankAmount, submitBtnText = "Pay", session_toke
10843
10850
  ] }),
10844
10851
  customerId && /* @__PURE__ */ jsxs19("div", { className: "form-group-frac save-ach-div", style: { paddingTop: "5px" }, children: [
10845
10852
  /* @__PURE__ */ jsx32("input", { type: "checkbox", id: "saveACH", className: "", maxLength: 100, placeholder: "My Bank", checked: saveACHinfo, onChange: (e) => setSaveACHinfo(e.target.checked) }),
10846
- /* @__PURE__ */ jsx32("label", { className: "saveachlabel", htmlFor: "saveACH", children: "Save ACH" })
10853
+ /* @__PURE__ */ jsx32("label", { className: "saveachlabel", htmlFor: "saveACH", children: `By selecting this box, I authorize SkyFi, on behalf of ${merchantName || "merchant"}, to initiate a one-time electronic ACH debit from my bank account for the total amount displayed on this screen, including any applicable processing fee. I confirm that I am authorized to use this account and that the bank account information I provided is correct.` })
10847
10854
  ] }),
10848
10855
  saveACHinfo && /* @__PURE__ */ jsx32("div", { className: "form-group-frac saveachtext", children: /* @__PURE__ */ jsxs19("p", { children: [
10849
10856
  "If checked, I agree to give the ",