hamzus-ui 0.0.26 → 0.0.27

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": "hamzus-ui",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "svelte": "index.js",
@@ -34,6 +34,7 @@
34
34
  <nav class="sidebar {$open ? "open" : ""}">
35
35
  <div class="sidebar-content">
36
36
  <div class="top">
37
+ <slot name="logo"/>
37
38
  <IconButton onClick={toggleNav} variant="ghost">
38
39
  <svg
39
40
  width="24"
@@ -85,6 +86,14 @@
85
86
  .top{
86
87
  padding-bottom: 7px;
87
88
  }
89
+ .top{
90
+ width: 100%;
91
+ display: flex;
92
+ justify-content: end;
93
+ }
94
+ .top:global(:has( > :nth-child(2))) {
95
+ justify-content: space-between;
96
+ }
88
97
  /*
89
98
  old width margin
90
99
  .nav-content.focus {