wini-web-components 0.9.3 → 0.9.5

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.
@@ -186,7 +186,7 @@ var DatePicker = /** @class */ (function (_super) {
186
186
  right: document.body.offsetWidth - this.state.offset.left + 'px'
187
187
  };
188
188
  }
189
- if ((thisPopupRect.bottom - 20) > document.body.offsetHeight) {
189
+ if ((thisPopupRect.bottom - 12) > document.body.offsetHeight) {
190
190
  style = style ? __assign(__assign({}, style), { top: undefined, bottom: document.body.offsetHeight - this.state.offset.top + 'px' }) : {
191
191
  left: this.state.offset.x + 'px',
192
192
  bottom: document.body.offsetHeight - this.state.offset.top + 'px'
@@ -28,7 +28,7 @@ function Pagination(_a) {
28
28
  hiddenPageSize ? null : react_1.default.createElement("div", { className: "row items-per-page-container" },
29
29
  react_1.default.createElement(index_1.Text, { className: "regular2" }, "Items/page"),
30
30
  react_1.default.createElement("div", { className: "row" },
31
- react_1.default.createElement(index_1.Select1, { searchPlaceholder: 'Search', style: { width: '8.6rem' }, placeholder: itemPerPage.toString(), options: [10, 20, 50, 100, 200].map(function (item, _) { return { id: item, name: item }; }), onChange: function (ev) {
31
+ react_1.default.createElement(index_1.Select1, { hideSearch: true, searchPlaceholder: 'Search', style: { width: '8.6rem' }, placeholder: itemPerPage.toString(), options: [10, 20, 50, 100, 200].map(function (item, _) { return { id: item, name: item }; }), onChange: function (ev) {
32
32
  onChangePage(currentPage, isNaN(parseInt(ev.id)) ? itemPerPage : parseInt(ev.id));
33
33
  } }))),
34
34
  react_1.default.createElement(react_paginate_1.default, { breakLabel: "...", nextLabel: "Next", onPageChange: function (ev) {