@everymatrix/cashier-method-details 1.28.0 → 1.28.2

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.28.0",
3
+ "version": "1.28.2",
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": "d291acb27fcd4cf8217ec1c98666c02bfb1aea9f"
38
+ "gitHead": "d958fcf980942e498f37b94d506a1b27a5169aa4"
39
39
  }
@@ -693,7 +693,7 @@
693
693
  data-type={field.type}
694
694
  placeholder={field.placeholder}
695
695
  on:input={() => { validateField(field) }}
696
- on:blur={() => { showError[field.name] = true; validateField(field) }}
696
+ on:change={() => { showError[field.name] = true; validateField(field) }}
697
697
  bind:this={flatpickrEl[flatpickrEl.length]}
698
698
  >
699
699
  {:else if field.type === FieldTypes.Number || field.type === FieldTypes.Money}
@@ -874,6 +874,16 @@
874
874
  input[type=number] {
875
875
  -moz-appearance: textfield;
876
876
  }
877
+ .CashierMethodDetails {
878
+ width: 100%;
879
+ }
880
+ .ReceiptPage {
881
+ background-color: var(--emw--color-gray-transparency-100, rgb(255, 255, 255));
882
+ border-radius: 6px;
883
+ box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
884
+ padding: 0 15px 15px;
885
+ margin-bottom: 10px;
886
+ }
877
887
  .MethodsDetails {
878
888
  position: relative;
879
889
  display: flex;
@@ -979,7 +989,7 @@
979
989
  z-index: 100;
980
990
  top: 0;
981
991
  left: 0;
982
- background-color: var(--emw--color-gray-transparency-20, rgba(0, 0, 0, .2));
992
+ background-color: var(--emw--color-white, #FFF);
983
993
  }
984
994
  .FieldWrapper, label{
985
995
  display: flex;