@zohodesk/i18n 1.0.0-beta.22 → 1.0.0-beta.23

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/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # i18n
2
2
 
3
+ # 1.0.0-beta.23
4
+
5
+ - Zoho security version updated.
6
+
3
7
  # 1.0.0-beta.22
4
8
 
5
9
  - Data test id added for I18N.js
@@ -15,7 +19,6 @@
15
19
  # 1.0.0-beta.19
16
20
 
17
21
  - In this version we have made changes in i18n provider to call user date format function only if the time zone data is available.
18
-
19
22
  # 1.0.0-beta.18
20
23
 
21
24
  - Localization feature added and incorporated into getI18NValue Method.
@@ -68,6 +68,7 @@ I18N.propTypes = {
68
68
  i18NKey: PropTypes.string.isRequired,
69
69
  isHtml: PropTypes.bool,
70
70
  tag: PropTypes.string,
71
+ dataId: PropTypes.string,
71
72
  values: PropTypes.oneOfType([PropTypes.string, PropTypes.array])
72
73
  };
73
74
  I18N.defaultProps = {
@@ -126,6 +126,7 @@ I18N.propTypes = {
126
126
  i18NKey: _propTypes["default"].string.isRequired,
127
127
  isHtml: _propTypes["default"].bool,
128
128
  tag: _propTypes["default"].string,
129
+ dataId: _propTypes["default"].string,
129
130
  values: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].array])
130
131
  };
131
132
  I18N.defaultProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/i18n",
3
- "version": "1.0.0-beta.22",
3
+ "version": "1.0.0-beta.23",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "jsnext:main": "es/index.js",
@@ -19,11 +19,11 @@
19
19
  "lint": "react-cli lint"
20
20
  },
21
21
  "dependencies": {
22
- "@zoho/SecurityJS": "5.0.2"
22
+ "@zoho/SecurityJS": "5.2.0"
23
23
  },
24
24
  "react-cli": {
25
25
  "docs": {
26
26
  "componentFolder": "./src"
27
27
  }
28
28
  }
29
- }
29
+ }
@@ -64,6 +64,7 @@ I18N.propTypes = {
64
64
  i18NKey: PropTypes.string.isRequired,
65
65
  isHtml: PropTypes.bool,
66
66
  tag: PropTypes.string,
67
+ dataId: PropTypes.string,
67
68
  values: PropTypes.oneOfType([PropTypes.string, PropTypes.array])
68
69
  };
69
70
  I18N.defaultProps = {