carbon-react 144.17.1 → 144.18.0

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.
@@ -31,6 +31,8 @@ export interface MultiSelectProps extends Omit<FormInputPropTypes, "defaultValue
31
31
  onFilterChange?: (filterText: string) => void;
32
32
  /** A custom callback for when the dropdown menu opens */
33
33
  onOpen?: () => void;
34
+ /** A callback that is triggered when a user scrolls to the bottom of the list */
35
+ onListScrollBottom?: () => void;
34
36
  /** If true the Component opens on focus */
35
37
  openOnFocus?: boolean;
36
38
  /** SelectList table header, should consist of multiple th elements.
@@ -40,6 +40,7 @@ const MultiSelect = /*#__PURE__*/React.forwardRef(({
40
40
  noResultsMessage,
41
41
  placeholder,
42
42
  isLoading,
43
+ onListScrollBottom,
43
44
  tableHeader,
44
45
  multiColumn,
45
46
  tooltipPosition,
@@ -449,6 +450,7 @@ const MultiSelect = /*#__PURE__*/React.forwardRef(({
449
450
  highlightedValue: highlightedValue,
450
451
  noResultsMessage: noResultsMessage,
451
452
  isLoading: isLoading,
453
+ onListScrollBottom: onListScrollBottom,
452
454
  tableHeader: tableHeader,
453
455
  multiColumn: multiColumn,
454
456
  listPlacement: listWidth !== undefined ? placement : listPlacement,
@@ -912,6 +914,7 @@ if (process.env.NODE_ENV !== "production") {
912
914
  "onKeyPressCapture": PropTypes.func,
913
915
  "onKeyUp": PropTypes.func,
914
916
  "onKeyUpCapture": PropTypes.func,
917
+ "onListScrollBottom": PropTypes.func,
915
918
  "onLoad": PropTypes.func,
916
919
  "onLoadCapture": PropTypes.func,
917
920
  "onLoadedData": PropTypes.func,
@@ -31,6 +31,8 @@ export interface MultiSelectProps extends Omit<FormInputPropTypes, "defaultValue
31
31
  onFilterChange?: (filterText: string) => void;
32
32
  /** A custom callback for when the dropdown menu opens */
33
33
  onOpen?: () => void;
34
+ /** A callback that is triggered when a user scrolls to the bottom of the list */
35
+ onListScrollBottom?: () => void;
34
36
  /** If true the Component opens on focus */
35
37
  openOnFocus?: boolean;
36
38
  /** SelectList table header, should consist of multiple th elements.
@@ -49,6 +49,7 @@ const MultiSelect = exports.MultiSelect = /*#__PURE__*/_react.default.forwardRef
49
49
  noResultsMessage,
50
50
  placeholder,
51
51
  isLoading,
52
+ onListScrollBottom,
52
53
  tableHeader,
53
54
  multiColumn,
54
55
  tooltipPosition,
@@ -458,6 +459,7 @@ const MultiSelect = exports.MultiSelect = /*#__PURE__*/_react.default.forwardRef
458
459
  highlightedValue: highlightedValue,
459
460
  noResultsMessage: noResultsMessage,
460
461
  isLoading: isLoading,
462
+ onListScrollBottom: onListScrollBottom,
461
463
  tableHeader: tableHeader,
462
464
  multiColumn: multiColumn,
463
465
  listPlacement: listWidth !== undefined ? placement : listPlacement,
@@ -921,6 +923,7 @@ if (process.env.NODE_ENV !== "production") {
921
923
  "onKeyPressCapture": _propTypes.default.func,
922
924
  "onKeyUp": _propTypes.default.func,
923
925
  "onKeyUpCapture": _propTypes.default.func,
926
+ "onListScrollBottom": _propTypes.default.func,
924
927
  "onLoad": _propTypes.default.func,
925
928
  "onLoadCapture": _propTypes.default.func,
926
929
  "onLoadedData": _propTypes.default.func,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "144.17.1",
3
+ "version": "144.18.0",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",