carbon-addons-iot-react 2.147.0-next.78 → 2.147.0-next.79
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
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.147.0-next.79](https://github.com/carbon-design-system/carbon-addons-iot-react/compare/v2.147.0-next.78...v2.147.0-next.79) (2021-12-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **table:** add search onBlur when hasFastSearch:false ([2db93b2](https://github.com/carbon-design-system/carbon-addons-iot-react/commit/2db93b21b6ac8455a0cbac8a2f26ccdfcd94cc7c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [2.147.0-next.78](https://github.com/carbon-design-system/carbon-addons-iot-react/compare/v2.147.0-next.77...v2.147.0-next.78) (2021-12-08)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -355,11 +355,15 @@ var TableToolbar = function TableToolbar(_ref) {
|
|
|
355
355
|
}),
|
|
356
356
|
onClear: function onClear() {
|
|
357
357
|
return onApplySearch('');
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
358
|
+
},
|
|
359
|
+
onBlur: !hasFastSearch ? function (e, handleExpand) {
|
|
360
|
+
var value = e.target.value;
|
|
361
|
+
onApplySearch(value);
|
|
362
|
+
|
|
363
|
+
if (!value) {
|
|
364
|
+
handleExpand(e, false);
|
|
365
|
+
}
|
|
366
|
+
} : undefined,
|
|
363
367
|
disabled: isDisabled // TODO: remove deprecated 'testID' in v3
|
|
364
368
|
,
|
|
365
369
|
"data-testid": "".concat(testID || testId, "-search")
|
|
@@ -367,11 +367,15 @@ var TableToolbar = function TableToolbar(_ref) {
|
|
|
367
367
|
}),
|
|
368
368
|
onClear: function onClear() {
|
|
369
369
|
return onApplySearch('');
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
370
|
+
},
|
|
371
|
+
onBlur: !hasFastSearch ? function (e, handleExpand) {
|
|
372
|
+
var value = e.target.value;
|
|
373
|
+
onApplySearch(value);
|
|
374
|
+
|
|
375
|
+
if (!value) {
|
|
376
|
+
handleExpand(e, false);
|
|
377
|
+
}
|
|
378
|
+
} : undefined,
|
|
375
379
|
disabled: isDisabled // TODO: remove deprecated 'testID' in v3
|
|
376
380
|
,
|
|
377
381
|
"data-testid": "".concat(testID || testId, "-search")
|
package/package.json
CHANGED
|
@@ -340,10 +340,10 @@
|
|
|
340
340
|
"whatwg-fetch": "^3.0.0"
|
|
341
341
|
},
|
|
342
342
|
"sideEffects": false,
|
|
343
|
-
"version": "2.147.0-next.
|
|
343
|
+
"version": "2.147.0-next.79",
|
|
344
344
|
"resolutions": {
|
|
345
345
|
"chokidar": "3.3.1",
|
|
346
346
|
"react-grid-layout": "1.2.2"
|
|
347
347
|
},
|
|
348
|
-
"gitHead": "
|
|
348
|
+
"gitHead": "097f9ea8f98667e232e79d164a3b6b675ff5b4c8"
|
|
349
349
|
}
|
|
@@ -39753,11 +39753,15 @@
|
|
|
39753
39753
|
}),
|
|
39754
39754
|
onClear: function onClear() {
|
|
39755
39755
|
return onApplySearch('');
|
|
39756
|
-
}
|
|
39757
|
-
|
|
39758
|
-
|
|
39759
|
-
|
|
39760
|
-
|
|
39756
|
+
},
|
|
39757
|
+
onBlur: !hasFastSearch ? function (e, handleExpand) {
|
|
39758
|
+
var value = e.target.value;
|
|
39759
|
+
onApplySearch(value);
|
|
39760
|
+
|
|
39761
|
+
if (!value) {
|
|
39762
|
+
handleExpand(e, false);
|
|
39763
|
+
}
|
|
39764
|
+
} : undefined,
|
|
39761
39765
|
disabled: isDisabled // TODO: remove deprecated 'testID' in v3
|
|
39762
39766
|
,
|
|
39763
39767
|
"data-testid": "".concat(testID || testId, "-search")
|