sales-frontend-components 3.0.8 → 3.0.10
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/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +5 -5
package/dist/index.cjs.js
CHANGED
|
@@ -1562,7 +1562,7 @@ const useCustomerSearch = (onSelect, options) => {
|
|
|
1562
1562
|
};
|
|
1563
1563
|
const onKeyUp = (e) => {
|
|
1564
1564
|
const currentValue = e.target.value;
|
|
1565
|
-
if (isOverCharCount(currentValue, 2)) {
|
|
1565
|
+
if (currentValue.length === 0 || isOverCharCount(currentValue, 2)) {
|
|
1566
1566
|
search();
|
|
1567
1567
|
}
|
|
1568
1568
|
};
|
package/dist/index.esm.js
CHANGED
|
@@ -1560,7 +1560,7 @@ const useCustomerSearch = (onSelect, options) => {
|
|
|
1560
1560
|
};
|
|
1561
1561
|
const onKeyUp = (e) => {
|
|
1562
1562
|
const currentValue = e.target.value;
|
|
1563
|
-
if (isOverCharCount(currentValue, 2)) {
|
|
1563
|
+
if (currentValue.length === 0 || isOverCharCount(currentValue, 2)) {
|
|
1564
1564
|
search();
|
|
1565
1565
|
}
|
|
1566
1566
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sales-frontend-components",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"sales-frontend-stores": "0.0.15",
|
|
46
46
|
"sales-frontend-typescript-config": "0.0.2",
|
|
47
47
|
"sales-frontend-assets": "0.0.28",
|
|
48
|
-
"sales-frontend-api": "0.0.
|
|
48
|
+
"sales-frontend-api": "0.0.187",
|
|
49
49
|
"sales-frontend-design-system": "0.3.6",
|
|
50
50
|
"sales-frontend-bridge": "0.0.122",
|
|
51
51
|
"sales-frontend-hooks": "0.0.182",
|
|
52
52
|
"sales-frontend-solution": "0.0.61",
|
|
53
53
|
"sales-frontend-debug": "0.0.80",
|
|
54
|
-
"sales-frontend-headless": "0.0.
|
|
54
|
+
"sales-frontend-headless": "0.0.13",
|
|
55
55
|
"sales-frontend-vitest-config": "0.0.4"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
"react": ">=19.0.0",
|
|
60
60
|
"react-dom": ">=19.0.0",
|
|
61
61
|
"react-hook-form": "^7.58.1",
|
|
62
|
-
"sales-frontend-api": "0.0.
|
|
62
|
+
"sales-frontend-api": "0.0.187",
|
|
63
63
|
"sales-frontend-assets": "0.0.28",
|
|
64
64
|
"sales-frontend-stores": "0.0.15",
|
|
65
65
|
"sales-frontend-design-system": "0.3.6",
|
|
66
66
|
"sales-frontend-bridge": "0.0.122",
|
|
67
|
-
"sales-frontend-headless": "0.0.
|
|
67
|
+
"sales-frontend-headless": "0.0.13",
|
|
68
68
|
"sales-frontend-hooks": "0.0.182",
|
|
69
69
|
"sales-frontend-solution": "0.0.61"
|
|
70
70
|
},
|