@longline/aqua-ui 1.0.147 → 1.0.148

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.
@@ -52,7 +52,7 @@ var BodyBase = React.forwardRef(function (props, ref) {
52
52
  var handleYear = function (year) {
53
53
  date.setFullYear(year);
54
54
  };
55
- return (React.createElement("div", __assign({ style: props.styles.popper }, props.attributes.popper, { className: props.className, tabIndex: -1, ref: ref, onMouseDown: function (e) { console.log("PROP"); e.stopPropagation(); } }),
55
+ return (React.createElement("div", __assign({ style: props.styles.popper }, props.attributes.popper, { className: props.className, tabIndex: -1, ref: ref, onMouseDown: function (e) { return e.stopPropagation(); } }),
56
56
  React.createElement(Navbar, { date: date, onPrevYear: handlePrevYear, onNextYear: handleNextYear, onPrevMonth: handlePrevMonth, onNextMonth: handleNextMonth, onMonth: handleMonth, onYear: handleYear }),
57
57
  React.createElement(Calendar, { date: date, selectedDate: props.value, nofuture: props.nofuture, onClick: handleDayClick })));
58
58
  });
@@ -9,7 +9,7 @@ interface IProps {
9
9
  /**
10
10
  * Current input value.
11
11
  */
12
- value?: string | null;
12
+ value?: string | Date | null;
13
13
  /**
14
14
  * Marks input as disabled. Disabled inputs cannot be interacted with.
15
15
  * @default false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longline/aqua-ui",
3
- "version": "1.0.147",
3
+ "version": "1.0.148",
4
4
  "description": "AquaUI",
5
5
  "author": "Alexander van Oostenrijk / Longline Environment",
6
6
  "license": "Commercial",