@fractalpay/fractalpay-next-dev 0.0.297 → 0.0.299

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.297",
42
+ version: "0.0.299",
43
43
  private: false,
44
44
  type: "module",
45
45
  scripts: {
@@ -3414,13 +3414,15 @@ var customCSS = `
3414
3414
  outline: none !important;
3415
3415
  }
3416
3416
  label {
3417
- font-family: 'IBM Plex Mono', monospace !important;
3418
- color: #727272 !important;
3419
- margin-bottom: 2px !important;
3420
- font-weight: 600 !important;
3417
+ font-family: 'IBM Plex Mono', monospace;
3421
3418
  font-size: 12px !important;
3419
+ letter-spacing: 1.1px !important;
3420
+ color: #867c94 !important;
3421
+ font-weight: 500 !important;
3422
+ line-height: normal;
3423
+ margin: 0 0 2px 0 !important;
3424
+ text-align: start !important;
3422
3425
  display: block !important;
3423
- text-align: left !important;
3424
3426
  text-transform: uppercase !important;
3425
3427
  }
3426
3428
  input.card-data.card-data-cvv{
@@ -3594,8 +3596,8 @@ function FractalWidgetStyles() {
3594
3596
  .fps-logo { height: 43px; display: flex; align-items: center; }
3595
3597
  .fps-logo img { max-height: 43px; max-width: 160px; object-fit: contain; }
3596
3598
  .fps-divider { width: 100%; height: 1px; background: var(--fps-border); flex-shrink: 0; }
3597
- .fps-invoice { font-size: 14px; font-weight: 500; color: var(--fps-text-tertiary); }
3598
- .fps-lines { display: flex; flex-direction: column; gap: 8px; width: 100%; font-size: 14px; font-weight: 500; }
3599
+ .fps-invoice { font-size: 14px; font-weight: 500; color: var(--fps-text-tertiary); text-align: start !important; }
3600
+ .fps-lines { display: flex; flex-direction: column; gap: 8px; width: 100%; font-size: 14px; font-weight: 500; text-align: start !important; }
3599
3601
  .fps-line { display: flex; align-items: center; justify-content: space-between; }
3600
3602
  .fps-line .fps-lbl { color: var(--fps-text-tertiary); }
3601
3603
  .fps-line .fps-val { color: var(--fps-text-primary); }
@@ -3611,6 +3613,7 @@ function FractalWidgetStyles() {
3611
3613
  font-size: 11px;
3612
3614
  line-height: 16px;
3613
3615
  color: var(--fps-green-text);
3616
+ text-align: start !important;
3614
3617
  }
3615
3618
  .fps-note b { font-weight: 700; }
3616
3619
  .fps-note-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
@@ -3627,6 +3630,7 @@ function FractalWidgetStyles() {
3627
3630
  color: var(--fps-text-tertiary);
3628
3631
  }
3629
3632
  .fps-secure img { height: 16px; width: auto; object-fit: contain; }
3633
+ .fps-total-div { text-align: start !important; }
3630
3634
 
3631
3635
  /* ---------- Right: content ---------- */
3632
3636
  .fps-content {
@@ -3669,6 +3673,7 @@ function FractalWidgetStyles() {
3669
3673
  font-weight: 500;
3670
3674
  line-height: normal;
3671
3675
  margin: 0;
3676
+ text-align: start !important;
3672
3677
  }
3673
3678
 
3674
3679
  /* scrollable middle region between header and footer */
@@ -3912,7 +3917,7 @@ function FractalWidgetStyles() {
3912
3917
  width: 100%;
3913
3918
  margin-top: auto;
3914
3919
  }
3915
- .fps-auth { font-size: 11px; font-weight: 500; color: var(--fps-text-tertiary); line-height: 1.45; margin: 0; }
3920
+ .fps-auth { font-size: 11px; font-weight: 500; color: var(--fps-text-tertiary); line-height: 1.45; margin: 0; text-align: start !important; }
3916
3921
  .fps-auth u, .fps-auth a { text-decoration: underline; cursor: pointer; color: inherit; }
3917
3922
  .fps-pay-btn {
3918
3923
  height: 44px;
@@ -3936,7 +3941,7 @@ function FractalWidgetStyles() {
3936
3941
  width: 16px; height: 16px; margin: 0; margin-top: 1px;
3937
3942
  flex-shrink: 0; accent-color: var(--fps-brand); cursor: pointer;
3938
3943
  }
3939
- .fps-check label { font-size: 12px; font-weight: 500; color: var(--fps-text-primary); line-height: 1.4; cursor: pointer; margin: 0; font-family: 'Inter', sans-serif; text-transform: none; }
3944
+ .fps-check label { font-size: 12px; font-weight: 500; color: var(--fps-text-primary); line-height: 1.4; cursor: pointer; margin: 0; font-family: 'Inter', sans-serif; text-transform: none; text-align: start !important; }
3940
3945
  .fps-check u, .fps-check a { text-decoration: underline; cursor: pointer; }
3941
3946
  .fps-error { color: #dc2626; font-size: 12px; display: block; }
3942
3947
 
@@ -3972,7 +3977,7 @@ function FractalOrderSummary({
3972
3977
  /* @__PURE__ */ jsx17("span", { className: "fps-val", children: l.value })
3973
3978
  ] }, i)) }),
3974
3979
  /* @__PURE__ */ jsx17("div", { className: "fps-divider" }),
3975
- /* @__PURE__ */ jsxs8("div", { children: [
3980
+ /* @__PURE__ */ jsxs8("div", { className: "fps-total-div", children: [
3976
3981
  /* @__PURE__ */ jsx17("div", { className: "fps-total-label", children: totalLabel }),
3977
3982
  /* @__PURE__ */ jsx17("div", { className: "fps-total", children: total })
3978
3983
  ] }),
@@ -4694,8 +4699,9 @@ function GetPaymentPage(props) {
4694
4699
  setLoading2(false);
4695
4700
  }
4696
4701
  const card_issue_type = ((_i2 = tokenizeData == null ? void 0 : tokenizeData.bin_lookup_result) == null ? void 0 : _i2.card_issue_type) || null;
4697
- if (card_issue_type === "Debit" && (props == null ? void 0 : props.pass_fee) && (paymentData == null ? void 0 : paymentData.surchargeProgram) == 1) {
4698
- setLoderText("Processing Debit card without fee");
4702
+ const feeExempt = ["debit", "prepaid"].includes(String(card_issue_type || "").toLowerCase());
4703
+ if (feeExempt && (props == null ? void 0 : props.pass_fee) && (paymentData == null ? void 0 : paymentData.surchargeProgram) == 1) {
4704
+ setLoderText(`Processing ${card_issue_type} card without fee`);
4699
4705
  }
4700
4706
  console.log(tokenizeData, "tokenizeData");
4701
4707
  const reqData = JSON.stringify(__spreadProps(__spreadValues({}, tokenizeData), {
@@ -4874,8 +4880,9 @@ function GetPaymentPage(props) {
4874
4880
  if (customer_id) {
4875
4881
  if (card_id) {
4876
4882
  setLoading2(true);
4877
- if (card_issue_type == "Debit" && (props == null ? void 0 : props.pass_fee) && (paymentData == null ? void 0 : paymentData.surchargeProgram) == 1) {
4878
- setLoderText("Processing Debit card without fee");
4883
+ const feeExempt = ["debit", "prepaid"].includes(String(card_issue_type || "").toLowerCase());
4884
+ if (feeExempt && (props == null ? void 0 : props.pass_fee) && (paymentData == null ? void 0 : paymentData.surchargeProgram) == 1) {
4885
+ setLoderText(`Processing ${card_issue_type} card without fee`);
4879
4886
  }
4880
4887
  let resultofOrderCreate;
4881
4888
  if (!(card_type === "Bank")) {