@ludo.ninja/components 2.4.5 → 2.4.7
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.
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
const
|
|
7
|
+
const Text_1 = require("@ludo.ninja/ui/build/system/Text");
|
|
8
8
|
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
9
9
|
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
10
10
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
@@ -29,6 +29,6 @@ const Wrapper = styled_components_1.default.div `
|
|
|
29
29
|
}
|
|
30
30
|
`;
|
|
31
31
|
const AmbassadorBadge = ({ className, backgroundColor = '#f3f4f9' }) => {
|
|
32
|
-
return ((0, jsx_runtime_1.jsx)(Wrapper, { className: className, background: backgroundColor, children: (0, jsx_runtime_1.jsx)(
|
|
32
|
+
return ((0, jsx_runtime_1.jsx)(Wrapper, { className: className, background: backgroundColor, children: (0, jsx_runtime_1.jsx)(Text_1.H6, { children: "Ambassador" }) }));
|
|
33
33
|
};
|
|
34
34
|
exports.default = AmbassadorBadge;
|
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
const
|
|
7
|
+
const Text_1 = require("@ludo.ninja/ui/build/system/Text");
|
|
8
8
|
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
9
9
|
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
10
10
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
@@ -29,6 +29,6 @@ const Wrapper = styled_components_1.default.div `
|
|
|
29
29
|
}
|
|
30
30
|
`;
|
|
31
31
|
const EducatorBadge = ({ className, backgroundColor = '#f3f4f9' }) => {
|
|
32
|
-
return ((0, jsx_runtime_1.jsx)(Wrapper, { className: className, background: backgroundColor, children: (0, jsx_runtime_1.jsx)(
|
|
32
|
+
return ((0, jsx_runtime_1.jsx)(Wrapper, { className: className, background: backgroundColor, children: (0, jsx_runtime_1.jsx)(Text_1.H6, { children: "Educator" }) }));
|
|
33
33
|
};
|
|
34
34
|
exports.default = EducatorBadge;
|
|
@@ -34,10 +34,10 @@ const FetcherMyProfile = ( /*{ userId }: { userId: string }*/) => {
|
|
|
34
34
|
}
|
|
35
35
|
if (fetchMyProfile.xps) {
|
|
36
36
|
setUserExp({
|
|
37
|
-
levelMaxXps: fetchMyProfile.levelMaxXps,
|
|
38
|
-
levelMinXps: fetchMyProfile.levelMinXps,
|
|
37
|
+
// levelMaxXps: fetchMyProfile.levelMaxXps,
|
|
38
|
+
// levelMinXps: fetchMyProfile.levelMinXps,
|
|
39
39
|
xps: fetchMyProfile.xps,
|
|
40
|
-
level: fetchMyProfile.level,
|
|
40
|
+
// level: fetchMyProfile.level,
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
if (fetchMyProfile.inviteCodes) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ludo.ninja/components",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"publish": "npm publish --access public -workspace @ludo.ninja/components"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@ludo.ninja/api": "^3.2.
|
|
26
|
+
"@ludo.ninja/api": "^3.2.47",
|
|
27
27
|
"@next/third-parties": "^15.3.4",
|
|
28
28
|
"@react-three/drei": "^9.68.3",
|
|
29
29
|
"@react-three/fiber": "^8.13.0",
|