@canmingir/link 1.2.58 → 1.2.59

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canmingir/link",
3
- "version": "1.2.58",
3
+ "version": "1.2.59",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "bin": {
@@ -2,7 +2,7 @@ import Joi from "joi";
2
2
 
3
3
  export const ConfigSchema = Joi.object({
4
4
  appId: Joi.string().uuid().required(),
5
- name: Joi.string().required(),
5
+ name: Joi.string().optional().default(""),
6
6
  beta: Joi.boolean().optional(),
7
7
  base: Joi.string().required(),
8
8
  api: Joi.string().uri().required(),
@@ -73,7 +73,7 @@ export default function NavVertical({ openNav, onCloseNav }) {
73
73
  mt: 3,
74
74
  }}
75
75
  >
76
- <Logo sx={{ ml: 4, mb: 1 }} />
76
+ <Logo maxSize={name ? 100 : 200} sx={{ ml: 4, mb: 1 }} />
77
77
  <Link to="/" style={{ textDecoration: "none", color: "white" }}>
78
78
  <Typography
79
79
  sx={{
@@ -105,7 +105,7 @@ export default function NavVertical({ openNav, onCloseNav }) {
105
105
  mt: 3,
106
106
  }}
107
107
  >
108
- <Logo sx={{ ml: 4 }} />
108
+ <Logo maxSize={name ? 100 : 150} sx={{ ml: name ? 4 : -10 }} />
109
109
  <Typography
110
110
  sx={{
111
111
  ml: 2,