@appquality/unguess-design-system 4.0.63 → 4.0.64
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 +13 -0
- package/build/index.js +4 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# v4.0.64 (Thu Feb 12 2026)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Fix autocomplete validation [#579](https://github.com/AppQuality/unguess-design-system/pull/579) ([@cannarocks](https://github.com/cannarocks))
|
|
6
|
+
- Improve regex handling for input validation in Autocomplete component [#578](https://github.com/AppQuality/unguess-design-system/pull/578) ([@cannarocks](https://github.com/cannarocks))
|
|
7
|
+
|
|
8
|
+
#### Authors: 1
|
|
9
|
+
|
|
10
|
+
- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
1
14
|
# v4.0.63 (Mon Jan 19 2026)
|
|
2
15
|
|
|
3
16
|
#### 🐛 Bug Fix
|
package/build/index.js
CHANGED
|
@@ -83720,10 +83720,10 @@ function wet(e) {
|
|
|
83720
83720
|
return e.reduce((t, n) => "options" in n ? [...t, ...n.options] : [...t, n], []);
|
|
83721
83721
|
}
|
|
83722
83722
|
function sD(e, t) {
|
|
83723
|
-
var
|
|
83723
|
+
var i;
|
|
83724
83724
|
if (!t) return !1;
|
|
83725
|
-
const n = new RegExp(
|
|
83726
|
-
return !((
|
|
83725
|
+
const n = t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), r = new RegExp(n, "i");
|
|
83726
|
+
return !((i = e.label) != null && i.match(r));
|
|
83727
83727
|
}
|
|
83728
83728
|
const nst = ({
|
|
83729
83729
|
options: e,
|
|
@@ -83755,14 +83755,7 @@ const nst = ({
|
|
|
83755
83755
|
[C]
|
|
83756
83756
|
), I = je(
|
|
83757
83757
|
(A) => {
|
|
83758
|
-
|
|
83759
|
-
const L = A.inputValue.replace(
|
|
83760
|
-
/[.*+?^${}()|[\]\\]/giu,
|
|
83761
|
-
"\\$&"
|
|
83762
|
-
);
|
|
83763
|
-
g(L), typeof n == "function" && n(L);
|
|
83764
|
-
}
|
|
83765
|
-
(A.type === "option:click" || A.type === "input:keyDown:Enter") && typeof t == "function" && A.selectionValue && (g(void 0), t({
|
|
83758
|
+
typeof r == "function" && r(A), A.type === "input:change" && A.inputValue !== void 0 && (g(A.inputValue), typeof n == "function" && n(A.inputValue)), (A.type === "option:click" || A.type === "input:keyDown:Enter") && typeof t == "function" && A.selectionValue && (g(void 0), t({
|
|
83766
83759
|
inputValue: A.inputValue,
|
|
83767
83760
|
selectionValue: A.selectionValue
|
|
83768
83761
|
}));
|