@stevederico/skateboard-ui 2.9.2 → 2.9.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ 2.9.3
4
+
5
+ Simplify sidebar brand styling
6
+
3
7
  2.9.2
4
8
 
5
9
  Fix collapsed brand icon
@@ -42,21 +42,20 @@ 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 group-data-[collapsible=icon]:px-0">
45
+ <SidebarHeader className="p-2">
46
46
  <SidebarMenu>
47
47
  <SidebarMenuItem>
48
48
  <SidebarMenuButton
49
- size="lg"
49
+ size="sm"
50
50
  onClick={() => navigate("/app")}
51
51
  tooltip={constants.appName}
52
- className="hover:bg-transparent active:bg-transparent group-data-[collapsible=icon]:justify-center"
52
+ className="hover:bg-transparent active:bg-transparent"
53
53
  >
54
- <div className="bg-app dark:border rounded-lg flex aspect-square size-8 items-center justify-center shrink-0">
54
+ <div className="bg-app flex items-center justify-center shrink-0 rounded-lg size-8 -ml-2">
55
55
  <DynamicIcon
56
56
  name={constants.appIcon}
57
- size={20}
58
- color="white"
59
57
  strokeWidth={2}
58
+ className="text-white"
60
59
  />
61
60
  </div>
62
61
  <span className="font-semibold text-lg shrink min-w-0 truncate">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stevederico/skateboard-ui",
3
3
  "private": false,
4
- "version": "2.9.2",
4
+ "version": "2.9.3",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  "./Sidebar": {