@campxdev/react-blueprint 1.0.1 → 1.0.3
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
|
@@ -67,7 +67,7 @@ export const Tutorial = ({
|
|
|
67
67
|
JSON.stringify([...JSON.parse(userTours), tourName])
|
|
68
68
|
);
|
|
69
69
|
}
|
|
70
|
-
await axios.post("/square/tours/complete", { reqData });
|
|
70
|
+
await axios.post("/square/tours/complete", { ...reqData });
|
|
71
71
|
} catch (error) {
|
|
72
72
|
console.error("Error completing the tour:", error);
|
|
73
73
|
}
|
|
@@ -67,23 +67,21 @@ export const Sidebar = ({
|
|
|
67
67
|
</StyledListItemButton>
|
|
68
68
|
)}
|
|
69
69
|
{collapsed && (
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
<
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
</StyledListItemIcon>
|
|
86
|
-
</StyledListItemButton>
|
|
70
|
+
<>
|
|
71
|
+
{Icon ? (
|
|
72
|
+
<Tooltip
|
|
73
|
+
title={<Typography variant="label2">{name}</Typography>}
|
|
74
|
+
>
|
|
75
|
+
{Icon}
|
|
76
|
+
</Tooltip>
|
|
77
|
+
) : (
|
|
78
|
+
<Tooltip
|
|
79
|
+
title={<Typography variant="label2">{name}</Typography>}
|
|
80
|
+
>
|
|
81
|
+
<Icons.HomeIcon />
|
|
82
|
+
</Tooltip>
|
|
83
|
+
)}
|
|
84
|
+
</>
|
|
87
85
|
)}
|
|
88
86
|
</StyledLinkButton>
|
|
89
87
|
</StyledListItem>
|
|
@@ -187,7 +187,7 @@ export const getCommonTheme = (mode: Theme) => {
|
|
|
187
187
|
styleOverrides: {
|
|
188
188
|
tooltip: {
|
|
189
189
|
backgroundColor: ColorTokens.surface.paperBackground,
|
|
190
|
-
boxShadow: `0px 2px 5px ${ColorTokens.secondary.main}`,
|
|
190
|
+
// boxShadow: `0px 2px 5px ${ColorTokens.secondary.main}`,
|
|
191
191
|
border: `1px solid ${ColorTokens.secondary.main}`,
|
|
192
192
|
},
|
|
193
193
|
arrow: {
|