@campxdev/react-blueprint 0.1.47 → 0.1.48

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": "@campxdev/react-blueprint",
3
- "version": "0.1.47",
3
+ "version": "0.1.48",
4
4
  "main": "./export.ts",
5
5
  "private": false,
6
6
  "dependencies": {
@@ -57,7 +57,7 @@ export const Sidebar = ({
57
57
  <StyledListItemIcon collapsed={collapsed}>
58
58
  {Icon ? Icon : <Icons.HomeIcon />}
59
59
  </StyledListItemIcon>
60
- {!collapsed && <Typography variant="subtitle3">{name}</Typography>}
60
+ {!collapsed && <Typography variant="subtitle2">{name}</Typography>}
61
61
  </StyledListItemButton>
62
62
  </StyledLinkButton>
63
63
  </StyledListItem>
@@ -67,7 +67,7 @@ export const Sidebar = ({
67
67
  return (
68
68
  <StyledSidebarContainer direction="column" spacing="12px">
69
69
  <StyledLogoArea collapsed={collapsed}>
70
- {collapsed ? <CampxIcon /> : <CampxFullLogoIcon />}
70
+ {collapsed ? <CampxIcon size={32} /> : <CampxFullLogoIcon />}
71
71
  </StyledLogoArea>
72
72
  <StyledMenuBar>
73
73
  {menu &&
@@ -78,7 +78,7 @@ export const Sidebar = ({
78
78
  </StyledMenuBar>
79
79
  <StyledCollapsibleSection>
80
80
  <IconButton onClick={toggleSidebar}>
81
- {collapsed ? <RightIcon /> : <LeftIcon />}
81
+ {collapsed ? <RightIcon size={32} /> : <LeftIcon size={32} />}
82
82
  </IconButton>
83
83
  </StyledCollapsibleSection>
84
84
  </StyledSidebarContainer>
@@ -79,6 +79,7 @@ export const createSidebarStyles = (collapsed: boolean) => {
79
79
  ({ collapsed }: { collapsed: boolean }) => ({
80
80
  display: "flex",
81
81
  justifyContent: "center",
82
+ minWidth: "48px",
82
83
  })
83
84
  );
84
85
 
@@ -351,7 +351,7 @@ export const getCommonTheme = (mode: Theme) => {
351
351
  },
352
352
  subtitle2: {
353
353
  fontSize: "16px",
354
- fontWeight: 600,
354
+ fontWeight: 500,
355
355
  fontFamily: "Poppins",
356
356
  color: ColorTokens.text.primary,
357
357
  },