@ebscn/ui 1.0.3-beta.16 → 1.0.3-beta.18

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.
@@ -217,8 +217,10 @@ var DateRangePicker = exports.DateRangePicker = (0, _react.memo)((0, _react.forw
217
217
  innerValue = _f[0],
218
218
  setInnerValue = _f[1];
219
219
  (0, _react.useEffect)(function () {
220
+ var _a;
220
221
  //todo
221
222
  setInnerValue(pickerValue);
223
+ (_a = props.onSelect) === null || _a === void 0 ? void 0 : _a.call(props, pickerValue);
222
224
  }, [visible, pickerValue]);
223
225
  var _g = (0, _react.useState)(0),
224
226
  activeIndex = _g[0],
@@ -248,7 +248,7 @@ var InfiniteScroll = function (p) {
248
248
  return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("div", {
249
249
  className: classPrefix,
250
250
  ref: elementRef
251
- }, typeof props.children === 'function' ? props.children(props.hasMore, failed, retry) : props.children));
251
+ }, typeof props.children === 'function' ? props.children(props.hasMore, failed, retry, props.NoMoreContent) : props.children));
252
252
  };
253
253
  exports.InfiniteScroll = InfiniteScroll;
254
254
  var InfiniteScrollContent = function (props) {
@@ -207,8 +207,10 @@ export var DateRangePicker = memo(forwardRef(function (p, ref) {
207
207
  innerValue = _f[0],
208
208
  setInnerValue = _f[1];
209
209
  useEffect(function () {
210
+ var _a;
210
211
  //todo
211
212
  setInnerValue(pickerValue);
213
+ (_a = props.onSelect) === null || _a === void 0 ? void 0 : _a.call(props, pickerValue);
212
214
  }, [visible, pickerValue]);
213
215
  var _g = useState(0),
214
216
  activeIndex = _g[0],
@@ -239,7 +239,7 @@ export var InfiniteScroll = function (p) {
239
239
  return withNativeProps(props, React.createElement("div", {
240
240
  className: classPrefix,
241
241
  ref: elementRef
242
- }, typeof props.children === 'function' ? props.children(props.hasMore, failed, retry) : props.children));
242
+ }, typeof props.children === 'function' ? props.children(props.hasMore, failed, retry, props.NoMoreContent) : props.children));
243
243
  };
244
244
  var InfiniteScrollContent = function (props) {
245
245
  var _a, _b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebscn/ui",
3
- "version": "1.0.3-beta.16",
3
+ "version": "1.0.3-beta.18",
4
4
  "description": "ebscn react library",
5
5
  "module": "./es/index.js",
6
6
  "types": "./es/index.d.ts",