@pinuts/bsr-uikit-relaunch 0.2.16 → 0.2.17

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.
@@ -1 +1 @@
1
- {"version":3,"file":"BSRAddressContext.d.ts","sourceRoot":"","sources":["../../../src/items/BSRAddressSelector/BSRAddressContext.js"],"names":[],"mappings":"AAeA,mDAAiD;;kBAf+B,OAAO;AAiBvF;;;sBAmKC;;;;;;;;;;;;;sBAnLqB,YAAY"}
1
+ {"version":3,"file":"BSRAddressContext.d.ts","sourceRoot":"","sources":["../../../src/items/BSRAddressSelector/BSRAddressContext.js"],"names":[],"mappings":"AAeA,mDAAiD;;kBAf+B,OAAO;AAiBvF;;;sBA2KC;;;;;;;;;;;;;sBA3LqB,YAAY"}
@@ -100,6 +100,13 @@ const BSRAddressContextProvider = _ref => {
100
100
  setShowNoResultsError(false);
101
101
  setSelectedStreetList(null);
102
102
  setSelectedRadioValue(null);
103
+ if (addressContext.doSubmitOnChange) {
104
+ window.setTimeout(() => {
105
+ // need a thread change to wait the form is re-rendered before submitting
106
+ // ==> react-dom.development.js:86 Warning: Cannot update a component (`Vr`) while rendering a different component
107
+ submitForm();
108
+ }, 1);
109
+ }
103
110
  }, [setFieldValue, setTriggerCancelCombox, fieldKeys, setShowNoResultsError]);
104
111
 
105
112
  // AdressePrüfenBtn anzeigen, wenn Straße und Hausnummer gesetzt sind
@@ -146,10 +146,6 @@
146
146
  &:hover {
147
147
  color: $white !important;
148
148
  }
149
- &::after {
150
- content: "✔";
151
- margin-inline-start: 0.5rem;
152
- }
153
149
  }
154
150
  }
155
151
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinuts/bsr-uikit-relaunch",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "private": false,
5
5
  "description": "BSR UI-KIT Relaunch",
6
6
  "main": "dist/index.js",