@dhis2-ui/calendar 9.9.1 → 9.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -44,7 +44,8 @@ const buildCalendar = _ref => {
44
44
  weekDayFormat: "short",
45
45
  date: date,
46
46
  locale: locale,
47
- calendar: calendar
47
+ calendar: calendar,
48
+ onDateSelect: () => {}
48
49
  });
49
50
  };
50
51
 
@@ -103,7 +104,8 @@ const IslamicWithArabic = () => {
103
104
  date: "1477-01-13",
104
105
  locale: "ar-SD",
105
106
  calendar: "islamic-civil",
106
- clearable: true
107
+ clearable: true,
108
+ onDateSelect: () => {}
107
109
  }));
108
110
  };
109
111
 
@@ -29,7 +29,8 @@ const buildCalendar = _ref => {
29
29
  weekDayFormat: "short",
30
30
  date: date,
31
31
  locale: locale,
32
- calendar: calendar
32
+ calendar: calendar,
33
+ onDateSelect: () => {}
33
34
  });
34
35
  };
35
36
 
@@ -81,7 +82,8 @@ export const IslamicWithArabic = () => {
81
82
  date: "1477-01-13",
82
83
  locale: "ar-SD",
83
84
  calendar: "islamic-civil",
84
- clearable: true
85
+ clearable: true,
86
+ onDateSelect: () => {}
85
87
  }));
86
88
  };
87
89
  export const CalendarWithClearButton = _ref2 => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2-ui/calendar",
3
- "version": "9.9.1",
3
+ "version": "9.10.0",
4
4
  "description": "UI Calendar",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,15 +33,15 @@
33
33
  "styled-jsx": "^4"
34
34
  },
35
35
  "dependencies": {
36
- "@dhis2-ui/button": "9.9.1",
37
- "@dhis2-ui/card": "9.9.1",
38
- "@dhis2-ui/input": "9.9.1",
39
- "@dhis2-ui/layer": "9.9.1",
40
- "@dhis2-ui/popper": "9.9.1",
36
+ "@dhis2-ui/button": "9.10.0",
37
+ "@dhis2-ui/card": "9.10.0",
38
+ "@dhis2-ui/input": "9.10.0",
39
+ "@dhis2-ui/layer": "9.10.0",
40
+ "@dhis2-ui/popper": "9.10.0",
41
41
  "@dhis2/multi-calendar-dates": "^1.2.3",
42
42
  "@dhis2/prop-types": "^3.1.2",
43
- "@dhis2/ui-constants": "9.9.1",
44
- "@dhis2/ui-icons": "9.9.1",
43
+ "@dhis2/ui-constants": "9.10.0",
44
+ "@dhis2/ui-icons": "9.10.0",
45
45
  "classnames": "^2.3.1",
46
46
  "prop-types": "^15.7.2"
47
47
  },