@everymatrix/cashier-method-details 1.29.6 → 1.29.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-method-details",
3
- "version": "1.29.6",
3
+ "version": "1.29.7",
4
4
  "main": "index.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "a67714e03295f6cdb76990ce33c8baeec7819b9f"
38
+ "gitHead": "6774dd803fe9ab951334d05d7f0ec99f78b6c0a0"
39
39
  }
@@ -825,7 +825,7 @@
825
825
  bind:this={flatpickrEl[flatpickrEl.length]}
826
826
  >
827
827
  {#if isMobile(userAgent)}
828
- <div class="MobileDateInput">{prepareFields[field.name]}</div>
828
+ <div class="MobileDateInput">{prepareFields[field.name] || field.placeholder}</div>
829
829
  {/if}
830
830
  </div>
831
831
  {:else if field.type === FieldTypes.Number || field.type === FieldTypes.Money}
@@ -1271,6 +1271,9 @@
1271
1271
  }
1272
1272
  .DateInput {
1273
1273
  position: relative;
1274
+ &:has(.MobileDateInput) .DateTimePicker {
1275
+ font-size: 0;
1276
+ }
1274
1277
  }
1275
1278
  .MobileDateInput {
1276
1279
  position: absolute;
@@ -1333,7 +1336,7 @@
1333
1336
  display: block;
1334
1337
  }
1335
1338
  }
1336
- @container method-details (width < 699px) {
1339
+ @container method-details (width < 450px) {
1337
1340
  .FormLogo .SelectedLogoDescription {
1338
1341
  font-size: var(--emw--font-size-x-small, 12px);
1339
1342
  display: -webkit-box;
@@ -20,5 +20,15 @@ export const TRANSLATIONS = {
20
20
  "amountDecimalError": "Amount should have 2 or less digits after decimal point",
21
21
  "invalidFieldError": "{field} is invalid",
22
22
  "backToMethodList": "BACK TO PAYMENT METHODS",
23
+ "deposit": {
24
+ "makeTxnButton": "DEPOSIT",
25
+ "confirmText": "You're going to deposit {amount} {currency} to your account",
26
+ "confirmButton": "Ok"
27
+ },
28
+ "withdraw": {
29
+ "makeTxnButton": "WITHDRAW",
30
+ "confirmText": "You're going to withdraw {amount} {currency} from your account",
31
+ "confirmButton": "Ok"
32
+ }
23
33
  }
24
34
  }