@canmingir/link 1.2.62 → 1.2.63
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,8 +1,8 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
1
|
import { Box, Card, Stack, Typography } from "@mui/material";
|
|
4
2
|
import { alpha, useTheme } from "@mui/material/styles";
|
|
5
3
|
|
|
4
|
+
import React from "react";
|
|
5
|
+
|
|
6
6
|
const STYLES = {
|
|
7
7
|
width: "100%",
|
|
8
8
|
display: "-webkit-box",
|
|
@@ -158,7 +158,7 @@ export function SideStripeCard({
|
|
|
158
158
|
const theme = useTheme();
|
|
159
159
|
|
|
160
160
|
return (
|
|
161
|
-
<Box sx={{ cursor: "
|
|
161
|
+
<Box sx={{ cursor: "inherit" }}>
|
|
162
162
|
<Card
|
|
163
163
|
sx={{
|
|
164
164
|
display: "flex",
|
|
@@ -315,7 +315,7 @@ export function HeaderCard({
|
|
|
315
315
|
left: 0,
|
|
316
316
|
background: `linear-gradient(135deg, ${alpha(
|
|
317
317
|
theme.palette.secondary.light,
|
|
318
|
-
0.2
|
|
318
|
+
0.2,
|
|
319
319
|
)}, ${alpha(theme.palette.primary.main, 0.3)})`,
|
|
320
320
|
borderRadius: "8px 8px 0 0",
|
|
321
321
|
transition: "height 0.3s ease-in-out",
|
|
@@ -369,7 +369,7 @@ export function AvatarRoleCard({
|
|
|
369
369
|
left: 0,
|
|
370
370
|
background: `linear-gradient(135deg, ${alpha(
|
|
371
371
|
theme.palette.secondary.light,
|
|
372
|
-
0.2
|
|
372
|
+
0.2,
|
|
373
373
|
)}, ${alpha(theme.palette.primary.main, 0.3)})`,
|
|
374
374
|
borderRadius: "8px 8px 0 0",
|
|
375
375
|
transition: "height 0.3s ease-in-out",
|
|
@@ -385,8 +385,9 @@ export function AvatarRoleCard({
|
|
|
385
385
|
direction="row"
|
|
386
386
|
sx={{
|
|
387
387
|
justifyContent: "space-between",
|
|
388
|
-
alignItems: "flex-start"
|
|
389
|
-
}}
|
|
388
|
+
alignItems: "flex-start",
|
|
389
|
+
}}
|
|
390
|
+
>
|
|
390
391
|
{leftContent}
|
|
391
392
|
{topRightContent}
|
|
392
393
|
</Stack>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Iconify } from "@canmingir/link/platform/components";
|
|
2
|
-
|
|
3
1
|
import React, { useEffect, useState } from "react";
|
|
4
2
|
import { alpha, styled } from "@mui/material/styles";
|
|
5
3
|
|
|
4
|
+
import { Iconify } from "@canmingir/link/platform/components";
|
|
5
|
+
|
|
6
6
|
const ANIMATION_DELAY_MS = 200;
|
|
7
7
|
|
|
8
8
|
const MainContainer = styled("div", {
|
|
@@ -33,7 +33,7 @@ const MainContainer = styled("div", {
|
|
|
33
33
|
border: `1px solid ${borderColor}`,
|
|
34
34
|
backdropFilter: "blur(10px)",
|
|
35
35
|
transition: "all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",
|
|
36
|
-
cursor: "
|
|
36
|
+
cursor: "inherit",
|
|
37
37
|
position: "relative",
|
|
38
38
|
overflow: "hidden",
|
|
39
39
|
minWidth,
|