@dhis2-ui/calendar 9.8.7 → 9.8.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -86,7 +86,7 @@ const CalendarInput = function () {
86
86
  ref: ref,
87
87
  className: "jsx-862452676" + " " + "calendar-input-wrapper"
88
88
  }, /*#__PURE__*/_react.default.createElement(_input.InputField, _extends({
89
- label: "Pick a date"
89
+ label: _index.default.t('Pick a date')
90
90
  }, rest, {
91
91
  type: "text",
92
92
  onFocus: onFocus,
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "Go to previous year": "Go to previous year",
3
3
  "Go to next year": "Go to next year",
4
+ "Pick a date": "Pick a date",
4
5
  "Clear": "Clear"
5
6
  }
@@ -62,7 +62,7 @@ export const CalendarInput = function () {
62
62
  ref: ref,
63
63
  className: "jsx-862452676" + " " + "calendar-input-wrapper"
64
64
  }, /*#__PURE__*/React.createElement(InputField, _extends({
65
- label: "Pick a date"
65
+ label: i18n.t('Pick a date')
66
66
  }, rest, {
67
67
  type: "text",
68
68
  onFocus: onFocus,
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "Go to previous year": "Go to previous year",
3
3
  "Go to next year": "Go to next year",
4
+ "Pick a date": "Pick a date",
4
5
  "Clear": "Clear"
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2-ui/calendar",
3
- "version": "9.8.7",
3
+ "version": "9.8.9",
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.8.7",
37
- "@dhis2-ui/card": "9.8.7",
38
- "@dhis2-ui/input": "9.8.7",
39
- "@dhis2-ui/layer": "9.8.7",
40
- "@dhis2-ui/popper": "9.8.7",
41
- "@dhis2/multi-calendar-dates": "^1.1.1",
36
+ "@dhis2-ui/button": "9.8.9",
37
+ "@dhis2-ui/card": "9.8.9",
38
+ "@dhis2-ui/input": "9.8.9",
39
+ "@dhis2-ui/layer": "9.8.9",
40
+ "@dhis2-ui/popper": "9.8.9",
41
+ "@dhis2/multi-calendar-dates": "^1.1.2",
42
42
  "@dhis2/prop-types": "^3.1.2",
43
- "@dhis2/ui-constants": "9.8.7",
44
- "@dhis2/ui-icons": "9.8.7",
43
+ "@dhis2/ui-constants": "9.8.9",
44
+ "@dhis2/ui-icons": "9.8.9",
45
45
  "classnames": "^2.3.1",
46
46
  "prop-types": "^15.7.2"
47
47
  },