@cashub/ui 0.18.3 → 0.18.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.
@@ -46,7 +46,9 @@ var Month = function Month(_ref) {
46
46
  setAccordionCurrentDisplayType = _useContext.setAccordionCurrentDisplayType;
47
47
 
48
48
  var handleChangeMonth = (0, _react.useCallback)(function (month) {
49
+ // switch to the first day of the target month
49
50
  var date = new Date(selectedDate);
51
+ date.setDate(1);
50
52
  date.setMonth(month);
51
53
  setSelectedDate((0, _utils.datetimeTFormat)(date));
52
54
  setAccordionCurrentDisplayType(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cashub/ui",
3
- "version": "0.18.3",
3
+ "version": "0.18.5",
4
4
  "private": false,
5
5
  "author": "CASHUB Team",
6
6
  "description": "CASHUB UI components library",
package/select/Select.js CHANGED
@@ -176,7 +176,7 @@ var Select = function Select(_ref) {
176
176
  if (options.length > 0 && multiple && enableSelectAll) {
177
177
  newOptions.unshift({
178
178
  id: allOptionId,
179
- text: t('all')
179
+ text: t('All')
180
180
  });
181
181
  }
182
182