@stevederico/skateboard-ui 2.9.1 → 2.9.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ 2.9.2
4
+
5
+ Fix collapsed brand icon
6
+
3
7
  2.9.1
4
8
 
5
9
  Remove SignInView header text
@@ -42,16 +42,16 @@ export default function Sidebar({ variant = "inset", ...props }) {
42
42
  <SidebarRoot collapsible="icon" variant={variant} {...props}>
43
43
  {/* Header: App icon + name */}
44
44
  {!constants.hideSidebarHeader && (
45
- <SidebarHeader className="px-1">
45
+ <SidebarHeader className="px-1 group-data-[collapsible=icon]:px-0">
46
46
  <SidebarMenu>
47
47
  <SidebarMenuItem>
48
48
  <SidebarMenuButton
49
49
  size="lg"
50
50
  onClick={() => navigate("/app")}
51
51
  tooltip={constants.appName}
52
- className="hover:bg-transparent active:bg-transparent"
52
+ className="hover:bg-transparent active:bg-transparent group-data-[collapsible=icon]:justify-center"
53
53
  >
54
- <div className="bg-app dark:border rounded-lg flex aspect-square size-8 items-center justify-center">
54
+ <div className="bg-app dark:border rounded-lg flex aspect-square size-8 items-center justify-center shrink-0">
55
55
  <DynamicIcon
56
56
  name={constants.appIcon}
57
57
  size={20}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stevederico/skateboard-ui",
3
3
  "private": false,
4
- "version": "2.9.1",
4
+ "version": "2.9.2",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  "./Sidebar": {