@reykjavik/hanna-react 0.10.77 → 0.10.78

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
@@ -4,7 +4,7 @@
4
4
 
5
5
  - ... <!-- Add new lines here. -->
6
6
 
7
- ## 0.10.77
7
+ ## 0.10.77 – 0.10.78
8
8
 
9
9
  _2022-12-18_
10
10
 
package/Datepicker.js CHANGED
@@ -72,13 +72,13 @@ const Datepicker = (props) => {
72
72
  if (inputElm) {
73
73
  inputElm.dispatchEvent(new Event('change', { bubbles: true }));
74
74
  }
75
- }, onChangeRaw: (e) => {
76
- const { value } = e.currentTarget;
77
- console.log({ value });
78
75
  }, placeholderText: placeholder,
79
76
  // TODO: Implement this
80
77
  // selectsRange
81
- minDate: minDate, maxDate: maxDate, startDate: startDate, endDate: endDate, selectsStart: isStartDate, selectsEnd: isEndDate, formatWeekDay: (weekday) => weekday.charAt(0).toUpperCase(), showYearDropdown: true, scrollableYearDropdown: true, yearDropdownItemNumber: 15, showMonthDropdown: true }, inputProps, txts, datepickerExtraProps))));
78
+ minDate: minDate, maxDate: maxDate, startDate: startDate, endDate: endDate, selectsStart: isStartDate, selectsEnd: isEndDate, formatWeekDay: (weekday) => {
79
+ // TODO: if we use costom locale we don't need this
80
+ return weekday.charAt(0).toUpperCase();
81
+ }, showYearDropdown: true, scrollableYearDropdown: true, yearDropdownItemNumber: 15, showMonthDropdown: true }, inputProps, txts, datepickerExtraProps))));
82
82
  } }));
83
83
  };
84
84
  exports.Datepicker = Datepicker;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reykjavik/hanna-react",
3
- "version": "0.10.77",
3
+ "version": "0.10.78",
4
4
  "author": "Reykjavík (http://www.reykjavik.is)",
5
5
  "contributors": [
6
6
  "Hugsmiðjan ehf (http://www.hugsmidjan.is)",