@bigbinary/neeto-commons-frontend 2.1.12 → 2.1.13
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/package.json +1 -1
- package/react-utils.cjs.js +4 -1
- package/react-utils.cjs.js.map +1 -1
- package/react-utils.d.ts +26 -2
- package/react-utils.js +4 -1
- package/react-utils.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-commons-frontend",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.13",
|
|
4
4
|
"description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
package/react-utils.cjs.js
CHANGED
|
@@ -6310,7 +6310,10 @@ var isMetaKeyPressed = function isMetaKeyPressed(event) {
|
|
|
6310
6310
|
return !!(event !== null && event !== void 0 && event.ctrlKey || event !== null && event !== void 0 && event.metaKey);
|
|
6311
6311
|
};
|
|
6312
6312
|
|
|
6313
|
-
var withT =
|
|
6313
|
+
var withT = function withT(Component, options) {
|
|
6314
|
+
var namespace = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
6315
|
+
return reactI18next.withTranslation(namespace, options)(Component);
|
|
6316
|
+
};
|
|
6314
6317
|
|
|
6315
6318
|
var withTitle = function withTitle(Component) {
|
|
6316
6319
|
var title = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
|