@trackunit/react-components 0.1.178 → 0.1.179
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +4 -4
package/index.cjs.js
CHANGED
|
@@ -14912,7 +14912,7 @@ const localeLookup = {
|
|
|
14912
14912
|
* @returns {Locale} The corresponding Locale object
|
|
14913
14913
|
*/
|
|
14914
14914
|
const useLocale = (language) => {
|
|
14915
|
-
return localeLookup[language] || localeLookup.en;
|
|
14915
|
+
return localeLookup[language] || localeLookup.en || enGB;
|
|
14916
14916
|
};
|
|
14917
14917
|
|
|
14918
14918
|
/**
|
package/index.esm.js
CHANGED
|
@@ -14883,7 +14883,7 @@ const localeLookup = {
|
|
|
14883
14883
|
* @returns {Locale} The corresponding Locale object
|
|
14884
14884
|
*/
|
|
14885
14885
|
const useLocale = (language) => {
|
|
14886
|
-
return localeLookup[language] || localeLookup.en;
|
|
14886
|
+
return localeLookup[language] || localeLookup.en || enGB;
|
|
14887
14887
|
};
|
|
14888
14888
|
|
|
14889
14889
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.179",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@floating-ui/react": "0.25.4",
|
|
11
11
|
"@trackunit/css-class-variance-utilities": "0.0.14",
|
|
12
|
-
"@trackunit/css-core": "0.0.
|
|
13
|
-
"@trackunit/shared-utils": "0.0.
|
|
14
|
-
"@trackunit/ui-design-tokens": "0.0.
|
|
12
|
+
"@trackunit/css-core": "0.0.98",
|
|
13
|
+
"@trackunit/shared-utils": "0.0.12",
|
|
14
|
+
"@trackunit/ui-design-tokens": "0.0.79",
|
|
15
15
|
"@trackunit/ui-icons": "0.0.78",
|
|
16
16
|
"date-fns": "2.29.3",
|
|
17
17
|
"lodash": "4.17.21",
|