@dhis2-ui/calendar 9.9.0-alpha.1 → 9.9.1

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.9.0-alpha.1",
3
+ "version": "9.9.1",
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.0-alpha.1",
37
- "@dhis2-ui/card": "9.9.0-alpha.1",
38
- "@dhis2-ui/input": "9.9.0-alpha.1",
39
- "@dhis2-ui/layer": "9.9.0-alpha.1",
40
- "@dhis2-ui/popper": "9.9.0-alpha.1",
41
- "@dhis2/multi-calendar-dates": "^1.1.1",
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",
41
+ "@dhis2/multi-calendar-dates": "^1.2.3",
42
42
  "@dhis2/prop-types": "^3.1.2",
43
- "@dhis2/ui-constants": "9.9.0-alpha.1",
44
- "@dhis2/ui-icons": "9.9.0-alpha.1",
43
+ "@dhis2/ui-constants": "9.9.1",
44
+ "@dhis2/ui-icons": "9.9.1",
45
45
  "classnames": "^2.3.1",
46
46
  "prop-types": "^15.7.2"
47
47
  },