@linzjs/lui 21.53.2 → 21.53.3
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/CHANGELOG.md +7 -0
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +1 -2
- package/dist/lui.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [21.53.3](https://github.com/linz/lui/compare/v21.53.2...v21.53.3) (2024-11-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* stop enter reaction when input is empty ([#1172](https://github.com/linz/lui/issues/1172)) ([1d00718](https://github.com/linz/lui/commit/1d00718bd29a81a9043768bf63d4d5926e3f9f59))
|
|
7
|
+
|
|
1
8
|
## [21.53.2](https://github.com/linz/lui/compare/v21.53.1...v21.53.2) (2024-11-17)
|
|
2
9
|
|
|
3
10
|
|
package/dist/index.js
CHANGED
|
@@ -42510,8 +42510,7 @@ var ControlledPassiveSearchInputComponent = function (props) {
|
|
|
42510
42510
|
function handleKeyDown(event) {
|
|
42511
42511
|
switch (event.key) {
|
|
42512
42512
|
case 'Enter':
|
|
42513
|
-
if (inputValidationResult
|
|
42514
|
-
inputValidationResult.stopProgress === true)
|
|
42513
|
+
if (typedValue === '' || (inputValidationResult === null || inputValidationResult === void 0 ? void 0 : inputValidationResult.stopProgress) === true)
|
|
42515
42514
|
return;
|
|
42516
42515
|
props.onSearch(typedValue);
|
|
42517
42516
|
}
|