carbon-addons-iot-react 2.149.0-next.6 → 2.149.0-next.7
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,14 @@
|
|
|
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.149.0-next.7](https://github.com/carbon-design-system/carbon-addons-iot-react/compare/v2.149.0-next.6...v2.149.0-next.7) (2022-02-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package carbon-addons-iot-react
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [2.149.0-next.6](https://github.com/carbon-design-system/carbon-addons-iot-react/compare/v2.149.0-next.5...v2.149.0-next.6) (2022-02-18)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -301,7 +301,8 @@ var propTypes = {
|
|
|
301
301
|
/** Callbacks for actions of the table, can be used to update state in wrapper component to update `view` props */
|
|
302
302
|
actions: PropTypes.shape({
|
|
303
303
|
pagination: PropTypes.shape({
|
|
304
|
-
/** Specify a callback for when the current page or page size is changed.
|
|
304
|
+
/** Specify a callback for when the current page or page size is changed.
|
|
305
|
+
* This callback is passed an object parameter containing the current page and the current page size */
|
|
305
306
|
onChangePage: PropTypes.func
|
|
306
307
|
}),
|
|
307
308
|
toolbar: PropTypes.shape({
|
|
@@ -310,9 +311,15 @@ var propTypes = {
|
|
|
310
311
|
onShowRowEdit: PropTypes.func,
|
|
311
312
|
onToggleColumnSelection: PropTypes.func,
|
|
312
313
|
|
|
313
|
-
/** Specify a callback for when the user clicks toolbar button to clear all filters.
|
|
314
|
+
/** Specify a callback for when the user clicks toolbar button to clear all filters.
|
|
315
|
+
* Receives a parameter of the current filter values for each column */
|
|
314
316
|
onClearAllFilters: PropTypes.func,
|
|
317
|
+
|
|
318
|
+
/** Callback for when the automatcally generated Cancel action in the batch actions bar is clicked */
|
|
315
319
|
onCancelBatchAction: PropTypes.func,
|
|
320
|
+
|
|
321
|
+
/** Callback for all the batch actions except the cancel. Is called with the id of the clicked action.
|
|
322
|
+
* For the StatefulTable the current selections are received as second parameter */
|
|
316
323
|
onApplyBatchAction: PropTypes.func,
|
|
317
324
|
|
|
318
325
|
/** Apply a search criteria to the table */
|
|
@@ -354,7 +361,8 @@ var propTypes = {
|
|
|
354
361
|
onSelectAll: PropTypes.func,
|
|
355
362
|
onChangeSort: PropTypes.func,
|
|
356
363
|
|
|
357
|
-
/** callback if a row action is clicked called with the id of the action then the id of the row if you
|
|
364
|
+
/** callback if a row action is clicked called with the id of the action then the id of the row if you
|
|
365
|
+
* return a promise from apply row action the stateful table will assume you're asynchronous and give a spinner */
|
|
358
366
|
onApplyRowAction: PropTypes.func,
|
|
359
367
|
onClearRowError: PropTypes.func,
|
|
360
368
|
onEmptyStateAction: PropTypes.func,
|
|
@@ -1668,7 +1676,7 @@ Table.__docgenInfo = {
|
|
|
1668
1676
|
"value": {
|
|
1669
1677
|
"onChangePage": {
|
|
1670
1678
|
"name": "func",
|
|
1671
|
-
"description": "Specify a callback for when the current page or page size is changed
|
|
1679
|
+
"description": "Specify a callback for when the current page or page size is changed.\nThis callback is passed an object parameter containing the current page and the current page size",
|
|
1672
1680
|
"required": false
|
|
1673
1681
|
}
|
|
1674
1682
|
},
|
|
@@ -1695,15 +1703,17 @@ Table.__docgenInfo = {
|
|
|
1695
1703
|
},
|
|
1696
1704
|
"onClearAllFilters": {
|
|
1697
1705
|
"name": "func",
|
|
1698
|
-
"description": "Specify a callback for when the user clicks toolbar button to clear all filters
|
|
1706
|
+
"description": "Specify a callback for when the user clicks toolbar button to clear all filters.\nReceives a parameter of the current filter values for each column",
|
|
1699
1707
|
"required": false
|
|
1700
1708
|
},
|
|
1701
1709
|
"onCancelBatchAction": {
|
|
1702
1710
|
"name": "func",
|
|
1711
|
+
"description": "Callback for when the automatcally generated Cancel action in the batch actions bar is clicked",
|
|
1703
1712
|
"required": false
|
|
1704
1713
|
},
|
|
1705
1714
|
"onApplyBatchAction": {
|
|
1706
1715
|
"name": "func",
|
|
1716
|
+
"description": "Callback for all the batch actions except the cancel. Is called with the id of the clicked action.\n For the StatefulTable the current selections are received as second parameter",
|
|
1707
1717
|
"required": false
|
|
1708
1718
|
},
|
|
1709
1719
|
"onApplySearch": {
|
|
@@ -1784,7 +1794,7 @@ Table.__docgenInfo = {
|
|
|
1784
1794
|
},
|
|
1785
1795
|
"onApplyRowAction": {
|
|
1786
1796
|
"name": "func",
|
|
1787
|
-
"description": "callback if a row action is clicked called with the id of the action then the id of the row if you
|
|
1797
|
+
"description": "callback if a row action is clicked called with the id of the action then the id of the row if you\nreturn a promise from apply row action the stateful table will assume you're asynchronous and give a spinner",
|
|
1788
1798
|
"required": false
|
|
1789
1799
|
},
|
|
1790
1800
|
"onClearRowError": {
|
|
@@ -318,7 +318,8 @@ var propTypes = {
|
|
|
318
318
|
/** Callbacks for actions of the table, can be used to update state in wrapper component to update `view` props */
|
|
319
319
|
actions: PropTypes__default['default'].shape({
|
|
320
320
|
pagination: PropTypes__default['default'].shape({
|
|
321
|
-
/** Specify a callback for when the current page or page size is changed.
|
|
321
|
+
/** Specify a callback for when the current page or page size is changed.
|
|
322
|
+
* This callback is passed an object parameter containing the current page and the current page size */
|
|
322
323
|
onChangePage: PropTypes__default['default'].func
|
|
323
324
|
}),
|
|
324
325
|
toolbar: PropTypes__default['default'].shape({
|
|
@@ -327,9 +328,15 @@ var propTypes = {
|
|
|
327
328
|
onShowRowEdit: PropTypes__default['default'].func,
|
|
328
329
|
onToggleColumnSelection: PropTypes__default['default'].func,
|
|
329
330
|
|
|
330
|
-
/** Specify a callback for when the user clicks toolbar button to clear all filters.
|
|
331
|
+
/** Specify a callback for when the user clicks toolbar button to clear all filters.
|
|
332
|
+
* Receives a parameter of the current filter values for each column */
|
|
331
333
|
onClearAllFilters: PropTypes__default['default'].func,
|
|
334
|
+
|
|
335
|
+
/** Callback for when the automatcally generated Cancel action in the batch actions bar is clicked */
|
|
332
336
|
onCancelBatchAction: PropTypes__default['default'].func,
|
|
337
|
+
|
|
338
|
+
/** Callback for all the batch actions except the cancel. Is called with the id of the clicked action.
|
|
339
|
+
* For the StatefulTable the current selections are received as second parameter */
|
|
333
340
|
onApplyBatchAction: PropTypes__default['default'].func,
|
|
334
341
|
|
|
335
342
|
/** Apply a search criteria to the table */
|
|
@@ -371,7 +378,8 @@ var propTypes = {
|
|
|
371
378
|
onSelectAll: PropTypes__default['default'].func,
|
|
372
379
|
onChangeSort: PropTypes__default['default'].func,
|
|
373
380
|
|
|
374
|
-
/** callback if a row action is clicked called with the id of the action then the id of the row if you
|
|
381
|
+
/** callback if a row action is clicked called with the id of the action then the id of the row if you
|
|
382
|
+
* return a promise from apply row action the stateful table will assume you're asynchronous and give a spinner */
|
|
375
383
|
onApplyRowAction: PropTypes__default['default'].func,
|
|
376
384
|
onClearRowError: PropTypes__default['default'].func,
|
|
377
385
|
onEmptyStateAction: PropTypes__default['default'].func,
|
|
@@ -1685,7 +1693,7 @@ Table.__docgenInfo = {
|
|
|
1685
1693
|
"value": {
|
|
1686
1694
|
"onChangePage": {
|
|
1687
1695
|
"name": "func",
|
|
1688
|
-
"description": "Specify a callback for when the current page or page size is changed
|
|
1696
|
+
"description": "Specify a callback for when the current page or page size is changed.\nThis callback is passed an object parameter containing the current page and the current page size",
|
|
1689
1697
|
"required": false
|
|
1690
1698
|
}
|
|
1691
1699
|
},
|
|
@@ -1712,15 +1720,17 @@ Table.__docgenInfo = {
|
|
|
1712
1720
|
},
|
|
1713
1721
|
"onClearAllFilters": {
|
|
1714
1722
|
"name": "func",
|
|
1715
|
-
"description": "Specify a callback for when the user clicks toolbar button to clear all filters
|
|
1723
|
+
"description": "Specify a callback for when the user clicks toolbar button to clear all filters.\nReceives a parameter of the current filter values for each column",
|
|
1716
1724
|
"required": false
|
|
1717
1725
|
},
|
|
1718
1726
|
"onCancelBatchAction": {
|
|
1719
1727
|
"name": "func",
|
|
1728
|
+
"description": "Callback for when the automatcally generated Cancel action in the batch actions bar is clicked",
|
|
1720
1729
|
"required": false
|
|
1721
1730
|
},
|
|
1722
1731
|
"onApplyBatchAction": {
|
|
1723
1732
|
"name": "func",
|
|
1733
|
+
"description": "Callback for all the batch actions except the cancel. Is called with the id of the clicked action.\n For the StatefulTable the current selections are received as second parameter",
|
|
1724
1734
|
"required": false
|
|
1725
1735
|
},
|
|
1726
1736
|
"onApplySearch": {
|
|
@@ -1801,7 +1811,7 @@ Table.__docgenInfo = {
|
|
|
1801
1811
|
},
|
|
1802
1812
|
"onApplyRowAction": {
|
|
1803
1813
|
"name": "func",
|
|
1804
|
-
"description": "callback if a row action is clicked called with the id of the action then the id of the row if you
|
|
1814
|
+
"description": "callback if a row action is clicked called with the id of the action then the id of the row if you\nreturn a promise from apply row action the stateful table will assume you're asynchronous and give a spinner",
|
|
1805
1815
|
"required": false
|
|
1806
1816
|
},
|
|
1807
1817
|
"onClearRowError": {
|
package/package.json
CHANGED
|
@@ -339,10 +339,10 @@
|
|
|
339
339
|
"whatwg-fetch": "^3.0.0"
|
|
340
340
|
},
|
|
341
341
|
"sideEffects": false,
|
|
342
|
-
"version": "2.149.0-next.
|
|
342
|
+
"version": "2.149.0-next.7",
|
|
343
343
|
"resolutions": {
|
|
344
344
|
"chokidar": "3.3.1",
|
|
345
345
|
"react-grid-layout": "1.2.2"
|
|
346
346
|
},
|
|
347
|
-
"gitHead": "
|
|
347
|
+
"gitHead": "3ecda949c8579f80ea8a55e7de98ba2f5e7400d2"
|
|
348
348
|
}
|
|
@@ -43614,7 +43614,8 @@
|
|
|
43614
43614
|
/** Callbacks for actions of the table, can be used to update state in wrapper component to update `view` props */
|
|
43615
43615
|
actions: PropTypes__default['default'].shape({
|
|
43616
43616
|
pagination: PropTypes__default['default'].shape({
|
|
43617
|
-
/** Specify a callback for when the current page or page size is changed.
|
|
43617
|
+
/** Specify a callback for when the current page or page size is changed.
|
|
43618
|
+
* This callback is passed an object parameter containing the current page and the current page size */
|
|
43618
43619
|
onChangePage: PropTypes__default['default'].func
|
|
43619
43620
|
}),
|
|
43620
43621
|
toolbar: PropTypes__default['default'].shape({
|
|
@@ -43623,9 +43624,15 @@
|
|
|
43623
43624
|
onShowRowEdit: PropTypes__default['default'].func,
|
|
43624
43625
|
onToggleColumnSelection: PropTypes__default['default'].func,
|
|
43625
43626
|
|
|
43626
|
-
/** Specify a callback for when the user clicks toolbar button to clear all filters.
|
|
43627
|
+
/** Specify a callback for when the user clicks toolbar button to clear all filters.
|
|
43628
|
+
* Receives a parameter of the current filter values for each column */
|
|
43627
43629
|
onClearAllFilters: PropTypes__default['default'].func,
|
|
43630
|
+
|
|
43631
|
+
/** Callback for when the automatcally generated Cancel action in the batch actions bar is clicked */
|
|
43628
43632
|
onCancelBatchAction: PropTypes__default['default'].func,
|
|
43633
|
+
|
|
43634
|
+
/** Callback for all the batch actions except the cancel. Is called with the id of the clicked action.
|
|
43635
|
+
* For the StatefulTable the current selections are received as second parameter */
|
|
43629
43636
|
onApplyBatchAction: PropTypes__default['default'].func,
|
|
43630
43637
|
|
|
43631
43638
|
/** Apply a search criteria to the table */
|
|
@@ -43667,7 +43674,8 @@
|
|
|
43667
43674
|
onSelectAll: PropTypes__default['default'].func,
|
|
43668
43675
|
onChangeSort: PropTypes__default['default'].func,
|
|
43669
43676
|
|
|
43670
|
-
/** callback if a row action is clicked called with the id of the action then the id of the row if you
|
|
43677
|
+
/** callback if a row action is clicked called with the id of the action then the id of the row if you
|
|
43678
|
+
* return a promise from apply row action the stateful table will assume you're asynchronous and give a spinner */
|
|
43671
43679
|
onApplyRowAction: PropTypes__default['default'].func,
|
|
43672
43680
|
onClearRowError: PropTypes__default['default'].func,
|
|
43673
43681
|
onEmptyStateAction: PropTypes__default['default'].func,
|
|
@@ -44981,7 +44989,7 @@
|
|
|
44981
44989
|
"value": {
|
|
44982
44990
|
"onChangePage": {
|
|
44983
44991
|
"name": "func",
|
|
44984
|
-
"description": "Specify a callback for when the current page or page size is changed
|
|
44992
|
+
"description": "Specify a callback for when the current page or page size is changed.\nThis callback is passed an object parameter containing the current page and the current page size",
|
|
44985
44993
|
"required": false
|
|
44986
44994
|
}
|
|
44987
44995
|
},
|
|
@@ -45008,15 +45016,17 @@
|
|
|
45008
45016
|
},
|
|
45009
45017
|
"onClearAllFilters": {
|
|
45010
45018
|
"name": "func",
|
|
45011
|
-
"description": "Specify a callback for when the user clicks toolbar button to clear all filters
|
|
45019
|
+
"description": "Specify a callback for when the user clicks toolbar button to clear all filters.\nReceives a parameter of the current filter values for each column",
|
|
45012
45020
|
"required": false
|
|
45013
45021
|
},
|
|
45014
45022
|
"onCancelBatchAction": {
|
|
45015
45023
|
"name": "func",
|
|
45024
|
+
"description": "Callback for when the automatcally generated Cancel action in the batch actions bar is clicked",
|
|
45016
45025
|
"required": false
|
|
45017
45026
|
},
|
|
45018
45027
|
"onApplyBatchAction": {
|
|
45019
45028
|
"name": "func",
|
|
45029
|
+
"description": "Callback for all the batch actions except the cancel. Is called with the id of the clicked action.\n For the StatefulTable the current selections are received as second parameter",
|
|
45020
45030
|
"required": false
|
|
45021
45031
|
},
|
|
45022
45032
|
"onApplySearch": {
|
|
@@ -45097,7 +45107,7 @@
|
|
|
45097
45107
|
},
|
|
45098
45108
|
"onApplyRowAction": {
|
|
45099
45109
|
"name": "func",
|
|
45100
|
-
"description": "callback if a row action is clicked called with the id of the action then the id of the row if you
|
|
45110
|
+
"description": "callback if a row action is clicked called with the id of the action then the id of the row if you\nreturn a promise from apply row action the stateful table will assume you're asynchronous and give a spinner",
|
|
45101
45111
|
"required": false
|
|
45102
45112
|
},
|
|
45103
45113
|
"onClearRowError": {
|