sprintify-ui 0.8.13 → 0.8.14

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.
@@ -46598,7 +46598,7 @@ const vP = /* @__PURE__ */ Oo(cP, [["render", gP]]), yP = /* @__PURE__ */ j("spa
46598
46598
  class: "px-4"
46599
46599
  }, K3 = /* @__PURE__ */ j("hr", { class: "my-2 border-slate-600" }, null, -1), Q3 = [
46600
46600
  K3
46601
- ], Z3 = { class: "flex flex-1 justify-between px-4" }, X3 = /* @__PURE__ */ j("div", { class: "flex flex-1" }, null, -1), J3 = { class: "ml-4 flex items-center md:ml-6" }, e4 = /* @__PURE__ */ ye({
46601
+ ], Z3 = { class: "flex flex-1 justify-between px-4" }, X3 = { class: "flex grow" }, J3 = { class: "ml-4 flex items-center md:ml-6" }, e4 = /* @__PURE__ */ ye({
46602
46602
  __name: "BaseLayoutSidebarConfigurable",
46603
46603
  props: {
46604
46604
  appName: {
@@ -46702,7 +46702,9 @@ const vP = /* @__PURE__ */ Oo(cP, [["render", gP]]), yP = /* @__PURE__ */ j("spa
46702
46702
  ]),
46703
46703
  navbar: he(() => [
46704
46704
  j("div", Z3, [
46705
- X3,
46705
+ j("div", X3, [
46706
+ Re(a.$slots, "navbar")
46707
+ ]),
46706
46708
  j("div", J3, [
46707
46709
  n.notifications ? (I(), _e(Yb, {
46708
46710
  key: 0,
@@ -91,6 +91,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
91
91
  logoTo: RouteLocationRaw;
92
92
  notifications: NotificationsConfig;
93
93
  }, {}>, {
94
+ navbar?(_: {}): any;
94
95
  default?(_: {}): any;
95
96
  }>;
96
97
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.8.13",
3
+ "version": "0.8.14",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -3,6 +3,7 @@ import PageDashboard from '../../.storybook/components/PageDashboard.vue';
3
3
  import BaseLayoutSidebarConfigurable from './BaseLayoutSidebarConfigurable.vue';
4
4
  import { useSystemAlertStore } from '../stores/systemAlerts';
5
5
  import { sizes } from '../../.storybook/utils';
6
+ import BaseAutocompleteFetch from './BaseAutocompleteFetch.vue';
6
7
 
7
8
  export default {
8
9
  title: 'Layout/BaseLayoutSidebarConfigurable',
@@ -149,6 +150,7 @@ const Template = (args) => ({
149
150
  components: {
150
151
  BaseLayoutSidebarConfigurable,
151
152
  PageDashboard,
153
+ BaseAutocompleteFetch,
152
154
  },
153
155
  setup() {
154
156
 
@@ -162,6 +164,19 @@ const Template = (args) => ({
162
164
  },
163
165
  template: `
164
166
  <BaseLayoutSidebarConfigurable v-bind="args">
167
+
168
+ <template #navbar>
169
+ <div class="hidden items-center grow || sm:flex">
170
+ <BaseAutocompleteFetch
171
+ url="https://faker.witify.io/api/todos"
172
+ labelKey="title"
173
+ valueKey="id"
174
+ class="w-full"
175
+ size="md"
176
+ />
177
+ </div>
178
+ </template>
179
+
165
180
  <div class="py-10 bg-slate-50">
166
181
  <PageDashboard />
167
182
  </div>
@@ -67,8 +67,8 @@
67
67
 
68
68
  <template #navbar>
69
69
  <div class="flex flex-1 justify-between px-4">
70
- <div class="flex flex-1">
71
- <!-- Good spot for search bar... -->
70
+ <div class="flex grow">
71
+ <slot name="navbar" />
72
72
  </div>
73
73
 
74
74
  <div class="ml-4 flex items-center md:ml-6">