@xy-planning-network/trees 0.6.2 → 0.6.4
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/dist/trees.es.js +67 -47
- package/dist/trees.umd.js +3 -3
- package/package.json +1 -1
- package/src/lib-components/layout/SidebarLayout.vue +13 -2
package/package.json
CHANGED
|
@@ -89,8 +89,8 @@ const isActive = (url: string): boolean => {
|
|
|
89
89
|
<div class="shrink-0 flex justify-center px-4">
|
|
90
90
|
<img class="w-auto h-12" :src="iconURL" alt="Logo" />
|
|
91
91
|
</div>
|
|
92
|
-
<div class="mt-5 flex-1 h-0 overflow-y-auto">
|
|
93
|
-
<nav class="px-2 space-y-1">
|
|
92
|
+
<div class="mt-5 flex flex-col flex-1 h-0 overflow-y-auto">
|
|
93
|
+
<nav class="flex-1 px-2 space-y-1">
|
|
94
94
|
<a
|
|
95
95
|
v-for="item in navigation"
|
|
96
96
|
:key="item.name"
|
|
@@ -116,6 +116,11 @@ const isActive = (url: string): boolean => {
|
|
|
116
116
|
{{ item.name }}
|
|
117
117
|
</a>
|
|
118
118
|
</nav>
|
|
119
|
+
<div v-if="$slots['sidebar-bottom']" class="mt-auto">
|
|
120
|
+
<div class="mt-6 px-2">
|
|
121
|
+
<slot name="sidebar-bottom" />
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
119
124
|
</div>
|
|
120
125
|
</div>
|
|
121
126
|
</TransitionChild>
|
|
@@ -162,6 +167,12 @@ const isActive = (url: string): boolean => {
|
|
|
162
167
|
{{ item.name }}
|
|
163
168
|
</a>
|
|
164
169
|
</nav>
|
|
170
|
+
|
|
171
|
+
<div v-if="$slots['sidebar-bottom']" class="mt-atuo">
|
|
172
|
+
<div class="mt-6 px-2">
|
|
173
|
+
<slot name="sidebar-bottom" />
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
165
176
|
</div>
|
|
166
177
|
</div>
|
|
167
178
|
</div>
|